March 6th, 2008Andrew Ofstad ECE 256, Spring 2008 TAG: a Tiny Aggregation Service for Ad-Hoc Sensor Networks Samuel Madden, Michael J. Franklin, Joseph.

Slides:



Advertisements
Similar presentations
Declarative sensor networks David Chu Computer Science Division EECS Department UC Berkeley DBLunch UC Berkeley 2 March 2007.
Advertisements

Sensor Network Platforms and Tools
IN-NETWORK VS CENTRALIZED PROCESSING FOR LIGHT DETECTION SYSTEM USING WIRELESS SENSOR NETWORKS Presentation by, Desai, Bhairav Solanki, Arpan.
한국기술교육대학교 컴퓨터 공학 김홍연 TinyDB : An Acquisitional Query Processing System for Sensor Networks. - Samuel R. Madden, Michael J. Franklin, Joseph M. Hellerstein,
Towards a Sensor Network Architecture: Lowering the Waistline Culler et.al. UCB.
1 Sensor Network Databases Ref: Wireless sensor networks---An information processing approach Feng Zhao and Leonidas Guibas (chapter 6)
1 University of Freiburg Computer Networks and Telematics Prof. Christian Schindelhauer Wireless Sensor Networks 25th Lecture Christian Schindelhauer.
Programming Vast Networks of Tiny Devices David Culler University of California, Berkeley Intel Research Berkeley
1 Next Century Challenges: Scalable Coordination in sensor Networks MOBICOMM (1999) Deborah Estrin, Ramesh Govindan, John Heidemann, Satish Kumar Presented.
Cougar (Mica Mote) A platform for testing query processing techniques over ad-hoc sensor networks Three tier system: – Running TinyOS, an embedded operating.
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.
A Survey of Wireless Sensor Network Data Collection Schemes by Brett Wilson.
Approximate data collection in sensor networks the appeal of probabilistic models David Chu Amol Deshpande Joe Hellerstein Wei Hong ICDE 2006 Atlanta,
Probabilistic Data Aggregation Ling Huang, Ben Zhao, Anthony Joseph Sahara Retreat January, 2004.
Aggregate Query Processing in Ad-Hoc Sensor Networks Yong Yao Database lunch, Apr. 15th.
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.
TAG: a Tiny Aggregation Service for Ad-Hoc Sensor Networks Paper By : Samuel Madden, Michael J. Franklin, Joseph Hellerstein, and Wei Hong Instructor :
A Metadata Based Approach For Supporting Subsetting Queries Over Parallel HDF5 Datasets Vignesh Santhanagopalan Graduate Student Department Of CSE.
Sensor Network Databases1 Overview: Chapter 6  Sensor Network Databases  Sensor networks are conceptually a distributed DB  Store collected data  Indexes.
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.
RELATIONAL FAULT TOLERANT INTERFACE TO HETEROGENEOUS DISTRIBUTED DATABASES Prof. Osama Abulnaja Afraa Khalifah
INT 598 Data Management for Sensor Networks Silvia Nittel Spatial Information Science & Engineering University of Maine Fall 2006.
Sensor Database System Sultan Alhazmi
The Design of an Acquisitional Query Processor for Sensor Networks CS851 Presentation 2005 Presented by: Gang Zhou University of Virginia.
Wireless Sensor Networks In-Network Relational Databases Jocelyn Botello.
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.
Classification and Analysis of Distributed Event Filtering Algorithms Sven Bittner Dr. Annika Hinze University of Waikato New Zealand Presentation at CoopIS.
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.
Communication Support for Location- Centric Collaborative Signal Processing in Sensor Networks Parmesh Ramanathan University of Wisconsin, Madison Acknowledgements:K.-C.
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.
3/14/2005 CS851: Data Services for Advanced System Applications 1 DFuse: A Framework for Distributed Data Fusion Rajnish Kumar, Matthew Wolenetz, Bikash.
Dr. Sudharman K. Jayaweera and Amila Kariyapperuma ECE Department University of New Mexico Ankur Sharma Department of ECE Indian Institute of Technology,
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.
Autonomous prototype sensors (motes) 4 MHz, 8bit MCU, 4 KB RAM, 8KB ROM short-range (1-10ft.) radio light and other sensors LED and serial port outputs.
In-Network Query Processing on Heterogeneous Hardware Martin Lukac*†, Harkirat Singh*, Mark Yarvis*, Nithya Ramanathan*† *Intel.
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.
1 TAG: A Tiny Aggregation Service for Ad-Hoc Sensor Networks Samuel Madden UC Berkeley with Michael Franklin, Joseph Hellerstein, and Wei Hong December.
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.
Tiny Aggregation ©Thomas Haenselmann – Department of Computer Science IV – University of Mannheim^ Lecture on Sensor Networks Historical Development time.
TAG: a Tiny AGgregation service for ad-hoc sensor networks Authors: Samuel Madden, Michael J. Franklin, Joseph M. Hellerstein, Wei Hong Presenter: Mingwei.
Routing protocols for sensor networks.
XML Parsers Overview Types of parsers Using XML parsers SAX DOM
Introduction to Wireless Sensor Networks
Querying Sensor Networks
Distributed database approach,
Aziz Nasridinov and Young-Ho Park*
The Design of an Acquisitional Query Processor For Sensor Networks
XML Parsers Overview Types of parsers Using XML parsers SAX DOM
Distributing Queries Over Low Power Sensor Networks
Ajay Vyasapeetam Brijesh Shetty Karol Gryczynski
Data-Centric Networking
REED : Robust, Efficient Filtering and Event Detection
Aggregation.
Presentation transcript:

March 6th, 2008Andrew Ofstad ECE 256, Spring 2008 TAG: a Tiny Aggregation Service for Ad-Hoc Sensor Networks Samuel Madden, Michael J. Franklin, Joseph Hellerstein, Wei Hong Published in 2002 Research funds coming from IBM, Intel, and Microsoft

March 6th, 2008Andrew Ofstad ECE 256, Spring 2008 Motivation Sensor networks are computers Applications extract Info from network Aggregation saves resources Philosophy: Aggregation as network service Extract info aggregation to higher level

March 6th, 2008Andrew Ofstad ECE 256, Spring 2008 TAG Contributions Basic query interface (like SQL) Power and time efficient distribution of queries Query Language Abstraction leads to Optimizations High level language leads to network loss techniques

March 6th, 2008Andrew Ofstad ECE 256, Spring 2008 Ad-Hoc Routing Doesn’t matter, as long as: –Query requests deliverable to all nodes –Provides routes from every node to root –No duplicate messages received by node TAG uses a routing tree

March 6th, 2008Andrew Ofstad ECE 256, Spring 2008 Routing Tree Root P: None L: 0 P: 1 L: 1 P: 1 L: 1 P: 3 L: 2 P: 3 L: 2 P: 2 L: 2 P = Parent L = Level

March 6th, 2008Andrew Ofstad ECE 256, Spring 2008 Query Model SQL style query syntax Table called “sensors” Schema known to base station Append-only relational database

March 6th, 2008Andrew Ofstad ECE 256, Spring 2008 TAG Query Syntax Example SELECT AVG(volume), room FROM sensors WHERE floor = 6 GROUP BY room HAVING AVG(volume) > threshold EPOCH DURATION 30s

March 6th, 2008Andrew Ofstad ECE 256, Spring 2008 TAG Query Syntax SELECT {agg(expr), attrs} FROM sensors WHERE {selPreds} GROUP BY {attrs} HAVING {havingPreds} EPOCH DURATION i

March 6th, 2008Andrew Ofstad ECE 256, Spring 2008 Aggregate Functions (agg) 3 Components: 1) Merging function f = f(, ) 2) Initializer i 3) Evaluator e i(x) = f(, ) = f(,, ) i(x) = e( ) = S/C

March 6th, 2008Andrew Ofstad ECE 256, Spring 2008 Classes of Aggregates Duplicate Sensitivity Exemplary or Summary Monotonicity Amount of Partial State Information –Distributive –Algebraic –Holistic –Unique –Content Sensitive Classification based on four categories:

March 6th, 2008Andrew Ofstad ECE 256, Spring 2008 Attribute Catalog Queries contain named attributes Each mote has catalog of supported attributes Assume central query processor stores attributes of motes Mote returns NULL if attribute not supported Increases scalability

March 6th, 2008Andrew Ofstad ECE 256, Spring 2008 Algorithm Two Phases: –Query Distribution –Collection Single aggregate value every epoch Aggregation before propagation Children deliver partial state in time interval specified by parent

March 6th, 2008Andrew Ofstad ECE 256, Spring 2008 Collection

March 6th, 2008Andrew Ofstad ECE 256, Spring 2008 Grouping Specified by GROUP BY query clause SELECT AVG(volume), room FROM sensors WHERE floor = 6 GROUP BY room HAVING AVG(volume) > threshold EPOCH DURATION 30s Each sensor reading in single group Groups partitioned by attributes

March 6th, 2008Andrew Ofstad ECE 256, Spring 2008 Grouping Example

March 6th, 2008Andrew Ofstad ECE 256, Spring 2008 A Few Advantages… Decreased Communication Nodes send one message per epoch “Lost Nodes” can reconnect

March 6th, 2008Andrew Ofstad ECE 256, Spring 2008 Simulation Done in Java Java Objects passed as messages

March 6th, 2008Andrew Ofstad ECE 256, Spring 2008 Optimizations Snooping on Shared Channels –Nodes can overhear missed query –Nodes can exclude certain messages Hypothesis Testing –Somewhat query specific –Nodes don’t send data if irrelevant –Ex: root finds level 1 min, then uses “having” to narrow down query

March 6th, 2008Andrew Ofstad ECE 256, Spring 2008 Optimizations

March 6th, 2008Andrew Ofstad ECE 256, Spring 2008 Improving Loss Tolerance Important because single node loss causes entire subtree loss… 1.Each node keeps track of neighbor link quality Keeps proportion of messages received Chooses parent’ over weaker parent 2.Node chooses a new parent if no messages received over set time

March 6th, 2008Andrew Ofstad ECE 256, Spring 2008 Loss Tolerance

March 6th, 2008Andrew Ofstad ECE 256, Spring 2008 Realistic Simulation Caching: use old “ cached ” information when new info not received from children

March 6th, 2008Andrew Ofstad ECE 256, Spring 2008 Implementation Prototype with TinyOS motes

March 6th, 2008Andrew Ofstad ECE 256, Spring 2008 Conclusions High Level Query Language Aggregation and Bandwidth Reduction Tight network integration, optimizable Currently working towards “event driven” model

March 6th, 2008Andrew Ofstad ECE 256, Spring 2008 Thanks! Q and A