skip to main content
10.1145/1795194.1795200acmconferencesArticle/Chapter ViewAbstractPublication PagesiccpsConference Proceedingsconference-collections
research-article

Bundle: a group based programming abstraction for cyber physical systems

Published:13 April 2010Publication History

ABSTRACT

This paper describes a novel group based programming abstraction called a 'Bundle' for cyber physical systems (CPS). Similar to other programming abstractions, a Bundle creates logical collections of sensing devices. However, previous abstractions were focused on wireless sensor networks (WSN) and did not address key aspects of CPS. Bundles elevate the programming domain from a single WSN to complex systems of systems by allowing the programming of applications involving multiple CPSs that are controlled by different administrative domains and support mobility both within and across CPSs. Bundles can seamlessly group not only sensors, but also actuators which constitute an important part of CPS. Bundles support heterogeneous devices, such as motes, PDAs, laptops and actuators according to the applications' requirements. They allow different applications to simultaneously use the same sensors and actuators. Bundles facilitate feedback control mechanisms by dynamic membership update and requirements reconfiguration based on feedback from the current members. The Bundle abstraction is implemented in Java which ensures ease and conciseness of programming. We present the design and implementation details of Bundles as well as a performance evaluation using 32 applications written with Bundles. This set includes across-network applications that have sophisticated sensing and actuation logic, mobile nodes that are heterogeneous, and feedback control mechanisms. Each of these applications is programmed in less than 60 lines of code.

References

  1. C. Borcea, C. Intanagonwiwat, P. Kang, U. Kremer, and L. Iftode. Spatial programming using smart messages: Design and implementation. In ICDCS, pages 690--699, 2004. Google ScholarGoogle ScholarDigital LibraryDigital Library
  2. C. Curino, M. Gianni, M. Giorgetta, A. Curino, A. L. Murphy, and G. P. Picco. Tinylime: Bridging mobile and sensor networks through middleware. In PerCom, pages 61--72, 2005. Google ScholarGoogle ScholarDigital LibraryDigital Library
  3. P. Dutta, M. Grimmer, A. Arora, S. Bibyk, and D. Culler. Design of a wireless sensor network platform for detecting rare, random, and ephemeral events. In IPSN, pages 497--502, 2005. Google ScholarGoogle ScholarDigital LibraryDigital Library
  4. D. Gay, P. Levis, R. V. Behren, M. Welsh, E. Brewer, and D. Culler. The nesc language: A holistic approach to networked embedded systems. In PLDI, pages 1--11, 2003. Google ScholarGoogle ScholarDigital LibraryDigital Library
  5. O. Gnawali, K.-Y. Jang, J. Peak, M. Vieira, R. Govindan, B. Greenstein, A. Joki, D. Estrin, and E. Kohler. The tenet architecture for tiered sensor networks. In SenSys, pages 153--166, 2006. Google ScholarGoogle ScholarDigital LibraryDigital Library
  6. T. He, J. A. Stankovic, R. Stoleru, Y. Gu, and Y. Wu. Essentia: Architecting wireless sensor networks asymmetrically. In INFOCOM, pages 1184--1192, 2008.Google ScholarGoogle ScholarCross RefCross Ref
  7. T. He, P. Vicaire, T. Yan, Q. Cao, G. Zhou, L. Gu, L. Luo, R. Stoleru, J. A. Stankovic, and T. F. Abdelzaher. Achieving long-term surveillance in vigilnet. In INFOCOM, pages 1--12, 2006.Google ScholarGoogle ScholarCross RefCross Ref
  8. D. Jacobi, P. E. Guerrero, I. Petrov, and A. Buchmann. Structuring sensor networks with scopes. In EuroSSC, 2008.Google ScholarGoogle Scholar
  9. J. King, R. Bose, H.-I. Yang, S. Pickles, and A. Helal. Atlas: A service-oriented sensor platform: Hardware and middleware to enable programmable pervasive spaces. In LCN, pages 630--638, 2006.Google ScholarGoogle ScholarCross RefCross Ref
  10. N. Kothari, R. Gummadi, T. Millstein, and R. Govindan. Reliable and efficient programming abstractions for wireless sensor networks. SIGPLAN Not., 42(6):200--210, 2007. Google ScholarGoogle ScholarDigital LibraryDigital Library
  11. P. Levis, S. Madden, J. Polastre, R. Szewczyk, K. Whitehouse, A. Woo, D. Gay, J. Hill, M. Welsh, E. Brewer, and D. Culler. Tinyos: An operating system for sensor networks. In Ambient Intelligence. SpringerLink, 2005.Google ScholarGoogle ScholarCross RefCross Ref
  12. S. Madden, R. Szewczyk, M. J. Franklin, and D. Culler. Supporting aggregate queries over ad-hoc wireless sensor networks. In WMCSA, pages 49--58, 2002. Google ScholarGoogle ScholarDigital LibraryDigital Library
  13. S. R. Madden, M. J. Franklin, J. M. Hellerstein, and W. Hong. Tinydb: an acquisitional query processing system for sensor networks. ACM Trans. Database Syst., 30(1):122--173, 2005. Google ScholarGoogle ScholarDigital LibraryDigital Library
  14. L. Mottola and G. P. Picco. Logical neighborhoods: A programming abstraction for wireless sensor networks. In DCOSS, pages 150--168, 2006. Google ScholarGoogle ScholarDigital LibraryDigital Library
  15. Y. Ni, U. Kremer, and L. Iftode. Spatial views: Space-aware programming for networks of embedded systems. In LCPC, pages 258--272, 2003.Google ScholarGoogle Scholar
  16. F. Sun, C.-L. Fok, and G.-C. Roman. schat: A group communication service over wireless sensor networks. In IPSN, pages 543--544, 2007. Google ScholarGoogle ScholarDigital LibraryDigital Library
  17. P. A. Vicaire, Z. Xie, E. Hoque, and J. A. Stankovic. Physicalnet: A generic framework for managing and programming across pervasive computing networks. In RTAS, 2010. Google ScholarGoogle ScholarDigital LibraryDigital Library
  18. M. Welsh and G. Mainland. Programming sensor networks using abstract regions. In NSDI, pages 29--42, 2004. Google ScholarGoogle ScholarDigital LibraryDigital Library
  19. K. Whitehouse, C. Sharp, E. Brewer, and D. Culler. Hood: a neighborhood abstraction for sensor networks. In MobiSYS, pages 99--110, 2004. Google ScholarGoogle ScholarDigital LibraryDigital Library

Index Terms

  1. Bundle: a group based programming abstraction for cyber physical systems

    Recommendations

    Comments

    Login options

    Check if you have access through your login credentials or your institution to get full access on this article.

    Sign in
    • Published in

      cover image ACM Conferences
      ICCPS '10: Proceedings of the 1st ACM/IEEE International Conference on Cyber-Physical Systems
      April 2010
      208 pages
      ISBN:9781450300667
      DOI:10.1145/1795194

      Copyright © 2010 ACM

      Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

      Publisher

      Association for Computing Machinery

      New York, NY, United States

      Publication History

      • Published: 13 April 2010

      Permissions

      Request permissions about this article.

      Request Permissions

      Check for updates

      Qualifiers

      • research-article

      Acceptance Rates

      Overall Acceptance Rate25of91submissions,27%

    PDF Format

    View or Download as a PDF file.

    PDF

    eReader

    View online with eReader.

    eReader