arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2211.12934cs.NI
收藏

物联网抽象技术在蓝牙低功耗通信中的应用

Applying the Web of Things Abstraction to Bluetooth Low Energy Communication

Michael Freund, Rene Dorsch, Andreas Harth

摘要:

我们采用物联网(WoT)通信模式,即,元数据和交互示能表示的语义描述提供给依赖于非基于IP的协议的物联网(IoT)设备,使用蓝牙低功耗(LE)作为示例。WoT Scripting API的参考实现node-wot目前仅支持基于IP的应用层协议,如HTTP和MQTT。然而,大量IoT设备不通过IP进行通信,而是通过其他网络层协议进行通信,例如蓝牙LE使用的L2 CAP。为了在蓝牙低功耗通信中利用WoT抽象,我们指定了两个本体来描述蓝牙LE设备的功能和传输的二进制数据,考虑了与Linux蓝牙堆栈BlueZ的不同交互可能性,并且由于更好的文档,使用D-Bus API在JavaScript中实现蓝牙LE绑定。最后,我们评估了与BlueZ工具bluetoothctl相比的绑定的延迟,显示蓝牙LE绑定在连接建立期间平均比比较程序慢16%,在断开连接时慢6%,但在读取期间几乎具有相同的性能(慢3%)。

英文摘要:

We apply the Web of Things (WoT) communication pattern, i.e., the semantic description of metadata and interaction affordances, to Internet of Things (IoT) devices that rely on non-IP-based protocols, using Bluetooth Low Energy (LE) as an example. The reference implementation of the WoT Scripting API, node-wot, currently supports only IP-based application layer protocols such as HTTP and MQTT. However, a significant number of IoT devices do not communicate over IP, but via other network layer protocols, e.g. L2CAP used by Bluetooth LE. To leverage the WoT abstraction in Bluetooth Low Energy communication, we specified two ontologies to describe the capabilities of Bluetooth LE devices and transmitted binary data, considered the different interaction possibilities with the Linux Bluetooth stack BlueZ, and due to better documentation, used the D-Bus API to implement Bluetooth LE bindings in JavaScript. Finally, we evaluated the latencies of the bindings in comparison to the BlueZ tool bluetoothctl, showing that the Bluetooth LE bindings are on average about 16 percent slower than the comparison program during connection establishment and about 6 percent slower when disconnecting, but have almost the same performance during reading (about 3 percent slower).

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑