Location-aware In-Network Monitoring in Wireless Sensor Networks

Similar documents
Adaptive Distributed Indexing for Spatial Queries in Sensor Networks

Data-Centric Query in Sensor Networks

Distributed Indexing and Data Dissemination in Large Scale Wireless Sensor Networks

The Research of Data Storage and Retrieval Scheme for Wireless Sensor Networks

Energy-Efficient Communication Protocol for Wireless Micro-sensor Networks

Data Dissemination with Ring-Based Index for Sensor Networks

Hybrid Push-Pull Query Processing for Sensor Networks. Niki Trigoni, Yong Yao, Alan Demers, Johannes Gehrke

Energy Aware and Anonymous Location Based Efficient Routing Protocol

Lecture 5: Data Query in Networks. Rik Sarkar. Rik Sarkar. FU Berlin. Winter '11-'12.

EBRP: Energy Band based Routing Protocol for Wireless Sensor Networks

Energy Efficient Processing of K Nearest Neighbor Queries in Location-aware Sensor Networks

Rumor Routing Algorithm

WSN Routing Protocols

Information Brokerage

Data Centric Storage Technologies: Analysis and Enhancement

ROUTING ALGORITHMS Part 1: Data centric and hierarchical protocols

Zonal Rumor Routing for. Wireless Sensor Networks

Decomposing Data-Centric Storage Query Hot-Spots in Sensor Networks

Integrated Routing and Query Processing in Wireless Sensor Networks

Zone Sharing: A Hot-Spots Decomposition Scheme for Data-Centric Storage in Sensor Networks

Routing Scheme in Energy efficient based Protocols for Wireless Sensor Networks

Receiver Based Multicasting Protocol for Wireless Sensor Networks

Geographic Adaptive Fidelity and Geographic Energy Aware Routing in Ad Hoc Routing

Challenges in Geographic Routing: Sparse Networks, Obstacles, and Traffic Provisioning

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

The Firecracker Protocol

Routing in Sensor Networks

R2D2: Rendezvous Regions for Data Discovery Karim Seada 1, Ahmed Helmy 2

Data-Centric Routing Mechanism Using Hash-Value in Wireless Sensor Network

Efficient Peer-to-Peer Information Sharing over Mobile Ad Hoc Networks

Fault Tolerant, Energy Saving Method for Reliable Information Propagation in Sensor Network

Information Brokerage

SDS: Distributed Spatial-Temporal Similarity Data Storage in Wireless Sensor Networks

Geographic Routing in Simulation: GPSR

References. Introduction. Publish/Subscribe paradigm. In a wireless sensor network, a node is often interested in some information, but

Data-Centric Storage in Sensornets with GHT, a Geographic Hash Table

BGR: Blind Geographic Routing for Sensor Networks

GHT: A Geographic Hash Table for Data-Centric Storage

ViTAMin: A Virtual Backbone Tree Algorithm for Minimal Energy Consumption in Wireless Sensor Network Routing

To Do or Not to Do: Metadata-guided Query Evaluation in Content Caching Networks

Supporting Group Communication among Interacting Agents in Wireless Sensor Networks

Decentralizing Query Processing in Sensor Networks

Study on Wireless Sensor Networks Challenges and Routing Protocols

Artery: A Data-Centric Architecture for Wireless Sensor Networks

A Location-based Directional Route Discovery (LDRD) Protocol in Mobile Ad-hoc Networks

Data Storage in Sensor Networks for Multi-dimensional Range Queries

Routing in Ad-Hoc Networks

ROUTING ALGORITHMS Part 2: Data centric and hierarchical protocols

Using Failure Models for Controlling Data Avaialability in Wireless Sensor Networks

TAG: A TINY AGGREGATION SERVICE FOR AD-HOC SENSOR NETWORKS

Peer-to-Peer Systems. Chapter General Characteristics

Important issues. Query the Sensor Network. Challenges. Challenges. In-network network data aggregation. Distributed In-network network Storage

Dynamic Routing Selection for Wireless Sensor Networks

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

2 Proposed Routing Protocol

EARM: An Efficient and Adaptive File Replication with Consistency Maintenance in P2P Systems.

Fig. 2: Architecture of sensor node

Overview of Sensor Network Routing Protocols. WeeSan Lee 11/1/04

Secure Routing in Wireless Sensor Networks: Attacks and Countermeasures

Tag a Tiny Aggregation Service for Ad-Hoc Sensor Networks. Samuel Madden, Michael Franklin, Joseph Hellerstein,Wei Hong UC Berkeley Usinex OSDI 02

Energy Aware Location Based Routing Protocols in Wireless Sensor Networks

Location-Based Data Aggregation in Mobile Ad Hoc Networks

Replica Distribution Scheme for Location-Dependent Data in Vehicular Ad Hoc Networks using a Small Number of Fixed Nodes

Efficient Message Caching Scheme for MANET

Networking Sensors, II

Time Synchronization in Wireless Sensor Networks: CCTS

Routing and Transport in Wireless Sensor Networks

AEC Algorithm for WSN Lifetime Enhancement

Energy Aware Data-Centric Routing in Wireless Sensor Network

Prianka.P 1, Thenral 2

Clustering Routing Protocol Based on Location Node in Wireless Sensor Networks

QoS-Enabled Video Streaming in Wireless Sensor Networks

Energy-efficient Data Dissemination in Wireless Sensor Networks

Geographic rendezvous-based architectures for emergency data dissemination

Middle in Forwarding Movement (MFM): An efficient greedy forwarding approach in location aided routing for MANET

Advanced Internet Architectures

Routing protocols in WSN

Early Measurements of a Cluster-based Architecture for P2P Systems

Coping with irregular spatio-temporal sampling in sensor networks

SFM: An Energy Efficient Algorithm based on Reducing Control Messages in Wireless Sensor Networks

Time Indexing in Sensor Networks

A Simple Sink Mobility Support Algorithm for Routing Protocols in Wireless Sensor Networks

An Energy-aware Greedy Perimeter Stateless Routing Protocol for Mobile Ad hoc Networks

FEDA: Fault-tolerant Energy-Efficient Data Aggregation in Wireless Sensor Networks

VisualNet: General Purpose Visualization Tool for Wireless Sensor Networks

End-To-End Delay Optimization in Wireless Sensor Network (WSN)

Cut Graph Based Information Storage and Retrieval in 3D Sensor Networks with General Topology

Assignment 5. Georgia Koloniari

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

An efficient implementation of the greedy forwarding strategy

PROJECT REPORT VIRTUAL COORDINATE GENERATOR AND ROUTING SIMULATION TOOL FOR WIRELESS SENSOR NETWORKS IN 2 AND 3-DIMENSIONAL NETWORK SPACE

Stateless Multicasting in Mobile Ad Hoc Networks

An Analysis of Spatio-Temporal Query Processing in Sensor Networks

Integrated Resource Adaptive On Demand Geographic Routing (IRA-ODGR) for MANET

A Review on Routing Protocols For Wireless Sensor Network

AN EFFICIENT MAC PROTOCOL FOR SUPPORTING QOS IN WIRELESS SENSOR NETWORKS

A Color-theory-based Energy Efficient Routing Algorithm for Wireless Sensor Networks

Geographic and Diversity Routing in Mesh Networks

Efficient load balancing and QoS-based location aware service discovery protocol for vehicular ad hoc networks

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

Transcription:

Location-aware In-Network Monitoring in Wireless Sensor Networks Volker Turau and Christoph Weyer Department of Telematics, Technische Universität Hamburg-Harburg Schwarzenbergstraße 95, 21073 Hamburg, Germany {turau,c.weyer}@tuhh.de Abstract: This paper presents a data-centric and location-aware procedure to perform in-network evaluation of queries in sensor networks. The algorithm is a hybrid of geographic hash tables and in-network aggregation. It increases data availability and accounts for topology changes and generates mostly local network traffic. 1 Introduction Wireless Sensor Networks offer new prospects for pervasive monitoring of natural and industrial environments. The stringent resource constraints of sensor nodes rule out many solutions known from classical distributed systems. The utility of sensor networks stems primarily from the data it gathers. This data can be retrieved continuously, in an ad hoc style or the data delivery to an external node can be initiated by an event triggered by a sensor node. In most cases the requested data will be an aggregation of values from different sources. Producing such digests recognizing the energy constraints poses unique challenges. Node failures and moving nodes introduce additional complexity. Recently, much attention has been focused on fault tolerant in-network aggregation of time series data to produce data statistics minimizing energy consumption. In this paper a monitoring infrastructure for sensor networks providing a data-centric view based on a hybrid datadissemination technique is proposed. The algorithm uses geographic hash tables for innetwork aggregation and accounts for node failures and topology changes. 2 Data-Dissemination At least three distinct data-dissemination and aggregation procedures have been proposed in the literature. A straightforward implementation is to route all sensor readings to an external station hosting a database. While query evaluation can resort to the infrastructure provided by the database, the approach results in a high communication effort. The high communication rate is solely tolerable in cases where only indispensable data is delivered to an external node and this data is used in extensive analyses. To retain an SQL-style query 355

language the TAG project uses a single virtual table, the actual aggregation is performed inside the network in two stages [MFHH02]. In the first stage queries are pushed down into the network and a routing tree is set up. In the second stage partial aggregates are computed and routed up from children to parents. This technique relies on some variant of global flooding such as Directed Diffusion [IGE00]. Besides the high-energy consumption due to the many broadcasts the approach also suffers from node failures. In case a single node fails, the entire network below that node is excluded from the aggregation leading to incorrect results. A set of aggregation operators, suitable for this kind of processing is identified in [MFHH02] and includes those known from SQL. Apart from the described variants direct delivery and partial aggregation there is a third option: packet merging. In case many nodes send packets simultaneously to the same target, data items of nodes encountered en route can be placed inside the payload of the current package (if payload size permits). This reduces communication cost since the packet overhead is only paid once for a group of data items. The purpose of sensor networks is to provide data describing the complete or partial state of a geographic region. Hence, the identity of an individual node is of minor importance. This requires to move from the point-to-point communication abstraction of the internet protocols to a data-centric abstraction allowing the formulation of requests for data independently of node identifiers using for example geographic constraints. In the data-centric storage model data items are named and communication abstractions refer to these names rather to node addresses. Requests for data-items are routed to appropriate nodes, where the relevant data can be found. This way logical access points are defined. Geographic hash tables (GHT) as defined in [RKS + 03] describe a solution for this type of storage, names of data items are hashed to geographic locations inside the area covered by the network and the data is stored at the node closest to that location. GHT is built on top of GPSR [KK00], a geographic routing system for multi-hop wireless networks. GHT is often used as a base layer to support higher semantic concepts. DIFS is an extension of GHT to efficiently support range queries, that is to say queries where only events with attributes in a certain range are desired [GEG + 03] and R-DCS is another data-centric storage concept providing a higher degree of scalability and resilience [GGC03]. This paper extends the data-centric storage concept of GHT to perform in-network evaluation of queries affecting a high number of sensor nodes for monitoring and alarming purposes (as opposed to ad hoc queries). The presented procedure is a hybrid of GHT and in-network aggregation with improved scalability. It generates very local network traffic, increases data availability and accounts for topology changes caused by node failures, deployment of new nodes, decreasing communication radii, and moving nodes. 3 Algorithm The proposed monitoring system supports two main operations: (1) alarming (i.e. the network generates an event if a specified expression of sensor readings evaluates to true) and (2) repeated and long running queries. Ad hoc queries are not considered, the overhead to set up the infrastructure is too high. The algorithm is applicable to queries including an 356

explicit definition of a geographic target region. Only networks satisfying the following preconditions are considered: (1) individual nodes know their geographic location and (2) the nodes relevant for a query are located in a region that is significantly smaller than the region covered by network. Like other distributed hash tables GHT supports two operations: put(location, value) and get(location) 1. The value is stored at the node L closest to the specified location (called home node) and at all replicas in the vicinity of L (home perimeter), in most cases there will be two replicas. To support query evaluation GHT can be used as follows: Consider the smallest area A Q encompassing all sensor nodes relevant to the query Q. Let L Q be the center of A Q (using any reasonable measure, such as minimal average distance to all nodes). The home node for L Q uses restricted flooding to distribute the query to the nodes in the target area A Q. All participating sensor nodes periodically make a call put(l Q, value) to store the value in a suitable data structure hosted by the home node (and in the replicas). Sensor nodes remain passive after the timer has expired in case the measured sensor value has not changed compared to the last measurement. Having access to all data relevant to Q, the home node can evaluate the query and if required initiate an action (home nodes contain the code to process queries). External nodes have direct access to the result of the query using the operation get. The described procedure can be optimized by changing the implementation of the put operation to perform packet merging while traversing the network (see figure 1). Each node has a timer, if the value of this timer has reached 0 the put operation is invoked and the timer is reset. Nodes visited en route include their data in the current packet and also reset their timers. This way, the number of put calls will be minimal after an initial phase of adjustment and the system will automatically reach a stable state after changes of the network topology. L Q sensor1 sensor2 value1 value 2... sensorn... value n put( LQ, value 1) get( LQ) Home x Replica L Q Replica put( LQ, value 2) AQ Figure 1: GHT in combination with packet merging This approach has two shortcomings: (1) the logical storage point may become a bottleneck (hot spot) in the network leading to a non-uniform energy utilization and (2) if 1 The original GHT operations use keys instead of locations. A hash function maps a key to a location in the area covered by the network. The usage of GHT in this work does not rely on this feature. 357

all nodes of the home perimeter fail simultaneously (cluster failure), the procedure fails totally and the query must be newly instantiated. To remedy these disadvantages a hierarchical system is proposed. The region encompassing the nodes involved in the query is partitioned into connected regions R 1,...,R r, each comprising roughly the same number of nodes. The geographic center L i of each region R i is used as a logical storage point for the sensor readings of the sensors of that region. The nodes of a region follow the procedure sketched above to report their sensor values to the defined center. In addition a location L Q for the query itself is selected. The home nodes of the centers of the regions either partially evaluate the query and report the result to the global query location or if partial evaluation is not possible, all collected values are reported to the global query location. Both cases make use of the put operation (see figure 2). The introduction of the intermediate storage points reduces the number of put operations with target L Q and thus decreases the formation of hot spots and leads to a more uniform energy consumption. Even so the total number of calls of the operation put increases, a reduction of the total number of communication hops can be expected. If the number of nodes increases the described algorithm can be extended by introducing intermediate layers of logical storage points between the storage points of the regions and the global query storage point. This way a hierarchy of logical storage layers is built. To compensate for cluster failures, the global query location can be replicated in a zone, different from the zone that contains location L Q, similar to R-DCS [GGC03]. X L1 X L 3 X L5 X LQ R1 R3 R5 X L2 X L4 X L6 R2 R4 R6 Figure 2: Hierarchical GHT in combination with partial evaluation Due to space limitations it is only possible to give a sketch of the processing. To control the liveliness of nodes the timers t TTL and t refrsh are used: 1. When a node n in region R i wakes up then (a) n performs measurements required by query Q and stores the value in v (b) if v has changed since the last measurement or if v was constant for a period longer than t TTL n calls put(l i,v) and t TTL is reset 358

2. When the home node h i of region R i wakes up then (a) h i removes values older than t TTL and computes the query result r Q (b) h i calls put(l, r Q ), where L is the parent location (c) if the number of alive nodes has fallen below a threshold or the time t refresh has passed since the last update, h i sends Q again to all nodes in region R i using restricted flooding and t refresh is reset. 3. If a node in R i does not receive a refresh of Q within time interval t refresh it removes all code for this query. Besides this periodical processing GHT requires the following background processing: Perimeter Refresh Protocol and the GPSR update protocol. To remove a query from the sensor network, only the home node of an area must be informed. The query removes itself after period t refresh has elapsed regardless of topology changes and node failures. 4 Conclusion The contribution of this paper is a hybrid data-dissemination technique providing a datacentric view. Compared with other algorithms, it has the advantage of using the energy of the individual nodes of the sensor network more uniformly, and compared to pure innetwork aggregation the algorithm provides a higher resistance against node failures due to the replication of data on the nodes of the home perimeter. Currently the algorithm is empirically evaluated and compared to other approaches using the simulation tool ns-2. References [GEG + 03] Greenstein, B., Estrin, D., Govindan, R., Ratnasamy, S., und Shenker, S.: DIFS: A distributed index for features in sensor networks. In: Proc. First IEEE Int. Workshop on Sensor Network Protocols and Applications. S. 163 173. IEEE Press. 2003. [GGC03] [IGE00] Ghose, A., Grossklags, J., und Chuang, J.: Resilient Data-Centric Storage in Wireless Ad-Hoc Sensor Networks. In: Mobile Data Management - MDM 2003. S. 45 62. 2003. Intanagonwiwat, C., Govindan, R., und Estrin, D.: Directed diffusion: A Scalable and Robust Communication Paradigm for Sensor Networks. In: Proc. of the 6th annual int. conf. on Mobile computing and networking. S. 56 67. ACM Press. 2000. [KK00] Karp, B. und Kung, H. T.: GPSR: Greedy Perimeter Stateless Routing for Wireless Networks. In: Mobile Computing and Networking. S. 243 254. 2000. [MFHH02] Madden, S., Franklin, M., Hellerstein, J. M., und Hong, W.: TAG: a Tiny AGgregation service for ad-hoc sensor networks. SIGOPS Oper. Syst. Rev. 36(SI):131 146. 2002. [RKS + 03] Ratnasamy, S., Karp, B., Shenker, S., Estrin, D., Govindan, R., Yin, L., und Yu, F.: Data-centric Storage in Sensornets with GHT, a Geographic Hash Table. Mob. Netw. Appl. 8(4):427 442. 2003. 359