Computer automatic control test method based on interlocking route and interlocking function
Through the computer automatic control testing method based on the angle of interlocking route and interlocking function, the existing railway single-projection inspection problem is solved with a small range and low accuracy, and a comprehensive test of the railway computer interlocking system is realized, which improves the safety and reliability of the test.
Patent Information
- Application Number
- CN202211588875.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-12-08
- Publication Date
- 2025-06-06
- Estimated Expiration
- 2042-12-08
AI Technical Summary
The inspection and testing range of a single route of existing railways is small and has low accuracy, and it cannot fully cover the computer interlocking function points, resulting in unsafe fault tolerance.
The computer automatic control testing method based on the angle of the interlocking approach and interlocking function is adopted, and a single approach is inspected and tested through software, and the computer is used to realize the exhaustive testing of computer interlocking. The test method includes testing from the angle of the interlocking function point and the approach.
A comprehensive test of railway computer interlocking systems has been achieved, which improves the accuracy and coverage of the test, and ensures the safety and reliability of the test.
Smart Images

Figure CN115892147B_ABST
Abstract
Description
Technical Field
[0001] The invention relates to the technical field of track testing, and in particular to a computer automatic control testing method based on an interlocking route and an interlocking function. Background Art
[0002] The existing inspection test of a single railway route is to set the status of the signal, turnout, and section and send this status to the computer interlocking lower computer; according to the station diagram, interlocking table, "Technical Conditions for Computer Interlocking of Railway Stations" and other documents, the contents specified in the "General Speed Railway Interlocking Route Inspection Test Table" are manually tested and inspected. However, the inspection test of a single route requires a large amount of manual testing and repetitive work, and the scope of the exhaustive test is related to the experience of the tester. Moreover, it can only guarantee the accuracy of the test on a single route, and cannot guarantee that the scope of the exhaustive test is fully covered. When the tester conducts manual testing, he mainly tests the contents specified in the "General Speed Railway Interlocking Route Inspection Test Table", and does not fully test the computer interlocking function points. Fault tolerance omissions lead to unsafe factors. Summary of the invention
[0003] The present invention provides a computer automatic control test method based on interlocking routes and interlocking functions, which is used to solve the defects of small test range and low accuracy of existing single route inspection.
[0004] The present invention provides a computer automatic control test method based on interlocking route and interlocking function, comprising:
[0005] At the beginning of the test phase, HMI operation instructions are sent to the CBI configuration file, and the station status changes;
[0006] Change the status of relays, signals, sections and switches according to the changed station status;
[0007] Send HMI operation instructions to the CBI configuration file again, and the CBI station status changes;
[0008] Make sure that the IO point status of the CBI configuration file is consistent with the expected route status, and the test passes.
[0009] According to a computer automatic control test method based on interlocking routes and interlocking function angles provided by the present invention, the automatic control test method includes: testing from the perspective of interlocking function points and testing from the perspective of routes.
[0010] According to a computer automatic control test method based on interlocking route and interlocking function angle provided by the present invention, the test based on the interlocking function point angle includes:
[0011] Select the test path, select the interlocking function to be tested, and generate a test case;
[0012] Within the selected route range, test all function check points except those marked with triangles;
[0013] After the test is completed, the results are exported and a test result document of this test is output, which records the items that passed and failed the test.
[0014] According to a computer automatic control test method based on the interlocking route and interlocking function angle provided by the present invention, the test based on the route angle specifically includes:
[0015] Prepare a conventional railway interlocking route inspection test table without test results. If the table requires route numbers and route start buttons, alternate buttons, and terminal buttons, use triangles to mark unconditional test items in the test result area.
[0016] Select the route to be tested, select the interlocking function to be tested, and generate a test case;
[0017] Within the selected route range, test all function check points except those marked with triangles;
[0018] After the test is completed, the test result document of this test is exported, and the test result document warns the test pass items and test fail items.
[0019] According to a computer automatic control test method based on interlocking route and interlocking function provided by the present invention, the HMI operation instruction is sent to the CBI configuration file in the start test phase, and the station status changes, specifically including:
[0020] The data configuration tool will be used to generate the configuration file STP_CBI_DATA.xml for the software and put the file into the CBIconfig folder;
[0021] Run the software and read the route information, including the route number, route start button, route end button, workaround button, and IO information.
[0022] According to a computer automatic control test method based on the interlocking route and interlocking function perspective provided by the present invention, the computer automatic control test method further includes:
[0023] If the IO point status of the CBI configuration file is inconsistent with the expected route status, the test fails.
[0024] The present invention also provides a computer automatic control test system based on the interlocking route and interlocking function perspective, comprising:
[0025] The instruction sending module is used to send HMI operation instructions to the CBI configuration file at the beginning of the test phase, and the station status changes;
[0026] The state change module is used to change the state of relays, signals, sections and switches according to the changed station state;
[0027] The command resending module is used to resend the HMI operation command to the CBI configuration file, and the CBI station status changes;
[0028] The result judgment module is used to determine if the IO point status of the CBI configuration file is consistent with the expected route status, and the test passes.
[0029] The present invention also provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, the computer automatic control test method based on the interlocking route and interlocking function angle as described in any one of the above is implemented.
[0030] The present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, the computer automatic control test method based on the interlocking route and interlocking function angle as described in any one of the above is implemented.
[0031] The present invention also provides a computer program product, including a computer program, which, when executed by a processor, implements any of the above-mentioned computer automatic control test methods based on the interlocking route and interlocking function angles.
[0032] The present invention provides a computer automatic control test method based on the interlocking route and interlocking function perspectives. By using software to perform inspection tests on a single route, the method can rely on a computer to achieve exhaustive testing of computer interlocking. Not only is the content specified in the "Conventional Railway Interlocking Route Inspection Test Table" tested from the perspective of the route, but the content specified in the "TB / T 3537-2018 Railway Station Computer Interlocking Test Specification" is also tested from the perspective of the interlocking function. BRIEF DESCRIPTION OF THE DRAWINGS
[0033] In order to more clearly illustrate the technical solutions in the present invention or the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. 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.
[0034] Figure 1 It is a flow chart of a computer automatic control test method based on the interlocking route and interlocking function provided by the present invention;
[0035] Figure 2 It is a schematic diagram of the software provided by the present invention being connected to a computer interlocking system;
[0036] Figure 3 It is a flow chart of testing operation with interlocking function points provided by the present invention;
[0037] Figure 4 It is a flow chart of the test operation from the perspective of the approach provided by the present invention;
[0038] Figure 5 It is a structural schematic diagram of the electronic device provided by the present invention.
[0039] Reference numerals:
[0040] 510: processor; 520: communication interface; 530: memory; 540: communication bus. DETAILED DESCRIPTION
[0041] In order to make the purpose, technical solution and advantages of the present invention clearer, the technical solution of the present invention will be clearly and completely described below in conjunction with the drawings 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.
[0042] Combine the following Figure 1 and Figure 2 , describes a computer automatic control test method based on the interlocking route and interlocking function of the present invention, including:
[0043] At the beginning of the test phase, HMI operation instructions are sent to the CBI configuration file, and the station status changes;
[0044] Change the status of relays, signals, sections and switches according to the changed station status;
[0045] Send HMI operation instructions to the CBI configuration file again, and the CBI station status changes;
[0046] Make sure that the IO point status of the CBI configuration file is consistent with the expected route status, and the test passes.
[0047] In the laboratory environment, the computer interlocking system for engineering applications consists of only CBI, HMI, simulation IO, and microcomputer monitoring software. To ensure safety, HMI will not open connection ports to software other than this system. Therefore, this software is used to directly send HMI operation commands to CBI (instead of HMI issuing operation commands) to realize the operation of the station. During the test, according to the specific test items, it is determined whether the IO points, signals, switches, section status, and station status of the CBI configuration file need to be changed. If necessary, make corresponding changes.
[0048] The automatic control test method includes: testing from the perspective of interlocking function points and testing from the perspective of access routes. Only one test mode is selected each time the test is performed.
[0049] refer to Figure 3 , test from the perspective of interlocking function points. Select one or more routes to be tested this time, and then select the functional inspection items specified in the "TB / T 3537-2018 Railway Station Computer Interlocking Test Specification" for testing. After the test is completed, the corresponding test result report is output. The specific steps are as follows:
[0050] Select the approach to be tested;
[0051] Click the "Function Selection" button to select the interlocking function to be tested;
[0052] Click the "Generate Use Case" button;
[0053] Press the "Execute Test" button. This program tests all function check points except those marked with triangles within the selected route range.
[0054] After the test is completed, click "Export Test Results". The test result document (Excel document) of this test is output. This document records the items that passed and failed the test.
[0055] refer to Figure 4 , test from the perspective of route: according to the imported "Conventional Railway Interlocking Route Inspection Test Form" file, test one or more functional points required in the "Conventional Railway Interlocking Route Inspection Test Form" for the selected route or routes.
[0056] After the test is completed, the corresponding test result report is output. The specific steps are as follows:
[0057] Prepare a "Conventional Railway Interlocking Route Inspection Test Form" without test results. This form requires route numbers and route start buttons, alternate buttons, and terminal buttons. For test items that do not have conditions, use a triangle "△" to mark them in the test result area. Import this "Conventional Railway Interlocking Route Inspection Test Form";
[0058] Select the approach to be tested;
[0059] Click "Function Selection" and select the interlocking function to be tested;
[0060] Click the "Generate Use Case" button;
[0061] Press the "Execute Test" button. This program tests all function check points except those marked with triangles within the selected route range.
[0062] After the test is completed, click "Export Interlock Test Checklist Test Results" to output the test result document (Excel document) of this test, which records the items that passed and failed the test.
[0063] Regardless of the test method, each test is carried out item by item in accordance with the test items of "TB / T 3537-2018 Railway Station Computer Interlocking Test Specification".
[0064] The test is conducted from the perspective of interlocking function points, and each test function point is directly tested according to each test function item. The output test result records the test results of each test item.
[0065] Conduct the test from the perspective of the route, and decompose the test items listed in the "General Speed Railway Interlocking Route Inspection Test Table". And correspond one-to-one and one-to-many according to the test items of the "TB / T 3537-2018 Railway Station Computer Interlocking Test Specification". Then test according to the "interlocking function point" mode in this route. After the test, perform a "logical AND" operation on the test results of each small function point and use it as the test result of the test item. "Logical AND" operation: If all the tests of the small function points pass, the test item is considered to have passed; as long as any of the tests of the small function points pass, the test item is considered to have failed.
[0066] For scenarios that require multiple function point tests, in order not to affect the next function point test, after completing the test of the previous function point, this software will send commands to CBI in sequence to restore the station status (the commands include: clearing occupied sections, general personnel unlocking established routes, and issuing zone fault unlocking commands for sections with remaining white light bands).
[0067] For test items that fail the test, click the "Retest" button to retest. Manually create a route on the HMI interface and use the route as the observation route (route 1). Use this software to test unrelated trains and shunting routes (route 2, route 3... route n). During the test, manually observe the status of route 1 on the HMI interface.
[0068] At the beginning of the test phase, HMI operation instructions are issued to the CBI configuration file, and the station status changes, including:
[0069] The data configuration tool will be used to generate the configuration file STP_CBI_DATA.xml for the software and put the file into the CBIconfig folder;
[0070] Run the software and read the route information, including the route number, route start button, route end button, workaround button, and IO information.
[0071] The computer automatic control test method further comprises:
[0072] If the IO point status of the CBI configuration file is inconsistent with the expected route status, the test fails.
[0073] The present invention also discloses a computer automatic control test system based on the interlocking route and interlocking function, which is characterized by comprising:
[0074] The instruction sending module is used to send HMI operation instructions to the CBI configuration file at the beginning of the test phase, and the station status changes;
[0075] The state change module is used to change the state of relays, signals, sections and switches according to the changed station state;
[0076] The command resending module is used to resend the HMI operation command to the CBI configuration file, and the CBI station status changes;
[0077] The result judgment module is used to determine if the IO point status of the CBI configuration file is consistent with the expected route status, and the test passes.
[0078] The present invention provides a computer automatic control test system based on the interlocking route and interlocking function perspectives. By using software to perform inspection tests on a single route, the system can rely on a computer to implement exhaustive testing of computer interlocking. Not only is the content specified in the "Conventional Railway Interlocking Route Inspection Test Table" tested from the perspective of the route, but the content specified in the "TB / T 3537-2018 Railway Station Computer Interlocking Test Specification" is also tested from the perspective of the interlocking function.
[0079] Figure 5 An example of a physical structure diagram of an electronic device is shown in FIG. Figure 5As shown, the electronic device may include: a processor 510, a communications interface 520, a memory 530 and a communications bus 540, wherein the processor 510, the communications interface 520 and the memory 530 communicate with each other via the communications bus 540. The processor 510 may call the logic instructions in the memory 530 to execute a computer automatic control test method based on the interlocking approach and interlocking function perspectives, the method comprising: issuing HMI operation instructions to the CBI configuration file at the start of the test phase, and the station field status changes;
[0080] Change the status of relays, signals, sections and switches according to the changed station status;
[0081] Send HMI operation instructions to the CBI configuration file again, and the CBI station status changes;
[0082] Make sure that the IO point status of the CBI configuration file is consistent with the expected route status, and the test passes.
[0083] In addition, the logic instructions in the above-mentioned memory 530 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 can be essentially or partly embodied in the form of a software product that contributes to the prior art. 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, etc. Various media that can store program codes.
[0084] On the other hand, the present invention further provides a computer program product, the computer program product includes a computer program, the computer program can be stored on a non-transitory computer-readable storage medium, when the computer program is executed by a processor, the computer can execute a computer automatic control test method based on the interlocking route and interlocking function perspective provided by the above methods, the method comprising: issuing an HMI operation instruction to a CBI configuration file at the start of the test phase, and the station field status changes;
[0085] Change the status of relays, signals, sections and switches according to the changed station status;
[0086] Send HMI operation instructions to the CBI configuration file again, and the CBI station status changes;
[0087] Make sure that the IO point status of the CBI configuration file is consistent with the expected route status, and the test passes.
[0088] In another aspect, the present invention further provides a non-transitory computer-readable storage medium having a computer program stored thereon, which is implemented when executed by a processor to perform a computer automatic control test method based on the interlocking approach and interlocking function perspective provided by the above methods, the method comprising: issuing an HMI operation instruction to a CBI configuration file at the start of the test phase, and the station field status changes;
[0089] Change the status of relays, signals, sections and switches according to the changed station status;
[0090] Send HMI operation instructions to the CBI configuration file again, and the CBI station status changes;
[0091] Make sure that the IO point status of the CBI configuration file is consistent with the expected route status, and the test passes.
[0092] 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.
[0093] 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.
[0094] 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 computer automatic control test method based on interlocking route and interlocking function. It is characterized in that include: At the beginning of the test phase, HMI operation instructions are sent to the CBI configuration file, and the station status changes; Change the status of relays, signals, sections and switches according to the changed station status; Send HMI operation instructions to the CBI configuration file again, and the CBI station status changes; Make sure that the IO point status of the CBI configuration file is consistent with the expected route status, and the test passes.
2. The computer automatic control test method based on the interlocking route and interlocking function according to claim 1, It is characterized in that The automatic control test method includes: testing from the perspective of interlocking function points and testing from the perspective of routes.
3. The computer automatic control test method based on the interlocking route and interlocking function according to claim 2, It is characterized in that The testing from the perspective of interlocking function points includes: Select the test path, select the interlocking function to be tested, and generate a test case; Within the selected route range, test all function check points except those marked with triangles; After the test is completed, the results are exported and a test result document of this test is output, which records the items that passed and failed the test.
4. The computer automatic control test method based on the interlocking route and interlocking function according to claim 2, It is characterized in that The test from the perspective of the approach specifically includes: Prepare a conventional railway interlocking route inspection test table without test results. If the table requires route numbers and route start buttons, alternate buttons, and terminal buttons, use triangles to mark unconditional test items in the test result area. Select the route to be tested, select the interlocking function to be tested, and generate a test case; After the test is completed, the test result document of this test is exported, and the test result document warns the test pass items and test fail items.
5. The computer automatic control test method based on the interlocking route and interlocking function according to claim 1, It is characterized in that The test start phase sends HMI operation instructions to the CBI configuration file, and the station status changes, including: The data configuration tool will be used to generate the configuration file STP_CBI_DATA.xml for the software and put the file into the CBIconfig folder; Run the software and read the route information, including the route number, route start button, route end button, workaround button, and IO information.
6. The computer automatic control test method based on the interlocking route and interlocking function according to claim 5, It is characterized in that The computer automatic control test method further comprises: If the IO point status of the CBI configuration file is inconsistent with the expected route status, the test fails.
7. A computer automatic control test system based on interlocking route and interlocking function. It is characterized in that include: The instruction sending module is used to send HMI operation instructions to the CBI configuration file at the beginning of the test phase, and the station status changes; The state change module is used to change the state of relays, signals, sections and switches according to the changed station state; The command resending module is used to resend the HMI operation command to the CBI configuration file, and the CBI station status changes; The result judgment module is used to determine if the IO point status of the CBI configuration file is consistent with the expected route status, and the test passes.
8. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, It is characterized in that When the processor executes the program, the computer automatic control test method based on the interlocking route and interlocking function angle as described in any one of claims 1 to 6 is implemented.
9. A non-transitory computer-readable storage medium having a computer program stored thereon, It is characterized in that When the computer program is executed by a processor, the computer automatic control test method based on the interlocking route and interlocking function angle as described in any one of claims 1 to 6 is implemented.
10. A computer program product comprising a computer program, It is characterized in that When the computer program is executed by a processor, the computer automatic control test method based on the interlocking route and interlocking function angle as described in any one of claims 1 to 6 is implemented.
Citation Information
Patent Citations
Automatic testing method for computer interlocking system
CN112765020A
Computer-based interlocking system and redundancy switching method thereof
WO2019080477A1