用于双网LTE通信制式车载系统的冗余测试方法及系统
By injecting RSSP-II protocol layer faults into the LTE communication system, redundancy switching is triggered and the integrity of communication services is verified. This solves the problems of coarse test granularity and insufficient scenario coverage in existing test methods, and achieves comprehensive and accurate verification and safety assurance of the track signal system.
Patent Information
- Application Number
- CN202611360422.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-09-03
- Publication Date
- 2026-11-24
AI Technical Summary
Existing LTE communication standard redundancy testing methods suffer from coarse testing granularity, insufficient realism, incomplete scenario coverage, and low automation in track signal systems, making it impossible to fully verify the fault self-healing capability of the redundancy architecture.
By injecting faults at the RSSP-II protocol level, the redundancy switching mechanism of the vehicle system is triggered. Key indicators during the switching process and the integrity of communication services after the switching are monitored. Test cases are designed to simulate complex fault scenarios, so as to achieve comprehensive verification of the redundancy switching performance.
It improves the depth and accuracy of testing, comprehensively covers potential failure scenarios, provides end-to-end verification of system performance optimization and secure communication, and ensures the safe operation of the track signaling system.
Smart Images

Figure CN123164473A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of track signaling system technology, and in particular to a redundancy testing method and system for a dual-network LTE communication system onboard vehicle. Background Technology
[0002] LTE (Long Term Evolution) communication technology, with its high speed, low latency, and wide coverage, has been widely used in railway signaling safety communication systems. It serves as a crucial carrier for transmitting safety data between onboard equipment and core safety nodes such as ground speed limit servers and train control centers. To ensure railway safety and prevent accidents caused by communication interruptions, railway signaling systems generally employ a dual-channel redundant architecture with primary and backup channels. This redundancy switching of communication links enables fault tolerance and ensures the stable operation of railway-specific safety application protocols such as RSSP-II (Railway Signal Safety Protocol-II). Therefore, redundancy testing for LTE communication is a core step in verifying the system's fault self-healing capabilities and ensuring operational safety.
[0003] The current mainstream LTE communication standard redundancy testing methods include the following: (1) Network link connectivity test: Manually disconnect the primary device's network connection (e.g., unplug the network cable or disable the communication module), observe whether the vehicle-mounted device can switch to the backup host network, and check the network layer connectivity through methods such as Ping test. This method only verifies the restoration of physical or network layer connectivity and cannot cover the redundancy adaptation scenario of upper-layer security services.
[0004] (2) Signal strength simulation test: A communication tester is used to simulate the signal attenuation of the primary LTE base station, triggering the cellular network handover algorithm of the vehicle communication module to select a backup network with a stronger signal. This method tests the commercial handover capability of the wireless communication equipment itself, rather than the active redundancy handover mechanism based on the needs of track safety services.
[0005] (3) Simple service interruption test: UDP (User Datagram Protocol) or TCP (Transmission Control Protocol) data packets are continuously sent at the application layer. After one network is interrupted, it is observed whether the service data packets are resumed on the other network. This method does not take into account the complex logic of secure communication protocols such as session state, sequence number, and security verification. The test depth is insufficient and it cannot verify the reliable recovery capability of secure services.
[0006] In summary, existing LTE communication redundancy testing methods suffer from problems such as coarse test granularity, insufficient test realism, incomplete scenario coverage, low automation, and lack of communication service verification. They cannot meet the stringent testing requirements for safe communication in track signaling systems and are unable to comprehensively and accurately verify the fault self-healing capability of the redundancy architecture.
[0007] Therefore, in order to solve at least one of the above problems, there is an urgent need for a redundancy testing method and system for dual-network LTE communication system in-vehicle systems. Summary of the Invention
[0008] The purpose of this invention is to provide a redundancy testing method and system for a dual-network LTE communication system on-board vehicle. By actively injecting faults at the RSSP-II protocol layer, the redundancy switching mechanism of the on-board vehicle is triggered, and the redundancy switching performance and communication services after switching are fully verified. This is beneficial for accurately and comprehensively verifying the fault self-healing capability of the redundancy architecture and ensuring the safe communication of the track signaling system.
[0009] To achieve the above objectives, the present invention is implemented through the following technical solution: The first aspect of the present invention provides a redundancy testing method for a dual-network LTE communication system in a vehicle, comprising: constructing and initializing a test environment, including: connecting a redundancy test system to a vehicle system and a temporary speed limit server; wherein the vehicle system establishes a secure session with the temporary speed limit server through a primary LTE channel and a backup LTE channel, the secure session being established based on the RSSP-II protocol; Test cases are designed using the redundancy test system, and protocol layer faults are injected into the primary LTE channel based on the test cases. The redundancy switching of the vehicle system is triggered by the injected protocol layer fault, and key switching indicators of the redundancy switching process are monitored and recorded. After triggering the redundancy switch, the integrity of the communication service between the vehicle system and the temporary speed limit server is verified.
[0010] Optionally, designing test cases and injecting protocol layer faults into the primary LTE channel based on the test cases includes: Define the fault types of the protocol layer faults that need to be injected, and generate test cases for different fault types; Based on a test case corresponding to a specific fault type, a protocol layer fault of the specific fault type is injected into the primary LTE channel.
[0011] Optionally, the fault types include at least: message tampering, serial number error, serial number jump or rollover, timeout fault, and connection establishment failure.
[0012] Optionally, the message tampering includes: tampering with the application data unit or security check code in the RSSP-II message.
[0013] Optionally, the serial number error includes: forging or repeatedly sending a message with a serial number error.
[0014] Optionally, the sequence number switching or rollback includes: after sending a message with a specific sequence number, forcibly switching or rolling back the sequence number of the next message.
[0015] Optionally, the timeout fault includes: simulating a situation where the temporary rate-limiting server is unresponsive, and causing a timeout exceeding the T2 or T3 timer specified in the RSSP-II protocol.
[0016] Optionally, the connection establishment failure includes: injecting an error during the establishment phase of the secure session, causing the secure session to fail to establish a connection.
[0017] Optionally, the redundancy switching process includes: when the communication interface of the primary LTE channel of the vehicle system detects a continuous failure of protocol communication, the primary LTE channel is determined to be faulty; The vehicle system automatically initiates a redundancy switching process, switching its communication service with the temporary speed limit server to the backup LTE channel.
[0018] Optionally, the key switching metrics include at least: switching triggering reason, switching detection time, switching execution time, and total service interruption time; The handover detection time is the time from the initial injection of a protocol layer fault to the time when the vehicle system determines that the primary LTE channel is faulty; the handover execution time is the time from the time when the vehicle system initiates the redundancy handover process to the time when the communication service is successfully rebuilt on the backup LTE channel; and the total service interruption time is the time from the failure of the primary LTE channel communication service to the complete recovery of the backup LTE channel communication service.
[0019] Optionally, the integrity verification includes: After the test backup LTE channel communication is stable, the temporary speed limit server is controlled to send a temporary speed limit command for testing to the vehicle system through the test backup LTE channel; Verify whether the vehicle system correctly receives, parses, and responds to the temporary speed limit command; Check whether there are any instances of temporary rate limiting commands being lost, repeated, or out of order during the redundancy handover process; Verify whether the session status and serial number synchronization between the vehicle system and the temporary speed limit server are consistent.
[0020] Optionally, the redundancy test method further includes: after performing the integrity verification, analyzing the test results and determining whether the redundancy handover is successful, including: when the handover execution time is less than a preset threshold, communication services are lost without loss, and the backup LTE channel communication function is normal, the redundancy handover is determined to be successful.
[0021] Optionally, the redundancy testing method further includes: after analyzing the test results, analyzing the test results and automatically generating a test report, wherein the test report includes at least the following information: test cases, injected protocol layer faults, key switching indicators, integrity verification, and analysis conclusions of the test results.
[0022] A second aspect of the present invention provides a redundancy testing system for a dual-network LTE communication system in a vehicle, the redundancy testing system being connected to the vehicle system and a temporary speed limit server; the vehicle system establishing a secure session with the temporary speed limit server through a primary LTE channel and a backup LTE channel, the secure session being established based on the RSSP-II protocol; the redundancy testing system includes a test management unit and a protocol simulation unit. The test management unit includes a test case management unit, a system parameter acquisition unit, and a test result determination unit; wherein, the test case management unit is used to design and manage test cases; The protocol simulation unit is connected to the test management unit and the primary LTE channel; the protocol simulation unit is used to inject protocol layer faults into the primary LTE channel based on the test cases, so as to trigger the redundancy switching of the vehicle system through the injected protocol layer faults; The system parameter acquisition unit is connected to the vehicle system and is used to monitor and record key switching indicators during the redundancy switching process. The test result determination unit is connected to the vehicle system and the temporary speed limit server, and is used to perform integrity verification on the communication services between the vehicle system and the temporary speed limit server after triggering redundancy switching.
[0023] Optionally, the test result determination unit is further configured to analyze the test results after performing the integrity verification, determine whether the redundancy switch passes based on preset criteria, and obtain the execution result of the test case.
[0024] Optionally, the test management unit further includes a test report generation unit, which is used to analyze the test results and automatically generate a test report after analyzing the test results. The test report includes at least the following information: test cases, injected protocol layer faults, key switching indicators, integrity verification, and analysis conclusions of the test results.
[0025] This invention has at least the following technical effects: By injecting faults into the most critical RSSP-II security protocol layer, it is possible to realistically simulate the most complex and hidden fault modes in actual operation. The depth and accuracy of the test are far higher than those of traditional network layer connectivity tests, and it can better expose potential design flaws in the system. By designing test cases, we can systematically cover a variety of fault scenarios in the RSSP-II protocol layer, which makes it easier to realistically reproduce various complex fault modes that may occur in actual operation. The test coverage is comprehensively improved, and the problem of insufficient scenario coverage in existing test methods is solved. By monitoring key switching indicators and testing the integrity of communication services after switching, objective data support was provided for system performance optimization and acceptance. End-to-end verification of the continuity and consistency of temporary speed limits, a safety-critical service, was conducted, providing a more solid guarantee for the safe operation of the track signaling system. Attached Figure Description
[0026] Figure 1 This is a schematic diagram illustrating the steps of a redundancy testing method for a dual-network LTE communication system in a vehicle according to an embodiment of the present invention. Figure 2 This is a logical diagram of a redundancy test system for a dual-network LTE communication system in a vehicle, provided as an embodiment of the present invention. Detailed Implementation
[0027] The following detailed description, in conjunction with the accompanying drawings and specific embodiments, provides a redundancy testing method and system for a dual-network LTE communication system in a vehicle. The advantages and features of the present invention will become clearer from the following description. It should be noted that the drawings are in a very simplified form and use non-precise proportions, used only to facilitate and clearly illustrate the embodiments of the present invention. Please refer to the drawings to make the objectives, features, and advantages of the present invention more apparent and understandable. It should be understood that the structures, proportions, sizes, etc., depicted in the accompanying drawings are only for illustrative purposes to aid those skilled in the art and are not intended to limit the implementation conditions of the present invention. Therefore, they have no substantial technical significance. Any modifications to the structure, changes in proportions, or adjustments to the size, without affecting the effects and objectives achieved by the present invention, should still fall within the scope of the technical content disclosed in the present invention.
[0028] like Figure 1 As shown, this embodiment provides a redundancy testing method for a dual-network LTE communication system in-vehicle systems. The method includes the following steps: Step S1: Build and initialize the test environment; Step S2: Design test cases and inject protocol layer faults based on the test cases; Step S3: Trigger redundancy handover, monitor and record key handover indicators during the redundancy handover process; Step S4: Perform integrity verification on the communication services after redundancy switching.
[0029] Furthermore, such as Figure 2 As shown, to implement the above redundancy testing method, this embodiment also provides a redundancy testing system for a dual-network LTE communication system in-vehicle systems. Specifically, the redundancy testing system is connected to the in-vehicle system and a Temporary Speed Restriction Server (TSRS). The in-vehicle system establishes two independent communication channels with the temporary speed restriction server through a primary LTE network and a backup LTE network, namely the primary LTE channel (…). Figure 2 LTE-A and backup LTE channels ( Figure 2 (LTE-B). The onboard system can establish a secure session with the temporary speed limit server through the primary LTE channel and the backup LTE channel. The secure session is established based on the RSSP-II protocol.
[0030] refer to Figure 2 A redundant testing system may include, for example, a test management unit and a protocol simulation unit. The test management unit includes a test case management unit, a system parameter acquisition unit, and a test result determination unit. The test case management unit is used to design and manage test cases.
[0031] The protocol simulation unit is connected to the test management unit and the primary LTE channel. The protocol simulation unit is used to inject protocol layer faults into the primary LTE channel based on test cases, so as to trigger the redundancy switching of the vehicle system through the injected protocol layer faults.
[0032] The system parameter acquisition unit is connected to the vehicle system to monitor and record key switching indicators during the redundancy switching process.
[0033] The test result determination unit is connected to the vehicle system and the temporary speed limit server, and is used to verify the integrity of the communication services between the vehicle system and the temporary speed limit server after the redundancy switch is triggered.
[0034] In some embodiments, the test management unit may further include a driver unit, which is connected to the test case management unit and the protocol simulation unit. The test case management unit may send the designed test cases to the driver unit in the form of script information, and the driver unit may further drive the protocol simulation unit to inject the corresponding protocol layer faults into the primary LTE channel.
[0035] Specifically, in step S1, building and initializing the test environment includes: connecting the redundant test system to the vehicle system and the temporary speed limit server; configuring the test management unit to ensure it can control the protocol simulation unit; and confirming that the vehicle system has established a secure session with the temporary speed limit server through the primary LTE channel and the backup LTE channel, the secure session being established based on the RSSP-II protocol. In some embodiments, the vehicle system and the temporary speed limit server can be established through a simulator.
[0036] Furthermore, in step S2, the fault type of the protocol layer fault to be injected can be defined, and test cases corresponding to different fault types can be designed according to requirements. The designed test cases can be stored as scripts in the test case management unit for easy selection by testers. The protocol simulation unit can inject a protocol layer fault of a specific fault type into the primary LTE channel based on a test case corresponding to a specific fault type. After the protocol layer fault is injected, the network link of the primary LTE channel remains connected, but RSSP-II protocol communication will be interrupted due to non-compliance with protocol specifications.
[0037] More specifically, in this embodiment, the protocol layer faults that can be injected into the primary LTE channel may include the following types of faults: message tampering, sequence number error, sequence number jump or rollover, timeout fault, and connection establishment failure.
[0038] Message tampering includes: altering the application data unit or the message authentication code (MAC) in the RSSP-II message. For example, the application data unit can be modified while the MAC remains unchanged, or the data unit can be kept unchanged while the MAC is modified.
[0039] Sequence number errors include: forging or retransmitting messages with incorrect sequence numbers. For example, a valid RSSP-II message that was previously successfully received (message with sequence number N) can be captured, and in subsequent communications, when the message sequence number has increased to N+10, the previously captured old message with sequence number N can be retransmitted.
[0040] Sequence number transitions or rollbacks include: after sending a message with a specific sequence number, forcibly transitioning or rolling back the sequence number of the next message. For example, after sending a message with sequence number N, forcibly setting the sequence number of the next message to N+100 (transition) or N-1 (rollback).
[0041] Timeout faults include simulating a situation where the temporary speed limit server is unresponsive, or causing timeouts exceeding the T2 or T3 timers specified in the RSSP-II protocol. For example, a fixed or random delay (e.g., 500 milliseconds) can be injected into a specific data stream (such as all RSSP-II messages) sent from the temporary speed limit server to the vehicle system. Alternatively, a very large delay (e.g., 10 seconds) can be injected to cause the message to expire completely.
[0042] Connection establishment failure includes: injecting errors during the establishment phase of the secure session, causing the secure session to fail to establish a connection. As those skilled in the art will understand, when the communication medium is intact, the onboard system and the temporary speed limit server need to exchange information during the establishment of the secure session. For example: the onboard system sends M155 (session establishment message), the temporary speed limit server replies with M32 (system version); the onboard system continues to send M159 (communication session establishment message) and M157 (location report), the temporary speed limit server replies with M24 (normal message); the onboard system sends M146 confirmation and M129 (train data), the temporary speed limit server replies with M8. At this point, the onboard system and the temporary speed limit server have completed the session establishment. However, in this embodiment, by injecting errors during the establishment phase of the secure session, the onboard system and the temporary speed limit server can be prevented from completing the establishment of the secure session. For example, injecting a fault during message interaction can invalidate the message (such as an invalid value for a certain field in the message), thereby causing the secure session to fail to establish.
[0043] Existing testing methods are limited to network layer interruptions and cannot simulate RSSP-II protocol layer failures (such as sequence number errors, MAC errors, and timeouts). These failures do not interrupt the link but cause secure sessions to fail, which are the real conditions triggering redundancy switching. Furthermore, existing methods cannot cover complex scenarios where the channel is intact but protocol communication fails (such as process freezes or protocol stack anomalies), resulting in incomplete test coverage. This invention, however, actively injects RSSP-II protocol layer failures, realistically simulating complex and hidden failure modes, significantly improving test depth and accuracy. Through test case design, it can systematically cover various error and timeout scenarios defined by the security protocol, effectively addressing the problem of insufficient test scenario coverage.
[0044] Furthermore, in step S3, when the communication interface of the primary LTE channel of the vehicle system detects a continuous failure in protocol communication, it determines that the primary LTE channel is faulty and automatically initiates a redundancy switchover process, switching the communication service between it and the temporary speed-limiting server to the backup LTE channel. During this process, various key indicators can be monitored and recorded.
[0045] Specifically, key handover metrics include at least: handover triggering reason, handover detection time, handover execution time, and total service interruption time. The handover triggering reason is the specific protocol layer fault that triggers the redundant handover. The handover detection time is the time from the initial injection of a protocol layer fault to the vehicle system determining the primary LTE channel failure; the handover execution time is the time from the vehicle system initiating the redundant handover process to successfully rebuilding communication services on the backup LTE channel; and the total service interruption time is the time from the failure of communication services on the primary LTE channel to the complete recovery of communication services on the backup LTE channel. This invention, by accurately measuring key performance indicators such as handover detection time and handover execution time, provides more objective data support for system performance optimization and acceptance.
[0046] Furthermore, in step S4, after the backup LTE channel communication is stable, the integrity of the communication services of the backup LTE channel can be verified. The integrity verification includes the following steps: S41. Control the temporary speed limit server to send a temporary speed limit command for testing to the vehicle system through the test backup LTE channel; S42. Verify whether the vehicle system correctly receives, parses, and responds to the temporary speed limit command; S43. Check whether there are any instances of temporary rate limiting commands being lost, repeated, or out of order during the redundancy handover process. S44. Verify whether the session status and serial number synchronization between the vehicle system and the temporary speed limit server are consistent.
[0047] Existing methods only focus on the redundancy handover itself, without performing end-to-end integrity, consistency, and timeliness verification of safety communication services based on the RSSP-II protocol (such as the sending, receiving, and acknowledgment of temporary speed limit commands) after the handover occurs. This invention, however, performs integrity verification, focusing on verifying whether the communication service functions are intact after the redundancy handover. It provides end-to-end verification of the continuity and consistency of the safety-critical temporary speed limit service, thus providing a more robust guarantee for the safe operation of the rail system.
[0048] In some embodiments, such as Figure 1 As shown, the redundancy testing method also includes step S5: test result analysis and report generation.
[0049] Specifically, the test result analysis includes: after integrity verification, analyzing the test results and determining whether the redundancy handover passed. For example, if the handover execution time is less than a preset threshold, communication services are lost without interruption, and the backup LTE channel communication function is normal, the redundancy handover is considered successful. The preset threshold is, for example, 3 seconds.
[0050] The report generation process includes: analyzing the test results and automatically generating a test report. The test report should include at least the following information: test cases, injected protocol layer faults, key switching metrics, integrity verification, and analysis conclusions of the test results.
[0051] Correspondingly, such as Figure 2 As shown, the test management unit also includes a test result determination unit and a test report generation unit. The test result determination unit analyzes the test results after integrity verification and determines whether the redundancy switch passes based on preset criteria, thus obtaining the execution result of the test case. Specifically, the test result determination unit can compare the expected results of the corresponding test cases in the test case management unit with the information obtained by the system parameter unit to obtain the execution result of the test case.
[0052] Furthermore, the test report generation unit is used to analyze the test results and automatically generate a test report after the test results are analyzed. The test report includes at least the following information: test cases, injected protocol layer faults, key switching indicators, integrity verification, and analysis conclusions of the test results. After collecting the execution results of all test cases, the test report generation unit can summarize and generate a test report and output it in document form.
[0053] Existing testing methods largely rely on manual operation and subjective judgment. Testers need to manually create faults and confirm the success of the switchover by observing device indicator lights or reviewing numerous logs. The lack of automated test case execution, result capture, and intelligent criterion systems results in low efficiency, high error rates, and difficulty in conducting large-scale regression testing. In contrast, this invention automates the entire testing process, from fault injection and process monitoring to result judgment, significantly improving testing efficiency, avoiding errors and subjectivity caused by manual intervention, and facilitating integration into continuous integration / continuous testing workflows.
[0054] The following example, using a specific test scenario, further illustrates the implementation process of the redundancy testing method for a dual-network LTE communication system provided by this invention. The test scenario involves a redundancy handover triggered by an RSSP-II protocol MAC verification error on the primary LTE channel of the vehicle system.
[0055] First, the test environment needs to be initialized. A dual-network connection needs to be established between the temporary speed limit server and the vehicle system. The primary LTE channel is Channel-A, and the backup LTE channel is Channel-B. The temporary speed limit server and the vehicle system start normal communication based on the RSSP-II protocol.
[0056] Furthermore, the testers selected test cases corresponding to "MAC error injection." The protocol emulation unit then intercepted messages from the temporary speed limiter server on Channel-A, modified their MAC addresses, and sent them to the vehicle system.
[0057] Furthermore, the vehicle-mounted system failed to verify the MAC address, and after several consecutive failures, determined that the Channel-A session was invalid. It then proactively disconnected Channel-A and immediately re-established the session with TSRS via Channel-B, switching all communication services to Channel-B. During this process, the test system monitored and recorded relevant key handover metrics: handover detection time was 1.2 seconds, handover execution time was 0.8 seconds, and total service interruption time was 2.0 seconds.
[0058] After completing the redundancy switchover, the temporary speed limit server sends a "speed limit 80km / h" command to the vehicle system via Channel-B. The vehicle system is then verified to receive the command correctly and display it on its Driver Machine Interface (DMI).
[0059] Finally, after comparing the test results (switching execution time < 3 seconds, communication services are normal), the test system determines that the redundancy switch has passed and automatically generates a test report containing all the details.
[0060] It should be noted that, in this document, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Unless otherwise specified, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.
[0061] It should be noted that the apparatus and methods disclosed in the embodiments herein can also be implemented in other ways. The apparatus embodiments described above are merely illustrative; for example, the flowcharts and block diagrams in the accompanying drawings show the architecture, functionality, and operation of possible implementations of apparatus, methods, and computer program products according to various embodiments herein. In this regard, each block in a flowchart or block diagram may represent a module, program, or part of code containing one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions marked in the blocks may occur in a different order than those marked in the drawings. For example, two consecutive blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in a block diagram and / or flowchart, and combinations of blocks in block diagrams and / or flowcharts, can be implemented using a dedicated hardware-based system to perform the specified function or action, or can be implemented using a combination of dedicated hardware and computer instructions.
[0062] In addition, the functional modules in the various embodiments of this article can be integrated together to form an independent part, or each module can exist independently, or two or more modules can be integrated to form an independent part.
[0063] Although the present invention has been described in detail through the preferred embodiments above, it should be understood that the above description should not be considered as a limitation of the present invention. Various modifications and substitutions to the present invention will be apparent to those skilled in the art after reading the above description. Therefore, the scope of protection of the present invention should be defined by the appended claims.
Claims
1. A redundancy test method for a dual-network LTE communication mode vehicle-mounted system, characterized in that, include: The test environment is constructed and initialized, including: connecting the redundant test system to the vehicle system and the temporary speed limit server; the vehicle system establishes a secure session with the temporary speed limit server through the primary LTE channel and the backup LTE channel, and the secure session is established based on the RSSP-II protocol; Test cases are designed using the redundancy test system, and protocol layer faults are injected into the primary LTE channel based on the test cases. The redundancy switching of the vehicle system is triggered by the injected protocol layer fault, and key switching indicators of the redundancy switching process are monitored and recorded. After triggering the redundancy switch, the integrity of the communication service between the vehicle system and the temporary speed limit server is verified.
2. The redundancy testing method of claim 1, wherein, The design of test cases, and the injection of protocol layer faults into the primary LTE channel based on the test cases, includes: Define the fault types of the protocol layer faults that need to be injected, and generate test cases for different fault types; Based on a test case corresponding to a specific fault type, a protocol layer fault of the specific fault type is injected into the primary LTE channel.
3. The method of claim 2, wherein, The fault types include at least: message tampering, serial number error, serial number jump or rollover, timeout fault, and connection establishment failure.
4. The method of claim 3, wherein, The message tampering includes: tampering with the application data unit or security check code in the RSSP-II message.
5. The method of claim 3, wherein, The serial number error includes: forging or repeatedly sending messages with an incorrect serial number.
6. The method of claim 3, wherein, The sequence number switching or rollback includes: after sending a message with a specific sequence number, forcibly switching or rolling back the sequence number of the next message.
7. The method of claim 3, wherein, The timeout fault includes: simulating a situation where the temporary rate-limiting server is unresponsive, causing a timeout exceeding the T2 or T3 timer specified in the RSSP-II protocol.
8. The method of claim 3, wherein, The connection establishment failure includes: injecting errors during the establishment phase of the secure session, causing the secure session to fail to establish a connection.
9. The method of claim 1, wherein, The redundancy switching process includes: when the communication interface of the primary LTE channel of the vehicle system detects a continuous failure of protocol communication, the primary LTE channel is determined to be faulty; The vehicle system automatically initiates a redundancy switching process, switching its communication service with the temporary speed limit server to the backup LTE channel.
10. The method of claim 9, wherein, The key switching metrics include at least: switching trigger reason, switching detection time, switching execution time, and total service interruption time; The handover detection time is the time from the initial injection of a protocol layer fault to the time when the vehicle system determines that the primary LTE channel is faulty; the handover execution time is the time from the time when the vehicle system initiates the redundancy handover process to the time when the communication service is successfully rebuilt on the backup LTE channel; and the total service interruption time is the time from the failure of the primary LTE channel communication service to the complete recovery of the backup LTE channel communication service.
11. The redundancy testing method according to claim 10, characterized in that, The integrity verification includes: After the test backup LTE channel communication is stable, the temporary speed limit server is controlled to send a temporary speed limit command for testing to the vehicle system through the test backup LTE channel; Verify whether the vehicle system correctly receives, parses, and responds to the temporary speed limit command; Check whether there are any instances of temporary rate limiting commands being lost, repeated, or out of order during the redundancy handover process; Verify whether the session status and serial number synchronization between the vehicle system and the temporary speed limit server are consistent.
12. The redundancy testing method according to claim 10, characterized in that, Also includes: After performing the integrity verification, the test results are analyzed, and it is determined whether the redundancy handover is successful, including: when the handover execution time is less than a preset threshold, there is zero loss of communication services, and the backup LTE channel communication function is normal, the redundancy handover is determined to be successful.
13. The redundancy testing method according to claim 12, characterized in that, It also includes: after analyzing the test results, analyzing the test results and automatically generating a test report, the test report including at least the following information: test cases, injected protocol layer faults, key switching indicators, integrity verification and analysis conclusions of the test results.
14. A redundancy testing system for a dual-network LTE communication system in a vehicle, characterized in that, The redundancy test system is connected to the vehicle system and the temporary speed limit server; the vehicle system establishes a secure session with the temporary speed limit server through a primary LTE channel and a backup LTE channel, and the secure session is established based on the RSSP-II protocol; the redundancy test system includes a test management unit and a protocol simulation unit. The test management unit includes a test case management unit, a system parameter acquisition unit, and a test result determination unit; wherein, the test case management unit is used to design and manage test cases; The protocol simulation unit is connected to the test management unit and the primary LTE channel; the protocol simulation unit is used to inject protocol layer faults into the primary LTE channel based on the test cases, so as to trigger the redundancy switching of the vehicle system through the injected protocol layer faults; The system parameter acquisition unit is connected to the vehicle system and is used to monitor and record key switching indicators during the redundancy switching process. The test result determination unit is connected to the vehicle system and the temporary speed limit server, and is used to perform integrity verification on the communication services between the vehicle system and the temporary speed limit server after triggering redundancy switching.
15. The redundancy testing system according to claim 14, characterized in that, The test result determination unit is also used to analyze the test results after the integrity verification is performed, determine whether the redundancy switch is successful based on preset criteria, and obtain the execution result of the test case.
16. The redundancy testing system according to claim 15, characterized in that, The test management unit also includes a test report generation unit, which analyzes the test results and automatically generates a test report after the test results are analyzed. The test report includes at least the following information: Test cases, injected protocol layer faults, key switching metrics, integrity verification, and analysis conclusions of test results.
