Skip to main content

Web Services for Things

  • Chapter
  • First Online:
Advanced Web Services

Abstract

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 .

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

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 84.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 109.00
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info
Hardcover Book
USD 109.99
Price excludes VAT (USA)
  • Durable hardcover edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Notes

  1. 1.

    http://www.koubachi.org

  2. 2.

    http://webuser.hs-furtwangen.de/heindl/ebte-08ss-web-20-uphakorntanakit.pdf

  3. 3.

    GET returns a representation of the requested resource.

  4. 4.

    By using POST, it is possible to update a resource with new information.

  5. 5.

    PUT is used to create a new resource with a name that is specified by the client.

  6. 6.

    If a resource is no longer required, the DELETE method removes the URI from the accessible resources of a server.

  7. 7.

    Computing context is hardware and software for running the application of a Web service, such as computing ability and throughputs.

  8. 8.

    Communication context includes physical environments and situations on communication hardware platforms, including users’ devices, sensors, actuators, base station and server computers.

References

  1. Abowd, G. D. et al.: The computer for the 21st century. IEEE Pervasive Computing 1(3) (2002) 22–23.

    Google Scholar 

  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. Bio-ontoloty. Open biological and biomedical ontologies. http://www.obofoundry.org/, (2011)

  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. 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. 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. 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. 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. 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. 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. 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. 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. 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. Fensel, D. and Bussler, C.: The web service modeling framework wsmf. Electronic Commerce Research Journal 1(2) (2002) 113–137.

    Google Scholar 

  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. Fuhrer, P., Guinard, D.: Building a Smart Hospital using RFID Technologies. In ECEH(2006), pp. 131–142.

    Google Scholar 

  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. 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. Haryanto, R.: Context-awareness in smart homes to support independent living. M.S. thesis, University of Technology, Sydney (2005).

    Google Scholar 

  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. Horrocks, I.: Ontologies and the semantic web. Communications of the ACM 51(12) (2008) 58–67.

    Google Scholar 

  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. 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. 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. Lorenzo, G. D., Hacid, H., and Paik, H.: Data integration in mashups. SIGMOD Record 38(1) (2009).

    Google Scholar 

  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. 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. Manes: Enabling open, interoperable, and smart web services. http://www.w3.org/2001/03/WSWS-popa/paper29. (2001)

  29. Mark, W.: The computer for the 21st century. Scientific American 265 (1991) 94–104.

    Google Scholar 

  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. Ontology lookup service. http://www.ebi.ac.uk/ontology-lookup/, (2011).

  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. 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. 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. Inventory of Future Capabilities of Internet to Meet Future Long and Short Term Needs of the Food Sector. http://www.smartagrifood.eu/sites/default/files/content-files/downloads/SAF_D700-2_V011_Final_0.pdf. (2012).

  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. Swenson, K. D.: Workflow and web service standards. Buisiness Process Management Journal 11(3) (2005) 218–223.

    Google Scholar 

  38. Volz, R.: Web ontology reasoning with logic databases. Ph.D. thesis, Institute AIFB, University of Karlsruhe (2004).

    Google Scholar 

  39. Wayne: Tim berners-lee’s web of people, the online journalism review, 4th december 2007. http://www.ojr.org/ojr/stories/071204wayne/ (2007).

  40. Wilde, E.: Putting things to rest. Tech. Rep. UCB iSchool Report 2007–015, UC Berkeley, USA (2007).

    Google Scholar 

  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. 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. Zhao, H. and Doshi, P.: Towards automated restful web service composition. In 2009 IEEE International Conference on Web Services (2009).

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Guangyan Huang .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2014 Springer Science+Business Media New York

About this chapter

Cite this chapter

Huang, G., He, J., Zhang, Y. (2014). Web Services for Things. In: Bouguettaya, A., Sheng, Q., Daniel, F. (eds) Advanced Web Services. Springer, New York, NY. https://doi.org/10.1007/978-1-4614-7535-4_25

Download citation

  • DOI: https://doi.org/10.1007/978-1-4614-7535-4_25

  • Published:

  • Publisher Name: Springer, New York, NY

  • Print ISBN: 978-1-4614-7534-7

  • Online ISBN: 978-1-4614-7535-4

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics