DICE: Monitoring Global Invariants with Wireless Sensor Networks

Wireless sensor networks (WSNs) enable decentralized architectures to monitor the behavior of physical processes and to detect deviations from a specified “safe” behavior, for example, to check the operation of control loops. Such correct behavior is typically expressed by global invariants over the state of different sensors or actuators. Nevertheless, to leverage the computing capabilities of WSN nodes, the application intelligence needs to reside inside the network. The task of ensuring that the monitored processes behave safely thus becomes inherently distributed, and hence more complex. In this article we present DICE, a system enabling WSN-based distributed monitoring of global invariants. A DICE invariant is expressed by predicates defined over the state of multiple WSN nodes, such as the expected state of actuators based on given sensed environmental conditions. Our modular design allows two alternative protocols for detecting invariant violations: both perform in-network aggregation but with different degrees of decentralization, therefore supporting scenarios with different network and data dynamics. We characterize and compare the two protocols using large-scale simulations and a real-world testbed. Our results indicate that invariant violations are detected in a timely and energy-efficient manner. For instance, in a 225-node 15-hop network, invariant violations are detected in less than a second and with only a few packets sent by each node.

[1]  Insup Lee,et al.  Opportunities and Obligations for Physical Computing Systems , 2005, Computer.

[2]  Gyula Simon,et al.  The flooding time synchronization protocol , 2004, SenSys '04.

[3]  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 .

[4]  Pao C. Chau,et al.  Process Control , 2002 .

[5]  Thomas E Marlin,et al.  Process Control , 1995 .

[6]  P McCrory,et al.  Shelf life , 1996, British Dental Journal.

[7]  Luca Mottola,et al.  Programming wireless sensor networks , 2011, ACM Comput. Surv..

[8]  Kay Römer,et al.  PDA: Passive distributed assertions for sensor networks , 2009, 2009 International Conference on Information Processing in Sensor Networks.

[9]  Philip Levis,et al.  Collection tree protocol , 2009, SenSys '09.

[10]  Wei Hong,et al.  TinyDB: an acquisitional query processing system for sensor networks , 2005, TODS.

[11]  Kamin Whitehouse,et al.  Declarative tracepoints: a programmable and application independent debugging system for wireless sensor networks , 2008, SenSys '08.

[12]  Raghupathy Sivakumar,et al.  Challenges: communication through silence in wireless sensor networks , 2005, MobiCom '05.

[13]  Kay Römer Time synchronization in ad hoc networks , 2001, MobiHoc '01.

[14]  Kamin Whitehouse,et al.  Macrodebugging: global views of distributed program execution , 2009, SenSys '09.

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

[16]  Philip Levis,et al.  Data Discovery and Dissemination with DIP , 2008, 2008 International Conference on Information Processing in Sensor Networks (ipsn 2008).

[17]  Stefan Guna On Neighbors, Groups and Application Invariants in Mobile Wireless Sensor Networks , 2011 .

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

[19]  Alexander I. Tomlinson,et al.  Monitoring Functions on Global States of Distributed Programs , 1997, J. Parallel Distributed Comput..

[20]  Kay Römer,et al.  Algorithms for generic role assignment in wireless sensor networks , 2005, SenSys '05.

[21]  John N. Tsitsiklis,et al.  Problems in decentralized decision making and computation , 1984 .

[22]  Leslie Lamport,et al.  Distributed snapshots: determining global states of distributed systems , 1985, TOCS.

[23]  Vijay K. Garg,et al.  Detection of Weak Unstable Predicates in Distributed Programs , 1994, IEEE Trans. Parallel Distributed Syst..

[24]  Jeffrey Considine,et al.  Approximate aggregation techniques for sensor databases , 2004, Proceedings. 20th International Conference on Data Engineering.

[25]  Peter L. Balise,et al.  Boolean Algebra and Its Applications , 1995 .