TAG: a Tiny AGgregation service for ad-hoc sensor networks Authors: Samuel Madden, Michael J. Franklin, Joseph M. Hellerstein, Wei Hong Presenter: Mingwei.

Slides:



Advertisements
Similar presentations
HIERARCHY REFERENCING TIME SYNCHRONIZATION PROTOCOL Prepared by : Sunny Kr. Lohani, Roll – 16 Sem – 7, Dept. of Comp. Sc. & Engg.
Advertisements

한국기술교육대학교 컴퓨터 공학 김홍연 TinyDB : An Acquisitional Query Processing System for Sensor Networks. - Samuel R. Madden, Michael J. Franklin, Joseph M. Hellerstein,
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)
SYNOPSIS DIFFUSION For Robust Aggregation in Sensor Networks Suman Nath, Phillip B. Gibbons, Srinivasan Seshan, Zachary R. Anderson Presented by Xander.
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.
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.
Aggregation in Sensor Networks NEST Weekly Meeting Sam Madden Rob Szewczyk 10/4/01.
Probabilistic Data Aggregation Ling Huang, Ben Zhao, Anthony Joseph Sahara Retreat January, 2004.
LPT for Data Aggregation in Wireless Sensor networks Marc Lee and Vincent W.S Wong Department of Electrical and Computer Engineering, University of British.
Aggregate Query Processing in Ad-Hoc Sensor Networks Yong Yao Database lunch, Apr. 15th.
Adaptive Self-Configuring Sensor Network Topologies ns-2 simulation & performance analysis Zhenghua Fu Ben Greenstein Petros Zerfos.
The Design of an Acquisitional Query Processor For Sensor Networks Samuel Madden, Michael J. Franklin, Joseph M. Hellerstein, and Wei Hong Presentation.
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.
1 Algorithms for Bandwidth Efficient Multicast Routing in Multi-channel Multi-radio Wireless Mesh Networks Hoang Lan Nguyen and Uyen Trang Nguyen Presenter:
TAG: a Tiny Aggregation Service for Ad-Hoc Sensor Networks Paper By : Samuel Madden, Michael J. Franklin, Joseph Hellerstein, and Wei Hong Instructor :
Itrat Rasool Quadri ST ID COE-543 Wireless and Mobile Networks
Power Save Mechanisms for Multi-Hop Wireless Networks Matthew J. Miller and Nitin H. Vaidya University of Illinois at Urbana-Champaign BROADNETS October.
Sensor Network Databases1 Overview: Chapter 6  Sensor Network Databases  Sensor networks are conceptually a distributed DB  Store collected data  Indexes.
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.
INT 598 Data Management for Sensor Networks Silvia Nittel Spatial Information Science & Engineering University of Maine Fall 2006.
The Design of an Acquisitional Query Processor for Sensor Networks CS851 Presentation 2005 Presented by: Gang Zhou University of Virginia.
COMPUTING AGGREGATES FOR MONITORING WIRELESS SENSOR NETWORKS Jerry Zhao, Ramesh Govindan, Deborah Estrin Presented by Hiren Shah.
CS542 Seminar – Sensor OS A Virtual Machine For Sensor Networks Oct. 28, 2009 Seok Kim Eugene Seo R. Muller, G. Alonso, and D. Kossmann.
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)
Supporting Aggregate Queries Over Ad-Hoc Wireless 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.
SIA: Secure Information Aggregation in Sensor Networks B. Przydatek, D. Song, and A. Perrig. In Proc. of ACM SenSys 2003 Natalia Stakhanova cs610.
11/15/20051 ASCENT: Adaptive Self- Configuring sEnsor Networks Topologies Authors: Alberto Cerpa, Deborah Estrin Presented by Suganthie Shanmugam.
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.
Energy-Efficient Monitoring of Extreme Values in Sensor Networks Loo, Kin Kong 10 May, 2007.
DATA AGGREGATION Siddhartha Sarkar Roll no: CSE-4 th Year-7 th semester Sensor Networks (CS 704D) Assignment.
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.
KAIS T Distributed cross-layer scheduling for In-network sensor query processing PERCOM (THU) Lee Cheol-Ki Network & Security Lab.
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.
A Bandwidth Scheduling Algorithm Based on Minimum Interference Traffic in Mesh Mode Xu-Yajing, Li-ZhiTao, Zhong-XiuFang and Xu-HuiMin International Conference.
TreeCast: A Stateless Addressing and Routing Architecture for Sensor Networks Santashil PalChaudhuri, Shu Du, Ami K. Saha, and David B. Johnson Department.
SERENA: SchEduling RoutEr Nodes Activity in wireless ad hoc and sensor networks Pascale Minet and Saoucene Mahfoudh INRIA, Rocquencourt Le Chesnay.
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.
Top-k Queries in Wireless Sensor Networks Amber Faucett, Dr. Longzhuang Li, In today’s world, wireless.
The Design of an Acquisitional Query Processor For Sensor Networks Samuel Madden, Michael J. Franklin, Joseph M. Hellerstein, and Wei Hong Presentation.
1 Along & across algorithm for routing events and queries in wireless sensor networks Tat Wing Chim Department of Electrical and Electronic Engineering.
Yong Yao Johannes Gehrke Jie Li Nov. 20, 2008 CS662 Paper Presentation.
Demetrios Zeinalipour-Yazti (Univ. of Cyprus)
Introduction to Wireless Sensor Networks
Distributed database approach,
Data Collection and Dissemination
Aziz Nasridinov and Young-Ho Park*
Introduction to Wireless Sensor Networks
The Design of an Acquisitional Query Processor For Sensor Networks
Trickle: Code Propagation and Maintenance
Distributing Queries Over Low Power Sensor Networks
Data Collection and Dissemination
Data-Centric Networking
REED : Robust, Efficient Filtering and Event Detection
Aggregation.
Presentation transcript:

TAG: a Tiny AGgregation service for ad-hoc sensor networks Authors: Samuel Madden, Michael J. Franklin, Joseph M. Hellerstein, Wei Hong Presenter: Mingwei Hu 1

Motivation Smart Sensors Devices that measure real world phenomena (temperature, buildings movement in earthquake, …) Wireless, battery powered, full-fledged computers Motes Smart sensor developed in UC Berkeley TinyOS: ease the deployment of motes in ad-hoc networks Ad-hoc networks: networks not relying on pre- existing infrastructures(routers, access point) Sensors replace routers to identify other devices, adapting to topology change 2

Motivation Challenges working with smart sensors Limited power supply while needs long lived deployment & zero maintenance Power consumptions dominated by transmitting/receiving messages(communication) Users have to write low level and error-prune code to collect and aggregate data from the network Goals: Have more power-conserving algorithm to reduce radio communication Provide a high-level programming abstraction to hide low level details 3

Tiny Aggregation (TAG) Provides a SQL-like declarative languages for data collection and aggregation Intelligent execution of aggregation queries to save time and power In network aggregation: calculates aggregation in each node as data flows through it Users inject query into a storage-rich basestation(root) 4

Background: Ad-Hoc Routing Algorithm A routing tree is needed for sensor to route data A root is assigned with level 0. Root broadcasts message {id,level} to other nodes in its range Upon receiving a message, a sensor (without level) will update its level and parent node, and does the broadcast again Algorithm ends when all nodes have a level 5 root E D C B A B C A D E organize

Query Model A SQL-style query syntax Example: microphone sensor network for monitoring volume 6 Sensors#idvolumefloorroom

Query Model SELECT clause: Specifies an arbitrary expression over one or more aggregation attributes WHERE clause: Filters out individual tuple before aggregation GROUP BY clause: Partitions tuples based on a given attributes HAVING clause: Remove group not satisfying predicates 7

Query Model Output of TAG queries: stream of values Allow users to understand how the network behaves over time Each record consists of one pair per group Each group is time-stamped Readings used to calculate an aggregate all belong to the same time-interval epoch EPOCH DURATION also specifies the amount of time devices wait before sending samples to other devices 8

Aggregates—Implementation Implemented using three functions: Merging function: = f(, ): and : partial states computed over one or more sensors Example: AVERAGE aggregate: Partial state in form: F(, ) = Initializer i: Used to initialize a state record for a single sensor value AVERAGE: initializer I returns for single value x Evaluator: computes the actual value of the aggregate (S/C for AVERAGE) 9

Aggregates—Classification SQL supports 5 aggregates: COUNT, MIN, MAX, SUM, and AVERAGE Want TAG to support more Classification of aggregate functions and how dimensions of each classification affect TAG performance Four dimensions proposed: Duplicate Sensitive Exemplary(E), Summary(S) Monotonic Partial State 10

Aggregates—Classification 11 Distributive: Size of partial records is the same as the size of the final aggregate Algebraic: partial state records are not aggregates, but of constant size Holistic: non-constant partial state size; cannot perform aggregation on partial states Unique: Similar to holistic, except that amount of states is proportional to the number of distinct values

In Network Aggregates—Tiny Aggregation TAG consists of two phases: Distribution: aggregate queries pushed down to the network from the root Collection: aggregate values are routed up from children to parents Parents need to wait until they heard from their children before routing aggregate up for the current epoch. Solution: Subdivide epoch s.t. children are required to delivered their partial state records during a parent-specified time interval 12 root E D C B A query value

In Network Aggregates—Tiny Aggregation For a node p, upon receiving a request r to aggregate: Synchronize clock Choose sender as its parent Examine r (contains interval when sender expects to hear back from p) Set delivery interval for its children Forward query to children Upon receiving message from its children: Computes a partial state record from child values it receives During transmission interval, p propagates the aggregates up the network 13

In Network Aggregates—Grouping Partial state records aggregated similar to Tiny aggregation, except each record has a group id On receiving an aggregate from a child: Combines two values if node in same group as the child Otherwise store the value of the child’s group and forward it during next epoch 14

Advantage of TAG Tolerates disconnections and loss. Each node is required to transmit a single message per epoch Dividing time into epoch gives a convenience idling mechanism 15

Simulation-based evaluation Communication model that defines connectivity Simple, random, and realistic model Modeling of costs of topology maintenance by sending heartbeats Able to measure the state required 16

TAG performance 17

Optimization 18 Taking advance of shared channel Sensor node can snoop on the network traffic to find aggregate request it missed Snooping reduces number of messages sent Hypothesis testing Each node can have a guess to value of a aggregate Decides whether contributing its reading and the readings of its children will affect the value of the aggregate Snooping: nodes suppress their local aggregates if they hear other aggregates that invalidate their own

Optimization 19

Improving Tolerance to Loss 20 Monitor quality of links to neighbor By tracking the proportion of the packets received from each neighbor Assume parent fails if hasn’t heard from it for a certain period of time Pick a new parent according to the link quality

Improving Tolerance to Loss 21 Child Cache Parents remember the partial state records their children reported for some number of rounds Use previous values when new values aren’t available

Prototype Implementation sixteen in a tree of depth 4, computing a COUNT aggregate over second epochs (a 10 minute run.). No child cache. The centralized approach required 4685 messages, whereas TAG required just 2330

Conclusion 23 In network aggregation offers an order of magnitude reduction in bandwidth consumption compared to centralized aggregation The declarative query enables users to use in network aggregation with having to write low-level code

Thoughts 24 The simulation focuses too much on message communication but does not measure the CPU usage Prototype implementation does not implement any optimization or caching Prototype implementation only includes 16 sensors

25 Questions?