Framework Design for the Dynamic Reconfiguration of IoT-Enabled Embedded Systems and "On-the-Fly" Code Execution

被引:0
作者
Marevac, Elmin [1 ]
Kadusic, Esad [2 ]
Zivic, Natasa [3 ]
Buzadija, Nevzudin [1 ]
Lemes, Samir [1 ]
机构
[1] Univ Zenica, Polytech Fac, Zenica 72000, Bosnia & Herceg
[2] Univ Sarajevo, Fac Educ Sci, Sarajevo 71000, Bosnia & Herceg
[3] Leipzig Univ Appl Sci, Fac Digital Transformat, D-04277 Leipzig, Germany
关键词
IoT; embedded systems; dynamic reconfiguration; hot reloads; virtual machine; hardware-in-the-loop;
D O I
10.3390/fi17010023
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
Embedded systems, particularly when integrated into the Internet of Things (IoT) landscape, are critical for projects requiring robust, energy-efficient interfaces to collect real-time data from the environment. As these systems become complex, the need for dynamic reconfiguration, improved availability, and stability becomes increasingly important. This paper presents the design of a framework architecture that supports dynamic reconfiguration and "on-the-fly" code execution in IoT-enabled embedded systems, including a virtual machine capable of hot reloads, ensuring system availability even during configuration updates. A "hardware-in-the-loop" workflow manages communication between the embedded components, while low-level coding constraints are accessible through an additional abstraction layer, with examples such as MicroPython or Lua. The study results demonstrate the VM's ability to handle serialization and deserialization with minimal impact on system performance, even under high workloads, with serialization having a median time of 160 microseconds and deserialization having a median of 964 microseconds. Both processes were fast and resource-efficient under normal conditions, supporting real-time updates with occasional outliers, suggesting room for optimization and also highlighting the advantages of VM-based firmware update methods, which outperform traditional approaches like Serial and OTA (Over-the-Air, the ability to update or configure firmware, software, or devices via wireless connection) updates by achieving lower latency and greater consistency. With these promising results, however, challenges like occasional deserialization time outliers and the need for optimization in memory management and network protocols remain for future work. This study also provides a comparative analysis of currently available commercial solutions, highlighting their strengths and weaknesses.
引用
收藏
页数:41
相关论文
共 33 条
  • [1] [Anonymous], NetBSD Lua in the NetBSD Kernel
  • [2] [Anonymous], Zerynth Documentation
  • [3] [Anonymous], Maakbaas ESP8266 IoT Framework
  • [4] [Anonymous], Suraj151 ESP8266 Framework
  • [5] [Anonymous], PlatformIO What Is PlatformIO?
  • [6] [Anonymous], 2020, Espressif Systems
  • [7] Uniform execution environment for dynamic reconfiguration
    Bapty, T
    Scott, J
    Neema, S
    Sztipanovits, J
    [J]. ECBS '99, IEEE CONFERENCE AND WORKSHOP ON ENGINEERING OF COMPUTER-BASED SYSTEMS, PROCEEDINGS, 1999, : 181 - 187
  • [8] Chin S., 2019, DEFINITIVE GUIDE MOD
  • [9] Chunmei Wan, 2020, Journal of Physics: Conference Series, V1486, DOI 10.1088/1742-6596/1486/7/072045
  • [10] Dada's Perl Lab, The Great Win32 Computer Language Shootout