T AG : A TINY AGGREGATION SERVICE FOR AD - HOC SENSOR NETWORKS Samuel Madden, Michael J. Franklin, Joseph Hellerstein, and Wei Hong Presented by – Mahanth.

Slides:



Advertisements
Similar presentations
Energy-Efficient Distributed Algorithms for Ad hoc Wireless Networks Gopal Pandurangan Department of Computer Science Purdue University.
Advertisements

1 S4: Small State and Small Stretch Routing for Large Wireless Sensor Networks Yun Mao 2, Feng Wang 1, Lili Qiu 1, Simon S. Lam 1, Jonathan M. Smith 2.
CLUSTERING IN WIRELESS SENSOR NETWORKS B Y K ALYAN S ASIDHAR.
Improvement on LEACH Protocol of Wireless Sensor Network
한국기술교육대학교 컴퓨터 공학 김홍연 TinyDB : An Acquisitional Query Processing System for Sensor Networks. - Samuel R. Madden, Michael J. Franklin, Joseph M. Hellerstein,
1 Routing Techniques in Wireless Sensor networks: A Survey.
1 Sensor Network Databases Ref: Wireless sensor networks---An information processing approach Feng Zhao and Leonidas Guibas (chapter 6)
David Chu--UC Berkeley Amol Deshpande--University of Maryland Joseph M. Hellerstein--UC Berkeley Intel Research Berkeley Wei Hong--Arched Rock Corp. Approximate.
Monday, June 01, 2015 ARRIVE: Algorithm for Robust Routing in Volatile Environments 1 NEST Retreat, Lake Tahoe, June
Approximating Sensor Network Queries Using In-Network Summaries Alexandra Meliou Carlos Guestrin Joseph Hellerstein.
DNA Research Group 1 CountTorrent: Ubiquitous Access to Query Aggregates in Dynamic and Mobile Sensor Networks Abhinav Kamra, Vishal Misra and Dan Rubenstein.
1 Supporting Aggregate Queries Over Ad-Hoc Wireless Sensor Networks Samuel Madden UC Berkeley With Robert Szewczyk, Michael Franklin, and David Culler.
Scaling Down Robert Grimm New York University. Scaling Down in One Slide  Target devices (roughly)  Small form factor  Battery operated  Wireless.
The Cougar Approach to In-Network Query Processing in Sensor Networks By Yong Yao and Johannes Gehrke Cornell University Presented by Penelope Brooks.
Tributaries and Deltas: Efficient and Robust Aggregation in Sensor Network Streams Amit Manjhi, Suman Nath, Phillip B. Gibbons Carnegie Mellon University.
A Survey of Wireless Sensor Network Data Collection Schemes by Brett Wilson.
Taming the Underlying Challenges of Reliable Multihop Routing in Sensor Networks.
Aggregate Query Processing in Ad-Hoc Sensor Networks Yong Yao Database lunch, Apr. 15th.
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.
Routing Algorithm for Large Data Sensor Networks Raghul Gunasekaran Group Meeting Spring 2006.
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.
IPCCC’111 Assessing the Comparative Effectiveness of Map Construction Protocols in Wireless Sensor Networks Abdelmajid Khelil, Hanbin Chang, Neeraj Suri.
Gathering Data in Wireless Sensor Networks Madhu K. Jayaprakash.
2015/10/1 A color-theory-based energy efficient routing algorithm for mobile wireless sensor networks Tai-Jung Chang, Kuochen Wang, Yi-Ling Hsieh Department.
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.
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.
Trust- and Clustering-Based Authentication Service in Mobile Ad Hoc Networks Presented by Edith Ngai 28 October 2003.
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.
Multi-Criteria Routing in Pervasive Environment with Sensors Santhanakrishnan, G., Li, Q., Beaver, J., Chrysanthis, P.K., Amer, A. and Labrinidis, A Department.
Dave McKenney 1.  Introduction  Algorithms/Approaches  Tiny Aggregation (TAG)  Synopsis Diffusion (SD)  Tributaries and Deltas (TD)  OPAG  Exact.
Secure Routing in Wireless Sensor Networks: Attacks and Countermeasures Chris Karlof and David Wagner (modified by Sarjana Singh)
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.
DATA AGGREGATION Siddhartha Sarkar Roll no: CSE-4 th Year-7 th semester Sensor Networks (CS 704D) Assignment.
When processing is cheaper than transmitting Daniel V Uhlig Maryam Rahmaniheris 1.
CountTorrent: Ubiquitous Access to Query Aggregates in Dynamic and Mobile Sensor Networks Abhinav Kamra, Vishal Misra and Dan Rubenstein - Columbia University.
KAIS T Distributed cross-layer scheduling for In-network sensor query processing PERCOM (THU) Lee Cheol-Ki Network & Security Lab.
Dr. Sudharman K. Jayaweera and Amila Kariyapperuma ECE Department University of New Mexico Ankur Sharma Department of ECE Indian Institute of Technology,
Multi-channel Wireless Sensor Network MAC protocol based on dynamic route.
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.
W. Hong & S. Madden – Implementation and Research Issues in Query Processing for Wireless Sensor Networks, ICDE 2004.
Energy-Efficient Protocol for Cooperative Networks.
TreeCast: A Stateless Addressing and Routing Architecture for Sensor Networks Santashil PalChaudhuri, Shu Du, Ami K. Saha, and David B. Johnson Department.
REED : Robust, Efficient Filtering and Event Detection in Sensor Network Daniel J. Abadi, Samuel Madden, Wolfgang Lindner Proceedings of the 31st VLDB.
Aggregation and Secure Aggregation. [Aggre_1] Section 12 Why do we need Aggregation? Sensor networks – Event-based Systems Example Query: –What is the.
Sep Multiple Query Optimization for Wireless Sensor Networks Shili Xiang Hock Beng Lim Kian-Lee Tan (ICDE 2007) Presented by Shan Bai.
Directed Diffusion: A Scalable and Robust Communication Paradigm for Sensor Networks Presented by Barath Raghavan.
Wireless Access and Networking Technology (WANT) Lab. An Efficient Data Aggregation Approach for Large Scale Wireless Sensor Networks Globecom 2010 Lutful.
The Design of an Acquisitional Query Processor For Sensor Networks Samuel Madden, Michael J. Franklin, Joseph M. Hellerstein, and Wei Hong Presentation.
MAC Protocols for Sensor Networks
How to minimize energy consumption of Sensors in WSN Dileep Kumar HMCL 30 th Jan, 2015.
TAG: a Tiny AGgregation service for ad-hoc sensor networks Authors: Samuel Madden, Michael J. Franklin, Joseph M. Hellerstein, Wei Hong Presenter: Mingwei.
MAC Protocols for Sensor Networks
Demetrios Zeinalipour-Yazti (Univ. of Cyprus)
Distributed database approach,
Net 435: Wireless sensor network (WSN)
The Design of an Acquisitional Query Processor For Sensor Networks
Distributing Queries Over Low Power Sensor Networks
Yao-Chung Fan Multimedia and Knowledge Engineering Lab
Data-Centric Networking
Routing.
Aggregation.
Presentation transcript:

T AG : A TINY AGGREGATION SERVICE FOR AD - HOC SENSOR NETWORKS Samuel Madden, Michael J. Franklin, Joseph Hellerstein, and Wei Hong Presented by – Mahanth Gowda (Some pictures are adopted from paper)

W IRELESS S ENSOR N ETWORKS (WSN) Wireless sensor networks consists of nodes having the ability to 1. sense the environment 2. compute 3. communicate Applications include Military, surveillance, temperature, monitoring, medical health monitoring

E NERGY E FFICIENCY Sensor nodes are battery operated, hence conserving power becomes a very important problem

O PPORTUNITY - C OMPUTATION C OMMUNICATION T RADEOFF Communicating 1 bit of data is equivalent to executing 800 instructions Computation is always preferable over communication

TAG PRINCIPLE Process data inside the network, instead of communicating all the way to the base-station and then processing it The process of compressing the data by processing it in-network is called aggregation This reduces communication overhead dramatically at the cost of computation, which is relatively cheaper

O UTLINE Query Model Aggregation Process Aggregate structures Optimizations and Performance results Conclusion

QUERY MODEL

SQL style query model Single table called sensors over a distributed database formed by motes Eases programming, users need not worry about low level details  Think about what to do, not how to do Amenable to incorporation of optimization techniques from parallel/distributed databases TemperatureLocationSound Volume 20 deg C 35 deg C 25 deg C Room 1 Room 2 Room 3 80 db 20 db 40 db Sensors

Q UERY EXAMPLE Monitor occupancy of rooms in 6 th floor of building :- SELECT AVG(volume), room FROM sensors WHERE floor = 6 GROUP BY room HAVING AVG(VOLUME) > threshold EPOCH DURATION 30s

E POCH Observe that the query contains an Epoch parameter. It specifies the periodicity with which sensor updates need to come to the root Epochs form the main difference between TAG query and SQL query A lower bound exists on the epoch duration because of sensing and communication limitations

NETWORK AGGREGATION

T REE B ASED R OUTING Nodes organize themselves into different levels of a tree Data is routed to the root by following a path of parents A BC D F E A BC D E F Network Tree Structure

Queries are issued to the nodes:- SELECT MIN TEMP from SENSORS In-network processing to collect aggregate values E XAMPLE : CENTRALIZED MIN? MIN TEMP? 5 MIN? MIN = 1 5 Number of Messages = 12

Distribution phase :- SELECT MIN TEMP from SENSORS Collection Phase :- E XAMPLE : AGGREGATION MIN? MIN TEMP? 5 MIN? MIN =4 MIN =1 MIN = 1 MIN = 1 5 Number of Messages = 6

O THER R OUTING A LGORITHMS TAG operates on the top of routing layer Requirements of a routing algorithm are :- Ability to delivery query requests to all nodes in a network Ability to route from any node to the root

F LOW OF PARTIAL STATE Partial Aggregates flow up the tree during an Epoch A node transitions through following states – Receive partial records from children – Process aggregates by combining own information – Deliver updated partial record to the parent Synchronization schemes help nodes be idle for rest of the time, thereby saving energy

G ROUPING Grouping introduces storage problems when number of groups exceed available storage Group eviction schemes introduced to manage storage Base-station combines partial groups to form accurate aggregate value

AGGREGATE STRUCTURE

SQL supports “basic 5” MIN, MAX, SUM, AVERAGE, and COUNT TAG facilitates any function that can be expressed using Initializer:- Initializes a state from single sensor value Merging function :- Combines partial states Evaluator :- Evaluates aggregate from states

A GGREGATION E XAMPLE Averaging.. Initializer: i(x) = (state = ) Evaluator: e( ) = S/C Merging Function: f(, ) = Other aggregate functions like MEDIAN, HISTOGRAM, UNIQUE also supported

C LASSIFICATION OF A GGREGATES Duplicate Sensitive:- Duplicates will affect aggregates Exemplary/Summary:- MAX is Exemplary, AVG is summary Monotonic :- The evaluation function increases/decreases monotonically over the levels of the tree Partial States :- Distributive aggregates – size of partial records same as aggregate Algebraic Aggregates – size of partial records is a constant Holistic aggregates – size of partial record is proportional to size of the data (unlikely to benefit from aggregation) Unique aggregates – state is proportional (unique updates) Context sensitive

C LASSES OF AGGREGATES

PERFORMANCE RESULTS AND OPTIMIZATIONS

E VALUATION Simulation setup Environment set up in Java Time is divided into epochs and nodes can send/receive messages during an epoch Connectivity based on geographic distances Grid Topology Three Communication models The Darker, the closer to the root in terms of radio hops

P ERFORMANCE OF TAG Orders of magnitude improvement Count and MIN perform best because only one integer is communicated (distributive) AVERAGE needs two integers, slightly more expensive (algebraic) MEDIAN does not benefit from aggregation (holistic)

O PTIMIZATIONS Snooping – Take advantage of broadcast channel – Don’t send if a sensor value doesn’t affect the aggregate result – Example: For MAX If sensor value < Overheard value, suppress sending Hypothesis testing – Ex. For exemplary aggregates like MAX, compute MAX of top k levels and use it to suppress values from other nodes Substantial Difference

L OSS T OLERANCE Reselect parents based on dynamically changing link qualities A new parent is chosen when a link to the parent is broken. Reselection happens after timeout A parent may end up choosing its own child as a parent, in which case the child will select a new parent Percentage error decreases with network diameter because more errors will occur near the leaves of the network

C ACHING RESULTS Caching is used to improve quality of aggregates Old partial records from clients are reported, in case of message failures As the network size increases, since probability of error compounds with number of hops, errors will increase

P ROTOTYPE ON MICA MOTES 16 motes arranged in a depth-4 tree Does not include optimizations Quality of count is better for TAG Number of messages is half of centralized

R ELATED W ORK Centralized query processing In-efficient, results in large data communication Directed Diffusion Puts aggregation APIs in routing layer, users need to think about how to move the data Synopsis diffusion Tree based routing is not robust, but avoids double counting. Proposes energy efficient multipath aggregation that is both robust and prevents double counting Data Cubes Provides formulations for properties of aggregates

D ISCUSSION POINTS Simulation based evaluation Radio contention not modeled, no fine grained model of time Time synchronization Synchronization errors build up with higher number nodes in the system Approximate algorithms for holistic queries like median? Paper does not analyze the effect of stale cache values on results A single failed node inserting corrupt aggregation values might pollute the whole result

C ONCLUSION SQL like declarative language for specifying aggregation queries can make programming easy In network aggregation can decrease communication overhead Optimizations like snooping and hypothesis testing on properties of aggregates is helpful High level language facilitates end to end techniques for reducing the effects of network loss

T HANK YOU