农田无线传感器网络数据服务器的设计与实现  被引量:3

Design and implementation of data processing server in farm wireless sensor network

在线阅读下载全文

作  者:刘永生[1,2,3] 陈立平 徐刚[2,3] 张瑞瑞 王壮 

机构地区:[1]首都师范大学信息工程学院,北京100048 [2]北京农业智能装备工程技术研究中心,北京100097 [3]农业部农业信息技术重点开放实验室,北京100097

出  处:《农业工程学报》2009年第S2期179-183,共5页Transactions of the Chinese Society of Agricultural Engineering

基  金:国家科技支撑计划(2007BAD44B06);国家863计划(2006AA10A306)

摘  要:对无线传感器网络采集到的田间信息进行有效的接收、处理是基于无线传感器网络的农田环境监测系统的重要组成部分,该文针对农田无线传感器网络数据采集的特点,对系统的数据处理服务器的构建进行了研究,设计并实现了一个基于非阻塞式Sockets套接口的数据通信服务器。该服务器综合利用静态线程池与I/O复用技术,采用循环队列作为数据缓冲区,较好地解决了农田无线传感器网络对TCP多连接长时间通信,大量田间实时监测数据并发接收、处理性能要求高的问题;采用面向对象设计方法,抽象出类的层次结构,提高了程序代码的复用性。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.

关 键 词:农田 无线传感器网络 数据处理 服务器 线程池 I/O复用 SOCKETS 

分 类 号:S126[农业科学—农业基础科学]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

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