作者投稿和查稿 主编审稿 专家审稿 编委审稿 远程编辑

计算机工程 ›› 2010, Vol. 36 ›› Issue (21): 1-3. doi: 10.3969/j.issn.1000-3428.2010.21.001

• 博士论文 •    下一篇

基于CPN的嵌入式RTOS任务调度建模

刘经宇,朱 煜,尹文生   

  1. (清华大学精密仪器与机械学系,北京 100084)

  • 出版日期:2010-11-05 发布日期:2010-11-03
  • 作者简介:刘经宇(1982-),男,助理研究员、博士后,主研方向:网络控制;朱 煜,教授、博士;尹文生,副教授、硕士
  • 基金资助:
    国家“973”计划基金资助项目(2009CB724205);国家自然科学基金资助项目(50577037);中国博士后科学基金资助项目(20080440377)

Embedded RTOS Task Schedule Modeling Based on CPN

LIU Jing-yu, ZHU Yu, YIN Wen-sheng   

  1. (Department of Precision Instruments and Mechanology, Tsinghua University, Beijing 100084, China)
  • Online:2010-11-05 Published:2010-11-03

摘要: 针对有色Petri网(CPN)在并行、并发、资源共享描述上的适用性,将其引入到嵌入式实时操作系统(RTOS)建模中,解决了RTOS任务调度模型中的CPU独占表述、优先级排序、抢占时间处理和周期任务实现问题。对一个优先级抢占式任务调度实例建立CPN模型,结果表明该模型能有效反映RTOS系统的动态特性,准确定量模拟出RTOS系统的效率、切换频率指标。

关键词: 有色Petri网, 嵌入式实时操作系统, 任务调度

Abstract: Aiming at the finesses of system in parallel, concurrency and resource sharing description, this paper introduces Colored Petri Net(CPN) into embedded Real Time Operating System(RTOS) modeling. It solves the realistic problem of CPU monopolization, the realization of task queue based on priority, the time dealing of task preempt, and the cycle of the tasks in RTOS task schedule model. A CPN model is built for preemptive priority task schedule example. Results show that this CPN model can relevantly describe the dynamic characters, and exactly simulate the efficiency and other performance of the RTOS.

Key words: Colored Petri Net(CPN), embedded Real Time Operating System(RTOS), task schedule

中图分类号: