• 中国计算机学会会刊
  • 中国科技核心期刊
  • 中文核心期刊

J4 ›› 2010, Vol. 32 ›› Issue (4): 125-127.doi: 10.3969/j.issn.1007130X.2010.

• 论文 • 上一篇    下一篇

基于μCLinux的操作系统实时性扩展和应用

苏曙光,曹华,刘云生   

  1. (华中科技大学软件学院,湖北 武汉 430074)
  • 收稿日期:2008-07-28 修回日期:2008-10-17 出版日期:2010-03-28 发布日期:2010-03-28
  • 通讯作者: 苏曙光 E-mail:su_shuguang@163.com
  • 作者简介:苏曙光(1975),男,湖南临湘人,博士,讲师,研究方向为流媒体编码解码和嵌入式操作系统;曹华,博士,讲师,研究方向为嵌入式系统设计和无线传感器网络;刘云生,教授,博士生导师,研究方向为实时移动数据库和实时操作系统。
  • 基金资助:

    湖北省自然科学基金资助项目(2007ABA311)

Extension and Application of the Operating System ealTimeness Based on μCLinux

SU Shuguang,CAO Hua,LIU Yunsheng   

  1. (School of Software,Huazhong University of Science and Technology,Wuhan 430074,China)
  • Received:2008-07-28 Revised:2008-10-17 Online:2010-03-28 Published:2010-03-28
  • Contact: SU Shuguang E-mail:su_shuguang@163.com

摘要: 本文提出一种基于实时硬件抽象层RTHAL的方法增强μCLinux实时性能以便应用于实时视频编码系统。具有硬实时性能的RTHAL运行于硬件层和μCLinux之间,通过尽可能少地修改μCLinux内核而获得完全的硬实时性能,平均任务调度延迟仅为3~4μs左右。本文还提出了如何计算和设置RTHAL和μCLinux之间FIFO缓冲区的大小以便实现实时数据稳定传输的方法。通过实时视频编码实例测试表明,该方法能够简单高效地提高μCLinux的实时性能。

关键词: 实时硬件抽象层, 实时性 &mu, CLinux, 实时视频编码

Abstract: The paper proposes an implementation of the realtime μCLinux based on RTHAL(Real Time Hardware Abstract Layer). RTHAL with hard realtimeness runs between hardware and μCLinux,and only with a few modifications μCLinux can have harder realtimeness with a scheduling delay of about 3μs. The paper further proposes an effective method to calculate the size of the FIFO buffer for transferring realtime data stably between RTHAL and μCLinux. An example of realtime video coding proves the method can provide μCLinux with good realtimeness easily and effectively.

Key words: RTHAL;realtime;μCLinux;video stream coding

中图分类号: