| CTCS-3 level train control system is a train control system based on wireless communication,which is widely used in China’s high-speed railways with speeds of 300 ~350km per hour.Functional logic failure of on-board equipment may endanger driving safety and cause serious accidents.In order to ensure driving safety,rigorous testing must be performed before the on-board equipment is put into use.In actual on-board equipment testing,test cases need to be designed according to the safety functions of the on-board equipment,and the test cases are concentrated into a test sequence and executed sequentially.Therefore,studying the design method of safety function test cases for on-board equipment,and optimizing the test cases in series to generate a test sequence are of great significance for the on-board equipment test work.Current on-board equipment safety function test sequence optimization problems have insufficient test case completeness;test sequence optimization methods have a large number of iterations and slow convergence;inappropriate test case execution location selection in the test sequence may lead to testing termination issues.This article conducts research on the above issues,The main contents are as follows:1.The CTCS-3 level train control system is summarized,and the design method of train control vehicle equipment test cases and the test sequence optimization method of train control vehicle equipment are introduced.2.The design method of safety functions tests cases for on-board equipment are given.Taking the CTCS-2 level to CTCS-3 level transition function in the CTCS-3 level train control system as an example,the basic flow and alternative flow in the functional logic are adopted by the scenario method Divide,determine the basic flow and alternative flow directed graphs,and then design test cases with more complete level transition functions to supplement and improve the existing test case set,and enhance the completeness of the test case set.3.According to the design principles of the test subsequence,test cases are concentrated to form a test subsequence.Based on this,the test sequence optimization problem of the safety function of the on-board equipment is transformed by a directed graph to form a TSP(Traveling Salesman Problem,TSP)problem.The advantages and disadvantages of the improved circle algorithm and simulated annealing algorithm in solving TSP are designed based on the combination of improved circle algorithm and simulated annealing algorithm to solve the problem.This algorithm can effectively optimize the safety function test sequence of vehicle equipment.4.Designed and implemented a security control test sequence optimization tool for train control on-board equipment.This tool can draw train control engineering data,optimize test sequences for Excel files formed by concatenation of test cases,and test the test cases in the test sequence based on the visualized columns The control engineering data selects the corresponding execution location,and can finally be saved as a test sequence list with the execution location of each test case,which is of great significance for the test script writing and automated testing of the safety functions of the on-board equipment. |