A Distributed Time Server for the Real-Time Extension of CoAP

Bjoern Konieczek, Michael Rethfeldt, Frank Golatowski, Dirk Timmermann · 2016

In the recent past, the development of applications and protocols for the Internet of Things (IoT) made a big leap forward. New approaches have emerged to adopt IoT technologies in the realm of industrial automation. This development is also referred to as Industrial Internet of Things (IIoT) or Industry 4.0. It is predicted for the number of smart interconnected devices participating in automation systems to grow significantly in the future. However, the industrial domain introduces new requirements for IoT technologies regarding the timeliness of interactions. Current IoT protocols, like the Constrained Application Protocol (CoAP), do not yet provide real-time behavior for the inter-device communication. In our previous work, we have already proposed a real-time extension for CoAP that enables deterministic network behavior through a TDMA-based approach. We have shown that the proposed mechanisms for time synchronization, time slot management, and access control can be realized purely software-based. However, a central instance is needed as a time server. This introduces a Single Point of Failure (SPoF) to the system, limiting the robustness and scalability of the approach. In this paper, we introduce a concept for a distributed time server for CoAP. The proposed concept includes a refined time synchronization mechanism as well as strategies to select multiple time servers and share information between them. Furthermore, the described amendments to the real-time extension are integrated into the lightweight platform-independent jCoAP communication stack and evaluated in a multi-device real-world test bed.

Read the paper · More papers on PaperTik