A vehicle-mounted ring network ERPS protection switching device and method superimposed with GPTP

The integration of ERPS and GPTP in vehicle networks through dual synchronization paths addresses the issue of network instability post-link failure, ensuring uninterrupted time synchronization and improved reliability.

CN118659946BActive Publication Date: 2024-12-20AUTOCORE INTELLIGENT TECH (NANJING) CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411133138.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-08-19
Publication Date
2024-12-20
Estimated Expiration
2044-08-19

AI Technical Summary

Technical Problem

Existing ERPS systems in vehicle networks fail to support GPTP for time synchronization after link failure, leading to network instability and disruption.

Method used

Integrate ERPS with GPTP by configuring switches with MCUs and MPUs, forming ERPS rings with RPL links, and establishing two GPTP domains to ensure seamless time synchronization through dual synchronization paths.

Benefits of technology

Ensures continuous GPTP operation during link failures, enhancing network reliability and stability by maintaining time synchronization without interruption.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118659946B_ABST
    Figure CN118659946B_ABST
Patent Text Reader

Abstract

The present invention discloses an ERPS protection switching device and method for an on-vehicle ring network superimposed with GPTP, comprising interconnected switches, MCU and MPU deployed on each switch, multiple switch ports set on the switch, MCU and MPU and switches, switches and switches are all connected through switch ports; the switches form an ERPS ring, and the link between two fixed switches is set as a ring network protection link RPL; two GPTP domains are configured in a clock synchronization network, the MCU is configured as the GM clock node of domain 0 and domain 126, and the remaining MCUs and MPUs are configured as slave clock nodes, and receive synchronization information from domain 0 and domain 126 at the same time. When ERPS protection switching occurs, the present invention can ensure that GPTP continues to work seamlessly on the new link, ensure that the time synchronization function in the on-vehicle network is not affected, and significantly improve the efficiency and reliability of the on-vehicle network.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to Ethernet ring technology, and in particular to a vehicle-mounted ring network ERPS protection switching device and method superimposed with GPTP. Background Art

[0002] In order to improve the reliability of in-vehicle Ethernet and avoid network interruption caused by single-point link failure, the industry introduced the Ethernet ring structure and adopted ERPS (Ethernet Ring Protection Switching) technology, aiming to improve network reliability through link redundancy. ERPS can prevent broadcast storms caused by data loops when the Ethernet ring is intact, and can quickly switch to alternative links to transmit data when a ring network link fails, controlling the network interruption time caused by link failure to within 50ms. However, when ERPS triggers protection switching in response to ring network link failure, the existing system exposes a key limitation: because the GPTP (Generalized Precision Time Protocol) in the in-vehicle network does not support BMCA (Best Master Clock Algorithm), GPTP cannot resume normal operation on the new link after the switch, thus affecting the network's time synchronization function. This problem particularly seriously affects the functionality and reliability of in-vehicle network applications that have strict requirements for time synchronization. Summary of the invention

[0003] In order to solve the deficiencies in the prior art, the object of the present invention is to provide a vehicle-mounted ring network ERPS protection switching device and method superimposed with GPTP.

[0004] To achieve the purpose of the present invention, the technical solution adopted by the present invention is:

[0005] A vehicle-mounted ring network ERPS protection switching device superimposed with GPTP includes switches connected to each other, an MCU and an MPU are deployed on each switch, a plurality of switch ports are arranged on the switch, and the MCU and the MPU are connected to the switch, and the switches are connected to each other through the switch ports;

[0006] The switches form an ERPS ring, and the link between two switches is set as the ring protection link RPL;

[0007] Two GPTP domains, domain 0 and domain 126, are configured in the clock synchronization network. The MCU is configured as the GM clock node of domain 0 and domain 126. The remaining MCUs and MPUs are configured as slave clock nodes and receive synchronization information from domain 0 and domain 126 at the same time.

[0008] Furthermore, the switch supports the GPTP protocol and configures GPTP roles belonging to different time domains based on ports; the switch port processes GPTP and ERPS protocol packets.

[0009] Furthermore, the control VLAN of the ERPS ring is VLAN 100, and the protection VLANs are VLANs 1 to 50.

[0010] Furthermore, the switch configures the VLAN of GPTP as VLAN 200.

[0011] Furthermore, the GPTP interface on the switch configures the GPTP interface status based on different GPTP domains, and the interface status includes a master interface and a slave interface, wherein the master interface represents the GPTP interface that publishes the synchronization time, and the slave interface represents the GPTP interface that receives the synchronization time, and 0:M / 0:S indicates that the interface status in domain 0 is a master interface / slave interface, and 126:M / 126:S indicates that the interface status in domain 126 is a master interface / slave interface.

[0012] A vehicle ring network ERPS protection switching method superimposed with GPTP, when the network link is in a normal state, the data flow of the ERPS protection VLAN is not transmitted through the RPL link; according to the configuration of the GPTP port role, GPTP forms two synchronization paths of domain 0 and domain 126 in different directions in the ERPS ring.

[0013] Furthermore, if a link between ports in the ERPS ring fails, ERPS quickly releases RPL, and user data streams can be transmitted through RPL; if the synchronization path of GPTP domain 0 or domain 126 is broken, the synchronization path is carried out through another domain.

[0014] Furthermore, after GM is initialized, it starts a timer for periodically sending synchronization messages, publishes its own clock information to the network through the GPTP synchronization message of domain 0, superimposes it with ERPS, and publishes its own clock information to the network through the GPTP synchronization message of domain 126.

[0015] Furthermore, after the slave clock is initialized, it waits for GPTP synchronization messages from domains 0 and 126, receives GPTP synchronization messages from domains 0 and 126, and determines whether synchronization messages from different domains with the same sequence number have been received, and adjusts the slave node's clock according to the time information carried in the message.

[0016] The beneficial effect of the present invention is that, compared with the prior art, the advantage of the present invention is that when ERPS protection switching occurs, GPTP can be guaranteed to continue to work seamlessly on the new link. This solves the problem in the prior art that time synchronization cannot be restored after link switching because GPTP does not support BMCA.

[0017] The present invention improves the reliability of the vehicle Ethernet ring structure by realizing the efficient integration of ERPS and GPTP, while ensuring the high efficiency of the network. Even when the ring network link fails, the technical solution can ensure that the time synchronization function of the network is not affected, thereby significantly improving the stability and reliability of the entire vehicle network.

[0018] The present invention provides an optimized design solution for the vehicle network, so that network designers can more flexibly handle the problems of time synchronization and network reliability. This optimized design not only improves the overall performance of the network, but also reduces maintenance costs and complexity, making the deployment and maintenance of the vehicle network more efficient.

[0019] The present invention increases the stability and reliability of the vehicle network time synchronization function by ensuring the continuous operation of GPTP under any link switching conditions. This enables the vehicle network to better adapt to complex network environments and unforeseen link failures, ensuring the continuous operation of key applications.

[0020] In summary, the present invention not only significantly improves the reliability, efficiency and security of the vehicle network, but also optimizes the network design and reduces the maintenance cost by solving the continuity problem of GPTP time synchronization in the vehicle network after ERPS protection switching. BRIEF DESCRIPTION OF THE DRAWINGS

[0021] Figure 1 It is a schematic diagram of the vehicle-mounted ring network ERPS protection switching device superimposed with GPTP according to the present invention;

[0022] Figure 2 This is a schematic diagram of the ring network protection link RPL;

[0023] Figure 3 This is a schematic diagram of configuring two GPTP domains in a clock synchronization network;

[0024] Figure 4 It is a schematic diagram of the user data flow and GPTP synchronization path when the network link is normal;

[0025] Figure 5 The link between port 14 and port 20 fails, and the diagram shows the user data flow and GPTP synchronization path.

[0026] Figure 6 The link between port 15 and port 22 fails, and the diagram shows the user data flow and GPTP synchronization path.

[0027] Figure 7 The link between port 21 and port 23 fails, and the diagram shows the user data flow and GPTP synchronization path.

[0028] Figure 8 It is a detailed work flow chart of GM;

[0029] Fig. 9 This is a detailed working flow chart from the clock. DETAILED DESCRIPTION

[0030] The technical solution of the present invention is further described below in conjunction with the accompanying drawings and embodiments. The following embodiments are only used to more clearly illustrate the technical solution of the present invention, and cannot be used to limit the protection scope of this application.

[0031] like Figure 1 As shown, the vehicle-mounted ring network ERPS protection switching device superimposed with GPTP described in the present invention includes switches connected to each other, an MCU and an MPU are deployed on each switch, a plurality of switch ports are arranged on the switch, and the MCU and the MPU are connected to the switch, and the switches are connected to each other through the switch ports.

[0032] In the figure, 1, 2, and 3 represent switches, 4, 6, and 8 represent MCUs (Micro Controller Units), 5, 7, and 9 represent MPUs (Micro-Processor Units), and 10 to 27 represent switch ports.

[0033] The switch supports the GPTP protocol and can configure GPTP roles belonging to different time domains based on ports; MCU (MicroContorller Unit) is used to run tasks with high real-time requirements; MPU (Micro-Processor Unit) is used to run computing tasks; switch ports can process GPTP and ERPS protocol packets.

[0034] like Figure 2 As shown, the present invention deploys ERPS in the MCU to achieve real-time control of the database FDB (Forwarding Data Base) of the switch switch to ensure the switching performance of ERPS; according to the physical topology, switches 1~3 form an ERPS ring, specifying the control VLAN of the ring as VLAN 100, the protection VLAN as VLAN 1~50, switch 1 as the owner node of the ERPS ring, switch 3 as the neighbor node of the ERPS ring, switch 2 as the normal node of the ERPS ring, and ports 15 and 22 as RPL (Ring Protection Link) ports.

[0035] The present invention needs to configure two GPTP domains in the clock synchronization network, domain 0 and domain 126, MCU 4 is configured as the GM clock node of domain 0 and domain 126, and serves as the clock node of the main reference time source in the network, MCU 6, 8 and MPU 5, 7, 9 are configured as slave clock nodes, and simultaneously receive synchronization information from domain 0 and domain 126. Switches 1-3 need to configure the VLAN of GPTP as VLAN200, so as to ensure that GPTP protocol messages can be transmitted through RPL.

[0036] The GM clock node needs to be configured to repeatedly send the synchronization information of domain 0 and domain 126. The slave clock node needs to receive the synchronization information from domain 0 and domain 126. The GPTP interface on the switch needs to configure the GPTP interface status based on different GPTP domains. The interface status includes master interface (M) and slave interface (S). The master interface refers to the GPTP interface that publishes the synchronization time, and the slave interface refers to the GPTP interface that receives the synchronization time. 0:M / 0:S means that the interface status in domain 0 is master interface / slave interface, and 126:M / 126:S means that the interface status in domain 126 is master interface / slave interface. The configuration result is as follows: Figure 3 shown.

[0037] In the vehicle ring network ERPS protection switching method superimposed with GPTP described in the present invention, when the network link is normal, the data flow of the ERPS protection VLAN will not be transmitted through the RPL link, and according to the configuration of the GPTP port role, GPTP forms two synchronization paths of domain 0 and domain 126 in different directions in the ERPS ring, and the user data flow and the GPTP synchronization path are as follows: Figure 4 shown.

[0038] GPTP synchronization path of domain 0, master interface 0:M of MCU 4 sends GPTP protocol messages, slave interface 11 of switch 1 receives GPTP protocol messages, and sends them to MPU 5 and switch 2 through master interfaces 13 and 14, slave interface 20 of switch 2 receives GPTP protocol messages, and sends them to MCU 6, MPU7 and switch 3 through master interfaces 17, 19 and 21, slave interface 23 of switch 3 receives GPTP protocol messages, and sends them to MCU 8 and MPU9 through master interfaces 24 and 25.

[0039] The GPTP synchronization path of domain 126, the master interface 126:M of MCU 4 sends GPTP protocol messages, the slave interface 11 of switch 1 receives GPTP protocol messages, and sends them to switch 3 through the master interface 15, the slave interface 22 of switch 3 receives GPTP protocol messages, and sends them to MCU 8, MPU9 and switch 2 through the master interfaces 23, 24 and 25, the slave interface 21 of switch 2 receives GPTP protocol messages, and sends them to MCU 6 and MPU7 through the master interfaces 17 and 19.

[0040] The ERPS data flow is from switch 1 to switch 2 and then to switch 3. The data flow is not transmitted through the RPL link.

[0041] If the link between port 14 and port 20 in the ERPS ring fails, ERPS will quickly release RPL, and the user data flow can be transmitted through RPL, and the data flow is from switch 1 to switch 3 and then to switch 2. At this time, although the synchronization path of GPTP domain 0 is broken, the synchronization path of domain 126 is not affected, and slave clock nodes 6 to 9 can still receive synchronization information distributed by GM through domain 126. The effect is as follows: Figure 5 shown.

[0042] If the link between port 15 and port 22 in the ERPS ring fails, the user data flow is not affected. Although the synchronization path of GPTP domain 126 is broken, the synchronization path of domain 0 is not affected. Slave clock nodes 6 to 9 can still receive synchronization information distributed by GM through domain 0. The effect is as follows: Figure 6 shown.

[0043] If the link between port 21 and port 23 in the ERPS ring fails, ERPS will quickly release RPL, and the user data flow can be transmitted through RPL, and the data flow is from switch 1 to switches 2 and 3. At this time, slave clock nodes 6 and 7 can still receive synchronization information distributed from GM through domain 0, and slave clock nodes 8 and 9 can still receive synchronization information distributed from GM through domain 126. The effect is as follows: Figure 7 shown.

[0044] GM detailed workflow is as follows Figure 8 As shown, after initialization, the timer for periodically sending synchronization messages is started, and its own clock information is published to the network through the GPTP synchronization message of domain 0, superimposed with ERPS, and at the same time, its own clock information is published to the network through the GPTP synchronization message of domain 126.

[0045] The detailed working process of the slave clock is as follows Fig. 9 As shown, after initialization, wait for GPTP synchronization messages from domains 0 and 126, receive GPTP synchronization messages from domains 0 and 126, and determine whether synchronization messages from different domains with the same sequence number have been received, and adjust the clock of the slave node according to the time information carried in the message.

[0046] The beneficial effect of the present invention is that, compared with the prior art, the device of the present invention is designed to ensure that GPTP continues to work seamlessly on the new link when ERPS protection switching occurs, ensuring that the time synchronization function in the vehicle network is not affected. In this way, the present invention not only significantly improves the efficiency and reliability of the vehicle network, but also solves the major limitations of the prior art in maintaining the time synchronization function.

[0047] The applicant of the present invention has made a detailed explanation and description of the implementation examples of the present invention in conjunction with the drawings in the specification. However, those skilled in the art should understand that the above implementation examples are only preferred implementation schemes of the present invention, and the detailed description is only to help readers better understand the spirit of the present invention, but not to limit the scope of protection of the present invention. On the contrary, any improvements or modifications based on the inventive spirit of the present invention should fall within the scope of protection of the present invention.

Claims

1. A vehicle-mounted ring network ERPS protection switching device superimposed with GPTP, characterized in that: It includes switches that are connected to each other, an MCU and an MPU are deployed on each switch, a plurality of switch ports are set on the switch, and the MCU and the MPU are connected to the switch, and the switches are connected to each other through the switch ports; The switches form an ERPS ring, and the link between two switches is set as the ring protection link RPL; Configure two GPTP domains in the clock synchronization network, domain 0 and domain 126. The MCU is configured as the GM clock node of domain 0 and domain 126. The remaining MCUs and MPUs are configured as slave clock nodes and receive synchronization information from domain 0 and domain 126 at the same time. The switch supports the GPTP protocol and configures GPTP roles belonging to different time zones based on ports. The switch ports process GPTP and ERPS protocol packets.

2. The vehicle-mounted ring network ERPS protection switching device superimposed with GPTP according to claim 1, characterized in that: The control VLAN of the ERPS ring is VLAN 100, and the protection VLANs are VLANs 1 to 50.

3. The vehicle-mounted ring network ERPS protection switching device superimposed with GPTP according to claim 1 is characterized in that: The VLAN for GPTP configuration on the switch is VLAN 200.

4. The vehicle-mounted ring network ERPS protection switching device superimposed with GPTP according to claim 1 is characterized in that: The GPTP interface on the switch configures the GPTP interface status based on different GPTP domains. The interface status includes master interface and slave interface. The master interface refers to the GPTP interface that publishes the synchronized time, and the slave interface refers to the GPTP interface that receives the synchronized time. 0:M / 0:S indicates that the interface status in domain 0 is master interface / slave interface, and 126:M / 126:S indicates that the interface status in domain 126 is master interface / slave interface.

5. A vehicle-mounted ring network ERPS protection switching method superimposed with GPTP, based on the vehicle-mounted ring network ERPS protection switching device superimposed with GPTP as described in any one of claims 1-4, characterized in that: When the network link is normal, the data flow of the ERPS protection VLAN is not transmitted through the RPL link; according to the configuration of the GPTP port role, GPTP forms two synchronization paths in different directions in the ERPS ring, domain 0 and domain 126.

6. The vehicle-mounted ring network ERPS protection switching method superimposed with GPTP according to claim 5 is characterized in that: If a link between ports in an ERPS ring fails, ERPS quickly releases RPL, and user data flows can be transmitted through RPL. If the synchronization path of GPTP domain 0 or domain 126 is broken, the synchronization path is carried out through another domain.

7. The vehicle-mounted ring network ERPS protection switching method superimposed with GPTP according to claim 5 is characterized in that: After GM is initialized, it starts the timer for periodically sending synchronization messages, publishes its own clock information to the network through the GPTP synchronization message of domain 0, and superimposes it with ERPS. At the same time, it publishes its own clock information to the network through the GPTP synchronization message of domain 126.

8. The vehicle-mounted ring network ERPS protection switching method superimposed with GPTP according to claim 5 is characterized in that: After the slave clock is initialized, it waits for GPTP synchronization messages from domains 0 and 126, receives GPTP synchronization messages from domains 0 and 126, and determines whether it has received synchronization messages from different domains with the same sequence number, and adjusts the slave node's clock according to the time information carried in the message.

Citation Information

Patent Citations

  • Arbitrarily topological intersected ring network protecting method, node and intersected ring network

    CN101499948A

  • Automatic protection switching method for main and auxiliary time sources

    CN102685781A