WO2024067509A1 - 网桥端口分配方法及装置 - Google Patents

网桥端口分配方法及装置 Download PDF

Info

Publication number
WO2024067509A1
WO2024067509A1 PCT/CN2023/121191 CN2023121191W WO2024067509A1 WO 2024067509 A1 WO2024067509 A1 WO 2024067509A1 CN 2023121191 W CN2023121191 W CN 2023121191W WO 2024067509 A1 WO2024067509 A1 WO 2024067509A1
Authority
WO
WIPO (PCT)
Prior art keywords
port number
session
mac address
mapping table
upf
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
Application number
PCT/CN2023/121191
Other languages
English (en)
French (fr)
Inventor
杜相文
陈东华
蹇慧君
詹亚军
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
ZTE Corp
Original Assignee
ZTE Corp
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by ZTE Corp filed Critical ZTE Corp
Priority to EP23870738.4A priority Critical patent/EP4583555A4/en
Publication of WO2024067509A1 publication Critical patent/WO2024067509A1/zh
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/0806Configuration setting for initial configuration or provisioning, e.g. plug-and-play
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/26Network addressing or numbering for mobility support
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/0813Configuration setting characterised by the conditions triggering a change of settings
    • H04L41/082Configuration setting characterised by the conditions triggering a change of settings the condition being updates or upgrades of network functionality
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/28Flow control; Congestion control in relation to timing considerations
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/10Architectures or entities
    • H04L65/102Gateways
    • H04L65/1033Signalling gateways
    • H04L65/104Signalling gateways in the network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/1066Session management
    • H04L65/1069Session establishment or de-establishment
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/60Network streaming of media packets
    • H04L65/65Network streaming protocols, e.g. real-time transport protocol [RTP] or real-time control protocol [RTCP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/12Setup of transport tunnels
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/19Connection re-establishment
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/12Discovery or management of network topologies
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/11Allocation or use of connection identifiers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/30Connection release
    • H04W76/32Release of transport tunnels

Definitions

  • the embodiments of the present disclosure relate to the field of communications, and in particular, to a method and device for allocating bridge ports.
  • 5GS is integrated with the external network as a time sensitive network (TSN) bridge.
  • TSN time sensitive network
  • This "logical" TSN bridge (including TSN translator functions for user plane and control plane) is used for interaction between TSN system and 5GS.
  • the 5GS TSN translator function consists of device-side TSN translator (DS-TT) and network-side TSN translator (NW-TT).
  • DS-TT device-side TSN translator
  • NW-TT network-side TSN translator
  • 5GS provides the entry and exit of TSN through the user equipment (UE) side TSN translator DS-TT and the network side TSN translator NW-TT.
  • UE user equipment
  • NW-TT network side TSN translator
  • the ports on the NW-TT support connection with the TSN network
  • the ports on the DS-TT side are associated with the protocol data unit (PDU) session, thus providing connection with the TSN network.
  • PDU protocol data unit
  • the User Plane Function (UPF) will allocate the port number of the Ethernet port on the DS-TT for the PDU session, and report the port number and the Mac address information of the DS-TT port together and store them in the Session Management Function (SMF).
  • SMF Session Management Function
  • the SMF provides the port number and MAC address of the DS-TT port of the relevant PDU session to the TSN Application Function (AF) through the Policy Control Function (PCF).
  • AF Application Function
  • PCF Policy Control Function
  • DS-TT devices are used in some cases. If some devices are offline and reconnected from time to time, this will cause a rapid change in the port number, resulting in frequent refreshes of the 5GS bridge information and bridge configuration information. For DS-TT devices that are reconnected offline, the TSN service is fixed, so it is not expected that the 5GS bridge information and bridge configuration information will be frequently refreshed.
  • the embodiments of the present disclosure provide a method and device for allocating bridge ports, so as to at least solve the problem in the related art that 5GS bridge information and bridge configuration information are frequently refreshed due to changes in port numbers, and network topology is unstable.
  • a bridge port allocation method comprising: a user equipment UE establishes a session association of a protocol data unit PDU; based on the session association, a mapping table of an initial port number and a media access control MAC address of a user-side time-sensitive network converter DS-TT is established; and based on the mapping table, an updated port number is allocated to the UE that releases the session.
  • a bridge port allocation device comprising: a session establishment module, configured to establish a session association between a user equipment UE and a protocol data unit PDU; a mapping table establishment module, configured to establish a session association between a user equipment UE and a protocol data unit PDU according to the session association; connection, establish a mapping table between the initial port number of the user-side time-sensitive network converter DS-TT and the media access control MAC address; and update the port number allocation module, which is used to allocate an updated port number to the UE that re-accesses the session after release according to the mapping table.
  • a computer-readable storage medium in which a computer program is stored, wherein the computer program is configured to execute the steps of any one of the above method embodiments when running.
  • an electronic device including a memory and a processor, wherein the memory stores a computer program, and the processor is configured to run the computer program to execute the steps in any one of the above method embodiments.
  • FIG1 is a hardware structure block diagram of a mobile terminal of a bridge port allocation method according to an embodiment of the present disclosure
  • FIG2 is a flow chart of a method for allocating bridge ports according to an embodiment of the present disclosure
  • FIG3 is a flow chart of session association establishment according to an embodiment of the present disclosure.
  • FIG4 is a flow chart of establishing a mapping table according to an embodiment of the present disclosure.
  • FIG5 is a flow chart of a method for allocating bridge ports according to an embodiment of the present disclosure
  • FIG6 is a flow chart of a method for allocating bridge ports according to an embodiment of the present disclosure.
  • FIG7 is a flow chart of updating a port number according to an embodiment of the present disclosure.
  • FIG8 is a structural block diagram of a bridge port allocation device according to an embodiment of the present disclosure.
  • FIG. 9 is a structural block diagram of a session establishment module according to an embodiment of the present disclosure.
  • mapping table establishment module 10 is a structural block diagram of a mapping table establishment module according to an embodiment of the present disclosure.
  • FIG. 11 is a structural block diagram of a bridge port allocation device according to an embodiment of the present disclosure.
  • FIG. 12 is a structural block diagram of an update port number allocation module according to an embodiment of the present disclosure.
  • FIG13 is a schematic diagram of a network framework of a bridge port allocation method according to an embodiment of the present disclosure.
  • FIG. 15 is a flowchart of a method for allocating bridge ports according to an embodiment of the present disclosure.
  • FIG1 is a hardware structure block diagram of a mobile terminal of a bridge port allocation method of an embodiment of the present disclosure.
  • the mobile terminal may include one or more (only one is shown in FIG1 ) processors 102 (the processor 102 may include but is not limited to a processing device such as a microprocessor MCU or a programmable logic device FPGA) and a memory 104 for storing data, wherein the mobile terminal may also include a transmission device 106 and an input/output device 108 for communication functions.
  • processors 102 may include but is not limited to a processing device such as a microprocessor MCU or a programmable logic device FPGA
  • a memory 104 for storing data
  • the mobile terminal may also include a transmission device 106 and an input/output device 108 for communication functions.
  • FIG1 is only for illustration and does not limit the structure of the mobile terminal.
  • the mobile terminal may also include more or fewer components than those shown in FIG1 , or have a configuration different from that shown in FIG1 .
  • the memory 104 can be used to store computer programs, for example, software programs and modules of application software, such as the embodiments of the present disclosure.
  • the memory 104 may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory.
  • the memory 104 may further include a memory remotely arranged relative to the processor 102, and these remote memories may be connected to the mobile terminal via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
  • the transmission device 106 is used to receive or send data via a network.
  • the specific example of the above network may include a wireless network provided by a communication provider of the mobile terminal.
  • the transmission device 106 includes a network adapter (Network Interface Controller, NIC), which can be connected to other network devices through a base station so as to communicate with the Internet.
  • the transmission device 106 can be a radio frequency (Radio Frequency, RF) module, which is used to communicate with the Internet wirelessly.
  • RF Radio Frequency
  • FIG. 2 is a flow chart of the bridge port allocation method according to an embodiment of the present disclosure. As shown in FIG. 2 , the process includes the following steps:
  • Step S202 the user equipment UE establishes a session association of the protocol data unit PDU;
  • Step S204 establishing a mapping table between the initial port number of the user-side time-sensitive network converter DS-TT and the media access control MAC address according to the session association;
  • Step S206 Allocate an updated port number for the UE that re-accesses the session after releasing it according to the mapping table.
  • the user equipment UE establishes a session association of the protocol data unit PDU; according to the session association, a mapping table of the initial port number and the media access control MAC address of the user-side time-sensitive network converter DS-TT is established; according to the mapping table, an updated port number is allocated to the UE that re-accesses the session after release.
  • the problem of frequent refresh of 5GS bridge information and bridge configuration information and unstable network topology caused by port number changes in related technologies is solved, achieving the effect of improving network topology stability and reducing system maintenance costs.
  • the execution subject of the above steps may be a base station, a terminal, etc., but is not limited thereto.
  • FIG. 3 is a flow chart of establishing a session association according to an embodiment of the present disclosure.
  • the user equipment UE establishes a session association of a protocol data unit PDU, including:
  • Step S302 the user plane function UPF receives the MAC address of the DS-TT from the user management function SMF;
  • Step S304 UPF allocates an initial port number to DS-TT to complete the establishment of a session association between DS-TT/UE and PDU.
  • FIG. 4 is a flowchart of establishing a mapping table according to an embodiment of the present disclosure. As shown in FIG. 4 , a mapping table of an initial port number and a media access control MAC address of a user-side time-sensitive network converter DS-TT is established, including:
  • Step S402 the user plane function UPF establishes a mapping table of the initial port number and the MAC address, wherein the mapping table includes the initial port number, the MAC address, the session release start time, and the session release duration;
  • Step S404 UPF reports the port number allocated to DS-TT to the session management function SMF.
  • FIG. 5 is a flow chart of the bridge port allocation method according to an embodiment of the present disclosure. As shown in Figure 5, the process includes the following steps:
  • Step S502 the user equipment UE establishes a session association of the protocol data unit PDU;
  • Step S504 establishing a mapping table between the initial port number of the user-side time-sensitive network converter DS-TT and the media access control MAC address according to the session association;
  • Step S506 If the preset session release time is reached and the DS-TT of the UE that releases the session does not re-initiate the session according to the corresponding MAC address, the corresponding initial port number of the DS-TT is deleted from the mapping table;
  • Step S508 Allocate an updated port number for the UE that re-accesses the session after release according to the mapping table.
  • FIG. 6 is a flow chart of the bridge port allocation method according to an embodiment of the present disclosure. As shown in Figure 6, the process includes the following steps:
  • Step S602 the user equipment UE establishes a session association of the protocol data unit PDU;
  • Step S604 establishing a mapping table between the initial port number of the user-side time-sensitive network converter DS-TT and the media access control MAC address according to the session association;
  • Step S606 the policy control module PCF receives the port number from the session management function SMF;
  • Step S608 PCF sends the port number to the time sensitive network application function TSN AF;
  • Step S610 Allocate an updated port number for the UE that re-accesses the session after releasing it according to the mapping table.
  • FIG. 7 is a flow chart of updating a port number according to an embodiment of the present disclosure. As shown in FIG. 7 , the flow includes the following steps:
  • Step S702 the user plane function UPF receives the MAC address of the DS-TT of the UE that releases the session from the session management function SMF;
  • step S704 the UPF queries the mapping table. If the initial port number corresponding to the MAC address is found, the initial port number is allocated as the updated port number to the DS-TT of the UE that re-accesses the session after release; if the initial port number corresponding to the MAC address is not found, the UPF re-allocates the updated port number to the DS-TT of the UE that re-accesses the session after release.
  • the technical solution of the embodiment of the present disclosure 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, a disk, or an optical disk), and includes a number of instructions for a terminal device (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the method described in the embodiment of the present disclosure.
  • a storage medium such as ROM/RAM, a disk, or an optical disk
  • a bridge port allocation device is also provided, which is used to implement the above-mentioned embodiments and preferred implementation modes, and the descriptions that have been made will not be repeated.
  • the term "module” can be a combination of software and/or hardware that implements a predetermined function.
  • the devices described in the following embodiments are preferably implemented in software, the implementation of hardware, or a combination of software and hardware, is also possible and conceivable.
  • Figure 8 is a structural block diagram of a bridge port allocation device according to an embodiment of the present disclosure.
  • the allocation device 80 includes: a session establishment module 810, used to establish a session association between a user equipment UE and a protocol data unit PDU; a mapping table establishment module 820, used to establish a mapping table of an initial port number and a media access control MAC address of a user-side time-sensitive network converter DS-TT according to the session association; and an updated port number allocation module 830, used to allocate an updated port number to a UE that re-accesses the session after being released according to the mapping table.
  • a session establishment module 810 used to establish a session association between a user equipment UE and a protocol data unit PDU
  • a mapping table establishment module 820 used to establish a mapping table of an initial port number and a media access control MAC address of a user-side time-sensitive network converter DS-TT according to the session association
  • an updated port number allocation module 830 used to allocate an updated port number to
  • FIG. 9 is a structural block diagram of a session establishment module according to an embodiment of the present disclosure.
  • the session establishment module 810 includes: a session notification unit 910 for transmitting a DS-TT from a user management function SMF to the user;
  • the MAC address is sent to the user plane function UPF to notify the UPF to establish a session association;
  • the initial port number allocation unit 920 is used to allocate an initial port number to the DS-TT to complete the establishment of a session association between the DS-TT/UE and the PDU.
  • Figure 10 is a structural block diagram of a mapping table establishment module according to an embodiment of the present disclosure.
  • the mapping table establishment module 820 includes: a mapping table establishment unit 1010, used to establish a mapping table of an initial port number and a MAC address, wherein the mapping table includes an initial port number, a MAC address, a session release start time, and a session release duration; a port number reporting unit 1020, used to report the port number allocated to the DS-TT to the session management function SMF.
  • Figure 11 is a structural block diagram of a bridge port allocation device according to an embodiment of the present disclosure.
  • the allocation device 110 also includes: a mapping table update module 1110, which is used to delete the corresponding initial port number of the DS-TT in the mapping table when the preset session release duration is reached and the DS-TT of the UE that releases the session does not re-initiate the session according to the corresponding MAC address.
  • Figure 12 is a structural block diagram of the update port number allocation module according to an embodiment of the present disclosure.
  • the update port number allocation module 830 includes: a MAC address receiving unit 1210, used to receive the MAC address of the DS-TT of the UE that releases the session from the session management function SMF; an update port number allocation unit 1220, used to query the mapping table, and when the initial port number corresponding to the MAC address is queried, the initial port number is allocated as the updated port number to the DS-TT of the UE that re-accesses the session after release; when the initial port number corresponding to the MAC address is not queried, the UPF re-allocates the updated port number to the DS-TT of the UE that re-accesses the session after release.
  • the above modules can be implemented by software or hardware. For the latter, it can be implemented in the following ways, but not limited to: the above modules are all located in the same processor; or the above modules are located in different processors in any combination.
  • the embodiments of the present disclosure further provide a computer-readable storage medium, in which a computer program is stored, wherein the computer program is configured to execute the steps of any one of the above method embodiments when running.
  • the computer-readable storage medium may include, but is not limited to, various media that can store computer programs, such as a USB flash drive, a read-only memory (ROM), a random access memory (RAM), a mobile hard disk, a magnetic disk or an optical disk.
  • ROM read-only memory
  • RAM random access memory
  • mobile hard disk a magnetic disk or an optical disk.
  • An embodiment of the present disclosure further provides an electronic device, including a memory and a processor, wherein a computer program is stored in the memory, and the processor is configured to run the computer program to execute the steps in any one of the above method embodiments.
  • the electronic device may further include a transmission device and an input/output device, wherein the transmission device is connected to the processor, and the input/output device is connected to the processor.
  • modules or steps of the above-mentioned embodiments of the present disclosure can be implemented by a general computing device, they can be concentrated on a single computing device, or distributed on a network composed of multiple computing devices, they can be implemented by a program code executable by a computing device, so that they can be stored in a storage device and executed by the computing device, and in some cases, the steps shown or described can be executed in a different order than here, or they can be made into individual integrated circuit modules, or multiple modules or steps therein can be made into a single integrated circuit module for implementation. In this way, the embodiments of the present disclosure are not limited to any specific combination of hardware and software.
  • the information of the 5GS bridge includes the Bridge ID, the number of ports, and the list of port numbers.
  • the port number on the NW-TT side is pre-configured on the user plane function UPF, and the port number on the DS-TT side is assigned by the UPF during the PDU session establishment process.
  • 5GS reports the information of the 5GS bridge to the TSN network, and then the TSN network issues relevant configurations for the bridge, including the Bridge ID, the configuration information of traffic scheduling on the DS-TT/NW-TT port, the traffic forwarding information (Traffic Forwarding Information, TFI), and the configuration information of each flow.
  • the traffic forwarding information contains three aspects of information: the destination MAC address of the TSN service flow, the VLAN ID, and the port number in the Port MAP to ensure the correctness of traffic forwarding.
  • FIG13 is a schematic diagram of a network framework of a bridge port allocation method according to an embodiment of the disclosed scenario.
  • the bridge port allocation method provided by the disclosed embodiment can be applied to a multi-port 5GS TSN bridge system as shown in FIG13.
  • a DS-TT port is a logical port dynamically created when a PDU Session is established, and a logical port number is assigned to each port by the UPF.
  • a UE may include multiple DS-TTs, such as UE4 including two DS-TTs. Each DS-TT may have one port or multiple ports, and in a UPF, each DS-TT port has only one PDU Session.
  • the UPF assigns a port number to the DS-TT port, reports it to the SMF, and stores it in the SMF.
  • the SMF provides the port number and MAC address of the DS-TT Ethernet port of the relevant PDU session to the TSN AF through the PCF. If the PDU session is released, the SMF notifies the TSN AF accordingly.
  • DS-TT and NW-TT port management information is exchanged between the CNC and the TSN AF.
  • the mapping table of the Ethernet port number and Mac address information assigned by UPF to the DS-TT port is stored regularly on UPF.
  • the DS-TT port number is a logical port number dynamically created when the PDU Session is established.
  • Each port has a unique record, which consists of four parameters: the port number of the Ethernet port assigned by UPF to DS-TT, Mac address information, aging start time, and aging duration.
  • the PDU session release time is recorded as the aging start time, and the timer is started. If the aging duration is reached, the record is deleted.
  • the DS-TT port is offline and needs to be reconnected to create a new PDU session.
  • SMF carries the DS-TT MAC address through the Packet Forwarding Control Protocol (PFCP) session establishment/modification request (PFCP Session Establishment Request/PFCP Session Modification Request) of the N4 port and sends it to UPF.
  • PFCP Packet Forwarding Control Protocol
  • UPF queries the mapping table record based on the Mac address information of the port. If the record is found, the port number is not reallocated. If the record is not found, UPF reallocates the port number and updates the mapping table record of the port number and Mac address information.
  • the timed storage method can effectively reduce the rapid change of port numbers when the device is offline and reconnected at irregular intervals, which in turn leads to frequent refresh of 5GS bridge information and bridge configuration information. This ensures the stability of the network topology, reduces system maintenance costs, and improves performance.
  • This scenario embodiment is a process in which after DS-TT is powered on to initiate TSN service, the DS-TT port is offline and causes re-access. Since it is within the set memory time range, UPF does not need to reallocate the port again.
  • the port After DS-TT is powered on, the port sends a connection request to the UE, carrying the port's MAC address.
  • the UE obtains the port number of the DS-TT Ethernet port through the PDU session establishment process (PDU Session Establish).
  • FIG. 14 is a flow chart of a method for allocating bridge ports according to an embodiment of the present disclosure. As shown in FIG. 14 , the process includes the following processes:
  • Step 1401 SMF notifies UPF to establish a session through the N4 port PFCP session establishment request/PFCP packet forwarding control protocol session modification request, and carries DS-TT Mac to UPF, indicating that the current session is a TSN session.
  • Step 1402 UPF allocates a unique DS-TT port number in the network element for the current session. Create a mapping table of port number and Mac address information.
  • the mapping table example is as follows:
  • the DS-TT port with MAC address 00-44-54-55-00-00 is assigned a port number of 1001
  • the DS-TT port with MAC address 00-44-54-52-00-00 is assigned a port number of 2001.
  • This mapping table is created when the first PDU session is established. In this process, the aging start time is NULL, and the aging time is not effective.
  • Step 1403 UPF carries the DS-TT port number to SMF through the N4 port PFCP session establishment/modification request.
  • Step 1404 The SMF locally stores the mapping relationship between the MAC address of the DS-TT Ethernet port and the DS-TT port number.
  • Step 1405 SMF sends the mapping relationship between the MAC address of the DS-TT Ethernet port and the DS-TT port number to the PCF policy control.
  • Step 1406 PCF sends the mapping relationship between the MAC address of the DS-TT Ethernet port and the DS-TT port number to TSN-AF.
  • the UE When an abnormality occurs in DS-TT or UE, the UE initiates the PDU session release process (PDU Session Release), and the UPF stores the correspondence between the MAC address and port number of the DS-TT Ethernet port (DS-TT Ethernet port) for a limited time.
  • PDU Session Release PDU Session Release
  • Step 1407 UPF stores a mapping table of the port number and Mac address information of the Ethernet port allocated by UPF on DS-TT for a limited time, and the mapping table is as follows:
  • the PDU session release end time is 2022-07-06 15:39:58, and the actual storage duration is set to 30 minutes (example value).
  • the actual storage duration is set to 30 minutes (example value).
  • UPF does not need to reallocate the port number for the port.
  • UPF reallocates the port number.
  • Step 1408 SMF notifies UPF to establish a session through the N4 port PFCP session establishment/modification request (Session Establishment Request/PFCP Session Modification Request) and carries DS-TT Mac to UPF.
  • PFCP session establishment/modification request Session Establishment Request/PFCP Session Modification Request
  • step 1409 UPF queries the mapping table according to the MAC address (00-44-54-55-00-00) and finds a record. UPF does not need to reallocate the DS-TT port.
  • Step 1410 UPF carries the DS-TT port number in the original mapping table to SMF through the N4 port PFCP session establishment/modification request.
  • This scenario embodiment is a process in which after DS-TT is powered on to initiate TSN service, DS-TT is offline and causes re-access. Due to exceeding the set memory time range, UPF needs to re-allocate ports.
  • the port After DS-TT is powered on, the port sends a connection request to the UE, carrying the port's MAC address.
  • the UE obtains the port number of the DS-TT Ethernet port through the PDU session establishment process (PDU Session Establish).
  • FIG. 15 is a flow chart of a method for allocating bridge ports according to an embodiment of the present disclosure. As shown in FIG. 15 , the process includes the following processes:
  • Step 1501 SMF notifies UPF to establish a session through the N4 port PFCP session establishment/modification request, carries DS-TT Mac to UPF, and indicates that the current session is a TSN session.
  • Step 1502 UPF allocates a unique DS-TT port number in the network element for the current session. After the port number is allocated, a mapping table of the port number and the Mac address information is created on the UPF.
  • the mapping table example is as follows:
  • the DS-TT port with MAC address 00-44-54-55-00-00 is assigned a port number of 1001
  • the DS-TT port with MAC address 00-44-54-52-00-00 is assigned a port number of 2001.
  • This mapping table is created when the first PDU session is established. In this process, the aging start time is NULL, and the aging time is not effective.
  • Step 1503 UPF carries the DS-TT port number to SMF through the N4 port PFCP session establishment/modification request.
  • Step 1504 The SMF locally stores the mapping relationship between the MAC address of the DS-TT Ethernet port and the DS-TT port number.
  • Step 1505 SMF sends the mapping relationship between the MAC address of the DS-TT Ethernet port and the DS-TT port number to PCF.
  • Step 1506 PCF sends the mapping relationship between the MAC address of the DS-TT Ethernet port and the DS-TT port number to TSN-AF.
  • the UE After the TSN service is completed, the UE initiates the PDU session release process (PDU Session Release), and the UPF stores the correspondence between the MAC address and port number of the DS-TT Ethernet port (DS-TT Ethernet port) for a limited time.
  • PDU Session Release PDU Session Release
  • Step 1507 UPF stores a mapping table of the port number and Mac address information of the Ethernet port allocated by UPF on DS-TT for a limited time, and the mapping table is as follows:
  • the PDU session release end time is 2022-07-06 15:49:55
  • the actual storage duration is set to 30 minutes (example value).
  • UPF does not need to reallocate the port number for the port.
  • UPF reallocates the port number.
  • Step 1508 SMF notifies UPF to establish a session through the N4 port PFCP session establishment/modification request, and carries DS-TT Mac to UPF.
  • Step 1509 UPF queries the mapping table according to the MAC address (00-42-51-52-00-00), and the query result is 0 (the original record has been aged and deleted within 30 minutes), that is, no record is found, and UPF needs to reallocate the DS-TT port.
  • Step 1510 UPF reallocates the DS-TT port and updates the mapping table between the port number and Mac address information of the Ethernet port allocated on the DS-TT.
  • the mapping table is as follows:
  • the DS-TT port with MAC address 00-44-54-55-00-00 has been reassigned to 3002, and the DS-TT port with MAC address 00-44-54-52-00-00 has been reassigned to 3003. Since the PDU session establishment process is in progress at this time, the aging start time is NULL, and the aging time is not effective.
  • Step 1511 UPF carries the changed DS-TT port number in the mapping table to SMF through the N4 port PFCP session establishment/modification request.
  • Step 1512 the SMF locally changes and stores the mapping relationship between the MAC address of the DS-TT Ethernet port and the DS-TT port number.
  • Step 1513 SMF sends the mapping relationship between the changed MAC address of the DS-TT Ethernet port and the DS-TT port number to PCF.
  • Step 1514 PCF sends the mapping relationship between the changed MAC address of the DS-TT Ethernet port and the DS-TT port number to TSN-AF.
  • the embodiments of the present disclosure provide a bridge port allocation method and device, which can be applied to situations where a DS-TT port is offline and needs to be reconnected, if the device is offline and reconnected from time to time, including abnormal DS-TT power failure, DS-TT restart, DS-TT network interruption, etc.
  • the industrial Ethernet protocol has begun to support TSN, and the embodiments of the present disclosure are applicable to some situations where DS-TT is offline and needs to be reconnected, especially when a large number of DS-TT devices are used, if each device is offline and reconnected from time to time.
  • a bridge port allocation method and device provided by the embodiments of the present disclosure can solve the situation where DS-TT needs to be reconnected after being offline. After reconnecting, a new PDU session is established, and UPF needs to re-allocate the port number for DS-TT. Especially when a large number of DS-TT devices are used, if the devices are offline and reconnected from time to time, this will cause the port number to change frequently, and then lead to frequent refreshes of 5GS bridge information and bridge configuration information.
  • the method of periodically storing 5GS bridge ports can effectively reduce the frequent refreshes of 5GS bridge information and bridge configuration information. It ensures the stability of the network topology, reduces system maintenance costs, and improves performance.
  • the situations where DS-TT is offline and needs to be reconnected include abnormal power failure of DS-TT, restart of DS-TT, network interruption of DS-TT, etc.
  • the PFCP signaling message of the N4 port contains the DS-TT MAC address, including the PFCP session establishment/modification message in which the SMF carries the DS-TT MAC address and sends it to the UPF, and the UPF regularly stores a mapping table consisting of four parameters, namely, the port number of the Ethernet port allocated by the UPF to the DS-TT, the Mac address information, the aging start time, and the aging duration, which are all within the protection scope of the embodiments of the present disclosure.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Multimedia (AREA)
  • Business, Economics & Management (AREA)
  • General Business, Economics & Management (AREA)
  • Databases & Information Systems (AREA)
  • Small-Scale Networks (AREA)

Abstract

本公开实施例提供了一种网桥端口分配方法及装置,包括:用户设备UE建立协议数据单元PDU的会话关联;根据会话关联,建立用户侧时间敏感网络转换器DS-TT的初始端口号和媒体访问控制MAC地址的映射表;根据映射表为释放后又重新接入会话的UE分配更新端口号。

Description

网桥端口分配方法及装置
相关申请的交叉引用
本申请基于2022年9月30日提交的发明名称为“网桥端口分配方法及装置”的中国专利申请CN202211214558.0,并且要求该专利申请的优先权,通过引用将其所公开的内容全部并入本申请。
技术领域
本公开实施例涉及通信领域,具体而言,涉及一种网桥端口分配方法及装置。
背景技术
5GS作为时间敏感网络(Time sensitive network,TSN)网桥与外部网络集成在一起。此“逻辑”TSN网桥(包括用于用户面和控制面的TSN转换器(TSN Translator)功能,用于TSN系统和5GS之间的交互。5GS TSN转换器功能由设备侧TSN转换器(Device-side TSN translator,DS-TT)和网络侧TSN转换器(Network-side TSN translator,NW-TT)组成,5GS通过用户设备(User Equipment,UE)侧TSN转换器DS-TT和网络侧TSN转换器NW-TT提供TSN的入口和出口。对于TSN网络的每个5GS网桥,NW-TT上的端口都支持与TSN网络的连接,DS-TT侧上的端口与协议数据单元(Protocol Data Unit,PDU)会话相关联,从而提供了与TSN网络的连接。
在UE发起PDU会话建立期间,用户平面功能(User Plane Function,UPF)会为PDU会话在DS-TT上分配的以太网端口的端口号,并把端口号和DS-TT端口的Mac地址信息一起上报并存储在会话管理功能(Session Management Function,SMF),SMF通过策略控制功能(Policy Control Function,PCF)将相关PDU会话的DS-TT端口的端口号和MAC地址提供给TSN应用功能(Application Function,AF)。在实际应用中,存在DS-TT离线需重新接入的情况,重新接入后,建立新的PDU会话,UPF需重新分配DS-TT的端口号,尤其是在工业以太网中,有些情况会使用大量的DS-TT设备,若有设备不定时出现离线重新接入的情况,这就会造成端口号的快速变化,导致5GS网桥信息和网桥配置信息的频繁刷新。对于离线重新接入的DS-TT设备,TSN业务是固定的,所以不期望5GS网桥信息和网桥配置信息频繁刷新。
发明内容
本公开实施例提供了一种网桥端口分配方法及装置,以至少解决相关技术中因端口号变化导致5GS网桥信息和网桥配置信息的频繁刷新,网络拓扑不稳定的问题。
根据本公开的一个实施例,提供了一种网桥端口分配方法,包括:用户设备UE建立协议数据单元PDU的会话关联;根据所述会话关联,建立用户侧时间敏感网络转换器DS-TT的初始端口号和媒体访问控制MAC地址的映射表;根据所述映射表为释放会话的所述UE分配更新端口号。
根据本公开的另一个实施例,提供了一种网桥端口分配装置,包括:会话建立模块,用于建立用户设备UE与协议数据单元PDU的会话关联;映射表建立模块,用于根据所述会话关 联,建立用户侧时间敏感网络转换器DS-TT的初始端口号和媒体访问控制MAC地址的映射表;更新端口号分配模块,用于根据所述映射表为释放后又重新接入会话的所述UE分配更新端口号。
根据本公开的又一个实施例,还提供了一种计算机可读存储介质,所述计算机可读存储介质中存储有计算机程序,其中,所述计算机程序被设置为运行时执行上述任一项方法实施例中的步骤。
根据本公开的又一个实施例,还提供了一种电子装置,包括存储器和处理器,所述存储器中存储有计算机程序,所述处理器被设置为运行所述计算机程序以执行上述任一项方法实施例中的步骤。
附图说明
图1是本公开实施例的一种网桥端口分配方法的移动终端的硬件结构框图;
图2是根据本公开实施例的网桥端口分配方法的流程图;
图3是根据本公开实施例的会话关联建立的流程图;
图4是根据本公开实施例的映射表建立的流程图;
图5是根据本公开实施例的网桥端口分配方法的流程图;
图6是根据本公开实施例的网桥端口分配方法的流程图;
图7是根据本公开实施例的更新端口号的流程图;
图8是根据本公开实施例的网桥端口分配装置的结构框图;
图9是根据本公开实施例的会话建立模块的结构框图;
图10是根据本公开实施例的映射表建立模块的结构框图;
图11是根据本公开实施例的网桥端口分配装置的结构框图;
图12是根据本公开实施例的更新端口号分配模块的结构框图;
图13是根据本公开场景实施例的网桥端口分配方法网络框架示意图;
图14是根据本公开场景实施例的网桥端口分配方法的流程图;
图15是根据本公开场景实施例的网桥端口分配方法的流程图。
具体实施方式
下文中将参考附图并结合实施例来详细说明本公开实施例。
需要说明的是,本公开实施例的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。
本申请实施例中所提供的方法实施例可以在移动终端、计算机终端或者类似的运算装置中执行。以运行在移动终端上为例,图1是本公开实施例的一种网桥端口分配方法的移动终端的硬件结构框图。如图1所示,移动终端可以包括一个或多个(图1中仅示出一个)处理器102(处理器102可以包括但不限于微处理器MCU或可编程逻辑器件FPGA等的处理装置)和用于存储数据的存储器104,其中,上述移动终端还可以包括用于通信功能的传输设备106以及输入输出设备108。本领域普通技术人员可以理解,图1所示的结构仅为示意,其并不对上述移动终端的结构造成限定。例如,移动终端还可包括比图1中所示更多或者更少的组件,或者具有与图1所示不同的配置。
存储器104可用于存储计算机程序,例如,应用软件的软件程序以及模块,如本公开实 施例中的网桥端口分配方法对应的计算机程序,处理器102通过运行存储在存储器104内的计算机程序,从而执行各种功能应用以及数据处理,即实现上述的方法。存储器104可包括高速随机存储器,还可包括非易失性存储器,如一个或者多个磁性存储装置、闪存、或者其他非易失性固态存储器。在一些实例中,存储器104可进一步包括相对于处理器102远程设置的存储器,这些远程存储器可以通过网络连接至移动终端。上述网络的实例包括但不限于互联网、企业内部网、局域网、移动通信网及其组合。
传输装置106用于经由一个网络接收或者发送数据。上述的网络具体实例可包括移动终端的通信供应商提供的无线网络。在一个实例中,传输装置106包括一个网络适配器(Network Interface Controller,NIC),其可通过基站与其他网络设备相连从而可与互联网进行通讯。在一个实例中,传输装置106可以为射频(Radio Frequency,RF)模块,其用于通过无线方式与互联网进行通讯。
在本实施例中提供了一种运行于上述移动终端的网桥端口分配方法,图2是根据本公开实施例的网桥端口分配方法的流程图,如图2所示,该流程包括如下步骤:
步骤S202,用户设备UE建立协议数据单元PDU的会话关联;
步骤S204,根据会话关联,建立用户侧时间敏感网络转换器DS-TT的初始端口号和媒体访问控制MAC地址的映射表;
步骤S206,根据映射表为释放后又重新接入会话的UE分配更新端口号。
通过上述步骤,用户设备UE建立协议数据单元PDU的会话关联;根据会话关联,建立用户侧时间敏感网络转换器DS-TT的初始端口号和媒体访问控制MAC地址的映射表;根据映射表为释放后又重新接入会话的UE分配更新端口号。解决了相关技术中因端口号变化导致5GS网桥信息和网桥配置信息的频繁刷新,网络拓扑不稳定的问题,达到了提高网络拓扑稳定性,降低系统维护成本的效果。
其中,上述步骤的执行主体可以为基站、终端等,但不限于此。
在一个示例性实施例中,图3是根据本公开实施例的会话关联建立的流程图,如图3所示,用户设备UE建立协议数据单元PDU的会话关联,包括:
步骤S302,用户平面功能UPF接收来自用户管理功能SMF的DS-TT的MAC地址;
步骤S304,UPF为DS-TT分配初始端口号,以完成建立DS-TT/UE与PDU的会话关联。
在一个示例性实施例中,图4是根据本公开实施例的映射表建立的流程图,如图4所示,建立用户侧时间敏感网络转换器DS-TT的初始端口号和媒体访问控制MAC地址的映射表,包括:
步骤S402,用户平面功能UPF建立初始端口号和MAC地址的映射表,其中映射表包括初始端口号、MAC地址、会话释放起始时间、会话释放时长;
步骤S404,UPF将为DS-TT分配的端口号上报至会话管理功能SMF。
在一个示例性实施例中,在建立用户侧时间敏感网络转换器DS-TT的初始端口号和媒体访问控制MAC地址的映射表之后,还包括:若达到预设的会话释放时长,释放会话的UE的DS-TT没有按照对应的MAC地址重新发起会话,则在映射表中删除DS-TT的对应的初始端口号。图5是根据本公开实施例的网桥端口分配方法的流程图,如图5所示,该流程包括如下步骤:
步骤S502,用户设备UE建立协议数据单元PDU的会话关联;
步骤S504,根据会话关联,建立用户侧时间敏感网络转换器DS-TT的初始端口号和媒体访问控制MAC地址的映射表;
步骤S506,若达到预设的会话释放时长,释放会话的UE的DS-TT没有按照对应的MAC地址重新发起会话,则在映射表中删除DS-TT的对应的初始端口号;
步骤S508,根据映射表为释放后又重新接入会话的UE分配更新端口号。
在一个示例性实施例中,在建立用户侧时间敏感网络转换器DS-TT的初始端口号和媒体访问控制MAC地址的映射表之后,还包括:策略控制功能PCF接收来自会话管理功能SMF的端口号;PCF将端口号发送至时间敏感网络应用功能TSN AF。图6是根据本公开实施例的网桥端口分配方法的流程图,如图6所示,该流程包括如下步骤:
步骤S602,用户设备UE建立协议数据单元PDU的会话关联;
步骤S604,根据会话关联,建立用户侧时间敏感网络转换器DS-TT的初始端口号和媒体访问控制MAC地址的映射表;
步骤S606,策略控制模块PCF接收来自会话管理功能SMF的端口号;
步骤S608,PCF将端口号发送至时间敏感网络应用功能TSN AF;
步骤S610,根据映射表为释放后又重新接入会话的UE分配更新端口号。
在一个示例性实施例中,图7是根据本公开实施例的更新端口号的流程图,如图7所示,该流程包括如下步骤:
步骤S702,用户平面功能UPF接收来自会话管理功能SMF的释放会话的UE的DS-TT的MAC地址;
步骤S704,UPF查询所述映射表,若查询到与MAC地址对应的初始端口号,则将初始端口号作为更新端口号分配给释放后又重新接入会话的UE的DS-TT;若没有查询到与MAC地址对应的初始端口号,则由UPF重新为释放后又重新接入会话的UE的DS-TT分配更新端口号。
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到根据上述实施例的方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本公开实施例的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是手机,计算机,服务器,或者网络设备等)执行本公开实施例所述的方法。
在本实施例中还提供了一种网桥端口分配装置,该装置用于实现上述实施例及优选实施方式,已经进行过说明的不再赘述。如以下所使用的,术语“模块”可以实现预定功能的软件和/或硬件的组合。尽管以下实施例所描述的装置较佳地以软件来实现,但是硬件,或者软件和硬件的组合的实现也是可能并被构想的。
图8是根据本公开实施例的网桥端口分配装置的结构框图,如图8所示,该分配装置80包括:会话建立模块810,用于建立用户设备UE与协议数据单元PDU的会话关联;映射表建立模块820,用于根据会话关联,建立用户侧时间敏感网络转换器DS-TT的初始端口号和媒体访问控制MAC地址的映射表;更新端口号分配模块830,用于根据映射表为释放后又重新接入会话的UE分配更新端口号。
在一个示例性实施例中,图9是根据本公开实施例的会话建立模块的结构框图,如图9所示,会话建立模块810包括:会话通知单元910,用于将来自用户管理功能SMF的DS-TT 的MAC地址发送至用户平面功能UPF,以通知UPF建立会话关联;初始端口号分配单元920,用于为DS-TT分配初始端口号,以完成建立DS-TT/UE与PDU的会话关联。
在一个示例性实施例中,图10是根据本公开实施例的映射表建立模块的结构框图,如图10所示,映射表建立模块820包括:映射表建立单元1010,用于建立初始端口号和MAC地址的映射表,其中映射表包括初始端口号、MAC地址、会话释放起始时间、会话释放时长;端口号上报单元1020,用于将为DS-TT分配的端口号上报至会话管理功能SMF。
在一个示例性实施例中,图11是根据本公开实施例的网桥端口分配装置的结构框图,如图11所示,该分配装置110除了包括图8中的各个模块外,还包括:映射表更新模块1110,用于在达到预设的会话释放时长,且释放会话的UE的DS-TT没有按照对应的MAC地址重新发起会话的情况下,在映射表中删除DS-TT的对应的初始端口号。
在一个示例性实施例中,图12是根据本公开实施例的更新端口号分配模块的结构框图,如图12所示,更新端口号分配模块830包括:MAC地址接收单元1210,用于接收来自会话管理功能SMF的释放会话的UE的DS-TT的MAC地址;更新端口号分配单元1220,用于查询映射表,并在查询到与MAC地址对应的初始端口号的情况下,将初始端口号作为更新端口号分配给释放后又重新接入会话的UE的DS-TT;在没有查询到与MAC地址对应的初始端口号的情况下,由UPF重新为释放后又重新接入会话的UE的DS-TT分配更新端口号。
需要说明的是,上述各个模块是可以通过软件或硬件来实现的,对于后者,可以通过以下方式实现,但不限于此:上述模块均位于同一处理器中;或者,上述各个模块以任意组合的形式分别位于不同的处理器中。
本公开实施例还提供了一种计算机可读存储介质,该计算机可读存储介质中存储有计算机程序,其中,该计算机程序被设置为运行时执行上述任一项方法实施例中的步骤。
在一个示例性实施例中,上述计算机可读存储介质可以包括但不限于:U盘、只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、移动硬盘、磁碟或者光盘等各种可以存储计算机程序的介质。
本公开实施例还提供了一种电子装置,包括存储器和处理器,该存储器中存储有计算机程序,该处理器被设置为运行计算机程序以执行上述任一项方法实施例中的步骤。
在一个示例性实施例中,上述电子装置还可以包括传输设备以及输入输出设备,其中,该传输设备和上述处理器连接,该输入输出设备和上述处理器连接。
本实施例中的具体示例可以参考上述实施例及示例性实施方式中所描述的示例,本实施例在此不再赘述。
显然,本领域的技术人员应该明白,上述的本公开实施例的各模块或各步骤可以用通用的计算装置来实现,它们可以集中在单个的计算装置上,或者分布在多个计算装置所组成的网络上,它们可以用计算装置可执行的程序代码来实现,从而,可以将它们存储在存储装置中由计算装置来执行,并且在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤,或者将它们分别制作成各个集成电路模块,或者将它们中的多个模块或步骤制作成单个集成电路模块来实现。这样,本公开实施例不限制于任何特定的硬件和软件结合。
为了使得本领域的技术人员更好地理解本公开实施例的技术方案,下面结合具体的场景实施例进行阐述。
场景实施例一
5GS网桥的信息包括Bridge ID、端口数量和端口号列表。NW-TT侧的端口号在用户平面功能UPF上预配置,DS-TT侧的端口号由UPF在PDU会话建立过程中分配。5GS把5GS网桥的信息报告给TSN网络,然后TSN网络针对该网桥下发相关配置,包括Bridge ID、在DS-TT/NW-TT端口上流量调度的配置信息、流量转发信息(Traffic Forwarding Information,TFI)、每个流的配置信息。流量转发信息包含TSN业务流的目的MAC地址、VLAN ID、Port MAP中的端口号三方面的信息保证了流量转发的正确性。
图13是根据本公开场景实施例的网桥端口分配方法网络框架示意图,本公开实施例提供的网桥端口分配方法可以应用于如图13所示的多端口5GS TSN网桥系统。DS-TT端口是在PDU Session建立时动态创建的一个逻辑端口,由UPF为每个端口分配逻辑端口号。一个UE可以包含多个DS-TT,如UE4包括两个DS-TT。每个DS-TT可以有一个端口或多个端口,在一个UPF中,每个DS-TT端口只有一个PDU Session。在PDU会话建立期间,UPF会为DS-TT端口分配端口号,上报并存储在SMF。SMF通过PCF将相关PDU会话的DS-TT以太网端口的端口号和MAC地址提供给TSN AF。如果PDU会话释放了,则SMF相应地通知TSN AF。CNC和TSN AF之间交换DS-TT和NW-TT端口管理信息。
本公开实施例提供的网桥端口分配方法包括:
在UPF上定时存储UPF为DS-TT端口分配的以太网端口号和Mac地址信息的映射表,DS-TT端口号是在PDU Session建立时动态创建的一个逻辑端口号,其中每一个端口有唯一一条记录,该记录由UPF为DS-TT分配的以太网端口的端口号、Mac地址信息、老化起始时间、和老化时长四个参数组成。端口PDU会话释放时,记录PDU会话释放时间作为老化起始时间,起定时器,若达到老化时长时,删除该条记录。
DS-TT端口离线需重新接入,新建PDU会话。SMF通过N4口报文转发控制协议(Packet Forwarding Control Protocol,PFCP)会话建立/修改请求(PFCP Session Establishment Request/PFCP Session Modification Request)携带DS-TT MAC地址并下发给UPF。UPF根据该端口的Mac地址信息查询映射表记录,若查询到记录,不重新分配端口号。未查询到记录,UPF重新分配端口号,更新端口号和Mac地址信息的映射表记录。
通过定时存储的方法,可以有效降低在设备不定时出现离线重新接入时,造成端口号的快速变化,进而导致5GS网桥信息和网桥配置信息的频繁刷新。保证了网络拓扑的稳定性,也降低了系统维护成本,提高性能。
场景实施例二
在本场景实施例中结合具体流程对本公开实施例的技术方案进行阐述。本场景实施例为DS-TT上电发起TSN业务后,由于DS-TT端口离线导致重新接入,由于在设置的记忆时间范围内,UPF无需重新进行端口分配的流程。
DS-TT上电后,端口向UE发送连接请求,携带端口的MAC地址,UE通过PDU会话建立流程(PDU Session Establish)获取DS-TT以太网端口(DS-TT Ethernet port)端口号。
图14是根据本公开场景实施例的网桥端口分配方法的流程图,如图14所示,该流程包括如下流程:
步骤1401,SMF通过N4口PFCP会话建立请求/PFCP包转发控制协议会话修改请求通知UPF建立会话,携带DS-TT Mac给UPF,指示当前为TSN会话。
步骤1402,UPF为当前会话分配网元内唯一的DS-TT端口号。分配完端口号后,在UPF 上创建端口号和Mac地址信息的映射表,映射表示例如下:
如上表所示,MAC地址为00-44-54-55-00-00的DS-TT端口DS-TT端口号分配端口号为1001,MAC地址为00-44-54-52-00-00的DS-TT端口DS-TT端口号分配为2001。该映射表在第一次PDU会话建立时创建,在该流程内老化起始时间为空值(NULL),老化时间不生效。
步骤1403,UPF通过N4口PFCP会话建立/修改请求,将DS-TT端口号携带给SMF。
步骤1404,SMF本地存储DS-TT以太网端口的MAC地址与DS-TT端口号的映射关系。
步骤1405,SMF把DS-TT以太网端口的MAC地址与DS-TT端口号的映射关系发送给PCF策略控制。
步骤1406,PCF把DS-TT以太网端口的MAC地址与DS-TT端口号的映射关系发送给TSN-AF。
当DS-TT或UE发生异常时,UE发起PDU会话释放流程(PDU Session Release),UPF限时存储获取DS-TT以太网端口(DS-TT Ethernet port)MAC地址和端口号对应关系。
步骤1407,UPF上限时存储UPF为DS-TT上分配的以太网端口的端口号和Mac地址信息的映射表,映射表示例如下:
如上表所示,MAC地址为00-44-54-55-00-00的DS-TT端口,PDU会话释放结束时间为2022-07-06 15:39:58,现实存储时长设定为30分钟(举例值)。在30分钟内,若该端口重新上线,UPF不需为该端口重新分配端口号,超过30分钟后,UPF重新分配端口号。
2022-07-06 15:49:01 MAC地址为00-44-54-55-00-00的DS-TT端口离线重新接入,PDU会话重新建立。
步骤1408,SMF通过N4口PFCP会话建立/修改请求(Session Establishment Request/PFCP Session Modification Request)通知UPF建立会话,携带DS-TT Mac给UPF。
步骤1409,UPF根据MAC地址(00-44-54-55-00-00)查询映射表,查询到一条记录,UPF无需重新分配DS-TT端口。
步骤1410,UPF通过N4口PFCP会话建立/修改请求将原始映射表里的DS-TT端口号携带给SMF。
场景实施例三
在本场景实施例中结合具体流程对本公开实施例的技术方案进行阐述。本场景实施例为DS-TT上电发起TSN业务后,由于DS-TT离线导致重新接入,由于超过设置的记忆时间范围,UPF需重新进行端口分配的流程。
DS-TT上电后,端口向UE发送连接请求,携带端口的MAC地址,UE通过PDU会话建立流程(PDU Session Establish)获取DS-TT以太网端口(DS-TT Ethernet port)端口号。
图15是根据本公开场景实施例的网桥端口分配方法的流程图,如图15所示,该流程包括如下流程:
步骤1501,SMF通过N4口PFCP会话建立/修改请求,通知UPF建立会话,携带DS-TT Mac给UPF,指示当前为TSN会话。
步骤1502,UPF为当前会话分配网元内唯一的DS-TT端口号。分配完端口号后,在UPF上创建端口号和Mac地址信息的映射表,映射表示例如下:
如上表所示,MAC地址为00-44-54-55-00-00的DS-TT端口DS-TT端口号分配端口号为1001,MAC地址为00-44-54-52-00-00的DS-TT端口DS-TT端口号分配为2001。该映射表在第一次PDU会话建立时创建,在该流程内老化起始时间为空值(NULL),老化时间不生效。
步骤1503,UPF通过N4口PFCP会话建立/修改请求将DS-TT端口号携带给SMF。
步骤1504,SMF本地存储DS-TT以太网端口的MAC地址与DS-TT端口号的映射关系。
步骤1505,SMF把DS-TT以太网端口的MAC地址与DS-TT端口号的映射关系发送给PCF。
步骤1506,PCF把DS-TT以太网端口的MAC地址与DS-TT端口号的映射关系发送给TSN-AF。
TSN业务完成后,UE发起PDU会话释放流程(PDU Session Release),UPF限时存储获取DS-TT以太网端口(DS-TT Ethernet port)MAC地址和端口号对应关系。
步骤1507,UPF上限时存储UPF为DS-TT上分配的以太网端口的端口号和Mac地址信息的映射表,映射表示例如下:
如上表所示,MAC地址为00-44-54-52-00-00的DS-TT端口,PDU会话释放结束时间为2022-07-06 15:49:55,现实存储时长设定为30分钟(举例值)。在30分钟内,若该端口重新上线,UPF不需为该端口重新分配端口号,超过30分钟后,UPF重新分配端口号。
2022-07-06 16:40:01 MAC地址为00-42-51-52-00-00的DS-TT端口离线重新接入,PDU会话重新建立。
步骤1508,SMF通过N4口PFCP会话建立/修改请求,通知UPF建立会话,携带DS-TT Mac给UPF。
步骤1509,UPF根据MAC地址(00-42-51-52-00-00)查询映射表,查询结果为0(原有记录在30分钟内已经老化删除),即未查询到记录,UPF需重新分配DS-TT端口。
步骤1510,UPF重新分配DS-TT端口,更新DS-TT上分配的以太网端口的端口号和Mac地址信息的映射表,映射表如下:
如上表所示,MAC地址为00-44-54-55-00-00的DS-TT端口DS-TT端口号已重新分配为3002,MAC地址为00-44-54-52-00-00的DS-TT端口DS-TT端口号已重新分配为3003。由于此时处于PDU会话建立流程,老化起始时间为空值(NULL),老化时间不生效。
步骤1511,UPF通过N4口PFCP会话建立/修改请求,将变更后的映射表里的DS-TT端口号携带给SMF。
步骤1512,SMF本地变更和存储DS-TT以太网端口的MAC地址与DS-TT端口号的映射关系。
步骤1513,SMF把变更后的DS-TT以太网端口的MAC地址与DS-TT端口号的映射关系发送给PCF。
步骤1514,PCF把变更后的DS-TT以太网端口的MAC地址与DS-TT端口号的映射关系发送给TSN-AF。
综上,本公开实施例提供了一种网桥端口分配方法及装置,可以应用于DS-TT端口离线需重新接入的情况,若设备不定时出现离线重新接入的情况,包括DS-TT异常断电、DS-TT重启、DS-TT网络中断等。工业以太网协议已经开始支持TSN,本公开实施例适用于一些存在DS-TT离线需重新接入的情况,尤其是在使用大量的DS-TT设备时,若各设备不定时出现离线重新接入的情况。
本公开实施例提供的一种网桥端口分配方法及装置,能够解决DS-TT离线需重新接入的情况,重新接入后,建立新的PDU会话,UPF需重新为DS-TT分配端口号,尤其是在使用大量的DS-TT设备时,若设备不定时出现离线重新接入的情况,这样会造成端口号频繁变化,进而导致5GS网桥信息和网桥配置信息的频繁刷新。通过定时存储5GS网桥端口的方法,可以有效降低5GS网桥信息和网桥配置信息的频繁刷新。保证了网络拓扑的稳定性,也降低了系统维护成本,提高性能。
DS-TT离线需重新接入情况包括DS-TT异常断电、DS-TT重启、DS-TT网络中断等。N4口PFCP信令消息里面带有DS-TT MAC地址,包括PFCP会话建立/修改消息中SMF携带DS-TT MAC地址下发给UPF,以及,UPF定时存储由UPF为DS-TT分配的以太网端口的端口号、Mac地址信息、老化起始时间、和老化时长四个参数组成的映射表,都在本公开实施例的保护范围之内。
以上所述仅为本公开实施例的优选实施例而已,并不用于限制本公开实施例,对于本领域的技术人员来说,本公开实施例可以有各种更改和变化。凡在本公开实施例的原则之内,所作的任何修改、等同替换、改进等,均应包含在本公开实施例的保护范围之内。

Claims (13)

  1. 一种网桥端口分配方法,包括:
    用户设备UE建立协议数据单元PDU的会话关联;
    根据所述会话关联,建立用户侧时间敏感网络转换器DS-TT的初始端口号和媒体访问控制MAC地址的映射表;
    根据所述映射表为释放后又重新接入会话的所述UE分配更新端口号。
  2. 根据权利要求1所述的方法,其中,所述用户设备UE建立协议数据单元PDU的会话关联,包括:
    用户平面功能UPF接收来自用户管理功能SMF的DS-TT的MAC地址;
    所述UPF为所述DS-TT分配所述初始端口号,以完成建立DS-TT/UE与PDU的会话关联。
  3. 根据权利要求1所述的方法,其中,所述建立用户侧时间敏感网络转换器DS-TT的初始端口号和媒体访问控制MAC地址的映射表,包括:
    用户平面功能UPF建立所述初始端口号和所述MAC地址的映射表,其中所述映射表包括所述初始端口号、所述MAC地址、会话释放起始时间、会话释放时长;
    所述UPF将为所述DS-TT分配的端口号上报至会话管理功能SMF。
  4. 根据权利要求1所述的方法,其中,在所述建立用户侧时间敏感网络转换器DS-TT的初始端口号和媒体访问控制MAC地址的映射表之后,还包括:
    若达到预设的会话释放时长,所述释放会话的所述UE的DS-TT没有按照对应的所述MAC地址重新发起会话,则在所述映射表中删除所述DS-TT的对应的所述初始端口号。
  5. 根据权利要求1所述的方法,其中,在所述建立用户侧时间敏感网络转换器DS-TT的初始端口号和媒体访问控制MAC地址的映射表之后,还包括:
    策略控制模块PCF接收来自会话管理功能SMF的所述端口号;
    所述PCF将所述端口号发送至时间敏感网络应用功能TSN AF。
  6. 根据权利要求1所述的方法,其中,根据所述映射表为释放后又重新接入会话的所述UE分配更新端口号,包括:
    用户平面功能UPF接收来自会话管理功能SMF的所述释放后又重新接入会话的所述UE的DS-TT的MAC地址;
    所述UPF查询所述映射表,若查询到与所述MAC地址对应的初始端口号,则将所述初始端口号作为更新端口号分配给所述释放后又重新接入会话的所述UE的DS-TT;若没有查询到与所述MAC地址对应的初始端口号,则由UPF重新为所述释放后又重新接入会话的所述UE的DS-TT分配更新端口号。
  7. 一种网桥端口分配装置,包括:
    会话建立模块,设置为建立用户设备UE与协议数据单元PDU的会话关联;
    映射表建立模块,设置为根据所述会话关联,建立用户侧时间敏感网络转换器DS-TT的初始端口号和媒体访问控制MAC地址的映射表;
    更新端口号分配模块,设置为根据所述映射表为释放后又重新接入会话的所述UE分配更新端口号。
  8. 根据权利要求7所述的装置,其中,所述会话建立模块包括:
    会话通知单元,设置为将来自用户管理功能SMF的DS-TT的MAC地址发送至用户平面功能UPF,以通知所述UPF建立会话关联;
    初始端口号分配单元,设置为为所述DS-TT分配所述初始端口号,以完成建立DS-TT/UE与PDU的会话关联。
  9. 根据权利要求7所述的装置,其中,所述映射表建立模块包括:
    映射表建立单元,设置为建立所述初始端口号和所述MAC地址的映射表,其中所述映射表包括所述初始端口号、所述MAC地址、会话释放起始时间、会话释放时长;
    端口号上报单元,设置为将为所述DS-TT分配的端口号上报至会话管理功能SMF。
  10. 根据权利要求7所述的装置,其中,还包括:
    映射表更新模块,设置为在达到预设的会话释放时长,且所述释放会话的所述UE的DS-TT没有按照对应的所述MAC地址重新发起会话的情况下,在所述映射表中删除所述DS-TT的对应的所述初始端口号。
  11. 根据权利要求7所述的装置,其中,所述更新端口号分配模块包括:
    MAC地址接收单元,设置为接收来自会话管理功能SMF的所述释放会话的所述UE的DS-TT的MAC地址;
    更新端口号分配单元,设置为查询所述映射表,并在查询到与所述MAC地址对应的初始端口号的情况下,将所述初始端口号作为更新端口号分配给所述释放会话的所述UE的DS-TT;在没有查询到与所述MAC地址对应的初始端口号的情况下,由UPF重新为所述释放后又重新接入会话的所述UE的DS-TT分配更新端口号。
  12. 一种计算机可读存储介质,所述计算机可读存储介质中存储有计算机程序,其中,所述计算机程序被处理器执行时实现所述权利要求1至6任一项中所述的方法。
  13. 一种电子装置,包括存储器、处理器以及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述处理器执行所述计算机程序时实现所述权利要求1至6任一项中所述的方法。
PCT/CN2023/121191 2022-09-30 2023-09-25 网桥端口分配方法及装置 Ceased WO2024067509A1 (zh)

Priority Applications (1)

Application Number Priority Date Filing Date Title
EP23870738.4A EP4583555A4 (en) 2022-09-30 2023-09-25 METHOD AND APPARATUS FOR ALLOCATING A NETWORK BRIDGE PORT

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202211214558.0A CN117858068A (zh) 2022-09-30 2022-09-30 网桥端口分配方法及装置
CN202211214558.0 2022-09-30

Publications (1)

Publication Number Publication Date
WO2024067509A1 true WO2024067509A1 (zh) 2024-04-04

Family

ID=90476270

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2023/121191 Ceased WO2024067509A1 (zh) 2022-09-30 2023-09-25 网桥端口分配方法及装置

Country Status (3)

Country Link
EP (1) EP4583555A4 (zh)
CN (1) CN117858068A (zh)
WO (1) WO2024067509A1 (zh)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110611924A (zh) * 2019-09-27 2019-12-24 腾讯科技(深圳)有限公司 实现时间敏感网络的数据传输的方法、相关设备及介质
WO2020248582A1 (en) * 2019-06-12 2020-12-17 Telefonaktiebolaget Lm Ericsson (Publ) Methods and apparatuses for logical tsn bridge
WO2022082724A1 (en) * 2020-10-23 2022-04-28 Nokia Shanghai Bell Co., Ltd. Method and apparatus for multicast service support in time sensitive network

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020248582A1 (en) * 2019-06-12 2020-12-17 Telefonaktiebolaget Lm Ericsson (Publ) Methods and apparatuses for logical tsn bridge
CN113994751A (zh) * 2019-06-12 2022-01-28 瑞典爱立信有限公司 用于逻辑tsn网桥的方法和装置
CN110611924A (zh) * 2019-09-27 2019-12-24 腾讯科技(深圳)有限公司 实现时间敏感网络的数据传输的方法、相关设备及介质
US20220030641A1 (en) * 2019-09-27 2022-01-27 Tencent Technology (Shenzhen) Company Limited Method for implementing data transmission of time sensitive network, related device and medium
WO2022082724A1 (en) * 2020-10-23 2022-04-28 Nokia Shanghai Bell Co., Ltd. Method and apparatus for multicast service support in time sensitive network

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP4583555A4

Also Published As

Publication number Publication date
EP4583555A1 (en) 2025-07-09
CN117858068A (zh) 2024-04-09
EP4583555A4 (en) 2025-12-03

Similar Documents

Publication Publication Date Title
AU2021277736B2 (en) Pdu type setting method, ue policy setting method, and related entity
CN103312605B (zh) 一种网关设备身份设置的方法及管理网关设备
CN102316447B (zh) Ip地址分配与发送方法以及无线接入器、服务器、系统
EP3742785A1 (en) Session management method and device
CN106657330B (zh) 用户数据迁移方法和用户数据备份方法、装置及系统
US20200280896A1 (en) Communication method and communications apparatus
EP3648525A1 (en) Network management method and system
CN102098354A (zh) 动态主机配置协议地址分配方法及服务器
CN102123105A (zh) Vrrp标准协议与vrrp负载均衡协议之间的切换方法和设备
CN104604193A (zh) 具有虚拟设备环境功能的网络基础设施的自动管理
WO2024099244A1 (zh) 一种通信方法、装置、相关设备和存储介质
CN103731286A (zh) 聚合端口id分配方法及装置
CN109089288B (zh) 一种数据传输的方法和设备
WO2021192628A1 (ja) ネットワーク制御装置、ネットワークの制御方法およびプログラム
CN112416495A (zh) 一种超融合云终端资源统一管理系统及方法
US20050198370A1 (en) Method for creating, deleting, and maintaining logical networks
CN103634877B (zh) 无接入控制器的网络中接入点的管理方法和接入点设备
EP3713184A1 (en) Data transmission method and related device
WO2024067509A1 (zh) 网桥端口分配方法及装置
CN105009522B (zh) 一种部署增值业务的方法、网络设备及增值业务设备
CN108512679A (zh) 一种网关设备的管理方法及装置
CN106169982A (zh) 扩展端口的处理方法、装置及系统
US9077700B2 (en) Authentication server, authentication method and computer program
CN107666443A (zh) 一种报文转发方法及装置
WO2024131514A1 (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: 23870738

Country of ref document: EP

Kind code of ref document: A1

WWE Wipo information: entry into national phase

Ref document number: 2023870738

Country of ref document: EP

ENP Entry into the national phase

Ref document number: 2023870738

Country of ref document: EP

Effective date: 20250331

NENP Non-entry into the national phase

Ref country code: DE

WWP Wipo information: published in national office

Ref document number: 2023870738

Country of ref document: EP