DATA AGGREGATION Siddhartha Sarkar Roll no: 13000111128 CSE-4 th Year-7 th semester Sensor Networks (CS 704D) Assignment.

Slides:



Advertisements
Similar presentations
6LoWPAN Extending IP to Low-Power WPAN 1 By: Shadi Janansefat CS441 Dr. Kemal Akkaya Fall 2011.
Advertisements

HIERARCHY REFERENCING TIME SYNCHRONIZATION PROTOCOL Prepared by : Sunny Kr. Lohani, Roll – 16 Sem – 7, Dept. of Comp. Sc. & Engg.
CLUSTERING IN WIRELESS SENSOR NETWORKS B Y K ALYAN S ASIDHAR.
Introduction to Wireless Sensor Networks
Sec-TEEN: Secure Threshold sensitive Energy Efficient sensor Network protocol Ibrahim Alkhori, Tamer Abukhalil & Abdel-shakour A. Abuznied Department of.
Presented By- Sayandeep Mitra TH SEMESTER Sensor Networks(CS 704D) Assignment.
1 Distributed Adaptive Sampling, Forwarding, and Routing Algorithms for Wireless Visual Sensor Networks Johnsen Kho, Long Tran-Thanh, Alex Rogers, Nicholas.
1 Sensor Network Databases Ref: Wireless sensor networks---An information processing approach Feng Zhao and Leonidas Guibas (chapter 6)
A Novel Cluster-based Routing Protocol with Extending Lifetime for Wireless Sensor Networks Slides by Alex Papadimitriou.
SYNOPSIS DIFFUSION For Robust Aggregation in Sensor Networks Suman Nath, Phillip B. Gibbons, Srinivasan Seshan, Zachary R. Anderson Presented by Xander.
1-1 CMPE 259 Sensor Networks Katia Obraczka Winter 2005 Transport Protocols.
A Data Fusion Approach for Power Saving in Wireless Sensor Networks Reporter : Chi-You Chen.
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.
Aggregation in Sensor Networks NEST Weekly Meeting Sam Madden Rob Szewczyk 10/4/01.
A Hierarchical Energy-Efficient Framework for Data Aggregation in Wireless Sensor Networks IEEE TRANSACTIONS ON VEHICULAR TECHNOLOGY, VOL. 55, NO. 3, MAY.
Matching Data Dissemination Algorithms to Application Requirements John Heidermann, Fabio Silva, Deborah Estrin Presented by Cuong Le (CPSC538A)
LPT for Data Aggregation in Wireless Sensor networks Marc Lee and Vincent W.S Wong Department of Electrical and Computer Engineering, University of British.
Extending Network Lifetime for Precision-Constrained Data Aggregation in Wireless Sensor Networks Xueyan Tang School of Computer Engineering Nanyang Technological.
Online Data Gathering for Maximizing Network Lifetime in Sensor Networks IEEE transactions on Mobile Computing Weifa Liang, YuZhen Liu.
Wireless Distributed Sensor Networks Special Thanks to: Jasvinder Singh Hitesh Nama.
Xingbo Yu ()ICS280sensors Winter 2005 Tributaries and Deltas: Efficient and Robust Aggregation in Sensor Networks A.ManJhi, S. Nath P. Gibbons CMU.
CS 580S Sensor Networks and Systems Professor Kyoung Don Kang Lecture 7 February 13, 2006.
TAG: A TINY AGGREGATION SERVICE FOR AD-HOC SENSOR NETWORKS Presented by Akash Kapoor SAMUEL MADDEN, MICHAEL J. FRANKLIN, JOSEPH HELLERSTEIN, AND WEI HONG.
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.
LPT for Data Aggregation in Wireless Sensor Networks Marc Lee and Vincent W.S. Wong Department of Electrical and Computer Engineering, University of British.
March 6th, 2008Andrew Ofstad ECE 256, Spring 2008 TAG: a Tiny Aggregation Service for Ad-Hoc Sensor Networks Samuel Madden, Michael J. Franklin, Joseph.
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,
TAG: a Tiny Aggregation Service for Ad-Hoc Sensor Networks Authors: Samuel Madden, Michael Franklin, Joseph Hellerstein Presented by: Vikas Motwani CSE.
1 TAG: A Tiny Aggregation Service for Ad-Hoc Sensor Networks Samuel Madden UC Berkeley with Michael Franklin, Joseph Hellerstein, and Wei Hong December.
COMPUTING AGGREGATES FOR MONITORING WIRELESS SENSOR NETWORKS Jerry Zhao, Ramesh Govindan, Deborah Estrin Presented by Hiren Shah.
RELAX : An Energy Efficient Multipath Routing Protocol for Wireless Sensor Networks Bashir Yahya, Jalel Ben-Othman University of Versailles, France ICC.
Benjamin AraiUniversity of California, Riverside Reliable Hierarchical Data Storage in Sensor Networks Song Lin – Benjamin.
Query Processing for Sensor Networks Yong Yao and Johannes Gehrke (Presentation: Anne Denton March 8, 2003)
Lan F.Akyildiz,Weilian Su, Erdal Cayirci,and Yogesh sankarasubramaniam IEEE Communications Magazine 2002 Speaker:earl A Survey on Sensor Networks.
REED: Robust, Efficient Filtering and Event Detection in Sensor Networks Daniel Abadi, Samuel Madden, Wolfgang Lindner MIT United States VLDB 2005.
1 REED: Robust, Efficient Filtering and Event Detection in Sensor Networks Daniel Abadi, Samuel Madden, Wolfgang Lindner MIT United States VLDB 2005.
Communication Support for Location- Centric Collaborative Signal Processing in Sensor Networks Parmesh Ramanathan University of Wisconsin, Madison Acknowledgements:K.-C.
Computer Networks Dr. Jorge A. Cobb The Performance of Query Control Schemes for the Zone Routing Protocol.
When processing is cheaper than transmitting Daniel V Uhlig Maryam Rahmaniheris 1.
Data Collection and Dissemination. Learning Objectives Understand Trickle – an data dissemination protocol for WSNs Understand data collection protocols.
CountTorrent: Ubiquitous Access to Query Aggregates in Dynamic and Mobile Sensor Networks Abhinav Kamra, Vishal Misra and Dan Rubenstein - Columbia University.
3/14/2005 CS851: Data Services for Advanced System Applications 1 DFuse: A Framework for Distributed Data Fusion Rajnish Kumar, Matthew Wolenetz, Bikash.
Maximizing the lifetime of WSN using VBS Yaxiong Zhao and Jie Wu Computer and Information Sciences Temple University.
KAIS T Distributed cross-layer scheduling for In-network sensor query processing PERCOM (THU) Lee Cheol-Ki Network & Security Lab.
Opportunistic Flooding in Low-Duty- Cycle Wireless Sensor Networks with Unreliable Links Shuo Goo, Yu Gu, Bo Jiang and Tian He University of Minnesota,
Tufts Wireless Laboratory School Of Engineering Tufts University Paper Review “An Energy Efficient Multipath Routing Protocol for Wireless Sensor Networks”,
A Dynamic Query-tree Energy Balancing Protocol for Sensor Networks H. Yang, F. Ye, and B. Sikdar Department of Electrical, Computer and systems Engineering.
Energy-Aware Data-Centric Routing in Microsensor Networks Azzedine Boukerche SITE, University of Ottawa, Canada Xiuzhen Cheng, Joseph Linus Dept. of Computer.
By: Gang Zhou Computer Science Department University of Virginia 1 Medians and Beyond: New Aggregation Techniques for Sensor Networks CS851 Seminar Presentation.
Aggregation and Secure Aggregation. Learning Objectives Understand why we need aggregation in WSNs Understand aggregation protocols in WSNs Understand.
An Adaptive Zone-based Storage Architecture for Wireless Sensor Networks Thang Nam Le, Dong Xuan and *Wei Yu Department of Computer Science and Engineering,
An Enhanced Cross-Layer Protocol for Energy Efficiency in Wireless Sensor Networks Jaehyun Kim, Dept. of Electrical & Electronic Eng., Yonsei University;
FERMA: An Efficient Geocasting Protocol for Wireless Sensor Networks with Multiple Target Regions Young-Mi Song, Sung-Hee Lee and Young- Bae Ko Ajou University.
Fair and Efficient multihop Scheduling Algorithm for IEEE BWA Systems Daehyon Kim and Aura Ganz International Conference on Broadband Networks 2005.
TreeCast: A Stateless Addressing and Routing Architecture for Sensor Networks Santashil PalChaudhuri, Shu Du, Ami K. Saha, and David B. Johnson Department.
Toward Reliable and Efficient Reporting in Wireless Sensor Networks Authors: Fatma Bouabdallah Nizar Bouabdallah Raouf Boutaba.
Aggregation and Secure Aggregation. [Aggre_1] Section 12 Why do we need Aggregation? Sensor networks – Event-based Systems Example Query: –What is the.
Building Wireless Efficient Sensor Networks with Low-Level Naming J. Heihmann, F.Silva, C. Intanagonwiwat, R.Govindan, D. Estrin, D. Ganesan Presentation.
Wireless Access and Networking Technology (WANT) Lab. An Efficient Data Aggregation Approach for Large Scale Wireless Sensor Networks Globecom 2010 Lutful.
KAIS T Location-Aided Flooding: An Energy-Efficient Data Dissemination Protocol for Wireless Sensor Networks Harshavardhan Sabbineni and Krishnendu Chakrabarty.
TAG: a Tiny AGgregation service for ad-hoc sensor networks Authors: Samuel Madden, Michael J. Franklin, Joseph M. Hellerstein, Wei Hong Presenter: Mingwei.
Introduction to Wireless Sensor Networks
Distributed database approach,
Wireless Sensor Network Architectures
Introduction to Wireless Sensor Networks
Data-Centric Networking
Minimizing Broadcast Latency and Redundancy in Ad Hoc Networks
Aggregation.
Presentation transcript:

DATA AGGREGATION Siddhartha Sarkar Roll no: CSE-4 th Year-7 th semester Sensor Networks (CS 704D) Assignment

OVERVIEW  Introduction  Basic Idea  Why Data Aggregation in WSN?  What is Aggregation?  System Model  Data Aggregation Process  Tiny Aggregation  System Diffusion  Energy consumption  Aggregation Queries  Secure Aggregation  Conclusion

WSN nodes perform sensing of a physical environment. The sensed data from multiple sources is collectively used to make inferences.  Large amount of raw data  Correlated data Communication in the network is significantly reduced by:  Elimination of redundant data  Accumulation and processing at intermediate nodes INTRODUCTIONINTRODUCTION

To exploit the data redundancy Packets from different nodes, are combined in – network. Implementation Who carries the data with redundancy Data-centric routing Differences Based on contents of the packets. Address-centric routing Routing based on an end-to-end manner.

What is Aggregation?

 Communication is the most energy consuming functionality  Energy consumed in transmitting one bit over 100m 1000× Energy consumed per instruction execution  Efficient bandwidth utilization Why Data Aggregation in WSN? – I

Cost of computing an aggregate such as AVERAGE on a binary tree: Message count per query response without aggregation in a binary tree of depth d: S = 2( : : : + d 2d-1) S = 2( : : : + d 2d-1) = (d - 1)2d N lgN; = (d - 1)2d N lgN; N is the number of nodes. In general, S grows as N logb N, b is the branching factor. Why Data Aggregation in WSN? - II

Message count if aggregation is used : N Message count if aggregation is not used : Nlogb N Why Data Aggregation in WSN? - II

System Model Tree with N nodes and a sink. Tree with N nodes and a sink. Time-slotted and synchronized network. Time-slotted and synchronized network. Aggregated event data needs to reach sink within a deadline. Aggregated event data needs to reach sink within a deadline. Arbitrary set of source nodes. Arbitrary set of source nodes. Sink requires aggregated form of data: Sink requires aggregated form of data: Symmetric Functions – f(x, y) = f(y, x). Symmetric Functions – f(x, y) = f(y, x). Function value does not depend on sensor Function value does not depend on sensor identity. identity. Aggregation functions supported – MIN, MAX, Aggregation functions supported – MIN, MAX, Sum, Mean, Variance, Higher order statistics etc. Sum, Mean, Variance, Higher order statistics etc.

There are several aggregation techniques followed in Wireless Sensor Network, Such as  Tree based Aggregation  In network Aggregation

Data Aggregation Process Sensor nodes are organized into a tree hierarchy rooted at the Base Station Non-leaf nodes act as the aggregators

Tiny Aggregation Distribution phase Aggregate queries are pushed down into the network Collection phase Aggregate values are continuously routed up from children to parents

Routing: via a tree rooted at the sink. Routing tree formation Routing: via a tree rooted at the sink. Routing tree formation algorithm (invoked periodically): algorithm (invoked periodically): Do upon receiving message M(n; l) from node n at Do upon receiving message M(n; l) from node n at level l level l if this node's level > l + 1 this node's level = l + 1 this node's level = l + 1 this node's parent = n broadcast M(this node's id, l + 1) broadcast M(this node's id, l + 1) Detection of a leaf node n0: n0 does not hear any message of the Detection of a leaf node n0: n0 does not hear any message of the form M(n’,.) form M(n’,.) Tiny Aggregation (TAG)

Query Model:  Single table called sensors  Append-only relational tabl e  One attribute per sensing functionality Form of queries: SELECT {agg(expr), attrs} FROM sensors WHERE {selPreds} WHERE {selPreds} GROUP BY {attrs} GROUP BY {attrs} HAVING {havingPreds} HAVING {havingPreds} EPOCH DURATION i EPOCH DURATION iExample: SELECT {MAX(temperature),building} FROM sensors WHERE block = ALL WHERE block = ALL GROUP BY building GROUP BY building HAVING MAX(temperature) > 100 HAVING MAX(temperature) > 100 EPOCH DURATION 60s EPOCH DURATION 60s Tiny Aggregation (TAG)-II

The aggregation clause:  An initializer i  A merging function f  An evaluator e The aggregated record = f(, ), where and are partial records. Example: AVERAGE A partial record is the tuple A partial record is the tuple i SUM) = i SUM) = f (, ) =, ) = <SUM1+SUM2,COUNT1+COUNT2> e(SUM, COUNT) = SUM/COUNT. Tiny Aggregation (TAG)-III

A classification of aggregates A classification of aggregates : Tiny Aggregation (TAG)-III

Synopsis Diffusion Motivation: If trees are used for data aggregation, such as in TAG, a link failure leads to loss of data from an entire sub-tree. However, if aggregation of duplicate sensitive aggregates, such as COUNT, is done on a graph, one needs to solve the problem of making the process insensitive to duplicate messages.

 Synopsis is a digest of data  Partial aggregates are represented by synopses  Order and duplicate insensitive (ODI) synopses The aggregation process: Let i denote sensor data, s denote synopsis and a denote the desired aggregate.  Synopsis generation function SG : i s  Synopsis fusion function SF : (s1; s2) s  Synopsis evaluation function SE : s a Synopsis Diffusion

Finding ODI synopses and their fusion functions is the main difficulty. We look at two cases, one trivial and the other not so trivial! Example 1: ODI synopsis for MAX. Let X be the variable. Synopsis : X (the number itself) SG() = Xi SF(Xi; Xj) = The larger of Xi; Xj SE(Xi) = Xi Synopsis Diffusion-II

ODI Correctness Test: A synopsis diffusion algorithm is ODI-correct if SF and SG are order and duplicate-insensitive functions. Synopsis Diffusion-III

ODI Correctness Test A synopsis diffusion algorithm is ODI-correct if SF and SG are order and duplicate-insensitive functions. Define a projection operator q : Multiset of sensor readings ordered set of values.  SG preserves duplicates: 8r1; r2 2 R : q(fr1g) = q(fr2g) ) SG(r1) = SG(r2). The same 8r1; r2 2 R : q(fr1g) = q(fr2g) ) SG(r1) = SG(r2). The same synopsis is generated for all duplicates. synopsis is generated for all duplicates.  SF is commutative: 8s1; s2 2 S : SF(s1; s2) = SF(s2; s1).  SF is associative: 8s1; s2; s3 2 S : SF(s1; SF(s2; s3)) = SF(SF(s1; s2); s3). 8s1; s2; s3 2 S : SF(s1; SF(s2; s3)) = SF(SF(s1; s2); s3).  SF is idempotent: 8s 2 S : SF(s; s) = s. Synopsis Diffusion-III

Energy Consumption

Declarative Queries for Sensor Networks Examples: SELECT Nodeid, light FROM sensors WHERE light > 400 EPOCH DURATION 1s EpochNodeidLightTempAccelSound01455xxx 02389xxx 11422xxx 12405xxx Sensors Time is partitioned into epochs of duration i A single aggregate value is produced to combine the readings of all Time is partitioned into epochs of duration i A single aggregate value is produced to combine the readings of all devices during the epoch devices during the epoch 1

Aggregation Queries SELECT roomNo, AVG(sound) FROM sensors GROUP BY roomNo HAVING AVG(sound) > 200 EPOCH DURATION 10s Rooms w/ sound > SELECT AVG(sound) FROM sensors EPOCH DURATION 10s EpochAVG(sound) EpochroomNoAVG(sound)

Topology Maintenance and Recovery How to address the unreliable nature of WSNs in TAG? Each node maintains a fixed size of its neighbors – Select a better parent node If a node does not hear from its parent for some time, it assumes that its parent has failed

Secure Aggregation

It is challenging to design suitable security mechanisms It is challenging to design suitable security mechanisms for Wireless Sensor Networks (WSNs) for Wireless Sensor Networks (WSNs) ― Stringent resource constraints on energy, processing power, memory, bandwidth, etc. WSNs need lightweight secure mechanisms WSNs need lightweight secure mechanisms We introduce an LCG-based secure aggregation scheme We introduce an LCG-based secure aggregation scheme ― Efficiency and simplicity Secure Aggregation

Wireless Controller Area Network (CAN) Based Prioritized MAC using Bit-wise arbitration o Used in Bosch’s CAN 2.0 o Extended to wireless channel  The highest priority packet gets transmitted first  Compute MAX by using data as the priority  Compute MIN by using complement of data as the priority  Excellent time-complexity for MAX/ MIN in single broadcast domains domains  Limitations for other aggregates

Open Problems Joint aggregation and scheduling problem  Joint aggregation and scheduling problem - Spatio-temporal optimization - Spatio-temporal optimization  Multi-query optimization  Correlated source coding, compressed sensing

Conclusion Data-aggregation leads to bandwidth and energy  Data-aggregation leads to bandwidth and energy efficiency efficiency  Pure flooding is wasteful  Multicast tree with large node degrees is not optimal