| Wireless sensor networks is a major research focus in today's IT field.It has a wide range of applications in the military for national defense,environmental testing, industrial control,medical and health,such as emergency rescue and disaster relief, and has aroused widespread concern in many countries.Greenhouse,as a new crop plant technology,broke through the crop by region,the natural environment and climate,and many other factors,it has a very great significance on agricultural production.However,most of the greenhouse data collection using a wired connection style,this style will no doubt bring a lot of inconvenience in agricultural production.Set up a wireless sensor network is the current in environmental monitoring and control system of greenhouse trend.Middleware is a common services between the platform(hardware and operating system) and the application,these services have a standard interface and protocol procedures.For different operating systems and hardware platforms,they can have in line with the interface and a variety of standardized protocol implementation.There are no exist of wireless sensor network middleware at home and abroad specifically for greenhouse development.The development of middleware in greenhouse wireless sensor network will give a variety of great convenience in greenhouse expert system's development.In this paper,National "863" Project funded projects(2006AA10Z258) as the background,combined the current variety of existing middleware based on wireless sensor networks,analysised of their strengths and weaknesses,on the basis of special studies on the wireless sensor network middleware fit in the greenhouse.Greenhouse wireless sensor network middleware is divided into a two-tier structure: Node-oriented middleware and Application-oriented middleware.Node-oriented middleware installed above on the sensor node operating system,Node-oriented middleware responsible for a variety of business,including data management, network management,routing management,energy management and mission management;Application-oriented middleware is above on the Node-oriented middleware and under the application,it integrated manage the Node-oriented middleware.In this paper,the Node-oriented middleware data management technologies have been main studied,proposed the architecture of data management module,set up a database of greenhouse wireless sensor networks.Because of the nodes in greenhouse wireless sensor networks have a certain calculation and storage capacity,the data in nodes are only a table in the whole database of greenhouse wireless sensor networks, each node is a tuple,tuple contains monitoring of the various property of the greenhouse environmental,such as temperature,humidity,etc.Nodes write data regularly by the time to the database in individual PC for user's queries.When researchers need to query the data of the sensor network,he should first decided query time,then the software will decide which data will to be query,the nodes or the database in the computer.Finally,simulated four aspects of the network on the basis of same environment and at an equal number of equipment,they are end-to-end delay,network throughput, node data reception and node energy consumption.The simulation results show that the design of data management of middleware in greenhouse wireless sensor network is be able to meet the greenhouse environmental monitoring applications. |