Skip to main content

BEE OS: Supporting Batch Execution with a Preemptive Real-Time Kernel

  • Conference paper
  • First Online:
Advances in Wireless Sensor Networks (CWSN 2014)

Part of the book series: Communications in Computer and Information Science ((CCIS,volume 501))

Included in the following conference series:

  • 1270 Accesses

Abstract

Modern wireless sensor networks require operating system with real-time, low-power, multi-tasking features, in order to quickly deal with matters of wireless sensor nodes. Event-driven systems and multi-threaded systems are two major operating systems used by wireless sensor networks (WSN). To take advantage of salient features of both types, based on \(\mu \)C/OS-II and WSN characteristics, we have designed a tiny and hybrid embedded operating system, BEE OS, which integrates a preemptive real-time kernel supporting batch execution. Besides BEE has a real-time, low-power and multi-tasking feature. We propose a multi-task management scheme with multi-priority queues and analyze its timeliness performance based on a round-robin theoretical model, which leads to our novel design of the preemptive task scheduling algorithm to optimize the average waiting-time of all tasks. Finally, an adaptive method is introduced into BEE OS in order to avoid task starvation. Our experimental results show the overhead and performance comparisons among BEE OS, \(\mu \)C/OS-II, and TinyOS. Compared with \(\mu \)C/OS-II, the RAM and Flash of BEE OS are about two-fold down, and the task response time achieved by BEE OS is approximately a quarter of those by TinyOS and \(\mu \)C/OS-II. BEE operating system can be widely applied to relatively fixed tasks in industrial environments, with low power consumption and preemptive real-time characteristics.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 39.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

References

  1. Anastasi, G., Conti, M., Francesco, M.D., Passarella, A.: Energy conservation in wireless sensor networks: a survey. Ad Hoc Netw. 7(3), 537–568 (2009)

    Article  Google Scholar 

  2. Farooq, M.O., Kunz, T.: Operating systems for wireless sensor networks: a survey. Sensors 11(6), 5900–5930 (2011)

    Article  Google Scholar 

  3. Levis, P., et al.: TinyOS: an operating system for sensor networks ambient intelligence. In: Weber, W., Rabaey, J.M., Aarts, E. (eds.) Ambient Intelligence, Chapter 7, pp. 115–148. Springer, Heidelberg (2005)

    Chapter  Google Scholar 

  4. Han, C.C., Kumar, R., Shea, R., Kohler, E., Srivastava, M.; A dynamic operating system for sensor nodes. In: Proceedings of the 3rd International Conference on Mobile Systems, Applications, and Services, MobiSys 2005, pp. 163–176. ACM, New York (2005)

    Google Scholar 

  5. Avrora. http://docs.tinyos.net/tinywiki/index.php/Avrora

Download references

Acknowledgements

The paper is sponsored by the National Natural Science Foundation of China (No. 61173150, 61273071), National High Technology Research and Development Program of China (863 Program) (No. 2011AA0401, 2014AA041801).

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Xiaotong Zhang .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2015 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Cai, S., Zhang, X., Ma, F., Song, Y., Chen, L. (2015). BEE OS: Supporting Batch Execution with a Preemptive Real-Time Kernel. In: Sun, L., Ma, H., Fang, D., Niu, J., Wang, W. (eds) Advances in Wireless Sensor Networks. CWSN 2014. Communications in Computer and Information Science, vol 501. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-662-46981-1_8

Download citation

  • DOI: https://doi.org/10.1007/978-3-662-46981-1_8

  • Published:

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-662-46980-4

  • Online ISBN: 978-3-662-46981-1

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics