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

IoT系统中事件和命令乱序的安全含义

On the Safety Implications of Misordered Events and Commands in IoT Systems

Furkan Goksel, Muslum Ozgur Ozmen, Michael Reeves, Basavesh Shivakumar, Z. Berkay Celik

摘要:

配备嵌入式执行器和传感器的物联网设备以物联网应用程序的形式提供自定义自动化。物联网应用程序订阅事件,并在收到时发送触发一组致动器的致动命令。事件和驱动命令遵循物联网生态系统中的路径,例如传感器到边缘,边缘到云和云到执行器,这些连接之间具有不同的网络和处理延迟。特别是当IoT系统云与其他云交互时,可能会发生显著的延迟。由于延迟的这种变化,云可能以不正确的顺序接收事件,并且反过来,设备可能接收并致动乱序的命令。在本文中,我们首先研究了八个主要的物联网平台,并表明它们没有对事件排序做出强有力的保证来解决这些问题。然后,我们分析物联网组件之间的端到端交互,从事件的创建到命令的调用。由此,我们确定并正式确定了导致不良状态的事件和命令中的乱序的根本原因。我们在一个包含35个物联网设备的模拟灵巧家庭中部署了23个应用程序,以评估乱序问题。我们的实验证明了大量的无序事件和命令,通过不同的交互路径发生。通过这项工作,我们揭示了乱序问题的根源和程度,并指导未来的工作,以确保物联网系统中的正确排序。

英文摘要:

IoT devices, equipped with embedded actuators and sensors, provide custom automation in the form of IoT apps. IoT apps subscribe to events and upon receipt, transmit actuation commands which trigger a set of actuators. Events and actuation commands follow paths in the IoT ecosystem such as sensor-to-edge, edge-to-cloud, and cloud-to-actuator, with different network and processing delays between these connections. Significant delays may occur especially when an IoT system cloud interacts with other clouds. Due to this variation in delays, the cloud may receive events in an incorrect order, and in turn, devices may receive and actuate misordered commands. In this paper, we first study eight major IoT platforms and show that they do not make strong guarantees on event orderings to address these issues. We then analyze the end-to-end interactions among IoT components, from the creation of an event to the invocation of a command. From this, we identify and formalize the root causes of misorderings in events and commands leading to undesired states. We deploy 23 apps in a simulated smart home containing 35 IoT devices to evaluate the misordering problem. Our experiments demonstrate a high number of misordered events and commands that occur through different interaction paths. Through this effort, we reveal the root and extent of the misordering problem and guide future work to ensure correct ordering in IoT systems.

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

↑