This paper introduces the Virtual Sensor Middleware (VSM), which facilitates distributed sensor data processing on multiple fog nodes. VSM uses a Virtual Sensor as the core component of the middleware. The virtual sensor concept is redesigned to support functionality beyond sensor/device virtualization, such as deploying a set of virtual sensors to represent an IoT application and distributed sensor data processing across multiple fog nodes. Furthermore, the virtual sensor deals with the heterogeneous nature of IoT devices and the various communication protocols using different adapters to communicate with the IoT devices and the underlying protocol. VSM uses the publish-subscribe design pattern to allow virtual sensors to receive data from other virtual sensors for seamless sensor data consumption without tight integration among virtual sensors, which reduces application development efforts. Furthermore, VSM enhances the design of virtual sensors with additional components that support sharing of data in dynamic environments where data receivers may change over time, data aggregation is required, and dealing with missing data is essential for the applications.
翻译:本文介绍虚拟传感器Midware(VSM),它有助于在多雾节点上进行分布式传感器数据处理。VSM使用虚拟传感器作为中器的核心组成部分。虚拟传感器概念经过重新设计,以支持传感器/装置虚拟化以外的功能,例如部署一套虚拟传感器,以代表IoT应用程序,并通过多个雾节点进行分布式传感器数据处理。此外,虚拟传感器处理IoT设备的多样化性质和各种通信协议,使用不同的适配器与IoT装置和基本协议进行通信。VSM使用出版订阅设计模式,允许虚拟传感器接收其他虚拟传感器的数据,以便进行无缝传感器数据消耗,而虚拟传感器之间没有紧密的整合,从而减少了应用开发工作。此外,VSM加强虚拟传感器的设计,其更多组成部分支持在动态环境中共享数据,在这些环境中,数据接收器可能随着时间的推移发生变化,需要数据汇总,处理缺失的数据对于应用程序至关重要。