SCoAP: An integration of CoAP protocol with web-based application

This paper proposes an interesting yet practical use case of CoAP, an important application protocol in realizing the Internet of Things (IoT) vision. Originally, CoAP protocol is designed to communicate between embedded devices, however its applications can spread well over the Internet by exposing the devices' capabilities to the Web as Web resources. Thus, we claim that CoAP protocol could also be used in web-based application to leverage CoAP-based resources. Unfortunately, the design of CoAP protocol, for example, bind to UDP socket to reduce the package size or bidirectional communication to cope with duty-cycle power scheme, prevents it from being supported on conventional web browsers. Additionally, translation of CoAP into HTTP protocol via HTTP/CoAP proxy as recommended by IETF is not the best solution since many CoAP features are limited. Instead, new bidirectional web protocol such as HTML5 Web Socket would help to preserve the protocol's characteristics. We propose a solution called SCoAP that facilitates true CoAP communication in conventional web browsers by applying HTML5 Web Socket protocol. Experiment results have shown significant advantages of SCoAP solution over standard HTTP/CoAP proxy in term of network traffic and computational demand.

[1]  Daeyoung Kim,et al.  SNAIL: an IP-based wireless sensor network approach to the internet of things , 2010, IEEE Wireless Communications.

[2]  Carsten Bormann,et al.  CoAP: An Application Protocol for Billions of Tiny Internet Nodes , 2012, IEEE Internet Computing.

[3]  Matthias Kovatsch,et al.  Demo abstract: Human-CoAP interaction with Copper , 2011, 2011 International Conference on Distributed Computing in Sensor Systems and Workshops (DCOSS).

[4]  Roy Fielding,et al.  Architectural Styles and the Design of Network-based Software Architectures"; Doctoral dissertation , 2000 .

[5]  David E. Culler,et al.  Transmission of IPv6 Packets over IEEE 802.15.4 Networks , 2007, RFC.

[6]  Daeyoung Kim,et al.  Browsing Architecture with Presentation Metadata for the Internet of Things , 2011, 2011 IEEE 17th International Conference on Parallel and Distributed Systems.

[7]  Daeyoung Kim,et al.  Enabling Transparent Communication with Global ID for the Internet of Things , 2012, 2012 Sixth International Conference on Innovative Mobile and Internet Services in Ubiquitous Computing.

[8]  Simon Mayer,et al.  Moving Application Logic from the Firmware to the Cloud: Towards the Thin Server Architecture for the Internet of Things , 2012, 2012 Sixth International Conference on Innovative Mobile and Internet Services in Ubiquitous Computing.