Test system and methods for interlocking equipment

The automated testing system utilizes neural networks to identify the status of interlocking equipment and generate operation commands, solving the problem of low efficiency in traditional manual testing and achieving efficient and reliable testing of interlocking equipment.

CN115892145BActive Publication Date: 2025-10-28CRSC URBAN RAIL TRANSIT TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

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

AI Technical Summary

Technical Problem

Traditional manual testing of interlocking equipment is inefficient, wasteful of resources, difficult to guarantee test completeness, and has the potential risk of failure due to human factors, thus failing to meet the growing testing demands.

Method used

An automated testing system is adopted, including an input module, an interlocking device module, a processing module, an image recognition sub-model, and an output module. The image recognition sub-model trained by a neural network identifies the device status, generates operation commands, and performs automated testing. It interacts with peripheral systems using an adapter to generate test reports.

Benefits of technology

It improves the efficiency of interlocking equipment testing, avoids subjective errors in manual testing, ensures the reliability and integrity of testing, and saves time.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115892145B_ABST
    Figure CN115892145B_ABST
Patent Text Reader

Abstract

This invention provides a testing system and method for interlocking devices. The system includes: an input module for sending first data and second data to a processing module, wherein the first data includes at least status parsing data and configuration data for generating operation command information of the interlocking device under test, and the second data includes test scenario data of the interlocking device under test; an interlocking device module for sending third data to the processing module, wherein the third data includes at least the interlocking program and interlocking data of the interlocking device under test; and a processing module for determining the current test scenario of the interlocking device under test based on the second data and the third data, generating operation commands for the interlocking device under test in the current test scenario based on the first data and the status of the interlocking device under test, and testing the interlocking device under test according to the operation commands. This invention can improve the testing efficiency of interlocking devices and ensure the reliability of interlocking device testing.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of rail transit technology, and in particular to a testing system and method for interlocking equipment. Background Technology

[0002] Currently, the testing volume for interlocking equipment is substantial, and the operations involve many repetitive tasks. Traditional manual interlocking testing has several drawbacks, such as low testing efficiency, waste of resources, difficulty in ensuring test completeness, potential omissions during manual testing, and the potential risk of failure due to human error. Therefore, traditional manual testing methods are increasingly unable to meet the growing testing demands of interlocking equipment. Summary of the Invention

[0003] The testing system and method for interlocking devices provided by this invention are used to solve the above-mentioned problems existing in the prior art, improve the testing efficiency of interlocking devices, and ensure the reliability of interlocking device testing.

[0004] The present invention provides a testing system for interlocking devices, comprising:

[0005] An input module, connected to a processing module, is used to send first data and second data to the processing module. The first data includes at least the status parsing data of the interlocking device under test and the configuration data for generating operation command information. The second data includes the test scenario data of the interlocking device under test.

[0006] An interlocking device module, connected to the processing module, is used to send third data to the processing module, wherein the third data includes at least the interlocking program and interlocking data of the interlocking device under test;

[0007] The processing module is configured to determine the current test scenario of the interlocking device under test based on the second data and the third data, generate an operation command for the interlocking device under test under the current test scenario based on the first data and the state of the interlocking device under test, and test the interlocking device under test based on the operation command.

[0008] According to a testing system for interlocking devices provided by the present invention, the processing module includes:

[0009] An image recognition sub-model is used to determine the location information of the interlocking device under test based on its state, so that the processing module can obtain the real-time state of the interlocking device under test based on the location information and the first data, and generate the operation command of the interlocking device under test in the current test scenario based on the real-time state and the expected state of the interlocking device under test.

[0010] According to the test system for interlocking devices provided by the present invention, the image recognition sub-model is obtained by training a preset neural network model by inputting the historical states of multiple interlocking devices to be tested into the model.

[0011] According to a testing system for interlocking devices provided by the present invention, the interlocking device module is connected to the processing module via a first adapter, the first adapter is connected to the processing module via a socket, and the first adapter is used to acquire the third data upon receiving the operation command sent by the processing module.

[0012] A testing system for interlocking devices according to the present invention further includes:

[0013] The peripheral system module is connected to the processing module via a second adapter. It is used to receive the operation command and to feed back the verification results of the test on the interlocking device under the current test scenario to the processing module. The second adapter is used to ensure data interaction between the peripheral system module and the processing module.

[0014] A testing system for interlocking devices according to the present invention further includes:

[0015] The output module, connected to the processing module, is used to output a test report of the interlocking device under test in the current test scenario. The test report includes at least the test process log data, verification process, and test results of the interlocking device under test.

[0016] The present invention also provides a testing method for interlocking devices, comprising:

[0017] The input module sends first data and second data to the processing module. The input module is connected to the processing module. The first data includes at least the status parsing data of the interlocking device under test and the configuration data for generating operation command information. The second data includes the test scenario data of the interlocking device under test.

[0018] The third data is sent to the processing module through the interlocking device module, which is connected to the processing module. The third data includes at least the interlocking program and interlocking data of the interlocking device to be tested.

[0019] Based on the second data and the third data received by the processing module, the current test scenario of the interlocking device to be tested is determined;

[0020] Based on the first data received by the processing module and the status of the interlocking device under test, an operation command for the interlocking device under test is generated under the current test scenario, and the interlocking device under test is tested according to the operation command.

[0021] The present invention also provides an electronic device, including a processor and a memory storing a computer program, wherein the processor executes the program to implement a testing method for any of the interlocking devices described above.

[0022] The present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements a test method for the interlocking device as described above.

[0023] The present invention also provides a computer program product, including a computer program that, when executed by a processor, implements a testing method for any of the interlocking devices described above.

[0024] The testing system and method for interlocking equipment provided by this invention uses an automatic testing method to replace manual testing, saving time and improving the testing efficiency of interlocking equipment. At the same time, it avoids the problem of subjective errors that are prone to occur in manual testing, and ensures the reliability of interlocking equipment testing. Attached Figure Description

[0025] In order to more clearly illustrate the technical solutions in the present invention or the prior art, a brief introduction will be given below to the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0026] Figure 1 This is a schematic diagram of the structure of the testing system for the interlocking device provided by the present invention;

[0027] Figure 2 This is a schematic diagram of the neural network model provided by the present invention;

[0028] Figure 3 This is a schematic diagram of the processing module provided by the present invention;

[0029] Figure 4 This is a flowchart illustrating the testing method for the interlocking device provided by the present invention;

[0030] Figure 5 This is a schematic diagram of the physical structure of the electronic device provided by the present invention. Detailed Implementation

[0031] To make the objectives, technical solutions, and advantages of the present invention more clear, the technical solutions of the present invention will be clearly and completely described below in conjunction with the accompanying drawings. Obviously, the embodiments described are only some embodiments of the present invention, not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making any creative efforts shall fall within the scope of protection of the present invention.

[0032] Figure 1 This is a schematic diagram of the structure of the testing system for the interlocking device provided by the present invention, as shown below. Figure 1 As shown, the system includes:

[0033] An input module, connected to a processing module, is used to send first data and second data to the processing module. The first data includes at least the status parsing data of the interlocking device under test and the configuration data for generating operation command information. The second data includes the test scenario data of the interlocking device under test.

[0034] An interlocking device module, connected to the processing module, is used to send third data to the processing module, wherein the third data includes at least the interlocking program and interlocking data of the interlocking device under test;

[0035] The processing module is configured to determine the current test scenario of the interlocking device under test based on the second data and the third data, generate an operation command for the interlocking device under test under the current test scenario based on the first data and the state of the interlocking device under test, and test the interlocking device under test based on the operation command.

[0036] In this embodiment of the invention, the testing system for the interlocking device may specifically include an input module, an interlocking device module, and a processing module. The input module is connected to the processing module, and the interlocking device module is also connected to the processing module.

[0037] In this embodiment of the invention, the purpose of the input module is to adapt to the processing module and the interlocking equipment module, and to provide the processing module with first data and second data. The input module includes the first data and second data required by the processing module. The first data can specifically be XML data archive input data, which may include status parsing data of the interlocking equipment to be tested, configuration data for generating operation command information, station basic configuration and network parameter data, graphic drawing data, menu command operation configuration data, interlocking control and display protocol information data, etc. The second data can specifically be usage scenario input data, which may specifically include test scenario data of the interlocking equipment to be tested, and this test scenario data may specifically include multiple test scenarios. In some embodiments, the first data and the second data can be stored in file format.

[0038] In some embodiments, the first and second data transmitted by the input module may be specifically imported into the processing module in XML and Excel formats.

[0039] In this embodiment of the invention, the interlocking device can be specifically used to provide the required third data to the processing module. This third data can specifically be an interlocking file and a control / display file. The interlocking file specifically refers to the interlocking program and interlocking data of the interlocking device under test. The control / display file can specifically include a basic configuration file, a general message parsing module program, a control / display software program, and application extension programs, etc.

[0040] The process of adapting the processing module to the interlocking equipment module involves the processing module automatically generating test data based on the interlocking data in the interlocking equipment module. This test data may specifically include data such as signal, turnout, and route information. This data will be read by the processing module during the automatic test execution.

[0041] In this embodiment of the invention, the processing module is a controller for testing the interlocking device under test. Specifically, it can determine the test scenario based on the data sent by the input module and the interlocking device module, and generate the operation command of the interlocking device under test in the current test scenario based on its own configuration data and the status of the interlocking device under test. The processing module tests the interlocking device under test based on the operation command and records the test results in the log file.

[0042] In this embodiment of the invention, the processing module may specifically include system files, interlocking test script directory files, automatic test scripts, underlying function code, core executable files, test data, debugging interface software, third-party software, and other configuration data. Because the processing module is based on a script-compiled method for interlocking automatic test executable files, the automatic test scripts and underlying function scripts are crucial for compiling and generating the core executable file. The automatic test script mainly consists of a main program script, action execution scripts, verification and check scripts, configuration scripts, communication scripts, and report scripts. Specifically, the automatic test script can be implemented based on the popup click function `popupClick` and the coordinate position function `setwpos`.

[0043] The testing system for interlocking equipment provided by this invention uses an automatic testing method to replace manual testing, saving time and improving the testing efficiency of interlocking equipment. At the same time, it avoids the problem of subjective errors that are prone to occur in manual testing, thus ensuring the reliability of interlocking equipment testing.

[0044] Furthermore, in one embodiment, the processing module may specifically include:

[0045] An image recognition sub-model is used to determine the location information of the interlocking device under test based on its state, so that the processing module can obtain the real-time state of the interlocking device under test based on the location information and the first data, and generate the operation command of the interlocking device under test in the current test scenario based on the real-time state and the expected state of the interlocking device under test.

[0046] Furthermore, in one embodiment, the image recognition sub-model is obtained by training a preset neural network model by inputting the historical states of multiple interlocking devices under test into the model.

[0047] In this embodiment of the invention, the processing module may specifically include an image recognition sub-model. This image recognition sub-model is specifically used to identify the location information of the interlocking device under test based on its state. The processing module determines the real-time state of the interlocking device under test based on the location information identified by the image recognition sub-model and the first data received from the input module. By comparing this real-time state with the expected state of the interlocking device under test, the module generates operation commands for the interlocking device under test in the current test scenario.

[0048] In this embodiment of the invention, the image recognition sub-model is based on a neural network. Its core idea is to use the historical states of multiple interlocking devices to be tested (the historical states can be obtained from the images of multiple interlocking devices to be tested) as input into a preset neural network model for training, so as to obtain a better neural network model, namely the image recognition sub-model. The trained image recognition sub-model is used to process the state of the interlocking devices to be tested in the images of the interlocking devices to be tested that are currently being captured, thereby identifying the location information of the interlocking devices to be tested.

[0049] Figure 2 This is a schematic diagram of the neural network model provided by the present invention, as shown below. Figure 2 As shown, this preset neural network model includes an input layer, hidden layers, and an output layer. The structure of the m-th layer of this preset neural network model is defined as follows:

[0050]

[0051] in, It is the image input signal, d m-1 d represents the dimension of the input features. m Indicates the dimension of the output feature. Let be a trainable diagonal matrix of parameters, representing the convolution kernel in the graph space. This represents a nonlinear activation function. Chebyshev networks utilize the polynomial of the eigenvalue matrix to activate the convolution kernel. Perform parameterization:

[0052]

[0053] Where ξ i,j For the corresponding coefficients, Chebyshev polynomials are expressed via recursive expressions:

[0054] P i (v)=2vP i-1 (v)-P i-2 (v)

[0055] Therefore, the signal v in the graph and the convolution kernel are obtained. The convolution is:

[0056]

[0057] The location information of each interlocking device to be tested on the station map interface is obtained by using an image recognition sub-model. The real-time status of the interlocking device to be tested is obtained in real time, and the real-time status is compared with the expected status. The processing module is called to generate operation commands for the interlocking device to be tested, and the test results of the interlocking device to be tested are automatically determined without relying on manual intervention.

[0058] Figure 3 This is a schematic diagram of the processing module provided by the present invention, as shown below. Figure 3 As shown, based on the above-mentioned automatic test script and image recognition sub-model, the processing module can perform specified actions on the interlocking device under test, thereby realizing the automatic test function.

[0059] It should be noted that this processing module also allows users to define the execution of test scenarios and the overall test configuration.

[0060] The interlocking device testing system provided by this invention, compared with existing automatic testing methods for interlocking devices, tests interlocking devices based on executable files compiled from scripts. It has a wide range of applications and can operate normally in different environments. Furthermore, the automatic testing process of this invention is highly stable and easy to maintain, meeting the testing needs of most interlocking software without requiring much manual intervention. The testing process for interlocking devices can be easily optimized by improving and optimizing the executable file according to actual engineering or research needs.

[0061] Furthermore, in one embodiment, the interlocking device module is connected to the processing module via a first adapter, the first adapter being connected to the processing module via a socket, and the first adapter being used to acquire the third data upon receiving the operation command sent by the processing module.

[0062] In this embodiment of the invention, the interlocking device module can be specifically connected to the processing module through an adapter (i.e., a first adapter), and the first adapter can be specifically connected to the interface of the processing module through a socket.

[0063] In this embodiment of the invention, the processing module sends an operation command to the first adapter. Upon receiving the operation command from the processing module, the first adapter reads the third data in the interlocking device module and obtains the interlocking data of the interlocking device to be tested from the third data. The first adapter then tests the interlocking device to be tested according to the operation command and feeds back the test results to the processing module in the form of a character line.

[0064] The testing system for interlocking equipment provided by this invention can effectively complete the entire automatic testing process of interlocking equipment, thereby improving productivity, increasing testing efficiency, and saving testing time, and has good application prospects.

[0065] Furthermore, in one embodiment, the system may further include:

[0066] The peripheral system module is connected to the processing module via a second adapter. It is used to receive the operation command and to feed back the verification results of the test on the interlocking device under the current test scenario to the processing module. The second adapter is used to ensure data interaction between the peripheral system module and the processing module.

[0067] In this embodiment of the invention, the testing system of the interlocking device may further include a peripheral system module, which may be connected to the processing module via an adapter (i.e., a second adapter).

[0068] In this embodiment of the invention, the peripheral system module may specifically be a data server and a network system. They communicate with the processing module through a second adapter to receive execution commands and feedback verification results. Specifically, the peripheral system module receives operation commands sent by the processing module through the second adapter and feeds back the verification results of the test of the interlocking device under test in the current test scenario to the processing module.

[0069] In this embodiment of the invention, the second adapter may specifically include functions such as speed buffering, information formatting, and signal conversion. It can be used to assist the normal operation of the processing module, enabling the processing module to smoothly transmit information and interact with peripheral system modules such as data servers and network systems.

[0070] Furthermore, in one embodiment, the system may further include:

[0071] The output module, connected to the processing module, is used to output a test report of the interlocking device under test in the current test scenario. The test report includes at least the test process log data, verification process, and test results of the interlocking device under test, so as to facilitate subsequent querying of test results and problems encountered during the test.

[0072] In this embodiment of the invention, the testing system for the interlocking device may further include an output module connected to the processing module. The output module is specifically used to output a test report of the interlocking device to be tested under the current test scenario. The test report may be sent to the output module through the processing module.

[0073] In this embodiment of the invention, during the automatic testing of the interlocking device under test, the processing module outputs a test report based on the obtained first data, second data, third data and log script. The test results are given in the test report, along with an analysis of the test results (test passed or test failed).

[0074] In other embodiments of the present invention, when the processing module executes other commands (specifically test commands for non-interlocking devices), the processing module will wait for feedback from the interlocking device module. If a communication failure occurs, it will attempt to establish communication with the interlocking device module multiple times. If the communication fails, the first adapter will return a fault message to the processing module, and the fault message will also be reflected in the test report for subsequent analysis of the cause of the fault.

[0075] The complete testing process of the interlocking device testing system provided by this invention is as follows:

[0076] The processing module reads the first and second data from the input module and adapts to the interlocking device module through the first adapter to establish a one-to-one mapping relationship between the interlocking device and the data, so that the processing module can obtain the first and second data of the interlocking device to be tested from the input module according to the mapping relationship.

[0077] Based on the testing requirements of different testing scenarios, we obtain the input data and test steps in the test cases and design general test case scripts.

[0078] After the processing module is adapted to the interlocking equipment module, it executes all steps of each test case. The image recognition sub-model locates the position of each interlocking device under test on the site map interface, obtains the real-time status of the interlocking devices under test, and completes the verification execution process. If any exceptions occur during script execution, they will be recorded in the log file in real time.

[0079] For example, taking the "single lock and single release of turnout" test case as an example, Table 1 shows the detailed operation process and expected results of the single lock and single release test case of turnout. In steps 8-9 and 11, only one turnout needs to be tested in the whole field.

[0080] Table 1

[0081]

[0082] Taking the "vehicle impoundment" test case as an example, Table 2 shows the detailed operation process and expected results of the vehicle impoundment test case. Steps 1-4 test all route data, while steps 5-7 test each interlocking zone only once.

[0083] Table 2

[0084]

[0085] The testing system for interlocking equipment proposed in this invention can be applied to actual engineering projects. Taking a subway station with 40 access routes as an example, it would take about 18 days to manually complete the testing of all interlocking equipment. However, using the testing system for interlocking equipment provided by this invention, the automatic testing of interlocking equipment only took 9 days, greatly reducing the testing time and significantly improving testing efficiency.

[0086] The testing system for interlocking equipment provided by this invention can replace manual testing, improve the testing efficiency of interlocking equipment, ensure the reliability of interlocking equipment testing, and allow users to understand the test results of interlocking equipment at any time by querying test reports.

[0087] The following describes the testing method for the interlocking device provided by the present invention. The testing method for the interlocking device described below is based on the testing system for the interlocking device described above.

[0088] Figure 4 This is a flowchart illustrating the testing method for interlocking devices provided by the present invention, as shown below. Figure 4 As shown, the method includes:

[0089] Step 110: Send first data and second data to the processing module through the input module. The input module is connected to the processing module. The first data includes at least the status parsing data of the interlocking device under test and the configuration data for generating operation command information. The second data includes the test scenario data of the interlocking device under test.

[0090] Step 120: Send third data to the processing module through the interlocking device module, wherein the interlocking device module is connected to the processing module, and the third data includes at least the interlocking program and interlocking data of the interlocking device to be tested;

[0091] Step 130: Determine the current test scenario of the interlocking device to be tested based on the second data and the third data received by the processing module;

[0092] Step 140: Based on the first data received by the processing module and the status of the interlocking device under test, generate an operation command for the interlocking device under test in the current test scenario, and test the interlocking device under test according to the operation command.

[0093] The testing method for interlocking equipment provided by this invention uses an automatic testing method to replace manual testing, saving time and improving the testing efficiency of interlocking equipment. At the same time, it avoids the problem of subjective errors that are prone to occur in manual testing, thus ensuring the reliability of interlocking equipment testing.

[0094] Figure 5 This is a schematic diagram of the physical structure of an electronic device provided by the present invention, such as... Figure 5 As shown, the electronic device may include a processor 510, a communication interface 511, a memory 512, and a bus 513, wherein the processor 510, the communication interface 511, and the memory 512 communicate with each other via the bus 513. The processor 510 can call logical instructions in the memory 512 to execute the following methods:

[0095] The input module sends first data and second data to the processing module. The input module is connected to the processing module. The first data includes at least the status parsing data of the interlocking device under test and the configuration data for generating operation command information. The second data includes the test scenario data of the interlocking device under test.

[0096] The third data is sent to the processing module through the interlocking device module, which is connected to the processing module. The third data includes at least the interlocking program and interlocking data of the interlocking device to be tested.

[0097] Based on the second data and the third data received by the processing module, the current test scenario of the interlocking device to be tested is determined;

[0098] Based on the first data received by the processing module and the status of the interlocking device under test, an operation command for the interlocking device under test is generated under the current test scenario, and the interlocking device under test is tested according to the operation command.

[0099] Furthermore, the logical instructions in the aforementioned memory can be implemented as software functional units and sold or used as independent products, and can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, 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 power supply (which may be a personal computer, server, or network power supply, 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.

[0100] Furthermore, this invention discloses a computer program product, which includes a computer program stored on a non-transitory computer-readable storage medium. The computer program includes program instructions, and when these instructions are executed by a computer, the computer can perform the testing methods for interlocking devices provided in the above-described method embodiments, such as including:

[0101] The input module sends first data and second data to the processing module. The input module is connected to the processing module. The first data includes at least the status parsing data of the interlocking device under test and the configuration data for generating operation command information. The second data includes the test scenario data of the interlocking device under test.

[0102] The third data is sent to the processing module through the interlocking device module, which is connected to the processing module. The third data includes at least the interlocking program and interlocking data of the interlocking device to be tested.

[0103] Based on the second data and the third data received by the processing module, the current test scenario of the interlocking device to be tested is determined;

[0104] Based on the first data received by the processing module and the status of the interlocking device under test, an operation command for the interlocking device under test is generated under the current test scenario, and the interlocking device under test is tested according to the operation command.

[0105] On the other hand, the present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements a test method for the interlocking device provided in the above embodiments, including, for example:

[0106] The input module sends first data and second data to the processing module. The input module is connected to the processing module. The first data includes at least the status parsing data of the interlocking device under test and the configuration data for generating operation command information. The second data includes the test scenario data of the interlocking device under test.

[0107] The third data is sent to the processing module through the interlocking device module, which is connected to the processing module. The third data includes at least the interlocking program and interlocking data of the interlocking device to be tested.

[0108] Based on the second data and the third data received by the processing module, the current test scenario of the interlocking device to be tested is determined;

[0109] Based on the first data received by the processing module and the status of the interlocking device under test, an operation command for the interlocking device under test is generated under the current test scenario, and the interlocking device under test is tested according to the operation command.

[0110] The system embodiments described above are merely illustrative. The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the modules can be selected to achieve the purpose of this embodiment according to actual needs. Those skilled in the art can understand and implement this without any creative effort.

[0111] Through the above description of the embodiments, those skilled in the art can clearly understand that each embodiment can be implemented by means of software plus necessary general-purpose hardware platforms, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solutions, in essence or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, magnetic disk, optical disk, etc., including several instructions to cause a computer power supply (which may be a personal computer, server, or network power supply, etc.) to execute the methods described in various embodiments or some parts of the embodiments.

[0112] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, and not to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features; and these modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

1. A testing system for interlocking equipment, characterized in that, include: An input module, connected to a processing module, is used to send first data and second data to the processing module. The first data includes at least the status parsing data of the interlocking device under test and the configuration data for generating operation command information. The second data includes the test scenario data of the interlocking device under test. An interlocking device module, connected to the processing module, is used to send third data to the processing module, wherein the third data includes at least the interlocking program and interlocking data of the interlocking device under test; The processing module is configured to determine the current test scenario of the interlocking device under test based on the second data and the third data, generate an operation command for the interlocking device under test under the current test scenario based on the first data and the state of the interlocking device under test, and test the interlocking device under test based on the operation command. The processing module includes: An image recognition sub-model is used to determine the location information of the interlocking device under test based on its state, so that the processing module can obtain the real-time state of the interlocking device under test based on the location information and the first data, and generate the operation command of the interlocking device under test in the current test scenario based on the real-time state and the expected state of the interlocking device under test; the state of the interlocking device under test is obtained from the currently captured image of the interlocking device under test.

2. The testing system for interlocking equipment according to claim 1, characterized in that, The image recognition sub-model is obtained by training a preset neural network model by inputting the historical states of multiple interlocking devices under test into the model.

3. The testing system for interlocking equipment according to claim 1, characterized in that, The interlocking device module is connected to the processing module via a first adapter. The first adapter is connected to the processing module via a socket. The first adapter is used to obtain the third data when it receives the operation command sent by the processing module.

4. The testing system for interlocking equipment according to any one of claims 1-3, characterized in that, Also includes: The peripheral system module is connected to the processing module via a second adapter. It is used to receive the operation command and to feed back the verification results of the test on the interlocking device under the current test scenario to the processing module. The second adapter is used to ensure data interaction between the peripheral system module and the processing module.

5. The testing system for interlocking equipment according to claim 4, characterized in that, Also includes: The output module, connected to the processing module, is used to output a test report of the interlocking device under test in the current test scenario. The test report includes at least the test process log data, verification process, and test results of the interlocking device under test.

6. A testing method for interlocking equipment, characterized in that, include: The input module sends first data and second data to the processing module. The input module is connected to the processing module. The first data includes at least the status parsing data of the interlocking device under test and the configuration data for generating operation command information. The second data includes the test scenario data of the interlocking device under test. The third data is sent to the processing module through the interlocking device module, which is connected to the processing module. The third data includes at least the interlocking program and interlocking data of the interlocking device to be tested. Based on the second data and the third data received by the processing module, the current test scenario of the interlocking device to be tested is determined; Based on the first data received by the processing module and the status of the interlocking device under test, an operation command for the interlocking device under test is generated under the current test scenario, and the interlocking device under test is tested according to the operation command. The processing module includes: An image recognition sub-model is used to determine the location information of the interlocking device under test based on its state, so that the processing module can obtain the real-time state of the interlocking device under test based on the location information and the first data, and generate the operation command of the interlocking device under test in the current test scenario based on the real-time state and the expected state of the interlocking device under test; the state of the interlocking device under test is obtained from the currently captured image of the interlocking device under test.

7. An electronic device comprising a processor and a memory storing a computer program, characterized in that, When the processor executes the computer program, it implements the testing method for the interlocking device as described in claim 6.

8. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that, When executed by a processor, the computer program implements the test method for the interlocking device as described in claim 6.

9. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by the processor, it implements the test method for the interlocking device as described in claim 6.

Citation Information

Patent Citations

  • Automatic test method and system for data of autonomous machine of decentralized autonomous centralized traffic control station

    CN109649447A

  • Method and device for automatically testing access protection section by interlocking system

    CN112793633A