Skip to main content
Log in

EasiSMP: A Resource-Oriented Programming Framework Supporting Runtime Propagation of RESTful Resources

  • Regular Paper
  • Published:
Journal of Computer Science and Technology Aims and scope Submit manuscript

Abstract

In order to simplify programming for building sensor networks, macro-programming methods have been proposed in prior work. Most of them are designed for the dedicated networks and specific scenarios where devices are mostly homogeneous. Nevertheless the methods rarely consider those shared networks which are composed of heterogeneous devices, e.g., sensors, actuators, mobile devices, and share resources among themselves. In this paper, we present EasiSMP, a resource-oriented programming framework for these shared networks and generic application scenarios. In this framework, the devices and their functionalities are abstracted into RESTful virtual resources (VRs) each of which is labelled by a uniform resource identifier (URI). The post-deployment VR can be globally accessed and reused to propagate new resource(s) at runtime. To support the resource propagation, programming primitives are proposed and a virtual resource engine (VRE) is studied. To perform evaluation, EasiSMP is deployed into a relic monitoring network. Experimental results show that programming using Ea-siSMP is concise, and the average deployment overhead is decreased by up to 27% compared with the node-level programming.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Institutional subscriptions

Similar content being viewed by others

References

  1. Hossain M S, Alim Al Islam A B M, Kulkarni M, Raghunathan V. uSETL: A set based programming abstraction for wireless sensor networks. In Proc. the 10th International Conference on Information Processing in Sensor Networks, April 2011, pp.354-365.

  2. Vicaire P A, Xie Z, Hoque E, Stankovic J A. Physicalnet: A generic framework for managing and programming across pervasive computing networks. In Proc. the 16th IEEE Real-Time and Embedded Technology and Applications Symposium, April 2010, pp.269-278.

  3. Welsh M, Mainland G. Programming sensor networks using abstract regions. In Proc. the 1st Conference on Symposium on Networked Systems Design and Implementation, March 2004, pp.29-42.

  4. Whitehouse K, Sharp C, Brewer E, Culler D. Hood: A neighborhood abstraction for sensor networks. In Proc. the 2nd International Conference on Mobile Systems, June 2004, pp.99-110.

  5. Rowe A, Berges M, Bhatia G et al. Sensor Andrew: Large-scale campus-wide sensing and actuation. IBM Journal of Research and Development, 2011, 55(1/2): 66–79.

    Google Scholar 

  6. Priyantha N B, Kansal A, Goraczko M, Zhao F. Tiny web services: Design and implementation of interoperable and evolvable sensor networks. In Proc. the 6th ACM Conference on Embedded Network Sensor Systems, November 2008, pp.253-266.

  7. Souza L M S, Spiess P, Guinard D et al. SOCRADES: A web service based shop floor integration infrastructure. In Proc. the 1st International Conference on The Internet of Things, March 2008, pp.50-67.

  8. Fielding R T, Taylor R N. Principled design of the modern Web architecture. ACM Trans. Internet Technology, 2002, 2(2): 115–150.

    Article  Google Scholar 

  9. Dawson-Haggerty S, Jiang X F, Tolle G et al. sMAP — A simple measurement and actuation profile for physical information. In Proc. the 8th ACM Conference on Embedded Network Sensor Systems, November 2010, pp.197-210.

  10. Bormann C, Castellani A P, Shelby Z. CoAP: An application protocol for billions of tiny Internet nodes. IEEE Internet Computing, 2012, 16(2): 62–67.

    Article  Google Scholar 

  11. Li D, Hui C L, Huang X, Zhao Z, Cui L. Application case of wireless sensor networks: Museum. Communications of CCF, 2006, 2(5): 72–74.

    Google Scholar 

  12. Guinard D, Trifa V, Wilde E. A resource oriented architecture for the Web of Things. In Proc. the 2nd International Conference on The Internet of Things, November 29-December 1, 2010.

  13. Gay D, Levis P, Von Behren R et al. The nesC language: A holistic approach to networked embedded systems. In Proc. the ACM SIGPLAN 2003 Conference on Programming Language Design and Implementation, June 2003, pp.1-11.

  14. Levis P, Madden S, Polastre J et al. TinyOS: An operating system for sensor network. In Ambient Intelligence, Weber W, Rabaey J M, Aarts E (eds.), Springer Berlin Heidelberg, 2005, pp.115-148.

  15. Dunkels A, Gronvall B, Voigt T. Contiki — A lightweight and flexible operating system for tiny networked sensors. In Proc. the 29th Annual IEEE International Conference on Local Computer Networks, November 2004, pp.455-462.

  16. Panta R K, Khalil I M, Bagchi S. Stream: Low overhead wireless reprogramming for sensor networks. In Proc. the 26th IEEE International Conference on Computer Communication, May 2007, pp.928-936.

  17. Qiu J F, Li D, Shi H L, Du W Z, Cui L. EasiCache: A low-overhead sensor network reprogramming approach based on cache mechanism. Chinese Journal of Computers, 2012, 35(3): 555–567.

    Article  Google Scholar 

  18. Tavakoli A, Kansal A, Nath S. On-line sensing task optimization for shared sensors. In Proc. the 9th International Conference on Information Processing in Sensor Networks, April 2010, pp.47-57.

  19. Cerullo M, Fazio G, Fabbri M et al. Acoustic signal processing to diagnose transiting electric trains. IEEE Trans. Intelligent Transportation Systems, 2005, 6(2): 238–243.

    Article  Google Scholar 

  20. Suzuki M, Saruwatari S, Kurata N, Morikawa H. A high-density earthquake monitoring system using wireless sensor networks. In Proc. the 5th ACM Conference on Embedded Network Sensor Systems, November 2007, pp.373-374.

  21. Lorincz K, Chen B R, Waterman J et al. Resource aware programming in the Pixie OS. In Proc. the 6th ACM Conference on Embedded Network Sensor Systems, November 2008, pp.211-224.

  22. Jayasumana A P, Han Q, Illangasekare T H. Virtual sensor networks — A resource efficient approach for concurrent applications. In Proc. the 4th International Conference on Information Technology, April 2007, pp.111-115.

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Dong Li.

Additional information

This research is supported by the Strategic Priority Research Program of the Chinese Academy of Sciences under Grant No. XDA06010403, the International Science and Technology Cooperation Program of China under Grant No. 2013DFA10690, the National Natural Science Foundation of China under Grant No. 61003293, and the Beijing Natural Science Foundation under Grant No. 4112054.

Electronic supplementary material

Below is the link to the electronic supplementary material.

ESM 1

(DOC 27 kb)

Rights and permissions

Reprints and permissions

About this article

Cite this article

Qiu, JF., Li, D., Shi, HL. et al. EasiSMP: A Resource-Oriented Programming Framework Supporting Runtime Propagation of RESTful Resources. J. Comput. Sci. Technol. 29, 194–204 (2014). https://doi.org/10.1007/s11390-014-1422-0

Download citation

  • Received:

  • Revised:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s11390-014-1422-0

Keywords

Navigation