计算机工程 ›› 2007, Vol. 33 ›› Issue (21): 28-30.doi: 10.3969/j.issn.1000-3428.2007.21.010

• 软件技术与数据库 • 上一篇    下一篇

基于多参数的μC/OS-Ⅱ任务优先级和调度方法

周本海1,王溪波1,2,乔建忠1,沈国文1   

  1. (1. 东北大学信息科学与工程学院,沈阳 110004;2. 沈阳工业大学信息科学与工程学院,沈阳 110023)
  • 收稿日期:1900-01-01 修回日期:1900-01-01 出版日期:2007-11-05 发布日期:2007-11-05

Task Priority and Scheduling Method Based on Multi-parameter in μC/OS-Ⅱ

ZHOU Ben-hai1, WANG Xi-bo1,2, QIAO Jian-zhong1, SHEN Guo-wen1   

  1. (1. School of Information Science and Engineering, Northeastern University, Shenyang 110004; 2. School of Information Science and Engineering, Shenyang University of Technology, Shenyang 110023)
  • Received:1900-01-01 Revised:1900-01-01 Online:2007-11-05 Published:2007-11-05

摘要: 在μC/OS-Ⅱ进行实时任务调度时,可以使用单一的调度算法分配任务优先级。优先级判定标准的片面性、“错过率”较高的截止期,影响了μC/OS-Ⅱ的实时调度性能。该文提出了多参数任务优先级分配策略和μC/OS-Ⅱ任务的调度方法,实验证明,该方法截止期的平均错过率为60.1%,有效地改善了μC/OS-Ⅱ的实时调度性能。

关键词: μC/OS-Ⅱ, 实时任务, 优先级, 多参数, 截止期错过率

Abstract: When the real-time tasks are scheduled, μC/OS-Ⅱ takes use of single algorithm to assign the priority of tasks. Because of the singularity of determinant standard of priorty, the high deadline missing ration of real-time tasks influences the real-time scheduling performance seriously. This paper advances the assigning policy of priority of multi-parameter tasks and the task scheduling method in μC/OS-Ⅱ. Experimental results show that DMR of multi-parameter scheduling algorithm is 60.1%, and improvement of real-time scheduling performance.

Key words: μC/OS-Ⅱ, real-time task, priority, multi-parameter, deadline missing ration(DMR)

中图分类号: