Top-k Monitoring in Wireless Sensor Networks Minji Wu, Jianliang Xu, Xueyan Tang, and Wang-Chien Lee IEEE TRANSACTIONS ON KNOWLEDGE AND DATA ENGINEERING, VOL. 19, NO. 7, JULY 2007
Outline Introduction Filter-based Monitoring Approach FILA Overview Query Reevaluation Filter Setting (Uniform versus Skewed) Filter Update (Eager versus Lazy) Performance Study Simulation Setup Eager versus Lazy Filter Update Performance Comparison against TAG and Range Caching Conclusions
Introduction Top-k Query Environmental Monitoring A top-k query is issued to find out the nodes and their corresponding areas with the highest pollution indexes for the purpose of pollution control or research study. Network Management A top-k query may be issued to continuously monitor the sensor nodes with the least residual energy.
Introduction In traditional database systems Focused on snapshot top-k queries This paper focuses on continuously monitoring top-k queries in sensor networks. Utilize previous top-k result to obtain a new top-k result.
Top-1 query TAG (S. Madden et al., OSDI ’ 02) BS C AB t1t1 t1t1 t1t1 t2t2 t2t2 t2t2 t3t3 t3t3 t3t A total of nine messages are sent
Top-1 query Range Caching (C. Olston et al., SIGMOD ’ 01) BS C AB t1t1 t1t1 t1t1 t2t2 t2t2 t2t2 t3t3 t3t3 t3t A total of four messages are sent [39, 47][47, 80] [20, 39]
Problem Definition Consider a top-k monitoring query that continuously requests the (ordered) list of sensor nodes R with the highest readings, that is
FILA Overview (1) Filter Setting the base station computes a filter [l i, u i ] for each sensor node i and sends it to the node for installation. (2) Query Reevaluation (3) Filter update
Query Reevaluation Sensor-initiated updates (1) Internal update (2) Join update (3) Leave update Internal update Leave update Join update Critical bound
A Simple Case Consider a simple case where only one sensor-initiated update is received by the base station Only n 1 needs to be probed
A Simple Case Only the sensor nodes whose current readings are higher than v 2 ’ respond to the probe
General Cases T internal : the set of internal updates T join : the set of join updates T leave : the set of leave updates T : the old top-k set If |T'| = |T| - | T leave | + | T join | k the new top-k set must be a subset of T' Otherwise, if |T'| < k the nodes that are not in T' have to be probed.
An Example of Top-3 Monitoring
Another Example of Top-3 Monitoring
Filter Setting Uniform filter setting It is simple and favorable when the readings of all sensor nodes follow a similar changing pattern.
Filter Setting Skewed filter setting taking into account the changing patterns of sensor readings. Suppose the average time for the reading of node i to change beyond is f i ( ) 1/f i ( ) : the rate of sensor-initiated updates by node i
Filter Setting We let every node measure the average delta change d i of their sensor readings at a fixed rate. Skewed filter setting
Filter Update Eager filter update If a new filtering window [l i ', u i '] is different from the old one [l i, u i ] then the new filter [l i ', u i '] is immediately sent to node i Lazy filter update If a new filtering window [l i ', u i '] fully contains the old one [l i, u i ], that is, [l i ', u i '] [l i, u i ] then the base station delays the filter update until node i’s reading violates the old filter [l i, u i ].
Performance Study Simulation Setup Energy cost in transmitting a message s : message size : distance-independent term (50 nj/b) : coefficient (100 pj/b/m 2 ) q: distance-dependent term ( 2) d: distance Energy cost in receiving a message is set at 50 nJ/b
Performance Study A Sensor initiated update message: Sensor ID : 4 bytes Sensor Reading: 4 bytes A filtering window is characterized by 8 bytes.
Network Layouts
Real Data Traces Simulated using the real traces provided by the Live from Earth and Mars (LEM) project at the University of Washington. Two kinds of sensor readings are used temperature (TEMP) Dew point (DEW) logged by the station at the University of Washington from August 2004 to August 2005 Total sensor readings Extract many subtraces starting at different dates Each subtrace contains readings The subtraces were used to simulate the physical phenomena in the immediate surroundings of different sensor nodes.
Real Data Traces
Evaluation Metrics Network Lifetime the network lifetime is defined as the time duration before the first sensor node runs out of power. Average Energy Consumption It is defined as the average amount of energy consumed by a sensor node per time unit. Monitoring Accuracy This is defined as the mean accuracy of monitored results against the real results.
Eager versus Lazy Filter Update ( multihop, k =10) Network lifetime. Average energy consumption.
Eager versus Lazy Filter Update Energy consumption by layer
Performance Comparison against TAG and Range Caching (single hop, k =3) Network lifetime. Average energy consumption.
Performance Comparison against TAG and Range Caching (single hop, k =3) Monitoring accuracy
Performance Comparison against TAG and Range Caching (Multihop, k =10) Network lifetime. Average energy consumption.
Performance Comparison against TAG and Range Caching (Multihop, k =10) Monitoring accuracy
Conclusion This paper exploited the semantics of top-k query and proposed a novel energy-efficient monitoring approach called FILA. Two filter setting algorithms (that is, uniform and skewed) and two filter update strategies (that is, eager and lazy) have been proposed.
Filter Setting Under random walk model 0.5 l The average time for the reading to change beyond can be expressed as