Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Method for generating test cases for computer interlocking system automatically

A computer interlocking and test case technology, applied in the direction of software testing/debugging, can solve problems such as difficulty in guaranteeing efficiency and correctness, low degree of automation, and prone to errors, so as to improve generation efficiency, reduce workload, improve The effect of accuracy

Active Publication Date: 2014-06-04
SHANGHAI FUXIN INTELLIGENT TRANSPORTATION SOLUTIONS
View PDF3 Cites 22 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] In the existing technology, the automatic generation of test cases is less involved, and the interlocking system needs to carry out a large number of repeated test case designs. In most computer interlocking automation tests, the generation of test cases is mostly done manually by experienced technical workers. The degree of automation is not high, time-consuming and labor-intensive, and prone to errors. It is difficult to guarantee efficiency and correctness.

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method for generating test cases for computer interlocking system automatically
  • Method for generating test cases for computer interlocking system automatically
  • Method for generating test cases for computer interlocking system automatically

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0036] Such as figure 2 Shown is the flowchart of the method of the embodiment of the present invention. The method that the computer interlocking system of the embodiment of the present invention automatically generates the test case comprises the following steps:

[0037] Step 1. Form the basic data of the station. The basic data of the station is composed of multiple basic data files. Each basic data file corresponds to all interlocking logic related basic data of a type of trackside equipment. It is composed of equipment elements described by XML files, and each equipment element corresponds to all interlocking logic related basic data of a trackside equipment.

[0038] Preferably, the type of wayside equipment includes a signal, a switch or a section. The device elements include device ID, device type to be tested, device name to be tested, control area and related devices.

[0039] The equipment element described below describes all the basic data related to the inte...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a method for generating test cases for a computer interlocking system automatically. The method includes the following steps that device elements described through an XML file are adopted to form station yard basic data; test template elements described through the XML file are adopted to form a test template file; the test cases are automatically generated according to the station yard basic data and the test template file. The step for generating the test cases automatically mainly includes the sub-steps that the test template elements are traversed, one independent test case set file is generated for each test template element, basic data files are acquired through device type values in the attribute of the test template elements and are circulated in sequence to obtain device elements to be tested, one original test case is generated for a device corresponding to each device element to be tested, and device name and expected value substitution is carried out on each original test case; the basic data files of relevant devices are circulated in sequence, and one test case is generated for each relevant device. By means of the method, the efficiency and accuracy in testing the interlocking system can be improved.

Description

technical field [0001] The invention relates to an automatic testing method for a computer interlocking system, in particular to a method for automatically generating test cases for a computer interlocking system. Background technique [0002] Safety is the eternal theme of railway transportation production, and the computer interlocking system is the key system to ensure the safety of railway station trains and locomotives, so in order to ensure the safety of the system, it must be tested efficiently and fully. [0003] Due to the complexity of the interlocking system business logic relationship, manual testing has disadvantages such as insufficient testing, low testing efficiency, and high labor intensity. Automated testing can replace manual operations to achieve standardized, programmed, and simplified testing, thereby improving Improve work efficiency, shorten test time, and eliminate errors caused by manual operation. [0004] For any automated testing system, if ther...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F11/36
Inventor 刘翔陈云张伟秦怀阳
Owner SHANGHAI FUXIN INTELLIGENT TRANSPORTATION SOLUTIONS
Features
  • Generate Ideas
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More