skip to main content
10.1145/1865875.1865883acmconferencesArticle/Chapter ViewAbstractPublication PagesaseConference Proceedingsconference-collections
research-article

PicOS tuples: easing event based programming in tiny pervasive systems

Published:20 September 2010Publication History

ABSTRACT

The task of programming sensor-based systems comes with severe constraints on the resources, typically memory, CPU power, and energy. The challenge is usually addressed with techniques that result in poor code understandability and maintainability. In this paper, we report on a data centric language extension based on a tuple-space abstraction, akin to Linda [2], applied to PicOS [5], a programming environment for wireless sensor networks (WSN's). The extension improves state and context management in a multi-tasking environment suffering from severe memory limitations. The solution integrates tuple operations into the model -- for networking, event handling, and thread contexts. We demonstrate how tuple constructs improve coding and reduce code overhead. We also show how thread's context-tuples can be used as interface arguments for extension by modular aspect constructs.

References

  1. A. Adya, J. Howell, M. Theimer, W. J. Bolosky, and J. R. Douceur. Cooperative task management without manual stack management. In Proceedings of USENIX'02, pp. 289--302. Google ScholarGoogle ScholarDigital LibraryDigital Library
  2. N. Carriero and D. Gelernter. Linda in context. Commun. ACM, 32(4):444--458, 1989. Google ScholarGoogle ScholarDigital LibraryDigital Library
  3. P. Costa, L. Mottola, Amy L. Murphy, and G. P. Picco. Teenylime: transiently shared tuple space middleware for wireless sensor networks. In Proceedings of MidSens'06, pp. 43--58. Google ScholarGoogle ScholarDigital LibraryDigital Library
  4. P. Gburzyński, B. Kaminska, and W. Olesinski. A tiny and efficient wireless ad-hoc protocol for low-cost sensor networks. In Proceedings of DATE'07, pp. 1562--1567.Google ScholarGoogle Scholar
  5. P. Gburzynski and W. Olesinski. On a practical approach to low-cost ad hoc wireless networking. Journal of Telecommunications and Information Technology, 2008(1):29--42, January 2008.Google ScholarGoogle Scholar
  6. M. Goldman and S. Katz. MAVEN: Modular aspects verification. In Proceedings of TACAS 2007, pp. 308--322, Springer, LNCS, volume 4424. Google ScholarGoogle ScholarDigital LibraryDigital Library
  7. J. Hill, R. Szewczyk, A. Woo, S. Hollar, D. Culler, and K. Pister. System architecture directions for networked sensors. SIGPLAN Not., 35(11):93--104, 2000. Google ScholarGoogle ScholarDigital LibraryDigital Library
  8. K. Hoffman and P. Eugster. Cooperative aspect-oriented programming. Science of Computer Programming, 74(5--6):333--354, 2009. Google ScholarGoogle ScholarDigital LibraryDigital Library
  9. O. Kasten and K. Römer. Beyond event handlers: programming wireless sensors with attributed state machines. In Proceedings of IPSN'05, pp. 7. Google ScholarGoogle ScholarDigital LibraryDigital Library
  10. S. Katz. Aspect categories and classes of temporal properties. In Transactions on Aspect-Oriented Software Development I, pages 106--134. Springer, LNCS, volume 3880, 2006. Google ScholarGoogle ScholarDigital LibraryDigital Library
  11. G. Kiczales, E. Hilsdale, J. Hugunin, M. Kersten, J. Palm, and W. G. Griswold. An overview of aspectj. pp. 327--353, In Proceedings of ECOOP'01 Springer, LNCS, volume 2072. Google ScholarGoogle ScholarDigital LibraryDigital Library
  12. P. Levis. TinyOS Programming. Cambridge University Press, 2009. Google ScholarGoogle ScholarDigital LibraryDigital Library
  13. W. P. McCartney and N. Sridhar. Abstractions for safe concurrent programming in networked embedded systems. In Proceedings of SenSys'06, pp. 167--180. Google ScholarGoogle ScholarDigital LibraryDigital Library
  14. K. Terfloth, G. Wittenburg, and J. H. Schiller. FACTS - a rule-based middleware architecture for wireless sensor networks. In Proceedings of COMSWARE'06Google ScholarGoogle Scholar
  15. K. Whitehouse, C. Sharp, E. Brewer, and D. Culler. Hood: a neighborhood abstraction for sensor networks. In Proceedings of MobiSys'04, pp. 99--110. Google ScholarGoogle ScholarDigital LibraryDigital Library
  16. A. L. Murphy, G. P. Picco and G. C. Roman. LIME: A coordination model and middleware supporting mobility of hosts and agents. ACM Trans. Softw. Eng. Methodol, 2006. Google ScholarGoogle ScholarDigital LibraryDigital Library
  17. P. J. McCann and G. C. Roman. Mobile UNITY Coordination Constructs Applied to Packet Forwarding for Mobile Hosts. In Proceedings of COORDINATION '97. pp. 338--354. Google ScholarGoogle ScholarDigital LibraryDigital Library
  18. R. De Nicola and G. L. Ferrari and R. Pugliese. KLAIM: A Kernel Language for Agents Interaction and Mobility. IEEE Trans. Softw. Eng. pp. 315--330. IEEE Press, volume 24, 1998. Google ScholarGoogle ScholarDigital LibraryDigital Library

Index Terms

  1. PicOS tuples: easing event based programming in tiny pervasive 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
                MOMPES '10: Proceedings of the 7th International Workshop on Model-Based Methodologies for Pervasive and Embedded Software
                September 2010
                76 pages
                ISBN:9781450301237
                DOI:10.1145/1865875

                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: 20 September 2010

                Permissions

                Request permissions about this article.

                Request Permissions

                Check for updates

                Qualifiers

                • research-article

                Upcoming Conference

              PDF Format

              View or Download as a PDF file.

              PDF

              eReader

              View online with eReader.

              eReader