Research and Application of Interlocking Software Automatic Testing Technology
- Author
- LiuJianHua
- Advisor
- WangChengLong
- School
- Lanzhou Jiaotong University
- Major
- Traffic Information Engineering \u0026 Control
- Classification
- U284.362 Electrical and electronic interlocking
- Degree
- Master's thesis
- Year
- 2013
- Downloads
- 1
- Citations
- 0
Abstract
With the rapid development of Chinese railway, safety is the theme of railwaytransportation and operation forever. In recent years, Computer Interlocking System with itssmall footprint, easy modification, intelligence and other advantages, is widely applied ineach station. Guaranteed in computer hardware, the reliability and safety of the interlockingsoftware have become a focus in the field of railway signal. Testing is one of the methods forensuring the safety and reliability of interlocking software, and the traditional interlockingsoftware testing is difficult to ensure the efficiency and quality of testing, which to someextent relies on the experience and knowledge of testing personnel. Therefore, manyinstitutions begin to study the software automatic testing.The testing data is the basis of the various stages of software testing. It is the emphasisand difficulty in software automatic test that whether can generate and screen the valid testdata. On the basis of studying the functions and hierarchical structure of ComputerInterlocking Software, through the comparative analysis of existing research on generation oftest data, and the application of the test tool named Testbed, combined with software testtheory, a method of test data generation which is based on Petri Nets modeling is proposed.Petri Nets is a kind of directed graph for software test, thus some theories and algorithmsrelated to Graph Theory can be used flexibly. As a result, the advantages of the new methodlie in that the problem is abstracted into directed graph which is more intuitive and clear, andthe test data generation is not affected by the subject factors of tester, the test efficiency andthe test quality are greatly improved.The methods of test data automatic generation from aspects of unit testing and functiontesting are studied.Unit testing is the initial stage of interlocking software dynamic testing activities.Conversion rule from program code to Petri Nets is given out, considering from the internalstructure of the functions or modules. In view that the coverage rate of interlocking softwareunit testing is measured by Statement Coverage, Branch Coverage and Modified ConditionDecision Coverage, path testing is proposed. The various structures of Petri nets and theprocessing of path redundancy situation are fully taken into account in path algorithm.According to the safety requirements of interlocking software, function testing is tocheck out the basic functions and the protection function within safe range of interlockingsystem. The concepts of cut sets and minimal cut sets in the fault tree analysis are introduced.Petri Nets model for safety is established from the point of view that whether the traffic safetyis endangered, through the analysis of the processes of route establishing and route releasing.The basis events set, including various events which endangers the traffic safety, is solved by incidence matrix, and the test cases are generated by dividing the test data input spaceaccording to the safety constraints.Finally, the interlocking software is tested using the foregoing method of generating testcases. The results of test cases execution show that this method can not only satisfy thecoverage requirements, but also can find the software and the design errors, providingreference data for further improvement and optimization of interlocking software.
Related dissertations
- Research on the Method for Modeling and Analyzing PLC Programs Based on Petri Nets
- Research on Dependability Assurance for Internetware
- Analysis Based on Petri Nets and Automatic Implementation of Sdn-Oriented Protocol Heartbeat Mechanism
- Multi-Objective Optimization of Job Shop Scheduling and System-Developing under Hybrid Genetic Algorithm
- Research of Some Key Technology about Train Control System Based on Petri Nets
- The Optimization and Coordination Theory of Petri Nets and Its Applications
- Analysis and Optimization of Production System Processes of Discrete Manufacturers Based on Petri Nets
- Research on Workflow Model Method and Validation Based on Petri Nets
- MIP Based Deadlock Prevention Monitor Design for S~4PR Nets
- Research on Software Technology in HVDC Transmission Design Software Package
- Intelligent Community Context Aware Service System Research
- Optimal Design and Scheduling Simulation Study on the Ammunition Transport System
- Research on Petri Nets-based Aircraft Routing and Conflict Control for A-SMGCS
- Research on Modeling Method of Aircraft Assembly Line Based on Petri Nets
- Collaborative Design Process Modeling Technique Based on Petri Net
- The Research on Evaluation and Modeling of Production Logistics of Cigarette Factories
- Studies on an Approach to Process Alarm Event Grouping
- Agricultural Image Processing System Design and Algorithm Research Based on Cloud Computing
- Research on Diagnosis Technology and Its Application for Enterprise Management Process Based on Petri Net
- The Design and Implementation of Software Auto Test System Based on Enodeb Control Plane