33
Top-k Monitoring in Wi reless Sensor Networks Minji Wu, Jianliang Xu, Xueya n Tang, and Wang-Chien Lee IEEE TRANSACTIONS ON KNOWLEDGE AND DATA ENGINEERING, VOL. 19, NO. 7, JULY 2007

Top-k Monitoring in Wireless Sensor Networks Minji Wu, Jianliang Xu, Xueyan Tang, and Wang-Chien Lee IEEE TRANSACTIONS ON KNOWLEDGE AND DATA ENGINEERING,

  • View
    214

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Top-k Monitoring in Wireless Sensor Networks Minji Wu, Jianliang Xu, Xueyan Tang, and Wang-Chien Lee IEEE TRANSACTIONS ON KNOWLEDGE AND DATA ENGINEERING,

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

Page 2: Top-k Monitoring in Wireless Sensor Networks Minji Wu, Jianliang Xu, Xueyan Tang, and Wang-Chien Lee IEEE TRANSACTIONS ON KNOWLEDGE AND DATA ENGINEERING,

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

Page 3: Top-k Monitoring in Wireless Sensor Networks Minji Wu, Jianliang Xu, Xueyan Tang, and Wang-Chien Lee IEEE TRANSACTIONS ON KNOWLEDGE AND DATA ENGINEERING,

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.

Page 4: Top-k Monitoring in Wireless Sensor Networks Minji Wu, Jianliang Xu, Xueyan Tang, and Wang-Chien Lee IEEE TRANSACTIONS ON KNOWLEDGE AND DATA ENGINEERING,

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.

Page 5: Top-k Monitoring in Wireless Sensor Networks Minji Wu, Jianliang Xu, Xueyan Tang, and Wang-Chien Lee IEEE TRANSACTIONS ON KNOWLEDGE AND DATA ENGINEERING,

Top-1 query TAG (S. Madden et al. , OSDI ’02)

BS

C

A B

t1

t1 t1

t2

t2 t2

t3

t3 t3

35

38

37

43

45

48

51

56

52

43 51

51

45 56

56

48 52

52

A total of nine messages are sent

Page 6: Top-k Monitoring in Wireless Sensor Networks Minji Wu, Jianliang Xu, Xueyan Tang, and Wang-Chien Lee IEEE TRANSACTIONS ON KNOWLEDGE AND DATA ENGINEERING,

Top-1 query Range Caching (C. Olston et al., SIGMOD’01)

BS

C

A B

t1

t1 t1

t2

t2 t2

t3

t3 t3

35

38

37

43

45

48

51

56

52

4852

48 A total of four messages are sent

[39, 47]

[47, 80]

[20, 39]

Page 7: Top-k Monitoring in Wireless Sensor Networks Minji Wu, Jianliang Xu, Xueyan Tang, and Wang-Chien Lee IEEE TRANSACTIONS ON KNOWLEDGE AND DATA ENGINEERING,

Problem Definition Consider a top-k monitoring query that con

tinuously requests the (ordered) list of sensor nodes R with the highest readings, that is

Page 8: Top-k Monitoring in Wireless Sensor Networks Minji Wu, Jianliang Xu, Xueyan Tang, and Wang-Chien Lee IEEE TRANSACTIONS ON KNOWLEDGE AND DATA ENGINEERING,

FILA Overview

(1) Filter Setting the base station computes a filter [li, ui] for each sensor

node i and sends it to the node for installation.

(2) Query Reevaluation(3) Filter update

Page 9: Top-k Monitoring in Wireless Sensor Networks Minji Wu, Jianliang Xu, Xueyan Tang, and Wang-Chien Lee IEEE TRANSACTIONS ON KNOWLEDGE AND DATA ENGINEERING,

Query Reevaluation

Sensor-initiated updates (1) Internal update (2) Join update (3) Leave update

Internal update

Leave update

Join update

Critical bound

Page 10: Top-k Monitoring in Wireless Sensor Networks Minji Wu, Jianliang Xu, Xueyan Tang, and Wang-Chien Lee IEEE TRANSACTIONS ON KNOWLEDGE AND DATA ENGINEERING,

A Simple Case

Consider a simple case where only one sensor-initiated update is received by the base station

Only n1 needs to be probed

Page 11: Top-k Monitoring in Wireless Sensor Networks Minji Wu, Jianliang Xu, Xueyan Tang, and Wang-Chien Lee IEEE TRANSACTIONS ON KNOWLEDGE AND DATA ENGINEERING,

A Simple Case

Only the sensor nodes whose currentreadings are higher than v2’ respond to the probe

Page 12: Top-k Monitoring in Wireless Sensor Networks Minji Wu, Jianliang Xu, Xueyan Tang, and Wang-Chien Lee IEEE TRANSACTIONS ON KNOWLEDGE AND DATA ENGINEERING,

General Cases

Tinternal : the set of internal updates Tjoin : the set of join updates Tleave: the set of leave updates T : the old top-k set

If |T'| = |T| - | Tleave| + | Tjoin| 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.

Page 13: Top-k Monitoring in Wireless Sensor Networks Minji Wu, Jianliang Xu, Xueyan Tang, and Wang-Chien Lee IEEE TRANSACTIONS ON KNOWLEDGE AND DATA ENGINEERING,

An Example of Top-3 Monitoring

Page 14: Top-k Monitoring in Wireless Sensor Networks Minji Wu, Jianliang Xu, Xueyan Tang, and Wang-Chien Lee IEEE TRANSACTIONS ON KNOWLEDGE AND DATA ENGINEERING,

Another Example of Top-3 Monitoring

Page 15: Top-k Monitoring in Wireless Sensor Networks Minji Wu, Jianliang Xu, Xueyan Tang, and Wang-Chien Lee IEEE TRANSACTIONS ON KNOWLEDGE AND DATA ENGINEERING,
Page 16: Top-k Monitoring in Wireless Sensor Networks Minji Wu, Jianliang Xu, Xueyan Tang, and Wang-Chien Lee IEEE TRANSACTIONS ON KNOWLEDGE AND DATA ENGINEERING,

Filter Setting

Uniform filter setting

It is simple and favorable when the readings of all sensor nodes follow a similar changing pattern.

Page 17: Top-k Monitoring in Wireless Sensor Networks Minji Wu, Jianliang Xu, Xueyan Tang, and Wang-Chien Lee IEEE TRANSACTIONS ON KNOWLEDGE AND DATA ENGINEERING,

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 fi() 1/fi() : the rate of sensor-initiated updates by n

ode i

Page 18: Top-k Monitoring in Wireless Sensor Networks Minji Wu, Jianliang Xu, Xueyan Tang, and Wang-Chien Lee IEEE TRANSACTIONS ON KNOWLEDGE AND DATA ENGINEERING,

Filter Setting We let every node measure the average delt

a change di of their sensor readings at a fixed rate.

Skewed filter setting

Page 19: Top-k Monitoring in Wireless Sensor Networks Minji Wu, Jianliang Xu, Xueyan Tang, and Wang-Chien Lee IEEE TRANSACTIONS ON KNOWLEDGE AND DATA ENGINEERING,

Filter Update Eager filter update

If a new filtering window [li', ui'] is different from the old one [li, ui] then the new filter [li', ui'] is immediately sent to node i

Lazy filter update If a new filtering window [li', ui'] fully contains

the old one [li, ui], that is, [li', ui'] [li, ui] then the base station delays the filter update until node i’s reading violates the old filter [li, ui].

Page 20: Top-k Monitoring in Wireless Sensor Networks Minji Wu, Jianliang Xu, Xueyan Tang, and Wang-Chien Lee IEEE TRANSACTIONS ON KNOWLEDGE AND DATA ENGINEERING,

Performance Study Simulation Setup

Energy cost in transmitting a message

s : message size : distance-independent term (50 nj/b) : coefficient (100 pj/b/m2) q: distance-dependent term ( 2) d: distance

Energy cost in receiving a message is set at 50 nJ/b

Page 21: Top-k Monitoring in Wireless Sensor Networks Minji Wu, Jianliang Xu, Xueyan Tang, and Wang-Chien Lee IEEE TRANSACTIONS ON KNOWLEDGE AND DATA ENGINEERING,

Performance Study

A Sensor initiated update message: Sensor ID : 4 bytes Sensor Reading: 4 bytes

A filtering window is characterized by 8 bytes.

Page 22: Top-k Monitoring in Wireless Sensor Networks Minji Wu, Jianliang Xu, Xueyan Tang, and Wang-Chien Lee IEEE TRANSACTIONS ON KNOWLEDGE AND DATA ENGINEERING,

Network Layouts

Page 23: Top-k Monitoring in Wireless Sensor Networks Minji Wu, Jianliang Xu, Xueyan Tang, and Wang-Chien Lee IEEE TRANSACTIONS ON KNOWLEDGE AND DATA ENGINEERING,

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 t

o August 2005

Total 500000 sensor readings Extract many subtraces starting at different dates Each subtrace contains 20000 readings The subtraces were used to simulate the physical phenomena in the im

mediate surroundings of different sensor nodes.

Page 24: Top-k Monitoring in Wireless Sensor Networks Minji Wu, Jianliang Xu, Xueyan Tang, and Wang-Chien Lee IEEE TRANSACTIONS ON KNOWLEDGE AND DATA ENGINEERING,

Real Data Traces

Page 25: Top-k Monitoring in Wireless Sensor Networks Minji Wu, Jianliang Xu, Xueyan Tang, and Wang-Chien Lee IEEE TRANSACTIONS ON KNOWLEDGE AND DATA ENGINEERING,

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.

Page 26: Top-k Monitoring in Wireless Sensor Networks Minji Wu, Jianliang Xu, Xueyan Tang, and Wang-Chien Lee IEEE TRANSACTIONS ON KNOWLEDGE AND DATA ENGINEERING,

Eager versus Lazy Filter Update(multihop, k =10)

Network lifetime. Average energy consumption.

Page 27: Top-k Monitoring in Wireless Sensor Networks Minji Wu, Jianliang Xu, Xueyan Tang, and Wang-Chien Lee IEEE TRANSACTIONS ON KNOWLEDGE AND DATA ENGINEERING,

Eager versus Lazy Filter Update

Energy consumption by layer

Page 28: Top-k Monitoring in Wireless Sensor Networks Minji Wu, Jianliang Xu, Xueyan Tang, and Wang-Chien Lee IEEE TRANSACTIONS ON KNOWLEDGE AND DATA ENGINEERING,

Performance Comparison against TAG and Range Caching(single hop, k =3)

Network lifetime.Average energy consumption.

Page 29: Top-k Monitoring in Wireless Sensor Networks Minji Wu, Jianliang Xu, Xueyan Tang, and Wang-Chien Lee IEEE TRANSACTIONS ON KNOWLEDGE AND DATA ENGINEERING,

Performance Comparison against TAG and Range Caching (single hop, k =3)

Monitoring accuracy

Page 30: Top-k Monitoring in Wireless Sensor Networks Minji Wu, Jianliang Xu, Xueyan Tang, and Wang-Chien Lee IEEE TRANSACTIONS ON KNOWLEDGE AND DATA ENGINEERING,

Performance Comparison against TAG and Range Caching(Multihop, k =10)

Network lifetime. Average energy consumption.

Page 31: Top-k Monitoring in Wireless Sensor Networks Minji Wu, Jianliang Xu, Xueyan Tang, and Wang-Chien Lee IEEE TRANSACTIONS ON KNOWLEDGE AND DATA ENGINEERING,

Performance Comparison against TAG and Range Caching(Multihop, k =10)

Monitoring accuracy

Page 32: Top-k Monitoring in Wireless Sensor Networks Minji Wu, Jianliang Xu, Xueyan Tang, and Wang-Chien Lee IEEE TRANSACTIONS ON KNOWLEDGE AND DATA ENGINEERING,

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.

Page 33: Top-k Monitoring in Wireless Sensor Networks Minji Wu, Jianliang Xu, Xueyan Tang, and Wang-Chien Lee IEEE TRANSACTIONS ON KNOWLEDGE AND DATA ENGINEERING,

Filter Setting Under random walk model

0.50.5

l

The average time for the reading to change beyond can be expressed as