Journal of Computer Applications ›› 2016, Vol. 36 ›› Issue (3): 765-769.DOI: 10.11772/j.issn.1001-9081.2016.03.765

Previous Articles     Next Articles

Configuration tool design based on control-oriented multi-core real-time operating system

JIANG Jianchun, CHEN Huiling, DENG Lu, ZHAO Jianpeng   

  1. Automotive Electronics and Embedded Systems Engineering Research Center of Chongqing Colleges, Chongqing University of Posts and Telecommunications, Chongqing 400065, China
  • Received:2015-07-20 Revised:2015-09-24 Online:2016-03-10 Published:2016-03-17
  • Supported by:
    This work is partially supported by the Foundation of Chongqing Science and Technology Commission (cstc2014yykfb40001), New Generation of Information Networks and Terminal Collaborative Innovation Center of Chongqing.

基于多核实时操作系统的配置工具设计

蒋建春, 陈慧玲, 邓露, 赵建朋   

  1. 重庆邮电大学 重庆市高校汽车电子与嵌入式系统工程研究中心, 重庆 400065
  • 通讯作者: 陈慧玲
  • 作者简介:蒋建春(1975-),男,四川华安人,副教授,博士,主要研究方向:嵌入式软件、嵌入式单核与多核操作系统;陈慧玲(1989-),女,重庆合川人,硕士研究生,主要研究方向:多核实时操作系统配置工具实现;邓露(1990-),男,重庆长寿人,硕士研究生,主要研究方向:汽车电子多屏互动;赵建朋(1989-),男,山东烟台人,硕士研究生,主要研究方向:多核操作系统及虚拟化。
  • 基金资助:
    重庆市科学技术委员会基金资助项目(cstc2014yykfb40001);重庆市新一代信息网络及终端协同创新中心项目。

Abstract: With respect to single-core operating system, multi-core real-time operating system is more functional and complicated. Aiming at the problem that multi-core operating system is difficult for configuration, tailoring and transplantation, a new configuration tool for the application of multi-core real-time operating system, which can improve the application development efficiency of multi-core real-time operating system and reduce the error rate was proposed. First, based on a multi-core real-time operating system named CMOS (Control-oriented Multi-core Operating System), which was independently developed by Chongqing University of Posts and Telecommunications, the configuration tool was hierarchically designed. According to the demand of CMOS, a visualized configuration tool was designed to finish interface generation engine and automatical code generation. Afterwards, in order to ensure the correctness of the configuration logic, configuration correlation detection was proposed. The simulation results show that the CMOS configuration tool is suitable for CMOS operating system because of the short processing time for code generation and low error rate. Compared with the method of troubleshooting by developers manually, correlation detection accelerates the speed of troubleshooting with quickly locating the error code and ensure the generation correctness of configuration file. Thus the configuration tool can promote the application of CMOS multi-core operating system.

Key words: multi-core real-time operating system, configuration tool, code generation, modularization, visualization

摘要: 多核实时操作系统相对于单核操作系统功能更多,使用也更为复杂。针对多核操作系统的配置、裁剪、移植带来不便的问题,提出一种多核实时操作系统的应用配置工具,该工具可以提高基于多核实时操作系统的应用开发效率,大幅降低出错率。首先,针对重庆邮电大学自主研发的多核控制操作系统(CMOS),对配置工具进行层次模块化设计,并根据CMOS需求设计一种可视化配置工具,完成界面生成引擎与代码自动生成;其次,为保证配置的逻辑正确性,提出了配置关联性检测。实验表明,多核操作系统配置工具的代码生成时间短、错误率低,适用于操作系统CMOS,从而验证了该配置工具的可行性;与开发人员自主查错方式相比,关联性检测提高了查错速率,能快速定位错误代码位置,保证配置文件生成的正确性,因此该配置工具可以有效促进CMOS多核操作系统的应用。

关键词: 多核实时操作系统, 配置工具, 代码生成, 模块化, 可视化

CLC Number: