期刊文献+

基于Android系统的温室异构网络环境监测智能网关开发 被引量:34

Development of intelligent gateway for heterogeneous networks environment monitoring in greenhouse based on Android system
下载PDF
导出
摘要 为实现温室环境监测中异构网络的统一管理,该文开发了以Exynos4412为核心处理器的智能网关,设计了基于Android的智能网关应用软件。异构网络管理过程为:配置网关通信接口、数据采集单元、传感器数据流的字段描述等信息,建立基于XML的信息配置文件,数据接收线程根据配置文件描述与接收数据流逐字节段比对,实现传感器数值从数据流中定位、解析、数值转换得到监测参数实际值,并与监测参数ID组成键值关系,最终存储于SQLite数据库,提供接口给上层模块进行实时数据查询和历史数据查询。系统对Zigbee、RS-485、Wi-Fi3种异构网络进行了试验,14d的运行结果表明,智能网关实现了监测参数解析、存储和显示功能与配置信息描述实现了对应,满足温室环境监测异构网络的统一管理要求,具有较好的稳定性,可进一步扩展异构网络。 The technologies of Internet of things have been widely applied in the agricultural environmental monitoring in recent years, while multiple transmission networks have been deployed to obtain environmental information. The gateway of internet of things was used for heterogeneous networks access and transmission of data protocol among the networks. In order to realize the unified management of heterogeneous networks that were used for greenhouse environment, an intelligent gateway with Exynos4412 as the core processor was developed, which has high speed operation capability and can be expanded for various communication module interfaces. Correspondingly, an application program worked in the gateway based on Android system was designed, which realized the management process of heterogeneous networks as following: Firstly, on the gateway display interface, user configured the information of the gateway communicating interface, data acquisition unit, and phase description of the sensors data stream. Secondly, the gateway application program established an information configuration file based on XML. Thirdly, after the application program was running again, according to the data stream description in XML configuration file, the gateway program matched the received data stream byte by byte segment in the data receiving tread, then positioned the sensor data in the data stream, parsed and converted the original value to the real value of the monitoring parameter. Fourthly, the data relation between keyword and value was composed to a map and was stored in the SQLite database. Lastly, the data access interface was provided for upper module such as real time data query module and historical data query module. The system was deployed in greenhouse and started running since December 18, 2014, to test three kinds of heterogeneous networks for Zigbee, RS-485 and Wi-Fi. The Zigbee network was used to collect air temperature, air humidity, light intensity, CO2 concentration, soil moisture inside the greenhouse, and data was transmitted to a Zigbee aggregation unit that was linked to the gateway by Serial line. The RS-485 network was used to collect the meteorological information outside the greenhouse such as wind direction, air temperature, air humidity, wind speed, rainfall, UVI, light intensity, and data was transmitted to a 485/232 conversion module which linked to the gateway by Serial line. The Wi-Fi network was used to collect the greenhouse image data from the camera, and data was transmitted wirelessly to the Wi-Fi module in the gateway by using a wireless router. In the gateway application program, the heterogeneous networks channel properties and sensors data protocol was not fixed in the software code, but was configured by user on the interface, also the storage and display of monitoring parameters was synchronous with the configuration. Thus, the application program can save developing time when the system was deployed for similar greenhouse environment monitoring or the nodes in the networks were changed for different use. The running results for at least 14 days showed that the intelligent gateway had corresponded the analysis, storage and display of monitoring parameters to the configuration information. Various monitoring parameters of heterogeneous networks data had been stored, and environmental monitoring data can be updated accurately and history data record can be query accurately on the displaying interface of the gateway. The application model of the system was of good stability and can be further extended to more heterogeneous networks.
出处 《农业工程学报》 EI CAS CSCD 北大核心 2015年第5期218-225,225+224,共8页 Transactions of the Chinese Society of Agricultural Engineering
基金 "十二五"国家科技支撑计划资助项目(2014BAD08B04) 江苏省产学研联合创新资金资助项目(BY2013065-07) 江苏省科技支撑计划项目(BE2014406) 江苏高校优势学科建设工程资助项目
关键词 温室 网关 网络 Android 可扩展标示语言XML 数据流 greenhouses gateways networks Android extensive markup language XML data stream
  • 相关文献

参考文献17

二级参考文献212

共引文献779

同被引文献301

引证文献34

二级引证文献206

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部