{'fraction_non_alphanumeric': 0.0210727969348659, 'fraction_numerical': 0.0, 'mean_word_length': 5.490683229813665, 'pattern_counts': {'":': 0, '<': 0, '<?xml version=': 0, '>': 0, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
Delay-Aware Application Protocol for Internet of Things

Existing CoAP primarily focuses on communication (i.e., client/server-based request/response interaction) between constrained devices in a constrained network. Constrained networks may have large latencies and constrained devices may not be able to respond in a timely manner. Therefore, incorporating delay awareness in the CoAP protocol may prove beneficial for communications between devices. This article presents a new method to support a delay-aware CoAP messaging model, where a Delay- Indicator is proposed to be contained in messages to reflect delay tolerance information. Furthermore, the DelayIndicator can be leveraged by CoAP Clients and CoAP Servers to improve their operations of entering sleep mode to save energy while not violating delay tolerances. With this new enabler, a timeout mechanism for CoAP Responses is put forward to enhance CoAP performance. Simulation results show that incorporating delay awareness in CoAP significantly improves messaging performance.