Automatic testing system and method for interlocking system

An automated testing and interlocking system technology, applied in the field of rail transit, can solve problems such as complex logic of interlocking rules, insufficient testing, and high requirements for testers, so as to improve convenience, ensure reliability, and reduce workload.

Pending Publication Date: 2022-07-01
浙江众合科技股份有限公司
View PDF0 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Due to the complex logic of the interlocking rules involved in the interlocking system, and the large scale of interlocking software based on Boolean algebra, unlike high-level languages ​​that have corresponding unit testing tools, manual testing has higher requirements for testers, and Unavoidable problems such as low testing efficiency and insufficient testing

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
  • Automatic testing system and method for interlocking system
  • Automatic testing system and method for interlocking system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0042] An interlocking system software features black-box and white-box automated test systems such as figure 1 and figure 2 shown, including:

[0043] The test case generation module combines the interlocking data of the tested sites with general business logic to generate test cases of the tested sites one by one.

[0044] That is, for an executable test case, the specific parameters and the logic of the issued request are generated by combining the interlocking data of the tested site and the business logic test template. For example, for the use case of handling the route of this site, the operation parameter C_JQ will be replaced by XX_JQ (XX is the specific route name), and the corresponding parameter SXH_LXJJ will be replaced by XX_LXJJ (the name of the starting signal machine corresponding to the XX route) .

[0045] The generated test cases will be refined to the level of man-machine interface operation instructions to manage access use cases. The complete test pr...

Embodiment 2

[0057] A black box and white box automated testing method for software functions of an interlocking system, the specific process of using Embodiment 1 to perform an automated testing of the interlocking system is as follows:

[0058] 1) Read the station equipment configuration file from the specified path through the business data analysis module, and analyze the interlocking data of the tested station.

[0059] 2) Read the business logic test template from the specified path through the business logic generation module, and parse the business logic test template to generate business logic.

[0060] 3) Combine the parsed interlocking data of the tested site with business logic to generate a test case with the deliverable code bit as the underlying logic.

[0061] 4) Execute each step of the test case one by one, that is, send the code bit to the interlocking controller through the communication module.

[0062] 5) If in the test process, the relevant code bits of CC, ZC, and ...

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 an automatic test system and method for an interlocking system, and the system comprises a test case generation module which combines interlocking data of a tested station with general business logic, and generates test cases of the tested station one by one; the subsystem simulation module is used for simulating a vehicle-mounted CC and / or a zone controller ZC and / or adjacent station interlocking, and acquiring a control message of sending a code bit to an interlocking controller of a tested station; the test case execution module sends the selected test cases to the interlocking controller one by one in the form of code bits, and the interlocking controller performs automatic testing according to the code bits in the received data; the Boolean algebraic calculation module is used for substituting the current value of the Boolean variable into the corresponding interlocking logic expression for calculation to obtain an actual test result; and the test result judgment module is used for comparing a preset test expected result with an actual test actual result one by one and giving a test result. According to the invention, the test efficiency is improved, and more test scenes are provided.

Description

technical field [0001] The invention belongs to the technical field of rail transit, and in particular relates to an interlocking system testing technology. Background technique [0002] Interlocking refers to the mutual restriction relationship established by technical means between the signal, the road and the switch in order to ensure the safe, reliable and effective operation of the train and prevent the occurrence of traffic accidents. [0003] The interlocking system is the core safety guarantee system in the field of rail traffic signals. It has very strict requirements on safety, reliability and stability, and must meet the principle of fault-oriented safety. It should be adequately, rigorously and efficiently tested before being put into service. [0004] At present, testing of interlocking systems is mainly performed manually. Because the logic of the interlocking rules involved in the interlocking system is complex, and at the same time, the interlocking softwar...

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
IPC IPC(8): G06F11/36
CPCG06F11/3684G06F11/3688G06F11/3692
Inventor 卢平管伟新柳凤真付云霞王瑞云马加成
Owner 浙江众合科技股份有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products