Equipment testing system and method for urban rail area controller

By building the test scenario library module, the target test data is automatically generated, which solves the problem that the existing urban rail area controller equipment testing methods cannot fully cover all application scenarios, and realizes more efficient test data generation and real-time testing, saving manpower and time cost.

CN111737074BActive Publication Date: 2024-12-31CRSC URBAN RAIL TRANSIT TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202010490903.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-06-02
Publication Date
2024-12-31
Estimated Expiration
2040-06-02

AI Technical Summary

Technical Problem

The existing urban rail area controller equipment testing methods cannot fully cover all possible application scenarios of the equipment, and long-term testing requires a lot of manpower and time.

Method used

By building a test scenario library module, target test data is automatically generated, including test scenario generation, matching and combination, and automatically converted into test data recognized by simulation software to realize real-time testing of urban rail area controllers.

Benefits of technology

It improves the coverage range and data generation efficiency of test scenarios, saves manpower and time costs, and realizes real-time testing of urban rail area controllers.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN111737074B_ABST
    Figure CN111737074B_ABST
Patent Text Reader

Abstract

The embodiment of the present invention provides a device testing system and method for an urban rail area controller, the system comprising: a test scenario library module, for storing and parsing the acquired test scenarios, generating a target test scenario of the urban rail area controller to be tested according to preset test conditions, and sending the target test scenario to a test data generation module, the target test scenario is used to verify the functional points of the urban rail area controller to be tested; a test data generation module, for converting the target test scenario into target test data, and sending the target test data to a simulation software module; a simulation software module, for testing the urban rail area controller to be tested according to the target test data, and obtaining the test process information of the urban rail area controller to be tested. The embodiment of the present invention has a wider test scenario coverage and a simpler test data generation method, saving the manpower cost and time cost of long-term equipment testing.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of urban rail transit testing, and in particular to an equipment testing system and method for an urban rail area controller. Background Art

[0002] As the ground core equipment of the Communication Based Train Control (CBTC), the Zone Controller (ZC) generates train permission commands in real time based on train position reports and status, route information, temporary speed limit commands, etc., through interfaces with interlocking, Automatic Train Supervision (ATS), trains, and adjacent ZC equipment, to ensure the safe operation of all trains within its jurisdiction and realize mobile blocking. Before the zone controller equipment is put into use, it needs to undergo strict equipment testing to ensure the correctness and stability of its software and hardware functions.

[0003] In the existing equipment testing of regional controllers, the main test method used is to use simulation software to simulate simple external inputs and conduct long-term testing on the equipment. However, since the output information of the simulation software needs to be manually designed before testing, usually only simple scenarios can be selected as equipment test scenarios, which makes the input data of the equipment test unable to cover all possible application scenarios of the equipment, affecting the comprehensiveness of the equipment test; at the same time, during the equipment testing process, the tester needs to continuously observe the operating status and interface output of the equipment, which will take up more manpower and time for long-term equipment testing.

[0004] Therefore, there is an urgent need for an equipment testing system and method for an urban rail area controller to solve the above problems. Summary of the invention

[0005] In view of the problems existing in the prior art, an embodiment of the present invention provides a device testing system and method for an urban rail area controller.

[0006] In a first aspect, an embodiment of the present invention provides a device testing system for an urban rail area controller, including a test scenario library module, a test data generation module and a simulation software module, wherein:

[0007] The test scenario library module is used to store and parse the acquired test scenarios, generate a target test scenario for the urban rail area controller to be tested according to preset test conditions, and send the target test scenario to the test data generation module, wherein the target test scenario is used to verify the functional points of the urban rail area controller to be tested;

[0008] The test data generation module is used to convert the target test scenario into target test data and send the target test data to the simulation software module;

[0009] The simulation software module is used to test the urban rail area controller to be tested according to the target test data to obtain the test process information of the urban rail area controller to be tested.

[0010] Furthermore, the system also includes: a test information analysis module, which is used to collect and analyze the test process information sent by the simulation software module to obtain test analysis data of the urban rail area controller to be tested.

[0011] Furthermore, the system also includes: a test analysis data display module, which is used to display the test process information and test analysis data in real time.

[0012] Furthermore, the test scenario library module includes a test scenario generation unit and a test scenario matching unit, wherein:

[0013] The test scenario generating unit is used to generate various types of test scenarios according to the equipment status, train status and external commands on the urban rail line;

[0014] The test scenario matching unit is used to match the function points of the urban rail area controller to be tested with all the test scenarios in the test scenario library module, and if the bidirectional search conditions are met, the target test scenario of the urban rail area controller to be tested is obtained.

[0015] Furthermore, the test scenario library module also includes: a test scenario combination unit, which is used to combine multiple test scenarios to obtain a combined test scenario.

[0016] In a second aspect, an embodiment of the present invention provides a device testing method for an urban rail area controller, comprising:

[0017] The acquired test scenarios are stored and parsed, and a target test scenario of the urban rail area controller to be tested is generated according to preset test conditions, wherein the target test scenario is used to verify the functional points of the urban rail area controller to be tested;

[0018] The target test scenario is converted into target test data, and the urban rail area controller to be tested is tested according to the target test data to obtain test process information of the urban rail area controller to be tested.

[0019] Further, after converting the target test scenario into target test data, testing the urban rail area controller to be tested according to the target test data, and obtaining the test process information of the urban rail area controller to be tested, the method further includes:

[0020] The test process information is collected and analyzed to obtain test analysis data of the urban rail area controller to be tested.

[0021] Furthermore, the acquired test scenarios are stored and parsed, and a target test scenario of the urban rail area controller to be tested is generated according to preset test conditions, including:

[0022] Generate various types of test scenarios based on the equipment status, train status and external commands on the urban rail line;

[0023] The function points of the urban rail area controller to be tested are matched with all test scenarios. If the bidirectional search conditions are met, the target test scenario of the urban rail area controller to be tested is obtained.

[0024] In a third aspect, an embodiment of the present invention 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 steps of the method provided in the second aspect when executing the program.

[0025] In a fourth aspect, an embodiment of the present invention provides a non-transitory computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of the method provided in the second aspect.

[0026] An equipment testing system and method for an urban rail area controller provided by an embodiment of the present invention automatically generates target test data for the urban rail area controller to be tested by constructing a scenario library for testing the urban rail area controller, thereby performing equipment testing on the urban rail area controller to be tested. Compared with the prior art, the system and method have wider test scenario coverage and a simpler test data generation method. At the same time, the system realizes real-time testing of the urban rail area controller through the automatically generated test data, thereby saving the manpower cost and time cost of long-term equipment testing. BRIEF DESCRIPTION OF THE DRAWINGS

[0027] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following briefly introduces 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 creative work.

[0028] Figure 1A schematic diagram of the structure of a device testing system for an urban rail area controller provided by an embodiment of the present invention;

[0029] Figure 2 A schematic flow chart of a device testing method for an urban rail area controller provided in an embodiment of the present invention;

[0030] Figure 3 A schematic diagram of the structure of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0031] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0032] In the existing equipment test of the zone controller, the zone controller ZC is connected to the external device through several external interfaces, and exchanges information with the external device through the communication protocol between the external devices, including receiving status information and command information from the external device, and outputting control information and feedback information to the external device through logical operations. In the equipment test, the simulation software is used to simulate the information output to the ZC device by each external interface for a long time, and the functional correctness and stability of the ZC device are verified by observing the operating status of the ZC device. In addition, before performing equipment testing on the zone controller ZC, it is necessary to manually design the output information of the simulation software, usually selecting the output information of the external device in some simple application scenarios. After the test starts, the simulation software continuously sends pre-designed output information to the ZC device. The tester confirms whether the ZC device is operating normally by observing the operating status and interface output of the ZC device within the specified test time period. Since the output information of the simulation software needs to be manually designed before testing, usually only simple scenarios can be selected as device test scenarios. This means that the input data of the device test cannot cover all possible application scenarios of the device, affecting the comprehensiveness of the device test. At the same time, during the device testing process, testers are required to continuously observe the operating status and interface output of the device, which will take up more manpower and time for long-term device testing.

[0033] Figure 1 A schematic diagram of the structure of a device testing system for a city rail area controller provided by an embodiment of the present invention, such as Figure 1 As shown, an embodiment of the present invention provides a device testing system for an urban rail area controller, including a test scenario library module 101, a test data generation module 102 and a simulation software module 103, wherein:

[0034] The test scenario library module 101 is used to store and parse the acquired test scenarios, generate a target test scenario for the urban rail area controller to be tested according to preset test conditions, and send the target test scenario to the test data generation module 102. The target test scenario is used to verify the functional points of the urban rail area controller to be tested.

[0035] In an embodiment of the present invention, the main function of the test scenario library module 101 is to store and parse test scenarios that can verify the function points of the zone controller ZC. In order to ensure the accuracy and completeness of the test, the test scenario library module 101 needs to include all possible practical application scenarios as much as possible. In an embodiment of the present invention, a typical test scenario includes the following elements: the status of each device (signal, axle counter and section, etc.) on the urban rail line, the train status and external commands, etc. The test scenario library module 101 matches all test scenarios with the function points of the zone controller ZC according to the preset test conditions, thereby obtaining the target test scenario for the urban rail zone controller to be tested, so that the target test scenario and the zone controller ZC can be bidirectionally retrieved, that is, querying the test scenario corresponding to the function point of the zone controller ZC according to the function point and querying the zone controller ZC function point covered by the test scenario according to the test scenario.

[0036] The test data generation module 102 is used to convert the target test scenario into target test data, and send the target test data to the simulation software module 103 .

[0037] In the embodiment of the present invention, the main function of the test data generation module 102 is to convert the target test scenario into target test data. Since the test scenario is an abstract description of the test and cannot be directly recognized by the simulation software, the test data generation module 102 must be used to automatically translate the test scenario into test data that can be tested by the simulation software. This process does not require manual intervention, thereby improving the efficiency and accuracy of equipment testing.

[0038] The simulation software module 103 is used to test the urban rail area controller to be tested according to the target test data to obtain the test process information of the urban rail area controller to be tested.

[0039] In the embodiment of the present invention, the main function of the simulation software module 103 is to execute the test task. The simulation software module 103 simulates the external device of the zone controller ZC based on the target test data, and sends the target test data to the zone controller ZC, thereby driving the zone controller ZC to perform device testing.

[0040] An equipment testing system for an urban rail area controller provided by an embodiment of the present invention automatically generates target test data for the urban rail area controller to be tested by constructing a scenario library for testing the urban rail area controller, thereby performing equipment testing on the urban rail area controller to be tested. Compared with the prior art, the system has a wider range of test scenario coverage and a simpler test data generation method. At the same time, the system realizes real-time testing of the urban rail area controller through the automatically generated test data, thereby saving the manpower cost and time cost of long-term equipment testing.

[0041] On the basis of the above embodiment, the system further comprises: a test information analysis module, which is used to collect and analyze the test process information sent by the simulation software module to obtain the test analysis data of the urban rail area controller to be tested.

[0042] In an embodiment of the present invention, the main function of the test information analysis module is to be responsible for the collection and analysis of test process information. Through the test information analysis module, the test process information (including the internal state and output of the zone controller ZC) is collected and analyzed in real time, so that the tester can monitor the entire equipment test process through the test platform interface very intuitively and conveniently, and promptly discover and respond to faults and alarms during the test process. Preferably, in an embodiment of the present invention, the test information analysis module also supports query and analysis of historical test processes. The automatic collection and analysis of the test process information by the test information analysis module makes the test observation of the zone controller ZC easier, saving manpower and time costs.

[0043] On the basis of the above embodiment, the system further comprises: a test analysis data display module for displaying the test process information and test analysis data in real time.

[0044] On the basis of the above embodiment, the test scenario library module includes a test scenario generation unit and a test scenario matching unit, wherein:

[0045] The test scenario generating unit is used to generate various types of test scenarios according to the equipment status, train status and external commands on the urban rail line;

[0046] The test scenario matching unit is used to match the function points of the urban rail area controller to be tested with all the test scenarios in the test scenario library module, and if the bidirectional search conditions are met, the target test scenario of the urban rail area controller to be tested is obtained.

[0047] On the basis of the above embodiment, the test scenario library module further includes: a test scenario combination unit, which is used to combine multiple test scenarios to obtain a combined test scenario.

[0048] In the embodiment of the present invention, firstly, according to the test requirements, a suitable test scenario is selected from the test scenario library, and multiple test scenarios can be flexibly combined. The combined test scenario is matched with the urban rail area controller ZC to be tested by the test scenario matching unit to obtain the target test scenario; then, the test data generation module 102 reads the target test scenario and generates target test data. After the test is executed, the simulation software module 103 reads the target test data and starts the test. At the same time, the test information analysis module updates the test process information in real time and displays it on the interface of the test analysis data display module.

[0049] Figure 2 A flow chart of a device testing method for a city rail area controller provided in an embodiment of the present invention is shown in FIG. Figure 2 As shown, an embodiment of the present invention provides a device testing method for an urban rail area controller, comprising:

[0050] Step 201 , storing and parsing the acquired test scenarios, and generating a target test scenario for the urban rail area controller to be tested according to preset test conditions, wherein the target test scenario is used to verify the functional points of the urban rail area controller to be tested.

[0051] In an embodiment of the present invention, in order to ensure the accuracy and completeness of the test, it is necessary to obtain all possible practical application scenarios as much as possible. In one embodiment of the present invention, a typical test scenario includes the following elements: the status of each device (signal, axle counter and section, etc.) on the urban rail line, the train status and external commands, etc.; then, according to the preset test conditions, all test scenarios are matched with the function points of the zone controller ZC, so as to obtain the target test scenario for the urban rail zone controller to be tested, so that the target test scenario and the zone controller ZC can be bidirectionally retrieved, that is, the test scenario corresponding to the function point of the zone controller ZC is queried according to the function point, and the zone controller ZC function point covered by the test scenario is queried according to the test scenario.

[0052] Step 202: convert the target test scenario into target test data, and test the urban rail area controller to be tested according to the target test data to obtain test process information of the urban rail area controller to be tested.

[0053] In the embodiment of the present invention, since the test scenario is an abstract description of the test and cannot be directly recognized by the simulation software, the test scenario must be translated into test data that the simulation software can use. This process does not require human intervention, thereby improving the efficiency and accuracy of equipment testing. Then, based on the target test data, the external device of the zone controller ZC is simulated, and the target test data is sent to the zone controller ZC, thereby driving the zone controller ZC to perform equipment testing.

[0054] An equipment testing method for an urban rail area controller provided by an embodiment of the present invention automatically generates target test data for the urban rail area controller to be tested by constructing a scenario library for testing the urban rail area controller, thereby performing equipment testing on the urban rail area controller to be tested. Compared with the prior art, the method has a wider range of test scenario coverage and a simpler test data generation method. At the same time, the method realizes real-time testing of the urban rail area controller through the automatically generated test data, thereby saving the manpower cost and time cost of long-term equipment testing.

[0055] On the basis of the above embodiment, after converting the target test scenario into target test data, testing the urban rail area controller to be tested according to the target test data, and obtaining the test process information of the urban rail area controller to be tested, the method further includes:

[0056] The test process information is collected and analyzed to obtain test analysis data of the urban rail area controller to be tested.

[0057] In the embodiment of the present invention, the test process information (including the internal state and output of the zone controller ZC) is collected and analyzed in real time, so that the test personnel can monitor the test process of the entire device through the test platform interface very intuitively and conveniently, and timely discover and respond to faults and alarms in the test process. Preferably, in the embodiment of the present invention, the query and analysis of the historical test process can also be performed. The embodiment of the present invention makes the test observation of the zone controller ZC simpler by automatically collecting and analyzing the test process information, saving labor costs and time costs.

[0058] On the basis of the above embodiment, the acquired test scenario is stored and parsed, and a target test scenario of the urban rail area controller to be tested is generated according to preset test conditions, including:

[0059] Generate various types of test scenarios based on the equipment status, train status and external commands on the urban rail line;

[0060] The function points of the urban rail area controller to be tested are matched with all test scenarios. If the bidirectional search conditions are met, the target test scenario of the urban rail area controller to be tested is obtained.

[0061] Figure 3 A schematic diagram of the electronic device structure provided by an embodiment of the present invention, referring to Figure 3, the electronic device may include: a processor (processor) 301, a communication interface (Communications Interface) 302, a memory (memory) 303 and a communication bus 304, wherein the processor 301, the communication interface 302, and the memory 303 complete mutual communication through the communication bus 304. The processor 301 can call the logic instructions in the memory 303 to execute the following method: store and parse the acquired test scenario, generate a target test scenario of the urban rail area controller to be tested according to the preset test conditions, and the target test scenario is used to verify the functional points of the urban rail area controller to be tested; convert the target test scenario into target test data, and test the urban rail area controller to be tested according to the target test data to obtain the test process information of the urban rail area controller to be tested.

[0062] In addition, the logic instructions in the above-mentioned memory 303 can be implemented in the form of a software functional unit and can be stored in a computer-readable storage medium when it is sold or used as an independent product. Based on such an understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk and other media that can store program codes.

[0063] On the other hand, an embodiment of the present invention further provides a non-transitory computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, the device testing method for the urban rail area controller provided in the above embodiments is implemented, for example, including: storing and parsing the acquired test scenarios, generating a target test scenario for the urban rail area controller to be tested according to preset test conditions, wherein the target test scenario is used to verify the functional points of the urban rail area controller to be tested; converting the target test scenario into target test data, and testing the urban rail area controller to be tested according to the target test data to obtain test process information of the urban rail area controller to be tested.

[0064] The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Ordinary technicians in this field can understand and implement it without paying creative labor.

[0065] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a necessary general hardware platform, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solution is essentially or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.

[0066] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

1. A device testing system for an urban rail area controller, characterized in that: It includes a test scenario library module, a test data generation module and a simulation software module, among which: The test scenario library module is used to store and parse the acquired test scenarios, generate a target test scenario of the urban rail regional controller to be tested according to preset test conditions, and send the target test scenario to the test data generation module, wherein the target test scenario is used to verify the functional points of the urban rail regional controller to be tested; the test scenario library module is also used to correspond all test scenarios to the functional points of the regional controller according to preset test conditions to obtain the target test scenario of the urban rail regional controller to be tested; The test data generation module is used to convert the target test scenario into target test data and send the target test data to the simulation software module; The simulation software module is used to test the urban rail area controller to be tested according to the target test data to obtain test process information of the urban rail area controller to be tested; The test scenario library module includes a test scenario generation unit and a test scenario matching unit, wherein: The test scenario generating unit is used to generate various types of test scenarios according to the equipment status, train status and external commands on the urban rail line; The test scenario matching unit is used to match the function points of the urban rail area controller to be tested with all the test scenarios in the test scenario library module, and if the bidirectional search conditions are met, the target test scenario of the urban rail area controller to be tested is obtained.

2. The equipment testing system for urban rail area controller according to claim 1, characterized in that: The system further comprises: a test information analysis module, which is used to collect and analyze the test process information sent by the simulation software module to obtain the test analysis data of the urban rail area controller to be tested.

3. The equipment testing system for urban rail area controller according to claim 2, characterized in that: The system also includes: a test analysis data display module, which is used to display the test process information and test analysis data in real time.

4. The equipment testing system for urban rail area controller according to claim 1, characterized in that: The test scenario library module also includes: a test scenario combination unit, which is used to combine multiple test scenarios to obtain a combined test scenario.

5. A device testing method for an urban rail area controller, characterized in that: include: The acquired test scenarios are stored and parsed, and a target test scenario of the urban rail regional controller to be tested is generated according to preset test conditions, wherein the target test scenario is used to verify the functional points of the urban rail regional controller to be tested, and the target test scenario is obtained by matching all test scenarios with the functional points of the regional controller according to the preset test conditions; Converting the target test scenario into target test data, and testing the urban rail area controller to be tested according to the target test data to obtain test process information of the urban rail area controller to be tested; The acquired test scenarios are stored and parsed, and a target test scenario of the urban rail area controller to be tested is generated according to preset test conditions, including: Generate various types of test scenarios based on the equipment status, train status and external commands on the urban rail line; The function points of the urban rail area controller to be tested are matched with all test scenarios. If the bidirectional search conditions are met, the target test scenario of the urban rail area controller to be tested is obtained.

6. The device testing method for urban rail area controller according to claim 5, characterized in that: After converting the target test scenario into target test data, and testing the urban rail area controller to be tested according to the target test data to obtain test process information of the urban rail area controller to be tested, the method further includes: The test process information is collected and analyzed to obtain test analysis data of the urban rail area controller to be tested.

7. 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, the steps of the equipment testing method for the urban rail area controller as described in any one of claims 5 to 6 are implemented.

8. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the equipment testing method for an urban rail area controller as described in any one of claims 5 to 6 are implemented.