首页 | 本学科首页   官方微博 | 高级检索  
     

农田无线传感器网络数据处理服务器的设计与实现
引用本文:刘永生,陈立平,徐 刚,张瑞瑞,王 壮. 农田无线传感器网络数据处理服务器的设计与实现[J]. 农业工程学报, 2009, 25(13): 179-183
作者姓名:刘永生  陈立平  徐 刚  张瑞瑞  王 壮
作者单位:1.首都师范大学信息工程学院,北京 100048; 2.北京农业智能装备工程技术研究中心,北京 100097; 3.农业部农业信息技术重点开放实验室,北京 100097;2.北京农业智能装备工程技术研究中心,北京 100097; 3.农业部农业信息技术重点开放实验室,北京 100097;2.北京农业智能装备工程技术研究中心,北京 100097; 3.农业部农业信息技术重点开放实验室,北京 100097;2.北京农业智能装备工程技术研究中心,北京 100097; 3.农业部农业信息技术重点开放实验室,北京 100097;1.首都师范大学信息工程学院,北京 100048; 2.北京农业智能装备工程技术研究中心,北京 100097; 3.农业部农业信息技术重点开放实验室,北京 100097
基金项目:国家科技支撑计划(2007BAD44B06);国家863计划(2006AA10A306)
摘    要:对无线传感器网络采集到的田间信息进行有效的接收、处理是基于无线传感器网络的农田环境监测系统的重要组成部分,该文针对农田无线传感器网络数据采集的特点,对系统的数据处理服务器的构建进行了研究,设计并实现了一个基于非阻塞式Sockets套接口的数据通信服务器。该服务器综合利用静态线程池与I/O复用技术,采用循环队列作为数据缓冲区,较好地解决了农田无线传感器网络对TCP多连接长时间通信,大量田间实时监测数据并发接收、处理性能要求高的问题;采用面向对象设计方法,抽象出类的层次结构,提高了程序代码的复用性。

关 键 词:农田,无线传感器网络,数据处理,服务器,线程池,I/O复用,Sockets
收稿时间:2009-06-30
修稿时间:2009-09-12

Design and implementation of data processing server in farm wireless sensor network
Liu Yongsheng,Chen Liping,Xu Gang,Zhang Ruirui and Wang Zhuang. Design and implementation of data processing server in farm wireless sensor network[J]. Transactions of the Chinese Society of Agricultural Engineering, 2009, 25(13): 179-183
Authors:Liu Yongsheng  Chen Liping  Xu Gang  Zhang Ruirui  Wang Zhuang
Affiliation:1. College of Information Engineering, Capital Normal University, Beijing 100048, China; 2. Beijing Research Center for Intelligent Agricultural Equipment, Beijing 100097, China,2. Beijing Research Center for Intelligent Agricultural Equipment, Beijing 100097, China; 3. Key Laboratory of Information Technology in Agriculture, Ministry of Agriculture, Beijing 100097, China,2. Beijing Research Center for Intelligent Agricultural Equipment, Beijing 100097, China; 3. Key Laboratory of Information Technology in Agriculture, Ministry of Agriculture, Beijing 100097, China,2. Beijing Research Center for Intelligent Agricultural Equipment, Beijing 100097, China; 3. Key Laboratory of Information Technology in Agriculture, Ministry of Agriculture, Beijing 100097, China and 1. College of Information Engineering, Capital Normal University, Beijing 100048, China; 2. Beijing Research Center for Intelligent Agricultural Equipment, Beijing 100097, China
Abstract:Wireless sensor network is an effective method to gather the remote information and also the important part of whole wireless sensor network application system to accept and process the farmland information which is gathered by wireless sensor network. Aiming at the characteristics of data acquisition using wireless sensor network, the construction of the data processing server for the system was studied. A data processing server based on the non-blocking I/O sockets communication was designed and implemented. The server utilized the technologies of thread pool and I/O multiplexing. Cyclic queue was adopted as the data buffer, which could better solve the problems such as the multi-connection TCP communication and the high-speed concurrent processing performance of a large number of real-time monitoring data. Through using the object-oriented programming method, the class hierarchy was built up to increase the ability of code reuse.
Keywords:farmland   wireless sensor networks   data processing   servers   thread pool   I/O multiplexing   sockets
点击此处可从《农业工程学报》浏览原始摘要信息
点击此处可从《农业工程学报》下载全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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