Double-path automatic planning and transmission implementation method for time-sensitive network equipment

By automatically planning and configuring two independent data paths in a time-sensitive network, the broadcast storm and data link layer crash problems under the ring topology are solved, and the reliability and stability of redundant data transmission are achieved.

CN120378356AActive Publication Date: 2025-07-25THE 34TH RES INST OF CHINA ELECTRONICS TECH CORP
View PDF 9 Cites 0 Cited by

Patent Information

Application Number
CN202510711294.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-05-29
Publication Date
2025-07-25
Estimated Expiration
2045-05-29

AI Technical Summary

Technical Problem

In time-sensitive networks, broadcast storms and data link layer crashes caused by ring topology, especially when network administrator configuration is abnormal, redundant links cannot function properly.

Method used

By automatically planning two independent data paths and assigning unique ID identifiers and VLAN information in the TSN device, redundant transmission of key data is realized. The relay device automatically configures the VLAN channel based on the ID and path information, and the receiver selects legal data and restores the original VLAN tag.

Benefits of technology

Reduces the configuration workload of network administrators, reduces the possibility of network crashes, avoids broadcast storms, and realizes redundant data transmission under ring topology.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120378356A_ABST
    Figure CN120378356A_ABST
Patent Text Reader

Abstract

The invention discloses a double-path automatic planning and transmission implementation method for time-sensitive network equipment, which comprises the following steps of: (1) determining identity information of redundant path transmission equipment of current TSN (Time Sensitive Network) equipment, the identity information comprising a transmitting end, a receiving end and a relay transmission end; (2) distributing unique ID identifiers to all TSN devices in the whole network; (3) planning two independent data paths 1 and 2, and determining input and output ports of the two paths; and (4) automatically planning VLAN information on the current path 1 and the current path 2. According to the method, the device configuration under each path in the TSN ring network can be automatically constructed only by determining the identity information of the transmitting end, the relay end and the receiving end equipment and planning the path of the key message by a network administrator; and the redundant path of the key transmission is automatically generated by the TSN equipment according to the transmission node and the path without being configured by a network administrator, so that the configuration workload is reduced, and the fault possibility of network crash caused by configuration is reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of computer networks, and particularly relates to a method for realizing dual-path automatic planning and transmission of time-sensitive network devices. Background Art

[0002] In the field of vehicle-mounted communication, considering the complex environment during vehicle operation, there may be problems such as electromagnetic interference or abnormal communication functions caused by the disconnection of the communication link. The IEEE 802.1CB protocol in Time-Sensitive Networking (TSN) defines a redundancy transmission scheme in in-vehicle Ethernet. This scheme uses two independent transmission paths to transmit critical data and requires the topology of devices in the TSN network to be ring-shaped. However, the ring-shaped physical topology may cause a broadcast storm at the data link layer, resulting in the collapse of the data link layer.

[0003] When there is a ring network in the data link layer of the TSN network and relevant ring-breaking protocols such as STP, MSTP, and ERPS are not running, a single broadcast packet will generate an L2 layer broadcast storm in the ring network. The 802.1CB protocol defines that at least two redundant links must be used to transmit critical data in the TSN network. When the network administrator's configuration is abnormal (omitted configuration, incorrect configuration), the two independent redundant links will not be able to operate. Therefore, it is necessary to conduct research on this to solve the problem of data link layer collapse caused by ring network broadcast storms that may occur in the transmission of redundant links in the TSN network. Summary of the Invention

[0004] The present invention provides a method for realizing dual-path automatic planning and transmission of time-sensitive network devices, which solves the problem of data link layer collapse that may occur in the transmission of redundant links in the TSN network. This method only requires the network administrator to determine the identity information of the sending end, relay end, and receiving end devices and plan the transmission path of critical packets, and then can automatically construct the device configuration under each path in the TSN ring network; the redundant path for critical transmission is automatically generated by the TSN device itself according to the transmission nodes and paths, without the need for the network administrator to configure, reducing the configuration workload of the network administrator, thereby reducing the probability of network collapse faults caused by configuration.

[0005] To achieve the above object, the technical solution adopted by the present invention is as follows:

[0006] A method for realizing dual-path automatic planning and transmission of time-sensitive network devices, comprising the following steps:

[0007] (1) Determine the identity information of the redundant path transmission devices of the current TSN device, where the identity information includes three types: the sending end, the receiving end, and the relay transmission end;

[0008] (2) Assign unique ID identifiers to all TSN devices across the network;

[0009] (3) Plan two independent data transmission paths, Path 1 and Path 2, and determine the input and output ports of these two transmission paths;

[0010] (4) Automatically plan the VLAN information on the current Path 1 and Path 2.

[0011] Preferably, step (4) includes the following steps.

[0012] (4.1) Automatically create the VLAN ID values on Path 1 and Path 2, and the TSN device automatically creates the VLAN ID values on the path according to the sender ID and receiver ID of the critical data.

[0013] (4.2) At the sender side, the TSN device performs frame replication operations on the critical data, replaces the VLAN ID values in the original critical data packets with the VLAN ID values of Path 1 and Path 2 respectively, and distributes the critical data after replacing the VLAN ID values to Path 1 and Path 2.

[0014] (4.3) When the critical data is replaced with VLAN tags, it propagates simultaneously in different Path 1 and Path 2 respectively; when the critical data passes through the relay transmission device, the relay transmission device automatically configures the corresponding VLAN channels on the relay transmission device ports according to the ID information and path information of the sender and receiver to be transmitted, and relays the critical data.

[0015] (4.4) When the critical data arrives at the receiver, the receiver receives and caches the data packets of the current critical link, and extracts the critical link data from the two transmission paths; the receiver selects the legal and valid data according to the Seq value of the R-Tag in the critical data of each link, eliminates the data packets on one of the paths, replaces the VLAN ID value with the original critical data, and outputs the critical data packets to the subsequent port.

[0016] Preferably, in step (2), the globally unique identifier of the TSN device is assigned, and the valid range of its ID is 0 to 31, and the valid range in binary is 2`b00000 to 2`b11111.

[0017] Preferably, in step (4), the TSN device completes the configuration of the device ports and the implementation of the forwarding function according to its own identity.

[0018] Preferably, in step (4), the TSN device constructs the protocols for frame replication, frame transmission, and frame elimination of the critical data according to the current identity information.

[0019] Compared with the prior art, the present invention has the following advantages:

[0020] 1. The present invention only requires the network administrator to determine the identity information of the sending end, relay end, and receiving end devices, and plan the transmission path of the key messages, then it can automatically construct the device configurations under each path in the TSN ring network; the redundant paths for key transmissions are automatically generated by the TSN devices themselves according to the transmission nodes and paths, without the need for the network administrator to configure, reducing the configuration workload of the network administrator, thereby reducing the probability of network collapse faults caused by configuration.

[0021] 2. Based on the independent VLAN division of the transmission path, the present invention issues different VLAN configurations for different paths to the TSN devices through the network management controller (the configured path VLANs are all generated by the unique identification ID of the entire TSN network. When different TSN devices have different IDs, the VLANs on their transmission paths are also different). Finally, it can achieve the dual-path redundant transmission of key data in the case of a physical topology loop existing between TSN devices, and there will be no broadcast storm problem at the data link layer without running relevant loop-breaking protocols such as STP, MSTP, and ERPS.

[0022] 3. By creating different VLANs for different paths in the loop, the single-link transmission of key data is realized logically in the message transmission, achieving the loop-breaking function for the L2 layer physical loop. Brief Description of the Drawings

[0023] Figure 1 Schematic diagram for confirming the identity of key data transmission devices of TSN devices;

[0024] Figure 2 Schematic diagram for allocating IDs of key data transmission devices of TSN devices;

[0025] Figure 3 Schematic diagram for confirming the path and port allocation of key data transmission devices of TSN devices;

[0026] Figure 4 Schematic diagram for the key data ring network topology being segmented by VLAN;

[0027] Figure 5 Schematic diagram for the transmission requirements of key data in the TSN network;

[0028] Figure 6 Schematic diagram for device identity and ID allocation in the TSN network;

[0029] Figure 7 Schematic diagram for planning path 1 and path 2 in the TSN network;

[0030] Figure 8Schematic diagram of dual-path transmission of key data in a TSN network. Detailed implementation manners

[0031] In order to make the objectives and advantages of the present invention clearer, the present invention will be described in detail below with reference to the accompanying drawings and embodiments.

[0032] The present invention provides a method for realizing dual-path automatic planning and transmission of a time-sensitive network device. Through this method, key data can be transmitted on two independent paths in a ring network composed of TSN devices, and each TSN device can automatically complete path planning and issuance of relevant configurations. Specifically, the method includes the following steps:

[0033] (1) According to the topology information in the current TSN network, determine the sending end, relay transmission end, and receiving end for key data transmission. Key data undergoes data frame replication operations at the data sending end. Based on the original data frame, an R-Tag data frame header is added; key data is stored and forwarded on relay transmission devices; at the receiving end, the receiving end device waits for key data packets in two paths, and deletes the R-Tag data frame header according to the frame elimination protocol, restores the original input key data, and outputs one of the legal and valid data frames. During the key data transmission process, the identity determination process of each TSN device is as Figure 1 shown.

[0034] (2) According to the topology information of the current TSN network, configure a unique ID information existing in the current network for each TSN device. The value range of this ID information is 0 to 31. In binary, it ranges from 2`b00000 to 2`b11111. This ID is mainly configured on the sending end TSN device that needs to transmit key data and the receiving end TSN device that receives key data; this ID information does not need to be configured on intermediate transmission device end devices. During the key data transmission process, the ID allocation of the sending end TSN device and the receiving end TSN device is as Figure 2 shown.

[0035] (3) The network administrator or the TSN network management software (TSN-NSM) manually plans or the TSN-NSM plans two independent transmission paths according to the topology structure of the current network, and determines the port information of the input and output of key data transmission in each device of the current TSN transmission network. Schematic diagram of confirmation of input and output ports of key data transmission on each device in the TSN network is as Figure 3 shown.

[0036] (4) Each TSN device constructs a frame replication of key data, key data transmission, and a frame elimination protocol for key data according to the current identity information.

[0037] (4.1) Automatically create Transmission Path 1 and Transmission Path 2. The TSN device automatically creates the VLAN ID values on Transmission Path 1 and Transmission Path 2 respectively according to the sender ID and receiver ID of the critical data. The automatic construction structure of the VLAN ID values is shown in Table 1:

[0038] Table 1

[0039]

[0040] Bit11 being forced to 1 indicates that the range of VLAN it uses is between 2048 and 4095.

[0041] Bits 10 to 6 are the ID values of the critical data sender, with a total of 5 bits, and the value range is 0 to 31.

[0042] Bits 5 to 1 are the ID values of the critical data receiver, with a total of 5 bits, and the value range is 0 to 31.

[0043] Bit0 is the path ID bit. 0 indicates the VLAN used by Transmission Path 1; 1 indicates the VLAN used by Transmission Path 2.

[0044] When creating the VLAN division of Transmission Path 1 from sender 1 to receiver 4, the allocation of its VLAN ID is shown in Table 2: The corresponding decimal VLAN ID value is 2120.

[0045] Table 2

[0046]

[0047] When creating the VLAN division of Transmission Path 2 from sender 1 to receiver 4, the allocation of its VLAN ID is shown in Table 3: The corresponding decimal VLAN ID value is 2121.

[0048]

[0049] By creating different paths in different VLANs in the loop, single-link transmission of critical data is realized logically in the message transmission, and the function of breaking the L2 layer physical loop is achieved.

[0050] (4.2) When the critical data is at the sender, the TSN device performs a frame replication operation on the critical data, replaces the VLAN ID values in the original critical data message with the VLAN ID values of Transmission Path 1 and Transmission Path 2 respectively, and distributes the critical data after replacing the VLAN ID values to Transmission Path 1 and Transmission Path 2, as Figure 4 shown.

[0051] (4.3) After the critical data is replaced with a VLAN tag, it is propagated simultaneously in different transmission paths 1 and 2. When the critical data passes through a relay transmission device, the relay transmission device automatically configures the corresponding VLAN channel on the relay transmission device port according to the ID information and path information of the sending end and receiving end that need to be transmitted, and relays and transmits the critical data.

[0052] (4.4) When the critical data arrives at the receiving end, the receiving end will receive and cache the data packets of the current critical link, and extract the critical link data in the two paths. The receiving end selects the legal and valid data according to the Seq value of the R-Tag in the critical data in each link, eliminates the data packets on one of the paths, replaces the VLAN ID value of the original critical data, and outputs the critical data packets to the subsequent port.

[0053] Here, a specific embodiment is listed for specific illustration:

[0054] The present invention is a method for realizing dual-path automatic planning and transmission of time-sensitive network devices, and its specific implementation process is as follows:

[0055] As Figure 5 shown, build a network topology diagram. Assume that a group of critical data needs to be transmitted from TSN1 to TSN4 device, where TSN2 and TSN3, and TSN5 provide two independent transmission paths.

[0056] (1) Determine the topology information of the current network, clarify that the sending end is the TSN1 device, TSN2, TSN3, and TSN5 are relay transmission ends, and TSN4 is the receiving end. The allocation result is as Figure 6 shown.

[0057] (2) Assign unique ID information for the entire TSN network to the sending end and receiving end in the TSN network. In this example, the ID of the sending end is configured as 1, and the ID of the receiving end is 4. The allocation range of the ID is 0 to 31, and the ID only needs to be unique within the range of 0 to 31. The relay end does not need to be assigned an ID. The allocation result is as Figure 6 shown.

[0058] (3) The network administrator or the TSN-NSM controller plans two independent transmission paths according to the topology information of the current TSN network. As Figure 7 shown, Path 1 is TSN1 -> TSN5 -> TSM4, and Path 2 is TSN1 -> TSN2 -> TSN3 -> TSM4.

[0059] (4) Each TSN device constructs two independent VLAN paths operating independently in the ring network according to its own identity information and path information. As Figure 8 shown.

[0060] (4.1) Among them, the VLAN ID constructed by Path 1 is 2`b100001001000, and its decimal representation is 2120; the VLAN ID constructed by Path 2 is 2`b100001001001, and its decimal representation is 2121.

[0061] (4.2) At the sending end, the TSN device activates the VLAN label replacement function, modifies the input VLAN label 10 of the critical data to VLAN ID = 2120 on Path 1 and then transmits it on Path 1; modifies the input label of the critical data to VLAN ID = 2121 on Path 2 and then transmits it on Path 2. And an R-Tag data header is added after the VLAN label of the critical data.

[0062] (4.3) At the relay end, on the TSN5 device, configure the corresponding connected port according to the topology information and Path 1 to Trunk mode, and allow VLAN2120 data packets to pass through the TSN5 port. On the relay end TSN2 and TSN3, configure the corresponding connected ports according to the topology information and Path 2 to Trunk mode, and allow VLAN2121 data packets to pass through the TSN2 and TSN3 ports.

[0063] (4.4) At the receiving end, the TSN4 device waits to receive the data packets on the two paths, extracts the R-Tag data header therein, and caches and waits for the data packets on the two paths according to the Seq sequence number value carried in the R-Tag data header. The receiving end sequentially verifies the legality of the packets on the two paths and discards the illegal data packets. Finally, from the valid data packets, one data packet is selected for output. In this example, it is the VLAN2120 data packet, and the R-Tag value is deleted, and at the same time, the VLAN label value of the original critical data packet is restored, that is, VLAN10. The critical data packet is output through the TSN4 device with VLAN10.

[0064] Through the above process, the critical data can be transmitted in the TSN ring network according to two independent paths automatically planned between devices. Since all the configured path VLANs are generated by the unique identification IDs of the entire TSN network, when different TSN devices have different IDs, the VLANs on their transmission paths are also different. Through this method, it is possible to achieve redundant transmission of critical data through two independent logical paths even when there is a loop.

[0065] The above embodiments are only specific examples for further detailed description of the purpose, technical solution and beneficial effects of the present invention, and the present invention is not limited thereto. Any modifications, equivalent replacements, improvements, etc. made within the scope of the disclosure of the present invention are included in the protection scope of the present invention.

Claims

1. A method for realizing dual-path automatic planning and transmission of time-sensitive network devices, characterized in that: It includes the following steps: (1) Determine the identity information of the redundant path transmission device of the current TSN device, where the identity information includes three types: sender, receiver, and relay transmission end; (2) Assign a unique ID identifier to all TSN devices in the whole network; (3) Plan two independent data transmission paths 1 and 2, and determine the input and output ports of these two transmission paths; (4) Automatically plan the VLAN information on the current transmission path 1 and transmission path 2.

2. The method for realizing dual-path automatic planning and transmission of a time-sensitive network device according to claim 1, wherein: Step (4) includes the following steps, (4.1) Automatically create for transmission path 1 and transmission path 2, and the TSN device automatically creates the VLAN ID value on the path according to the sender ID and receiver ID of the key data; (4.2) At the sender, the TSN device performs a frame replication operation on the key data, replaces the VLAN ID values in the original key data packet with the VLAN ID values of transmission path 1 and transmission path 2 respectively, and distributes the key data after replacing the VLAN ID value to transmission path 1 and transmission path 2; (4.3) When the key data is replaced with VLAN tags, it propagates simultaneously in different transmission paths 1 and 2 respectively; when the key data passes through the relay transmission device, the relay transmission device automatically configures the corresponding VLAN channel on the relay transmission device port according to the ID information and path information of the sender and receiver to be transmitted, and relays the key data; (4.4) When the key data arrives at the receiver, the receiver will receive and cache the data packets of the current key link, and extract the key link data in the two transmission paths; the receiver selects the legal and valid data according to the Seq value of the R-Tag in the key data in each link, eliminates the data packets on one of the paths, replaces it with the original VLANID value of the key data, and outputs the key data packet to the subsequent port.

3. A method for realizing dual-path automatic planning and transmission of a time-sensitive network device according to claim 1, characterized in that: In step (2), a unique identifier for the whole network of TSN devices is assigned, and the valid range of its ID is 0 to 31, and the valid range in binary is 2`b00000 to 2`b11111.

4. A method for realizing dual-path automatic planning and transmission of a time-sensitive network device according to claim 1, characterized in that: In step (4), the TSN device completes the configuration of the device port and the implementation of the forwarding function according to its own identity.

5. A method for realizing dual-path automatic planning and transmission of a time-sensitive network device according to claim 1, characterized in that: In step (4), the TSN device constructs a protocol for frame replication, frame transmission, and frame elimination of key data according to the current identity information.

Citation Information

Patent Citations

  • Route bridging method, network bridge equipment and bridging network

    CN101494583A

  • Flow protection method and device for shortest path bridging network

    CN104283778A

  • Time-sensitive network frame copying and eliminating and seamless redundancy interconnection method

    CN111447186A

  • System, method and device for transferring data of MODBUS / TCP protocol in TSN and equipment

    CN112087461A

  • Data transmission method and device, electronic equipment and storage medium

    CN118338332A