CBL: Compact Encoding of JSON-LD Data using CBOR and Bitmaps for Web of Things

Prudhvi Gudla,Kamal Singh
2024-07-05
Abstract:The concept of Web of Things (WoT) merges web technologies with knowledge graphs in the context of Internet of Things. Given its widespread adoption in representing and exchanging structured data online, JSON-LD could be an effective format for WoT. Nevertheless, its verbose nature may present challenges for resource-constrained IoT devices with limited bandwidth and memory capacities. In this paper, we present a novel approach to compactly represent JSON-LD data using the Concise Binary Object Representation (CBOR) and bitmaps. Our proposed method is named as CBL which stands for CBOR, Bitmap and List of Key-value pairs. CBL leverages the ideas from CBOR and HDT to achieve an efficient encoding of JSON-LD data. Results demonstrate that our approach provides savings up to 95.1% in terms of network overhead. This could be especially beneficial for IoT devices exchanging data over wireless networks. Moreover, our approach is more efficient than the current approach known as CBOR-LD, which is used to compact JSON-LD data.
Networking and Internet Architecture
What problem does this paper attempt to address?