International Research Journal of Engineering and Technology (IRJET)
e-ISSN: 2395-0056
Volume: 11 Issue: 01 | Jan 2024
p-ISSN: 2395-0072
www.irjet.net
LiteOS: A Comprehensive Exploration of a Lightweight Operating System for IoT Environments Ketan Meshram1 1Department of Electronics and Telecommunication, Vishwakarma Institute of Information Technology,
Pune- 411048, India ---------------------------------------------------------------------***--------------------------------------------------------------------Abstract - This paper explores LiteOS, an open-source Linux2. LiteOS Architecture Navigating the Three Pillars based lightweight operating system designed for low-power devices. Covering LiteOS's version, purpose, historical development, architecture, and design principles, it emphasizes key features like memory management with minimal overhead and efficient handling of processes and multithreading for enhanced system efficiency. The discussion extends to LiteOS's user interface, file system a rchitecture, process management, and synchronization mechanisms. Additionally, LiteOS's interaction with hardware devices, security features, performance evaluation, and optimization techniques are highlighted. Real-world case studies showcase successful deployments, addressing challenges, while insights into updates and future trends like edge computing and AI support conclude the exploration.
2.1 LiteShell: The Gateway to Interaction LiteShell takes center stage as a Unix-like shell residing on the base station or PC. Designed with user interaction in mind, LiteShell empowers developers with a familiar command-line interface. This subsystem handles a spectrum of shell commands, ranging from file and process management to debugging functionalities. Notably, LiteShell's operations unfold [5]with user intervention, executing local processing on the user's command. The intricacies of these commands are then wirelessly transmitted to the targeted IoT node. This interaction paradigm ensures that LiteShell's capabilities align seamlessly with user expectations. 2.2 LiteFS: Navigating the Sensor Network Landscape
Key Words: Operating System, Architecture and Design, Memory Management, Security Features, Case Studies.
The file system, LiteFS, represents the second pillar of LiteOS's architecture. It transforms sensor nodes into files, mounting the entire sensor network as a directory. LiteFS's organizational prowess is evident as it [5]lists all one-hop sensor nodes in a file, embracing a structure akin to traditional Unix directory hierarchies. This design not only provides a user-friendly interface on the base station but also facilitates legitimate command usage. LiteFS, with its hierarchical approach, stands as a testament to LiteOS's commitment to enhancing user experience in navigating the intricacies of sensor networks.
1.INTRODUCTION LiteOS, an innovative [5]open-source lightweight operating system based on Linux, reshapes the operational paradigm for low-power devices. Its versatility spans a spectrum of applications, from wearables and smart homes to connected vehicles and microcontrollers, positioning itself as a robust solution for diverse IoT scenarios. Notably compatible with Google Android OS and seamlessly interoperable with thirdparty devices, LiteOS is meticulously designed to offer IoT developers a Unix-like environment. Developed with a dedicated focus on IoT requirements, LiteOS introduces programming paradigms that feel [5]familiar, featuring a hierarchical file system implemented using LiteC programming language and a Unix-like shell. The latest iteration, LiteOS [Version 10], [10]originating from the University of Illinois at Urbana-Champaign, is tailored specifically for Wireless Sensor Network (WSN) applications. It boasts a traditional Unix-like environment, complete with a hierarchical file system, a wireless shell interface, and a kernel that supports dynamic loading, native execution of multithreaded applications, and online debugging. One of LiteOS's standout features lies in its adeptness at facilitating software updates, ensuring sustained longevity and relevance. The separation of the kernel and user applications through a suite of system calls streamlines the updating process, showcasing LiteOS's adaptability in the dynamic technological landscape.
© 2024, IRJET
|
Impact Factor value: 8.226
2.3 Kernel: Powering IoT Nodes At the core of LiteOS's architecture lies the kernel, residing on the IoT node. The kernel embraces a multitasking paradigm, supporting concurrency multithreading for efficient task execution. It boasts dynamic loading capabilities, enabling developers to load and unload applications on the fly. Priority-based and round-robin scheduling mechanisms empower LiteOS with flexibility, allowing [5]developers to register event handlers through callback functions. The kernel becomes the heartbeat of LiteOS, orchestrating the seamless execution of applications in the dynamic IoT landscape. (Fig - 1)
|
ISO 9001:2008 Certified Journal
|
Page 273