首页 | 本学科首页   官方微博 | 高级检索  
     

实时中间件的优先级映射
引用本文:郭长国,王怀民,邹鹏,王锋.实时中间件的优先级映射[J].软件学报,2003,14(6):1060-1065.
作者姓名:郭长国  王怀民  邹鹏  王锋
作者单位:国防科学技术大学,计算机学院,网络与信息安全研究所,湖南,长沙,410073
基金项目:Supported by the National Natural Science Foundation of China under Grant No.90104020 (国家自然科学基金); the National High-Tech Research and Development Plan of China under Grant No.2001AA113020 (国家高技术研究发展计划(863)); the National Grand Fundamental Research 973 Program of China under Grant No.G1999032703 (国家重点基础研究发展规划(973))
摘    要:实时CORBA(common object request broker architecture)规定了独立于操作系统的CORBA优先级,每个请求都可以携带CORBA优先级,而执行请求的所有线程都使用该CORBA优先级映射后的本地操作系统优先级.如何将范围较大的CORBA优先级映射到范围较小的操作系统优先级,并且尽量保持CORBA优先级的序关系,避免优先级翻转是实时CORBA需要解决的重要问题.该问题在实时中间件中具有普遍意义.简要介绍了实时中间件中的优先级映射机制,提出了中间件优先级到本地操作系统优先级的静态散列法和动态映射法,并给出了动态映射法的实现算法.散列法实现简单,但会影响中间件的互操作和可移植性,难以保证优先级映射的严格序关系;动态映射法实现复杂,但能严格保证优先级映射的序关系.

关 键 词:实时CORBA  优先级映射
收稿时间:2002/7/25 0:00:00
修稿时间:2002年7月25日

Priority Mapping in Real-Time Middleware
GUO Chang-Guo,WANG Huai-Min,ZOU Peng and WANG Feng.Priority Mapping in Real-Time Middleware[J].Journal of Software,2003,14(6):1060-1065.
Authors:GUO Chang-Guo  WANG Huai-Min  ZOU Peng and WANG Feng
Abstract:As a specification of middleware, real-time CORBA (common object request broker architecture) defines uniform CORBA priority which is independent of any operating system. The CORBA priority is carried with the CORBA invocation and is used to ensure that all threads subsequently executing on behalf of the invocation run at the appropriate native priority, which is mapped from that CORBA priority. How to map many CORBA priority levels to fewer native priority levels and maintain the order of these priorities is very important. The mapping problem is common in real-time middleware. The priority mapping mechanism of real-time CORBA is introduced briefly. The two methods of how to map middleware priority to native operating system priority are presented, the two methods are static mapping method and dynamic mapping method. Static mapping method is simple to be implemented, but it can break the interoperability, portability and the strict order of middlewares priorities. Dynamic mapping method is complex to be implemented, but it can maintain the strict order of middlewares priorities.
Keywords:real-time CORBA (common object request broker architecture)  priority mapping
本文献已被 CNKI 维普 万方数据 等数据库收录!
点击此处可从《软件学报》浏览原始摘要信息
点击此处可从《软件学报》下载全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号