Analysis and Improvement of Wireless Sensor Network Database Tinydb
- Author
- HanKun
- Advisor
- ShiBing , LiZuo
- School
- Shandong University
- Major
- Computer technology
- Classification
- TP311.13 Database theory and systems
- Degree
- Master's thesis
- Year
- 2008
- Downloads
- 127
- Citations
- 1
Abstract
Large-scale network of wireless sensors, which is the integration of sensor techniques, embedded computation techniques, distributed computation techniques and wireless communication techniques, has a prospective future of application. It is a brand-new area to make sensor networks virtual databases with effective data management and data acquisition.This thesis firstly analyzes the full source codes of TinyDB, the most famous wireless sensor network database prototype, by which it lays solid foundation for the future system migration and improvement. TinyDB system consists of two parts: the front-end and the embedded database engines. The front-end of this kind database is an interface between applications and sensor networks, which regards the wireless sensor networks as the unique relation databases. Applications retrieve data from the only table named sensors that map each kind of sensor networks data to one field. The front-end builds messages to load context of many kinds of queries, e.g. event-based queries, and then disseminates them sequentially into the sensor networks. The front-end is also responsible for handling all coming query results and dispatches them. The other part of this database needs an embedded database engine running inside every sensor network node. This thesis studies issues on design and implementation of the engine, including data schema, distributive execution of queries, in-networking aggregation and grouping, nodes collaboration and so on.In the third part of the thesis, a distributive join algorithm is described, which can support complex data filtering and event-detection in many surveillance applications. It assembles complex predicates into one static table that is pushed into and stored inside nodes. This algorithm performs join queries over sensors table and static tables in-networking. Both algorithm analysis and experiments show data traffic reduce obviously if the selectivity of static table is low.At last, the primary work is summarized, and some future works are stated.
Table of contents
Abstract 8-9
ABSTRACT 9-10
1 Introduction 10-16
1.1 subject background and significance 10-12
1.2 wireless sensor networks Research 12-13
1.3 In this paper, the main content 13-16
2 wireless sensor networks and data management 16-28
2.1 wireless sensor network architecture 16-18
2.2 The structure of the wireless sensor network node 18-21
2.3 embedded database engine running environment the TinyOS 21-22
2.4 TinyOS functional modules 22-25
2.5 wireless sensor network database data model 25-27
2.6 Summary 27-28
the TinyDB system front-end analysis 28-44
3.1 wireless sensor network database (DBSN) Overview 28-29
3.2 the TinyDB system and SQL-like language 29-32
3.3 front-end design and analysis 32-38
3.3.1 query the parse (SensorQueryer) and said (TinyDBQuery) 33-34
3.3.2 query management and results received (TinyDBNetwork) 34-36
3.3.3 front-end wireless sensor network interaction (MoteIF) 36-38
3.4-based the TinyDB application development 38-40
3.5 database front-end of the preliminary optimization 40-42
3.6 Summary 42-44
of 4 embedded database engine design and implementation 44-66
4.1 embedded database engine structure 44-45
4.2 single node on the data mode 45-48
4.2.1 data types, organization and management 45-46
4.2.2 data to obtain 46-47
4.2.3 custom command function 47-48
4.3 to receive and manage inquiries 48-55
4.3.1 message packet structure 48-49
4.3.2 message packet combination 49-50
4.3.3 query message event handler 50-52
4.3.4 Query Builder 52-55
4.4 query execution 55-61
4.4.1 query execution algorithm 55-56
4.4.2 query execution process 56-61
4.5 of sub-node data processing 61-62
4.6 syndication framework 62-64
4.7 Summary 64-66
5 support distributed complex filtering and event detection connection algorithm 66-73
5.1 static table classification and basic algorithm 67-68
The
connections on the 5.2 single node to achieve 68-69
5.3 Distributed connect the group to achieve 69-73
5.3.1 node grouping formation 69-71
5.3.2 static tables receive 71
5.3.3 query execution 71-73
6 algorithm analysis and experiment 73-76
concluded 76-78
the
References 78-80
Acknowledgements 80-81
the
Dissertation reviewers and the respondent table 81
Related dissertations
- Analysis and Improvement of TinyDB: A Prototype of Wireless Sensor Network Database
- Agricultural Products Warehouse Logistics Management System Based on Internet of Things
- Research on Monitor System for Campus Energy Conservation Based on Internet of Things
- Equipment Condition Monitoring and Fault Diagnosis System Design Based on the Technology of ZigBee
- Low Power Monitoring and Fuzzy Control of Environment Parameters for Facility Flower
- Advanced Sensing Method and Apparatus for Orchard Information Collection
- The Design and Implementation of a TinyOS-based WSN Node Control System
- Research on Robust Tracking Methods of Mobile Targets in Wireless Sensor Networks
- The Real-time Routing Protocol for Supporting Real-time Query in Wireless Sensor Networks
- Research on Base Station Location Protection in Wireless Sensor Networks
- A Research on Compression Algorithm for Wireless Sensor Networks Based on Compressed Sensing
- Research on Complex Event Detection in Wireless Sensor Networks
- Research on Sampling-based Data Aggregation Algorithms in Wireless Sensor Networks
- Research on Nonlinear Filtering Based Target Tracking Algorithm for Sensor Networks
- Security Module Based on Command Code for Resource Constrained Wireless Sensor Networks
- Research on Power Control Routing Algorithms for Wireless Sensor Networks
- Research of Gradient Event Boundary Identification and Tracking Technology in WSNs
- Research of Distributed Event Detection Technology in Wireless Sensor Networks
- Researches on Data Fusion Algorithm in WSN Based on Routing Technology
- Research on Localization Method of Wireless Sensor Network