CN115716494A - Interlocking data testing method and device - Google Patents

Interlocking data testing method and device Download PDF

Info

Publication number
CN115716494A
CN115716494A CN202211485975.9A CN202211485975A CN115716494A CN 115716494 A CN115716494 A CN 115716494A CN 202211485975 A CN202211485975 A CN 202211485975A CN 115716494 A CN115716494 A CN 115716494A
Authority
CN
China
Prior art keywords
route
state
interlocking
test
data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202211485975.9A
Other languages
Chinese (zh)
Inventor
张建喜
邱锡宏
郭颖敏
杨亮
赵瑀豪
李驿
侯震
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
CRSC Urban Rail Transit Technology Co Ltd
Original Assignee
CRSC Urban Rail Transit Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by CRSC Urban Rail Transit Technology Co Ltd filed Critical CRSC Urban Rail Transit Technology Co Ltd
Priority to CN202211485975.9A priority Critical patent/CN115716494A/en
Publication of CN115716494A publication Critical patent/CN115716494A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Train Traffic Observation, Control, And Security (AREA)

Abstract

The invention provides an interlocking data testing method and device, wherein the method comprises the following steps: acquiring information of each access in the interlocking data; the information of the route comprises a station yard to which the route belongs, a button corresponding to the route and a first state of a signal machine corresponding to the route; for each route, acquiring a second state of a signal machine corresponding to the route based on the station to which the route belongs and the buttons corresponding to the route; and acquiring a test result of the route based on the first state and the second state. The interlocking data testing method provided by the invention can automatically obtain the interlocking data testing result by pre-configuring the interlocking logic, can reduce the requirement on manual operation, and can improve the efficiency and accuracy of the interlocking data testing.

Description

Interlocking data testing method and device
Technical Field
The invention relates to the technical field of rail transit, in particular to an interlocking data testing method and device.
Background
In a signal system of rail transit, an interlocking system is a core system responsible for establishing a driving route and is also a necessary system for ensuring the driving safety of the rail transit and improving the operation efficiency. In the interlocking system, interlocking data are necessary components for adapting to different line conditions to ensure the normal operation of the interlocking system. Due to the complex relation of the interlocking data, the interlocking data has high error probability, and the safety of the interlocking system is directly influenced, so that the interlocking data needs to be tested.
In conventional interlocking data testing methods, a worker is typically required to operate each of the entries in the rail transit signal system in a test environment to test whether the interlocking logic of the interlocking data is correct. The interlocking system which passes the interlocking data test cannot ensure the traffic safety and the traffic efficiency of the rail transit due to the problems of huge data volume of the interlocking data, large workload of manual test, low test efficiency, error test result caused by errors and the like.
In summary, the existing interlock data testing method has the defects of low testing efficiency and the like.
Disclosure of Invention
The invention provides an interlocking data testing method, which is used for overcoming the defect of low interlocking data testing efficiency in the prior art and improving the testing efficiency and accuracy.
The invention provides an interlocking data testing method, which comprises the following steps:
acquiring information of each access in the interlocking data; the information of the route comprises a station yard to which the route belongs, a button corresponding to the route and a first state of a signal machine corresponding to the route;
for each route, acquiring a second state of a signal machine corresponding to the route based on the station to which the route belongs and the buttons corresponding to the route;
and acquiring a test result of the route based on the first state and the second state.
According to the interlocking data testing method provided by the invention, the obtaining of the second state of the annunciator corresponding to the arranged route based on the station yard to which the route belongs and the button corresponding to the arranged route comprises the following steps:
reading an interlocking control map of the yard;
determining the position of the button in the interlocking control chart based on preset configuration information;
generating a target operation instruction for the button based on the position of the button;
and responding to the target operation instruction, and acquiring the second state.
According to the interlocking data testing method provided by the invention, the obtaining the second state in response to the target operation instruction comprises the following steps:
and responding to the target operation instruction, and acquiring response data of the signalers corresponding to the arranged route in the interlocking subsystem and/or the display state of the signalers corresponding to the arranged route in the interlocking control diagram of the station yard.
According to an interlocking data testing method provided by the present invention, before acquiring, for each of the routes, a second state of a traffic signal corresponding to the route based on a station to which the route belongs and a button corresponding to the route, the method further includes:
and on the basis of the station yard to which the access road belongs, screenshot is carried out on the station yard graph of the station yard, equipment control information is set, and an interlocking control graph of the station yard is obtained.
According to the interlocking data testing method provided by the invention, the step of obtaining the testing result of the route based on the first state and the second state comprises the following steps:
and determining the test result of the route as correct under the condition that the first state is consistent with the second state, and determining the test result of the route as error under the condition that the first state is inconsistent with the second state.
According to the interlocking data testing method provided by the invention, after the test result of the route is obtained based on the first state and the second state, the method further comprises the following steps:
and outputting the test result of the interlocking data based on the test result of each route.
The invention also provides an interlocking data testing device, comprising:
the first acquisition module is used for acquiring information of each access in the interlocking data; the information of the route comprises a station yard to which the route belongs, a button corresponding to the route and a first state of a signal machine corresponding to the route;
a second obtaining module, configured to obtain, for each route, a second state of an annunciator corresponding to the route based on a yard to which the route belongs and a button corresponding to the route;
and the third acquisition module is used for acquiring the test result of the route based on the first state and the second state.
The invention also provides an electronic device, which comprises a memory, a processor and a computer program stored on the memory and capable of running on the processor, wherein the processor executes the program to realize the interlocking data testing method.
The present invention also provides a non-transitory computer readable storage medium having stored thereon a computer program which, when executed by a processor, implements an interlock data testing method as described in any of the above.
The invention also provides a computer program product comprising a computer program which, when executed by a processor, implements the interlocking data testing method as described in any one of the above.
The interlocking data testing method provided by the invention can automatically read the interlocking data to be tested, automatically acquire the interlocking data lock testing result by pre-configuring the interlocking logic, reduce the requirement on manual operation and improve the accuracy of the interlocking data testing.
Drawings
In order to more clearly illustrate the technical solutions of the present invention or the prior art, the drawings needed for the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and those skilled in the art can also obtain other drawings according to the drawings without creative efforts.
FIG. 1 is a schematic flow chart of an interlocking data testing method provided by the present invention;
FIG. 2 is a schematic diagram of a design concept of an interlocking data testing method provided by the present invention;
FIG. 3 is a schematic diagram of the technical architecture of the interlocking data test method provided by the present invention;
FIG. 4 is a schematic diagram of a software core architecture of the interlocking data testing method provided by the present invention;
FIG. 5 is a component definition diagram of the interlocking data testing method provided by the present invention;
FIG. 6 is a schematic structural diagram of an interlocking data testing device provided by the present invention;
fig. 7 is a schematic structural diagram of an electronic device provided by the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention clearer, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings, and it is obvious that the described embodiments are some, but not all embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The following describes the interlock data testing method and apparatus provided by the present invention with reference to fig. 1-7.
Fig. 1 is a schematic flowchart of an interlocking data testing method provided by the present invention, and as shown in fig. 1, an execution main body of the interlocking data testing method provided by the present invention may be an interlocking data testing apparatus, and the method includes: step 101, step 102 and step 103.
Step 101, obtaining information of each route in the interlocking data; the information of the route comprises a station yard to which the route belongs, a button corresponding to the arranged route and a first state of a signal machine corresponding to the arranged route.
Specifically, a route is a path traveled by a train, locomotive or train from one location to another within a station. In interlocking, it is necessary to specify the extent of the approach, i.e. the beginning and end of the approach, indicating switches, track sections and approaches, and the relationship between approaches and approaches.
Specifically, the interlocking data is a necessary component for adapting to different line conditions to ensure the normal operation of the interlocking system, and is data for configuring the interlocking system to ensure that the interlocking system has the function of ensuring the traffic safety and the traffic efficiency of the rail transit.
In the embodiment of the invention, the interlocking data to be tested can be manually stored in the appointed directory of the database in the interlocking data testing system in a pre-configured mode. The interlocking data to be tested can be obtained by reading an interlocking table and/or a mining-driving table and the like. The interlocking data testing system obtains the information of the access route by reading the information of the interlocking table and/or the acquisition and driving table, and generates the interlocking data to be tested of a specific station. The number of the interlocking data to be tested may be one or more, which is not particularly limited in the embodiment of the present invention. The interlocking data to be tested may comprise at least one record. Each record is used for describing information of one route. Each record may include fields such as stop name, route number, route push button, name of semaphore, display of semaphore, switch, hostile signal, track segment, proximity lock, other interlocking objects, protection segment, auto-triggered route trigger segment, and auto-pass route function.
For each route, the yard to which the route belongs refers to the yard name where the route is located, and different routes can be located in the same yard. The button corresponding to the arranged route refers to a button pressed when the route is arranged, and the button pressed when the corresponding route train enters the station and the button pressed when the corresponding route train leaves the station are respectively arranged. The first state of the traffic signal corresponding to the route is a state corresponding to a correct result of the route traffic signal, and can be displayed as a green-off state, a yellow-off state, an outdoor green light, an outdoor yellow light or the like.
Specifically, the interlocking data to be tested is the interlocking data that needs to be tested. The embodiment of the invention can be suitable for single test and route test. The single test comprises the test items of turnout sealing/turnout unlocking, turnout single locking/single unlocking and the like; the route test is divided into two modes, namely a CBTC (Communication Based Train automatic Control System) mode and a degradation mode, and the main test contents comprise route transaction, independent operation of turnouts in a route, turnout position conversion, signal closing and reopening, route cancellation and the like.
And 102, acquiring a second state of the annunciator corresponding to the arranged route according to the station to which the route belongs and the button corresponding to the arranged route.
Specifically, based on the station yard to which the route belongs and the button corresponding to the arranged route, the state change of the traffic signal corresponding to the route can be judged based on the interlock logic, and the second state of the traffic signal corresponding to the arranged route is acquired.
Illustratively, the second state of the traffic signal corresponding to the route includes green-out, yellow-out, outdoor green light or outdoor yellow light.
And 103, acquiring a test result of the route based on the first state and the second state.
Specifically, in the embodiment of the present invention, the process of testing the interlocking data to be tested is to determine whether the interlocking data to be tested can satisfy the interlocking logic condition embodied in the interlocking data test case, and determine whether the first state of the annunciator corresponding to each arrangement route is consistent with the second state of the annunciator. Therefore, the interlocking data to be tested corresponds to one test result for each interlocking data test case. The test results include pass and fail.
Files containing methods for judging whether the first state and the second state of the annunciator corresponding to the arranged route conform to the interlocking logic or not can be stored in a designated directory in the interlocking data test system in a pre-configured mode. Different judgment methods can be used for different routes, and the same judgment method can also be used, depending on the requirements of corresponding routes in actual situations.
Alternatively, as shown in fig. 2, a test log is generated based on the interlocked data test result, and the test log is stored under a designated directory of the interlocked data test system. The test log file may be in tabular format, or in other formats. The test log includes all execution actions and verification results, test time, version of the object under test, name of item of the object under test, path of the object under test, PC (personal computer) name and name of item under test, etc. The verification result is represented by a prescribed symbol, and includes correct and incorrect. The PC is a device required for performing a test, and may be a computer or another device having a storage and operation function.
Optionally, the test log generated based on each item may be converted into a final test record sheet, where the test record sheet includes a test result, a version of the object to be tested, and a test time. The test record sheet can adjust the existing test record template according to the requirement.
According to the embodiment of the invention, the information of each route in the interlocking data is obtained, the first state of the signaler corresponding to the route is obtained based on the station to which the route belongs and the buttons corresponding to the arranged routes, the second state of the signaler corresponding to the route is obtained, and the test result of the route is obtained based on the first state and the second state of the signaler corresponding to the route. By configuring the interlocking logic in advance, the test result of the interlocking data lock is automatically obtained, the requirement on manual operation can be reduced, and the accuracy of the interlocking data test can be improved.
Based on the content of any of the above embodiments, acquiring, based on the yard to which the route belongs and the button corresponding to the arranged route, the second state of the traffic signal corresponding to the arranged route includes:
reading an interlocking control chart of the station yard.
It should be noted that the interlocking control chart needs to be stored in advance in a database designated directory in the interlocking data test system. Based on a pre-configured file, the device for executing the interlocking data test method provided by the invention can determine the station yard to which the access belongs according to the information of the access, search in the appointed directory of the pre-stored screenshot according to the name of the station yard, determine the interlocking control chart of the station yard, acquire the interlocking control chart and load the interlocking control chart into the MMI.
Specifically, according to a pre-configured file, the device can read the route interlock control map stored in advance under a specified directory. The interlocking control chart is a control chart generated according to the specified principle and format according to the conditions of lines, switches, signal machines, track sections and the like shown by the station signal plane layout chart and is used for showing the basic interlocking content among routes, switches and signal machines. The interlocking control chart takes the route as a main body, and the button which is arranged on the route and needs to be pressed, the name and the display of a signal machine for protecting the route, the number and the position of a turnout which requires to be checked and locked by the route, the name of a track section which is checked correspondingly to the route and a signal of a discharged route enemy are all represented in the interlocking control chart one by one. The user performs corresponding operations on the interlocking control chart, and corresponding results calculated based on the interlocking logic can be obtained and displayed in the interlocking control chart.
And determining the position of the button in the interlocking control chart based on preset configuration information.
The interlocking data testing device identifies the interlocking control chart, acquires the graphic elements in the interlocking control chart, identifies the graphic elements in the interlocking control chart, judges the graphic element information in the interlocking control chart based on the pre-configured graphic element information, and determines the graphic elements which represent operable buttons and the graphic elements which represent signalers.
Specifically, the configuration information needs to be stored in advance in a designated directory of a database in the interlocking data testing system. The configuration information comprises graphical interface data configuration information, control human-computer interface menu information, control human-computer interface operation element information, interlocking data table configuration information, driving data table configuration information and the like. And positioning other equipment coordinates by configuring equipment pixel anchor points of the graphical interface and taking the equipment pixel anchor points as reference objects.
Specifically, the device coordinate file Icondev is configured in advance, the direction of the traffic signal is determined firstly, namely the traffic signal is determined to be towards the left or the right, then the high column or the low column of the traffic signal is determined, and the deviation value between the coordinate of the coordinate file and the actual coordinate is calculated for one button, so that the position coordinates of other buttons are calculated according to the deviation value.
Illustratively, for one button, the X-axis first increment is a fixed value and is 8, for a high and short post of the signal, the X-axis second increment is set to be 0 when the signal is a short post, and the coordinates of other equipment are calculated in an internal drawing mode according to XML configuration coordinates. The semaphore towards the right side is a short column, and the original position of the file is as follows: the X-axis 144, Y-axis 612, XML configuration coordinates are X-axis 152, Y-axis 670, the difference is X-axis 8, Y-axis 58, and the other semaphores toward the right calculate coordinate positions in this manner. According to the coordinate verification method, after the configuration of the anchor point coordinates is completed, the position verification of the anchor point coordinates can be carried out, and when the verification is accurate, the position coordinates of other equipment can be generated according to variables.
Illustratively, for one button, the X-axis first increment is a fixed value and is 8, for a high and low column of the signal, the X-axis second increment is set to be 4 when the signal is a half-high column, and the coordinates of other equipment are calculated in an internal drawing mode according to XML configuration coordinates. The semaphore towards the right side is a short column, and the original position of the file is as follows: the X-axis 1480, Y-axis 800, XML configuration coordinates are X-axis 1492, Y-axis 858, the difference is X-axis 12, Y-axis 58, and the other semaphores toward the right calculate the coordinate positions in this manner. According to the coordinate verification method, after the configuration of the anchor point coordinates is completed, the position verification of the anchor point coordinates can be carried out, and when the verification is accurate, the position coordinates of other equipment can be generated according to variables.
Illustratively, for one button, the X-axis first increment is a fixed value and is 8, for a high and low post of the signal, the X-axis second increment is set to be 8 when the signal is a high post, and the coordinates of other equipment are calculated in an internal drawing mode according to XML configuration coordinates. Towards the semaphore on right side, for the short column, file original position is: the X-axis 160, Y-axis 200, XML configuration coordinates are X-axis 176, Y-axis 258, the difference is X-axis 16, Y-axis 58, and the other semaphores toward the right calculate coordinate positions in this manner. According to the coordinate verification method, after the configuration of the anchor point coordinates is completed, the position verification of the anchor point coordinates can be carried out, and when the verification is accurate, the position coordinates of other equipment can be generated according to variables.
Based on the position of the button, a target operation instruction for the button is generated.
Specifically, the functions of the buttons are judged through preset configuration information based on the positions of the buttons, and the operation instructions for the buttons are generated according to preset interlocking logic. The operation instruction is an instruction made for an operation performed on the target button, and the corresponding operation is performed according to the instruction. The executable operation includes clicking a button, calling up a sub-menu, or clicking an option in a sub-menu after calling up a sub-menu, etc.
And responding to the target operation instruction, and acquiring a second state.
Specifically, according to the generated target operation instruction for the button, the device can simulate a manual operation method, execute corresponding operation, and acquire the second state of the annunciator corresponding to the arrangement route. The method for simulating manual operation is to obtain the information and state of the target button based on the pre-configured information, judge the operation of the button based on the interlocking logic, move a cursor or other executable operation modes by software, and perform corresponding operation.
The embodiment of the invention reads the interlocking control map of the station yard, determines the position of the button in the interlocking control map based on the preset configuration information, generates the target operation instruction for the button based on the position of the button, responds to the target operation instruction, and acquires the second state. By configuring interlocking logic in advance, the interlocking data lock test result is automatically obtained, the requirement on manual operation can be reduced, and the accuracy of the interlocking data test can be improved.
Based on the content of any of the above embodiments, the obtaining the second state in response to the target operation instruction includes:
and responding to the target operation instruction, and acquiring response data of the signalers corresponding to the arrangement route in the interlocking subsystem and/or the display state of the signalers corresponding to the arrangement route in the interlocking control diagram of the station yard.
Specifically, the second state of the traffic signal corresponding to the arrangement route may be indicated by the response data of the traffic signal corresponding to the arrangement route and/or the display state of the traffic signal in the interlock control map. The response data of the annunciator corresponding to the arrangement route can be recorded in the test result to display the state of the annunciator; based on the response data of the annunciator corresponding to the arrangement route, the interlocking control software reads the response data and displays the response data as lighting or lighting-off according to the read data according to the display logic of the software.
Illustratively, the display states of the traffic signals corresponding to the route arranged in the interlocking control map of the station yard include green-out, yellow-out, outdoor green light or outdoor yellow light.
The embodiment of the invention obtains the response data of the annunciators corresponding to the arranged routes in the interlocking subsystem and/or the display states of the annunciators corresponding to the arranged routes in the interlocking control chart of the station yard by responding to the target operation instruction, and automatically obtains the interlocking data lock test result by pre-configuring the interlocking logic, so that the requirement on manual operation can be reduced, and the accuracy of the interlocking data test can be improved.
Before acquiring the second state of the annunciator corresponding to the arranged route based on the station to which the route belongs and the button corresponding to the arranged route for each route, the interlocking data testing method further includes: and on the basis of the station to which the approach belongs, screenshot is carried out on a station map of the station, equipment control information is set, and an interlocking control map of the station is obtained.
Specifically. The station yard graph of the station yard is captured based on the station yard to which the access road belongs, equipment control information is set, and an interlocking control chart of the station yard is obtained. The user can use the screenshot tool carried by the operating system to perform screenshot, and can also use other screenshot tools to perform screenshot, and during screenshot, the user needs to pay attention to the fact that the screenshot interface cannot have other contents except the window to be screenshot.
The embodiment of the invention obtains the response data of the annunciators corresponding to the arranged routes in the interlocking subsystem and/or the display states of the annunciators corresponding to the arranged routes in the interlocking control chart of the station yard by responding to the target operation instruction, and automatically obtains the interlocking data test result by pre-configuring the interlocking logic, thereby reducing the requirements on manual operation and improving the accuracy of the interlocking data test.
Based on the content of any of the above embodiments, obtaining a test result of a route based on the first state and the second state includes: and determining the test result of the route as correct under the condition that the first state and the second state of the signallers corresponding to the arranged route are consistent, and determining the test result of the route as error under the condition that the first state and the second state of the signallers corresponding to the arranged route are inconsistent.
Specifically, for each route, it may be determined whether the first state and the second state of the semaphore corresponding to the route are aligned. If the result is consistent, the test result of the arranged route interlocking data is judged to be correct; if not, the test result of the interlock data of the route is judged to be wrong.
Illustratively, the first state and the second state of the signal machine corresponding to the route are consistent and are represented as the states of green light out, yellow light out, green light outside or yellow light outside, and the test result of the route is determined to be correct. If the first state is inconsistent with the second state, in this case, the test result of the route is determined to be an error.
According to the embodiment of the invention, the test result of the route is determined to be correct under the condition that the first state and the second state of the signallers corresponding to the arranged route are consistent, and the test result of the route is determined to be wrong under the condition that the first state and the second state of the signallers corresponding to the arranged route are inconsistent. By configuring interlocking logic in advance, the interlocking data lock test result is automatically obtained, the requirement on manual operation can be reduced, and the accuracy of the interlocking data test can be improved.
Based on the content of any of the above embodiments, after obtaining the test result of the route based on the first state and the second state, the method further includes: and outputting the test result of the interlocking data based on the test result of each route.
Specifically, based on the test result of each route, the first state and the second state of the annunciator corresponding to each arranged route are counted, the test result obtained based on the first state and the second state of the annunciator corresponding to each arranged route is counted, and all the counted results of each route of the annunciator corresponding to the arranged route are output as the test result.
And generating a test log after the test is finished, wherein the test log can be in an Excel format or in other formats capable of representing test results. The log file contains all execution actions and verification results, wherein the square is correctly used, the X is incorrectly used, and the log file also comprises test time, version of the tested object, item name of the tested object, path of the tested object, PC name, name of the test item and the like. The test logs generated according to the items can be converted into a final test record list, and the existing test record template can be adjusted according to different requirements. The test record sheet comprises a test result, a tested object version and test time.
The embodiment of the invention outputs the test result of the interlocking data through the test result based on each route. By configuring interlocking logic in advance, the interlocking data test result is automatically obtained, the requirement on manual operation can be reduced, and the accuracy of the interlocking data test can be improved.
For clearly explaining the embodiments of the present invention, an embodiment based on the interlock test method is provided below to illustrate the implementation of the embodiments of the present invention, and the method of the present invention is performed by the test embodiment. Therefore, the description and definition in the interlock data test method in the foregoing embodiments can be used for understanding of the embodiments of the present invention.
This embodiment may be performed based on an interlocking data testing tool (program) that may be used to perform the present method of interlocking data testing.
The technical architecture of the tool is described in detail below with reference to fig. 3.
The technical architecture is a technical scheme for realizing all functions and is based on Windows.
The application code is as follows: the application code is composed of a Tcl/Tk file complying with the Tcl/Tk language.
A Tcl/Tk interpreter Tcl/Tk resolver: the Tcl/Tk parser allows the Tcl/Tk script to be executed on the target Windows.
The tool core can be operated on a Windows system of a PC, specifically, can be operated on a Windows7 system or a Windows10 system, and the objects to be tested CI and MMI are application software operated on Windows.
A third party library:
BWidget: is a library written in Tcl/Tk, which provides Tk high level widgets including buttons, drop down list boxes, scrolling windows and menus, etc.
TWAPI: the Tcl Windows API is a library for Windows to provide control through various interfaces, and the interfaces used by the test tool are Win32 API and COM interface.
CAWT: the COM automation with Tcl is a library for providing control on Windows COM interface application, and is mainly an office suite, wherein the office suite can be Word or Excel and the like. The CAWT is used to automatically import spreadsheet data and generate a log file.
Capture2Text: the method can help a user to identify some characters which cannot be directly copied when the user operates a computer, the main identification mode in software is screenshot identification, and the identification operation is carried out after the characters, the button states and the indicator light states which are required to be identified are captured.
The core architecture is an important process of the tool work, and comprises the whole process of configuring from a user, reading an input file, generating test data, importing a test item, executing a test and outputting a test result, wherein the core software architecture is shown in fig. 4.
The tool comprises the following components: configurator, sequencer, executor, communicator, checker, recorder, tool core, user graphical interface, and tool core interface. The function or operation of the various components of the tool will be described in more detail below with reference to fig. 5.
The configurator: the purpose of the configuration component is to provide application data and configuration for the tool application software. The configuration component displays the selected picture view in the Tk window; the picture view reflects the original size and the picture position; the display picture can be scrolled to achieve a complete image; when the user clicks the left key on the picture, the configuration component returns to the cursor position; the configuration component is provided with a user palette definition, which can be checked for display with a test tool; the configuration component defines a configuration array for each view, wherein the configuration array comprises an object type, an object name, an object position, an object type defined by a user such as a signal machine, a track section, a turnout track section and the like, the object type anchor point is reserved for placing an anchor point on the view, and the object type signal machine is reserved for setting the position of the signal machine on the view; the configuration component can upload data from an Excel file; configuration component data uploads are defined by the user through scripts published to them; the configuration component has the function of acquiring the view through the object name; the configuration component has the function of acquiring the same view from the two annunciators; the configuration component has the function of obtaining the same view from two anchor points; the configuration component has the function of setting offsets on the view for the x and y coordinates of all objects. The offset is applied when the object position is obtained, for example, because the title bar needs to adjust the offset of the picture view.
A sequencer: the sequencer reads the test item files from the input files and executes the sequential operation of the test item files; the sequencer starts the corresponding distributed application according to the test item background. If the test items are operations defined on MMI and LSTEST, the sequencer makes these applications available to the test tool; the sequencer executes the operation immediately, and waits for the result of the previous operation before executing the next operation; if the program is frozen, wrong or abnormal, the sequencer can stop the test item from running; the sequencer may restart execution of the test items from a given system and test item context. In the context of a scene, it is meant to start from a test point.
An actuator: and executing corresponding command operation in the test process, such as starting the tested software, pressing a corresponding button to handle the route, operating a turnout, canceling the route and other operations to be executed, so as to complete the whole test task.
The communicator: the component communicator may define a socket client/server and pipe communication; the communication channel has no blocking mode and buffer line; the client reader executes the safely received command line and returns a result to the command transmitter; the communication function of the command sender waits for the command result and returns the command result; the communication function can execute Windows application, control a standard input/output channel (stdin/stdout), and record exe id for future use; communication with the Windows executable is performed through stdin and stdout channels; the component communicator uses the returned stored _ id to abort the executing executable file; the component communicator may communicate the dedicated command from the tool core to the software under test.
An inspector: the checker has the functionality of verifying that the component provides a check screen display, such as: when a command operation is executed, a certain button is pressed, the tool conducts screenshot, the difference between the button before pressing and the button after pressing is compared, and whether the button is pressed successfully or not is confirmed.
A recorder: the global "log" function is used to write text in a log file in a scene. Recording the test result and the error number, and outputting an Excel format spreadsheet; if the log file does not exist, generating the log file, otherwise, using the existing log file to write the log text; the log file name is named according to the creation date yyyy _ mm _ dd _ hh _ mm _ ss.xlsxx; the text file recorded in the file takes date as prefix and has a format of y: m: d: m: s: ms; the command "END OF TEST" in the scene file ENDs the log file with the TEST conclusion (pass, fail and number OF failures and errors), closing the file.
The tool core: the tool core executes the test items to record the test results in a convenient manner: if the operation is successful, the test result is explicitly displayed, and the error position is positioned when the operation is unsuccessful; the tool core is composed of a component configurator, a sequencer, an executor, a communicator, a checker and a recorder; the component core executes the test items, and the operations are defined to be executed locally; the component core sends a test command and waits for a feedback result before executing subsequent operation; the component core uses the configured data to perform test item operations and records the results in a log file.
A graphical user interface: tool core user interface: control buttons to configure, start, run, stop, reset, etc. to manage the test. The interface is developed by Tk language and supports GRID + package; in the configuration mode, the mode allows the user to configure the items: configuring MMI data, screenshot data, project data, a configuration adapter, XML proportion configuration, version number configuration of a tested object and the like to complete the configuration of the whole project; in test mode, this mode is used to run tests to generate test logs and records: selecting a test item to be operated, operating the test item which is being operated, and generating a test record from a log file; these two modes are mutually exclusive: user operation in the configuration mode is not available in the test mode and user operation in the test mode is not available in the configuration mode.
Tool core interface: the main window runs the test tool, a main interface can be opened, the main interface is provided with a menu, a file can be opened, a file can be configured, the test interface is switched, and the introduction of a tool core interface is as follows:
file: newly building a TG project; opening and opening TG items; saving, namely saving TG items; in addition, the TG item is stored in a new catalogue; close, close the item.
Editing: the editing commands include undo, repeat, cut, copy, paste, and delete.
Configuration: MMI configuration and graphical interface data configuration; configuring a menu, and controlling a human-computer interface menu; screenshot configuration, namely controlling human-computer interface operation elements; configuring an interlocking data table, and measuring an object route, a turnout, a signal machine and a section element; drive data table configuration, device drive object location element.
And (3) testing: only the test interface is switched to be effectively used.
Question mark: providing assistance and ease of manipulation of partially executable commands.
The main interface also provides: save, copy, paste, return, forward shortcut menu.
The Configuration window can be switched between the Configuration window and the test window, and defaults to a Configuration interface option after starting up
View: and providing loading, generating, data and removing shortcut submenus, and quickly switching to a configured graphical interface, regenerating data, viewing generated data and removing view functions.
XML proportion: the graphical interface device pixel anchor point can be configured, and other device coordinates can be located by taking the anchor point as a reference object.
Controlling and displaying the version: the measurand version may be configured.
An adapter: the path of the tested object at the PC end can be configured for the tool to automatically start the tested object.
The interlock test embodiment comprises the steps of: test environment construction, new project construction, test preparation, test configuration, test execution, test recording and error correction and problem processing.
The specific process of test environment construction can be as follows:
the test core application is placed on a PC, and the PC system can be Windows XP, windows7 or Windows10 and the like. The application does not need to be installed. The tool identifies the positions of all elements according to coordinates, and the identified elements comprise signal machines, switches, sections and the like. The tool may be used with PCs or external displays having resolutions 1920 x 1080 and 1366 x 768, setting the display to the desired resolution.
And starting the test tool, carrying out various configurations on the tool main interface, and configuring required various files.
The file menu is internally provided with a submenu, and the submenu comprises: newly building a side test project; opening, for opening a test item; saving, used for saving the test items; the other storage is used for storing the test items in a new catalogue; close, for closing the item.
Particularly, a new project needs to be created during the first test, and in the subsequent test, the configured project can be opened, and another project is selected to be saved for reconfiguration, so that the configuration time can be saved, and the test efficiency can be improved.
The specific process of creating a new project can be as follows:
selecting a file-new project in a menu, inputting a name and a storage position of the new project in a pop-up dialog box, generating 6 folders in a project directory after the new project is successfully built, wherein the file structure is fixed. The folder includes: the data folder is used for storing the data files generated by configuration; the input folder is used for storing input files including an interlocking table, a mining and driving table, a configuration screenshot, a human-computer interface file and the like; the Template folder is used for storing a test record Template; the tests folder is used for storing the test project files; the test images folder is used for storing verification pictures in the testing process and comprises buttons, a shielding door, a signal door and the like; and the tests results folder is used for storing the test logs and the test reports.
The specific procedure for test preparation may be as follows:
putting the data table into an input folder, wherein the data table comprises an interlocking table, an input and output table and the like; putting the test record Template into a Template folder; putting the test item file into a tests folder; putting the man-machine interface file into an xml folder under an input folder, wherein the xml folder comprises an interface display file, a menu command operation configuration file, a protocol file and the like; the config file is placed in the input folder.
The specific procedure of the test configuration may be as follows:
screenshot configuration: screenshot can be carried out by using a screenshot tool, the intercepted picture is stored in an images folder under an input folder, and the picture format is JPG. Screenshot of the human-computer interface, which is uniformly named as window and is used for controlling the operation of the human-computer interface; optionally, the device state screenshot is uniformly named relay and is used for operating the device state; optionally, the input and output data table screenshot is named in out data in a unified way and is used for checking the action state of the equipment; optionally, the temporary speed limit operation window is a screenshot and is named as limit speed init in a unified mode, and the screenshot is used for setting and canceling the temporary speed limit. After the screenshot is finished, the screenshot can be configured one by one, and a configuration file screen Conf is generated after the screenshot is configured and stored in the data folder.
XML configuration: two signal machines at the leftmost end and the rightmost end of the upper and lower tracks of the human-computer interface of the object to be tested are selected, and the signal machine coordinates are configured based on the interface display file Icondev. The corresponding command positioning can be used to verify whether the coordinate positioning is accurate. The positioning can be finely adjusted and positioned to the center of the annunciator. And after the file configuration is finished, storing the generated configuration file xmlScale in a data folder.
MMI configuration: the MMI is a graphic drawing file and comprises equipment element coordinates including signal machines, turnouts, zones and the like. And selecting an Icondev file under an XML folder in the input folder, pressing a generation button, and generating all equipment coordinates according to the configured XML coordinate anchor points. And the generated coordinate file CM _ MMI is stored in the data folder.
The adapter configuration: and configuring the path of the measured object at the PC end for the tool to automatically start the measured object. And generating configuration files adapters after the file configuration is completed, and storing the configuration files adapters in the data folder.
And (3) operation menu configuration: the equipment menu used for configuring the tool to be opened and operated when the human-computer interface of the object to be tested is arranged comprises the on-off information of a signal machine arranged on the right button of the mouse, the positioning, the reverse position or the quarto of a turnout arranged on the right button of the mouse, the occupation condition of a setting section and the like. And generating a configuration file MENU after the file configuration is finished, and storing the configuration file MENU in the data folder.
Configuration of the Config file: the interlocking data table is used for reading the interlocking data table and the input and output table for the adaptation tool, and the data table is in an Excel format. The data regexp configuration is used for matching data formats, including naming modes of signal machines, sections, turnouts, platform doors, emergency shutdown and the like; device _ attr configuration, which is used for configuring format information of an interlocking table and an input/output table; other _ objectsr configuration for configuring other interlocking object data information including platform doors, emergency closure and car-buckled etc.; protection _ section configuration for protecting section data information; automatic folding section configuration, which is used for configuring data information such as automatic folding and full-automatic folding; the special approach section configuration is used for configuring data information of a special approach locking section; special signalr configuration, which is used for configuring special signal machines, including some cross-station virtual signal machines; and the template configr configuration is used for testing the output configuration of the record list and configuring the record list when the record list is changed.
Interlocking data table configuration: when the interlocking data table is imported, sequentially reading the CBTC interlocking table, the degradation mode interlocking table, the guide signal table and the foldback route signal table; after the interlocking table is successfully imported, testData _ automatic _ folding _ back _ routes (automatic fold-back route data), testData _ landing _ on _ routes (guidance route data), testData _ non _ CTC _ routes (demotion mode route data), testData _ points (switch data), testData _ routes (route data), testData _ sections (section data), testData _ signals (traffic signal data), testData _ states (station name data) are generated under the data folder.
Input and output data table configuration: for input and output configuration, specifically to the specific location of each device in the input and output data table. And generating a configuration file testData _ CBI _ i _ o, and storing the configuration file testData _ CBI _ i _ o under the data folder.
Version configuration: and configuring the version number of the tested object. After the configuration is finished, generating a configuration file MMI _ version, and storing the configuration file MMI _ version in a data folder
And (3) IP address configuration: the tool obtains the communication information between the objects to be tested through the IP address, determines the state of each device and completes the operation of each device, including route handling, switch operation, section occupation and the like.
The specific procedure for test execution may be as follows:
obtaining the MMI control right of the tested object: the control authority of the MMI can be obtained by pressing the button for obtaining the control authority of the MMI on the test interface, and the requirement of executing operation by the tool is realized.
And (3) verifying anchor point coordinates: the anchor signal coordinates are located directly using the "actions:: MMI _ select signal _ lamp1" command statement. The bias is fine-tuned in the XML configuration.
Selecting a test range: the selection of the test range is presented by a file, the file is directly selected during the complete test, the segment test fills the segment range in the file, and the specific test fills the specific equipment in the file. Specifically, the test range refers to all devices and routes, 20 switches exist in the whole field, all tests can be selected, the test range can also be selected from 1-10 in a segmented mode, and certain specific switches can also be selected, such as P001, P008 and P018. Other devices such as: the route, the signal machine and the section can all realize the selection of the modes.
Selecting test contents: the test contents are presented in separate files, so that selection and test are convenient, all the test contents can be selected, part of the test contents can be selected, and a single test content can be selected. The test order can be selected for each test content, the preferential test can be selected, the lag test can be selected, and the test can be selected according to the actual requirement. And after the test content is selected, the name and step number information of the selected test item can be realized in the test interface.
And (3) testing: the execution of the test can be started by pressing the 'operation' button, the tested object is started by the tool at the moment, the selected test contents are executed in sequence, the number of errors of the tested object can be displayed in the test process, the number of termination caused by the errors, the overall progress and the like can be displayed.
The specific procedure of the test recording may be as follows:
and after the test is finished, generating a test log in an Excel format, wherein the log file comprises all execution actions and verification results, correctly uses the square root and incorrectly uses the x, and also comprises test time, a tested object version, a tested object item name, a tested object path, a PC name, a test item name and the like. And converting the test logs generated according to the items into a final test record sheet. The test record sheet comprises a test result, a tested object version and test time.
The specific process of error correction and problem handling may be as follows:
the tool provides an interlocking data table checking function that can be used to check the interlocking data table before import, locating problem points in advance. Certain human configuration errors may exist in the process of configuring the tool, and for the errors, an error prompt can be given when the interlocking table is imported, so that cells of a certain file can be accurately positioned. After all the configurations are configured, a data configuration report can be exported, and global data can be browsed quickly. The test interface can use a device checker to check the state of each device, and if the device state is unknown in the test process, the checker can be used to check the state of the device.
Specifically, after the interlocking data test is performed by using the tool based on the interlocking data test method of the present invention and the interlocking data test is performed manually, the number of days required for testing different numbers of routes is used as a comparison item, and the test efficiency of the manual test and the manual + tool test is compared, and the result is shown in table 1.
TABLE 1 comparison table for manual test and manual + tool test
Figure BDA0003962314440000211
Based on the test results in the table above, 9.3 days/person 50=465 days can be saved per year, calculated at 50 centralized stations per year at a station scale of 40 routes. If the station size is further increased, the efficiency is further improved.
The tool based on the interlocking data testing method of the invention is used for carrying out interlocking data testing, after the interlocking data testing is compared with the manual interlocking data testing, the number of problems identified by different routes is used as a comparison item, and the accuracy of results of the manual testing and the manual + tool testing are compared, wherein the results are shown in table 2.
TABLE 2 comparison table of number of problems found by manual test and manual + tool test
Figure BDA0003962314440000212
Based on the test results in the table, the NCR found by manual testing and the corresponding problems found by the testing tool, wherein one more problem is found by each of the longfeng station and shaoguang station.
Based on the above embodiment, it can be seen that the tool adopting the interlocking data testing method provided by the invention has the advantages of small volume, no need of installation and convenient operation; the tool can be directly operated on a PC provided with windows XP \7 \10and other systems; the tool can complete the test work without connecting an external network; the tool configuration and test are windowed, so that the tool is convenient and visual and has strong visibility; the tool does not need to change any code and data, and realizes the interface test; the tool has convenient and flexible selection of the test range, can test all data, can test part of data, and can independently select any test data; the tool test items are presented in an independent file form, can be selected completely or partially, can be selected for testing in single or multiple non-sequence modes, and can also manually control the testing sequence; the tool can run on a plurality of PC terminals at the same time to test the same project or different projects, so that the test efficiency is improved; the tool can continuously execute the test for 7 × 24 hours, so that the test efficiency is improved; the tool can directly control the mouse and the keyboard to replace manual undifferentiated test, so that test differences caused by different manual technical levels are avoided, problems caused by artificial fatigue can be avoided escaping, and the test quality is improved; the tool can be used for multiple times or for the whole life after being configured once, and after the tool is used for the first time, if a certain project is modified and upgraded, the tool can be directly used for testing; the tool has relatively independent test items and test cores, can flexibly change test cases according to requirements under the condition that the test cores are not changed, and has good expansibility and compatibility.
The following describes the interlock data testing apparatus provided by the present invention, and the interlock data testing apparatus described below and the interlock data testing method described above may be referred to correspondingly.
Fig. 6 is a schematic structural diagram of an apparatus for testing interlocking data according to the present invention, as shown in fig. 6, including:
a first obtaining module 601, configured to obtain information of each route in the interlocking data; the route information comprises a station to which the route belongs, a button corresponding to the arranged route and a first state of a signal machine corresponding to the arranged route;
a second obtaining module 602, configured to obtain, for each route, a second state of an annunciator corresponding to the route arrangement based on the yard to which the route belongs and the button corresponding to the route arrangement;
a third obtaining module 603, configured to obtain a test result of the route based on the first state and the second state.
Specifically, the first acquisition module 601, the second acquisition module 602, and the third acquisition module 603 may be electrically connected in sequence.
Optionally, the second obtaining module 602 includes:
a first acquisition unit that reads an interlocking control map of the station yard;
the second acquisition unit is used for determining the position of a button in the interlocking control chart based on preset configuration information;
the first execution unit generates a target operation instruction for the button based on the position of the button;
and the first acquisition unit is used for responding to the target operation instruction and acquiring the second state.
Optionally, the second obtaining module 602 includes:
and the third acquisition unit is used for responding to the target operation instruction and acquiring response data of the annunciators corresponding to the arranged routes in the interlocking subsystem and/or the display states of the annunciators corresponding to the arranged routes in the interlocking control diagram of the station yard.
Optionally, the second obtaining module 602 includes:
and the fourth acquisition unit is used for capturing the station yard graph of the station yard, setting equipment control information and acquiring the interlocking control chart of the station yard based on the station yard to which the access road belongs.
Optionally, the third obtaining module 603 includes:
and the second execution unit determines the test result of the route to be correct under the condition that the first state is consistent with the second state, and determines the test result of the route to be wrong under the condition that the first state is inconsistent with the second state.
Optionally, 603 further comprises:
and the output unit outputs the test result of the interlocking data based on the test result of each route.
The interlocking data testing device provided in the embodiment of the present invention is configured to execute the interlocking data testing method provided in the embodiment of the present invention, and an implementation manner of the interlocking data testing device is consistent with an implementation manner of the interlocking data testing method provided in the present invention, and the same beneficial effects can be achieved, and details are not repeated here.
The interlocking data testing device is used for the interlocking data testing method of the previous embodiments. Therefore, the description and definition in the interlock data test method in the foregoing embodiments can be used for understanding the execution modules in the embodiments of the present invention.
The interlocking data testing device provided by the invention can automatically read the interlocking data to be tested, automatically acquire the interlocking data lock testing result by pre-configuring the interlocking logic, reduce the requirement on manual operation and improve the accuracy of the interlocking data testing.
Fig. 7 is a schematic structural diagram of an electronic device provided in the present invention, and as shown in fig. 7, the electronic device may include: a processor (processor) 701, a communication Interface (Communications Interface) 702, a memory (memory) 703 and a communication bus 704, wherein the processor 701, the communication Interface 702 and the memory 703 are in communication with each other via the communication bus 704. Processor 701 may invoke logic instructions in memory 703 to perform an interlocking data testing method comprising: acquiring information of each access in the interlocking data; the information of the route comprises a station yard to which the route belongs, a button corresponding to the arranged route and a first state of a signal machine corresponding to the arranged route; for each route, acquiring a second state of the annunciator corresponding to the arranged route based on the station to which the route belongs and the button corresponding to the arranged route; and acquiring a test result of the route based on the first state and the second state.
In addition, the logic instructions in the memory 703 may be implemented in the form of software functional units, and may be stored in a computer readable storage medium when the logic instructions are sold or used as independent products. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
In another aspect, the present invention also provides a computer program product, the computer program product comprising a computer program, the computer program being storable on a non-transitory computer readable storage medium, wherein when the computer program is executed by a processor, the computer is capable of executing the interlocking data testing method provided by the above methods, the method comprising: acquiring information of each access in the interlocking data; the information of the route comprises a station yard to which the route belongs, a button corresponding to the arranged route and a first state of a signal machine corresponding to the arranged route; for each route, acquiring a second state of the annunciator corresponding to the arranged route based on the station to which the route belongs and the button corresponding to the arranged route; and acquiring a test result of the route based on the first state and the second state.
In yet another aspect, the present invention also provides a non-transitory computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements a method for testing interlocking data provided by the methods described above, the method comprising: acquiring information of each access in the interlocking data; the information of the route comprises a station yard to which the route belongs, a button corresponding to the arranged route and a first state of an annunciator corresponding to the arranged route; for each route, acquiring a second state of the annunciator corresponding to the arranged route based on the station to which the route belongs and the button corresponding to the arranged route; and acquiring a test result of the route based on the first state and the second state.
The above-described embodiments of the apparatus are merely illustrative, and the units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. Implementation will be understood by those of ordinary skill in the art without inventive effort.
Through the above description of the embodiments, those skilled in the art will clearly understand that each embodiment can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware. Based on the understanding, the above technical solutions substantially or otherwise contributing to the prior art may be embodied in the form of a software product, which may be stored in a computer-readable storage medium, such as ROM/RAM, magnetic disk, optical disk, etc., and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the method according to the various embodiments or some parts of the embodiments.
Finally, it should be noted that: the above examples are only intended to illustrate the technical solution of the present invention, but not to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.

Claims (10)

1. An interlocking data testing method, comprising:
acquiring information of each access in the interlocking data; the information of the route comprises a station yard to which the route belongs, a button corresponding to the route and a first state of a signal machine corresponding to the route;
for each route, acquiring a second state of a signaler corresponding to the route based on the station to which the route belongs and the buttons corresponding to the routes;
and acquiring a test result of the route based on the first state and the second state.
2. The interlocking data testing method according to claim 1, wherein the acquiring a second state of the traffic signal corresponding to the route based on the yard to which the route belongs and the button corresponding to the route, includes:
reading an interlocking control map of the yard;
determining the position of the button in the interlocking control chart based on preset configuration information;
generating a target operation instruction for the button based on the position of the button;
and responding to the target operation instruction, and acquiring the second state.
3. The interlock data test method according to claim 2, wherein said obtaining the second state in response to the target operation instruction comprises:
and responding to the target operation instruction, and acquiring response data of the signalers corresponding to the arranged route in the interlocking subsystem and/or the display state of the signalers corresponding to the arranged route in the interlocking control diagram of the station yard.
4. The interlocking data testing method according to claim 2, wherein before acquiring, for each of the routes, the second state of the traffic signal corresponding to the route based on the yard to which the route belongs and the button corresponding to the route, the method further comprises:
and based on the station yard to which the access road belongs, screenshot is carried out on the station yard graph of the station yard, equipment control information is set, and an interlocking control chart of the station yard is obtained.
5. The interlocking data testing method of claim 1, wherein said obtaining a test result for the route based on the first state and the second state comprises:
and determining the test result of the route as correct under the condition that the first state is consistent with the second state, and determining the test result of the route as error under the condition that the first state is inconsistent with the second state.
6. The interlocking data testing method according to any one of claims 1 to 5, further comprising, after obtaining the test result of the route based on the first state and the second state:
and outputting the test result of the interlocking data based on the test result of each route.
7. An interlocking data testing device, comprising:
the first acquisition module is used for acquiring information of each access in the interlocking data; the information of the route comprises a station yard to which the route belongs, a button corresponding to the route and a first state of a signal machine corresponding to the route;
a second obtaining module, configured to obtain, for each route, a second state of an annunciator corresponding to the route based on a yard to which the route belongs and a button corresponding to the route;
and the third acquisition module is used for acquiring the test result of the route based on the first state and the second state.
8. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the interlocking data testing method of any of claims 1 to 6 when executing the program.
9. A non-transitory computer-readable storage medium on which a computer program is stored, the computer program, when executed by a processor, implementing the interlocking data testing method according to any one of claims 1 to 6.
10. A computer program product comprising a computer program, wherein the computer program, when executed by a processor, implements the interlocking data testing method of any of claims 1 to 6.
CN202211485975.9A 2022-11-24 2022-11-24 Interlocking data testing method and device Pending CN115716494A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211485975.9A CN115716494A (en) 2022-11-24 2022-11-24 Interlocking data testing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211485975.9A CN115716494A (en) 2022-11-24 2022-11-24 Interlocking data testing method and device

Publications (1)

Publication Number Publication Date
CN115716494A true CN115716494A (en) 2023-02-28

Family

ID=85256431

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211485975.9A Pending CN115716494A (en) 2022-11-24 2022-11-24 Interlocking data testing method and device

Country Status (1)

Country Link
CN (1) CN115716494A (en)

Similar Documents

Publication Publication Date Title
CN108959068B (en) Software interface testing method, device and storage medium
US7725303B2 (en) Device and method for checking railway logical software engines for commanding plants, particularly station plants
US20080127103A1 (en) Dynamic deneration and implementation of globalization verification testing for user interface controls
CN112765020A (en) Automatic testing method of computer interlocking system
CN110659197B (en) Application test case generation method and device and software test system
CN114915643B (en) Configuration method, device, equipment and medium of railway signal centralized monitoring system
CN113485881A (en) Testing method and device of temporary speed limiting server, electronic equipment and medium
CN111737152A (en) Method and device for realizing WEB automatic test by inputting data through webpage
CN112416715B (en) Computer interlocking performance test system based on operation scene
CN110286882B (en) Foreground system design and verification method based on model detection
CN108267968B (en) Collaborative semi-physical simulation optical fiber data interaction security verification method
CN110888641B (en) Script automatic generation method and device, server and storage medium
CN115716494A (en) Interlocking data testing method and device
CN115892146A (en) Automatic test method for interactive code bits of interlocking system and external system interface
US20240168546A1 (en) Identifying a Place of Interest on a Physical Object Through its 3D Model in Augmented Reality View
CN115145808A (en) Automatic testing method for airborne embedded software
CN102004206A (en) Method for inputting and comparing wiring harness data in automobile wiring harness detection equipment
CN115328771A (en) Fault testing method, device, equipment and medium of testing tool
CN112395201A (en) ATS test method and device
KR101401296B1 (en) Testing system and method based on message logging
AU2023201696B2 (en) Method and device for determining coverage in HIL testing, and storage medium
CN113918182A (en) Software deployment method, device, server and storage medium
CN116521522A (en) Train control UI automatic testing tool
JPH036630A (en) Check system for interactive processing program
CN117827643A (en) Buried point testing method, buried point testing device, computing equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination