The request-response model for constrained devices and networks has been achieved via RESTful architecture of Constrained Application Protocol (CoAP) in the Internet of Things (IoT). The latency in messages is significant in constrained networks. These latencies can be managed by introducing a mechanism for updating the client/server and network status in CoAP. This mechanism would benefit in optimizing network communication. This paper proposes a mechanism to update any latency from client/server nodes amending the existing CoAP messaging model. A few options have been proposed to the CoAP message in terms of latency-state indicator, IN/OUT timestamps, and priority, which helps implement the proposed model. These options would additionally help in improving network and client/server performance. The network performance improves as the void messages in the network would reduce. The simulation of the implemented algorithm has shown a significant improvement in terms of the network's latency, message priority, and node status.
展开▼