Train receiving and departure automatic test system, method and equipment and storage medium
Through the automatic processing of station site diagrams and route table data in the existing technology, the problems of inefficiency and inaccurate data are solved, and efficient, accurate and stable railway dispatch operations are achieved.
Patent Information
- Application Number
- CN202510509471.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-04-22
- Publication Date
- 2025-07-18
AI Technical Summary
In existing railway pick-up operations, station site drawing and routing table generation rely on manual labor, resulting in inefficiency and inaccurate data, the test process is time-consuming and easy to miss, affecting the safety and stability of the operation.
It provides an automated test system for pick-up and departure, including a station map generation module, a route table generation module and a route table collection and departure test module. By automatically processing station map data and route table data, the target station map and route table are generated, and automated tests are carried out to generate a test report.
It significantly improves the efficiency and accuracy of railway dispatch operations, reduces manual intervention, ensures the comprehensiveness and stability of the test, shortens the time for station drawing and routing table generation, and avoids manual operation errors.
Smart Images

Figure CN120336187A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of computer simulation testing, and more specifically, to a train receiving and dispatching automated testing system, method, device, and storage medium. Background Art
[0002] Railway train receiving and dispatching operations are an important part of railway transportation production activities, involving the processes of train reception and departure, and ensuring that trains run safely and on schedule according to the time specified in the operation diagram. Train receiving and dispatching operations are one of the basic tasks of station train operation work, mainly including two parts: train receiving operations and train departure operations.
[0003] In current railway train receiving and dispatching operations, the drawing of the station yard diagram mainly relies on manual drawing using tools. For large-scale stations, it usually takes 3 - 5 days to draw the station yard diagram, which is time-consuming. Manual drawing is not only inefficient but also prone to inaccurate data due to operational errors, affecting subsequent testing and applications.
[0004] Although existing tools can automatically generate route tables, these route tables are generated based on the station yard data drawn manually and may differ from the actual on-site data. Therefore, the generated route tables need to be manually checked item by item to ensure their accuracy. For a large station, the route table may contain thousands of routes. Checking item by item is not only extremely time-consuming (usually taking one day or even longer) but also difficult to ensure that each route can be checked consistently, and the data quality cannot be effectively guaranteed.
[0005] During the train operation testing process, simulation personnel need to conduct tests item by item according to the route data, manually simulate the train operation process, and monitor the occupancy and unlocking conditions of the sections throughout the process. For a standard station, it usually takes half a day or even more than one day to complete the running train tests for all routes. This manual testing method is not only inefficient but also prone to omitting some test items, resulting in incomplete test results.
[0006] In summary, the current process of station yard data production and testing overly relies on manual operations, resulting in low work efficiency and ineffective execution quality. Manual intervention not only increases the work burden but also easily causes various problems during project applications, affecting the safety and stability of railway train receiving and dispatching operations. Summary of the Invention
[0007] In view of this, the purpose of the present invention is to provide a train receiving and dispatching automated testing system, method, device, and storage medium to significantly improve the efficiency and accuracy of railway train receiving and dispatching operations, reduce manual intervention, and ensure the comprehensiveness and stability of testing.
[0008] In a first aspect, an embodiment of the present application provides a train receiving and dispatching automatic test system, which includes a station yard map generation module, a route table generation module, and a train receiving and dispatching test module;
[0009] The station yard map generation module is configured to obtain station yard map data and generate a target station yard map based on the station yard map data;
[0010] The route table generation module is configured to obtain route table data and generate a target route table based on the target station yard map and the route table data;
[0011] The train receiving and dispatching test module is configured to perform train receiving and dispatching automatic tests based on the target route table to obtain an automatic test result, and generate a train receiving and dispatching test report according to the automatic test result.
[0012] Optionally, when the station yard map generation module is used to generate a target station yard map based on the station yard map data, it is specifically configured to:
[0013] Parse the station yard map data to generate a station yard map intermediate file for visual operation;
[0014] In response to a user's editing operation on the station yard map intermediate file, adjust the graphic style in the station yard map intermediate file according to the editing operation;
[0015] Generate the target station yard map based on the adjusted station yard map intermediate file.
[0016] Optionally, when the route table generation module is used to generate a target route table based on the target station yard map and the route table data, it is specifically configured to:
[0017] Adjust the format of the route table data;
[0018] Parse the format-adjusted route table data to obtain route table description information;
[0019] Match the route table description information with the device IDs in the target station yard map to generate the target route table.
[0020] Optionally, the automatic test result includes a route test result and a train operation test result; when the train receiving and dispatching test module is used to perform train receiving and dispatching automatic tests based on the target route table to obtain an automatic test result, it is specifically configured to:
[0021] According to the target route table, use software interlocking logic to verify whether the route opening is normal;
[0022] Determine the verification result of whether the route opening is normal as the route test result;
[0023] If the route is normally open, perform automatic train addition and train running tests according to the target route table;
[0024] Determine the test results of automatic train addition and train running as the train operation test results.
[0025] Optionally, the train receiving and dispatching test module is further configured to:
[0026] If the route is not normally open, adjust the target route table;
[0027] When the verification result of route opening verification according to the adjusted target route table is that the route is normally open, perform automatic train addition and train running tests according to the adjusted target route table.
[0028] Optionally, the system further includes an interlocking command test module; the interlocking command test module is configured to:
[0029] Perform normal interlocking command tests and abnormal interlocking automation tests;
[0030] Output the test results of the normal interlocking command test and the test results of the abnormal interlocking automation test.
[0031] Optionally, when the interlocking command test module is used to perform normal interlocking command tests, it is specifically configured to:
[0032] Use software to automatically simulate and implement click tests of normal interlocking commands;
[0033] Among them, the normal interlocking commands include switch normal and reverse positions, switch single locking and single unlocking, closing and unlocking, hand-operated switch, lighting on and off, button capping and uncapping, poor shunting, guiding total locking, allowing direction change, auxiliary direction change, and blocking;
[0034] When the interlocking command test module is used to perform abnormal interlocking automation tests, it is specifically configured to:
[0035] Combine target nodes in the original route unlocking process to obtain a target route unlocking process, and implement the editing of the route unlocking process;
[0036] Simulate and execute the target route unlocking process, and determine the test results of the abnormal interlocking automation test according to the execution results and expected results of the target route unlocking process.
[0037] In a second aspect, an embodiment of the present application provides a train receiving and dispatching automation test method, which is applied to a train receiving and dispatching automation test system. The system includes a station yard map generation module, a route table generation module, and a train receiving and dispatching test module. The method includes;
[0038] Obtain the station yard map data through the said station yard map generation module, and generate the target station yard map based on the said station yard map data;
[0039] Obtain the route table data through the said route table generation module, and generate the target route table based on the said target station yard map and the said route table data;
[0040] Perform the automated receiving and dispatching test based on the said target route table through the said receiving and dispatching test module to obtain the automated test result, and generate the receiving and dispatching test report according to the said automated test result.
[0041] Optionally, the generating the target station yard map based on the said station yard map data includes:
[0042] Parse the said station yard map data to generate an intermediate file of the station yard map for visualization operations;
[0043] In response to the user's editing operation on the said intermediate file of the station yard map, adjust the graphic style in the said intermediate file of the station yard map according to the said editing operation;
[0044] Generate the said target station yard map based on the adjusted intermediate file of the station yard map.
[0045] Optionally, the generating the target route table based on the said target station yard map and the said route table data includes:
[0046] Adjust the format of the said route table data;
[0047] Parse the route table data after format adjustment to obtain the route table description information;
[0048] Match the said route table description information with the device IDs in the said target station yard map to generate the said target route table.
[0049] Optionally, the said automated test result includes the route test result and the train operation test result; the performing the automated receiving and dispatching test based on the said target route table to obtain the automated test result includes:
[0050] Verify whether the route opening is normal by using the software interlocking logic according to the said target route table;
[0051] Determine the verification result of whether the route opening is normal as the said route test result;
[0052] If the route opening is normal, perform the automatic train addition and running test according to the said target route table;
[0053] Determine the test result of the automatic train addition and running as the said train operation test result.
[0054] Optionally, the said method further includes:
[0055] If the route opening is abnormal, adjust the target route table through the train receiving and dispatching test module;
[0056] When the verification result of the route opening verification according to the adjusted target route table is that the route opening is normal, perform the automatic train addition and train running tests according to the adjusted target route table through the train receiving and dispatching test module.
[0057] Optionally, the system further includes an interlocking command test module; the method further includes:
[0058] Perform the normal interlocking command test and the abnormal interlocking automation test through the interlocking command test module;
[0059] Output the test results of the normal interlocking command test and the test results of the abnormal interlocking automation test through the interlocking command test module.
[0060] Optionally, performing the normal interlocking command test includes:
[0061] Use software to automatically simulate and implement the click test of the normal interlocking command;
[0062] Among them, the normal interlocking commands include the normal and reverse positions of the switch, single locking and single unlocking of the switch, closing and unsealing, hand-operated switch, lighting on and off, button capping and uncapping, poor shunting, guiding total locking, allowing direction change, auxiliary direction change, and block;
[0063] Performing the abnormal interlocking automation test includes:
[0064] Combine the target nodes in the original route unlocking process to obtain the target route unlocking process, and implement the editing of the route unlocking process;
[0065] Simulate and execute the target route unlocking process, and determine the test results of the abnormal interlocking automation test according to the execution results and expected results of the target route unlocking process.
[0066] In a third aspect, an embodiment of the present application provides a computer device, including: a processor, a memory, and a bus, where the memory stores machine-readable instructions executable by the processor. When the computer device runs, the processor communicates with the memory through the bus. When the machine-readable instructions are executed by the processor, the steps of the train receiving and dispatching automation test method in any optional implementation manner in the second aspect are executed.
[0067] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, on which a computer program is stored. When the computer program is run by a processor, the steps of the train receiving and dispatching automation test method in any optional implementation manner in the first aspect are executed.
[0068] The technical solutions provided by this application include but are not limited to the following beneficial effects:
[0069] This application provides a train receiving and dispatching automatic test system. First, the station yard map generation module obtains the station yard map data and generates a target station yard map based on the station yard map data. This not only significantly shortens the drawing time of the station yard map, with a remarkable improvement in efficiency, but also reduces the errors in manual operations, ensuring that the generated station yard map data is more accurate and stable. Then, the route table generation module obtains the route table data and generates a target route table based on the target station yard map and the route table data. This not only avoids the work of manually checking each route in the route table, significantly shortening the generation time of the route table, but also can automatically match the route table description information with the device IDs in the target station yard map, ensuring the consistency between the route table and the station yard map data and avoiding the omissions or errors that may be caused by manual checking. Finally, the train receiving and dispatching test module conducts automatic train receiving and dispatching tests based on the target route table, generating automatic test results and a train receiving and dispatching test report. This not only significantly improves the test efficiency, reduces the errors in manual operations, ensures the accuracy and comprehensiveness of the test results, but also can automatically generate a detailed test report, recording the test results and abnormal situations of each route, helping users quickly locate and solve problems.
[0070] In summary, through the collaborative work of the station yard map generation module, the route table generation module, and the train receiving and dispatching test module, this application realizes the full automation of station yard data production and testing, not only significantly improving the efficiency and accuracy of railway train receiving and dispatching operations, but also reducing manual intervention and ensuring the comprehensiveness and stability of testing.
[0071] To make the above objects, features, and advantages of the present invention more obvious and understandable, the following specific preferred embodiments are given below in conjunction with the accompanying drawings and are described in detail as follows. BRIEF DESCRIPTION OF THE DRAWINGS
[0072] To more clearly illustrate the technical solutions of the embodiments of the present invention, the following briefly introduces the drawings required for the embodiments. It should be understood that the following drawings only show some embodiments of the present invention and should not be regarded as limiting the scope. For those of ordinary skill in the art, other related drawings can be obtained based on these drawings without creative efforts.
[0073] Figure 1 Shows a schematic structural diagram of a train receiving and dispatching automatic test system provided by Embodiment 1 of the present invention;
[0074] Figure 2 Shows a schematic structural diagram of a second train receiving and dispatching automatic test system provided by Embodiment 1 of the present invention;
[0075] Figure 3 The flowchart of a train receiving and dispatching automatic test method provided in the second embodiment of the present invention is shown;
[0076] Figure 4 The flowchart of a target yard map generation method provided in the second embodiment of the present invention is shown;
[0077] Figure 5 The flowchart of a target route table generation method provided in the second embodiment of the present invention is shown;
[0078] Figure 6 The flowchart of an automatic test result generation method provided in the second embodiment of the present invention is shown;
[0079] Figure 7 The structural schematic diagram of a computer device provided in the third embodiment of the present invention is shown. Detailed implementation manners
[0080] To make the objectives, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part rather than all of the embodiments of the present invention. Usually, the components of the embodiments of the present invention described and illustrated herein can be arranged and designed in various different configurations. Therefore, the following detailed description of the embodiments of the present invention provided in the accompanying drawings is not intended to limit the scope of the claimed present invention, but merely represents selected embodiments of the present invention. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without creative efforts shall fall within the protection scope of the present invention.
[0081] Embodiment 1
[0082] For the convenience of understanding the present application, the following will Figure 1 describe Embodiment 1 of the present application in detail with reference to the content described in the structural schematic diagram of a train receiving and dispatching automatic test system provided in Embodiment 1 of the present invention shown.
[0083] See Figure 1 as shown Figure 1 The structural schematic diagram of a train receiving and dispatching automatic test system provided in Embodiment 1 of the present invention is shown, wherein the system includes a yard map generation module 101, a route table generation module 102, and a train receiving and dispatching test module 103.
[0084] The yard map generation module is used to obtain yard map data and generate a target yard map based on the yard map data.
[0085] Specifically, first, the system will obtain the yard plan data, which may come from line data, CAD files, Visio files, etc. Then the system parses these data to generate a visualized intermediate yard plan file, which contains the basic layout information of the yard, such as the initial positions and attributes of equipment like turnouts, signal lights, tracks, etc.
[0086] Users can adjust the intermediate yard plan file through simple drag-and-drop operations, modify the graphic styles or equipment layouts to make it more in line with the actual yard situation. After the adjustment is completed, the system will automatically generate the final target yard plan according to the modified intermediate file. This target yard plan not only contains the graphic information of the yard but also the attribute information of the equipment, such as the status of turnouts, the display of signal lights, etc., ensuring that the generated yard plan can be directly used for subsequent train receiving and dispatching tests.
[0087] The route table generation module is used to obtain route table data and generate a target route table based on the target yard plan and the route table data.
[0088] Specifically, the system first obtains the route table data, which usually comes from the on-site CAD route table or other format route table files. Then the system adjusts the format of these route table data to ensure that it can be correctly parsed by the system. After the format adjustment, the system parses the route table data and extracts the route table description information, such as the starting point, ending point, and passing equipment of each route.
[0089] Then, the system matches the route table description information with the equipment IDs in the target yard plan. Through this matching, the system can associate the description information of each route with the specific equipment in the yard plan to ensure the accuracy of the route table. Finally, the system automatically generates a target route table according to the matching results. This target route table contains the detailed information of each route and can be directly used for subsequent train receiving and dispatching tests.
[0090] The train receiving and dispatching test module is used to conduct automated train receiving and dispatching tests based on the target route table to obtain an automated test result and generate a train receiving and dispatching test report according to the automated test result.
[0091] Specifically, the system first verifies whether the route opening is normal according to the target route table using software interlocking logic. This step mainly checks whether the opening conditions of each route are met, such as whether the signal light is displayed normally and whether the turnout is in the correct position. After the verification is completed, the system generates a route test result and records the opening status of each route.
[0092] If the route is opened normally, the system will conduct automatic train addition and running tests. In this step, the system simulates the running process of the train in the station yard, automatically records the occupancy and unlocking conditions of the sections during the running process of the train. After the test is completed, the system will generate a train operation test result, recording the normal and abnormal conditions of the train operation.
[0093] If the route is not opened normally, the system adjusts the target route table and re-verifies the route opening until the route is opened normally. Finally, the system will generate a receiving and dispatching test report based on the automated test results. The test report will detail the test results of each route, the normal and abnormal conditions of the train operation, and the reasons for the abnormalities, helping users quickly locate and solve problems.
[0094] Through the collaborative work of the station yard map generation module, the route table generation module, and the receiving and dispatching test module, it is possible to automatically complete the generation of the station yard map, the generation of the route table, and the receiving and dispatching test. The entire process reduces manual intervention, greatly improves work efficiency and test accuracy, and ensures the safety and stability of railway receiving and dispatching operations.
[0095] In an optional implementation, when the station yard map generation module is used to generate a target station yard map based on the station yard map data, it is specifically used for:
[0096] Parse the station yard map data to generate an intermediate file of the station yard map for visualization operations.
[0097] Specifically, the system first obtains the station yard map data, which may come from line data, CAD files, or Visio files, etc. The station yard map data usually contains the basic layout information of the station yard, such as the positions and attributes of devices such as turnouts, signal lights, tracks, and insulation joints. The system will intelligently parse this data, extract key information, and generate a visual intermediate file of the station yard map. This intermediate file is a transitional file, containing the graphic layout of the station yard and the basic attribute information of the devices. It provides a visual operation interface for users, through which users can view the preliminary layout of the station yard and perform further editing and adjustment.
[0098] In response to the user's editing operation on the intermediate file of the station yard map, adjust the graphic style in the intermediate file of the station yard map according to the editing operation.
[0099] Specifically, after generating the intermediate file of the station yard map, the system will allow users to perform editing operations on the intermediate file. Users can adjust the graphic style or device layout in the station yard map through simple operations such as dragging and clicking. For example, users can move the position of the signal light, adjust the direction of the turnout, or modify the length of the track.
[0100] The system will respond to the user's editing operations in real time and automatically update the intermediate file of the station yard diagram according to the user's adjustments. The purpose of this step is to ensure that the layout of the station yard diagram conforms to the actual station yard situation and can meet the subsequent requirements for train reception and departure tests.
[0101] Generate the target station yard diagram based on the adjusted intermediate file of the station yard diagram.
[0102] Specifically, when the user completes the editing of the intermediate file of the station yard diagram, the system will automatically generate the final target station yard diagram according to the adjusted intermediate file. This target station yard diagram not only contains the graphic layout information of the station yard but also includes the detailed attribute information of the equipment, such as the status of the switch, the display of the signal, the position of the insulation joint, etc. The generated target station yard diagram can be directly used for subsequent route table generation and train reception and departure tests. The system will ensure that the generated target station yard diagram has high accuracy and stability, avoiding logical errors caused by data attribute problems.
[0103] Furthermore, when the station yard diagram data is line data, the station yard diagram automatic generation tool can import the line data. First, it performs intelligent differential parsing on the imported data to generate an intermediate file of the station yard diagram for visual operation. According to the original station yard graph, it is convenient and quick to adjust the required station yard graph style. Through the station yard diagram automatic generation tool, after simply and conveniently dragging the intermediate file of the station yard diagram generated using line data according to the station yard graph, when it conforms to the real station yard graph, you can select the corresponding generation function of the tool to automatically generate the station yard diagram. For the generated station yard diagram, the relevant attributes of the switch, signal, and insulation joint, as well as the equipment association attributes, can be automatically filled.
[0104] When the station yard diagram data is CAD data, use the CAD data to generate a station yard diagram tool. Select the CAD data, and the automatic generation tool will parse the content such as signals, sections, tracks, switches, and texts according to different layering information of the CAD data and automatically generate an intermediate file of the station yard diagram. Then use the station yard diagram automatic generation tool to adjust the station yard layout. The usage method is the same as that for generating with line data.
[0105] When the station yard diagram data is Visio data, select the Visio data. By using the visio automatic generation tool, open the data, and then delete the data that is not related to the station yard diagram. The tool automatically parses the data and generates an intermediate file of the station yard diagram. Use the station yard diagram automatic generation tool to adjust the station yard layout. The usage method is the same as that for generating with line data.
[0106] The station yard diagram generation module generates an intermediate file by parsing the station yard diagram data, allowing users to edit and adjust the intermediate file, and finally generating a target station yard diagram that meets the actual requirements. This process not only improves the efficiency of station yard diagram generation but also ensures that the generated station yard diagram has high accuracy and stability, laying a solid foundation for subsequent train receiving and dispatching tests.
[0107] In an optional implementation, when the route table generation module is used to generate a target route table based on the target station yard diagram and the route table data, it is specifically used for:
[0108] Adjust the format of the route table data.
[0109] Specifically, since the formats of on-site data may vary, the system will adjust the format of these route table data to ensure that it can be correctly parsed by the system. The process of format adjustment includes unifying the table style, cleaning redundant information, standardizing data fields, etc., to ensure that the structure of the route table data is clear and the content is complete, facilitating subsequent parsing and processing.
[0110] Parse the route table data after format adjustment to obtain route table description information.
[0111] Specifically, the route table description information includes detailed information about each route, such as the starting point, ending point, passing equipment (such as signal machines, switches, tracks, etc.) of the route, and the opening conditions of the route. During the parsing process, the system will identify the key fields in the route table and convert them into a structured data format. For example, the system will identify information such as the route number, starting signal machine, ending signal machine, and passing switches, and store them as route table description information.
[0112] Match the route table description information with the equipment IDs in the target station yard diagram to generate the target route table.
[0113] Specifically, the target station yard diagram contains the IDs and their attribute information of all equipment in the station yard, such as the ID of the signal machine, the ID of the switch, the ID of the track, etc. The system searches for the corresponding equipment ID in the target station yard diagram according to the equipment name or number in the route table description information, and associates the route description information with the equipment ID. For example, if there is a route passing through a certain signal machine in the route table description information, the system will find the ID of the signal machine in the target station yard diagram and associate it with the route description information. After the matching is completed, the system will generate the final target route table. This target route table not only contains the detailed information of each route but also contains the association relationship between the route and the equipment in the station yard diagram, ensuring the accuracy and executability of the route table.
[0114] The route table generation module generates the target route table by adjusting the format, parsing, and matching the route table data. This process ensures the accuracy and integrity of the route table data, providing reliable route information support for the receiving and dispatching tests of the target station yard diagram. By automatically generating the route table, the system significantly reduces the workload of manual verification, improves work efficiency, and avoids human errors.
[0115] In an optional implementation, the automated test results include route test results and train operation test results; when the receiving and dispatching test module is used to perform automated receiving and dispatching tests based on the target route table to obtain automated test results, it specifically is used for:
[0116] Verify whether the route opening is normal according to the target route table using software interlocking logic.
[0117] Specifically, the interlocking logic is the core logic in the railway signal system, used to ensure the safety of train operation. The system will check item by item whether the opening conditions of each route are met. For example: whether the signal of the signal machine is displayed correctly (such as a green light indicating permission to pass). Whether the switch is in the correct position (such as whether the normal and reverse positions are correct). Whether the section is correctly occupied or unlocked. The system will simulate the opening process of each route to ensure that the opening of the route meets the requirements of the interlocking logic. The purpose of this step is to verify the accuracy of the route table and ensure that each route can be opened normally during actual operation.
[0118] Determine the verification result of whether the route opening is normal as the route test result.
[0119] Specifically, the route test results mainly include: the opening status (normal or abnormal) of each route. If the route opening is abnormal, the system will record the specific reasons for the abnormality (such as incorrect signal display of the signal machine, incorrect switch position, etc.). The route test results are an important part of the receiving and dispatching tests, which reflect the accuracy of the route table and the correctness of the interlocking logic. Through the route test results, users can quickly understand the opening situation of each route and make adjustments for abnormal situations.
[0120] If the route opening is normal, then perform automatic train addition and train running tests according to the target route table.
[0121] Specifically, automatic train addition: The system will automatically add virtual trains at the starting point of the route according to the target route table. Train running test: The system will simulate the train running along the route and automatically record the occupancy and unlocking situations of the sections during the train running process. The purpose of the train running test is to verify whether the train can run normally according to the instructions of the route table during actual operation and whether the occupancy and unlocking of the sections meet the expectations. The system will simulate the train running process to ensure that the train can pass through each route safely and on schedule.
[0122] Determine the test results of automatic train addition and train running as the train operation test results.
[0123] Specifically, after the train running test is completed, the system will record the test results as the train operation test results. The train operation test results mainly include: the occupancy status of sections during train operation (whether occupied as expected), the unlocking status of sections during train operation (whether unlocked as expected). If an abnormal situation occurs, the system will record the specific reasons for the abnormality (such as the section not being unlocked as expected, the train running path being incorrect, etc.). The train operation test results reflect the performance of the train during actual operation, ensuring that the train can run safely and on schedule according to the indication of the route table. Through the train operation test results, users can understand all details during the train operation process, ensuring the stability and safety of train receiving and dispatching operations.
[0124] In an optional implementation, the train receiving and dispatching test module is further configured to:
[0125] If the route opening is abnormal, adjust the target route table.
[0126] Specifically, during the route opening verification process, if the system detects that the opening conditions of a certain route do not meet the requirements of the interlocking logic (such as incorrect signal display, incorrect turnout position, etc.), the system will determine that the route opening is abnormal. At this time, the system will adjust the target route table.
[0127] The content of the adjustment includes: modifying the display status of the signal, adjusting the position of the turnout (such as changing from normal position to reverse position), and correcting the occupancy or unlocking logic of the section. The system will automatically or prompt the user to manually modify the target route table according to the specific reasons for the abnormality, ensuring that the route opening conditions meet the requirements of the interlocking logic.
[0128] When the verification result of the route opening verification based on the adjusted target route table is that the route opening is normal, perform automatic train addition and train running tests according to the adjusted target route table.
[0129] Specifically, after the adjustment of the target route table is completed, the system will use the software interlocking logic again to perform route opening verification on the adjusted route table. The system will check the opening conditions of each route one by one to ensure that the adjusted route table can meet the requirements of the interlocking logic. If the verification result is that the route opening is normal, the system will continue with the subsequent test steps. If the verification result is still that the route opening is abnormal, the system will adjust the target route table again until the opening conditions of all routes meet the requirements of the interlocking logic.
[0130] After the adjusted target route table passes the route opening verification, the system will conduct automatic train addition and running tests according to the adjusted route table. The specific steps include: Automatic train addition: The system will automatically add virtual trains at the starting point of the route according to the adjusted target route table. Running test: The system will simulate the train running along the adjusted route and automatically record the occupancy and unlocking of sections during the running process. The purpose of the running test is to verify whether the train can run normally according to the adjusted route table during actual operation and whether the occupancy and unlocking of sections meet the expectations. The system will simulate the running process of the train to ensure that the train can pass each route safely and on time.
[0131] In an optional implementation, refer to Figure 2 as shown in Figure 2 Figure 2 shows a schematic structural diagram of the second train receiving and dispatching automation test system provided in the first embodiment of the present invention. Among them, the system further includes an interlocking command test module 201; the interlocking command test module is used for:
[0132] Conducting normal interlocking command tests and abnormal interlocking automation tests.
[0133] Specifically, normal interlocking commands are common operation commands in the railway signal system, used to control the equipment status in the station yard to ensure the safety and smoothness of train operation. The abnormal interlocking automation test is mainly used to simulate the running logic of trains in abnormal situations to ensure that the system can correctly handle various abnormal situations.
[0134] Outputting the test results of the normal interlocking command test and the test results of the abnormal interlocking automation test.
[0135] Specifically, after completing the normal interlocking command test and the abnormal interlocking automation test, the system will generate a detailed test report, which specifically includes: Normal interlocking command test results: Recording the execution results of each normal interlocking command, including whether the command is executed successfully, the execution time, abnormal situations, etc. Abnormal interlocking automation test results: Recording the execution results of each abnormal interlocking test, including the execution of the route unlocking process, the handling results of abnormal situations, etc.
[0136] In an optional implementation, when the interlocking command test module is used to conduct normal interlocking command tests, it is specifically used for:
[0137] Using software to automatically simulate and implement the click test of normal interlocking commands; among them, the normal interlocking commands include switch normal and reverse positions, switch single locking and single unlocking, closing and unsealing, hand-operated switch, lighting on and off, button capping and uncapping, poor shunting, guiding total lock, allowing direction change, auxiliary direction change, and blocking.
[0138] Specifically, the system will use software to automatically simulate the execution process of common interlocking commands and simulate the user's manual click operation. These common interlocking commands include:
[0139] Turnout normal and reverse positions: Test whether the normal and reverse position operations of the turnout are normal.
[0140] Single lock and single release of turnout: Test whether the single lock and single release operations of the turnout are normal.
[0141] Blocking and unblocking: Test whether the blocking and unblocking operations of the section are normal.
[0142] Hand-operated turnout: Test whether the function of manually operating the turnout is normal.
[0143] Light on and off: Test whether the light-on and light-off operations of the signal are normal.
[0144] Button capping and decapping: Test whether the capping and decapping operations of the button are normal.
[0145] Poor shunting: Test whether the processing logic of the poor shunting section is normal.
[0146] Guide total lock: Test whether the execution of the guide total lock command is normal.
[0147] Allow direction change: Test whether the execution of the allow direction change command is normal.
[0148] Auxiliary direction change: Test whether the execution of the auxiliary direction change command is normal.
[0149] Blocking: Test whether the execution of the blocking command is normal.
[0150] The system will execute these commands one by one and automatically record the execution results of each command, including whether the command is executed successfully, the execution time, abnormal situations, etc.
[0151] After completing the tests of all common interlocking commands, the system will generate a test report, which details the execution results of each command. The test report will indicate which commands passed the test and which did not, and provide specific error messages and cause analyses for the failed test items.
[0152] When the interlocking command test module is used for abnormal interlocking automation testing, it is specifically used for:
[0153] Combining the target nodes in the original route unlocking process to obtain the target route unlocking process, realizing the editing of the route unlocking process; Simulating the execution of the target route unlocking process, and determining the test results of the abnormal interlocking automation test according to the execution results and expected results of the target route unlocking process.
[0154] Specifically, the system allows users to freely combine the target nodes in the original route unlocking process to generate a target route unlocking process. Users can arbitrarily edit the route unlocking process to be executed according to test requirements, including:
[0155] Normal route unlocking: Simulate the route unlocking process of a train under normal conditions.
[0156] Abnormal route unlocking: Simulate the route unlocking process of a train under abnormal conditions, such as route unlocking failure, equipment failure, etc.
[0157] Set fault: Set specific fault conditions in the route unlocking process to test the system's fault handling ability.
[0158] Add train: Add a virtual train in the route unlocking process to simulate the route unlocking logic when multiple trains are running.
[0159] The system supports creating corresponding route unlocking processes according to different interlocking terminal models to ensure the comprehensiveness and pertinence of testing.
[0160] After editing the target route unlocking process, the system will automatically simulate and execute the process, execute each step in the process in sequence, and record the execution results of each step. During the execution process, the system will simulate the train operation process, automatically record the occupancy and unlocking status of sections and the changes in equipment status.
[0161] The system will compare the execution results of the target route unlocking process with the expected results to determine whether the test passes. If the execution results are consistent with the expected results, the test passes; if not, the test fails. The system will record the execution results of each step and generate a detailed test report.
[0162] The test report will list in detail the execution results of each step, including: the execution status (pass or fail) of each step. If a step fails, the system will record the specific reason for the failure (such as abnormal equipment status, route unlocking failure, etc.). For failed items, the system will provide specific error information and cause analysis to help users quickly locate and solve problems.
[0163] Through automated testing means, the interlocking command test module greatly improves the test efficiency and accuracy, reduces manual intervention, and ensures the stability and safety of the railway signal system.
[0164] Example 2
[0165] See Figure 3 as shown in Figure 3The flowchart of a train receiving and dispatching automation test method provided in the second embodiment of the present invention is shown. Among them, it is applied to a train receiving and dispatching automation test system, and the system includes a station yard map generation module, a route table generation module, and a train receiving and dispatching test module. The method includes steps S301 to S303:
[0166] S301: Obtain station yard map data through the station yard map generation module, and generate a target station yard map based on the station yard map data;
[0167] S302: Obtain route table data through the route table generation module, and generate a target route table based on the target station yard map and the route table data;
[0168] S303: Perform train receiving and dispatching automation tests based on the target route table through the train receiving and dispatching test module to obtain an automation test result, and generate a train receiving and dispatching test report according to the automation test result.
[0169] In an optional implementation, as shown in Figure 4 shown, Figure 4 The flowchart of a target station yard map generation method provided in the second embodiment of the present invention is shown. Among them, generating the target station yard map based on the station yard map data includes steps S401 to S403:
[0170] S401: Parse the station yard map data to generate an intermediate file of the station yard map for visual operation;
[0171] S402: Respond to the user's editing operation on the intermediate file of the station yard map, and adjust the graphic style in the intermediate file of the station yard map according to the editing operation;
[0172] S403: Generate the target station yard map based on the adjusted intermediate file of the station yard map.
[0173] In an optional implementation, as shown in Figure 5 shown, Figure 5 The flowchart of a target route table generation method provided in the second embodiment of the present invention is shown. Among them, generating the target route table based on the target station yard map and the route table data includes steps S501 to S503:
[0174] S501: Adjust the format of the route table data;
[0175] S502: Parse the route table data after format adjustment to obtain route table description information;
[0176] S503: Match the route table description information with the device IDs in the target station yard map to generate the target route table.
[0177] In an alternative embodiment, refer to Figure 6 as shown in Figure 6 FIG. Figure 6 shows a flowchart of a method for generating an automated test result provided in the second embodiment of the present invention, where the automated test result includes an approach test result and a train operation test result; the obtaining of the automated test result through the reception and dispatch automated test based on the target approach table includes steps S601 to S604:
[0178] S601: Verify whether the approach opening is normal by using software interlocking logic according to the target approach table;
[0179] S602: Determine the verification result of whether the approach opening is normal as the approach test result;
[0180] S603: If the approach opening is normal, perform automatic train addition and train running tests according to the target approach table;
[0181] S604: Determine the test result of automatic train addition and train running as the train operation test result.
[0182] In an alternative embodiment, the method further includes:
[0183] If the approach opening is abnormal, adjust the target approach table through the reception and dispatch test module;
[0184] When the verification result of the approach opening verification according to the adjusted target approach table is that the approach opening is normal, perform automatic train addition and train running tests according to the adjusted target approach table through the reception and dispatch test module.
[0185] In an alternative embodiment, the system further includes an interlocking command test module; the method further includes:
[0186] Perform normal interlocking command tests and abnormal interlocking automated tests through the interlocking command test module;
[0187] Output the test result of the normal interlocking command test and the test result of the abnormal interlocking automated test through the interlocking command test module.
[0188] In an alternative embodiment, performing the normal interlocking command test includes:
[0189] Use software to automatically simulate and implement click tests for normal interlocking commands;
[0190] where the normal interlocking commands include turnout normal and reverse positions, turnout single locking and single unlocking, closing and unsealing, manual operation of turnouts, lighting on and off, button capping and uncapping, shunting in poor contact, guiding total locking, allowing direction change, auxiliary direction change, and blocking;
[0191] Perform abnormal interlocking automation testing, including:
[0192] Combine the target nodes in the original route unlocking process to obtain the target route unlocking process, and realize the editing of the route unlocking process;
[0193] Simulate the execution of the target route unlocking process, and determine the test result of the abnormal interlocking automation testing according to the execution result and the expected result of the target route unlocking process.
[0194] Embodiment III
[0195] Based on the same application concept, refer to Figure 7 as shown Figure 7 which shows the structural schematic diagram of a computer device provided in Embodiment III of the present invention. Among them, as Figure 7 shown, a computer device 700 provided in Embodiment III of the present application includes:
[0196] A processor 701, a memory 702, and a bus 703. The memory 702 stores machine-readable instructions executable by the processor 701. When the computer device 700 runs, communication is carried out between the processor 701 and the memory 702 through the bus 703. When the machine-readable instructions are run by the processor 701, the steps of the train receiving and dispatching automation testing method shown in the above Embodiment II are executed.
[0197] Embodiment IV
[0198] Based on the same application concept, the present application embodiment also provides a computer-readable storage medium. A computer program is stored on the computer-readable storage medium. When the computer program is run by a processor, the steps of the train receiving and dispatching automation testing method described in any one of the above embodiments are executed.
[0199] Those skilled in the art can clearly understand that for the convenience and conciseness of description, the specific working processes of the above-described systems and devices can refer to the corresponding processes in the foregoing method embodiments, and will not be elaborated herein.
[0200] The computer program product for performing train receiving and dispatching automation testing provided by the embodiments of the present invention includes a computer-readable storage medium storing program codes. The instructions included in the program codes can be used to execute the methods described in the foregoing method embodiments. For specific implementation, refer to the method embodiments, and will not be elaborated herein.
[0201] The train receiving and dispatching automation test system provided by the embodiments of the present invention can be specific hardware on the device, or software or firmware installed on the device, etc. For the system provided by the embodiments of the present invention, its implementation principle and the technical effects produced are the same as those of the foregoing method embodiments. For the sake of brief description, for the parts not mentioned in the system embodiments, reference can be made to the corresponding contents in the foregoing method embodiments. Those skilled in the art can clearly understand that for the convenience and simplicity of description, the specific working processes of the foregoing described system, device, and unit can all refer to the corresponding processes in the foregoing method embodiments, and will not be elaborated herein.
[0202] In the embodiments provided by the present invention, it should be understood that the disclosed system and method can be implemented in other ways. The system embodiments described above are only illustrative. For example, the division of the units is only a logical function division, and there can be other division methods in actual implementation. For another example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the displayed or discussed coupling or direct coupling or communication connection to each other can be through some communication interfaces, and the indirect coupling or communication connection of the device or unit can be in an electrical, mechanical or other form.
[0203] 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 can be located in one place, or can be distributed to multiple network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0204] In addition, each functional unit in the embodiments provided by the present invention can be integrated in a processing unit, or each unit can exist physically alone, or two or more units can be integrated in one unit.
[0205] If the function is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on such an understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or a part of this 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 for causing a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present invention. The foregoing storage medium includes: various media such as USB flash drives, mobile hard disks, read-only memories (ROM, Read-Only Memory), random access memories (RAM, Random Access Memory), magnetic disks, or optical discs that can store program codes.
[0206] It should be noted that like reference numerals and letters denote like items in the following figures, and thus, once an item is defined in one figure, further definition and explanation thereof is not required in subsequent figures. In addition, the terms "first", "second", "third", etc. are used only for descriptive distinction and should not be construed as indicating or implying relative importance.
[0207] Finally, it should be noted that the above-described embodiments are only specific embodiments of the present invention, which are used to illustrate the technical solutions of the present invention rather than to limit it. The protection scope of the present invention is not limited thereto. Although the present invention has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that any person skilled in the art within the technical scope disclosed by the present invention can still modify the technical solutions described in the foregoing embodiments or can easily conceive of changes, or make equivalent replacements for some of the technical features; and these modifications, changes 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 invention. All of them should be covered by the protection scope of the present invention. Therefore, the protection scope of the present invention should be subject to the protection scope of the claims.
Claims
1. An automated test system for train receiving and dispatching, characterized in that, The system includes a station yard diagram generation module, a route table generation module, and a train receiving and dispatching test module; The station yard diagram generation module is used to obtain station yard diagram data and generate a target station yard diagram based on the station yard diagram data; The route table generation module is used to obtain route table data and generate a target route table based on the target station yard diagram and the route table data; The train receiving and dispatching test module is used to perform automated train receiving and dispatching tests based on the target route table to obtain an automated test result, and generate a train receiving and dispatching test report according to the automated test result.
2. The system according to claim 1, wherein When the station yard diagram generation module is used to generate a target station yard diagram based on the station yard diagram data, it is specifically used for: Parsing the station yard diagram data to generate an intermediate file of the station yard diagram for visual operation; Responding to the user's editing operation on the intermediate file of the station yard diagram, and adjusting the graphic style in the intermediate file of the station yard diagram according to the editing operation; Generating the target station yard diagram based on the adjusted intermediate file of the station yard diagram.
3. The system according to claim 1, characterized in that, When the route table generation module is used to generate a target route table based on the target station yard diagram and the route table data, it is specifically used for: Adjusting the format of the route table data; Parsing the route table data with adjusted format to obtain route table description information; Matching the route table description information with the device IDs in the target station yard diagram to generate the target route table.
4. The system according to claim 1, characterized in that, The automated test result includes a route test result and a train operation test result; when the train receiving and dispatching test module is used to perform automated train receiving and dispatching tests based on the target route table to obtain an automated test result, it is specifically used for: Verifying whether the route opening is normal according to the target route table by using software interlocking logic; Determining the verification result of whether the route opening is normal as the route test result; If the route opening is normal, performing automatic train addition and train running tests according to the target route table; Determining the test result of automatic train addition and train running as the train operation test result.
5. The system according to claim 4, wherein The train receiving and dispatching test module is further used for: If the route opening is abnormal, adjusting the target route table; When the verification result of route opening verification based on the adjusted target route table is that the route opening is normal, performing automatic train addition and train running tests according to the adjusted target route table.
6. The system according to claim 1, wherein The system further includes an interlocking command test module; the interlocking command test module is used for: Performing common interlocking command tests and abnormal interlocking automated tests; Outputting the test results of the common interlocking command tests and the test results of the abnormal interlocking automated tests.
7. The system according to claim 6, wherein When the interlocking command test module is used to perform common interlocking command tests, it is specifically used for: Using software to automatically simulate and implement click tests of common interlocking commands; Among them, the common interlocking commands include normal and reverse positions of switches, single locking and single unlocking of switches, closing and unlocking, manual operation of switches, lighting on and off, button capping and uncapping, shunting in poor conditions, guiding total locking, allowing direction change, auxiliary direction change, and blocking; When the interlocking command test module is used to perform abnormal interlocking automated tests, it is specifically used for: Combining target nodes in the original route unlocking process to obtain a target route unlocking process, and realizing the editing of the route unlocking process; Simulate the execution of the target route unlocking process, and determine the test result of the abnormal interlocking automation test according to the execution result and the expected result of the target route unlocking process.
8. An automated test method for train receiving and dispatching, characterized in that, Applied to the train receiving and dispatching automation test system, the system includes a station yard diagram generation module, a route table generation module, and a train receiving and dispatching test module. The method includes: Obtain the station yard diagram data through the station yard diagram generation module, and generate a target station yard diagram based on the station yard diagram data; Obtain the route table data through the route table generation module, and generate a target route table based on the target station yard diagram and the route table data; Perform train receiving and dispatching automation tests based on the target route table through the train receiving and dispatching test module to obtain an automation test result, and generate a train receiving and dispatching test report according to the automation test result.
9. A computer device, characterized in that, Including: A processor, a memory, and a bus. The memory stores machine-readable instructions executable by the processor. When the computer device runs, the processor communicates with the memory through the bus. When the machine-readable instructions are executed by the processor, the steps of the train receiving and dispatching automation test method as claimed in claim 8 are executed.
10. A computer-readable storage medium, characterized in that, A computer program is stored on the computer-readable storage medium. When the computer program is run by the processor, the steps of the train receiving and dispatching automation test method as claimed in claim 8 are executed.