WO2024149033A1 - 5gs tsn虚拟网桥的防环路方法、设备及存储介质 - Google Patents
5gs tsn虚拟网桥的防环路方法、设备及存储介质 Download PDFInfo
- Publication number
- WO2024149033A1 WO2024149033A1 PCT/CN2023/139937 CN2023139937W WO2024149033A1 WO 2024149033 A1 WO2024149033 A1 WO 2024149033A1 CN 2023139937 W CN2023139937 W CN 2023139937W WO 2024149033 A1 WO2024149033 A1 WO 2024149033A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- loop
- mapping relationship
- tsn
- port
- virtual bridge
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Ceased
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/42—Loop networks
- H04L12/437—Ring fault isolation or reconfiguration
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/40—Bus networks
- H04L12/40169—Flexible bus arrangements
- H04L12/40176—Flexible bus arrangements involving redundancy
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L45/00—Routing or path finding of packets in data switching networks
- H04L45/18—Loop-free operations
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L45/00—Routing or path finding of packets in data switching networks
- H04L45/66—Layer 2 routing, e.g. in Ethernet based MAN's
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L45/00—Routing or path finding of packets in data switching networks
- H04L45/74—Address processing for routing
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L47/00—Traffic control in data switching networks
- H04L47/10—Flow control; Congestion control
- H04L47/28—Flow control; Congestion control in relation to timing considerations
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W24/00—Supervisory, monitoring or testing arrangements
- H04W24/04—Arrangements for maintaining operational condition
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/40—Bus networks
- H04L2012/4026—Bus for use in automation systems
Definitions
- the present application relates to the field of time-sensitive network technology, and in particular to an anti-loop method, device and storage medium for a 5GS TSN virtual bridge.
- redundancy mechanisms that is, the method of duplicating data frames, are generally used to ensure the reliability of end-to-end device communications.
- duplicate data frames will reduce network throughput and cause network congestion.
- the IEEE802.1CB protocol (the redundancy protocol in the TSN (Time-Sensitive Network) standard) defines a solution for implementing redundant transmission in Ethernet networks. That is, redundancy is eliminated by inserting redundant tags with serial numbers into data frames. At the data receiver, the redundant tags are used to determine whether the data frame is a previously received duplicate frame, and the duplicate frame is deleted, leaving only one data frame, thereby preventing the reception of multiple identical data frames and causing network congestion.
- the prerequisite for implementing the above scheme is that there are redundant paths for data transmission in the network.
- the NW-TT (Network-side TSN translator) in the 5GS TSN virtual bridge has limited resources and cannot provide an independent NW-TT for each DS-TT (Device-side TSN translator).
- multiple DS-TTs are connected through one NW-TT.
- broadcast or multicast when the NW-TT receives a message sent by a terminal, the NW-TT will send the message from other DS-TTs to form a loop. Once a loop occurs, the broadcast or multicast may be forwarded in an infinite loop in the network, causing a network storm and causing the devices in the network to be impacted.
- the main purpose of this application is to provide a 5GS TSN virtual bridge loop prevention method, device, equipment and storage medium, aiming to solve the technical problem that it is difficult to effectively protect broadcast or multicast loops in the 5GS TSN virtual bridge.
- the present application provides a loop prevention method for a 5GS TSN virtual bridge, which is applied to the NW-TT in the 5GS TSN virtual bridge.
- the 5GS TSN virtual bridge also includes a DS-TT, and one NW-TT corresponds to multiple DS-TTs.
- the anti-loop method of the 5GS TSN virtual bridge includes the following steps:
- the preset anti-loop mapping relationship table is used to store the preset anti-loop mapping relationship between multiple DS-TT corresponding ports and the anti-loop identifier.
- FIG1 is a flow chart of a first embodiment of a method for preventing loops in a 5GS TSN virtual bridge of the present application
- FIG2 is a schematic diagram of a first scenario of a 5GS TSN virtual bridge loop prevention method according to a first embodiment of the present application
- FIG3 is a schematic diagram of a second scenario of the anti-loop method of the 5GS TSN virtual bridge of the first embodiment of the present application.
- FIG4 is a schematic diagram of a third scenario of the anti-loop method of the 5GS TSN virtual bridge of the first embodiment of the present application.
- FIG5 is a schematic diagram of a fourth scenario of the anti-loop method of the 5GS TSN virtual bridge of the second embodiment of the present application.
- FIG6 is a schematic diagram of the fifth scenario of the anti-loop method of the 5GS TSN virtual bridge of the second embodiment of the present application.
- FIG7 is a schematic diagram of the sixth scenario of the anti-loop method of the 5GS TSN virtual bridge of the third embodiment of the present application.
- FIG8 is a schematic diagram of the seventh scenario of the anti-loop method of the 5GS TSN virtual bridge of the third embodiment of the present application.
- Figure 9 is a structural schematic diagram of the anti-loop device of the 5GS TSN virtual bridge in the hardware operating environment involved in the embodiment of the present application.
- first, second, third, etc. may be used to describe various information in this article, these information should not be limited to these terms. These terms are only used to distinguish the same type of information from each other.
- first information may also be referred to as the second information
- second information may also be referred to as the first information.
- the present application embodiment provides a 5GS TSN virtual bridge loop prevention method, referring to FIG. 1 , in this embodiment,
- the anti-loop method of the 5GS TSN virtual bridge includes:
- Step S10 When receiving a message sent by a target port corresponding to the DS-TT, identifying an anti-loop identifier corresponding to the target port;
- Step S20 Determine whether the anti-loop identifier exists in the preset anti-loop mapping relationship table. If so, do not send the message to the port corresponding to the anti-loop identifier, wherein the preset anti-loop mapping relationship table is used to store the preset anti-loop mapping relationship between multiple DS-TT corresponding ports and the anti-loop identifier.
- the reliability of end-to-end device communication is generally ensured by a redundancy mechanism, that is, by duplicating data frames.
- duplicate data frames will reduce network throughput and cause network congestion.
- the IEEE802.1CB protocol (the redundancy protocol in the TSN standard) defines a solution for implementing redundant transmission in Ethernet networks, that is, by inserting redundant tags with serial numbers into data frames to eliminate redundancy.
- the redundant tags are used to determine whether the data frame is a previously received duplicate frame, and the duplicate frame is deleted, leaving only one data frame, thereby preventing the reception of multiple identical data frames from causing end-side abnormalities.
- the prerequisite for implementing the above scheme is that there are redundant paths for data transmission in the network.
- the present application involves a 5GS TSN virtual bridge that regards the 5GS as a whole as a virtual TSN bridge.
- the NW-TT resources in the 5GS TSN virtual bridge are limited, and it is impossible to provide an independent NW-TT for each DS-TT.
- multiple DS-TTs (DS-TT1, DS-TT2, etc.) are generally connected through one NW-TT.
- the NW-TT will send the message from all other DS-TTs to form a loop.
- the broadcast or multicast may be forwarded in an infinite loop in the network, causing a network storm and causing the devices in the network to be impacted. Therefore, in the external redundant networking scenario, the NW-TT and the external switch that supports the IEEE802.1CB protocol may form a loop.
- DS-TT1 and DS-TT2 reach NW-TT through two different PDU (Packet Data Unit) sessions.
- DS-TT1 sends a broadcast message to NW-TT
- DS-TT2 sends a broadcast message to NW-TT.
- NW-TT will send the broadcast message sent by DS-TT1 back to the CB switch from DS-TT2, forming a loop.
- loops may also be formed between multi-level TSN switches, as shown in Figure 3.
- anti-loop means preventing the occurrence of a loop phenomenon.
- the anti-loop method of the 5GS TSN virtual bridge is applied to the NW-TT in the 5GS TSN virtual bridge.
- a virtual bridge implements LAN interconnection at the data link layer, and its main function is to forward data packets between connected network interfaces.
- the 5GS TSN virtual bridge includes NW-TT and DS-TT, and one NW-TT corresponds to multiple DS-TTs.
- This embodiment aims to: by identifying DS-TTs belonging to the same broadcast/multicast loop, block the propagation of messages between DS-TTs in the same loop, solve the problem of broadcast loops caused when one NW-TT is connected to multiple DS-TTs, and further solve the broadcast/multicast loop problem between the NW-TT and an external switch supporting the IEEE802.1CB protocol.
- Step S10 When receiving a message sent by a target port corresponding to the DS-TT, identifying an anti-loop identifier corresponding to the target port;
- the terminal station x1 (End Station 1) sends a message to DS-TT1 through port 1, and DS-TT1 then sends it to NW-TT through a PDU (Packet Data Unit) session initiated by the user terminal (UE1).
- PDU Packet Data Unit
- the PDU session establishment process is initiated by the user terminal side, and the purpose is to establish a new PDU session (a data transmission channel between the user terminal and the external network) between the user terminal and the NW-TT.
- the destination port is the port through which the DS-TT sends the message.
- the message may be a broadcast message or a multicast message, etc., which is not specifically limited.
- the anti-loop identifier is an identifier of the message itself or an identifier pre-configured for each port, etc., which is not specifically limited.
- the anti-loop identifier can be the source MAC (Media Access Control) address of the message itself, or a redundant group tag configured for each port, etc., without specific limitation.
- NW-TT when NW-TT receives a message sent by the target port corresponding to DS-TT, it identifies the anti-loop identifier corresponding to the target port, that is, it identifies the source MAC address of the terminal station that sends the message corresponding to the target port, or identifies the redundant group label pre-configured for the target port, etc., without specific limitation.
- Step S20 Determine whether the anti-loop identifier exists in the preset anti-loop mapping relationship table. If so, do not send the message to the port corresponding to the anti-loop identifier, wherein the preset anti-loop mapping relationship table is used to store the preset anti-loop mapping relationship between multiple DS-TT corresponding ports and the anti-loop identifier.
- the preset anti-loop mapping relationship table is used to store the corresponding ports of multiple DS-TTs and the anti-loop mapping relationship table.
- the preset anti-loop mapping relationship table can store the preset anti-loop mapping relationship between the port corresponding to DS-TT1 and the anti-loop identification 1, and can also store the preset anti-loop mapping relationship between the port corresponding to DS-TT1 and the preset anti-loop 2, and can also store the preset anti-loop mapping relationship between the port corresponding to DS-TT2 and the anti-loop identification 1, etc., without specific limitation.
- the NW-TT when the above-mentioned NW-TT receives a message sent by the target port corresponding to the DS-TT, after identifying the anti-loop identifier corresponding to the target port, it determines whether the anti-loop identifier exists in the preset anti-loop mapping relationship table; that is, it searches the preset anti-loop mapping relationship table to see whether there is an anti-loop identifier corresponding to the target port. If so, the message is not sent to the port corresponding to the anti-loop identifier.
- the preset anti-loop mapping relationship table contains an anti-loop identifier corresponding to the target port, then based on the preset anti-loop mapping relationship between the anti-loop identifier corresponding to the target port and other ports recorded in the preset anti-loop mapping relationship table, the message is not sent to the port corresponding to the anti-loop identifier corresponding to the target port (target port + other ports).
- the preset anti-loop mapping relationship table records the preset anti-loop mapping relationship between the port corresponding to DS-TT1 and the anti-loop identifier 1, and also records the preset anti-loop mapping relationship between the port corresponding to DS-TT2 and the anti-loop identifier 1, that is, the port corresponding to DS-TT1 and the port corresponding to DS-TT2 belong to a broadcast/multicast loop
- NW-TT determines that the anti-loop identifier exists in the preset anti-loop mapping relationship table, and does not send the message to the port corresponding to DS-TT2 corresponding to the anti-loop identifier corresponding to the port corresponding to DS-TT1, but only sends the message to the port corresponding to DS-TT3 that does not correspond to the anti-loop identifier corresponding to the port corresponding to DS-TT1, thereby preventing NW-TT from sending the message from the port
- the message sent by the target port received by the NW-TT may be sent by the terminal through multiple DS-TT corresponding ports, when it is determined that a loop may be caused if the message is sent to the port corresponding to the anti-loop identifier, the message can be targeted not to be sent to the port corresponding to the anti-loop identifier, effectively protecting the loop that may be caused by broadcast or multicast in the 5GS TSN virtual bridge.
- the method when a message sent by a target port corresponding to a DS-TT is received, after the step of identifying an anti-loop identifier corresponding to the target port, the method further includes:
- Step S30 Check whether there is a source corresponding to the terminal sending the message in the first anti-loop mapping relationship table.
- the anti-loop identifier includes a source MAC address
- the preset anti-loop mapping relationship table includes a first anti-loop mapping relationship table, which is used to store the first anti-loop mapping relationship between the port numbers of the ports corresponding to the multiple DS-TTs and the multiple source MAC addresses.
- the DS-TT corresponding port in the first anti-loop mapping relationship can be represented by a port number or other specified character string, etc., which is not specifically limited.
- NW-TT can, through self-learning (no data is stored in the first anti-loop mapping relationship table), after receiving the message and identifying the source MAC address of the terminal station that sent the message through the target port, query whether there is a first anti-loop mapping relationship between the target port and the corresponding source MAC address in the first anti-loop mapping relationship table.
- the source MAC address in the message After receiving a message sent by terminal station x1 through the corresponding port of DS-TT1, identify the source MAC address in the message as the source MAC address x1 of terminal station x1, and query whether there is a mapping relationship between the corresponding port of DS-TT1 and the source MAC address x1 in the first anti-loop mapping relationship table.
- terminal station x1 sends a message to UPF/NW-TT (NW-TT can be set separately or in UPF) through port port-1 of DS-TT1, and the source MAC address of the message is the MAC address of terminal station x1; terminal station x1 sends a message to UPF/NW-TT through port port-2 of DS-TT2, and the source MAC address of the message is the MAC address of terminal station x1.
- NW-TT can be set separately or in UPF
- the source MAC address of the message is the MAC address of terminal station x1
- terminal station x1 sends a message to UPF/NW-TT through port port-2 of DS-TT2
- the source MAC address of the message is the MAC address of terminal station x1.
- the CB switch connects terminal station x1 and terminal station x2.
- the broadcast/multicast message sent from the CB switch can be sent to UPF/NW-TT in sequence through port-1, DS-TT1, and UE1, and can also be sent to UPF/NW-TT in sequence through port-2, DS-TT2, and UE2.
- the messages of terminal station x1 and terminal station x2 are sent redundantly.
- Terminal station y1 can send broadcast messages to UPF/NW-TT in sequence through port-3, DS-TT3, and UE3; after receiving the broadcast/multicast message, UPF/NW-TT self-learns the mapping relationship between the source MAC address of the message and the port corresponding to DS-TT, and stores the first anti-loop mapping relationship table between the source MAC address of the message and the port corresponding to DS-TT, as shown in Table 1 below.
- Table 1 The first anti-loop mapping relationship table
- source MAC address x1 and source MAC address x2 are maintained under DS-TT1
- source MAC address x1 and source MAC address x2 are maintained under DS-TT2
- source MAC address y1 is maintained under DS-TT3.
- Step S40 If it does not exist, the second anti-loop mapping relationship between the source MAC address and the port number of the target port is stored in the first anti-loop mapping relationship table.
- the mapping relationship between the DS-TT1 corresponding port and the source MAC address x1 does not exist in the first anti-loop mapping relationship table. If it does not exist, the second anti-loop mapping relationship between the source MAC address and the port number of the target port is stored in the first anti-loop mapping relationship table. If it exists, the first anti-loop mapping relationship table is not updated.
- UPF/NW-TT determines based on the source MAC address of the message (00-11-12-13-00-00) that there are MAC address records of terminal station x1 under DS-TT1 (port number: 1000) and DS-TT2 (port number: 2000), and does not send broadcast/multicast messages to DS-TT1 and DS-TT2; there is no MAC address record of x1 under DS-TT3 (port number: 3000), and sends broadcast/multicast messages to the DS-TT3 port.
- the first anti-loop mapping relationship between multiple DS-TT corresponding ports and multiple source MAC addresses is continuously updated to the first anti-loop mapping relationship table, as shown in Table 1.
- the method of obtaining the first anti-loop mapping relationship table through the above-mentioned NW-TT self-learning can save the time of configuring the first anti-loop mapping relationship in the first anti-loop mapping relationship table, thereby improving the anti-loop efficiency.
- the 5GS TSN virtual bridge also includes multiple network elements of the 5GS core network control plane link, and the multiple network elements of the control plane link include application function network element AF and other network elements; the first anti-loop mapping relationship is configured by CNC for each port during the process of configuring PSFP parameters, and is sent to the local through the application function network element AF and the other network elements, wherein the configured PSFP parameters include source MAC addresses corresponding to multiple ports.
- the entire 5G system acts as a virtual bridge in the TSN network, which includes the core network elements of 5GS (AF (Application Function, application function network element), NEF (Network Exposure Function, network open function network element), PCF (Policy Control Function, policy control function network element), UDM (Unified Data Management, unified data management function network element), SMF (Session Management function, session management function network element), AMF (Access and Mobility Management Function, access and mobility management function network element), UPF (User Plane Function, user plane function network element), NW-TT), RAN (Wireless Access Network), UE/DS-TT (DS-TT It can be set individually or in the UE), 5G GM (5G internal system clock).
- the 5GS TSN virtual bridge is managed collaboratively with the CNC (centralized network configuration) via the TSN AF.
- the first anti-loop mapping relationship is configured by the CNC for each port during the process of configuring PSFP parameters, and is sent to the local through the application function network element AF through the other network elements, wherein the configured PSFP parameters include source MAC addresses corresponding to multiple ports.
- the CNC configures the mapping relationship between each DS-TT corresponding port and the source MAC address during the process of configuring PSFP parameters; after the CNC completes the PSFP parameter configuration, it sends the PSFP information to the AF, and the PSFP information includes the first anti-loop mapping relationship between each DS-TT corresponding port and multiple source MAC addresses (as shown in Table 1); the AF extracts the first anti-loop mapping relationship and transmits the first anti-loop mapping relationship to the PCF through the N5 port message; the PCF transmits it to the SMF through the N7 port message; the SMF transmits it to the UPF/NW-TT through the N4 port message; after the UPF/NW-TT receives the first anti-loop mapping relationship, it stores it in the first anti-loop mapping relationship table preset locally.
- N5 port messages, N7 port messages, and N4 port messages are respectively the numbers of information transmission channels between specific network elements specified in the 3GPP (3rd Generation
- manually configuring the first anti-loop mapping relationship in the CNC can save certain network resources and improve the anti-loop efficiency.
- the step of not sending the message to the port corresponding to the anti-loop identifier includes:
- Step A1 querying and obtaining a plurality of port numbers corresponding to the source MAC address from the first anti-loop mapping relationship table;
- multiple port numbers corresponding to the source MAC address are queried from the first anti-loop mapping relationship table. For example, UPF/NW-TT obtains multiple port numbers (1000 and 2000) based on the source MAC address (00-11-12-13-00-00).
- Step A2 Do not send the message to the ports corresponding to the multiple port numbers corresponding to the source MAC address.
- UPF/NW-TT does not send broadcast/multicast messages to DS-TT1 and DS-TT2 corresponding to the above-queried ports; it only sends broadcast/multicast messages to DS-TT3 corresponding to the unqueried port.
- mapping relationship between the source MAC address carried by the message and the target port for sending the message it is determined whether there is a mapping relationship between the source MAC address and other ports. If so, these ports are regarded as the same loop, and the message is blocked from propagating between DS-TTs in the same loop, so as to solve the problem of broadcast loop caused by connecting multiple DS-TTs to one NW-TT, without adding other identifiers, thereby reducing the difficulty of loop protection.
- the step of not sending the message to the port corresponding to the anti-loop identifier includes:
- Step C1 querying from the second anti-loop mapping relationship table to obtain a plurality of port numbers corresponding to the target redundancy group tag, wherein the target redundancy group tag corresponds to the target port;
- the anti-loop identifier also includes multiple redundant group tags
- the preset anti-loop mapping relationship table also includes a second anti-loop mapping relationship table, which is used to store a third anti-loop mapping relationship between multiple redundant group tags and multiple DS-TT corresponding ports.
- the redundant group tag may be a string of characters or an identifier, etc., which is not specifically limited.
- the third anti-loop mapping relationship between multiple redundant group tags and multiple DS-TT corresponding ports can be a mapping relationship between redundant group tag 1 and DS-TT1 and DS-TT2 corresponding ports, or a mapping relationship between redundant group tag 1 and DS-TT2 and DS-TT3 corresponding ports, etc., without specific limitation.
- the 5GS TSN virtual bridge also includes multiple network elements of the 5GS core network control plane link, and the multiple network elements of the control plane link include the application function network element AF and other network elements; the third anti-loop mapping relationship is pre-configured on the application function network element AF for each DS-TT corresponding port, and sent to the local through the other network elements.
- a redundant group tag of the port number of each DS-TT corresponding port is configured on the AF, and the relationship between the port number of each DS-TT corresponding port and the redundant group tag is transmitted to the UPF/NW-TT through other network elements.
- a redundant group tag of the port number of each DS-TT corresponding port is configured on the AF.
- configuring a redundant group tag of the port number of each DS-TT corresponding port on the AF can play a role in centrally managing the ports corresponding to each DS-TT, which is convenient for global control.
- the AF passes the redundant group tag of the current PDU session to the PCF through the N5 port message; the PCF passes the redundant group tag of the PDU session to the SMF through the N7 port message; the SMF passes the redundant group tag of the PDU session to the UPF/NW-TT through the N4 port message.
- the third anti-loop mapping relationship can also be pre-configured on each DS-TT and sent to the local area through multiple network elements of the 5GS core network control plane link.
- the relationship between the port number and the redundant group tag of the corresponding port is configured on each DS-TT; the DS-TT transparently transmits the redundant group field of the port corresponding to the DS-TT to the AMF through the N2 port; the AMF transparently transmits the relationship between the port number and the redundant group tag of the port corresponding to the DS-TT to the SMF through the N11 port; the SMF transparently transmits the relationship between the port number and the redundant group tag of the port corresponding to the DS-TT to the PCF through the N7 port; the PCF transparently transmits the relationship between the port number and the redundant group tag of the port corresponding to the DS-TT to the AF through the N5 port, wherein the N2 port message and the N11 port message are respectively specified in the 3GPP protocol.
- the relationship between the port number of the corresponding port and the redundant group label is configured on each DS-TT, so as to avoid the problem that the amount of global configuration information is large and the processing process is complicated due to the large number of DS-TTs. It is configured on each DS-TT, which can be used out of the box and has strong pertinence.
- AF passes the redundant group tag of the PDU session to PCF through the N5 port message;
- PCF passes the redundant group tag of the PDU session to SMF through the N7 port message;
- SMF passes the redundant group tag of the PDU session to UPF/NW-TT through the N4 port message, and
- UPF/NW-TT stores the mapping relationship between the port number of the corresponding port of DS-TT and the redundant group tag.
- the step of determining whether the anti-loop identifier exists in the preset anti-loop mapping relationship table includes:
- Step B1 Obtaining the redundancy group field in the information of the PDU session corresponding to the terminal sending the message;
- a redundant group field corresponding to the redundant group tag in the third anti-loop mapping relationship is newly added to the information of the PDU session corresponding to each terminal.
- a redundancy group field is added to the PDU session, and the initial value of the field is 0.
- the AF fills in the redundancy group field value of the PDU session as 100 or 10, etc., and there is no specific limitation.
- the UPF/NW-TT after receiving the redundant group tag of the PDU session transmitted by the SMF, the UPF/NW-TT obtains the redundant group field in the information of the PDU session corresponding to the terminal sending the message.
- the redundant group field in the information of the PDU session corresponding to the terminal sending the message is 100 or 10, etc., which is not specifically limited.
- Step B2 If the redundancy group field exists in the second anti-loop mapping relationship table, determine that the target redundancy group tag exists in the second anti-loop mapping relationship table.
- UPF/NW-TT queries whether the redundant group field value 100 exists in the PDU session in the second anti-loop mapping relationship table. If so, it is determined that the target redundant group tag exists in the second anti-loop mapping relationship table, and the ports corresponding to DS-TT1 and DS-TT2 are maintained under the target redundant group tag.
- Step C2 Do not send the message to the ports corresponding to the multiple port numbers corresponding to the target redundancy group tag.
- the broadcast/multicast messages are not forwarded to the DS-TT1 corresponding port and the DS-TT2 corresponding port corresponding to the target redundant group label corresponding to the redundant group field value of 100, and the broadcast/multicast messages are only forwarded to the DS-TT3 corresponding port.
- redundant group tags by configuring redundant group tags, it is possible to detect and block the propagation of messages between DS-TTs in the same loop, so as to solve the problem of broadcast loops caused when one NW-TT is connected to multiple DS-TTs.
- the redundant group tags are ready to use, convenient and independent.
- the redundancy mechanism is widely used, such as in industrial applications.
- the anti-loop method of the 5GS TSN virtual bridge of this application can be used to solve the problem of broadcast or multicast loops, and using one UPF/NW-TT to connect multiple DS-TTs reduces the cost of use.
- FIG. 9 is a schematic diagram of the device structure of the hardware operating environment involved in the embodiment of the present application.
- the anti-loop device of the 5GS TSN virtual bridge may include: a processor 1001, a memory 1005, and a communication bus 1002.
- the communication bus 1002 is used to realize the connection communication between the processor 1001 and the memory 1005.
- the anti-loop device of the 5GS TSN virtual bridge may also include a user interface, a network interface, a camera, an RF (Radio Frequency) circuit, a sensor, a WiFi module, etc.
- the user interface may include a display screen (Display), an input submodule such as a keyboard (Keyboard), and the user interface may also include a standard wired interface and a wireless interface.
- the network interface may include a standard wired interface and a wireless interface (such as a WI-FI interface).
- the anti-loop device structure of the 5GS TSN virtual bridge shown in Figure 9 does not constitute a limitation on the anti-loop device of the 5GS TSN virtual bridge, and may include more or fewer components than shown in the figure, or a combination of certain components, or a different arrangement of components.
- the memory 1005 as a storage medium may include an operating system, a network communication module, and an anti-loop program of the 5GS TSN virtual bridge.
- the operating system is a program that manages and controls the hardware and software resources of the anti-loop device of the 5GS TSN virtual bridge, and supports the operation of the anti-loop program of the 5GS TSN virtual bridge and other software and/or programs.
- the network communication module is used to realize the communication between the components inside the memory 1005, and to communicate with other hardware and software in the anti-loop system of the 5GS TSN virtual bridge.
- the processor 1001 is used to execute the anti-loop program of the 5GS TSN virtual bridge stored in the memory 1005 to implement the steps of the anti-loop method of the 5GS TSN virtual bridge described in any of the above items.
- the present application also provides a storage medium, on which is stored an anti-loop program for a 5GS TSN virtual bridge.
- an anti-loop program for a 5GS TSN virtual bridge When the anti-loop program for the 5GS TSN virtual bridge is executed by a processor, the steps of the anti-loop method for the 5GS TSN virtual bridge as described in any one of the above items are implemented.
- the specific implementation method of the storage medium of the present application is basically the same as the above-mentioned embodiments of the anti-loop method of the 5GS TSN virtual bridge, and will not be repeated here.
- the technical solution of the present application is essentially or the part that contributes to the prior art can be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) as described above, and includes a number of instructions for a terminal device (which can be a mobile phone, computer, server, air conditioner, or network device, etc.) to execute the methods described in each embodiment of the present application.
- a storage medium such as ROM/RAM, magnetic disk, optical disk
- a terminal device which can be a mobile phone, computer, server, air conditioner, or network device, etc.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Small-Scale Networks (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
Description
Claims (10)
- 一种5GS TSN虚拟网桥的防环路方法,应用于5GS TSN虚拟网桥中的NW-TT,所述5GS TSN虚拟网桥还包括DS-TT,一个NW-TT与多个DS-TT对应;所述5GS TSN虚拟网桥的防环路方法,包括以下步骤:当接收到DS-TT对应目标端口发送的报文时,识别所述目标端口对应的防环路标识;确定预设防环路映射关系表中是否存在所述防环路标识,若存在,则不将所述报文发送给所述防环路标识所对应的端口,其中,所述预设防环路映射关系表用于存储多个DS-TT对应端口与所述防环路标识之间的预设防环路映射关系。
- 如权利要求1所述的5GS TSN虚拟网桥的防环路方法,其中,所述防环路标识包括源MAC地址,所述预设防环路映射关系表包括第一防环路映射关系表,所述第一防环路映射关系表用于存储所述多个DS-TT对应端口的端口号与多个源MAC地址的之间的第一防环路映射关系;所述当接收到DS-TT对应目标端口发送的报文时,识别所述目标端口对应的防环路标识的步骤之后,所述方法还包括:查询所述第一防环路映射关系表中是否存在发送所述报文的终端对应的源MAC地址与目标端口的之间的映射关系;若不存在,则将所述源MAC地址与所述目标端口的端口号之间的第二防环路映射关系,存储至所述第一防环路映射关系表中。
- 如权利要求2所述的5GS TSN虚拟网桥的防环路方法,其中,所述不将所述报文发送给所述防环路标识所对应的端口的步骤,包括:从所述第一防环路映射关系表中查询得到与所述源MAC地址对应的多个端口号;不将所述报文发送给所述与源MAC地址对应的多个端口号所对应端口。
- 如权利要求3所述的5GS TSN虚拟网桥的防环路方法,其中,所述5GS TSN虚拟网桥还包括5GS核心网控制面链路的多个网元,所述控制面链路的多个网元包括应用功能网元AF以及其他网元;所述第一防环路映射关系是CNC在配置PSFP参数过程中为每个端口进行配置,并 经应用功能网元AF通过所述其他网元发送至本地的,其中,完成配置的PSFP参数中包括与多个端口对应的源MAC地址。
- 如权利要求1所述的5GS TSN虚拟网桥的防环路方法,其中,所述防环路标识还包括多个冗余组标签,所述预设防环路映射关系表还包括第二防环路映射关系表,所述第二防环路映射关系表用于存储多个冗余组标签和多个DS-TT对应端口之间的第三防环路映射关系;所述不将所述报文发送给所述防环路标识所对应的端口的步骤,包括:从第二防环路映射关系表中查询得到与目标冗余组标签对应的多个端口号,其中,所述目标冗余组标签与所述目标端口对应;不将所述报文发送给与所述目标冗余组标签对应的多个端口号所对应端口。
- 如权利要求5所述的5GS TSN虚拟网桥的防环路方法,其中,所述5GS TSN虚拟网桥还包括5GS核心网控制面链路的多个网元,所述控制面链路的多个网元包括应用功能网元AF和其他网元;所述第三防环路映射关系是预先在应用功能网元AF上为每个DS-TT对应端口进行配置,并通过所述其他网元发送至本地的。
- 如权利要求5所述的5GS TSN虚拟网桥的防环路方法,其中,所述第三防环路映射关系是预先在每个DS-TT上配置,并通过所述5GS核心网控制面链路的多个网元发送至本地的。
- 如权利要求6或7所述的5GS TSN虚拟网桥的防环路方法,其中,在完成所述第三防环路映射关系的配置之后,每个终端对应PDU会话的信息中新增与所述第三防环路映射关系中冗余组标签对应的冗余组字段;所述确定预设防环路映射关系表中是否存在所述防环路标识的步骤,包括:获取发送所述报文的终端对应PDU会话的信息中的冗余组字段;若所述第二防环路映射关系表中存在与所述冗余组字段,则确定所述第二防环路映射关系表中存在所述目标冗余组标签。
- 一种5GS TSN虚拟网桥的防环路设备,其中,所述设备包括:存储器、处理器及存储在所述存储器上并可在所述处理器上运行的5GS TSN虚拟网桥的防环路程序,所述5GS TSN虚拟网桥的防环路程序配置为实现如权利要求1至8中任一项所述的5GS TSN虚拟网桥的防环路方法的步骤。
- 一种存储介质,其中,所述存储介质上存储有5GS TSN虚拟网桥的防环路程序,所述5GS TSN虚拟网桥的防环路程序被处理器执行时实现如权利要求1至8任一项所述的5GS TSN虚拟网桥的防环路方法的步骤。
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| EP23915787.8A EP4645767A4 (en) | 2023-01-13 | 2023-12-19 | Anti-loop process for TSN 5GS virtual bridge, device and storage support |
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202310059703.0 | 2023-01-13 | ||
| CN202310059703.0A CN118353738A (zh) | 2023-01-13 | 2023-01-13 | 5gs tsn虚拟网桥的防环路方法、设备及存储介质 |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2024149033A1 true WO2024149033A1 (zh) | 2024-07-18 |
Family
ID=91814413
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2023/139937 Ceased WO2024149033A1 (zh) | 2023-01-13 | 2023-12-19 | 5gs tsn虚拟网桥的防环路方法、设备及存储介质 |
Country Status (3)
| Country | Link |
|---|---|
| EP (1) | EP4645767A4 (zh) |
| CN (1) | CN118353738A (zh) |
| WO (1) | WO2024149033A1 (zh) |
Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101917298A (zh) * | 2010-09-02 | 2010-12-15 | 杭州华三通信技术有限公司 | 一种基于vlan的环路监测方法和设备 |
| CN106789192A (zh) * | 2016-12-06 | 2017-05-31 | 无锡路通视信网络股份有限公司 | 系统环路故障的检测与处理方法、系统以及epon终端中应用 |
| CN108306834A (zh) * | 2017-12-28 | 2018-07-20 | 中国银联股份有限公司 | 用于消除虚拟网络环路引发的风险的方法和装置 |
| WO2021251870A1 (en) * | 2020-06-11 | 2021-12-16 | Telefonaktiebolaget Lm Ericsson (Publ) | Method and system for interaction between 5g and multiple tsc/tsn domains |
| WO2022032544A1 (zh) * | 2020-08-12 | 2022-02-17 | 华为技术有限公司 | 一种通信方法、通信装置、终端设备及用户面网元 |
Family Cites Families (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US11444804B2 (en) * | 2019-11-21 | 2022-09-13 | Oracle International Corporation | System and method for preventing switch loops in layer-2 networks |
-
2023
- 2023-01-13 CN CN202310059703.0A patent/CN118353738A/zh active Pending
- 2023-12-19 WO PCT/CN2023/139937 patent/WO2024149033A1/zh not_active Ceased
- 2023-12-19 EP EP23915787.8A patent/EP4645767A4/en active Pending
Patent Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101917298A (zh) * | 2010-09-02 | 2010-12-15 | 杭州华三通信技术有限公司 | 一种基于vlan的环路监测方法和设备 |
| CN106789192A (zh) * | 2016-12-06 | 2017-05-31 | 无锡路通视信网络股份有限公司 | 系统环路故障的检测与处理方法、系统以及epon终端中应用 |
| CN108306834A (zh) * | 2017-12-28 | 2018-07-20 | 中国银联股份有限公司 | 用于消除虚拟网络环路引发的风险的方法和装置 |
| WO2021251870A1 (en) * | 2020-06-11 | 2021-12-16 | Telefonaktiebolaget Lm Ericsson (Publ) | Method and system for interaction between 5g and multiple tsc/tsn domains |
| WO2022032544A1 (zh) * | 2020-08-12 | 2022-02-17 | 华为技术有限公司 | 一种通信方法、通信装置、终端设备及用户面网元 |
Non-Patent Citations (1)
| Title |
|---|
| See also references of EP4645767A4 * |
Also Published As
| Publication number | Publication date |
|---|---|
| EP4645767A1 (en) | 2025-11-05 |
| EP4645767A4 (en) | 2026-03-18 |
| CN118353738A (zh) | 2024-07-16 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US12149444B2 (en) | Routing rule management method and communications apparatus | |
| EP3879879B1 (en) | Time sensitive networking communication method and apparatus thereof | |
| US11522790B2 (en) | Multipath data transmission processing method and network device | |
| TWI393401B (zh) | 用以管理多播路由之系統、裝置、方法及具有電腦程式收錄其中之記憶體 | |
| US20210111987A1 (en) | Automatically selecting an optimized communication channel for communications with a deflect in an overlay network | |
| US20110305143A1 (en) | Maximum transmission unit (mtu) size discovery mechanism and method for data-link layers | |
| CN107079524B (zh) | 一种数据转发的方法和控制器 | |
| WO2022017285A1 (zh) | 报文转发方法、装置及系统 | |
| WO2021244356A1 (zh) | 数据传输方法及装置 | |
| WO2022267950A1 (zh) | 一种通信方法和装置 | |
| CN114697999A (zh) | 一种冗余路径创建方法、装置及系统 | |
| EP2775663B1 (en) | Method and device for recovering customer service | |
| JP2017503407A (ja) | パケット処理方法および装置 | |
| CN116724545A (zh) | 一种数据包传输的方法、装置和系统 | |
| WO2023174221A1 (zh) | 多模态业务实现方法、装置及通信设备 | |
| CN110708230A (zh) | 一种指定转发者选举方法和装置 | |
| CN114422437A (zh) | 一种异构报文的转发方法及装置 | |
| WO2024149033A1 (zh) | 5gs tsn虚拟网桥的防环路方法、设备及存储介质 | |
| CN117528844B (zh) | 网络隔离方法、装置、设备及存储介质 | |
| CN103973570B (zh) | 一种报文传输的方法、ap及系统 | |
| WO2023019874A1 (zh) | 分布式业务转发方法、装置、系统、存储介质及电子设备 | |
| EP3324587A1 (en) | Multicast method, multicast relay device and system | |
| US20200120046A1 (en) | Buffer control method, network element, and controller | |
| CN121012777B (zh) | 一种用于报文转发的方法和装置 | |
| CN116567593B (zh) | 通知方法、第一网络功能及第二网络功能 |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 23915787 Country of ref document: EP Kind code of ref document: A1 |
|
| WWE | Wipo information: entry into national phase |
Ref document number: 2023915787 Country of ref document: EP |
|
| ENP | Entry into the national phase |
Ref document number: 2023915787 Country of ref document: EP Effective date: 20250728 |
|
| ENP | Entry into the national phase |
Ref document number: 2023915787 Country of ref document: EP Effective date: 20250728 |
|
| NENP | Non-entry into the national phase |
Ref country code: DE |
|
| WWP | Wipo information: published in national office |
Ref document number: 2023915787 Country of ref document: EP |