摘要
μC/OS-Ⅱ操作系统没有中的断管理模块,该情况严重影响了其可移植性,针对该问题,设计了一种基于双消息队列的分层中断管理系统,提出了一种分层管理的中断管理设计思想,将中断处理分为紧要部分和可推迟两部分。紧要部分优先处理,满足实时性要求;可推迟部分利用μC/OS-Ⅱ的消息队列机制,实现了具有优先级双消息队列的可推迟处理机制。实验结果表明,该系统比同等条件下的Linux系统具有优越的实时性,平均提高了51%,为工业和航空等嵌入式系统等提供了实时性的解决途径。
TheμC/OS-II's portability is blocked seriously by non-interrupt management. To solve this problem, a standpoint of a interrupt management system (IMS) is proposed, which adds IMS into μ C/OS-II. Double message queue for IMS (DMQIMS) is proposed. This IMS is divided into a critical part (CP) and a delayed part (DP) with hierarchical thinking. CP will be processed preferentially, which can meet the need of real-time performance; And DP achieves deferred processing mechanism, using the priority dual message. Experiments show that excellent real-time operating is showed in DMQIMS, and the real-time performance has increased by average 51% , which is compared to the same conditions Linux system. Finally, the DMIMS can also be used in industry or aviation and so on embedded system.
出处
《计算机工程与设计》
CSCD
北大核心
2013年第7期2377-2383,共7页
Computer Engineering and Design
基金
“十一五”国家科技支撑计划重点基金项目(2009BAI71B02)
北京市属高等学校人才强教计划基金项目(PHR201007121)
2011年度市教委科研计划面上基金项目(KM201110009002)