首页 | 官方网站   微博 | 高级检索  
     

基于REST架构和XML的农情数据共享研究
引用本文:戴建国,王克如,李少昆,赖军臣,肖春华,李栓明,王琼.基于REST架构和XML的农情数据共享研究[J].中国农业科学,2012,45(20):4156-4165.
作者姓名:戴建国  王克如  李少昆  赖军臣  肖春华  李栓明  王琼
作者单位:1.石河子大学绿洲生态农业重点实验室,新疆石河子 832003; 2.中国农业科学院作物研究所/农业部作物生理生态与栽培重点开放实验室,北京 100081; 3.新疆生产建设兵团农六师农业局,新疆五家渠 831300
基金项目:国家自然科学基金资助项目,国家科技支撑计划项目
摘    要: 【目的】研究农情数据在分布广泛、动态变化的网络环境下实现数据共享的技术、方法和解决方案。【方法】使用REST(representational state transfer,表述性状态转移)架构风格解决系统之间松耦合、可扩展等问题。以xml(extensible mark language,可扩展标记语言)和AgroXML为基础设计农情数据结构规范实现不同系统对数据的一致理解。通过开发原型系统验证方案的可行性。【结果】将农情数据合理抽象为网络资源并设计其标识符,基于.net平台使用WCF(Windows Communication Foundation)技术构建了RESTful Web 服务,实现了不同系统间的资源获取;通过改进AgroXML的Schema文件制定了农情数据结构规范,初步实现了农情数据表述一致化,并开发了相应的数据解析模块;以新疆生产建设兵团农场农业生产管理数据共享为例,设计开发原型系统验证方案的正确性,讨论其优缺点,并提出了进一步改进的方向。【结论】REST架构风格能够充分解耦服务提供者和使用者,尤其适合于农情数据分布广泛、动态变化的特点,避免了传统分布式技术存在的问题,满足了系统的开放性和扩展性要求,结合统一的数据结构标准,能够很好地实现农情数据共享。

关 键 词:农情数据  共享  精准农业  表述性状态转移  可扩展标记语言  分布式  可扩展性
收稿时间:2012-05-11

Research on Agricultural Data Sharing Based on REST and XML
DAI Jian-guo , WANG Ke-ru , LI Shao-kun , LAI Jun-chen , XIAO Chun-hua , LI Shuan-ming , WANG Qiong.Research on Agricultural Data Sharing Based on REST and XML[J].Scientia Agricultura Sinica,2012,45(20):4156-4165.
Authors:DAI Jian-guo  WANG Ke-ru  LI Shao-kun  LAI Jun-chen  XIAO Chun-hua  LI Shuan-ming  WANG Qiong
Affiliation:1,2(1Key Laboratory of Oasis Ecology Agriculture of Xinjiang Construction Group,Shihezi 832003,Xinjiang;2Institute o f Crop Science,Chinese Academy of Agricultural Sciences / Key Laboratory of Crop Physiology and Production Ministry of Agriculture,Beijing 100081;3Agriculture Bureau of the Sixth Agricultural Division of Xinjiang Production and Construction Group,Wujiaqu 831300,Xinjiang)
Abstract:【Objective】 Agricultural production management data sharing in the wide distributed and dynamic changing internet environment was studied. 【Method】 REST(Representational State Transfer) as an architectural style was used to solve the problems between systems such as loose coupling, extensible etc. Agricultural production management data structure standards which based on xml and AgroXML were designed to realize unified data understanding in different systems. The prototype system was designed to prove the scheme’s feasibility.【Result】Agricultural production management data was reasonably abstracted as internet resources. The RESTful web services were constructed by WCF(Windows Communication Foundation) based on .net technical platform to realize resource access. Agricultural production management data structure standard was established by improving the schema file of AgroXML to realize data representation unifying, and the data analysis module was developed. The prototype system was developed by using agricultural production management data of a farm of the production and construction corps of Xinjiang as an example to prove the correctness of the scheme, the advantages and disadvantages of the scheme were also discussed, finally, the improvement approach was put forward.【Conclusion】RESTful architectural style can uncouple service provider and client, is suited to wide distributed and dynamic changing environment which contains agricultural production management data, avoiding the problems of traditional distributed technology, meeting the openablity and extensibility of system, and combined with unified data structure standard, which could realize agricultural data sharing between systems.
Keywords:agricultural production management data  sharing  precision agriculture  representational state transfer  extensible mark language  distributed  extensibility
本文献已被 CNKI 万方数据 等数据库收录!
点击此处可从《中国农业科学》浏览原始摘要信息
点击此处可从《中国农业科学》下载全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司    京ICP备09084417号-23

京公网安备 11010802026262号