论文标题
将事物抽象的网络应用于蓝牙低能通信
Applying the Web of Things Abstraction to Bluetooth Low Energy Communication
论文作者
论文摘要
我们将事物网络(WOT)通信模式(即,元数据和交互提供的语义描述)应用于依靠非基于非IP协议的物联网(IoT)设备,以蓝牙低能(LE)为例。 WOT脚本API的参考实现当前仅支持基于IP的应用程序层协议,例如HTTP和MQTT。但是,大量的IoT设备不会通过IP进行通信,而是通过其他网络层协议,例如蓝牙LE使用的L2CAP。为了利用蓝牙低能通信中的WOT抽象,我们指定了两个本体论来描述蓝牙LE设备和传输二进制数据的能力,这些数据被认为是与Linux蓝牙堆栈Bluez的不同交互可能性,并且由于更好的文献记录,使用了D-Busi,使用D-Busi在JavavaScript中实现蓝牙lebiends In JavavaScript。最后,我们与Bluez工具蓝牙CTCTL相比,我们评估了绑定的潜伏期,这表明蓝牙LE绑定平均比连接期间的比较程序慢约16%,并且在断开连接时慢了6%,但在阅读过程中的蓝牙差异约为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).