Integrated Routing and Query Processing in Wireless Sensor Networks

Similar documents
Analysis of Cluster-Based Energy-Dynamic Routing Protocols in WSN

Intra and Inter Cluster Synchronization Scheme for Cluster Based Sensor Network

Analysis of Energy Efficient Routing Protocols in Wireless Sensor Networks

Energy-Efficient Communication Protocol for Wireless Micro-sensor Networks

ROUTING ALGORITHMS Part 2: Data centric and hierarchical protocols

Novel Cluster Based Routing Protocol in Wireless Sensor Networks

CROSS LAYER PROTOCOL (APTEEN) USING WSN FOR REAL TIME APPLICATION

DE-LEACH: Distance and Energy Aware LEACH

WSN Routing Protocols

Time Synchronization in Wireless Sensor Networks: CCTS

Clustering Based Routing Protocols for Wireless Sensor Networks: A Survey

Keywords Clustering, Sensor Nodes, Residual Energy, Wireless Sensor Networks, Zones

APTEEN: A Hybrid Protocol for Efficient Routing and Comprehensive Information Retrieval in Wireless Sensor Networks

International Journal of Scientific & Engineering Research, Volume 7, Issue 3, March ISSN

Analysis of Cluster based Routing Algorithms in Wireless Sensor Networks using NS2 simulator

Prianka.P 1, Thenral 2

Hierarchical Energy Efficient Clustering Algorithm for WSN

Modified Low Energy Adaptive Clustering Hierarchy for Heterogeneous Wireless Sensor Network

Comparative Analysis of EDDEEC & Fuzzy Cost Based EDDEEC Protocol for WSNs

A Survey on Energy Efficient Hierarchical Routing Protocol in Wireless Sensor Network

Keywords Wireless Sensor Network, Cluster, Energy Efficiency, Heterogeneous network, Cluster, Gateway

High Speed Data Collection in Wireless Sensor Network

A survey on Clustering Energy Efficient Hierarchical Routing Protocols in Wireless Sensor Networks

ADAPTIVE CLUSTERING IN WIRELESS SENSOR NETWORK: CONSIDERING NODES WITH LOWEST- ENERGY

Enhancement of Hierarchy Cluster-Tree Routing for Wireless Sensor Network

New Data Clustering Algorithm (NDCA)

Hierarchical Routing Protocols in WSN: A Review

ROUTING ALGORITHMS Part 1: Data centric and hierarchical protocols

Communication Synchronization in Cluster-Based Sensor Networks for Cyber-Physical Systems

An Improved Chain-based Hierarchical Routing Protocol for Wireless Sensor Networks

Low Energy Adaptive Clustering Hierarchy based routing Protocols Comparison for Wireless Sensor Networks

An Energy Efficiency Routing Algorithm of Wireless Sensor Network Based on Round Model. Zhang Ying-Hui

SECURE AND ROBUST ENERGY-EFFICIENT AND RELIABLE ROUTING FOR MULTI HOP NETWORKS USING WIRELESS SENSOR NETWORKS

Z-SEP: Zonal-Stable Election Protocol for Wireless Sensor Networks

An Efficient Data-Centric Routing Approach for Wireless Sensor Networks using Edrina

(EBHCR) Energy Balancing and Hierarchical Clustering Based Routing algorithm for Wireless Sensor Networks

A NOVEL DISTRIBUTED PROTOCOL FOR RANDOMLY DEPLOYED CLUSTERED BASED WIRELESS SENSOR NETWORK:

A Mobile-Sink Based Distributed Energy-Efficient Clustering Algorithm for WSNs

A Survey on Clustered-Aggregation Routing Techniques in Wireless Sensor Networks

Energy Efficiency and Latency Improving In Wireless Sensor Networks

Energy Enhanced Base Station Controlled Dynamic Clustering Protocol for Wireless Sensor Networks

An Enhanced General Self-Organized Tree-Based Energy- Balance Routing Protocol (EGSTEB) for Wireless Sensor Network

CFMTL: Clustering Wireless Sensor Network Using Fuzzy Logic and Mobile Sink In Three-Level

HEOC: HIERARCHICAL AND ENERGY OPTIMIZED CLUSTERING BASED ROUTING APPROACH FOR WIRELESS SENSOR NETWORKS

EEEM: An Energy-Efficient Emulsion Mechanism for Wireless Sensor Networks

Effect of Sensor Mobility and Channel Fading on Wireless Sensor Network Clustering Algorithms

HIERARCHICAL ROUTING PROTOCOLS IN WIRELESS SENSOR NETWORK

Energy Efficient Clustering Protocol for Wireless Sensor Network

Efficient Clustering Routing Algorithm Based on Opportunistic Routing

Comparison of TDMA based Routing Protocols for Wireless Sensor Networks-A Survey

K-SEP: A more stable SEP using K-Means Clustering and Probabilistic Transmission in WSN

IMPROVEMENT OF LEACH AND ITS VARIANTS IN WIRELESS SENSOR NETWORK

CSMA based Medium Access Control for Wireless Sensor Network

EFFICIENT ENERGY SAVING AND MAXIMIZING NETWORK LIFETIME IN WIRELESS SENSOR NETWORKS

International Journal of Advance Engineering and Research Development

POWER SAVING AND ENERGY EFFFICIENT ROUTING PROTOCOLS IN WNS: A SURVEY

An Energy-Efficient Hierarchical Routing for Wireless Sensor Networks

A Survey On: Cluster Based Routing Protocols in Wireless Sensor Network

AN ADAPTIVE ENERGY MANAGING ROUTING PROTOCOL TO IMPROVE ENHANCED THROUGHPUT IN WSN

A Novel Cluster-Chain based Routing Protocol to Prolong the Lifetime of WSN

PROFICIENT CLUSTER-BASED ROUTING PROTOCOL USING EBSA AND LEACH APPROACHES

Event Driven Routing Protocols For Wireless Sensor Networks

Rab Nawaz Jadoon DCS. Assistant Professor. Department of Computer Science. COMSATS Institute of Information Technology. Mobile Communication

The Impact of Clustering on the Average Path Length in Wireless Sensor Networks

Wireless Sensor Network Optimization using multiple Movable Sensors for Data Gathering

732 IEEE TRANSACTIONS ON NUCLEAR SCIENCE, VOL. 61, NO. 2, APRIL 2014

Energy-Efficient Dynamic Query Routing Tree Algorithm for Wireless Sensor Networks

Energy Efficient Multihop Routing scheme with in Network Aggregation for WSN

Distributive Energy Efficient Adaptive Clustering Protocol for Wireless Sensor Networks

Zonal based Deterministic Energy Efficient Clustering Protocol for WSNs

Fig. 2: Architecture of sensor node

An Energy Efficient Data Dissemination Algorithm for Wireless Sensor Networks

Accepted 10 May 2014, Available online 01 June 2014, Vol.4, No.3 (June 2014)

Volume III, Issue X, October 2014 IJLTEMAS ISSN

Decentralizing Query Processing in Sensor Networks

Wireless and Sensor Networks - Routing. 3rd Class Deokjai Choi

A Genetic Algorithm-Based Approach for Energy- Efficient Clustering of Wireless Sensor Networks

Hierarchical Routing Algorithm to Improve the Performance of Wireless Sensor Network

Power Efficient Data Gathering and Aggregation in Wireless Sensor Networks

2 Proposed Routing Protocol

An Energy-based Clustering Algorithm for Wireless Sensor Networks

Energy Consumption for Cluster Based Wireless Routing Protocols in Sensor Networks

SECURING WIRELESS SENSOR NETWORK USING GSTEB PROTOCOL

Wireless Sensor Networks: Clustering, Routing, Localization, Time Synchronization

Location-aware In-Network Monitoring in Wireless Sensor Networks

An Adaptive Self-Organization Protocol for Wireless Sensor Networks

Sensor Network Protocols

Routing Protocols for Wireless Sensor Networks

Energy Efficient Homogeneous WSN protocols : An Analysis

Webpage: Volume 3, Issue III, March 2015 ISSN

CONCLUSIONS AND SCOPE FOR FUTURE WORK

Routing Scheme in Energy efficient based Protocols for Wireless Sensor Networks

International Journal of Advanced Research in Computer Science and Software Engineering

Energy Efficient Approach in Wireless Sensor Networks

A REVIEW ON LEACH-BASED HIERARCHICAL ROUTING PROTOCOLS IN WIRELESS SENSOR NETWORK

MultiHop Routing for Delay Minimization in WSN

The Effect of Physical Topology on Wireless Sensor Network Lifetime

Data aggregation techniques in sensor networks: A survey

To Enhance the Lifetime of WSN Network using PSO

A Configurable Time-Controlled Clustering Algorithm for Wireless Sensor Networks

Transcription:

Integrated Routing and Query Processing in Wireless Sensor Networks T.Krishnakumar Lecturer, Nandha Engineering College, Erode krishnakumarbtech@gmail.com ABSTRACT Wireless Sensor Networks are considered as a distributed database. Each sensor node captures and stores the data. Data query systems are used to fetch the data stored in the sensor devices. The data query values are similar to SQL queries. The data query is mainly affected by the routing protocols. TinyDB and Cougar data query systems are designed with common route based data query process. The single route based data query systems are not suitable to execute all query types. The dynamic routing layer based data query system is introduced to handle data query with different route selection mechanism. The route selection is done with reference to the data query and network density factors. A centralized authority manages the route selection operation. In this case all the query values are redirected to the centralized authority. The central authority initiates the route selection and query distribution operations. The centralized dynamic query selection mechanism makes delay and computation overhead for data query processing with high node density environment. The proposed system is designed to handle the data query operations with dynamic routing layer mechanism in a decentralized manner. The sensor nodes select the routing protocol with reference to the data query and network density information. The self adaptive data query system is also enhanced to handle join query and event query values. Key words: Query Processing, Wireless Sensor Networks, Routing Protocol 1. Introduction The data query processing systems such as TinyDB and Cougar are promising for data acquisitional applications of wireless sensor networks. With these systems, a user injects SQL style queries into the network through a PC. The networked sensor nodes then work together to process the queries and send results back to the PC. The performance of these sensor query systems are greatly affected by routing protocols, because routing protocols response for the query dissemination and result gathering. The current available data query systems only use one routing protocol to deal with all kinds of query processing, such as TinyDB and Cougar, where they all assume a fixed tree based topology. In query processing operators in data query system, for data collection use select noe_id, temp from sensors, while data aggregation, use select average from sensors. Both data collection and aggregation are commonly used operations, in this paper; these queries are used to demonstrate that the adaptive routing service is an effective way to improve the performance of data query system. In our previous work, we compared MintRoute and HEED routing protocols according to different operations and network densities. Simulations and analyses show that for data aggregation HEED is 40 60% more energy efficient than MintRoute, when network 115

dense>0.0025nodes/m2. However, in the case of data collection, MintRoute is 30 50% more energy efficient than HEED. With the sensor node density decreasing, the performance of HEED and MintRoute trends to be similar. In this paper, we implement a dynamic routing layer using MintRoute and HEED protocols for data query. It automatically conducts protocol switching according to query and network density. 1.1 HEED (Hybrid, Energy, Efficient, Distributed) That periodically selects cluster heads according to a hybrid of the node residual energy and a secondary parameter, such as node proximity to its neighbors or node degree. HEED terminates in O(1) iterations, incurs low message overhead, and achieves fairly uniform cluster head distribution across the network. The appropriate bounds on node density and intra cluster and inter cluster transmission ranges, HEED can asymptotically almost surely guarantee connectivity of clustered networks. HEED is to prolong the network lifetime, is defined as the time until the first node in the network depletes its energy. 1.2 Tiny DB A query processor for sensor networks that incorporates acquisitional techniques called TinyDB. TinyDB is a distributed query processor that runs on each of the nodes in a sensor network. TinyDB has many of the features of a traditional query processor (e.g., the ability to select, join, project, and aggregate data). 1.3 Network Lifetime The most common definition of network lifetime is the time until the first (or last) node in the network depletes its energy. In a multi hop network, network connectivity is the primary determinant of network lifetime. An evaluation of the impact of data aggregation on energy conservation in sensor networks was presented in TinyDB and Cougar were proposed for efficient database querying and aggregation in sensor networks. TinyDB focuses on the same class of operators (AVG, MAX, etc.) as in this study. TinyDiffusion also exploits in network data aggregation as necessary. MintRoute protocol, Woo proposed which is the most popular tree based routing protocol. It is integrated into TinyOS and is considered by many to be the de facto standard sensor network routing protocol. MintRoute uses a sink based periodic beacon, called a route advertisement, to construct and maintain a tree. Route advertisements are originated at the sink and are forwarded by every node that receives them in order to cover the entire network. A node determines its parent by selecting a neighbor which has the minimum number of hops to the base station. If two or more neighbors have the same minimum number of hops, it selects a node with the best link quality as its parent. 2. Related works 2.1Hierarchical routing protocols Tree based and cluster based routing protocols are extensively used in query system of sensor networks. This section gives an overview of tree based and cluster based routing protocols. 116

2.1.1 Tree based routing protocols Tree based routing protocols are aimed to construct the best rout from a node to base station. A parent node is selected based on two parameters, one is the number of hops from the node to base station, and the other is one of the follows: parent s residual energy, link quality, or routing path length to base station. Cluster based routing protocols clustering technique is effective in achieving scalability and load balance. Many clustering protocols have been proposed for sensor networks, like HEED, LEACH 5 and TEEN 6 and so on. O. Younis proposed HEED (hybrid energy efficient distributed clustering) protocol, in which cluster head selection is based on two parameters: The primary parameter (node residual energy) is used to select an initial set of cluster heads, and the secondary parameter is used to break ties. A tie occurs when two nodes within range from each other announce their willingness to become cluster heads. The secondary parameter can be set to an estimate of the intra cluster communication cost, which is a function of cluster density or neighbor proximity. After clustering process, a routing tree is constructed among cluster heads. 2.1.2 LEACH (Low Energy Adaptive Clustering Hierarchy) is a family of protocols developed in. LEACH is a good approximation of a proactive network protocol, with some minor differences. Once the clusters are formed, the cluster heads broadcast a TDMA schedule giving the order in which the cluster members can transmit their data. The total time required to complete this schedule is called the frame time TF. Every node in the cluster has its own slot in the frame, during which it transmits data to the cluster head. When the last node in the schedule has transmitted its data, the schedule repeats. The report time discussed earlier is equivalent to the frame time in LEACH. The frame time is not broadcast by the cluster head, though it is derived from the TDMA schedule. However, it is not under user control. Also, the attributes are predetermined and are not changed midway 2.1.3 TEEN (Threshold sensitive Energy Efficient sensor Network protocol). It is targeted at reactive networks and is the first protocol developed for reactive networks, to our knowledge. 2.2 Matching routing protocols to applications The performance of routing protocol is greatly affected by applications and network conditions. Some people attempted to explore adjust routing protocols according to applications. S. Madden proposed semantic routing trees (SRT) to optimize query processing. Traditionally, in sensor networks, routing tree construction is done by having nodes pick a parent with the most reliable connection to the root (highest link quality). The selection of parent in SRT includes some considerations of semantic properties. An SRT is an index over constant attribute A that can be used to locate nodes that have data relevant to query. Each node stores the range of A values for each of its children. When a query q with a predicate over A arrives at a node n, n checks to see if any child s A value overlaps the query range of A in q. If so, it prepares to receive results and forward the query. Filter based architecture in sensor networks specifies a software structure that contains a list of filter handlers, each of which is executed when its attributes match incoming packets. This architecture provides a flexible way to add application specific code into sensor nodes in the 117

form of filters. But the filter architecture only considers diffusion algorithms (there have three diffusion algorithms: two phase pull diffusion, push diffusion, and one phase pull diffusion). 2.3 Dynamic routing layer 2.3.1 Dynamic routing layer design We have implemented the dynamic routing protocol system on NS2. Fig. 1 describes the software architecture of a sensor node. The adaptive routing services module supports routing services and control dynamic switching of routing protocols. In this architecture, the Energy Manager is used to keep track of a node s energy. It provides a common interface for the application layer and physical layer to access the energy resource. When physical layer receives packets from MAC layer, it sets the transmit power based on an approximation of distance to receiver, removes the appropriate amount of energy for sending the packet through the interface provided by the Energy Manager, and sends the packet to Channel. Data Data Aggregation Adaptive Routing Services HEE MintRout Flooding Schedulin MAC Physical Energy Manager Channel Figure.1 The architecture of sensor node {Source: 2009 11th IEEE International Conference on High Performance Computing and Communications.} On the other hand, when a packet comes from Channel, it removes the amount of energy for receiving a packet and forwards the packet to MAC layer. The MAC is running carrier sense multiple accesses (CSMA) algorithm. The scheduling is a hybrid of depth based scheduler and TDMA. The depth based scheduler is adopted for parent nodes, and TDMA is for siblings. The routing layer can dynamically switch between two routing protocols: HEED and MintRoute. The application layer is data query, currently consisting of acquisition and aggregate operators. The required energy is removed by the application layer as the node performs computation of data aggregation and sampling. 118

In HEED, member nodes communicate with their cluster heads over single hop, and cluster heads communicate with base station over multi hop. HEED adopts MintRoute to construct a routing tree between cluster heads. In our design, HEED and MintRoute share tree construction algorithm and routing table. The module of Routing Protocol Control is to control the Clustering module and TreeConstruction module start and stop. 2.4 Module design of HEED and MintRoute Using the module design, we can get three kinds of routing protocols: The First one is MintRoute protocol. It can be obtained by stopping the Clustering module and starting the TreeConstruction module. The Second one is HEED protocol, where both of Clustering module and TreeConstruction modules need to start. When a member node joins a cluster, the Clustering module sets its cluster head as its next hop. The TreeConstruction only select parent nodes for cluster heads. If a node is a member node, it does not execute the TreeConstruction module. The third one is coexistence of the two protocols. Fig. 3(a) describes the topology of MintRoute. Fig. 3(b) describes the topology of HEED clustering. Fig. 3(c) describes the topology of coexistence of HEED and MintRoute. The Routing Protocol Control module starts both Clustering and TreeConstruction modules. In the routing table, every node has two fields for routing selection: head field and parent field. When a node joins a cluster, Clustering module marks the head field who is its cluster head; The TreeConstruction constructs a tree for all nodes and marks the parent field who is its parent. Cluster heads use the information in parent field to forward data to base station. Every member node has two choices for next hop: one is its parent node in the tree, and the other is its cluster head. We use this kind of routing to deal with multiquery coexistence. For example, there coexist two kinds of queries. One is data collection, and the other is data aggregation. Routing service chooses next hop in the tree to forward data for data collection, and chooses next hop in the cluster topology to routing data for data aggregation. (a) 119

(b) (c) Figure 2. (a) The topology of MintRoute; (b) The topology of HEED clustering, where cluster radius is 25m; (c) The topology of HEED and MintRoute coexistence. 2.4.1 The algorithm of dynamic routing protocol We have implemented a dynamic routing protocol which switches between HEED and MintRoute. The dynamic protocol includes three parts: base station selects routing protocol, sensor node executes the selection, and base station collects network density information 2.5 Simulation In our simulation, 100 nodes are random distributed in a 100m 100m area, and the sink node is located at (0m, 0m), as shown in Fig. All nodes are stationary. Energy consumption of data fusion is 5nJ/bit. Energy consumption for idle is assumed the same as that of receiving data. Energy consumption for sleep and sense mode is ignored. We simulate dynamic routing layer, HEED, and MintRoute for two kinds of queries: data collection and data aggregation. The sample period of each query is 10 seconds, and the duration is 30 minutes. 2.6 One query at a time 120

Two queries are injected into the network one by one and only one query is running in the network at a time. Under the condition of data aggregation for both queries, dynamic routing layer chooses HEED as routing protocol. As shown in Fig. 5, dynamic routing layer is more than 40% energy efficient than MintRoute Figure 3. Energy dissipation vs. the number of data packets received at base station for two queries to be injected into the network one by one and both are data aggregation. If both queries are data collection, dynamic routing layer chooses MintRoute as routing protocol and it is about 30% more energy efficient than HEED, as shown in Fig. 6. If the first query is data aggregation and second one is data collection, dynamic routing layer switches to HEED for data aggregation and switches to MintRoute for data collection. As shown in Fig. The dynamic routing layer is more energy efficient than both MintRoute and HEED. The following figure shows the Energy dissipation vs. the number of data packets received at base station for injecting two queries into the network one by one and both are data collection. 2.7 Multi queries coexistence Two queries are injected into the network at the same time, one is data collection and the other is data aggregation. The power dissipation for routing control message in HEED mainly includes energy consumption for exchanging tentative cluster head declaration message, cluster head declaration message, cluster join message, routing tree construction message and scheduling message. Figure 4. Energy dissipation vs. the number of data packets received at base station 121

The energy consumption of MintRoute mainly includes the energy consumption for exchanging neighbor information, child join message, and scheduling message. As shown in Fig. 8, the energy consumption for exchanging control messages is almost the same for both HEED and MintRoute. Figure 5. Energy dissipation for routing construction vs. the number of nodes alive 3. Conclusion This work describes that properly selecting routing protocol based on query can improve the performance of query processing. We have designed a dynamic routing layer for sensor networks. Base station decides which routing protocol should be selected according to the query category and network density. Two routing protocols, HEED and MintRoute, are loaded into each node. The dynamic routing layer can automatically switch between HEED and MintRoute. Simulations show that dynamic routing layer is more energy efficient than both HEED and MintRoute and in future will consider other kinds of queries such as eventbased query. 4. References 1. O. Younis, S. Fahmy. HEED: A Hybrid, Energy Efficient, Distributed Clustering Approach for Ad Hoc Sensor Networks. IEEE Transactions on Mobile Computing, Vol. 3, No. 4, pp. 660 669, Oct. 2004. 2. O. Younis, S. Fahmy. An Experimental Study of Routing and Data Aggregation in Sensor Networks. The 2nd IEEE International Conference on Mobile Ad Hoc and Sensor Systems (MASS 2005), Nov. 2005. 3. Z. Zhang, F. Yu. An Adaptive Energy Efficient Clustering Protocol for Data Collection in Sensor Networks. In Proceedings of the IEEE International Joint Conference on Computational Sciences and Optimization, April 2009. 122

4. A. Manjeshwar, D.P. Agrawal. TEEN: A Protocol for Enhanced Efficiency in Wireless Sensor Networks. In Proc. the 15th Parallel and Distributed Processing Symp. San Francisco: IEEE Computer Society, 2001. 5. P. Levis, S. Madden, J. Polastre, et al. TinyOS: An Operating System for Sensor Networks. Springer Berlin Heidelberg, 2005. 6. An experimental study of routing and data aggregation in sensor networks Ossama Younis & Sonia Fahmy, University of Arizona, Purdue University, USA. 7. Dynamic Routing Layer for Data Query in wireless sensor networks, Zusheng Zhang, Fengqi Yu, University of Chinese Academy of Sciences. 8. LEACH & TEEN: A Routing Protocol for Enhanced Efficiency in Wireless Sensor Networks, Arati Manjeshwar and Dharma P. Agrawal, Center for Distributed and Mobile Computing, ECECS Department, University of Cincinnati, Cincinnati, OH 45221 0030. 123