Abstract
Recent advances in Microelectronic Mechanical Systems (MEMS) and wireless communication technologies have fostered the rapid development of networked embedded systems like wireless sensor networks. System software for these self-organizing systems often needs to be updated for a variety of reasons. We present a holistic software update (i.e., reprogramming) system called R3 for networked embedded systems. R3 has two salient features. First, the binary differencing algorithm within R3 (R3diff) ensures an optimal result in terms of the delta size under a configurable cost measure. Second, the similarity preserving method within R3 (R3sim) optimizes the binary code format for achieving a large similarity with a small metadata overhead. Overall, R3 achieves the smallest delta size compared with other software update approaches such as Stream, Rsync, RMTD, Zephyr, Hermes, and R2 (e.g., 50%--99% reduction compared to Stream and about 20%--40% reduction compared to R2). R3’s implementation on TelosB/TinyOS is lightweight and efficient. We release our code at http://code.google.com/p/r3-dongw.
- Wei Dong, Chun Chen, Jiajun Bu, and Chao Huang. 2013. Enabling efficient reprogramming through reduction of executable modules in networked embedded systems. Ad Hoc Networks 11, 1 (2013), 473--489. Google ScholarDigital Library
- Wei Dong, Chun Chen, Xue Liu, Jiajun Bu, and Yi Gao. 2011. A lightweight and density-aware reprogramming protocol for wireless sensor networks. IEEE Transactions on Mobile Computing 10, 10 (2011), 1403--1415. Google ScholarDigital Library
- Wei Dong, Yunhao Liu, Chun Chen, Jiajun Bu, Chao Huang, and Zhiwei Zhao. 2013. R2: Incremental reprogramming using relocatable code in networked embedded systems. IEEE Transactions on Computers 62, 9 (2013), 1837--1849. Google ScholarDigital Library
- Wei Dong, Yunhao Liu, Chao Wang, Xue Liu, Chun Chen, and Jiajun Bu. 2011. Link quality aware code dissemination in wireless sensor networks. In Proceedings of IEEE ICNP. 89--98. Google ScholarDigital Library
- Wei Dong, Yunhao Liu, Xiaofan Wu, Lin Gu, and Chun Chen. 2010. Elon: Enabling efficient and long-term reprogramming for wireless sensor networks. In Proceedings of ACM SIGMETRICS. 49--60. Google ScholarDigital Library
- Wei Dong, Biyuan Mo, Chao Huang, Yunhao Liu, and Chun Chen. 2013. R3: Optimizing relocatable code for efficient reprogramming in networked embedded systems. In Proceedings of IEEE INFOCOM. 315--319.Google ScholarCross Ref
- Adam Dunkels, Niclas Finne, Joakim Eriksson, and Thiemo Voigt. 2006. Run-time dynamic linking for reprogramming wireless sensor networks. In Proceedings of ACM SenSys. 15--28. Google ScholarDigital Library
- Adam Dunkels, Björn Grönvall, and Thiemo Voigt. 2004. Contiki—a lightweight and flexible operating system for tiny networked sensors. In Proceedings of IEEE EmNets. Google ScholarDigital Library
- Yi Gao, Jiajun Bu, Wei Dong, Chun Chen, Lei Rao, and Xue Liu. 2013. Exploiting concurrency for efficient dissemination in wireless sensor networks. IEEE Transactions on Parallel and Distributed Systems 24, 4 (2013), 691--700. Google ScholarDigital Library
- Andrew Hagedorn, David Starobinski, and Ari Trachtenberg. 2008. Rateless Deluge: Over-the-air programming of wireless sensor networks using random linear codes. In Proceedings of ACM/IEEE IPSN. 457--466. Google ScholarDigital Library
- Chih-Chieh Han, Ram Kumar, Roy Shea, Eddie Kohler, and Mani Srivastava. 2005. A dynamic operating system for sensor nodes. In Proceedings of ACM MobiSys. 163--176. Google ScholarDigital Library
- Jingtong Hu, Chun Jason Xue, and Yi He. 2009. Reprogramming with minimal transferred data on wireless sensor network. In Proceedings of IEEE MASS. 160--167.Google ScholarCross Ref
- Leijun Huang and Sanjeev Setia. 2008. CORD: Energy-efficient reliable bulk data dissemination in sensor networks. In Proceedings of IEEE INFOCOM. 574--582.Google ScholarCross Ref
- Jonathan W. Hui and David Culler. 2004. The dynamic behavior of a data dissemination protocol for network programming at scale. In Proceedings of ACM SenSys. 81--94. Google ScholarDigital Library
- Jaein Jeong and David Culler. 2004. Incremental network programming for wireless sensors. In Proceedings of IEEE SECON. 25--33.Google ScholarCross Ref
- Joel Koshy and Raju Pandey. 2005a. Remote incremental linking for energy-efficient reprogramming of Sensor Networks. In Proceedings of EWSN. 354--365.Google ScholarCross Ref
- Joel Koshy and Raju Pandey. 2005b. VM*: Synthesizing scalable runtime environments for sensor networks. In Proceedings of ACM SenSys. 243--254. Google ScholarDigital Library
- Sandeep S. Kulkarni and Limin Wang. 2005. MNP: Multihop network reprogramming service for sensor networks. In Proceedings of IEEE ICDCS. 7--16. Google ScholarDigital Library
- John R. Levine. 2000. Linkers and Loaders. Morgan Kaufmann. Google ScholarDigital Library
- Philip Levis and David Culler. 2002. Maté: A tiny virtual machine for sensor networks. In Proceedings of ACM ASPLOS. 85--95. Google ScholarDigital Library
- Philip Levis, Neil Patel, David Culler, and Scott Shenker. 2004. Trickle: A self-regulating algorithm for code propagation and maintenance in wireless sensor networks. In Proceedings of USENIX NSDI. 15--28. Google ScholarDigital Library
- Liang, Chieh-Jan Mike, and Andreas Terzis. 2008. Koala: Ultra-low power data retrieval in wireless sensor networks. In Proceedings of ACM/IEEE IPSN. 421--432. Google ScholarDigital Library
- Pedro José Marrón, Matthias Gauger, Andreas Lachenmann, Daniel Minder, Olga Saukh, and Kurt Rothermel. 2006. FlexCup: A flexible and efficient code update mechanism for sensor networks. In Proceedings of EWSN. 212--227. Google ScholarDigital Library
- Lufeng Mo, Yuan He, Yunhao Liu, Jizhong Zhao, Shaojie Tang, Xiang-Yang Li, and Guojun Dai. 2009. Canopy closure estimates with GreenOrbs: Sustainable sensing in the forest. In Proceedings of ACM SenSys. 99--112. Google ScholarDigital Library
- Vinayak Naik, Anish Arora, Prasun Sinha, and Hongwei Zhang. 2005. Sprinkler: A reliable and energy efficient data dissemination service for wireless embedded devices. In Proceedings of IEEE RTSS. 277--286. Google ScholarDigital Library
- Rajesh K. Panta and Saurabh Bagchi. 2009. Hermes: Fast and energy efficient incremental code updates for wireless sensor networks. In Proceedings of IEEE INFOCOM. 639--647.Google Scholar
- Rajesh Krishna Panta, Saurabh Bagchi, and Samuel P. Midkiff. 2009. Zephyr: Efficient incremental reprogramming of sensor nodes using function call indirections and difference computation. In Proceedings of USENIX Annual Technical Conference. Google ScholarDigital Library
- Rajesh Krishna Panta, Issa Khalil, and Saurabh Bagchi. 2007. Stream: Low overhead wireless reprogramming for sensor networks. In Proceedings of IEEE INFOCOM. 928--936.Google ScholarDigital Library
- Joseph Polastre, Robert Szewczyk, and David Culler. 2005. Telos: Enabling ultra-low power wireless research. In Proceedings of ACM/IEEE IPSN. 364--369. Google ScholarDigital Library
- Dutta Prabal, Hui Jonathan, Jeong Jaein, Kim Sukun, Sharp Cory, Taneja Jay, Tolle Gilman, Whitehouse Kamin, and Culler David. 2006. Trio: Enabling sustainable and scalable outdoor wireless sensor network deployments. In Proceedings of ACM/IEEE IPSN. 407--415. Google ScholarDigital Library
- Michele Rossi, Giovanni Zanca, Luca Stabellini, Riccardo Crepaldi, Albert F. Harris III, and Michele Zorzi. 2008. SYNAPSE: A network reprogramming protocol for wireless sensor networks using Fountain codes. In Proceedings of IEEE SECON. 188--196.Google ScholarCross Ref
- C. Sadler and M. Martonosi. 2006. Data compression algorithms for energy-constrained devices in delay tolerant networks. In Proceedings of ACM SenSys. 265--278. Google ScholarDigital Library
- Chen Shu, Huang Yan, and Chengyang Zhang. 2008. Toward a real and remote wireless sensor network testbed. In Proceedings of International Conference on Wireless Algorithms, Systems, and Applications (WASA). 385--396. Google ScholarDigital Library
- TIS Committee. 1995. Tool Interface Standard (TIS) Executable and Linking Format (ELF) Specification Version 1.2. Retrieved from http://refspecs.freestandards.org/elf/elf.pdf.Google Scholar
- Gilman Tolle and David Culler. 2005. Design of an application-cooperative management system for wireless sensor networks. In Proceedings of EWSN. 121--132.Google ScholarCross Ref
- Nicolas Tsiftes, Adam Dunkels, and Thiemo Voigt. 2008. Efficient sensor network reprogramming through compression of executable modules. In Proceedings of IEEE SECON. 359--367.Google ScholarCross Ref
Index Terms
- Optimizing Relocatable Code for Efficient Software Update in Networked Embedded Systems
Recommendations
An efficient remote code update mechanism for wireless sensor networks
MILCOM'09: Proceedings of the 28th IEEE conference on Military communicationsWireless Sensor Networks (WSNs) are becoming increasingly important because of their reduced cost and a range of real world military applications. The ability to update the code wirelessly is important for their highly dynamic environments. The need to ...
An efficient code update solution for wireless sensor network reprogramming
EMSOFT '13: Proceedings of the Eleventh ACM International Conference on Embedded SoftwareWe present an incremental code update strategy used to efficiently reprogram wireless sensor nodes. We adapt a linear space and quadratic time algorithm (Hirschberg's algorithm) for computing maximal common subsequences to build an edit map specifying ...
Elon: enabling efficient and long-term reprogramming for wireless sensor networks
Performance evaluation reviewWe present a new mechanism called Elon for enabling efficient and long-term reprogramming in wireless sensor networks. Elon reduces the transferred code size significantly by introducing the concept of replaceable component. It avoids the cost of ...
Comments