Deductive Approach for Programming Sensor Networks

As sensor networks become common and enable new applications, developing powerful paradigms for programming sensor networks becomes critical to realize their full potential as collaborative data processing engines. In this article, we propose a deductive framework for programming sensor networks, based on the observation that the sensor network can be viewed as a distributed database of facts gathered from the environment. We believe that the overall collaborative (distributed) functionality of a sensor network application can be easily represented using deductive (logic) rules, and the non-collaborative functionality can be embedded in built-in functions. The proposed framework is declarative, and more expressive than the previously proposed distributed database view of sensor networks. A fully-developed framework will allow the user specify with ease the high-level functionality of an application, while hiding from user the low-level details such as related to distributed computation, resource constraints, energy optimizations, etc. Our system translates a given high-level user program to energy-efficient distributed code that runs on individual network nodes. In this article, we motivate the deductive framework for programming sensor network applications, and develop query evaluation techniques for distributed evaluation of deductive queries in sensor networks. We present certain performance results that illustrate the robustness and efficiency of the generated distributed code.

[1]  Sten-Åke Tärnlund,et al.  Horn clause computability , 1977, BIT.

[2]  Jeffrey D. Ullman,et al.  Principles of Database and Knowledge-Base Systems, Volume II , 1988, Principles of computer science series.

[3]  V. S. Subrahmanian,et al.  Probabilistic Logic Programming , 1992, Inf. Comput..

[4]  V. S. Subrahmanian,et al.  Theory of Generalized Annotated Logic Programming and its Applications , 1992, J. Log. Program..

[5]  Seth Copen Goldstein,et al.  Active Messages: A Mechanism for Integrated Communication and Computation , 1992, [1992] Proceedings the 19th Annual International Symposium on Computer Architecture.

[6]  V. S. Subrahmanian,et al.  Maintaining views incrementally , 1993, SIGMOD Conference.

[7]  Carlo Zaniolo,et al.  Negation and Aggregates in Recursive Rules: the LDL++ Approach , 1993, DOOD.

[8]  Howard A. Blair,et al.  The Complexity of Local Stratification , 1994, Fundam. Informaticae.

[9]  Serge Abiteboul,et al.  Foundations of Databases , 1994 .

[10]  Jeffrey D. Ullman,et al.  Implementing data cubes efficiently , 1996, SIGMOD '96.

[11]  Robert Szewczyk,et al.  System architecture directions for networked sensors , 2000, ASPLOS IX.

[12]  Mani B. Srivastava,et al.  Dynamic fine-grained localization in Ad-Hoc networks of sensors , 2001, MobiCom '01.

[13]  Philippe Bonnet,et al.  Towards Sensor Database Systems , 2001, Mobile Data Management.

[14]  Wei Hong,et al.  Proceedings of the 5th Symposium on Operating Systems Design and Implementation Tag: a Tiny Aggregation Service for Ad-hoc Sensor Networks , 2022 .

[15]  Samuel Madden,et al.  Distributing queries over low-power wireless sensor networks , 2002, SIGMOD '02.

[16]  David E. Culler,et al.  Supporting aggregate queries over ad-hoc wireless sensor networks , 2002, Proceedings Fourth IEEE Workshop on Mobile Computing Systems and Applications.

[17]  Viktor K. Prasanna,et al.  Towards automatic synthesis of a class of application-specific sensor networks , 2002, CASES '02.

[18]  Ramesh Govindan,et al.  The Sensor Network as a Database , 2002 .

[19]  Feng Zhao,et al.  Scalable Information-Driven Sensor Querying and Routing for Ad Hoc Heterogeneous Sensor Networks , 2002, Int. J. High Perform. Comput. Appl..

[20]  Samuel Madden,et al.  TinyDB: In-Network Query Processing in TinyOS , 2002 .

[21]  David E. Culler,et al.  TOSSIM: accurate and scalable simulation of entire TinyOS applications , 2003, SenSys '03.

[22]  Wei Hong,et al.  The design of an acquisitional query processor for sensor networks , 2003, SIGMOD '03.

[23]  David E. Culler,et al.  The nesC language: A holistic approach to networked embedded systems , 2003, PLDI.

[24]  Feng Zhao,et al.  TinyGALS: a programming model for event-driven embedded systems , 2003, SAC '03.

[25]  Feng Zhao,et al.  Collaborative In-Network Processing for Target Tracking , 2003, EURASIP J. Adv. Signal Process..

[26]  David E. Culler,et al.  The mote revolution: low power wireless sensor network devices , 2004 .

[27]  Elke A. Rundensteiner,et al.  Joining Punctuated Streams , 2004, EDBT.

[28]  Srinivasan Seshan,et al.  Synopsis diffusion for robust aggregation in sensor networks , 2004, SenSys '04.

[29]  Matt Welsh,et al.  Programming Sensor Networks Using Abstract Regions , 2004, NSDI.

[30]  Sang Hyuk Son,et al.  EnviroTrack: towards an environmental computing paradigm for distributed sensor networks , 2004, 24th International Conference on Distributed Computing Systems, 2004. Proceedings..

[31]  David E. Culler,et al.  Hood: a neighborhood abstraction for sensor networks , 2004, MobiSys '04.

[32]  Ryan Newton,et al.  Region streams: functional macroprogramming for sensor networks , 2004, DMSN '04.

[33]  Johannes Gehrke,et al.  Query Processing in Sensor Networks , 2003, CIDR.

[34]  Jennifer Widom,et al.  The CQL continuous query language: semantic foundations and query execution , 2006, The VLDB Journal.

[35]  Ramesh Govindan,et al.  Macro-programming Wireless Sensor Networks Using Kairos , 2005, DCOSS.

[36]  Wei Hong,et al.  Exploiting correlated attributes in acquisitional query processing , 2005, 21st International Conference on Data Engineering (ICDE'05).

[37]  Daniel J. Abadi,et al.  REED: Robust, Efficient Filtering and Event Detection in Sensor Networks , 2005, VLDB.

[38]  Jennifer Widom,et al.  Operator placement for in-network stream query processing , 2005, PODS.

[39]  Ion Stoica,et al.  Declarative routing: extensible routing with declarative queries , 2005, SIGCOMM '05.

[40]  Ion Stoica,et al.  Implementing declarative overlays , 2005, SOSP '05.

[41]  Ying Xing,et al.  The Design of the Borealis Stream Processing Engine , 2005, CIDR.

[42]  David Chu,et al.  Entirely declarative sensor network systems , 2006, VLDB.

[43]  Ion Stoica,et al.  Declarative networking: language, execution and optimization , 2006, SIGMOD Conference.

[44]  Philip Levis,et al.  The design and implementation of a declarative sensor network system , 2007, SenSys '07.

[45]  Bin Tang,et al.  Join of Multiple Data Streams in Sensor Networks , 2009, IEEE Transactions on Knowledge and Data Engineering.