Dave McKenney 1.  Introduction  Algorithms/Approaches  Tiny Aggregation (TAG)  Synopsis Diffusion (SD)  Tributaries and Deltas (TD)  OPAG  Exact.

Slides:



Advertisements
Similar presentations
Exact Inference. Inference Basic task for inference: – Compute a posterior distribution for some query variables given some observed evidence – Sum out.
Advertisements

Counting Distinct Objects over Sliding Windows Presented by: Muhammad Aamir Cheema Joint work with Wenjie Zhang, Ying Zhang and Xuemin Lin University of.
1 Sensor Deployment and Target Localization Based on Virtual Forces Y. Zou and K. Chakrabarty IEEE Infocom 2003 Conference, pp ,. ACM Transactions.
1 A Deterministic Algorithm for Summarizing Asynchronous Streams over a Sliding Window Costas Busch Rensselaer Polytechnic Institute Srikanta Tirthapura.
IN-NETWORK VS CENTRALIZED PROCESSING FOR LIGHT DETECTION SYSTEM USING WIRELESS SENSOR NETWORKS Presentation by, Desai, Bhairav Solanki, Arpan.
Aggregate Query Processing in Cache- Aware Wireless Sensor Networks Khaled Ammar University of Alberta.
New Sampling-Based Summary Statistics for Improving Approximate Query Answers P. B. Gibbons and Y. Matias (ACM SIGMOD 1998) Rongfang Li Feb 2007.
Edith C. H. Ngai1, Jiangchuan Liu2, and Michael R. Lyu1
SYNOPSIS DIFFUSION For Robust Aggregation in Sensor Networks Suman Nath, Phillip B. Gibbons, Srinivasan Seshan, Zachary R. Anderson Presented by Xander.
Probabilistic Aggregation in Distributed Networks Ling Huang, Ben Zhao, Anthony Joseph and John Kubiatowicz {hling, ravenben, adj,
Adaptive Data Collection Strategies for Lifetime-Constrained Wireless Sensor Networks Xueyan Tang Jianliang Xu Sch. of Comput. Eng., Nanyang Technol. Univ.,
DNA Research Group 1 CountTorrent: Ubiquitous Access to Query Aggregates in Dynamic and Mobile Sensor Networks Abhinav Kamra, Vishal Misra and Dan Rubenstein.
Dissemination protocols for large sensor networks Fan Ye, Haiyun Luo, Songwu Lu and Lixia Zhang Department of Computer Science UCLA Chien Kang Wu.
On the Construction of Energy- Efficient Broadcast Tree with Hitch-hiking in Wireless Networks Source: 2004 International Performance Computing and Communications.
Tributaries and Deltas: Efficient and Robust Aggregation in Sensor Network Streams Amit Manjhi, Suman Nath, Phillip B. Gibbons Carnegie Mellon University.
Probabilistic Data Aggregation Ling Huang, Ben Zhao, Anthony Joseph Sahara Retreat January, 2004.
Time-Decaying Sketches for Sensor Data Aggregation Graham Cormode AT&T Labs, Research Srikanta Tirthapura Dept. of Electrical and Computer Engineering.
Adaptive Self-Configuring Sensor Network Topologies ns-2 simulation & performance analysis Zhenghua Fu Ben Greenstein Petros Zerfos.
Xingbo Yu ()ICS280sensors Winter 2005 Tributaries and Deltas: Efficient and Robust Aggregation in Sensor Networks A.ManJhi, S. Nath P. Gibbons CMU.
SIGMOD'061 Energy-Efficient Monitoring of Extreme Values in Sensor Networks Adam Silberstein Kamesh Munagala Jun Yang Duke University.
Energy-efficient Self-adapting Online Linear Forecasting for Wireless Sensor Network Applications Jai-Jin Lim and Kang G. Shin Real-Time Computing Laboratory,
Top-k Monitoring in Wireless Sensor Networks Minji Wu, Jianliang Xu, Xueyan Tang, and Wang-Chien Lee IEEE TRANSACTIONS ON KNOWLEDGE AND DATA ENGINEERING,
T AG : A TINY AGGREGATION SERVICE FOR AD - HOC SENSOR NETWORKS Samuel Madden, Michael J. Franklin, Joseph Hellerstein, and Wei Hong Presented by – Mahanth.
A Node-Centric Load Balancing Algorithm for Wireless Sensor Networks Hui Dai, Richar Han Department of Computer Science University of Colorado at Boulder.
An adaptive framework of multiple schemes for event and query distribution in wireless sensor networks Vincent Tam, Keng-Teck Ma, and King-Shan Lui IEEE.
Presented by: Chaitanya K. Sambhara Paper by: Maarten Ditzel, Caspar Lageweg, Johan Janssen, Arne Theil TNO Defence, Security and Safety, The Hague, The.
TAG: a Tiny Aggregation Service for Ad-Hoc Sensor Networks Paper By : Samuel Madden, Michael J. Franklin, Joseph Hellerstein, and Wei Hong Instructor :
CS2510 Fault Tolerance and Privacy in Wireless Sensor Networks partially based on presentation by Sameh Gobriel.
On the Construction of Data Aggregation Tree with Minimum Energy Cost in Wireless Sensor Networks: NP-Completeness and Approximation Algorithms National.
Authors: Sheng-Po Kuo, Yu-Chee Tseng, Fang-Jing Wu, and Chun-Yu Lin
IPCCC’111 Assessing the Comparative Effectiveness of Map Construction Protocols in Wireless Sensor Networks Abdelmajid Khelil, Hanbin Chang, Neeraj Suri.
Easwari Engineering College Department of Computer Science and Engineering IDENTIFICATION AND ISOLATION OF MOBILE REPLICA NODES IN WSN USING ORT METHOD.
Department of Computer Science City University of Hong Kong Department of Computer Science City University of Hong Kong 1 Continuous Residual Energy Monitoring.
Minimal Hop Count Path Routing Algorithm for Mobile Sensor Networks Jae-Young Choi, Jun-Hui Lee, and Yeong-Jee Chung Dept. of Computer Engineering, College.
March 6th, 2008Andrew Ofstad ECE 256, Spring 2008 TAG: a Tiny Aggregation Service for Ad-Hoc Sensor Networks Samuel Madden, Michael J. Franklin, Joseph.
An Efficient Algorithm for Dual-Voltage Design Without Need for Level-Conversion SSST 2012 Mridula Allani Intel Corporation, Austin, TX (Formerly.
Department of Computer Science City University of Hong Kong Department of Computer Science City University of Hong Kong 1 A Statistics-Based Sensor Selection.
1 Pradeep Kumar Gunda (Thanks to Jigar Doshi and Shivnath Babu for some slides) TAG: a Tiny Aggregation Service for Ad-Hoc Sensor Networks Samuel Madden,
De-Nian Young Ming-Syan Chen IEEE Transactions on Mobile Computing Slide content thanks in part to Yu-Hsun Chen, University of Taiwan.
Wireless Sensor Networks In-Network Relational Databases Jocelyn Botello.
Benjamin AraiUniversity of California, Riverside Reliable Hierarchical Data Storage in Sensor Networks Song Lin – Benjamin.
Multi-Resolution Spatial and Temporal Coding in a Wireless Sensor Network for Long-Term Monitoring Applications You-Chiun Wang, Member, IEEE, Yao-Yu Hsieh,
Energy-Efficient Monitoring of Extreme Values in Sensor Networks Loo, Kin Kong 10 May, 2007.
Neighborhood-Based Topology Recognition in Sensor Networks S.P. Fekete, A. Kröller, D. Pfisterer, S. Fischer, and C. Buschmann Corby Ziesman.
Query Aggregation for Providing Efficient Data Services in Sensor Networks Wei Yu *, Thang Nam Le +, Dong Xuan + and Wei Zhao * * Computer Science Department.
CountTorrent: Ubiquitous Access to Query Aggregates in Dynamic and Mobile Sensor Networks Abhinav Kamra, Vishal Misra and Dan Rubenstein - Columbia University.
Rendezvous Regions: A Scalable Architecture for Service Location and Data-Centric Storage in Large-Scale Wireless Sensor Networks Karim Seada, Ahmed Helmy.
New Sampling-Based Summary Statistics for Improving Approximate Query Answers Yinghui Wang
Bounded relay hop mobile data gathering in wireless sensor networks
Dr. Sudharman K. Jayaweera and Amila Kariyapperuma ECE Department University of New Mexico Ankur Sharma Department of ECE Indian Institute of Technology,
Aggregate sum retrieval in sensor network by distributed prefix sum data cube Lok Hang Lee and Man Hon Wong The Chinese University of Hong Kong Department.
By: Gang Zhou Computer Science Department University of Virginia 1 Medians and Beyond: New Aggregation Techniques for Sensor Networks CS851 Seminar Presentation.
Efficient Resource Allocation for Wireless Multicast De-Nian Yang, Member, IEEE Ming-Syan Chen, Fellow, IEEE IEEE Transactions on Mobile Computing, April.
An Adaptive Zone-based Storage Architecture for Wireless Sensor Networks Thang Nam Le, Dong Xuan and *Wei Yu Department of Computer Science and Engineering,
Saran Jenjaturong, Chalermek Intanagonwiwat Department of Computer Engineering Chulalongkorn University Bangkok, Thailand IEEE CROWNCOM 2008 acceptance.
REED : Robust, Efficient Filtering and Event Detection in Sensor Network Daniel J. Abadi, Samuel Madden, Wolfgang Lindner Proceedings of the 31st VLDB.
Cooperative Location-Sensing for Wireless Networks Charalampos Fretzagias and Maria Papadopouli Department of Computer Science University of North Carolina.
Top-k Queries in Wireless Sensor Networks Amber Faucett, Dr. Longzhuang Li, In today’s world, wireless.
Dynamic Proxy Tree-Based Data Dissemination Schemes for Wireless Sensor Networks Wensheng Zhang, Guohong Cao and Tom La Porta Department of Computer Science.
Distributed Localization Using a Moving Beacon in Wireless Sensor Networks IEEE Transactions on Parallel and Distributed System, Vol. 19, No. 5, May 2008.
TAG: a Tiny AGgregation service for ad-hoc sensor networks Authors: Samuel Madden, Michael J. Franklin, Joseph M. Hellerstein, Wei Hong Presenter: Mingwei.
Distributed database approach,
Aziz Nasridinov and Young-Ho Park*
Net 435: Wireless sensor network (WSN)
Presented by Prashant Duhoon
Spatial Online Sampling and Aggregation
Outline Ganesan, D., Greenstein, B., Estrin, D., Heidemann, J., and Govindan, R. Multiresolution storage and search in sensor networks. Trans. Storage.
Data-Centric Networking
Aggregation.
Survey on Coverage Problems in Wireless Sensor Networks - 2
Presentation transcript:

Dave McKenney 1

 Introduction  Algorithms/Approaches  Tiny Aggregation (TAG)  Synopsis Diffusion (SD)  Tributaries and Deltas (TD)  OPAG  Exact Top-K (EXTOK)  Histogram Incremental Update (HIU)  Distributed Data Cube  Conclusion 2

 What is data aggregation?  Why is it important? 3

 Energy vs. Latency vs. Accuracy 4

 Maintain tree structure  Aggregate at internal nodes 5 [1] S. Madden, M. J. Franklin, J. M. Hellerstein, and W. Hong, “Tag: a tiny aggregation service for ad-hoc sensor networks,” ACM SIGOPS Operating Systems Review, vol. 36, no. SI, pp. 131–146, 2002.

Total Messages: 0

Total Messages: 1 Max Numbers: [5] 5

Total Messages: Max Numbers: [5,7,4] 74

Total Messages: Numbers: [5,7,4,8,9] 47 89

Total Messages: Numbers: [5,7,4,8,9,3,1] Max:

Total Messages: 0

Total Messages: 1 Max 5

Total Messages: 3 Max 74

Total Messages: [7,8,3][4,1,9] 8319

Total Messages: 9 [7,8,3][4,1,9] 89 74

Total Messages: 9 (vs. 13) [5,8,9] Max: 9

17

18

19

AdvantagesDisadvantages Zero estimation error Energy efficient (vs. centralized) Vulnerable to node loss Must maintain tree structure Increased latency 20

 Multipath routing  How to handle duplicate information  Order and Duplicate Insensitive (ODI) Aggregation  Example: Count - Flajolet and Martin [3]  Introduces approximation error 21 [2] S. Nath, P. B. Gibbons, S. Seshan, and Z. R. Anderson, “Synopsis diffusion for robust aggregation in sensor networks,” in Proceedings of the 2nd international conference on Embedded networked sensor systems, 2004, pp. 250–262. [3] P. Flajolet and G. Nigel Martin, “Probabilistic counting algorithms for data base applications,” Journal of Computer and System Sciences, vol. 31, no. 2, pp. 182–209, 1985.

22 Ring 1 Ring 2 Ring 3

23 Ring 1 Ring 2 Ring 3

24 Ring 1 Ring 2 Ring 3

25 Ring 1 Ring 2 Ring 3

26

AdvantagesDisadvantages More robust than TAGApproximation error Increased message size 27

 Combine TAG and SD approaches 28 M-Node T-Node [4] A. Manjhi, S. Nath, and P. B. Gibbons, “Tributaries and deltas: efficient and robust aggregation in sensor network streams,” in Proceedings of the 2005 ACM SIGMOD international conference on Management of data, 2005, pp. 287–298.

 Nodes change based on percent contributing  Expand when % threshold  TD-Coarse  Expand: Switch all possible T nodes to M nodes  Decrease: Switch all possible M nodes to T nodes  TD  Expand: Switch any T node below M node with percentage contributing < threshold  Decrease: Switch M nodes to T node if percent contributing > threshold 29

30

AdvantagesDisadvantages Adapts to network state Increased robustness (vs. TAG) Lower estimation error (vs. SD) Lower error than SD or TAG Increased overhead (switching nodes) Requires network node count 31

32 [5] Z. Chen and K. G. Shin, “OPAG: Opportunistic Data Aggregation in Wireless Sensor Networks,” in 2008 Real-Time Systems Symposium, 2008, pp

33

34

35

AdvantagesDisadvantages Increased robustness (vs. TAG)Increased overhead 36

 Find the top most k elements in the WSN  TAG  Full update every epoch  FILA  Uses filters  approximations  Exact Top-k  Exact result  Partial updates 37 [6] B. Malhotra, M. A. Nascimento, and I. Nikolaidis, “Exact top-k queries in wireless sensor networks,” IEEE Transactions on Knowledge and Data Engineering, vol. 23, no. 10, pp , 2010.

Top-2 5

Top-2 [7][4] 74

[7,8,3][4,1,9] 8319

[7,8,3][4,1,9] 7,84,9 [5,7,8,4,9]Top-2: [8,9] α: 8 74

Top-2: [8,9] α: 8 TM-Node F-Node

Top-2: [8,9] α: 8 TM-Node F-Node 35351212 4747

Top-2: [9,10] α: 9 TM-Node F-Node 7  10 10

Top-2: [9,10] α: 9 TM-Node F-Node

46

AdvantagesDisadvantages Provides exact answer Requires only partial update Unaware if a top-k node dies 47

 TAG Histogram requires complete update  Histogram Incremental Update (HIU)  Sensors update if value leaves previous bin  Nodes store value and previous partial state  Update message – the change in bin count [0,1,2,2,1]  [1,1,1,1,1] = [1,0,-1,-1,0]  Updates may negate each other 48 [7] K. Ammar and M. A. Nascimento, “Histogram and other aggregate queries in wireless sensor networks,” in Proc. of SSDBM, 2011, pp

49 Bins: 0-1, 2-3, [0,1,0] [1,0,0] [0,1,0] [1,0,0] 3301

50 Bins: 0-1, 2-3, [0,1,0] [1,0,0] [0,1,0] [1,0,0] [0,0,1] + [0,1,0] [0,1,0] = [0,2,1] [1,0,0] + [1,0,0] [0,1,0] = [2,1,0] 3301

5 51 Bins: 0-1, 2-3, [0,1,0] [1,0,0] [0,2,1][2,1,0] [0,2,1][2,1,0] [0,2,1] + [2,1,0] + [0,0,1] = [2,3,2] 42

52 Bins: 0-1, 2-3, [0,1,0] [1,0,0] [0,2,1][2,1,0] [2,3,2]

53 Bins: 0-1, 2-3, [0,2,1][2,1,0] [2,3,2] 3131343401011212 [0,1,0]  [1,0,0][0,1,0]  [0,0,1][1,0,0]  [1,0,0][1,0,0]  [0,1,0]

54 Bins: 0-1, 2-3, [0,2,1][2,1,0] [2,3,2] 3131343401011212 [0,1,0]  [1,0,0][0,1,0]  [0,0,1][1,0,0]  [1,0,0][1,0,0]  [0,1,0] [1,-1,0][0,-1,1][-1,1,0] 1412

55 Bins: 0-1, 2-3, [1,-1,0] + [0,-1,1] = [1,-2,1] [-1,1,0] [2,3,2] 3131343401011212 [0,1,0]  [1,0,0][0,1,0]  [0,0,1][1,0,0]  [1,0,0][1,0,0]  [0,1,0] [1,-1,0][0,-1,1][-1,1,0] 1412

56 Bins: 0-1, 2-3, [1,-1,0] + [0,-1,1] = [1,-2,1] [-1,1,0] [2,3,2] + [1,-2,1] + [-1,1,0] = [2,2,3] 3131343401011212 [1,0,0] [0,0,1][1,0,0][0,1,0] [1,-1,0][0,-1,1][-1,1,0] [1,-2,1][-1,1,0] 42

57 Bins: 0-1, 2-3, [1,0,2] [-1,1,0] + [1,-1,0] = [0,0,0] [2,2,3] 12122121 [1,0,0] [0,0,1] [1,0,0]  [0,1,0][0,1,0]  [1,0,0] [-1,1,0][1,-1,0] Cancellation = No Update Required 21

 Other aggregates can be estimated 58

59

AdvantagesDisadvantages Partial updates Possible cancellations Estimate other aggregates |Partial State| = |Histogram| 60

 Solutions so far are for single values  Aims for multiple simultaneous aggregates  Assumes (questionably) a grid topology  See [8] and [9] for details  Uses distributed data cube  Idea taken from database systems 61 [8] D. Wu and M. H. Wong, “Fast and simultaneous data aggregation over multiple regions in wireless sensor networks,” Systems, Man, and Cybernetics, Part C: Applications and Reviews, IEEE Transactions on, vol. 41, no. 3, pp , [9] X. Li, Y. J. Kim, R. Govindan, and W. Hong, “Multi-dimensional range queries in sensor networks,” in Proceedings of the 1st international conference on Embedded networked sensor systems, 2003, pp. 63–75.

– 115 = 337

63

64 Sum(e:f) = pSum(x f,y f ) – pSum(x e – 1, y f ) – pSum(x f, y e – 1) + pSum(x e – 1, y e – 1)

65 Sum(e:f) = pSum(x f,y f ) – pSum(x e – 1, y f ) – pSum(x f, y e – 1) + pSum(x e – 1, y e – 1)

66 Sum(e:f) = pSum(x f,y f ) – pSum(x e – 1, y f ) – pSum(x f, y e – 1) + pSum(x e – 1, y e – 1)

67 Sum(e:f) = pSum(x f,y f ) – pSum(x e – 1, y f ) – pSum(x f, y e – 1) + pSum(x e – 1, y e – 1)

68 Sum(e:f) = pSum(x f,y f ) – pSum(x e – 1, y f ) – pSum(x f, y e – 1) + pSum(x e – 1, y e – 1)

AdvantagesDisadvantages Theoretically fast queries Multiple simultaneous queries Very limiting assumptions Increased overhead/latency No empirical comparison 69

 A number of approaches, each with own tradeoffs  More details and works will be available in the report 70

 [1]S. Madden, M. J. Franklin, J. M. Hellerstein, and W. Hong, “Tag: a tiny aggregation service for ad- hoc sensor networks,” ACM SIGOPS Operating Systems Review, vol. 36, no. SI, pp. 131–146,  [2]S. Nath, P. B. Gibbons, S. Seshan, and Z. R. Anderson, “Synopsis diffusion for robust aggregation in sensor networks,” in Proceedings of the 2nd international conference on Embedded networked sensor systems, 2004, pp. 250–262.  [3]P. Flajolet and G. Nigel Martin, “Probabilistic counting algorithms for data base applications,” Journal of Computer and System Sciences, vol. 31, no. 2, pp. 182–209,  [4]A. Manjhi, S. Nath, and P. B. Gibbons, “Tributaries and deltas: efficient and robust aggregation in sensor network streams,” in Proceedings of the 2005 ACM SIGMOD international conference on Management of data, 2005, pp. 287–298.  [5]Z. Chen and K. G. Shin, “OPAG: Opportunistic Data Aggregation in Wireless Sensor Networks,” in 2008 Real-Time Systems Symposium, 2008, pp  [6]B. Malhotra, M. A. Nascimento, and I. Nikolaidis, “Exact top-k queries in wireless sensor networks,” IEEE Transactions on Knowledge and Data Engineering, vol. 23, no. 10, pp ,  [7]K. Ammar and M. A. Nascimento, “Histogram and other aggregate queries in wireless sensor networks,” in Proc. of SSDBM, 2011, pp  [8]D. Wu and M. H. Wong, “Fast and simultaneous data aggregation over multiple regions in wireless sensor networks,” Systems, Man, and Cybernetics, Part C: Applications and Reviews, IEEE Transactions on, vol. 41, no. 3, pp ,  [9] X. Li, Y. J. Kim, R. Govindan, and W. Hong, “Multi-dimensional range queries in sensor networks,” in Proceedings of the 1st international conference on Embedded networked sensor systems, 2003, pp. 63–

 A prefix-sum (PS) cube is a cube (or grid in this case) in which an entry summarizes the aggregate sum of all values above and to the left of the grid entry. Using the prefix-sum values, a sum aggregate can then be easily calculated for a specified region using certain values bordering the defined region. Fill in the PS data-cube below and calculate the aggregate sum for the rectangular region (x=2,y=1):(x=3,y=3). 72

 A prefix-sum (PS) cube is a cube (or grid in this case) in which an entry summarizes the aggregate sum of all values above and to the left of the grid entry. Using the prefix-sum values, a sum aggregate can then be easily calculated for a specified region using certain values bordering the defined region. Fill in the PS data-cube below and calculate the aggregate sum for the rectangular region (x=2,y=1):(x=3,y=3). 73 Sum(x=2,y=1:x=3,y=3) = 648 – 302 – = 267

 Using the Histogram Incremental Update (HIU) aggregation algorithm, leaf nodes propagate changes in their local histogram by sending update messages to their parent (if required). These changes are locally aggregated at internal nodes and continuously moved up the tree until they reach the root node, which can then determine the overall network histogram. Show the update messages sent using the HIU algorithm if the values change as specified. 74 Bins: 0-1, 2-3, 13134342121121

 Using the Histogram Incremental Update (HIU) aggregation algorithm, leaf nodes propagate changes in their local histogram by sending update messages to their parent (if required). These changes are locally aggregated at internal nodes and continuously moved up the tree until they reach the root node, which can then determine the overall network histogram. Show the update messages sent using the HIU algorithm if the values change as specified. 75 Bins: 0-1, 2-3, 131343421211212 [0,1,0]  [1,0,0][0,1,0]  [0,0,1][0,1,0]  [1,0,0][1,0,0]  [0,1,0] [1,-1,0][0,-1,1][1,-1,0][-1,1,0] [1,-1,0] + [0,-1,1] = [1,-2,1] [1,-2,1] [-1,1,0] + [1,-1,0] = [0,0,0] Update messages in red.

 When calculating the EXACT top-k aggregate for a tree, temporal monitoring (TM) nodes are required to update the root every time their sensor value changes, while filtering (F) nodes are only required to send an update when they violate a filter value (essentially the same idea as a threshold). Identify the F and TM nodes in the tree on the left after top-2 is executed. Identify which nodes are required to send an update to the sink in the tree on the right 737 9  10 79794646

TM-Node F-Node 3737 9  10 79794646  When calculating the EXACT top-k aggregate for a tree, temporal monitoring (TM) nodes are required to update the root every time their sensor value changes, while filtering (F) nodes are only required to send an update when they violate a filter value (essentially the same idea as a threshold). Identify the F and TM nodes in the tree on the left after top-2 is executed. Identify which nodes are required to send an update to the sink in the tree on the right.

TM-Node F-Node 3737 9  10 79794646 Updates

Thank you! 79