Script parsing method used for automatic interlocking-software testing platform system

A technology of automatic testing and script analysis, which is applied in the field of railway signal equipment systems, to achieve the effects of saving manpower and time, improving efficiency and extending the construction period

Active Publication Date: 2014-06-25
CASCO SIGNAL
View PDF2 Cites 10 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

But this kind of script parsing is only applicable to a specific field, not i

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
  • Script parsing method used for automatic interlocking-software testing platform system
  • Script parsing method used for automatic interlocking-software testing platform system
  • Script parsing method used for automatic interlocking-software testing platform system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0024] The present invention will be described in detail below in conjunction with the accompanying drawings and specific embodiments.

[0025] This embodiment is carried out on the premise of the technical solution of the present invention, and the detailed implementation and specific operation process are given, but the protection scope of the present invention is not limited to the following embodiments.

[0026] Such as figure 1 As shown, this embodiment includes three layers: application layer, logic layer and interface layer. The application layer includes a file reading module.

[0027] Such as figure 2 As shown, the file reading module mainly includes: interlocking table, interlocking table configuration file, interlocking confirmation test form and general test script template.

[0028] Such as figure 1 As shown, the logic layer includes a parsing script module and an execution script generating module.

[0029] Such as figure 1 As shown, the interface layer in...

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 relates to a script parsing method used for an automatic interlocking-software testing platform system. The script parsing method is characterized by comprising the follow steps that (1) scripts are read in, wherein input files comprise general test script template files, interlocking table configuration files, interlocking confirmation test tables and interlocking tables; (2) script compiling is conducted and comprises the steps of morphology parsing, grammar compiling and creation of a syntax tree; (3) the scripts are rebuilt, and final scripts for testing operation are generated according to the syntax tree; (4) the scripts operate. Compared with the prior art, the script parsing method has the advantages of lowering labor cost, improving efficiency and the like.

Description

technical field [0001] The invention relates to a railway signal equipment system, in particular to a script analysis method for an interlocking software automatic testing platform system. Background technique [0002] Currently, in the MMI-based station simulation mode, it is necessary to perform operations such as routing, routing cancellation, occupancy clearing, etc., to check the status of equipment in the station, and then compare it with the expected result data in the script to determine whether it is correct. Manual review one by one. However, although the manual test method is more flexible and can take into account many special situations, its disadvantage is that due to the large number of stations on each line, it is relatively difficult to conduct a complete and systematic exhaustive test. It is relatively long, usually takes several months, and once an error is found, the interlocking logic needs to be re-modified and a new round of testing will be carried ou...

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
Inventor 何红光赵翠云梅文兰王旭东张程陈吉余朱怡兰青辉李卫娟
Owner CASCO SIGNAL
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