一种基于JSON的跨平台远程生产控制的处理策略  被引量:2

A Processing Strategy Based on JSON in Controlling Cross-platform Production

在线阅读下载全文

作  者:刘素芳[1] 

机构地区:[1]福建信息职业技术学院,福建福州350003

出  处:《廊坊师范学院学报(自然科学版)》2014年第6期24-28,共5页Journal of Langfang Normal University(Natural Science Edition)

基  金:国家科技支撑计划课题(2012BAF12B15);福建信息职业技术学院科研项目(Y12105)

摘  要:针对JSON数据格式易于机器解析和生成的特点,提出了一种基于JSON的跨平台远程生产控制的处理策略,将远程生产控制需要传输的数据、控制命令等封装为JSON对象,通过Socket技术实现跨平台远程通信。并从服务器端与Android移动客户端数据传输时间和Android移动客户端数据解析效率两个方面对JSON和XML两种数据传输格式进行对比。实验结果表明,基于JSON的通信可以较好地解决跨平台远程数据交互、移动应用受带宽限制及网络流量低的问题。Being easily parsed and generated by machines, the JSON data format would be served as the processing strategy in controlling cross-platform remote production. This paper proposes a new method based on JSON, which packs the data and the command programs for controlling remote production as JSON data, and implements cross-platform re- mote telecommunication with the socket. This paper still compares JSON data format with XML data format in the speed of transmission from the server to the Android client and efficiency of parsing data in the Android client. The experiment result shows the communication based on JSON will effectively solve a lot of problems, such as cross-platform remote data exchange, limited bandwidth of mobile application and low network flow.

关 键 词:JSON PID 跨平台 远程通信 

分 类 号:TP391[自动化与计算机技术—计算机应用技术]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象