Research and Application of Test Case Automatic Generation Algorithm in Onboard Automatic Train Protection
- Author
- LeiXiaoLing
- Advisor
- NingBin
- School
- Beijing Jiaotong University
- Major
- Traffic Information Engineering \u0026 Control
- Classification
- TP311.52 Software Development
- Degree
- Master's thesis
- Year
- 2009
- Downloads
- 131
- Citations
- 5
Abstract
In order to guarantee the safety of train operation, improve the transportation efficiency and market competitiveness, the system strategy of CTCS (Chinese Train Control System) is proposed by railway department based on the national situations. The research on CTCS-3 is gradually performed and improved, and as a safety critical rail control system, there should be complete test for CTCS to ensure the comprehensive verification of the system, in which the functional test is the most important part for the system safety, with the aim at verifying whether the system could meet the system requirement specifications. And as the key part of train control, it is of great importance for the function test of onboard subsystem.Test is a time consuming project, and appropriate test method will improve the efficiency. The test case is the core of the whole testing process, and is also the fundamental basis of the test execution. With the development of test automation, the generation of test case has become one of the key problems. The ability of detection for errors would vary with testing data, so high efficient testing data should be selected to improve the efficiency and reduce the cost. The aim of this paper is the test method and test case automatic generation for onboard ATP (Automatic Train Protection) subsystem in CTCS-3.Firstly, starting with the traditional testing theory, the advantages and disadvantages of the existing test methods are analyzed. As the black-box and white-box test are incomplete, the hybrid test, in which the black-box and white-box approach are combined, is proposed to be an improvement, and the principle and implementing process of hybrid test are detailed described. The thoughts of hybrid test provide a basis for the design of test case.Secondly, test case automatic generation in hybrid test is researched. The pairwise covering test is an effective approach for test case automatic generation. Based on the consideration of combined covering in test, the algorithm of pairwise test case automatic generating based on the net model is mainly studied, the influence of parameter sorting is analyzed, and corresponding solutions are presented.Finally, take the onboard ATP subsystem of CTCS-3 as the object, the testing function requirements are analyzed. Based on the testing requirement of speed supervision function in onboard ATP subsystem, the hierarchical division of the testing functions is made for different operating mode. Under certain parameter selecting and sorting strategy, the test case automatic generation in different mode and hierarchy is realized by the proposed automatic generating algorithm, and also the reduction and management of the test cases. The generating result demonstrates that, with appropriate parameter selection and sorting strategy, the test case automatic generation algorithm earns a high coverage and reduction rate, and there would be important significance for the testing efficiency.
Table of contents
Thank 5-6
Chinese Abstract 6-7
ABSTRACT 7-11
1 Introduction 11-20
1.1 Summary of 11-13
1.1.1 research background 11-12
1.1.2 Topics purpose 12-13
1.1.3 Significance 13
120 domestic and international status quo 13-16
1.2.1 train operation control system test 13-14
1.2.2 Automated Test Case Generation technology 14-16
1.3 the CTCS-3 level of Train Control System 16-18
1.3.1 the CTCS-3 level Train Control System Overview 16-17
1.3.2 the CTCS-3 level of Train Control System-board equipment and related test content 17-18
1.4 In this paper, the content and organization 18-19
1.5 Summary 19-20
2 car ATP test method selection 20-29
2.1 black-box testing 20-22
2.1.1 equivalence partitioning method 21
2.1.2 boundary value analysis 21-22
2.2 white box 22
comparative analysis of the
2.3 black box testing and white box 22-23
2.4 hybrid test process to develop 23-26
2.4.1 hybrid test overall steps 24
2.4.2 functional level division 24-25
2.4.3 the definition of input parameters 25-26
2.4.4 output parameter definition is 26
2.5 test case size and reduction of problem analysis 26-28
2.6 Summary 28-29
3 combination Automated Test Case Generation Algorithm 29-44
3.1 combined cover a brief analysis of Automated Test Case Generation 29-35
3.1.1 single combination of parameters to cover the test cases 32-34
3.1.2 parameter combination coverage test cases 34-35
3.2-based research and analysis of the network model of the combinatorial test algorithm 35-40
3.2.1 basic use cases automatically generated 35-38
3.2.2 coverage check 38
3.2.3 use cases, supplementary 38-39
3.2.4 Algorithm performance analysis 39-40
3.3 parameter sort and examples 40-43
3.4 Summary 43-44
4 combination of use cases automatically generate the application of the algorithm in the car ATP function test 44-66
4.1 car ATP demand for functional testing analysis 44-47
4.2 car ATP speed supervision function test level divided 47-49
4.3 the definition of vehicle function of ATP measured input 49-52
4.4 the definition of the output of the car ATP measured function 52-53
4.5 test data design principles to develop 53-54
4.6 The test case automatic generation of a concrete realization of the system 54-63
4.6.1 The overall structural design 54-55
4.6.2 core algorithm implementation and analysis 55-60
4.6.3 test case generation software to achieve 60-62
4.6.4 test case management and maintenance 62-63
4.7 cases generated the results of analysis and summary 63-65
4.7.1 Use Cases reduction 63-64
4.7.2 Use Cases automatically generated and reduction in system testing, the significance of 64-65
4.8 Summary 65-66
5 Summary and Outlook 66-68
5.1 thesis work summary 66
5.2 Research Prospects 66-68
References 68-71
Appendix A 71-72
Figure index 72-73
table index 73-74
of resume 74-76
dissertation data set 76
Related dissertations
- Research on Script-driven Based RBC Functional Testing Method
- Research on Modeling and Verification Based on UPPAAL and Its Application to CTCS-3Train Control System
- Research on the Expert System for Generation of Test Sequence for CTCS-3Train Control System
- Research of Test Case Automatic Generation Based on an Improved Genetic Algorithm and Software Quality Evaluation
- Research on the Testing Method of Safety Critical Software and Its Application in the Testing of CTCS-3On-board Equipment
- The Train Operation Adjustment Simulation Based on Random Railway Train Flow of CTCS-3
- Verification and Automatic Code Generation Analysis of Trackside System Based on the Simulation Model
- Ctcs3Simulation and Test Platform-Research and Design of Display and Control Subsystem
- Design and Research of Ctcs Simulation and Test Platform Interface Server
- The Development and Implementation of UML&CPN-based Simulation&Testing Manager in Train Control System
- Modeling and Simulation of Train Control Centre in Ctcs Level-3
- Data Completeness Modeling and Analysis for Movement Authority of RBC Based on SPN
- Research of Data Fusion Scheme of CTCS-3Based on Colored Petri Net
- CTCS-3Simulation and Testing Platform-the Research and Realization of the Temporary Speed Restriction Server Simulation Subsystem
- Research and Implementation of the Generation Method of Movement Authority in Radio Block Center
- Research on Building of Ontology for CTCS-3Test Cases with Application
- Research on Fault Injection Technology in the CTCS-3Train Control System Simulation and Testing Platform
- Formal Modeling and Analysis for Generation of Train Movement Authority in RBC of CTCS-3
- Simulation and Research of the On-board System of CTCS-3
- Research on the Key Technologies of Visualization in CTCS-3 Testing and Simulation Platform