Presentation is loading. Please wait.

Presentation is loading. Please wait.

SIGMOD'061 Energy-Efficient Monitoring of Extreme Values in Sensor Networks Adam Silberstein Kamesh Munagala Jun Yang Duke University.

Similar presentations


Presentation on theme: "SIGMOD'061 Energy-Efficient Monitoring of Extreme Values in Sensor Networks Adam Silberstein Kamesh Munagala Jun Yang Duke University."— Presentation transcript:

1 SIGMOD'061 Energy-Efficient Monitoring of Extreme Values in Sensor Networks Adam Silberstein Kamesh Munagala Jun Yang Duke University

2 SIGMOD'062 Papers  C. Olston, B. Loo, and J. Widom, “Adaptive Precision Setting for Cached Approximate Values,” SIGMOD’01.  A. Silberstein, K. Munagala and J. Yang, "Energy- Efficient Monitoring of Extreme Values in Sensor Networks," SIGMOD '06.

3 SIGMOD'063 Outline  Introduction to Max/Min Query  Algorithms  Query non-specific  Temporal Suppression (TS)  Range Caching (RS)  Query-specific  SLAT (single-level adaptive thresholds)  SLAT-A (single-level adaptive thresholds with aggregation)  HAT (hierarchical adaptive thresholds)  Experimental Results

4 SIGMOD'064 Max Query  Max query  Returns (node id, value) for node with highest value in network  Addressed problem  How to energy-efficient continually maintains the max result  Uses: environmental, machine room monitoring  Observe trends, get early alerts

5 SIGMOD'065 Temporal Suppression (TS)  Simple monitoring algorithm  Not specifically tailored to query  Node transmits its value if it has changed since its last report  Absence of report implies the value has not changed

6 SIGMOD'066 658630 Temporal Suppression b a c d e f g hi j k l m n o p q r 20 15 23 60 18 43 32 52 62 65 70 68 74 72 60 82 74 76 Low value Dropping value p30 k86 q65 k86, q65 Trigger

7 SIGMOD'067 Range Caching (RS)  Range caching [Olston et al. SIGMOD 01] Range: [20 60] Sensed value: 40 Range: [55 80] Sensed value: 82 Range: [75 90] Sensed value: 89 Root: cache ranges [75 90], [21 68], [55 80], [20 60] No send Send 82 No send Range: [21 68] Sensed value: 70 Send 70

8 SIGMOD'068 Range Caching (RS)  Range: [75 90] Sensed value: 89 Root: cache ranges [75 90], [21 68], [55 80], [20 60] Since 90 > max{70, 82} Query Reply 89

9 SIGMOD'069 Range Caching (RS)  Range setting  If a value fall outside its current range, it expands the range by a factor  > 1.  To avoid value-initiated packets, the interval should be wide enough to make it unlikely that modifications to the exact value will exceed the interval.  When a node receives a “Query”, it contracts the range length by a factor of .  to avoid “Reply” packets, the interval should be as narrow as possible.

10 SIGMOD'0610 Total cost  [Olston et al. SIGMOD 01] the probability that a value-based transmission will occur at each round. the probability that a query-based transmission will occur at each round. Assume the costs of value-based and query-based updates are equal

11 SIGMOD'0611 30 {20,40} 86 {70,102} {78,86} {68,84} Range Caching b a c d e f g hi j k l m n o p q r 20 15 23 60 18 43 32 52 62 65 70 68 74 72 60 82 74 76 {60,76} {18,28} {74,90} {60,92} p30 k86 Q Q Q Q Low value Queries

12 SIGMOD'0612 SLAT  Direct translation of adaptive caching  SLAT : “ single level adaptive thresholds ”  Ignore topology (use it for routing only)  Current max node is temporally monitored  Thresholds  At node u i, v i <= t(u i ) <= current_max  Node sends Trigger if value breaks threshold  If current_max falls, root queries all nodes with threshold higher than current_max

13 SIGMOD'0613 86 83 81 84 70 SLAT Reporting b a c d e f g hi j k l m n o p q r 20 15 23 60 18 43 32 52 62 65 70 68 74 72 60 82 74 76 t=75 t=80 t=78 t=84 t=75 j84 k86 l83 m80 j84,k86,l83,m81 Unbroken Threshold, no Trigger Broken thresholds, all nodes send Triggers node thresh i j k 758084 Root stores thresholds 8586 … …

14 SIGMOD'0614 72 SLAT Querying 20 15 23 70 18 43 32 52 62 65 70 68 74 72 60 82 74 76 t=75 b a c d e f g hi j k l m n o p q r node thresh max drops: 82 72 Threshold higher than max, node must be queried Q Q Q Query n72 i j k 758084 71 (or 72)

15 SIGMOD'0615 SLAT-A  SLAT-A : “ single level adaptive thresholds- aggregation ”  In particular round, if multiple values converge at an intermediate node for transmission, only the highest is forwarded  Similar to TinyAgg

16 SIGMOD'0616 86 83 81 84 70 SLAT-A Reporting b a c d e f g hi j k l m n o p q r 20 15 23 60 18 43 32 52 62 65 70 68 74 72 60 82 74 76 t=75 t=80 t=78 t=84 t=75 j84 k86 l83 m80 k86 Unbroken threshold Broken thresholds node thresh

17 SIGMOD'0617 72 SLAT-A Querying 20 15 23 70 18 43 32 52 62 65 70 68 74 72 60 82 74 76 t=75 b a c d e f g hi j k l m n o p q r max drops: 82 72 Root does not know any thresholds, so must query all nodes, including those with very low thresholds Q Q Q Q Q Q Q t=20 t=25 t=23 t=24 n72

18 SIGMOD'0618 HAT  HAT – “ hierarchical adaptive thresholds ”  Additional invariant: t(u i ) <= t(parent(u i ))  Node ’ s threshold greater than all values in subtree  Each node stores child thresholds  Combine advantages of SLAT, SLAT-A  Reporting: only propagate highest value in subtree  Querying: prune subtrees with threshold lower than fallen max

19 SIGMOD'0619 HAT Reporting 86 83 81 84 70 b a c d e f g hi j k l m n o p q r 20 15 23 60 18 43 32 52 62 65 70 68 74 72 60 82 74 76 t=75 t=80 t=78 t=84 t=75 j84 k86 l83 m80 t=88 t=90 t=95 thresh node d e Unbroken threshold Broken thresholds, Nodes send Triggers f’s threshold short-circuits Triggers Node stores child thresholds

20 SIGMOD'0620 72 HAT Querying 20 15 23 70 18 43 32 52 62 65 70 68 74 72 60 82 74 76 t=75 b a c d e f g hi j k l m n o p q r max drops: 82 72 Q72 t=80 t=85 t=90 t=70 thresh node d e 70 80 d pruned from queries, e not pruned n72

21 SIGMOD'0621 Suppression across Space/Time  Another important feature of HAT: state at intermediate nodes carries over temporally  E.g. nodes a and b have common ancestors; both rise, but in subsequent rounds; b benefits from a ’ s raising of thresholds  One node ’ s previous value can help suppressing other nodes ’ subsequent values at intermediate nodes!

22 SIGMOD'0622 100 r100 95 More Suppression with HAT b a c d e f g hi j k l m n o p q r 20 15 23 60 18 43 32 52 62 65 70 68 80 72 60 82 70 76 t=76 t=80 t=76 t=73 Green: r rises, value propagates to root Gold: q rises, short-circuited at n, which now has higher threshold q95

23 SIGMOD'0623 Experiments  Simulation of Mica2 motes  Computation of energy cost in mJ based on number of bytes sent+received  Both actual data and transmission overhead  200 nodes, 400x400 m area

24 SIGMOD'0624  Comparison of 5 algorithms  Nodes change its value with some probability, and then by a random amount chosen randomly from [v-100, v+100] Experimental Results

25 SIGMOD'0625 Experimental Results  Nodes rise with some probability  HAT beats SLAT-A at low probabilities, due to sharing between rounds

26 SIGMOD'0626 Experimental Results  All nodes fall in value by some percent  SLAT, HAT can prune when fall is small  SLAT-A must search whole network

27 SIGMOD'0627 Intel Lab Data (Temperature)

28 SIGMOD'0628 Extensions & Conclusion  Straightforward to extend max to min, top-k  Two key points for continuous query, in- network processing  Leverage query semantics  Leverage network hierarchy: store state in- network, rather than treating intermediate nodes as only conduits  Enables nodes to make decisions (drop messages)  Enables filtering/aggregation across time steps


Download ppt "SIGMOD'061 Energy-Efficient Monitoring of Extreme Values in Sensor Networks Adam Silberstein Kamesh Munagala Jun Yang Duke University."

Similar presentations


Ads by Google