支持双重触发的μC/OS-Ⅱ内核的设计与实现  

Design and Implementation of μC/OS-Ⅱ Kernel for Double-Triggered Mechanism

在线阅读下载全文

作  者:黄姝娟[1] 朱怡安[2] 刘白林[1] 肖锋[1] Huang Shujuan;Zhu Yi-an;Liu Bailin;Xiao Fen(School of Computer Science and Engineering,Xi an Technological University,Xi’an 710021,China;School of Computer Science,Northwestern Polytechnical University,Xi'an 710072,China)

机构地区:[1]西安工业大学计算机科学与工程学院,西安710021 [2]西北工业大学计算机学院,西安710072

出  处:《计算机测量与控制》2018年第7期203-206,211,共5页Computer Measurement &Control

基  金:国家自然科学基金面上项目(61572392);陕西省工业科技攻关项目(2015GY031);民用飞机专项科研项目(MJ-2015-D-066)

摘  要:针对当前大多数嵌入式操作系统不能同时支持时间和事件双重触发的机制,对μC/OS-Ⅱ内核进行了深入研究,对μC/OS-Ⅱ的调度代码进行了分析,提出了将系统内核架构设计为上下两层,以时间触发部分为上层主要模块,事件触发部分为下层基础模块的层次性架构;从而使得系统核心的调度器既可以调度TT任务也可以调度ET任务;实验证明,该方法不仅能够支持时间和事件双重触发的任务调度,而且在不影响可靠性和确定性的情况下,提高了系统的灵活性和实时性。At present,most of the embedded operating system cannot support both time-triggered and event-triggered mechanism.This paper analyzed the kernel ofμC/OS-II in deeply and the scheduling code,designed the kernel architecture into two layers,the upper layer is the time-trigged module and the lower is the event-trigged module.The time-triggered partition is the main processing section and the event-trigged partition is the base module section.This make the scheduler of the system not only dispatching the time-triggered tasks but also scheduling the event-trigged tasks.Experiments show that this method can not only support the double-triggered mechanism forμC/OS-II,but also improve the real-time performance and flexibility without affecting the reliability and certainty of the system.

关 键 词:嵌入式 操作系统 时间触发 事件触发 调度器 

分 类 号:TP302[自动化与计算机技术—计算机系统结构]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象