摘要
为了提高列控系统(列车运行控制系统,简称列控,是保证列车安全、快速运行的系统)测试的可靠性,生成合理的测试用例,需要设计相应的运行剖面来仿真实际使用的列控系统的情况,并且基于得到的运行剖面来生成相应的测试用例。因此,通过对列控中心系统的输入输出特点以及功能需求的研究与总结,提出了通过构建任务剖面、系统模式剖面、环境剖面来最终完成列控系统运行剖面构建的方法,并在最终得到的运行剖面基础上,应用优先级度量机制和程序插桩方法对粒子群算法进行合理改进,最终实现了测试用例的自动生成。实验结果证明,通过合理地构建运行剖面,可以保证测试功能的完整性以及测试数据的合理性,改进后的粒子群算法能够进一步提高测试的时间效率。
In order to improve the reliability of the train control system(train operation control system,which is to ensure the safe and fast operation of the train) and generate reasonable test cases,it is necessary to design the corresponding operational profile to simulate the actual use of the train control system,and the corresponding test case is generated based on the obtained running profile. Through the research and summary of the input and output characteristics and functional requirements of the column control center system,the method of constructing the running profile of the train control system by constructing the task profile,system mode profile and environmental profile is proposed,and the final operational profile is obtained. On the basis of the operational profile,the priority measurement mechanism and the program instrumentation method are used to improve the particle swarm optimization algorithm,and finally the automatic generation of test cases is realized. The experiment shows that the integrity of the test function and the rationality of the test data can be ensured by constructing the running profile reasonably. The improved particle swarm optimization algorithm can further improve the time efficiency of the test.
作者
古俐
徐中伟
梅萌
GU Li;XU Zhong-wei;MEI Meng(School of Electronics and Information Engineering,Tongji University,Shanghai 200000,China)
出处
《计算机技术与发展》
2020年第5期1-5,共5页
Computer Technology and Development
基金
国家自然科学基金委高铁联合基金(U1734211).
关键词
列控系统
运行剖面
粒子群算法
测试用例生成
适应度函数
train control system
running profile
particle swarm optimization
test case generation
fitness function