Scalable and Interactive Simulation for IoT Applications with TinySim

Recent years, the rapid development of IoT (Internet of Things) technologies and applications have been witnessed. Three important features are characterized in modern IoT applications, i.e., device heterogeneity, long-range communication and cloud/edge-device integration. Difficulties are raised by...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
Veröffentlicht in:IEEE internet of things journal 2023-12, Vol.10 (23), p.1-1
Hauptverfasser: Chen, Gonglong, Dong, Wei, Qiu, Fujian, Guan, Gaoyang, Gao, Yi, Zeng, Siyu
Format: Artikel
Sprache:eng
Schlagworte:
Online-Zugang:Volltext bestellen
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
Beschreibung
Zusammenfassung:Recent years, the rapid development of IoT (Internet of Things) technologies and applications have been witnessed. Three important features are characterized in modern IoT applications, i.e., device heterogeneity, long-range communication and cloud/edge-device integration. Difficulties are raised by the above features towards IoT application developers, e.g., predicting and evaluating the performance of the entire IoT application system. To deal with the above difficulties, we design and implement an IoT simulator, TinySim, which satisfies the requirements of high fidelity, high scalability, and seamless transplantation. TinySim takes advantage of the hardware-independent features of TinyLink programming language. Hence, a similar code can be used for both simulation and execution on real hardware platforms. Many virtual IoT devices can be simulated by TinySim at the PC end. These IoT devices can send or receive messages from the cloud or smartphones, making it possible for the developers to evaluate the entire system without the actual IoT hardware. We connect TinySim with Unity 3D to provide high interactivity. To reduce the event synchronization overhead between TinySim and Unity 3D, a dependence graph-based approach is proposed. We design an approximation-based approach to reduce the number of simulation events, greatly speeding up the simulation process. We carefully evaluate TinySim using benchmarks and two concrete case studies. TinySim can simulate representative IoT applications such as smart flowerspot and shared bikes. We conduct extensive experiments to evaluate the performance of TinySim. Results show that TinySim can achieve high accuracy with an error ratio lower than 9.52% in terms of energy and latency. Further, TinySim can simulate 4,000 devices within 11.2 physical-minutes for 10 simulation-minutes, which is about 3× faster than the state-of-art approach.
ISSN:2327-4662
2327-4662
DOI:10.1109/JIOT.2023.3285244