A1 Journal article (refereed)
StateOS : A Memory-Efficient Hybrid Operating System for IoT Devices (2023)

Tan, X., & Hakala, I. (2023). StateOS : A Memory-Efficient Hybrid Operating System for IoT Devices. IEEE Internet of Things Journal, 10(11), 9523-9533. https://doi.org/10.1109/jiot.2023.3234106

JYU authors or editors

Publication details

All authors or editorsTan, Xinyu; Hakala, Ismo

Journal or seriesIEEE Internet of Things Journal



Publication year2023


Issue number11

Pages range9523-9533

PublisherInstitute of Electrical and Electronics Engineers (IEEE)

Publication countryUnited States

Publication languageEnglish


Publication open accessOpenly available

Publication channel open accessPartially open access channel

Publication is parallel published (JYX)https://jyx.jyu.fi/handle/123456789/85042


The increasing significance of operating systems (OSs) in the development of the internet of things (IoT) has emerged in the last decade. An event-driven OS is memory efficient and suitable for resource-constrained IoT devices and wireless sensors, although the program’s control flow, which is determined by events, is not always obvious. A multithreaded OS with sequential control flow is often considered clearer. However, this approach is memory-consuming. A hybrid OS seeks to combine the strengths of the event-driven approach with multithreaded approach. An event-driven cooperative threaded OS represents a hybrid approach that supports concurrency by explicitly yielding control to another thread. Although this approach is memory efficient, as cooperative threads are not preemptive, it may not provide sufficient real-time performance. This article proposes a memory-efficient hybrid OS, called StateOS, for resource-constrained IoT devices. It is an event-driven cooperative threaded OS with partial real-time performance. StateOS implements a hybrid task scheduler that combines two cooperative threaded subsystems as kernel processes on a priority-based preemptive scheduler. This approach provides adequate real-time performance for IoT devices at a low memory cost.

KeywordsInternet of thingsprogrammingoperating systemsinformation networks

Free keywordscooperative programming; internet of things; IoT OS; hybrid operating system; wireless sensor network operating system; WSN OS

Contributing organizations

Ministry reportingYes

Reporting Year2023

Preliminary JUFO rating2

Last updated on 2024-03-04 at 19:36