Configuration tool design based on control-oriented multi-core real-time operating system
JIANG Jianchun, CHEN Huiling, DENG Lu, ZHAO Jianpeng
Automotive Electronics and Embedded Systems Engineering Research Center of Chongqing Colleges, Chongqing University of Posts and Telecommunications, Chongqing 400065, China
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.
[1] 叶家盛.嵌入式操作系统AutoOSEK配置工具的设计与实现[D].重庆:重庆邮电大学,2010:71.(YE J S. Design and implementation of configuration tool of embedded operating system AutoOsek [D]. Chongqing: Chongqing University of Posts and Telecommunications, 2010: 71.) [2] 晏华,陈昊,郭宣佑.一种面向汽车电子的配置界面动态生成方法[J].计算机科学,2013,40(8):172-175.(YAN H, CHEN H, GUO X Y. Method for automative electronics oriented dynamic configuration interface generation [J]. Computer Science, 2013,40(8):172-175.) [3] 蒋建春,黄伟,朱伟东.符合OSEK/VDX规范的操作系统逻辑仿真研究[J].计算机应用研究,2013,30(9):2722-2725.(JIANG J C, HUANG W, ZHU W D. Logic simulation of correspond with OSEK/VDX OS specification [J]. Application Research of Computers, 2013,30(9):2722-2725.) [4] 鲍威.基于AUTOSAR标准的ECU配置工具[D].杭州:浙江大学,2010:80.(BAO W. ECU AUTOSAR standards-based configuration tool [D]. Hangzhou: Zhejiang University, 2010: 80.) [5] The OSEK/VDX Group. OSEK/VDX system generation OIL: OSEK implementation language, Version2.5 [EB/OL]. (2004-07-01)[2015-09-01]. http://portal.osek-vdx.org/files/pdf/specs/oil25.pdf. [6] The OSEK/VDX Group. OSEK/VDX operating system, Version2.2.3[EB/OL].(2005-02-17)[2015-09-01]. http://portal.osek-vdx.org/files/pdf/specs/os223.pdf. [7] 牛利军.基于XML的嵌入式操作系统配置工具的设计与实现[D].成都:电子科技大学,2006:83.(NIU L J. Design and implementation of embedded operating system XML-based configuration tool [D]. Chengdu: University of Electronic Science and Technology of China, 2006:83.) [8] 管太阳.基于模板的自动代码生成技术的研究[D].成都:电子科技大学,2007:75.(GUAN T Y. Research-based automatic code generation technology template [D]. Chengdu: University of Electronic Science and Technology of China, 2007:75.) [9] 张琼,黄翩.基于XML的代码自动生成工具[J].电子科技,2015,28(2):95-97.(ZHANG Q, HUANG P. Automatic code generation tool based on XML [J]. Electronic Technology, 2015,28(2):95-97.) [10] 王晓宇,钱红兵.基于UML类图和顺序图的C++代码自动生成方法的研究[J].计算机应用与软件,2013,30(1):190-195.(WANG X Y, QIAN H B. Research on automatically generating C++ code from UML class and sequence diagrams [J]. Computer Applications and Software, 2013, 30(1):190-195.) [11] 李银国,叶家盛,蒋建春.OSEK/VDX OS服务调用的规范一致性检测方法[J].重庆邮电大学学报(自然科学版),2010,22(6):786-790.(LI Y G, YE J S, JIANG J C. Checking method of system service call conformance in OSEK/VDX OS [J]. Chongqing University of Posts and Telecommunications (Natural Science), 2010, 22(6):786-790.) [12] 张志雄,李曦.基于分类树的OSEK/VDX操作系统一致性测试研究[J].计算机系统应用,2010,19(11):208-212.(ZHANG Z X, LI Y. Research on conformance test of OSEK/VDX OS based on CTM [J]. Computer Systems and Applications, 2010,19(11):208-212.)