A Method of Data Subscription and Distribution Based on WSN
- Author
- YangJingYuan
- Advisor
- ZhangJiaChen
- School
- Jilin University
- Major
- Computer Software and Theory
- Classification
- TP273.5 Computer control, computer control system
- Degree
- Master's thesis
- Year
- 2009
- Downloads
- 51
- Citations
- 0
Abstract
With the developing of economic and the improving of scientific technology and living standard, automated construction of public utilities, as an effective way of management which is able to reduce operating costs and enhance, has become an inevitable trend of Social Development. WSN(Wireless Sensor Network) consists of a mass of sensor nodes ,which can sense independently, process data and transmission of information, it can be applied to environmental monitoring, flood forecasting, urban traffic management, inventory and logistics management and other fields. As an emerging technology, people are generally optimistic about its application on the automated construction of public utilities.At present, research on Wireless Sensor Network includes Node localization, time synchronization, network information processing, case detection and routing algorithm and so on. But existing technologies are far from our urgent needs, so some people in this industry proposed innovative research plan of Wireless Sensor Network, and from application view, decomposed seven subjects: Question 1: developing node platform; Question 2: developing the core protocol of self-organizing and self-configuration; Question 3: designing energy efficient communication protocol; Question 4: research of Wireless Sensor Network and Internet connectivity technology; Question 5: developing Wireless Sensor Network data management system; Question 6: research of application system; Question 7:Set up large-scale experimental platform. In this paper, we are concerned on Question 5, we also pay attention to Question 4 and Question 6 during the research.During the combine process of development for Utility automation and Wireless Sensor Network technology, a problem that universality of Utility automation result to development which based on Wireless Sensor Network has a variety of forms exists. To developers, each new development of the field accompanied by a series of requirements and design changes, except for need to consider the matching of hardware equipment, and consider to redesign and develop the software. Based on the above questions, this paper attempts how to control the communications protocol to manage different data fields flexibly in the WSN data management system, so it can resolve the Obstacles bought by the difference of industry data during the developing about WSN system.Taking into account the wireless network technology in the field of public utility applications in different sectors, this paper presents a data subscription and distribution method which stores the communication protocol mapping rules in the database table. We choose XML language to describe Mapping rules because of XML language has the scalability, flexibility and descriptive. It makes the sequence of XML language can be processed by any platform, any programming language, any application of treatment systems, so as to solve the enormous difference on communication protocol which is caused by the difference on business data.The method implementation is divided into three modules: module of collecting data conversion, mapping rules management module, resolve XML interface module. Module of collecting data conversion is responsible for validation, analysis, forming XML sequence file about collecting data; mapping rules management module manages data mapping rules, you can query, add, delete and edit the collected data mapping rules; analytic interface XML interface module provides interface to analysis of communications data frame described by available sequence of XML language.Combination of data subscription and data distribution methods, the paper implementation of a wireless network data management system, which is divided into four modules, namely: listening modules, distribution modules, control modules, wireless sensor network management module. Information exchange between modules when the communication data frame uses sequence of XML .Inter-module communication uses Socket technology.Listening module features include: filtering data frame, the maintenance of routing information, and mechanism for cache and re-send. Here to filter data frames is based on the source of the data frame. The maintenance of the routing module is to save the address information of the node which joins the system first to the database table. This information would provide interactive routing information reference when information when information exchange happens between the wireless network and the data management systems .Listening module will save the data frame buffer on the database to be re-sent if it was failure when sending data frames to distribution module.Distribution modules include: the maintenance of the data subscription, data frame forward, re-issued data cache. When the distribution modules receive a write-off application, the distribution module will delete the application data sheet register information about the application, as well as data subscription Records. Forward data frames, the distribution modules first analysis data frame by data mapping rules, and then transmit it to the appropriate terminal, if it sends fail, it would save the data frame to database for re-send.Control module in the entire wireless network data management system is to send commands and time synchronization to the base stations to coordinate the whole work in system. The most important function of WSN management module is to custom data frame format, at the same time provide access to the information of wireless sensor network nodes and base stations.Although the entire wireless network data management system is not perfect in function, in some aspects of security and reliability are also missing, but already can provide basic data management functions. Using data distribution and subscription method in this system enable the system up to a certain extent with the general applicability to the wireless sensor network data management and can complete data management in a variety of industries.
Table of contents
Summary 4-7
first chapter 7-10
1.1 Background 7-8
1.2 Significance 8
1.3 this work 8-10
Chapter II Glossary 10-14
2.1 Glossary 10-11
2.2 papers Description 11-14
2.2.1 wireless sensor network-based system introduced 11-12
2.2.2 program structure description 12-14
Chapter III data subscription and distribution 14-22
3.1 on Xml languages ?? 14-15
3.2 design ideas 15-17
3.3 features and 17-22
Chapter wireless network data management system 22-37
4.1 development technology 22-23
4.1.1 Socket communication technology 22-23
4.1.2 multi-threaded 23
Socket Universal Module 4.2 systems and database design 23-29
4.2.1 Socket Communications 23-26
4.2.2 System database design 26-29
4.3 listener module 29-31
4.3.1 algorithm 30
4.3.2 features and configuration parameters 30-31
4.4 distribution module 31-34
4.4.1 algorithm 32-33
4.4.2 features and configuration parameters 33-34
4.5 control module 34-35
4.5.1 features and configuration parameters 34-35
4.6 module control commands 35
4.7 wireless sensor network management module 35-37
4.7.1 function 35-36
4.7.2 is configured to run 36-37
The fifth chapter in the smart meter reading system 37-45
5.1 startup parameter configuration 37-39
5.2 custom data frame format 39-43
5.3 test communications frame format 43-44
5.4 operating environment and programming language 44
5.5 system performance 44-45
Chapter VI Conclusion 45-47
References 47-49
thank 49-50
Summary 50-52
Abstract 52-54
Related dissertations
- Smart Home Monitoring System Based on Ni Wireless Sensor Network
- Research and implementation of remote monitor system of ship based on the technology of the Internet of things
- Based on Wireless Sensor Network for Production Monitoring System Design and Implementation
- Design of Chlorine Environment Multi-parameter Monitor System Based on WSN
- Data Aggregation Algorithm Based on TD-SCDMA Transmission Technology for Wireless Sensor Networks
- Research and Implementation of Time Synchronization of Wireless Sensor Networks
- Reasearch on WSN Localization Algorithms Based on RSSI and Localization System Implementation
- Research and Design of Low-power WSN Node Based on SOC
- A Research and Design on the Positioning System Based on ZigBee Technology
- Research and Realization of Embedded Wireless Sensor Networks
- Design and Implementation of Low Rate Wireless Sensor Network Platform
- Research and Realization on the Data Fusion Energy-saving Algorithm of Wireless Sensor Based on the Regression Forecasting Algorithm
- Application of Ant-colony Optimization Algorithm in Remote Investigation Command Platform
- Research of Multi-objective Based on Clonal Selection and Its Application
- The Research of the Logistics Distribution System Optimal Path Selection Algorithm Based on the Integration of the RFID and WSN
- Industrial Wireless Sensor Network System Based on FM the Design and Implementation
- Energy Saving Research on Routing Protocol in Wireless Sensor Network
- Optimal Energy-sensitive Routing Algorithm in PON-WSN Hybrid Networks
- Design and Development of Gas Meter Reading System Based on Wireless Sensor Networks
- WSN Application in Agriculture Greenhouse Monitoring System