In this paper, we propose a scheme for representing semantic metadata of IoT devices in compact identifiers and DNS names to enable simple discovery and search with standard DNS servers. Our scheme defines a binary identifier as a sequence of bits: a Context to use and several bits of fields corresponding to semantic properties specific to the Context. The bit string is then encoded as base32 characters and registered in DNS. Furthermore, we use the compact semantic DNS names to offer support for search and discovery. We propose to take advantage of the DNS system as the basic functionality for querying and discovery of semantic properties related to IoT devices. We have defined three specific Contexts for hierarchical semantic properties as well as logical and geographical locations. For this last part, we have developed two prototypes for managing geo-identifiers in LoRa networks, one based on Node and the Redis in-memory database, the other one based on the CoreDNS server.
翻译:在本文中, 我们提出一个在常规标识符和 DNS 名称中代表 IoT 设备的语义元数据的方案, 以便用标准的 DNS 服务器进行简单的发现和搜索。 我们的系统将二进制标识符定义为一个位数序列: 使用的背景和与上下文所特有的语义属性相对应的字段数位数。 点字符串随后被编码为基数32 字符, 并在 DNS 中注册。 此外, 我们使用 常规语义 DNS 名称为搜索和发现提供支持。 我们提议利用 DNS 系统作为查询和发现与 IoT 设备有关的语义属性的基本功能。 我们已经定义了等级语义属性以及逻辑和地理位置的三个具体背景。 对于后一部分, 我们开发了两个模型, 用于管理 LoRa 网络中的地理识别器, 一个基于 Norde 和 Redis 模块数据库, 另一个基于 CoreDNS 服务器 。