Abstract
In this paper, we present the design of a Constrained Application Protocol (CoAP) proxy able to interconnect Web applications based on Hypertext Transfer Protocol (HTTP) and WebSocket with CoAP based Wireless Sensor Networks. Sensor networks are commonly used to monitor and control physical objects or environments. Smart Cities represent applications of such a nature. Wireless Sensor Networks gather data from their surroundings and send them to a remote application. This data flow may be short or long lived. The traditional HTTP long-polling used by Web applications may not be adequate in long-term communications. To overcome this problem, we include the WebSocket protocol in the design of the CoAP proxy. We evaluate the performance of the CoAP proxy in terms of latency and memory consumption. The tests consider long and short-lived communications. In both cases, we evaluate the performance obtained by the CoAP proxy according to the use of WebSocket and HTTP long-polling.
Highlights
The adoption of the Internet Protocol (IP) in Wireless Sensor Networks (WSNs) is playing a major role in the realization of the Internet of Things (IoT) vision [1]
The main contribution of this paper is referred to the design and implementation of a proxy able to interconnect Web applications to Constrained Application Protocol (CoAP) devices located in WSNs, as ones conformed by Smart Cities M2M architectures
CoAP proxy to communicate with the CoAP device and the Web application
Summary
The adoption of the Internet Protocol (IP) in Wireless Sensor Networks (WSNs) is playing a major role in the realization of the Internet of Things (IoT) vision [1]. The use of HTTP long-polling, forces Web applications to query constantly the CoAP proxy to receive data from the WSN This could cause an excessive communication overhead and a consequent increase of latency and network traffic [8]. The authors of this paper design a notification system to achieve the interaction between the Web application and the gateway These works do not consider the case where the monitoring could be long-lived and do not present any performance evaluation. The main contribution of this paper is referred to the design and implementation of a proxy able to interconnect Web applications to CoAP devices located in WSNs, as ones conformed by Smart Cities M2M architectures.
Talk to us
Join us for a 30 min session where you can share your feedback and ask us any queries you have