Synchronous test system and method of train network control system

By inserting synchronization identifiers and default synchronization points into the test cases of the train network control system and using the synchronization management module to coordinate multiple test controllers, the problem of unstable test timing was solved, and the synchronous execution of equipment and the accuracy and efficiency of test results were improved.

CN120669608APending Publication Date: 2025-09-19CRRC QINGDAO SIFANG ROLLING STOCK RESEARCH INSTITUTE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510874796.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-06-27
Publication Date
2025-09-19

AI Technical Summary

Technical Problem

The train network control system experienced timing instability during testing, leading to test failure.

Method used

By inserting synchronization identifiers and default synchronization points in the test cases, the synchronization management module is used to coordinate the execution of multiple test controllers to ensure that all devices operate in a timely and coordinated manner during the test process.

Benefits of technology

It achieves the synchronous execution of each device during the test process, improves the accuracy and reliability of the test results, avoids misjudgment caused by timing confusion, and improves test efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120669608A_ABST
    Figure CN120669608A_ABST
Patent Text Reader

Abstract

The invention relates to a synchronous test system and method for a train network control system, and the system is connected with a tested device, and comprises a test terminal which is configured to generate and issue a test case, the test case comprises operation steps, and a synchronous identifier is inserted between the operation steps; the test controller is connected with the test terminal and the tested equipment and is configured to receive the test case, sequentially execute the operation steps and the synchronization identifier in the test case, interact with the tested equipment when executing the operation steps, and suspend execution of the operation steps and simultaneously send out a synchronization point signal when executing the synchronization identifier; wherein the test terminal is internally provided with a synchronous management module and is configured to send an execution continuing instruction to the plurality of test controllers after receiving the synchronous point signal, and the test controllers continue to execute the operation steps in the test case after receiving the execution continuing instruction. According to the invention, the test controller can interact with the tested device according to the time sequence, and the test success rate is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of rail transportation, and in particular to a synchronous testing system and method for a train network control system. Background Art

[0002] The train network control system (TNCS) connects to various controllers on the train, sending and receiving data through communication protocols to control train operations. The proper operation of the TNCS impacts the normal operation of the train.

[0003] In order to test the train network control system, terminals and test controllers are usually used to communicate with the device under test, send requests and receive feedback data to test whether the device under test is operating normally.

[0004] The train network control system has high requirements for the timing of signal transmission and reception. However, during the test process, due to factors in the test controller's own operation, it is difficult to ensure that the timing of the interaction between the test controller and the device under test meets the timing requirements, and the timing stability of the test process is poor. Summary of the Invention

[0005] The embodiments of the present application provide a synchronous testing system and method for a train network control system to at least solve the problem of unstable timing when testing a train network control system in the related art.

[0006] In a first aspect, an embodiment of the present application provides a synchronous test system for a train network control system, connected to a device under test, including: The test terminal is configured to generate and issue a test case, wherein the test case includes operation steps, and synchronization markers are inserted between the operation steps; A test controller, connected to the test terminal and the device under test, is configured to receive a test case, sequentially execute the operation steps and synchronization markers in the test case, and interact with the device under test when executing the operation steps; when executing the synchronization marker, the test controller pauses the execution of the operation steps and simultaneously issues a synchronization point signal; Among them, the test terminal has a built-in synchronization management module, which is connected to multiple test controllers and is configured to send a continue execution instruction to multiple test controllers after receiving a synchronization point signal. After receiving the continue execution instruction, the test controller continues to execute the operation steps in the test case.

[0007] In some embodiments, the system includes multiple test controllers, the test terminal is connected to the multiple test controllers, and is further configured to obtain the number of test controllers and send the number of test controllers to the synchronization management module; when the multiple test controllers are executing test cases, when any test controller executes to the synchronization identifier, it sends a synchronization point signal to the synchronization management module; the synchronization management module is connected to the multiple test controllers, and is further configured to accumulate the number of received synchronization point signals, determine whether the number of received synchronization point signals is equal to the number of test controllers, and if they are equal, send continue execution instructions to the multiple test controllers respectively.

[0008] In some embodiments, the synchronization management module is further configured to accumulate the number of synchronization point signals received starting from the receipt of the synchronization point signal, and restart accumulating the number of synchronization point signals after the number of synchronization point signals received is equal to the number of test controllers.

[0009] In some embodiments, multiple test controllers respectively receive test cases from the test terminal, and the number of synchronization identifiers in the test cases received by each test controller is equal.

[0010] In some embodiments, a life signal is cyclically transmitted between the synchronization management module and the test controller. The life signal is used to determine whether the synchronization management module and the test controller are connected. The synchronization management module is further configured to determine whether the life signal from the test controller changes within a time threshold. If not, the test controller is faulty and the faulty test controller is ignored.

[0011] In some embodiments, the test controller is further configured to determine whether the life signal from the synchronization management module changes within a time threshold. If not, during the execution of the test case, the synchronization mark is skipped and the operation steps in the test case are executed sequentially.

[0012] In a second aspect, an embodiment of the present application provides a synchronous testing method for a train network control system, which is used to interact with a device under test, including: Test case generation step: Generate and issue test cases. Test cases include operation steps, and synchronization markers are inserted between operation steps. The test case execution steps execute the operation steps and synchronization identifiers in the test case in sequence, and interact with the device under test when executing the operation steps; when executing to the synchronization identifier, the operation steps are paused and a synchronization point signal is generated at the same time; a continue execution instruction is generated according to the synchronization point signal, and according to the continue execution instruction, the operation steps in the test case are continued to be executed.

[0013] In some embodiments, the test case execution step further includes: Get the number of test cases issued and the number of synchronization point signals; Determine whether the number of test cases issued is equal to the number of synchronization point signals. If they are equal, generate a continue execution instruction.

[0014] In some embodiments, the test case execution step further includes: Starting from the received synchronization point signal, the number of received synchronization point signals is accumulated. When the number of received synchronization point signals is equal to the number of test cases issued, the number of synchronization point signals is accumulated again.

[0015] In some embodiments, the test case execution step further includes: The judgment step obtains the life signal and judges whether the life signal changes within the time threshold. If not, during the execution of the test case, the synchronization mark is skipped and the operation steps in the test case are continued.

[0016] Compared with related technologies, the synchronous testing system and method of the train network control system provided in the embodiment of the present application solves the problem of unstable timing when testing the train network control system by setting a synchronization flag and controlling the timing of the interaction between the test controller and the device under test. It realizes the coordinated operation of various devices during the test process and runs according to the timing, thereby improving the test efficiency.

[0017] The details of one or more embodiments of the present application are set forth in the following drawings and description to make other features, objects, and advantages of the present application more readily apparent. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] The drawings described herein are used to provide a further understanding of the present application and constitute a part of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings: Figure 1 It is a test structure diagram based on relevant technology; Figure 2 It is a test flow chart based on relevant technologies; Figure 3 is a structural block diagram of a synchronous test system for a train network control system according to an embodiment of the present application; Figure 4 is a schematic diagram of a synchronization identifier in a synchronization test system of a train network control system according to an embodiment of the present application; Figure 5 is a structural block diagram of a synchronous test system for a train network control system according to an embodiment of the present application; Figure 6 1 is a schematic diagram of the interaction between the synchronization management module and the test controller in the synchronization test system of the train network control system according to an embodiment of the present application; Figure 7 It is a flowchart of a synchronous testing method of a train network control system according to an embodiment of the present application.

[0019] Description of reference numerals: 101. Test terminal; 102. Test controller; 103. Synchronization management module; 104. Device under test. DETAILED DESCRIPTION

[0020] In order to make the purpose, technical solutions and advantages of this application more clearly understood, the present application is described and illustrated below in conjunction with the accompanying drawings and examples. It should be understood that the specific embodiments described herein are merely used to explain this application and are not intended to limit this application. Based on the embodiments provided in this application, all other embodiments obtained by those of ordinary skill in the art without making any creative efforts are within the scope of protection of this application.

[0021] Obviously, the drawings described below are merely examples or embodiments of the present application. Those skilled in the art can, without inventive effort, apply the present application to other similar scenarios based on these drawings. Furthermore, it is also understood that, although the effort involved in such a development process may be complex and lengthy, for those skilled in the art related to the content disclosed in this application, changes in design, manufacturing, or production based on the technical content disclosed in this application are merely conventional technical means and should not be construed as an insufficiency of the content disclosed in this application.

[0022] References to "embodiments" in this application mean that a particular feature, structure, or characteristic described in connection with the embodiment may be included in at least one embodiment of the application. The appearance of this phrase in various places in the specification does not necessarily refer to the same embodiment, nor does it refer to independent or alternative embodiments that are mutually exclusive of other embodiments. It is understood, both explicitly and implicitly, by those skilled in the art that the embodiments described in this application may be combined with other embodiments unless there is a conflict.

[0023] Unless otherwise defined, technical or scientific terms used herein shall have the ordinary meaning as understood by persons of ordinary skill in the art to which this application belongs. The terms "a," "an," "an," "the," and similar expressions used herein do not denote quantitative limitations and may refer to either the singular or the plural. The terms "comprise," "include," "have," and any variations thereof, used herein, are intended to cover non-exclusive inclusions. For example, a process, method, system, product, or apparatus comprising a series of steps or modules (units) is not limited to the listed steps or units but may also include steps or units not listed, or may include other steps or units inherent to the process, method, product, or apparatus. The terms "connected," "connected," "coupled," and similar expressions used herein are not limited to physical or mechanical connections but may include electrical connections, whether direct or indirect. As used herein, "plurality" means two or more. "And / or" describes an association between associated objects, indicating that three possible relationships exist. For example, "A and / or B" may mean: A exists alone; A and B exist simultaneously; or B exists alone. The character " / " generally indicates that the objects before and after are in an "or" relationship. The terms "first", "second", "third", etc. involved in this application are only used to distinguish similar objects and do not represent a specific order for the objects.

[0024] The train network control system connects the various subsystem controllers on the train to communicate, sends and receives data through communication protocols to control the operation of the train.

[0025] The communication protocols include MVB protocol, TRDP protocol, RS485 protocol, CAN protocol and WTB protocol IO signal, and mixed communication is achieved through one or more communication protocols.

[0026] Usually when testing train network control systems, such as Figure 1 As shown, the existing test process uses a test terminal, a test controller, and a device under test. The test terminal communicates with the test controller, and the test controller communicates with the device under test. The test terminal sends test cases to multiple test controllers, and the test controllers process the test cases, convert them into various communication protocols, and communicate with the device under test. The test controller receives and organizes the calculation results of the device under test and then feeds them back to the test terminal. Figure 2 As shown, the existing test process includes: after receiving the test case, multiple controllers start to execute the operation steps, wait after the execution is completed, then receive the feedback results of the tested device, analyze the feedback results, and finally output the test conclusion.

[0027] During the train network control system testing process, typical test cases are as follows:

[0028] During testing, signals such as InA, InB, InC, InD, and InE may be generated by one or more test controllers and sent to the DUT via various communication interfaces. Simultaneously, the test controllers must collect various communication interface signals, such as OutA, OutB, and OutC, fed back by the DUT. Therefore, executing each test case requires the coordinated efforts of multiple test controllers.

[0029] Because the generation and reception of each test signal in the test case have strict timing requirements, but different test controllers have different hardware composition, operating system environment, application software design, etc., when executing the same test case, some run fast and some run slow, resulting in the timing of the test signal reaching the device under test being inconsistent with expectations and unstable, resulting in frequent test failures.

[0030] In order to solve the above problems, the present application proposes a synchronous testing system and method for a train network control system, so that during the testing process, various devices can operate in coordination according to the correct timing.

[0031] This embodiment provides a synchronous testing system for a train network control system. As used below, terms such as "module," "unit," and "subunit" may refer to a combination of software and / or hardware that implements a predetermined function. Although the devices described in the following embodiments are preferably implemented in software, implementation using hardware, or a combination of software and hardware, is also possible and contemplated.

[0032] Figure 3 is a structural block diagram of a synchronous test system for a train network control system according to an embodiment of the present application, such as Figure 3 As shown, the system is connected to a device under test 104 and includes a test terminal 101 and a test controller 102 . The test terminal 101 has a built-in synchronization management module 103 .

[0033] The test terminal 101 is configured to generate and issue a test case, wherein the test case includes operation steps, and synchronization identifiers are inserted between the operation steps.

[0034] The synchronization identifier includes the synchronization keyword and the default synchronization point.

[0035] The synchronize keyword is used to add synchronization points between operation steps or expected outputs.

[0036] For example: test variable InA = XX; SYN; test variable InB = XX; delay 1000 ms; SYN; test variable InC = XX; SYN; delay 500 ms; test variable InD = XX; delay 3000 ms; SYN; test variable InE = XX.

[0037] Among them, SYN is the synchronization keyword.

[0038] The synchronization keyword can be inserted at any point in a test case. Leveraging the tester's experience, you can add synchronization markers wherever they deem necessary. Once the test reaches that point, the synchronization operation is triggered, ensuring that each step is executed according to the tester's predetermined sequence.

[0039] A default synchronization point can be set before receiving the test result feedback, that is, before starting to read the results, to force each test controller 102 to synchronize. The default synchronization point does not need to be explicitly written in the test case. The default synchronization point will be forced to perform synchronization operations at this point during test execution. Ensure that all executing devices have completed the execution and waiting of the mandatory steps.

[0040] like Figure 4 As shown in the figure, light-colored triangles represent synchronization keywords, and black triangles represent default synchronization points. One or more synchronization keywords are set between operation steps executed by multiple controllers. A default synchronization point is set after a wait step. Synchronization keywords are set during the process of multiple controllers receiving feedback from the device under test 104. Finally, a test conclusion is output.

[0041] Test controller 102, connected to test terminal 101 and device under test 104, is configured to receive test cases, sequentially execute the operation steps and synchronization markers in the test cases, and interact with device under test 104 while executing the operation steps. When a synchronization marker is reached, test controller 102 pauses execution of the operation steps and simultaneously sends a synchronization point signal to synchronization management module 103.

[0042] The test terminal 101 has a built-in synchronization management module 103, which is connected to multiple test controllers 102 and is configured to send a continue execution instruction to the multiple test controllers 102 after receiving the synchronization point signal. After receiving the continue execution instruction, the test controller 102 continues to execute the operation steps in the test case.

[0043] In actual applications, a test bench is configured with multiple test controllers 102. When executing each test case, not all test controllers 102 are necessarily required to participate. The number of test controllers 102 that need to be synchronized for this test should be calculated based on the number of test controllers 102 involved in the operation and signal reception in this test case.

[0044] Since a test process involves multiple test cases, before each test case is executed, the test terminal 101 needs to calculate the number of test controllers 102 that need to be synchronized for this test according to the types of signals in the test case.

[0045] The test terminal 101 generates and distributes a test case containing operation steps and a synchronization flag. Upon receiving the test case, the test controller 102 sequentially executes the operation steps to interact with the device under test 104. Execution pauses when the synchronization flag is reached and sends a synchronization point signal to the synchronization management module 103. Upon receiving the signal, the synchronization management module 103 returns a continue instruction, and the test controller 102 continues executing the test case.

[0046] Through the collaborative work of the test terminal 101, the test controller 102 and the synchronization management module 103, precise control and synchronization of the test case execution process are achieved, ensuring that the test process is carried out in a predetermined order and rhythm, improving the accuracy and reliability of the test results, avoiding misjudgments caused by confusion in the test steps, and providing an orderly execution mechanism for the test of the train network control system.

[0047] In some embodiments, such as Figure 5 As shown, the synchronous test system of the train network control system includes multiple test controllers 102, and the test terminal 101 is connected to the multiple test controllers 102, and is further configured to obtain the number of the test controllers 102 and send the number of the test controllers 102 to the synchronization management module 103. Figure 6 As shown, when multiple test controllers 102 execute test cases, any test controller 102 that reaches a synchronization marker sends a synchronization point signal to the synchronization management module 103. The synchronization management module 103 is connected to the multiple test controllers 102 and is further configured to accumulate the number of received synchronization point signals, determine whether the number of received synchronization point signals is equal to the number of test controllers 102, and if so, send a continue execution instruction to each of the multiple test controllers 102.

[0048] The system has multiple test controllers 102. The test terminal 101 obtains their number and notifies the synchronization management module 103. When each test controller 102 encounters a synchronization marker while executing a test case, it sends a synchronization point signal to the synchronization management module 103. The synchronization management module 103 accumulates the number of signals. When the number of received signals equals the number of test controllers 102, it sends a continue execution instruction to all test controllers 102, achieving synchronized execution of multiple test controllers 102.

[0049] Support for simultaneous testing of multiple test controllers 102 allows for simultaneous testing of multiple components of the train network control system, significantly improving test efficiency and enabling the simulation of more complex test scenarios. A unified synchronization mechanism ensures consistent execution of test cases across multiple test controllers 102, preventing inconsistent execution progress across controllers from impacting test results and enhancing the practicality and comprehensiveness of the test system.

[0050] In some embodiments, the synchronization management module 103 is further configured to accumulate the number of synchronization point signals received starting from the receipt of the synchronization point signal, and restart accumulating the number of synchronization point signals after the number of synchronization point signals received is equal to the number of test controllers 102.

[0051] The synchronization management module 103 starts counting from receiving the first synchronization point signal. When the count value is equal to the number of test controllers 102 required for this test case, it restarts counting and continuously monitors subsequent synchronization point signals for the next round of synchronization judgment.

[0052] This counting method enables the synchronization management module 103 to continuously and cyclically monitor the synchronization status of multiple test controllers 102, adapt to multiple synchronization requirements, and ensure that during the entire test process, no matter how many synchronization operations are performed, it can accurately determine whether each test controller 102 has reached a synchronized state, thereby improving the stability and reliability of the system and ensuring the continuity and effectiveness of the test process.

[0053] In some embodiments, multiple test controllers 102 respectively receive test cases from the test terminal 101 , and the number of synchronization identifiers in the test cases received by each test controller 102 is equal.

[0054] Multiple test controllers 102 receive test cases sent by the test terminal 101, and each test case has the same number of synchronization identifiers. In this way, during execution, each test controller 102 has synchronization requirements at the same rhythm point, which facilitates unified synchronization control by the synchronization management module 103.

[0055] This ensures consistency in synchronization timing among multiple test controllers 102 when executing test cases, enabling the synchronization management module 103 to perform synchronization judgment and control more accurately, avoiding synchronization confusion caused by different numbers of synchronization identifiers, and further improving the accuracy and stability of synchronization testing of multiple test controllers 102, ensuring that the test results can truly reflect the performance of the train network control system.

[0056] In some embodiments, a life signal is cyclically transmitted between the synchronization management module 103 and the test controller 102. The life signal is used to determine whether the synchronization management module 103 and the test controller 102 are connected. The synchronization management module 103 is further configured to determine whether the life signal from the test controller 102 changes within a time threshold. If not, the test controller 102 is faulty and the faulty test controller 102 is ignored.

[0057] Synchronization management module 103 and test controller 102 cyclically transmit vital signals to detect connectivity between them. Synchronization management module 103 determines whether the vital signal from test controller 102 changes within a time threshold. If it does not, test controller 102 is deemed faulty and is ignored in subsequent synchronization operations.

[0058] This vital signal detection mechanism promptly detects connection failures between the test controller 102 and the synchronization management module 103, or even failures within the controller itself, preventing the faulty controller from impacting the synchronization and normal operation of the overall test process. By ignoring the faulty controller, the system can continue to perform synchronization tests on other functioning controllers, ensuring test continuity. This improves the system's fault tolerance and reliability, and reduces the risk of a single point of failure paralyzing the entire test system.

[0059] In some embodiments, the test controller 102 is further configured to determine whether the life signal from the synchronization management module 103 changes within a time threshold. If not, during the execution of the test case, the synchronization mark is skipped and the operation steps in the test case are executed sequentially.

[0060] Test controller 102 determines whether the life signal from synchronization management module 103 changes within a time threshold. If it does not change, it indicates that there may be a problem with the connection to synchronization management module 103. In this case, test controller 102 skips the synchronization flag during test case execution and directly executes the operation steps in sequence to ensure basic execution of the test case.

[0061] When the synchronization management module 103 fails or the connection is abnormal, the test controller 102 can autonomously adjust the execution strategy, skip the synchronization operations that depend on the synchronization management module 103, and continue to execute the core operation steps of the test case, ensuring that the test work will not be completely interrupted. To a certain extent, it guarantees the acquisition of test data, improves the flexibility and anti-interference ability of the system, and enables the test system to still play a certain role in the event of partial component failure.

[0062] During actual application, the test terminal 101 sends the test cases used in this test to the test controller 102 used in this test, and sends the number of test controllers 102 used to the synchronization management module 103 .

[0063] The multiple test controllers 102 start executing the test cases received by each of them and when the execution reaches the synchronization mark, the execution is suspended and a synchronization point signal is sent to the synchronization management module 103 .

[0064] The synchronization management module 103 receives synchronization point signals from each test controller 102 , counts the number of synchronization signals received, and sends a continue operation instruction to all test controllers 102 used when the number of synchronization signals equals the number of test controllers 102 used in the test.

[0065] After receiving the continue running instruction, each test controller 102 continues to execute according to the test case. When the execution reaches the synchronization mark again, the execution is paused and the synchronization point signal is sent to the synchronization management module 103 again.

[0066] The synchronization management module 103 receives synchronization point signals again and re-accumulates the number of synchronization point signals until the re-accumulated number of synchronization point signals matches the number of test controllers 102. It then issues a continue instruction to all the test controllers 102 in use. This process repeats until the entire test case is executed.

[0067] The synchronization management module 103 transmits a life signal to the test controller 102. The life signal increases every 10 ms, and the increment range is 1-255.

[0068] When the synchronization management module 103 detects that the life signal from a test controller 102 remains unchanged within 50ms, it determines that the test controller 102 is faulty, reduces the number of test controllers 102 used in this test by one, updates the number of test controllers 102, and uses the updated number of test controllers 102 to compare with the accumulated number of synchronization point signals to make a judgment.

[0069] When the test controller 102 detects that the life signal from the synchronization management module 103 remains unchanged within 50ms, it determines that the synchronization management module 103 is faulty, ignores the synchronization flag, continues to run the test case, and sends fault information to the test terminal 101.

[0070] The test process has been enhanced with test management functionality, including synchronization control interaction and fault handling. The synchronization management module 103 controls the synchronization and orderly execution of all test controllers 102 within the test bench, ensuring the correct timing of test signal transmission. This not only improves test accuracy but also effectively increases test efficiency.

[0071] It should be noted that the above modules can be functional modules or program modules, and can be implemented through software or hardware. For modules implemented through hardware, the above modules can be located in the same processor; or the above modules can be located in different processors in any combination.

[0072] This embodiment also provides a synchronous testing method of a train network control system, which is used to interact with a device under test. Figure 7 : is a flow chart of a synchronous testing method of a train network control system according to an embodiment of the present application, such as Figure 7 As shown, the process includes the following steps: In the test case generation step S701, a test case is generated and issued. The test case includes operation steps, and synchronization identifiers are inserted between the operation steps.

[0073] In step S702, the test case executes the test case's operation steps and synchronization markers sequentially, interacting with the device under test while executing the operation steps. When the synchronization marker is reached, the operation steps are paused and a synchronization point signal is generated. A continue execution instruction is generated based on the synchronization point signal, and the test case's operation steps are continued based on the continue execution instruction.

[0074] The synchronized testing method for the train network control system clarifies the basic testing process and establishes a complete testing methodology system, from test case generation to synchronized control during execution. This method ensures the standardization and logic of the testing process, enabling testers to operate according to established procedures, improving test repeatability and consistency, and facilitating accurate evaluation of the performance of the train network control system.

[0075] In some embodiments, the test case execution step S702 further includes: Get the number of test cases issued and the number of synchronization point signals.

[0076] Determine whether the number of test cases issued is equal to the number of synchronization point signals. If they are equal, generate a continue execution instruction.

[0077] During the test case execution step, the number of test cases issued and the number of synchronization point signals are obtained. Whether to generate a continue instruction is determined by determining whether the two are equal. If the numbers are equal, it indicates that all test processes that should have executed to the synchronization mark have issued synchronization point signals. At this point, a continue instruction is generated to ensure that all test processes advance synchronously.

[0078] This approach uses quantitative methods to accurately determine whether each test process has reached synchronization, avoiding errors caused by subjective judgment. Based on this judgment, it generates a continue execution instruction, ensuring the synchronization of multiple test processes when executing test cases, improving the accuracy and credibility of test results. This is particularly suitable for testing scenarios with multiple test processes running in parallel.

[0079] In some embodiments, the test case execution step S702 further includes: Starting from the received synchronization point signal, the number of received synchronization point signals is accumulated. When the number of received synchronization point signals is equal to the number of test cases issued, the number of synchronization point signals is accumulated again.

[0080] Starting from receiving the first synchronization point signal, the number of synchronization point signals is accumulated. When the number is equal to the number of test cases issued, the number is restarted and subsequent synchronization point signals are continuously monitored to provide counting support for multiple synchronization operations.

[0081] It realizes the effective management of multiple synchronization operations, can accurately track the synchronization status of each test process during each synchronization process, and ensures that in complex test processes, no matter how many synchronizations are performed, it can clearly judge whether the synchronization state is achieved, ensuring the orderly progress of the test process, improving the adaptability and reliability of the test method, and can meet the multiple synchronization requirements in different test scenarios.

[0082] In some embodiments, the test case execution step S702 further includes: The judgment step obtains the life signal and judges whether the life signal changes within the time threshold. If not, during the execution of the test case, the synchronization mark is skipped and the operation steps in the test case are continued.

[0083] This approach provides a degree of fault tolerance for test case execution when system connectivity issues arise. When an abnormal life signal is detected, indicating a possible connection failure, skipping the synchronization flag prevents test execution from stalling while waiting for synchronization instructions. This ensures the execution of key steps in the test case, allowing testing to continue to a certain extent. This improves the flexibility of the test approach and its ability to cope with failures, reducing the impact of system failures on test progress.

[0084] It should be noted that the steps shown in the above process or the flowchart in the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.

[0085] The technical features of the above-mentioned embodiments can be combined arbitrarily. In order to make the description concise, not all possible combinations of the technical features in the above-mentioned embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0086] The above-described embodiments merely represent several implementation methods of the present application. While the descriptions are relatively specific and detailed, they should not be construed as limiting the scope of the present invention. It should be noted that a person skilled in the art could make various modifications and improvements without departing from the spirit of the present application, all of which fall within the scope of protection of the present application. Therefore, the scope of protection of the present patent application shall be determined by the appended claims.

Claims

1. A synchronous test system for a train network control system, characterized in that: Connect the device under test, including: The test terminal is configured to generate and issue a test case, wherein the test case includes operation steps, and synchronization markers are inserted between the operation steps; A test controller is connected to the test terminal and the device under test and is configured to receive a test case, sequentially execute the operation steps in the test case, and interact with the device under test when executing the operation steps; when executing the operation steps to a synchronization mark, the test controller pauses the execution of the operation steps and simultaneously issues a synchronization point signal; Among them, the test terminal has a built-in synchronization management module, which is connected to multiple test controllers. The synchronization management module is configured to send a continue execution instruction to multiple test controllers after receiving the synchronization point signal. After receiving the continue execution instruction, the test controller continues to execute the operation steps in the test case.

2. The synchronous test system of the train network control system according to claim 1, characterized in that: The system includes a plurality of test controllers, the test terminal is connected to the plurality of test controllers, and is further configured to obtain the number of the test controllers and send the number of the test controllers to the synchronization management module; During the execution of test cases by multiple test controllers, when any test controller executes to the synchronization mark, it sends a synchronization point signal to the synchronization management module; the synchronization management module is connected to multiple test controllers and is further configured to accumulate the number of synchronization point signals received, determine whether the number of synchronization point signals received is equal to the number of test controllers, and if they are equal, send continue execution instructions to multiple test controllers respectively.

3. The synchronous test system of the train network control system according to claim 2, characterized in that: The synchronization management module is further configured to, starting from receiving the synchronization point signal, accumulate the number of synchronization point signals received, and restart accumulating the number of synchronization point signals after the number of synchronization point signals received is equal to the number of test controllers.

4. The synchronous test system of the train network control system according to claim 2, characterized in that: The multiple test controllers respectively receive test cases from the test terminal, and the number of synchronization identifiers in the test cases received by the respective test controllers is equal.

5. The synchronous test system for a train network control system according to claim 1, characterized in that: A life signal is transmitted cyclically between the synchronization management module and the test controller. The life signal is used to determine whether the synchronization management module and the test controller are connected. The synchronization management module is further configured to determine whether the life signal from the test controller changes within a time threshold. If not, the test controller is faulty and the faulty test controller is ignored.

6. The synchronous test system for a train network control system according to claim 4, characterized in that: The test controller is further configured to determine whether the life signal from the synchronization management module changes within a time threshold. If not, during the execution of the test case, the synchronization mark is skipped and the operation steps in the test case are executed sequentially.

7. A synchronous testing method for a train network control system, characterized in that: Used to interact with the device under test, including: Test case generation step: Generate and issue test cases. Test cases include operation steps, and synchronization markers are inserted between operation steps. The test case execution steps execute the operation steps and synchronization identifiers in the test case in sequence, and interact with the device under test when executing the operation steps; when executing to the synchronization identifier, the operation steps are paused and a synchronization point signal is generated at the same time; a continue execution instruction is generated according to the synchronization point signal, and according to the continue execution instruction, the operation steps in the test case are continued to be executed.

8. The synchronous testing method of the train network control system according to claim 7, characterized in that: The test case execution steps further include: Get the number of test cases issued and the number of synchronization point signals; Determine whether the number of test cases issued is equal to the number of synchronization point signals. If they are equal, generate a continue execution instruction.

9. The synchronous testing method of a train network control system according to claim 7, characterized in that: The test case execution steps further include: Starting from the received synchronization point signal, the number of received synchronization point signals is accumulated. When the number of received synchronization point signals is equal to the number of test cases issued, the number of synchronization point signals is accumulated again.

10. The synchronous testing method of the train network control system according to claim 7, characterized in that: The test case execution steps also include: The judgment step obtains the life signal and judges whether the life signal changes within the time threshold. If not, during the execution of the test case, the synchronization mark is skipped and the operation steps in the test case are continued.