Abstract
In Wireless Sensor Networks, the preloaded program code and data on sensor nodes often need to be updated due to changes in user requirements or environmental conditions. Sensor nodes are severely restricted by energy constraints. It is especially energy consuming for sensor nodes to update code through radio packages. To efficiently update code through radio, we propose an algorithm, Minimum Data trasferred by Copying and Downloading (MDCD), to find the optimum combination of copying from the old code image and downloading from the host machine to minimize the number of bytes needed to be transferred from the host machine to the sensor node. Our experiments show that, for small code modifications, MDCD reduces the number of bytes transferred by 92.77% over the existing Rsync-based algorithm. For normal code changes, MDCD shows an improvement of 46.03% in average.
This work is partially supported by TI University Program, NSF CCR-0309461, NSF IIS-0513669, HK CERG B-Q60B and NSFC 60728206.
Preview
Unable to display preview. Download preview PDF.
Similar content being viewed by others
References
Levis, P., Culler, D.: Mate: A tiny virtual machine for sensor networks. In: International Conference on Architectural Support for Programming Languages and Operating Systems (ASPLOS) (2007)
Reijers, N., Langendoen, K.: Efficient code distribution in wireless sensor networks. In: International Workshop on Wireless Sensor Network Architecture, pp. 60–67 (2003)
Jeong, J.: Node-level representation and system support for network programming, p. 109 (December 2003)
Jeong, J., Culler, D.: Incremental network programming for wireless sensors. In: IEEE SECON, p. 109 (October 2004)
Tridgll, A.: Efficient Algorithms for Sorting and Synchronization, Ph.D. thesis, Australian National University (1999)
Li, W., Zhang, Y., Yang, J., Zheng, J.: Ucc:update-conscious compilation for energy efficiency in wireless sensor networks. In: PLDI 2007, pp. 104–109 (June 2007)
Ernst, D., Austin, T.M., Mudge, T., Brown, R.B., Guthaus, M.R., Ringenberg, J.S.: Mibench: A free, commercially representative embedded benchmark suite. In: IEEE 4th Annual Workshop on Workload Characterization (December 2001)
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2008 Springer-Verlag Berlin Heidelberg
About this paper
Cite this paper
Hu, J. et al. (2008). Minimizing Transferred Data for Code Update on Wireless Sensor Network. In: Li, Y., Huynh, D.T., Das, S.K., Du, DZ. (eds) Wireless Algorithms, Systems, and Applications. WASA 2008. Lecture Notes in Computer Science, vol 5258. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-540-88582-5_34
Download citation
DOI: https://doi.org/10.1007/978-3-540-88582-5_34
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-540-88581-8
Online ISBN: 978-3-540-88582-5
eBook Packages: Computer ScienceComputer Science (R0)