Lin Yun-Wei, Lin Yi-Bing, Yen Tai-Hsiang
College of Artificial Intelligence, National Chiao Tung University (NCTU), Hsinchu 300, Taiwan.
Department of Computer Science, National Chiao Tung University (NCTU), Hsinchu 300, Taiwan.
Sensors (Basel). 2020 Apr 30;20(9):2563. doi: 10.3390/s20092563.
The correct implementation and behavior of Internet of Things (IoT) applications are seldom investigated in the literature. This paper shows how the simulation mechanism can be integrated well into an IoT application development platform for correct implementation and behavior investigation. We use an IoT application development platform called IoTtalk as an example to describe how the simulation mechanism called SimTalk can be built into this IoT platform. We first elaborate on how to implement the simulator for an input IoT device (a sensor). Then we describe how an output IoT device (an actuator) can be simulated by an animated simulator. We use a smart farm application to show how the simulated sensors are used for correct implementation. We use applications including interactive art (skeleton art and water dance) and the pendulum physics experiment as examples to illustrate how IoT application behavior investigation can be achieved in SimTalk. As the main outcome of this paper, the SimTalk simulation codes can be directly reused for real IoT applications. Furthermore, SimTalk is integrated well with an IoT application verification tool in order to formally verify the IoT application configuration. Such features have not been found in any IoT simulators in the world.
物联网(IoT)应用的正确实现和行为在文献中很少被研究。本文展示了如何将仿真机制很好地集成到物联网应用开发平台中,以进行正确的实现和行为研究。我们以一个名为物联网通信(IoTtalk)的物联网应用开发平台为例,描述如何将名为SimTalk的仿真机制构建到这个物联网平台中。我们首先详细阐述如何为输入物联网设备(传感器)实现模拟器。然后我们描述如何通过动画模拟器来模拟输出物联网设备(执行器)。我们使用一个智能农场应用来展示如何将模拟传感器用于正确的实现。我们以包括交互式艺术(骨骼艺术和水舞)以及摆锤物理实验等应用为例,来说明如何在SimTalk中实现物联网应用行为研究。作为本文的主要成果,SimTalk仿真代码可以直接重用于实际的物联网应用。此外,SimTalk与物联网应用验证工具很好地集成在一起,以便对物联网应用配置进行形式化验证。世界上任何物联网模拟器都没有这样的功能。