Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
skip to main content
10.1007/978-3-642-11917-0_11guideproceedingsArticle/Chapter ViewAbstractPublication PagesewsnConference Proceedingsconference-collections
Article

Wiselib: a generic algorithm library for heterogeneous sensor networks

Published: 17 February 2010 Publication History

Abstract

One unfortunate consequence of the success story of wireless sensor networks (WSNs) in separate research communities is an ever-growing gap between theory and practice. Even though there is a increasing number of algorithmic methods for WSNs, the vast majority has never been tried in practice; conversely, many practical challenges are still awaiting efficient algorithmic solutions. The main cause for this discrepancy is the fact that programming sensor nodes still happens at a very technical level. We remedy the situation by introducing Wiselib, our algorithm library that allows for simple implementations of algorithms onto a large variety of hardware and software. This is achieved by employing advanced C++ techniques such as templates and inline functions, allowing to write generic code that is resolved and bound at compile time, resulting in virtually no memory or computation overhead at run time.
The Wiselib runs on different host operating systems, such as Contiki, iSense OS, and ScatterWeb. Furthermore, it runs on virtual nodes simulated by Shawn. For any algorithm, the Wiselib provides data structures that suit the specific properties of the target platform. Algorithm code does not contain any platform-specific specializations, allowing a single implementation to run natively on heterogeneous networks.
In this paper, we describe the building blocks of the Wiselib, and analyze the overhead. We demonstrate the effectiveness of our approach by showing how routing algorithms can be implemented. We also report on results from experiments with real sensor-node hardware.

References

[1]
Alexandrescu, A.: Modern C++ Design. Addison-Wesley, Reading (2001).
[2]
Boost, http://www.boost.org
[3]
Boulis, A., Han, C.-C., Srivastava, M.B.: Design and implementation of a framework for efficient and programmable sensor networks. In: Proceedings of MobiSys 2003, pp. 187-200. ACM, New York (2003).
[4]
CGAL: Computational Geometry Algorithms Library, http://www.cgal.org
[5]
Dunkels, A.: Poster abstract: Rime - a lightweight layered communication stack for sensor networks. In: Proceedings of EWSN 2007, Poster/Demo session (2007).
[6]
Dunkels, A., Gronvall, B., Voigt, T.: Contiki - a lightweight and flexible operating system for tiny networked sensors. In: LCN 2004: Proceedings of the 29th Annual IEEE International Conference on Local Computer Networks (2004).
[7]
Gay, D., Levis, P., von Behren, R., Welsh, M., Brewer, E., Culler, D.: The nesc language: A holistic approach to networked embedded systems. In: Proceedings of Programming Language Design and Implementation, PLDI (2003).
[8]
GNUMP: GNU Multiple Precision Arithmetic Library, http://gmplib.org/
[9]
Gummadi, R., Gnawali, O., Govindan, R.: Macro-programming wireless sensor networks using kairos. In: Prasanna, V.K., Iyengar, S.S., Spirakis, P.G., Welsh, M. (eds.) DCOSS 2005. LNCS, vol. 3560, pp. 126-140. Springer, Heidelberg (2005).
[10]
He, Z., Österlind, F., Dunkels, A.: An adaptive communication architecture for wireless sensor networks. In: Proceedings of ACM SenSys (2007).
[11]
Hnat, T.W., Sookoor, T.I., Hooimeijer, P., Weimer, W., Whitehouse, K.: Macrolab: a vector-based macroprogramming framework for cyber-physical systems. In: Processings of the ACM SenSys 2008, New York, NY, USA, pp. 225-238 (2008).
[12]
ISO/IEC JTC1 SC22 WG21. ISO/IEC TR 18015: Technical Report on C++ Performance. Technical report (February 2006).
[13]
Kahn, J.M., Katz, R.H., Pister, K.S.J.: Next century challenges: mobile networking for "smart dust". In: MobiCom 1999: Proceedings of the 5th annual ACM/IEEE international conference on Mobile computing and networking, pp. 271-278. ACM, New York (1999).
[14]
Levis, P., Culler, D.: Mate: A tiny virtual machine for sensor networks. In: International Conference on Architectural Support for Programming Languages and Operating Systems, San Jose, CA, USA (October 2002).
[15]
Liu, A., Ning, P.: TinyECC: A Configurable Library for Elliptic Curve Cryptography in Wireless Sensor Networks. In: IPSN 2008: Proceedings of the 7th international conference on Information processing in sensor networks (2008).
[16]
Sauter, R., Marrón, P.J., Dunkels, A., Voigt, T., Tsiftes, N., Finne, N., Österlind, F., Eriksson, J.: Demo abstract: Towards interoperability testing for wireless sensor networks with cooja/mspsim. In: Roedig, U., Sreenan, C.J. (eds.) EWSN 2009. LNCS, vol. 5432. Springer, Heidelberg (2009).
[17]
Shaylor, N., Simon, D.N., Bush, W.R.: A java virtual machine architecture for very small devices. In: LCTES 2003: Proceedings of the 2003 ACM SIGPLAN conference on Language, compiler, and tool for embedded systems (2003).
[18]
Simon, D., Cifuentes, C.: The squawk virtual machine: Java on the bare metal. In: OOPSLA 2005, pp. 150-151. ACM, New York (2005).
[19]
Stroustrup, B.: The C++ Programming Language. Addison-Wesley, Reading (2000).
[20]
TinyOS, http://www.tinyos.net
[21]
Vandevoorde, D., Josuttis, N.M.: C++ Templates: The Complete Guide. Addison-Wesley, Reading (2003).
[22]
Whitehouse, K., Tolle, G., Taneja, J., Sharp, C., Kim, S., Jeong, J., Hui, J., Dutta, P., Culler, D.: Marionette: using rpc for interactive development and debugging of wireless embedded networks. In: IPSN 2006, New York, USA, pp. 416-423 (2006).

Cited By

View all
  • (2016)Competition: An Adaptive Protocol Stack for High-Dependability based on the Population Protocols ParadigmProceedings of the 2016 International Conference on Embedded Wireless Systems and Networks10.5555/2893711.2893779(291-292)Online publication date: 15-Feb-2016
  • (2016)Operating Systems for Internet of ThingsProceedings of the Second International Conference on Information and Communication Technology for Competitive Strategies10.1145/2905055.2905105(1-6)Online publication date: 4-Mar-2016
  • (2013)Configuration and operation of networked control systems over heterogeneous WSANsACM Transactions on Embedded Computing Systems10.1145/2536747.253675613:1s(1-24)Online publication date: 6-Dec-2013
  • Show More Cited By

Recommendations

Comments

Information & Contributors

Information

Published In

cover image Guide Proceedings
EWSN'10: Proceedings of the 7th European conference on Wireless Sensor Networks
February 2010
339 pages
ISBN:3642119166
  • Editors:
  • Jorge Sá Silva,
  • Bhaskar Krishnamachari,
  • Fernando Boavida

Sponsors

  • CONET
  • Eneida, Fundação Luso-Americana, Libelium: Eneida, Fundação Luso-Americana, Libelium
  • Galp: Galp

Publisher

Springer-Verlag

Berlin, Heidelberg

Publication History

Published: 17 February 2010

Author Tags

  1. algorithms
  2. heterogeneity
  3. library
  4. sensor networks

Qualifiers

  • Article

Acceptance Rates

Overall Acceptance Rate 81 of 195 submissions, 42%

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • Downloads (Last 12 months)0
  • Downloads (Last 6 weeks)0
Reflects downloads up to 01 Sep 2024

Other Metrics

Citations

Cited By

View all
  • (2016)Competition: An Adaptive Protocol Stack for High-Dependability based on the Population Protocols ParadigmProceedings of the 2016 International Conference on Embedded Wireless Systems and Networks10.5555/2893711.2893779(291-292)Online publication date: 15-Feb-2016
  • (2016)Operating Systems for Internet of ThingsProceedings of the Second International Conference on Information and Communication Technology for Competitive Strategies10.1145/2905055.2905105(1-6)Online publication date: 4-Mar-2016
  • (2013)Configuration and operation of networked control systems over heterogeneous WSANsACM Transactions on Embedded Computing Systems10.1145/2536747.253675613:1s(1-24)Online publication date: 6-Dec-2013
  • (2012)Debugging the internet of thingsProceedings of the 11th international conference on Ad-hoc, Mobile, and Wireless Networks10.1007/978-3-642-31638-8_16(207-220)Online publication date: 9-Jul-2012
  • (2010)Demo abstractProceedings of the 4th international conference on Real-world wireless sensor networks10.5555/1947841.1947865(174-177)Online publication date: 16-Dec-2010
  • (2010)Distributed game-theoretic vertex coloringProceedings of the 14th international conference on Principles of distributed systems10.5555/1940234.1940247(103-118)Online publication date: 14-Dec-2010
  • (2010)Topology control algorithms in WISELIBProceedings of the 2010 ICSE Workshop on Software Engineering for Sensor Network Applications10.1145/1809111.1809118(14-19)Online publication date: 3-May-2010

View Options

View options

Media

Figures

Other

Tables

Share

Share

Share this Publication link

Share on social media