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

Slides:



Advertisements
Similar presentations
Declarative Networking: Language, Execution and Optimization Boon Thau Loo 1, Tyson Condie 1, Minos Garofalakis 2, David E. Gay 2, Joseph M. Hellerstein.
Advertisements

Construction process lasts until coding and testing is completed consists of design and implementation reasons for this phase –analysis model is not sufficiently.
Internet Indirection Infrastructure (i3 ) Ion Stoica, Daniel Adkins, Shelley Zhuang, Scott Shenker, Sonesh Surana UC Berkeley SIGCOMM 2002 Presented by:
Reliable and Efficient Programming Abstractions for Sensor Networks Nupur Kothari, Ramki Gummadi (USC), Todd Millstein (UCLA) and Ramesh Govindan (USC)
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.
Implementing declarative overlays Boom Thau Loo Tyson Condie Joseph M. Hellerstein Petros Maniatis Timothy Roscoe Ion Stoica.
Implementing Declarative Overlays From two talks by: Boon Thau Loo 1 Tyson Condie 1, Joseph M. Hellerstein 1,2, Petros Maniatis 2, Timothy Roscoe 2, Ion.
Declarative sensor networks with applications in landslide detection David Chu Computer Science Division EECS Department UC Berkeley iCAST/CMU/TRUST Joint.
Berkeley dsn declarative sensor networks problem David Chu, Lucian Popa, Arsalan Tavakoli, Joe Hellerstein approach related dsn architecture status  B.
CAST i CAST iCAST / TRUST Collaboration Presenter : David Chu 2007 June 5 A Declarative Sensor Network Architecture.
Trickle: Code Propagation and Maintenance Neil Patel UC Berkeley David Culler UC Berkeley Scott Shenker UC Berkeley ICSI Philip Levis UC Berkeley.
Sensor Network Platforms and Tools
Overview: Chapter 7  Sensor node platforms must contend with many issues  Energy consumption  Sensing environment  Networking  Real-time constraints.
1 Distributed Adaptive Sampling, Forwarding, and Routing Algorithms for Wireless Visual Sensor Networks Johnsen Kho, Long Tran-Thanh, Alex Rogers, Nicholas.
Towards a Sensor Network Architecture: Lowering the Waistline Culler et.al. UCB.
Data-Intensive Computing with MapReduce/Pig Pramod Bhatotia MPI-SWS Distributed Systems – Winter Semester 2014.
A Dynamic Operating System for Sensor Nodes (SOS) Source:The 3 rd International Conference on Mobile Systems, Applications, and Service (MobiSys 2005)
TOSSIM A simulator for TinyOS Presented at SenSys 2003 Presented by : Bhavana Presented by : Bhavana 16 th March, 2005.
Page 1 Building Reliable Component-based Systems Chapter 16 - Component based embedded systems Chapter 16 Component based embedded systems.
L4-1-S1 UML Overview © M.E. Fayad SJSU -- CmpE Software Architectures Dr. M.E. Fayad, Professor Computer Engineering Department, Room #283I.
Methodologies for Wireless Sensor Networks Design Alvise Bonivento Alessandro Pinto Prof. Sangiovanni-Vincentelli U.C. Berkeley.
TinyGALS: A Programming Model for Event-Driven Embedded Systems Elaine Cheong UC Berkeley Ptolemy Group / PARC Judy Liebman (LLNL) Jie Liu, Feng Zhao (PARC)
How to Code on TinyOS Xufei Mao Advisor: Dr. Xiang-yang Li CS Dept. IIT.
Internet Indirection Infrastructure Ion Stoica UC Berkeley.
The Cougar Approach to In-Network Query Processing in Sensor Networks By Yong Yao and Johannes Gehrke Cornell University Presented by Penelope Brooks.
Cognitive Radio Networks Breakout GENI Wireless Workshop 28 March 2007.
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,
Generic Sensor Platform for Networked Sensors Haywood Ho.
ProActive Infrastructure Eric Brewer, David Culler, Anthony Joseph, Randy Katz Computer Science Division U.C. Berkeley ninja.cs.berkeley.edu Active Networks.
Matching Data Dissemination Algorithms to Application Requirements John Heidermann, Fabio Silva, Deborah Estrin Presented by Cuong Le (CPSC538A)
Winter Retreat Connecting the Dots: Using Runtime Paths for Macro Analysis Mike Chen, Emre Kıcıman, Anthony Accardi, Armando Fox, Eric Brewer
TOSSIM: Visualizing the Real World Philip Levis, Nelson Lee, Dennis Chi and David Culler UC Berkeley NEST Retreat, January 2003.
Wireless Sensor Network for Tracking the Traffic in INTERNET Network Routers Supervisor: Mark Shifrin Students: Yuriy Kipnis Nir Bar-Or Networked Software.
Internet Indirection Infrastructure (i3) Ion Stoica, Daniel Adkins, Shelley Zhuang, Scott Shenker, Sonesh Surana UC Berkeley SIGCOMM 2002.
Rainbow Facilitating Restorative Functionality Within Distributed Autonomic Systems Philip Miseldine, Prof. Taleb-Bendiab Liverpool John Moores University.
Type-Specialized Staged Programming with Process Separation Yu David Liu, State University of New York at Binghamton Christian Skalka, University of Vermont.
Katanosh Morovat.   This concept is a formal approach for identifying the rules that encapsulate the structure, constraint, and control of the operation.
Research & Development Roadmap 1. Outline A New Communication Framework Giving Bro Control over the Network Security Monitoring for Industrial Control.
A System Architecture for Networked Sensors Jason Hill, Robert Szewczyk, Alec Woo, Seth Hollar, David Culler, Kris Pister
Rapid Development and Flexible Deployment of Adaptive Wireless Sensor Network Applications Chien-Liang Fok, Gruia-Catalin Roman, Chenyang Lu
PIER & PHI Overview of Challenges & Opportunities Ryan Huebsch † Joe Hellerstein † °, Boon Thau Loo †, Sam Mardanbeigi †, Scott Shenker †‡, Ion Stoica.
Rapid Development and Flexible Deployment of Adaptive Wireless Sensor Network Applications Chien-Liang Fok, Gruia-Catalin Roman, Chenyang Lu
CG&GIS Lab Computer Graphics and Geographic Information Systems Laboratory University of Ni š Faculty of Electronic Engineering Prof. Dr Dejan Rančić Prof.
March 6th, 2008Andrew Ofstad ECE 256, Spring 2008 TAG: a Tiny Aggregation Service for Ad-Hoc Sensor Networks Samuel Madden, Michael J. Franklin, Joseph.
BLU-ICE and the Distributed Control System Constraints for Software Development Strategies Timothy M. McPhillips Stanford Synchrotron Radiation Laboratory.
Compiler course 1. Introduction. Outline Scope of the course Disciplines involved in it Abstract view for a compiler Front-end and back-end tasks Modules.
1 Efficient Type and Memory Safety for Tiny Embedded Systems John Regehr Nathan Cooprider Will Archer Eric Eide University of Utah School of Computing.
Korea Advanced Institute of Science and Technology Active Sensor Networks(Mate) (Published by Philip Levis, David Gay, and David Culler in NSDI 2005) 11/11/09.
TRICKLE: A Self-Regulating Algorithm for Code Propagation and Maintenance in Wireless Sensor Networks Philip Levis, Neil Patel, Scott Shenker and David.
Xiong Junjie Node-level debugging based on finite state machine in wireless sensor networks.
ProActive Infrastructure Eric Brewer, David Culler, Anthony Joseph, Randy Katz Computer Science Division U.C. Berkeley ninja.cs.berkeley.edu Active Networks.
Querying The Internet With PIER Nitin Khandelwal.
An Energy-Efficient Geographic Routing with Location Errors in Wireless Sensor Networks Julien Champ and Clement Saad I-SPAN 2008, Sydney (The international.
A Reliability-oriented Transmission Service in Wireless Sensor Networks Yunhuai Liu, Yanmin Zhu and Lionel Ni Computer Science and Engineering Hong Kong.
Link Layer Support for Unified Radio Power Management in Wireless Sensor Networks IPSN 2007 Kevin Klues, Guoliang Xing and Chenyang Lu Database Lab.
Dynamic Control of Coding for Progressive Packet Arrivals in DTNs.
Software Systems Division (TEC-SW) ASSERT process & toolchain Maxime Perrotin, ESA.
Building Wireless Efficient Sensor Networks with Low-Level Naming J. Heihmann, F.Silva, C. Intanagonwiwat, R.Govindan, D. Estrin, D. Ganesan Presentation.
PROWIND (Positioning Relay over Wirelessly Networked Devices) Team Members: Alexander Smithson, Dian Ding, Yeh Cheng Yuan Graduate Advisor: Eric Liao Faculty.
Software Architecture of Sensors. Hardware - Sensor Nodes Sensing: sensor --a transducer that converts a physical, chemical, or biological parameter into.
A unifying link abstraction for wireless sensor networks Joseph Polastre, Jonathan Hui, Philip Levis, Jerry Zhao, David Culler, Scott Shenker, and Ion.
Sensor network routing protocol for underground robot remote control Demonstration picture (IDF)
Architecture and Algorithms for an IEEE 802
Internet Indirection Infrastructure (i3)
Trickle: Code Propagation and Maintenance
Distributing Queries Over Low Power Sensor Networks
Chapter 7 –Implementation Issues
Overview: Active Sensor networks
Network Architecture for General-purpose Sensor Networks
Presentation transcript:

declarative sensor networks David Chu Computer Science Division EECS Department UC Berkeley DBLunch UC Berkeley 2 March 2007

context Leach's Storm Petrel Sensor Networks 10’s – 100’s – 1000’s – 10,000’s

context Sensor Networks early experiences

motivation programming sensor networks is difficult! building entire sensor systems is even harder!!

inspiration data management network design s e n s o r n e t w o r k s

inspiration : data management declarative is widely used in data management –relational databases –spreadsheets –abstract “what” from “how” (Sensor-Network-As-Database)

inspiration : network design declarative is new idea in networking –compact –flexible –analyzable, optimizable –Internet Routing, Overlays built declaratively (the P2 project)

inspiration data management network design s e n s o r n e t w o r k s ( DSN )

what we did adapted declarative language built compiler & runtime for sensornets wrote declarative examples

P. Levis, N. Patel, D. Culler, S. Shenker. "Trickle: A Self- Regulating Algorithm for Code Propagation and Maintenance in Wireless Sensor Networks." NSDI … from original Trickle paper… DSN specification 10x6 topology 30x2 topology

agenda 1.language overview 2.declarative sensornet examples 3.system architecture 4.feasibility assessment 5.application to landslide detection

brief language overview Rule2: Fact: Rule1: join don’t care Built-ins: implies

a full example : tree D S C D Z C2 S C1

second example : multi-hop collection

and others… geographic routing* tracking localization link estimator *fallback routing not shown

arch : compiler Network support Generated nesC code store(…) :- prod(…), cons(…). … path(…) :- link(…), dest(…). … Binary Image Snlog Compiler/Optimizer Snlog Program GenericPredicateTemplate … nesC Templates nesC Backend Execution Planner Snlog Frontend nesC Compiler Built-in Predicates Type system Database Operators Runtime Components RuntimeTemplate … DSN Runtime Support

arch : runtime the network Join Proj tupleready Join Agg Proj Sel table (compiler generated) builtin (user’s library) database operators (compiler’s library) push interfaces pull interfaces thread of control event signal SelAg Proj ……… …… … … runtime daemon mac daemon tupleready sendready tupleready sendready

implementation challenges predictable execution → dynamic vs. static allocation memory constraints → memory footprint optimizations no temporary tables, join/agg operator choice asynchrony → rule-level atomicity priorities

evaluation

evaluating tree-collection messages sent hop-counts (similar performance)

evaluating trickle (similar performance)

lines of code

compiled size TelosB mote code space = 48KB, data space = 10KB

VLDB 2006 demo

current efforts energy-based optimization –send or store language semantics clarity –non-monotonic logic

conclusion sensor networks → data + communication several examples of functional programs feasible for today’s hardware platforms preparing for landslide deployment

thanks collaborators Joe Hellerstein, Scott Shenker, Ion Stoica Arsalan Tavakoli, Lucian Popa Phil Levis