Interlock data testing method and apparatus

By using an interlocking data testing device to test interlocking data, the problems of low testing efficiency and poor accuracy in existing technologies have been solved, achieving automated data testing and improving testing accuracy and efficiency.

CN115716494BActive Publication Date: 2025-11-28CRSC URBAN RAIL TRANSIT TECH CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202211485975.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-11-24
Publication Date
2025-11-28
Estimated Expiration
2042-11-24

AI Technical Summary

Technical Problem

Existing interlocking data testing methods are inefficient and prone to errors due to manual operation, which affects the safety and efficiency of rail transit operations.

Method used

By acquiring interlocking data testing devices and automatically acquiring interlocking data testing methods, and by reading existing interlocking data testing devices in the station's patented system, the system automatically acquires interlocking data test results through pre-configured data processing. This reduces the need for manual operation.

Benefits of technology

Automated data testing results were achieved. By automatically acquiring interlocking data for testing, the need for manual operation was reduced, and the accuracy and efficiency of testing were improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115716494B_ABST
    Figure CN115716494B_ABST
Patent Text Reader

Abstract

The application provides an interlocking data test method and device, the method comprises the following steps: obtaining information of each route in interlocking data; the information of the route comprises a station yard to which the route belongs, a first state of a button corresponding to the route and a signal corresponding to the route; for each route, a second state of the signal corresponding to the route is obtained based on the station yard to which the route belongs and the button corresponding to the route; and a test result of the route is obtained based on the first state and the second state. The interlocking data test method provided by the application can automatically obtain the interlocking data test result by pre-configuring interlocking logic, can reduce the requirement for manual operation, and can improve the efficiency and accuracy of interlocking data test.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the field of rail transit, and in particular to a method and device for testing interlocking data. BACKGROUND

[0002] In a signal system of rail transit, an interlocking system is a core system responsible for establishment of a train route and is a necessary system for ensuring safety of rail transit and improving operation efficiency. In the interlocking system, interlocking data is a necessary component for ensuring normal operation of the interlocking system under different line conditions. Due to complex interlocking data, the probability of error of the interlocking data is high, which directly affects safety of the interlocking system, and thus the interlocking data needs to be tested.

[0003] In a conventional method for testing interlocking data, a staff member needs to operate each train route in a signal system of rail transit in a test environment to test whether interlocking logic of the interlocking data is correct. Due to a large amount of data of the interlocking data, the staff member has a large workload and low test efficiency, and there are problems such as error of a test result due to a mistake, which causes the interlocking system tested by the interlocking data to be unable to ensure safety and efficiency of rail transit.

[0004] In summary, the conventional method for testing interlocking data has the problem of low test efficiency. SUMMARY

[0005] The present application provides a method for testing interlocking data to solve the problem of low test efficiency of interlocking data in the prior art and to improve test efficiency and accuracy.

[0006] The present application provides a method for testing interlocking data, comprising:

[0007] obtaining information of each train route in the interlocking data; the information of the train route comprises a station yard to which the train route belongs, a first state of a button corresponding to the train route and a signal corresponding to the train route;

[0008] for each train route, obtaining a second state of the signal corresponding to the train route based on the station yard to which the train route belongs and the button corresponding to the train route;

[0009] obtaining a test result of the train route based on the first state and the second state.

[0010] According to the method for testing interlocking data, the second state of the signal corresponding to the train route is obtained based on the station yard to which the train route belongs and the button corresponding to the train route, and the method comprises:

[0011] reading an interlocking control diagram of the station yard;

[0012] determine the position of the button in the interlocking control diagram based on the preset configuration information;

[0013] generate a target operation instruction for the button based on the position of the button;

[0014] obtain the second state in response to the target operation instruction.

[0015] According to the interlocking data test method provided by the present application, the obtaining of the second state in response to the target operation instruction comprises:

[0016] obtaining response data of the signal machine corresponding to the route arranged in the interlocking subsystem and / or display state of the signal machine corresponding to the route arranged in the interlocking control diagram of the station yard in response to the target operation instruction.

[0017] According to the interlocking data test method provided by the present application, before the obtaining of the second state of the signal machine corresponding to the route arranged based on the station yard to which the route belongs and the button corresponding to the route, the method further comprises:

[0018] capturing a station yard diagram of the station yard based on the station yard to which the route belongs, setting device control information, and obtaining an interlocking control diagram of the station yard.

[0019] According to the interlocking data test method provided by the present application, the obtaining of the test result of the route based on the first state and the second state comprises:

[0020] determining the test result of the route as correct when the first state is consistent with the second state, and determining the test result of the route as incorrect when the first state is inconsistent with the second state.

[0021] According to the interlocking data test method provided by the present application, after the obtaining of the test result of the route based on the first state and the second state, the method further comprises:

[0022] outputting a test result of the interlocking data based on the test result of each route.

[0023] The present application also provides an interlocking data test device, comprising:

[0024] a first obtaining module configured to obtain information of each route in 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;

[0025] The second obtaining module is configured to, for each route, obtain a second state of a signal machine corresponding to the route based on a station yard and an arrangement of a button corresponding to the route to which the route belongs.

[0026] The third obtaining module is configured to obtain a test result of the route based on the first state and the second state.

[0027] The present application also provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the interlocking data test method according to any one of the above when executing the program.

[0028] The present application also provides a non-transitory computer readable storage medium, which stores a computer program, wherein the computer program is executable on a processor to implement the interlocking data test method according to any one of the above.

[0029] The present application also provides a computer program product, comprising a computer program, wherein the computer program is executable on a processor to implement the interlocking data test method according to any one of the above.

[0030] The interlocking data test method provided by the present application can automatically read the interlocking data to be tested, automatically obtain the test result of the interlocking data by pre-configuring the interlocking logic, and reduce the requirement for manual operation, thereby improving the accuracy of the interlocking data test. BRIEF DESCRIPTION OF DRAWINGS

[0031] In order to more clearly illustrate the technical solutions of the present application or the prior art, the following will briefly introduce the drawings needed to be used in the embodiments or prior art description. Obviously, the drawings in the following description are some embodiments of the present application, and other drawings can be obtained by those skilled in the art without creative labor.

[0032] Figure 1 is a flowchart of the interlocking data test method provided by the present application;

[0033] Figure 2 is a design idea diagram of the interlocking data test method provided by the present application;

[0034] Figure 3 is a technical architecture diagram of the interlocking data test method provided by the present application;

[0035] Figure 4 is a software core architecture diagram of the interlocking data test method provided by the present application;

[0036] Figure 5 is a component definition diagram of the interlocking data test method provided by the present application;

[0037] Figure 6 is a structural schematic diagram of the interlocking data testing device provided by the present application;

[0038] Figure 7 is a structural schematic diagram of the electronic device provided by the present application. DETAILED DESCRIPTION

[0039] In order to make the objects, technical solutions and advantages of the present application clearer, the technical solutions in the present application will be described clearly and completely below with reference to the drawings in the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative work fall within the protection scope of the present application.

[0040] The interlocking data testing method and device provided by the present application will be described below. Figures 1-7

[0041] Figure 1 is a flowchart of the interlocking data testing method provided by the present application, as shown in the figure, the execution subject of the interlocking data testing method provided by the present application can be an interlocking data testing device, and the method comprises steps 101, 102 and 103. Figure 1

[0042] 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 arrangement route and a first state of a signal corresponding to the arrangement route.

[0043] Specifically, the route is a route through which a train, a shunting locomotive or a train set runs from one location to another location in a station. In the interlocking, the range of the route, i.e. the start end and the terminal end of the route, needs to be determined, which indicates the relationship between the turnout, the track section and the route, and the relationship between the routes.

[0044] Specifically, the interlocking data is a necessary component part for adapting to different line conditions to ensure the normal work of the interlocking system, and is data for configuring the interlocking system to have the function of ensuring the track traffic safety and the traffic efficiency.

[0045] ​​In the embodiment of the present application, the interlocking data to be tested can be manually stored in the database directory of the interlocking data test system in a preconfigured manner. The interlocking data to be tested can be obtained by reading the interlocking table and / or the production and drive table. The interlocking data test system obtains the information of the route by reading the information of the interlocking table and / or the production and drive table, generates the interlocking data to be tested of a specific station. The number of the interlocking data to be tested can be one or more, which is not specifically limited in the embodiment of the present application. The interlocking data to be tested can include at least one record. Each record is used to describe the information of a route. Each record can include the fields of station name, route number, route, arrangement route button, name of signal machine, display of signal machine, turnout, hostile signal, track section, approach locking, other interlocking object, protection section, automatic trigger route trigger section and automatic passing route function.

[0046] For each route, the station yard to which the route belongs refers to the station yard name where the route is located, and different routes can be located in the same station yard. The buttons corresponding to the arrangement route refer to the buttons pressed when the route is arranged, which are the buttons pressed when the train corresponding to the route enters the station and the buttons pressed when the train corresponding to the route leaves the station, respectively. The first state of the signal machine corresponding to the route refers to the state of the correct result of the signal machine corresponding to the route, which can be displayed as the states of off-green, off-yellow, outdoor green light or outdoor yellow light.

[0047] Specifically, the interlocking data to be tested is the interlocking data to be tested. The embodiment of the present application can be applied to single item test and route test. The single item test includes turnout sealing / unsealing and single locking / single unsealing of turnout, etc. The route test is divided into CBTC (Communication Based Train Control System) mode and degraded mode, and the main test contents include route handling, single manipulation of turnout in route, changing turnout position, signal closing and reopening, route cancellation, etc.

[0048] In step 102, for each route, based on the station yard to which the route belongs and the buttons corresponding to the arrangement route, the second state of the signal machine corresponding to the arrangement route is obtained.

[0049] Specifically, based on the station yard to which the route belongs and the buttons corresponding to the arrangement route, the state change of the signal machine corresponding to the route can be judged based on the interlocking logic, and the second state of the signal machine corresponding to the arrangement route is obtained.

[0050] Exemplarily, the second state of the signal machine corresponding to the arrangement route includes the states of off-green, off-yellow, outdoor green light or outdoor yellow light, etc.

[0051] In step 103, based on the first state and the second state, the test result of the route is obtained.

[0052] Specifically, in the embodiment of the present application, the process of testing the interlocking data to be tested is to determine whether the interlocking data to be tested can meet the interlocking logic condition embodied in the interlocking data test case, and to determine whether the first state of the signal corresponding to each arrangement route and the second state of the signal are consistent. Therefore, the interlocking data to be tested should correspond to a test result for each interlocking data test case. The test result includes pass and fail.

[0053] The file containing the method of determining whether the first state and the second state of the signal corresponding to the arrangement route meet the interlocking logic can be stored in a specified directory in the interlocking data test system in a preconfigured manner. Different determination methods can be used for different routes, or the same determination method can be used, depending on the requirements for the corresponding route in the actual situation.

[0054] Optionally, as shown in Figure 2 The test log based on the interlocking data test result is generated, and the test log is saved in a specified directory of the interlocking data test system. The test log file can be in a table format or other formats. The test log includes all execution actions and verification results, test time, version of the object to be tested, project name of the object to be tested, path of the object to be tested, PC (personal computer) name, and test project name. The verification result is indicated by a specified symbol, and the verification result includes correct and error. The PC is a device required for executing the test, which can be a computer or other device with storage and calculation functions.

[0055] Optionally, based on the test log generated for each project, the final test record sheet can be converted, and the test record sheet includes the test result, the version of the object to be tested, and the test time. The test record sheet can be adjusted according to the existing test record template as needed.

[0056] In the embodiment of the present application, the information of each route in the interlocking data is obtained, the first state of the signal corresponding to the route is obtained based on the station yard to which the route belongs and the button corresponding to the arrangement route, the second state of the signal 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 signal corresponding to the route. By preconfiguring the interlocking logic, the interlocking data test result is automatically obtained, which can reduce the requirement for manual operation and improve the accuracy of the interlocking data test.

[0057] Based on the content of any of the above embodiments, the second state of the signal corresponding to the arrangement route is obtained based on the station yard to which the route belongs and the button corresponding to the arrangement route, including:

[0058] Reading the interlocking control diagram of the station yard.

[0059] It should be noted that the interlocking control diagram needs to be pre-stored in the database designated directory in the interlocking data test system. Based on the pre-configured file, the device for performing the interlocking data test method provided by the present application can determine the station yard to which the route belongs according to the information of the route, search in the pre-stored designated directory of the screenshot according to the name of the station yard, determine the interlocking control diagram of the station yard, acquire the interlocking control diagram and load it into the MMI.

[0060] Specifically, according to the pre-configured file, the device can read the pre-stored interlocking control diagram of the route in the designated directory. The interlocking control diagram is a control diagram generated according to the lines, turnouts, signal machines, track sections and other conditions shown in the station signal plane layout, according to the specified principles and formats, for indicating the basic interlocking content between the route, turnout and signal machine. The interlocking control diagram takes the route as the main body, and indicates the buttons arranged for pressing, the names and displays of the signal machines protecting the route, the numbers and positions of the turnouts required to be checked by the route, the names of the track sections corresponding to the route to be checked, and the signals of the route to be arranged, in the interlocking control diagram. The user performs corresponding operations on the interlocking control diagram, and can obtain the corresponding results calculated based on the interlocking logic, which can be displayed in the interlocking control diagram.

[0061] Based on the pre-configured configuration information, the positions of the buttons in the interlocking control diagram are determined.

[0062] The interlocking data test device identifies the interlocking control diagram, acquires the graph elements in the interlocking control diagram, identifies the graph elements in the interlocking control diagram, judges the graph element information in the interlocking control diagram based on the pre-configured graph element information, and determines the graph elements representing the operable buttons and the graph elements representing the signal machines.

[0063] Specifically, the configuration information needs to be pre-stored in the database designated directory in the interlocking data test system. The configuration information includes graphic interface data configuration information, control human-computer interface menu information, control human-computer interface operation element information, interlocking data table configuration information and driving data table configuration information. The device pixel anchor point of the configuration graphic interface is used as the reference object to position the coordinates of other devices.

[0064] Specifically, the device coordinate file Icondev is pre-configured. First, the direction of the signal machine is determined, i.e., whether the signal machine is left or right, and then the height of the signal machine is determined. For a button, the deviation value between the coordinate file coordinate and the actual coordinate is calculated, and the position coordinates of other buttons are calculated based on the deviation value.

[0065] Exemplarily, for a button, the first increment of the X-axis is a fixed value, the fixed value is 8, and for the high and low columns of the signal machine, when the signal machine is a low column, the second increment of the X-axis is set to 0, and the coordinates of other devices are calculated in the form of internal drawing according to the XML configuration coordinates. The signal machine facing the right side is a low column, and the original position of the file is: X-axis 144, Y-axis 612, and the XML configuration coordinates are X-axis 152, Y-axis 670, the difference is X-axis 8, Y-axis 58, and the coordinates of other signal machines facing the right side are calculated in this way. According to the coordinate verification method, after the anchor point coordinate configuration is completed, the anchor point coordinate position verification can be performed, and when the verification is accurate, the position coordinates of other devices can be generated according to the variables.

[0066] Exemplarily, for a button, the first increment of the X-axis is a fixed value, the fixed value is 8, and for the high and low columns of the signal machine, when the signal machine is a low column, the second increment of the X-axis is set to 0, and the coordinates of other devices are calculated in the form of internal drawing according to the XML configuration coordinates. The signal machine facing the right side is a low column, and the original position of the file is: X-axis 144, Y-axis 612, and the XML configuration coordinates are X-axis 152, Y-axis 670, the difference is X-axis 8, Y-axis 58, and the coordinates of other signal machines facing the right side are calculated in this way. According to the coordinate verification method, after the anchor point coordinate configuration is completed, the anchor point coordinate position verification can be performed, and when the verification is accurate, the position coordinates of other devices can be generated according to the variables.

[0067] Exemplarily, for a button, the first increment of the X-axis is a fixed value, the fixed value is 8, and for the high and low columns of the signal machine, when the signal machine is a low column, the second increment of the X-axis is set to 0, and the coordinates of other devices are calculated in the form of internal drawing according to the XML configuration coordinates. The signal machine facing the right side is a low column, and the original position of the file is: X-axis 144, Y-axis 612, and the XML configuration coordinates are X-axis 152, Y-axis 670, the difference is X-axis 8, Y-axis 58, and the coordinates of other signal machines facing the right side are calculated in this way. According to the coordinate verification method, after the anchor point coordinate configuration is completed, the anchor point coordinate position verification can be performed, and when the verification is accurate, the position coordinates of other devices can be generated according to the variables.

[0068] Based on the position of the button, a target operation instruction for the button is generated.

[0069] Specifically, based on the position of the button, the function of the button is judged through the preset configuration information, and the operation instruction for the button is generated according to the preset interlocking logic. The operation instruction is an instruction for performing an operation on the target button, and the corresponding operation is performed according to the instruction. The executable operations include clicking the button, calling the sub-menu, or clicking the options in the sub-menu after calling the sub-menu.

[0070] In response to the target operation instruction, a second state is obtained.

[0071] Specifically, according to the generated target operation instruction of the button, the device can simulate the method of manual operation, perform the corresponding operation, and obtain the second state of the signal machine corresponding to the arranged route. The method of simulating manual operation refers to obtaining the information and state of the target button based on the pre-configured information, judging the operation of the button based on the interlocking logic, and performing the corresponding operation by moving the cursor or other executable operation mode by software.

[0072] The embodiment of the present application determines the position of the button in the interlocking control diagram of the station yard based on the preset configuration information by reading the interlocking control diagram of the station yard, generates a target operation instruction for the button based on the position of the button, and obtains the second state in response to the target operation instruction. By pre-configuring the interlocking logic, the interlocking data test result can be automatically obtained, which can reduce the requirement for manual operation and improve the accuracy of the interlocking data test.

[0073] Based on the content of any of the above embodiments, in response to the target operation instruction, the second state is obtained, including:

[0074] In response to the target operation instruction, the response data of the signal machine corresponding to the arranged route in the interlocking subsystem and / or the display state of the signal machine corresponding to the arranged route in the interlocking control diagram of the station yard are obtained.

[0075] Specifically, the second state of the signal machine corresponding to the arranged route can be indicated by the response data of the signal machine corresponding to the arranged route and / or the display state of the signal machine in the interlocking control diagram. The response data of the signal machine corresponding to the arranged route can be recorded in the test result to display the state of the signal machine; based on the response data of the signal machine corresponding to the arranged route, the interlocking control software reads the response data according to the display logic of the software and displays it as a bright light or an extinguished light.

[0076] Exemplarily, the display state of the signal machine corresponding to the arranged route in the interlocking control diagram of the station yard includes the states of extinguished green, extinguished yellow, outdoor green light or outdoor yellow light, etc.

[0077] The embodiment of the present application obtains the response data of the signal machine corresponding to the arranged route in the interlocking subsystem and / or the display state of the signal machine corresponding to the arranged route in the interlocking control diagram of the station yard in response to the target operation instruction, automatically obtains the interlocking data test result by pre-configuring the interlocking logic, which can reduce the requirement for manual operation and improve the accuracy of the interlocking data test.

[0078] Based on the above interlocking data test method, for each route, before obtaining the second state of the signal machine corresponding to the arranged route based on the station yard to which the route belongs and the button corresponding to the arranged route, the interlocking control diagram of the station yard is obtained by taking a screenshot of the station yard diagram of the station yard and setting the device control information.

[0079] Specifically, the interlocking control diagram of the station yard is obtained by taking screenshots of the station yard diagram of the station yard based on the station yard to which the route belongs, and setting device control information.

[0080] The embodiment of the present application can reduce the requirement for manual operation and improve the accuracy of interlocking data test by automatically obtaining the interlocking data test result in response to the target operation instruction, obtaining the response data of the signal corresponding to the arranged route in the interlocking subsystem and / or the display state of the signal corresponding to the arranged route in the interlocking control diagram of the station yard, and pre-configuring interlocking logic.

[0081] Based on the first state and the second state, the test result of the route is obtained, including: in the case that the first state of the signal corresponding to the arranged route is consistent with the second state, determining the test result of the route as correct, and in the case that the first state of the signal corresponding to the arranged route is inconsistent with the second state, determining the test result of the route as incorrect.

[0082] Specifically, for each route, it can be judged whether the first state of the signal corresponding to the arranged route is consistent with the second state. If consistent, it is judged that the interlocking data test result of the arranged route is correct, and if inconsistent, it is judged that the interlocking data test result of the arranged route is incorrect.

[0083] Exemplarily, the first state of the signal corresponding to the arranged route is consistent with the second state, which is manifested as the same as green-out, the same as yellow-out, the same as outdoor green light or the same as outdoor yellow light, etc. In this case, the test result of the route is determined as correct. If the first state is inconsistent with the second state, in this case, the test result of the route is determined as incorrect.

[0084] The embodiment of the present application can reduce the requirement for manual operation and improve the accuracy of interlocking data test by automatically obtaining the interlocking data test result in response to the target operation instruction, obtaining the response data of the signal corresponding to the arranged route in the interlocking subsystem and / or the display state of the signal corresponding to the arranged route in the interlocking control diagram of the station yard, and pre-configuring interlocking logic.

[0085] Based on the first state and the second state, the test result of the route is obtained, including: in the case that the first state of the signal corresponding to the arranged route is consistent with the second state, determining the test result of the route as correct, and in the case that the first state of the signal corresponding to the arranged route is inconsistent with the second state, determining the test result of the route as incorrect.

[0086] Specifically, based on the test result of each route, the first state and the second state of the signal corresponding to each arrangement route are counted, the test result obtained based on the first state and the second state of the signal corresponding to each arrangement route is counted, and all the counting results of each route of the signal corresponding to the arrangement route are output as the test result.

[0087] The test log generated after the test is completed can be in Excel format or other formats that can represent test results. The log file contains all the execution actions and verification results, with "√" for correct use and "×" for error use, and also includes test time, version of the object under test, project name of the object under test, path of the object under test, PC name, test project name, etc. According to the test log generated by each project, the final test record sheet can be converted, and the existing test record template can be adjusted according to different needs. In addition to the test results, the test record sheet also includes the version of the object under test and the test time.

[0088] The embodiment of the application outputs the test result of interlocking data based on the test result of each route. By pre-configuring interlocking logic, the test result of interlocking data is automatically obtained, which can reduce the requirement for manual operation and improve the accuracy of interlocking data test.

[0089] In order to clearly explain the embodiment of the application, an embodiment based on the interlocking test method is provided below to illustrate the implementation of the embodiment of the application. The test embodiment executes the method of the application. Therefore, the description and definition in the interlocking data test method in the foregoing embodiments can be used for understanding the embodiment of the application.

[0090] The embodiment can be executed based on an interlocking data test tool (program), which can be used to execute the method of the interlocking data test.

[0091] The technical architecture of the tool will be specifically explained below. Figure 3

[0092] The technical architecture is a technical solution for realizing each function and is based on Windows.

[0093] Application code: The application code is composed of Tcl / Tk files that comply with Tcl / Tk language.

[0094] Tcl / Tk interpreter: The Tcl / Tk interpreter allows the execution of Tcl / Tk scripts on the target Windows.

[0095] ​The tool core can run on a Windows system of a PC, specifically, can run on a Windows 7 system or a Windows 10 system, and the measured object CI and the MMI are all application software running on Windows.

[0096] Third-party libraries:

[0097] BWidget: is a library written in Tcl / Tk, which provides Tk advanced window widgets including buttons, drop-down list boxes, scroll windows and menus.

[0098] TWAPI: Tcl Windows API is a library that provides control over Windows through various interfaces, and the interfaces used by the test tool are Win32 API and COM interface.

[0099] CAWT: COM automation with Tcl is a library that provides control over Windows COM interface applications, mainly office suites such as Word or Excel. CAWT is used to automatically import spreadsheet data and generate log files.

[0100] Capture2Text: can help users recognize some text that cannot be directly copied when operating a computer. The main recognition method in the software is screenshot recognition. After taking a screenshot of the text, button state and indicator light state that needs to be recognized, the recognition operation is performed.

[0101] The core architecture is an important process for the tool to work, including the whole process from user configuration, reading input files, generating test data, importing test projects, executing tests, to outputting test results. The core software architecture is as shown in Figure 4 .

[0102] The tool includes the following components: configurator, sorter, executor, communicator, checker, recorder, tool core, user graphical interface and tool core interface. The functions or working principles of the components of the tool will be specifically explained below. Figure 5

[0103] ​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 a Tk window; the picture view reflects the original size and picture position; the picture view is scrollable to reach the full image; when the user left-clicks on the picture, the configuration component returns the cursor position; the configuration component is provided with user palette definitions, which can be displayed for inspection by the test tool; the configuration component defines a configuration array for each view, including object type, object name, object position, object type defined by the user such as signal, track section, turnout track section, etc., object type "anchor point" reserved for placing anchor points on the view, object type "signal" reserved for setting signal positions on the view; the configuration component can upload data from an Excel file; the configuration component data upload is defined by the user through scripts exposed to it; the configuration component has the function of obtaining the view by object name; the configuration component has the function of obtaining the same view from two signals; the configuration component has the function of obtaining the same view from two anchor points; the configuration component has the function of setting the offset of all objects on the view in x and y coordinates. The offset is applied when obtaining the object position, for example, to adjust the offset of the picture view due to the title bar.

[0104] Sequencer: The sequencer reads the test project file in the input file and performs the sequential operation of the test project file; the sequencer starts the corresponding allocation according to the test project background. If the test project is defined to operate on the MMI and LSTEST, the sequencer makes these applications available to the test tool; the sequencer immediately executes the operation and waits for the result of the previous operation before executing the next operation; if program freezing, errors or abnormal situations occur, the sequencer can stop the test project from running; the sequencer can restart the execution of the test project from a given system and test project background. In the context of a scenario, it means starting from the test point.

[0105] Executor: The executor performs the corresponding command operation in the test process, such as starting the software under test, pressing the corresponding button to handle the route, operating the turnout, canceling the route, etc. All operations need to be executed to complete the entire test task.

[0106] Communicator: The component communicator can define socket client / server and pipe communication; the communication channel has no blocking mode, buffer line; the client reader executes the received command line safely, and returns the result to the command sender; the communication function of the command sender waits for the command result, and returns the command result; the communication function can execute the Windows application, control the standard input / output channel (stdin / stdout), and record the exe id for future use; the communication with the Windows executable program is executed through the stdin and stdout channels; the component communicator uses the returned stored_id to abort the executing executable file; the component communicator can transmit special commands from the tool core to the software under test.

[0107] Inspector: The inspector has the function of verifying that the component provides the display of the check screen, for example: when executing the command operation, press a certain button, the tool will take a screenshot, compare the difference before and after pressing, and confirm whether the button is pressed successfully.

[0108] Recorder: The global "log" function is used to write text in the log file in the scene. Record test results and error numbers, output Excel format spreadsheets; if there is no log file, generate a log file, otherwise the existing log file is used to write log text; the log file name is named according to the creation date yyyy_mm_dd_hh_mm_ss.xlsx; the text file recorded in the file is prefixed with the date in the format 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 the number of faults and errors), and closes the file.

[0109] Tool Core: The tool core executes the test project to record the test results in a convenient way: if the running is successful, the test results are clearly displayed, and the error location is located in the unsuccessful case; the tool core is composed of component configurator, sorter, executor, communicator, inspector and recorder; the component core executes the test item, and these operations are defined in local execution; the component core sends the test command and waits for the feedback result before executing the subsequent operation; the component core uses the configured data to execute the test project operation, and records the result in the log file.

[0110] User interface: tool core user interface: configuration, start, run, stop, reset, etc. Control buttons to manage testing. The interface is developed with Tk language, supporting GRID+ package; in configuration mode, this mode allows users to configure the project: configure MMI data, screenshot data, project data, configure adapter, XML scale configuration, version number configuration of the object under test, etc. To complete the configuration of the entire project; in test mode, this mode is used to run the test to generate test logs and records: select the test item to run, you can operate the running test item, generate test records from log files; the above two modes are mutually exclusive: user operations in configuration mode are not available in test mode, and user operations in test mode are not available in configuration mode.

[0111] Tool core interface: main window, run the test tool, open the main interface, the main interface is configured with menus, open files, configure files, switch test interfaces, and tool core interface is introduced as follows:

[0112] File: new, create a TG project; open, open a TG project; save, save a TG project; save as, save a TG project in a new directory; close, close the project.

[0113] Edit: edit commands include undo, repeat, cut, copy, paste, and delete.

[0114] Configuration: MMI configuration, graphical interface data configuration; menu configuration, control human-machine interface menu; screenshot configuration, control human-machine interface operation elements; interlocking data table configuration, object under test route, turnout, signal, section element; drive data table configuration, device drive object position element.

[0115] Test: only switch to the test interface can be effectively used.

[0116] Question mark: provides help and simple operation of part of executable commands.

[0117] The main interface also provides: save, copy, paste, back, forward shortcut menu.

[0118] Configuration window, switch between configuration and test window, default to configuration interface option after starting

[0119] View: provides load, generate, data, remove shortcut submenus, which can quickly switch to configured graphical interface, regenerate data, view generated data, and remove view functions.

[0120] XML scale: graphical interface device pixel anchor point can be configured, which is used as a reference to locate other device coordinates.

[0121] Controlled version: configurable object version.

[0122] Adapter: configurable object path on PC, to automatically start the tool to test the object.

[0123] The interlocking test embodiment includes the following steps: test environment setup, new project, test preparation, test configuration, test execution, test record and error correction and problem handling.

[0124] The specific process of test environment setup can be as follows:

[0125] The test core application is placed on the PC, and the PC system can be Windows XP, Windows 7 or Windows 10, etc. The application does not need to be installed. The tool identifies the positions of various elements according to coordinates, including signals, switches and sections, etc. The tool can be used for PCs or external displays with resolutions of 1920*1080 and 1366*768, and the display is set to the required resolution.

[0126] Start the test tool, and configure each file in the tool main interface.

[0127] The file menu has submenus, including: new, used to create a new test project; open, used to open a test project; save, used to save the test project; save as, used to save the test project in a new directory; and close, used to close the project.

[0128] In particular, a new project needs to be created for the first test, and in subsequent tests, the configured project can be opened, saved as, and reconfigured to save configuration time and improve test efficiency.

[0129] The specific process of creating a new project can be as follows:

[0130] Select File-New Project in the menu, enter the new project name and save location in the dialog box, and six folders will be generated under the project directory after the new project is successfully created. The file structure is fixed. The folders include: the data folder, used to store the data files generated by configuration; the input folder, used to store input files, including interlocking tables, sampling and driving tables, configuration screenshots and human-computer interface files, etc.; the Template folder, used to store test record templates; the tests folder, used to store test project files; the tests images folder, used to store verification pictures during the test process, including buttons, shielding doors and signal doors, etc.; and the tests results folder, used to store test logs and test reports.

[0131] The specific process of test preparation can be as follows:

[0132] Put the data table into the input folder, including interlocking table and input / output table, etc.; Put the test record template into the Template folder; Put the test project file into the tests folder; Put the human-machine interface file into the xml folder under the input folder, including interface display file, menu command operation configuration file and protocol file, etc.; Put the config file into the input folder.

[0133] The specific process of test configuration can be as follows:

[0134] Screenshot configuration: screenshots can be taken using the screenshot tool, and the captured pictures are saved in the images folder under the input folder, with a JPG format. The human-machine interface screenshots are uniformly named as window, which are used to control the human-machine interface operation; optionally, the device state screenshots are uniformly named as relay, which are used to operate the device state; optionally, the input / output data table screenshots are uniformly named as in out data, which are used to view the device action state; optionally, the temporary speed limit operation window screenshots are uniformly named as limit speed init, which are used to set and cancel the temporary speed limit. After the screenshots are completed, the screenshots can be configured one by one, and the configuration file screenConf is generated and stored in the data folder after the configuration.

[0135] XML configuration: select the two signal machines at the leftmost and rightmost ends of the upper and lower tracks of the human-machine interface of the object under test, and configure based on the coordinates of the signal machines in the interface display file Icondev. The corresponding command can be used for positioning, and the accuracy of the coordinate positioning can be verified. The positioning can be fine-tuned to the center of the signal machine. After the file configuration is completed, the configuration file xmlScale is generated and stored in the data folder.

[0136] MMI configuration: MMI is a graphical drawing file containing device element coordinates, including signal machines, switches and sections, etc. Select the Icondev file under the xml folder in the input folder, press the generate button, and generate all device coordinates according to the configured XML coordinate anchor points. The generated coordinate file CM_MMI is stored in the data folder.

[0137] Adapter configuration: configure the path of the object under test on the PC side, which is used for the tool to automatically start the object under test. After the file configuration is completed, the configuration file adapters is generated and stored in the data folder.

[0138] Operation menu configuration: used to configure the device menu that the tool needs to open and operate when testing the object's human-machine interface, including the on-off information of the mouse right-click signal machine, the positioning, reverse positioning or four-way of the mouse right-click switch, and the occupancy of the section, etc. After the file configuration is completed, the configuration file MENU is generated and stored in the data folder.

[0139] Config file configuration: used to read the interlocking data table and input-output table for the adaptation tool, and the data table is in Excel format. data regexp configuration is used to match the data format, including the naming method of signal machine, section, turnout, platform door and emergency shutdown, etc.; device_attr configuration is used to configure the format information of interlocking table and input-output table; other_objects configuration is used to configure other interlocking object data information, including platform door, emergency shutdown and car retention, etc.; protection_section configuration is used to protect the section data information; automatic folding section configuration is used to configure the automatic folding back and full-automatic folding back data information; special approach section configuration is used to configure the special approach locking section data information; special signal configuration is used to configure special signal machines, including some virtual signal machines across stations; template config configuration is used to test the record sheet output configuration when the record sheet changes.

[0140] Interlocking data table configuration: when the interlocking data table is imported, the CBTC interlocking table, the degraded mode interlocking table, the guide signal table and the folding back route signal table are read in sequence; after the interlocking table is imported successfully, testData_automatic_folding_back_routes (automatic folding back route data), testData_calling_on_routes (calling route data), testData_non_CTC_routes (degraded mode route data), testData_points (turnout data), testData_routes (route data), testData_sections (section data), testData_signals (signal machine data) and testData_stations (station name data) are generated in the data folder.

[0141] Input-output data table configuration: used for input-output configuration, specific to the specific position of each device in the input-output data table. The configuration file testData_CBI_i_o is generated and stored in the data folder.

[0142] Version configuration: configuration of the version number of the object under test. After the configuration is completed, the configuration file MMI_version will be generated and stored in the data folder

[0143] IP address configuration: IP address used for communication between objects under test. The tool obtains communication information between objects under test through the IP address, determines the status of each device, and completes operations of each device, including route handling, switch operation, section occupation, etc.

[0144] The specific process of test execution can be as follows:

[0145] Obtain the MMI control right of the object under test: Press the "Get MMI control right" button on the test interface to obtain the control right of the MMI, and realize the need for tool operation.

[0146] Verify anchor point coordinates: Use the "actions::MMI_select signal_lamp1" command statement to directly locate the anchor point signal lamp coordinates. Fine-tune the deviation in the XML configuration.

[0147] Select test range: The selection of test range is presented in a file. When complete testing is performed, the file is directly selected. When segmented testing is performed, the segmented range is filled in the file. When specific testing is performed, the specific device is filled in the file. Specifically, the test range refers to all devices and routes. There are 20 switches in the field. All testing can be selected, segmented testing 1-10 can be selected, or a few specific switches such as P001, P008, and P018 can be selected. Other devices such as routes, signal lamps, and sections can also be selected in the above-mentioned manner.

[0148] Select test content: Test content is presented in a separate file for easy selection and testing. All test content can be selected, part of the test content can be selected, or a single test content can be selected. The test order can be selected for each test content. Prior testing or lag testing can also be selected. During testing, the actual needs can be selected. After the test content selection is completed, the name of the selected test item and the step quantity information can be realized on the test interface.

[0149] Test: Press the "Run" button to start executing the test. At this time, the tool starts the object under test, executes the selected test content in order, and displays the number of errors of the object under test, the number of terminations caused by errors, the global progress, etc. during the test process.

[0150] The specific process of test recording can be as follows:

[0151] After the test, an Excel format test log is generated, the log file contains all the execution actions and verification results, correct use "√", error use "X", also including test time, the version of the object, the name of the object project, the path of the object, the name of PC, the name of test project, etc. According to the test log generated by each project, the final test record sheet can be converted. The test record sheet includes test results, and also includes the version of the object and the test time.

[0152] The specific process of error correction and problem handling can be as follows:

[0153] The tool provides interlocking data table checking function, which can be used to check the interlocking data table before import, and locate the problem in advance. There may be some human configuration errors in the configuration tool process. For these errors, an error prompt can be given when importing the interlocking table, and a certain cell of a file can be accurately located. After all configurations are completed, a data configuration report can be exported, and the global data can be quickly browsed. The test interface can use the device inspector to check the state of each device. If the device state is unknown during the test process, the inspector can be used to check the device state.

[0154] Specifically, after comparing the test of interlocking data using the tool based on the interlocking data test method of the application with the test of interlocking data using manual test, the number of days required for testing different numbers of routes is taken as a comparison item, and the test efficiency of manual test and manual + tool test is compared, and the results are shown in Table 1.

[0155] Table 1 Comparison of manual test and manual + tool test time

[0156]

[0157] Based on the test results in the above table, according to the station scale of 40 routes and 50 centralized stations per year, 9.3 days / person*50 = 465 days can be saved per year. If the station scale is further increased, the efficiency will be further improved.

[0158] After comparing the test of interlocking data using the tool based on the interlocking data test method of the application with the test of interlocking data using manual test, the number of problems identified by testing different routes is taken as a comparison item, and the accuracy of the results of manual test and manual + tool test is compared, and the results are shown in Table 2.

[0159] Table 2 Comparison of problem number found by manual test and manual + tool test

[0160]

[0161] Based on the test results in the above table, it can be seen that the NCR found by manual testing is also found by the test tool, and the tool of Longfeng station and Shaoguang station each finds more problems that are not found by manual testing. Compared with the manual test results, the test results obtained by using the tool provided by the application can find more problems, improve the accuracy of the test results, and improve the product quality.

[0162] Based on the above embodiments, it can be seen that for the tool using the interlocking data test method provided by the application, the tool is small in size, does not need to be installed, and is convenient to run. The tool can be directly run on a PC with a windowsXP\7\10 system. The tool can complete the test work without connecting to an external network. The tool is windowed in configuration and testing, is convenient and intuitive, and has strong visibility. The tool does not need to change any code and data, and realizes interface test. The tool is convenient and flexible in test range selection, and can test all data, part of the data, or any test data independently. The tool presents test items in the form of independent files, and can be selected in whole, in part, or in single or multiple non-sequential selection test. The tool can be controlled manually to control the test order. The tool can be run on multiple PC ends at the same time to test the same project or different projects, improving the test efficiency. The tool can be executed continuously for 7*24 hours to improve the test efficiency. The tool can directly control the mouse and keyboard to replace manual non-discriminatory test, avoid test differences caused by different technical levels of manual work, avoid problems caused by human fatigue, and improve the test quality. The tool can be used multiple times or for a lifetime after being configured once. After the tool is used for the first time, if a project is modified and upgraded, the tool can be directly used for test. The test items and test cores of the tool are relatively independent, and the test cases can be flexibly changed according to needs under the condition that the test core does not change, and the tool has good expansibility and compatibility.

[0163] The interlocking data test device provided by the application is described below. The interlocking data test device described below can be correspondingly referred to the interlocking data test method described above.

[0164] Figure 6 is a structural schematic diagram of the interlocking data test method device provided by the application, as Figure 6 shown, comprising:

[0165] The first acquisition module 601 is configured to acquire information of each route in the interlocking data. The information of the route includes a station yard to which the route belongs, a button corresponding to the route arrangement, and a first state of a signal machine corresponding to the route arrangement.

[0166] The second acquisition module 602 is configured to acquire a second state of the signal machine corresponding to the route arrangement based on the station yard to which the route belongs and the button corresponding to the route arrangement for each route.

[0167] The third obtaining module 603 is configured to obtain a test result of the route based on the first state and the second state.

[0168] Specifically, the first obtaining module 601, the second obtaining module 602 and the third obtaining module 603 can be sequentially electrically connected.

[0169] Optionally, the second obtaining module 602 comprises:

[0170] The first obtaining unit reads an interlocking control diagram of the station yard;

[0171] The second obtaining unit determines the positions of the buttons in the interlocking control diagram based on preset configuration information;

[0172] The first execution unit generates a target operation instruction for the buttons based on the positions of the buttons;

[0173] The first obtaining unit obtains the second state in response to the target operation instruction.

[0174] Optionally, the second obtaining module 602 comprises:

[0175] The third obtaining unit obtains response data of the signal machine corresponding to the route arrangement in the interlocking subsystem and / or a display state of the signal machine corresponding to the route arrangement in the interlocking control diagram of the station yard in response to the target operation instruction.

[0176] Optionally, the second obtaining module 602 comprises:

[0177] The fourth obtaining unit obtains the interlocking control diagram of the station yard by taking a screenshot of a station yard diagram of the station yard to which the route belongs and setting device control information.

[0178] Optionally, the third obtaining module 603 comprises:

[0179] The second execution unit determines the test result of the route as correct in a case where the first state is consistent with the second state, and determines the test result of the route as incorrect in a case where the first state is inconsistent with the second state.

[0180] Optionally, the third obtaining module 603 further comprises:

[0181] The output unit outputs a test result of the interlocking data based on the test results of the routes.

[0182] The interlocking data test device provided by the embodiment of the present application is used to execute the interlocking data test method provided by the present application, and the implementation manner thereof is consistent with that of the interlocking data test method provided by the present application, and the same beneficial effects can be achieved, which will not be described herein again.

[0183] This interlocking data testing device is used in the interlocking data testing methods of the foregoing embodiments. Therefore, the descriptions and definitions in the interlocking data testing methods of the foregoing embodiments can be used to understand the execution modules in the embodiments of the present invention.

[0184] The interlocking data testing device provided by this invention automatically reads the interlocking data to be tested, and automatically obtains the interlocking test results by pre-configuring the interlocking logic. This reduces the need for manual operation and improves the accuracy of interlocking data testing.

[0185] Figure 7 This is a schematic diagram of the structure of the electronic device provided by the present invention, such as... Figure 7 As shown, the electronic device may include: a processor 701, a communication interface 702, a memory 703, and a communication bus 704. The processor 701, communication interface 702, and memory 703 communicate with each other via the communication bus 704. The processor 701 can call logic instructions in the memory 703 to execute an interlocking data testing method. This method includes: acquiring information about each route in the interlocking data; the route information includes the station to which the route belongs, the button corresponding to the route arrangement, and the first state of the signal corresponding to the route arrangement; for each route, based on the station to which the route belongs and the button corresponding to the route arrangement, acquiring the second state of the signal corresponding to the route arrangement; and based on the first and second states, acquiring the test result of the route.

[0186] Furthermore, the logical instructions in the aforementioned memory 703 can be implemented as software functional units and, when sold or used as independent products, can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, essentially, or the part that contributes to the prior art, or a part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present invention. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.

[0187] In another aspect, the present application also provides a computer program product comprising a computer program, which can be stored on a non-transitory computer readable storage medium, and the computer program is executable by a processor to enable the computer to perform the interlocking data test method provided by the above method, which comprises: 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 route and a first state of a signal corresponding to the route; for each route, obtaining a second state of the signal corresponding to the route based on the station yard to which the route belongs and the button corresponding to the route; and obtaining a test result of the route based on the first state and the second state.

[0188] In another aspect, the present application also provides a computer program product comprising a computer program, which can be stored on a non-transitory computer readable storage medium, and the computer program is executable by a processor to enable the computer to perform the interlocking data test method provided by the above method, which comprises: 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 route and a first state of a signal corresponding to the route; for each route, obtaining a second state of the signal corresponding to the route based on the station yard to which the route belongs and the button corresponding to the route; and obtaining a test result of the route based on the first state and the second state.

[0189] The device embodiments described above are only schematic, wherein the units illustrated as separate components can or can not be physically separate, and the components illustrated as units can or can not be physical units, i.e., can be located in one place or distributed on a plurality of network units. Some or all of the modules can be selected according to actual needs to achieve the purpose of the present embodiment. Those skilled in the art can understand the implementation without creative labor.

[0190] From the above description of the embodiments, those skilled in the art can clearly understand that the embodiments can be implemented by means of software plus necessary universal hardware platforms, and of course can also be implemented by hardware. Based on such understanding, the above technical solutions, essentially or in other words, the part that contributes to the prior art can be embodied in the form of a software product, which can be stored in a computer readable storage medium, such as a ROM / RAM, a magnetic disk, an optical disk, etc., and includes a plurality of instructions to make a computer device (which can be a personal computer, a server, or a network device, etc.) execute the methods described in each embodiment or some parts of the embodiments.

[0191] Finally, it should be noted that the above examples are only used to illustrate the technical solutions of the present application, and are not intended to limit the same; although the present application has been described in detail with reference to the foregoing examples, those of ordinary skill in the art should understand that the technical solutions recorded in the foregoing examples can still be modified, or some of the technical features can be replaced by equivalents; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present application.

Claims

1. A method for testing interlocking data, characterized in that, include: Obtain information about each route in the interlocking data; the route information includes the station to which the route belongs, the button corresponding to the route, and the first state of the signal corresponding to the route. The first state is the state of the correct result of the signal corresponding to the route arrangement; For each route, based on the station to which the route belongs and the button corresponding to the route, the second state of the signal corresponding to the route is obtained; specifically, this includes: reading the interlocking control diagram of the station; determining the position of the button in the interlocking control diagram based on preset configuration information; generating a target operation instruction for the button based on the position of the button; the target operation instruction includes an operation instruction simulating manual button clicking; and obtaining the second state in response to the target operation instruction; obtaining the second state in response to the target operation instruction includes: obtaining the response data of the signal corresponding to the route in the interlocking subsystem and / or the display status of the signal corresponding to the route in the interlocking control diagram of the station; Based on the first state and the second state, the test result of the route is obtained; specifically, if the first state and the second state are consistent, the test result of the route is determined to be correct, and if the first state and the second state are inconsistent, the test result of the route is determined to be incorrect.

2. The interlocking data testing method according to claim 1, characterized in that, Before obtaining the second state of the signal corresponding to each route based on the station yard to which the route belongs and the button corresponding to the route, the method further includes: Based on the station to which the route belongs, a screenshot of the station map is taken, and equipment control information is set to obtain the interlocking control diagram of the station.

3. The interlocking data testing method according to any one of claims 1 to 2, characterized in that, After obtaining the test results of the route based on the first state and the second state, the method further includes: Based on the test results of each of the aforementioned routes, the test results of the interlocking data are output.

4. An interlocking data testing device, characterized in that, include: The first acquisition module is used to acquire information about each route in the interlocking data; the information about the route includes the station to which the route belongs, the button corresponding to the route, and the first state of the signal corresponding to the route. The first state is the state of the correct result of the signal corresponding to the route arrangement; The second acquisition module is used to acquire, for each route, a second state of the signal corresponding to the route based on the station yard to which the route belongs and the button corresponding to the route; specifically, it includes: reading the interlocking control diagram of the station yard; determining the position of the button in the interlocking control diagram based on preset configuration information; generating a target operation instruction for the button based on the position of the button; the target operation instruction includes an operation instruction simulating manual button clicking; and acquiring the second state in response to the target operation instruction; the acquisition of the second state in response to the target operation instruction includes: acquiring the response data of the signal corresponding to the route in the interlocking subsystem and / or the display status of the signal corresponding to the route in the interlocking control diagram of the station yard in response to the target operation instruction; The third acquisition module is used to acquire the test result of the route based on the first state and the second state; specifically, it includes: determining the test result of the route as correct when the first state and the second state are consistent, and determining the test result of the route as incorrect when the first state and the second state are inconsistent.

5. An electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the program, it implements the interlocking data testing method as described in any one of claims 1 to 3.

6. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by the processor, it implements the interlocking data testing method as described in any one of claims 1 to 3.

7. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by the processor, it implements the interlocking data testing method as described in any one of claims 1 to 3.

Citation Information

Patent Citations

  • Interlocking function simulation automatic test method and system

    CN112198815A

  • Automatic interface testing system for computer interlocking system and application

    CN112527683A

  • Interlocking data security conversion method and translator for formalized verification

    CN113031934A

  • Signal machine button test method and device, electronic equipment and storage medium

    CN114407986A