Web Services for Things

  • Guangyan Huang
  • Jing He
  • Yanchun Zhang


In this chapter, we introduce an interesting type of Web services for “things”. Existing Web services are applications across the Web that perform functions mainly to satisfy users’ social needs “from simple requests to complicated business processes”. Throughout history, humans have accumulated lots of knowledge about diverse things in the physical world. However, human knowledge about the world has not been fully used on the current Web which focuses on social communication; the prospect of interacting with things other than people on the future Web is very exciting. The purpose of Web services for “things” is to provide a tunnel for people to interact with things in the physical world from anywhere through the Internet. Extending the service targets from people to anything challenges the existing techniques of Web services from three aspects: first, an unified interface should be provided for people to describe the needs of things; then basic components should be designed in a Web service for things; finally, implementation of a Web service for things should be optimized when mashing up multiple sub Web services.

We tackle the challenges faced by a Web service for things and make the best use of human knowledge from the following aspects. We first define a context of things as an unified interface. The users’ description (semantic context) and sensors (sensing context) are two channels for acquiring the context of things. Then, we define three basic modules for a Web service for things: ontology Web services to unify the context of things, machine readable domain knowledge Web services and event report Web services (such as weather report services and sensor event report services). Meanwhile, we develop a Thing-REST framework to optimally mashup structures to loosely couple the three basic modules. We employ a smart plant watering service application to demonstrate all the techniques we have developed .


Semantic Context User Context Uniform Resource Identifier Uniform Resource Locator Ontology Service 
These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.


  1. 1.
    Abowd, G. D. et al.: The computer for the 21st century. IEEE Pervasive Computing 1(3) (2002) 22–23.Google Scholar
  2. 2.
    Avraham, S. et al.: The plant ontology database: a community resource for plant structure and developmental stages controlled vocabulary and annotations. Nucleic Acids Res. 36 (2008) 449–454.Google Scholar
  3. 3.
    Bio-ontoloty. Open biological and biomedical ontologies., (2011)
  4. 4.
    Castellani, A. P., Bui, N., Casari, P., Rossi, M., Shelby, Z., and Zorzi, M.: Architecture and protocols for the internet of things: A case study. In Proc. 1st IEEE Int’l. Wksp. Web of Things (WoT’10) at IEEE PERCOM (2010).Google Scholar
  5. 5.
    Ceri, S., Daniel, F., Facca, F. M., and Matera, M.: Model-driven engineering of active context-awareness. World Wide Web 10 (2007) 387–413.Google Scholar
  6. 6.
    Chandrasekaran, B.: Generic tasks in knowledge-based reasoning: high level building blocks for expert system design. IEEE Expert 1(3) (1986) 23–30.Google Scholar
  7. 7.
    Chen, G. and Kotz, D.: A survey of context aware mobile computing research. Tech. Rep. Dartmouth Computer Science Technical, Report TR2000381 (2000).Google Scholar
  8. 8.
    de Souza, L. M. S., Spiess, P., and Guinard, D.: Socrades: A web service based shop floor integration infrastructure. In Proceedings of the 1st international conference on The internet of things. Springer, Switzerland, (2008) 50–67.Google Scholar
  9. 9.
    Dengler, S., Awad, A., and Dressler, F.: Sensor/actuator networks in smart homes for supporting elderly and handicapped people. In Proceedings of the 21st International Conference on Advanced Information Networking and Applications Workshops (AINAW’07). Niagara Falls, (2007) 863–868.Google Scholar
  10. 10.
    Dey, A. K. and Abowd, G. D.: Towards a better understanding of context and context-awareness. Tech. Rep. Technical Report GIT-GVU-99-22, GVU Center, Georgia Institute of Technology (1999).Google Scholar
  11. 11.
    Dey, A. K. and Mankoff, J.: Designing mediation for context-aware applications. ACM Transactionsion Computer-Human Interaction 12(1) (2005) 53–80.Google Scholar
  12. 12.
    Dickerson, R., Lu, J. K., and Whitehouse, K.: Stream feeds an abstraction for the world wide sensor web. In Proceedings of the 1st international conference on The internet of things, (2008) 360–375.Google Scholar
  13. 13.
    Drytkiewicz, W., Radusch, I., Arbanowski, S., and Popescu-Zeletin, R.: prest: A rest-based protocol for pervasive systems. In The proc. of MASS (2005).Google Scholar
  14. 14.
    Fensel, D. and Bussler, C.: The web service modeling framework wsmf. Electronic Commerce Research Journal 1(2) (2002) 113–137.Google Scholar
  15. 15.
    Fielding, R. T.: Architectural style and the designs of network-based software architectures. Ph.D. thesis, University of California, Irvine, USA (2000).Google Scholar
  16. 16.
    Fuhrer, P., Guinard, D.: Building a Smart Hospital using RFID Technologies. In ECEH(2006), pp. 131–142.Google Scholar
  17. 17.
    Gruber, T.: Toward principles for the design of ontologies used for knowledge sharing. International Journal Human-Computer Studies 43(5–6), (1995) 907–928.Google Scholar
  18. 18.
    Guinard, D., Trifa, V., Pham, T., and Liechti, O.: Towards physical mashups in the web of things. In The proceedings of Sixth International Conference on Networked Sensing Systems (INSS). Pittsburgh, USA, (2009) 1–4.Google Scholar
  19. 19.
    Haryanto, R.: Context-awareness in smart homes to support independent living. M.S. thesis, University of Technology, Sydney (2005).Google Scholar
  20. 20.
    He, J., Zhang, Y., Huang, G., and Cao, J.: A Smart Web Service based on the Context of Things. ACM Transactions on Internet Technology, 11(3), (2012).Google Scholar
  21. 21.
    Horrocks, I.: Ontologies and the semantic web. Communications of the ACM 51(12) (2008) 58–67.Google Scholar
  22. 22.
    Ivanova, M. and Ivanova, T.: Web 2.0 and web 3.0 environments: Possibilities for authoring and knowledge representation. Revista de Informatica Sociala 12 (2009) 7–21.Google Scholar
  23. 23.
    Kim, Y. B., and Kim, D.: Healthcare service with ubiquitous sensor networks for the disabled and elderly people. In ICCHP 2006, LNCS 4061, (2006) 716–723.Google Scholar
  24. 24.
    Kopecky, J., Gomadam, K., and T., V.: hrest: an html microformat for describing restful web services. In 2008 IEEE/WIC/ACM Internatinal Conference on Web Intelligence and Intelligent Agent Technology (2008).Google Scholar
  25. 25.
    Lorenzo, G. D., Hacid, H., and Paik, H.: Data integration in mashups. SIGMOD Record 38(1) (2009).Google Scholar
  26. 26.
    Lu, R. and Jin, Z.: Formal ontology: Foundation of domain knowledge sharing and reusing. Journal of Computer Science and Technology 17(5) (2002) 535–548.Google Scholar
  27. 27.
    Luckenbach, T., Gober, P., Arbanowski, S., Kotsopoulos, A., and Kim, K.: Tinyrest- a protocol for integrating sensor networks into the internet. In REALWSN (2005).Google Scholar
  28. 28.
    Manes: Enabling open, interoperable, and smart web services. (2001)
  29. 29.
    Mark, W.: The computer for the 21st century. Scientific American 265 (1991) 94–104.Google Scholar
  30. 30.
    Muehlen, M. Z., Nickerson, J. V., and Swenson, K. D.: Developing web services choreography standards - the case of rest vs. soap. Decision Support Systems 40 (2005) 9–29.Google Scholar
  31. 31.
    Ontology lookup service., (2011).
  32. 32.
    Rasch, K., Li, F., Sehic, S., Ayani, R., and Dustdar, S.: Context-driven personalized service discovery in pervasive environments. World Wide Web 14 (2011) 295–319.Google Scholar
  33. 33.
    Sheng, Q. Z., Pohlenz, S., Yu, J., Wong, H. S., Ngu, A. H. H., and Maamar, Z.: Contextserv: A platform for rapid and flexible development of context-aware web services. In The proceedings of the 31st International Conference on Software Engineering (ICSE’09). Canada (2009).Google Scholar
  34. 34.
    Sheth, A. P., Gomadam, K., and Lathem, J.: Sa-rest: Semantically interoperable and easier-to-use services and mashups. IEEE Internet Computing 11(6) (2007) 91–94.Google Scholar
  35. 35.
    Inventory of Future Capabilities of Internet to Meet Future Long and Short Term Needs of the Food Sector. (2012).
  36. 36.
    Sommer, S., Scholz, A., Buckl, C., Kemper, A., Knoll, A., Heuer, J., and Schmitt, A.: Towards the internet of things: Integration of web services and field level devices. In International Workshop on the Future Internet of Things and Services - Embedded Web Services for Pervasive Devices (at FITS 2009) (2009).Google Scholar
  37. 37.
    Swenson, K. D.: Workflow and web service standards. Buisiness Process Management Journal 11(3) (2005) 218–223.Google Scholar
  38. 38.
    Volz, R.: Web ontology reasoning with logic databases. Ph.D. thesis, Institute AIFB, University of Karlsruhe (2004).Google Scholar
  39. 39.
    Wayne: Tim berners-lee’s web of people, the online journalism review, 4th december 2007. (2007).
  40. 40.
    Wilde, E.: Putting things to rest. Tech. Rep. UCB iSchool Report 2007–015, UC Berkeley, USA (2007).Google Scholar
  41. 41.
    Yu, J., Sheng, Q. Z., Liao, K., and Wong, H. S.: Model-driven development of context-aware web services. In Enabling Context-Aware Web Services: Methods, Architectures, and Technologies (2009).Google Scholar
  42. 42.
    Zeeb, E., Bobek, A., Bohn, H., Priiter, S., Pohl, A., Krumm, H., Luck, I., Golatowski, F., and Timmermann, D.: Ws4d: Soa-toolkits making embedded systems ready for web services. The proc. of Open Source Software and Productlines (OSSPL07). Ireland (2007).Google Scholar
  43. 43.
    Zhao, H. and Doshi, P.: Towards automated restful web service composition. In 2009 IEEE International Conference on Web Services (2009).Google Scholar

Copyright information

© Springer Science+Business Media New York 2014

Authors and Affiliations

  1. 1.Victoria UniversityMelbourneAustralia

Personalised recommendations