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,

Slides:



Advertisements
Similar presentations
1 Routing Protocols I. 2 Routing Recall: There are two parts to routing IP packets: 1. How to pass a packet from an input interface to the output interface.
Advertisements

SENSOR NETWORKS ECE 654 Irene Ioannou. Sensor networks communication architecture.
한국기술교육대학교 컴퓨터 공학 김홍연 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 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)
Edith C. H. Ngai1, Jiangchuan Liu2, and Michael R. Lyu1
1 University of Freiburg Computer Networks and Telematics Prof. Christian Schindelhauer Wireless Sensor Networks 25th Lecture Christian Schindelhauer.
Monday, June 01, 2015 ARRIVE: Algorithm for Robust Routing in Volatile Environments 1 NEST Retreat, Lake Tahoe, June
Programming Vast Networks of Tiny Devices David Culler University of California, Berkeley Intel Research Berkeley
Directed Diffusion: A Scalable and Robust Communication Paradigm for Sensor Networks.
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.
More routing protocols Alec Woo June 18 th, 2002.
Multiple constraints QoS Routing Given: - a (real time) connection request with specified QoS requirements (e.g., Bdw, Delay, Jitter, packet loss, path.
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.
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.
Taming the Underlying Challenges of Reliable Multihop Routing in Sensor Networks.
Online Data Gathering for Maximizing Network Lifetime in Sensor Networks IEEE transactions on Mobile Computing Weifa Liang, YuZhen Liu.
Aggregate Query Processing in Ad-Hoc Sensor Networks Yong Yao Database lunch, Apr. 15th.
1 Spring Semester 2007, Dept. of Computer Science, Technion Internet Networking recitation #5 Mobile Ad-Hoc Networks TBRPF.
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.
T AG : A TINY AGGREGATION SERVICE FOR AD - HOC SENSOR NETWORKS Samuel Madden, Michael J. Franklin, Joseph Hellerstein, and Wei Hong Presented by – Mahanth.
Presenter: Chi-Hung Lu 1. Problems Distributed applications are hard to validate Distribution of application state across many distinct execution environments.
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.
1 Computer Communication & Networks Lecture 22 Network Layer: Delivery, Forwarding, Routing (contd.)
Ad-hoc On-Demand Distance Vector Routing (AODV) and simulation in network simulator.
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.
Wireless Sensor Networks COE 499 Energy Aware Routing
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.
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.
Dave McKenney 1.  Introduction  Algorithms/Approaches  Tiny Aggregation (TAG)  Synopsis Diffusion (SD)  Tributaries and Deltas (TD)  OPAG  Exact.
Load-Balancing Routing in Multichannel Hybrid Wireless Networks With Single Network Interface So, J.; Vaidya, N. H.; Vehicular Technology, IEEE Transactions.
Presentation of Wireless sensor network A New Energy Aware Routing Protocol for Wireless Multimedia Sensor Networks Supporting QoS 王 文 毅
Communication Paradigm for Sensor Networks Sensor Networks Sensor Networks Directed Diffusion Directed Diffusion SPIN SPIN Ishan Banerjee
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.
Multi-channel Wireless Sensor Network MAC protocol based on dynamic route.
Tufts Wireless Laboratory School Of Engineering Tufts University Paper Review “An Energy Efficient Multipath Routing Protocol for Wireless Sensor Networks”,
Intro DSR AODV OLSR TRBPF Comp Concl 4/12/03 Jon KolstadAndreas Lundin CS Ad-Hoc Routing in Wireless Mobile Networks DSR AODV OLSR TBRPF.
a/b/g Networks Routing Herbert Rubens Slides taken from UIUC Wireless Networking Group.
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.
Self-stabilizing energy-efficient multicast for MANETs.
TreeCast: A Stateless Addressing and Routing Architecture for Sensor Networks Santashil PalChaudhuri, Shu Du, Ami K. Saha, and David B. Johnson Department.
Aggregation and Secure Aggregation. [Aggre_1] Section 12 Why do we need Aggregation? Sensor networks – Event-based Systems Example Query: –What is the.
Directed Diffusion: A Scalable and Robust Communication Paradigm for Sensor Networks Presented by Barath Raghavan.
MAC Protocols for Sensor Networks
TAG: a Tiny AGgregation service for ad-hoc sensor networks Authors: Samuel Madden, Michael J. Franklin, Joseph M. Hellerstein, Wei Hong Presenter: Mingwei.
Yong Yao Johannes Gehrke Jie Li Nov. 20, 2008 CS662 Paper Presentation.
MAC Protocols for Sensor Networks
SmartGossip: A Reliable Broadcast Service for Wireless Sensor Networks
Introduction to Wireless Sensor Networks
Distributed database approach,
A comparison of Ad-Hoc Routing Protocols
Sensor Network Routing
The Design of an Acquisitional Query Processor For Sensor Networks
Distributing Queries Over Low Power Sensor Networks
Data-Centric Networking
Aggregation.
Virtual LAN (VLAN).
Presentation transcript:

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, Michael J Franklin, Joseph M Hellerstein, Wei Hong

2 TAG - Motivation Sensor Networks used for monitoring in various fields Civil engineers to monitor buildings during earthquakes Biologists for habitat monitoring People prefer summary reports not individual values Aggregation common to all these applications! Must be a core service and easy to use. TAG fills this void

3 Before TAG Centralized approach Transfer everything to base station No suppression – high energy usage, traffic Directed Diffusion Viewed aggregation as a application-specific operation Aggregation API in routing layer No declarative query language like TAG Not for any generic aggregation operators

4 What is TAG Tiny Aggregation for Sensor Networks SQL – like interface eg. Min, Max, Count Sensitive to constraints of ad-hoc sensor networks Query inserted into network over an existing routing protocol Aggregation done along the reverse path Combines the research in networking community with database community

5 DBMS in a nutshell Select max(wins), team from Basketballwins Where year=‘2002’ Group by tournament TeamYearWinsTournament Duke200225ACC Duke200335NCAA UNC200220ACC UNC200325NCAA

6 DataBase Management SystemHigh-level Query Q DBMS Data Answer Translates Q into best execution plan for current conditions, runs plan Keeps data safe and correct despite failures, concurrent updates, online processing, etc.

7 Data Streams User/Application Register Continuous Query (Standing Query) Stream Query Processor Input streams Result

8 What can DBMS offer for Sensor Networks?? Express aggregation as SQL Specify what you want. Not how to get Users need not write low level programming language code!!! Less bugs Don’t worry about optimization Techniques from parallel/distributed db Sensor network is a stream of sensor readings to base station

9 Query Model One Table : sensors SELECT AVG(volume), room FROM sensors WHERE floor = 6 GROUP BY room HAVING AVG(VOLUME) > threshold EPOCH DURATION 30s In general SELECT {agg(expr), attrs} FROM sensors WHERE {selPreds} GROUP BY {attrs} HAVING{havingPreds} EPOCH DURATION I Difference between TAG & SQL : Continuous Output

10 Aggregate Structure Standard SQL supports “the basic 5”: MIN, MAX, SUM, AVERAGE, and COUNT TAG supports any function conforming to Initializer i: Instantiates a record for a single sensor value Merging function f. Merges two partial state records Evaluator e: Computes the actual value of the aggregate from a partial state record Example - average i{v}  f{, }  e{ }  S1/C1 TAG supports MEDIAN, HISTOGRAM and COUNT DISTINCT also

11 Classifying Aggregates Duplicate Sensitive (yes/no) Exemplary/Summary Monotonic s’ = f(a,b) e(s’) >= MAX(e(s1),e(s2)) OR e(s’) <= MIN(e(s1),e(s2)) Decides whether predicate can be applied in network Partial State Distributive (partial state’s size same as final aggregate) Algebraic (partial states are not themselves aggregate) Holistic (No useful partial aggregation) Unique Content Sensitive

12 Aggregate Taxonomy

13 Requirements of the Routing Algorithm Deliver Query requests to all nodes Route from every node to root No Duplicates ! (Affects some aggregates like count, avg) Does it violate the end-to-end principle? A simple example proposed : tree based routing

14 Tree Based Routing One root Any interior node sets sender as parent and sets its level to that of parent + 1 Rebroadcasts Message sent by node to its parent eventually reaches root Reselect parent after k silent epochs Query P:0, L: P:1, L:2 P:3, L:3 P:2, L:3 P:4, L:4

15 The TAG Algorithm 2 Phases Distribution: Queries are pushed down the network. Parents broadcast queries to their children Collection: Aggregate values continuously sent from children to parents Reply from all children required before forwarding an aggregate value TDMA like partitioning Children must deliver records during a parent-specified time interval Parent collects all values (including its own) and sends the aggregate up the tree

16 Flow of partial State Parent reception interval must be chosen carefully All children must be able to report Cannot exceed end of epoch However we can always make the algorithm pipelined

17 Pipelined Aggregation Sensor # Epoch # Epoch 3 SELECT COUNT(*) FROM sensors

18 Pipelined Aggregation Sensor # Epoch # Epoch 4 SELECT COUNT(*) FROM sensors

19 Pipelined Aggregation Sensor # Epoch # Epoch 5 SELECT COUNT(*) FROM sensors

20 Grouping  Simple aggregation mechanism  Complicated by HAVING clause  Group eviction to solve storage problem  Evicted tenant sent to parent

21 Simulation Environment Java-based simulation & visualization for validating algorithms, collecting data. Sensors arranged on a grid, radio connectivity by Euclidian distance Communication model Lossless: All neighbors hear all messages Symmetric links No collisions, hidden terminals, etc. Realistic Number of hops related to distance but not proportional

22 Simulation Results 2500 nodes, d=50 TAG outperforms centralized approach by an order of magnitude in most cases Does equally well in the worst case Actual benefit depends on the topology

23 Optimizations Snooping Overhear packets – can initiate aggregation if missed Can also be used for suppression! Hypothesis testing Guess the value of aggregate & suppress Send only if current val > MAX Can be applied to a variety of aggregates such as MAX

24 Experiment: Hypothesis Testing Uniform Value Distribution, MAX Query

25 TAG Loss Tolerance Maintain List of the link signal quality to the neighbors and if better shift parent Pick a new parent if no hello for a . You can pick a node below you in the tree so child may have to reselect their parent

26 Experiment: Effects of Loss

27 Experiment: Benefit of Cache

28 Summary TAG is based on a declarative interface Makes network tasking easier for the end user TAG outperforms centralized approaches in most cases Relies heavily on underlying routing layer Placement of query tree constrained by characteristics of routing tree

29 Critique Fault Tolerance – too simplistic How high is the failed node on the tree Mobility Multiple Queries ? Generic? Multiple sinks / Sink mobility? More hypothesis testing - more problems! Compression + aggregation ? Energy budgeting ?

30 Questions ?