Abstract
Wireless sensor networks (WSNs) are evolving to support sense-and-react applications, where actuators are physically interspersed with the sensors that trigger them. This solution maximizes localized interactions, improving resource utilization and reducing latency w.r.t. solutions with a centralized sink. Nevertheless, application development becomes more complex: the control logic must be embedded in the network, and coordination among multiple tasks is needed to achieve the application goals.
This paper presents TeenyLime, a WSN middleware designed to address the above challenges. TeenyLime provides programmers with the high-level abstraction of a tuple space, enabling data sharing among neighboring devices. These and other WSN-specific constructs simplify the development of a wide range of applications, including sense-and-react ones. TeenyLime yields simpler, cleaner, and more reusable implementations, at the cost of only a very limited decrease in performance. We support these claims through a source-level, quantitative comparison between implementations based on TeenyLime and on mainstream approaches, and by analyzing measures of processing overhead and power consumption obtained through cycle-accurate emulation.
Chapter PDF
Similar content being viewed by others
References
Habitat Monitoring on the Great Duck Island, www.greatisland.net
Deshpande, A., Guestrin, C., Madden, S.: Resource-aware wireless sensor-actuator networks. IEEE Data Engineering 28(1) (2005)
Petriu, E., Georganas, N., Petriu, D., Makrakis, D., Groza, V.: Sensor-based information appliances. IEEE Instrumentation and Measurement Mag. 3, 31–35 (2000)
Manzie, C., Watson, H.C., Halgamuge, S.K., Lim, K.: On the potential for improving fuel economy using a traffic flow sensor network. In: Proc. of the Int. Conf. on Intelligent Sensing and Information Processing (2005)
Gelernter, D.: Generative communication in Linda. ACM Computing Surveys 7(1) (1985)
Whitehouse, K., Sharp, C., Brewer, E., Culler, D.: Hood: A neighborhood abstraction for sensor networks. In: Proc. of 2nd Int. Conf. on Mobile systems, applications, and services (2004)
Costa, P., Mottola, L., Murphy, A.L., Picco, G.P.: TeenyLime: Transiently Shared Tuple Space Middleware for Wireless Sensor Networks. In: Proc. of the 1st Int. Workshop on Middleware for Sensor Networks (MidSens) (2006)
Estrin, D., Govindan, R., Heidemann, J., Kumar, S.: Next century challenges: scalable coordination in sensor networks. In: MobiCom. Proc. of the 5th Int. Conf. on Mobile computing and networking (1999)
Akyildiz, I.F., Kasimoglu, I.H.: Wireless sensor and actor networks: Research challenges. Ad Hoc Networks Journal 2(4), 351–367 (2004)
Whitehouse, K., Culler, D.: Calibration as parameter estimation in sensor networks. In: Proc. of the 1st Int. Wkshp. on Wireless sensor networks and applications (2002)
Abdelzaher, T., et al.: Envirotrack: Towards an environmental computing paradigm for distributed sensor networks. In: ICDCS. Proc. of the 24th Int. Conf. on Distributed Computing Systems (2004)
Al-Karaki, J.N., Kamal, A.E.: Routing techiniques in wireless sensor networks: a survey. IEEE Wireless Communications 11(6) (2004)
Wan, C.Y., Campbell, A.T., Krishnamurthy, L.: Reliable transport for sensor networks: PSFQ—Pump slowly fetch quickly paradigm. Wireless sensor networks (2004)
Rowstron, A.: WCL: A coordination language for geographically distributed agents. World Wide Web Journal 1(3), 167–179 (1998)
Gay, D., Levis, P., von Behren, R.: The NesC language: A holistic approach to networked embedded systems. In: Proc. of the ACM Conf. on Programming Language Design and Implementation, ACM Press, New York (2003)
Costa, P., Mottola, L., Murphy, A.L., Picco, G.P.: Developing Sensor Network Applications Using the TeenyLime: Middleware. Technical Report DIT-07-059, University of Trento, Italy (2006), Available at dit.unitn.it/~picco/papers/teenylimeTR.pdf
Intanagonwiwat, C., et al.: Directed diffusion for wireless sensor networking. IEEE/ACM Trans. Networking 11(1) (2003)
van Dam, T., Langendoen, K.: An adaptive energy-efficient MAC protocol for wireless sensor networks. In: SENSYS. Proc. of the 1st Conf. on Networked Sensor Systems (2003)
Rajendran, V., Obraczka, K., Garcia-Luna-Aceves, J.J.: Energy-efficient, collision-free medium access control for wireless sensor networks. Wirel. Netw. 12(1) (2006)
Kasten, O., Römer, K.: Beyond event handlers: programming wireless sensors with attributed state machines. In: Proc. of the 4th Symp. on Information processing in sensor networks (2005)
Titzer, B., Lee, D., Palsberg, J.: Avrora: scalable sensor network simulation with precise timing. In: Proc. of the 4th Int. Symp. on Information processing in sensor networks (2005)
Crossbow Technology Inc., http://www.xbow.com
Naik, P., Sivalingam, K.M.: A survey of MAC protocols for sensor networks. Wireless sensor networks, 93–107 (2004)
Murphy, A.L., Picco, G.P., Roman, G.C.: Lime: A coordination model and middleware supporting mobility of hosts and agents. ACM Trans. on Software Engineering and Methodology (TOSEM) 15(3), 279–328 (2006)
Curino, C., Giani, M., Giorgetta, M., Giusti, A., Murphy, A.L., Picco, G.P.: Mobile data collection in sensor networks: The TinyLime middleware. Elsevier Pervasive and Mobile Computing Journal 4(1), 446–469 (2005)
Welsh, M., Mainland, G.: Programming sensor networks using abstract regions. In: Proc. of the 1st Symp. on Networked Systems Design and Implementation (2004)
Jonsson, M.: Supporting Context Awareness with the Context Shadow Infrastructure. In: Wkshp. on Affordable Wireless Services and Infrastructure (June 2003)
Fok, C.L., Roman, G.C., Lu, C.: Rapid development and flexible deployment of adaptive wireless sensor network applications. In: ICDCS. Proc. of the 25th IEEE Int. Conf. on Distributed Computing Systems, IEEE Computer Society Press, Los Alamitos (2005)
Author information
Authors and Affiliations
Editor information
Rights and permissions
Copyright information
© 2007 IFIP International Federation for Information Processing
About this paper
Cite this paper
Costa, P., Mottola, L., Murphy, A.L., Picco, G.P. (2007). Programming Wireless Sensor Networks with the TeenyLime Middleware . In: Cerqueira, R., Campbell, R.H. (eds) Middleware 2007. Middleware 2007. Lecture Notes in Computer Science, vol 4834. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-540-76778-7_22
Download citation
DOI: https://doi.org/10.1007/978-3-540-76778-7_22
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-540-76777-0
Online ISBN: 978-3-540-76778-7
eBook Packages: Computer ScienceComputer Science (R0)