ARTs-SNOS is a wireless sensor network operating system developed by Huaxiang Software Research and Development Centre. It is to be used in high-performance distributed wireless sensor network environment. In this paper, core techniques in WSNOS are researched, task and energy-efficient management in ARTs-SNOS are designed and partially implemented.ARTs-SNOS includes task management, memory management, communication management, interrupt management and others. The hardware platform is EB44b0. Ready queue in ARTs-SNOS is priority-based. Scheduling algorithm for tasks in the same priority is configurable. As traditional priority-driven task scheduling strategies are energy-wasting, dual-effective task-management strategies RMFS and EDFFS are proposed, which are both real-time and energy-saving.Two energy-saving strategies are adopted in energy-efficient management. One is the dynamic power management, which is able to adapt CPU mode to the current states of the task set. The other is a data aggregation algorithm DTOA, which enables to reduce the data volume in transmission, thus save the energy.The main purpose of the paper is trying to explore the knowledge of academic foreland about task and energy-efficient management in WSNOS, and to design and implement the ARTs-SNOS. |