Routing method and device, nonvolatile storage medium and electronic device

By configuring a preset routing table in the user functional plane UPF network element, the problem of unroutable internal network addresses connected to 5G data networks and 5G terminals is solved, achieving the effects of reducing hardware costs and simplifying network configuration.

CN116866262BActive Publication Date: 2026-04-17CHINA TELECOM INTELLIGENT NETWORK TECHNOLOGY CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
CHINA TELECOM INTELLIGENT NETWORK TECHNOLOGY CO LTD
Filing Date
2023-08-16
Publication Date
2026-04-17

AI Technical Summary

Technical Problem

Existing technologies cannot effectively route 5G data networks and internal network addresses connected to 5G terminals, leading to increased hardware costs and network configuration complexity.

Method used

By configuring a preset routing table in the User Function Plane (UPF) network element, the data network identifier (DNN) and network address of the Protocol Data Unit (PDU) session can be queried and routed to achieve routing of the 5G data network and the internal network address attached to the 5G terminal.

Benefits of technology

It reduces the hardware cost and network configuration complexity of 5G customized network delivery, and improves the routing efficiency of 5G data networks and 5G terminals with attached internal network addresses.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116866262B_ABST
    Figure CN116866262B_ABST
Patent Text Reader

Abstract

The application discloses a routing method and device, a nonvolatile storage medium and an electronic device. The method comprises the following steps: a user plane function (UPF) network element receives a protocol data unit (PDU) session; a target data network identifier (DNN) of the PDU session is inquired in a preset link table, wherein the preset link table is used for recording at least one preset DNN of the PDU session transmitted with a data network (DN); a target network address having a routing relationship with the target DNN is inquired in a preset routing table, wherein the preset routing table is used for recording the routing relationship between each preset DNN and at least one preset network address; and the PDU session is routed between the target network address and the DN through the target DNN. The application solves the technical problem that the prior art cannot route the internal network address hung under the 5G data network and the 5G terminal.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of communications, and more specifically, to a routing method, apparatus, non-volatile storage medium, and electronic device. Background Technology

[0002] In the delivery of 5G customized network projects, many service scenarios require the User Plane Function (UPF) to forward the internal network addresses of 5G terminals such as Customer Premises Equipment (CPEs). Currently, the main alternatives are port forwarding or overlaying on the CPE using tunneling technologies such as VXLAN, GRE, and L2TP. These technologies increase the hardware cost of the customized network due to the need for an Internet Service Provider Interface (LNS), while tunneling and other technologies increase network overhead and further complicate the delivery and configuration of 5G customized networks.

[0003] There is currently no effective solution to the problem that existing technologies cannot route internal network addresses connected to 5G data networks and 5G terminals. Summary of the Invention

[0004] This invention provides a routing method, apparatus, non-volatile storage medium, and electronic device to at least solve the technical problem that the prior art cannot route 5G data networks and intranet addresses connected to 5G terminals.

[0005] According to one aspect of the present invention, a routing method is provided, comprising: a User Function Plane (UPF) network element receiving a Protocol Data Unit (PDU) session; querying a preset data network identifier (DNN) that transmits the PDU session in a preset link table as a target data network identifier (DNN), wherein the preset link table is pre-stored in the UPF network element and is used to record at least one of the preset data network identifiers (DNNs) that transmit the PDU session with a data network (DN); querying a preset network address that has a routing relationship with the target data network identifier (DNN) in a preset routing table as a target network address, wherein the preset routing table is pre-stored in the UPF network element and is used to record the routing relationship between each preset data network identifier (DNN) and at least one preset network address; and routing the PDU session between the target network address and the data network (DN) through the target data network identifier (DNN).

[0006] Optionally, before receiving Protocol Data Unit (PDU) sessions through the User Function Plane (UPF) network element, the method further includes: receiving a preset entry issued by a Session Management Function (SMF), wherein the SMF is used to configure and manage the UPF network element, and the preset entry carries a preset Data Network Identifier (DNN) and a preset network address that requires routing by the DNN; and storing the preset entry in the preset routing table.

[0007] Optionally, in the preset link table, querying the preset data network identifier (DNN) of the transmission of the Protocol Data Unit (PDU) session as the target data network identifier (DNN) includes: identifying the target identifier information carried by the PDU session, wherein the target identifier information represents the unique identifier of the target data network identifier (DNN) of the transmission of the PDU session; and in the preset query fast table, querying the preset data network identifier (DNN) corresponding to the target identifier information as the target data network identifier (DNN), wherein the preset query fast table is used to record at least one preset identifier information and the preset data network identifier (DNN) corresponding to each preset identifier information.

[0008] Optionally, querying the preset data network identifier (DNN) corresponding to the target identifier information in the preset query list includes: identifying the transmission direction of the Protocol Data Unit (PDU) session based on the target identifier information, wherein the target identifier information is further used to indicate the transmission direction, the transmission direction includes at least an uplink direction and a downlink direction, the uplink direction indicates that the PDU session is sent by the preset data network identifier (DNN), and the downlink direction indicates that the PDU session is sent to the preset data network identifier (DNN); determining the target query list corresponding to the transmission direction in the preset query list, wherein the preset query list includes: a preset source list corresponding to the uplink direction and a preset destination list corresponding to the downlink direction, the preset source list is used to record at least one preset data network identifier (DNN) that sends the PDU session, and the preset destination list records at least one preset data network identifier (DNN) that receives the PDU session.

[0009] Optionally, after identifying the target identification information carried by the Protocol Data Unit (PDU) session, the method further includes: if the target data network identifier (DNN) corresponding to the target identification information cannot be found in a preset lookup table, invoking a Packet Forwarding Control Protocol (PFCP) session table pre-stored by the User Function Plane (UPF) network element, wherein the PFCP session table is used to record at least one preset action performed by the UPF network element on the PDU, the preset action including at least a target action for analyzing the transmission object of the PDU session, the transmission object being the target data network identifier (DNN); and analyzing the PDU session according to the target action to determine the target data network identifier (DNN).

[0010] Optionally, routing the Protocol Data Unit (PDU) session between the target network address and the data network DN via the target data network identifier (DNN) includes: determining a target terminal using the target data network identifier (DNN), wherein the target terminal is connected to the target network address; and routing the PDU session between the target network address and the data network DN via the target terminal.

[0011] Optionally, the method further includes: if no target network address with a routing relationship with the target data network identifier (DNN) is found in the preset routing table, transmitting the protocol data unit (PDU) session between the target data network identifier (DNN) and the data network (DN).

[0012] According to another aspect of the present invention, a routing apparatus is also provided, comprising: a receiving module for receiving a Protocol Data Unit (PDU) session by a User Function Plane (UPF) network element; a first query module for querying a preset data network identifier (DNN) transmitting the PDU session as a target data network identifier (DNN) in a preset link table, wherein the preset link table is pre-stored in the UPF network element and is used to record at least one of the preset data network identifiers (DNNs) that mutually transmit the PDU session with a data network (DN); a second query module for querying a preset network address having a routing relationship with the target data network identifier (DNN) as a target network address in a preset routing table, wherein the preset routing table is pre-stored in the UPF network element and is used to record the routing relationship between each preset data network identifier (DNN) and at least one preset network address; and a routing module for routing the PDU session between the target network address and the data network (DN) through the target data network identifier (DNN).

[0013] According to another aspect of the present invention, a non-volatile storage medium is also provided, the non-volatile storage medium being used to store a program, wherein, when the program is running, the device where the non-volatile storage medium is located is controlled to execute the routing method described above.

[0014] According to another aspect of the present invention, an electronic device is also provided, including: a memory and a processor, the processor being configured to run a program stored in the processor, wherein the program executes the routing method described above when it runs.

[0015] In this embodiment of the invention, the User Function Plane (UPF) network element receives Protocol Data Unit (PDU) sessions; in a preset link table, it queries a preset data network identifier (DNN) of the PDU session to find the target data network identifier (DNN), wherein the preset link table is pre-stored in the UPF network element and is used to record at least one preset data network identifier (DNN) that transmits PDU sessions with the data network (DN); in a preset routing table, it queries a preset network address that has a routing relationship with the target data network identifier (DNN) to find the target network address, wherein the preset routing table is pre-stored in the UPF network element and is used to record each preset data network identifier (DNN). The routing relationship between N and at least one preset network address; the routing protocol data unit (PDU) session between the target network address and the data network DN through the target data network identifier (DNN); by configuring a preset routing table for the user function plane (UPF) network element, the preset data network identifier (DNN) recorded in the preset routing table can have routing function, enabling the preset data network identifier (DNN) to route protocol data unit (PDU) sessions between the corresponding preset network address and the data network DN, thereby achieving the technical effect of routing the internal network address connected to the 5G data network and the 5G terminal, and thus solving the technical problem that the existing technology cannot route the internal network address connected to the 5G data network and the 5G terminal. Attached Figure Description

[0016] The accompanying drawings, which are included to provide a further understanding of the invention and form part of this application, illustrate exemplary embodiments of the invention and, together with their description, serve to explain the invention and do not constitute an undue limitation thereof. In the drawings:

[0017] Figure 1 This is a flowchart of a routing method according to an embodiment of the present invention;

[0018] Figure 2 This is a schematic diagram of a 5G routing-type UE interoperability method architecture according to an embodiment of the present invention;

[0019] Figure 3 This is a schematic diagram of a 5G routing-type UE interoperability method according to an embodiment of the present invention;

[0020] Figure 4 This is a schematic diagram of a routing device according to an embodiment of the present invention;

[0021] Figure 5 This is a structural block diagram of a computer terminal according to an embodiment of the present invention. Detailed Implementation

[0022] To enable those skilled in the art to better understand the present invention, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings of the embodiments of the present invention. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort should fall within the scope of protection of the present invention.

[0023] It should be noted that the terms "first," "second," etc., in the specification, claims, and accompanying drawings of this invention are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of the invention described herein can be implemented in orders other than those illustrated or described herein. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover a non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.

[0024] According to an embodiment of the present invention, a routing method embodiment is provided. It should be noted that the steps shown in the flowchart in the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions. Furthermore, although a logical order is shown in the flowchart, in some cases, the steps shown or described may be executed in a different order than that shown here.

[0025] Figure 1 This is a flowchart of a routing method according to an embodiment of the present invention, such as... Figure 1 As shown, the method includes the following steps:

[0026] Step S102: The user function plane (UPF) network element receives the protocol data unit (PDU) session;

[0027] Step S104: In the preset link table, query the preset data network identifier DNN of the transmission protocol data unit (PDU) session as the target data network identifier DNN. The preset link table is pre-stored in the user function plane (UPF) network element and is used to record at least one preset data network identifier DNN of the transmission protocol data unit (PDU) session with the data network DN.

[0028] Step S106: In the preset routing table, query the preset network address that has a routing relationship with the target data network identifier (DNN) as the target network address. The preset routing table is stored in the user function plane (UPF) network element in advance to record the routing relationship between each preset data network identifier (DNN) and at least one preset network address.

[0029] Step S108: Routing Protocol Data Unit (PDU) sessions between the target network address and the data network DN through the target data network identifier DNN.

[0030] In this embodiment of the invention, the User Function Plane (UPF) network element receives Protocol Data Unit (PDU) sessions; in a preset link table, it queries a preset data network identifier (DNN) of the PDU session to find the target data network identifier (DNN), wherein the preset link table is pre-stored in the UPF network element and is used to record at least one preset data network identifier (DNN) that transmits PDU sessions with the data network (DN); in a preset routing table, it queries a preset network address that has a routing relationship with the target data network identifier (DNN) to find the target network address, wherein the preset routing table is pre-stored in the UPF network element and is used to record each preset data network identifier (DNN). The routing relationship between N and at least one preset network address; the routing protocol data unit (PDU) session between the target network address and the data network DN through the target data network identifier (DNN); by configuring a preset routing table for the user function plane (UPF) network element, the preset data network identifier (DNN) recorded in the preset routing table can have routing function, enabling the preset data network identifier (DNN) to route protocol data unit (PDU) sessions between the corresponding preset network address and the data network DN, thereby achieving the technical effect of routing the internal network address connected to the 5G data network and the 5G terminal, and thus solving the technical problem that the existing technology cannot route the internal network address connected to the 5G data network and the 5G terminal.

[0031] It should be noted that the above routing method can be executed by the user function plane UPF network element. By configuring a preset routing table for the user function plane UPF network element, the preset routing table records the preset data network identifier (DNN) that needs to enable routing function, and one or more preset network addresses that each preset data network identifier (DNN) needs to be routed to.

[0032] In step S102 above, UPF, or User Plane Function, is mainly responsible for routing and forwarding data packets in the 5G core network user plane.

[0033] In step S102 above, PDU, or Protocol Data Unit, is short for Protocol Data Unit. It is the information exchanged between peer layers of the protocol layer. A PDU session refers to the communication process between a user terminal UE and a data network DN. After a PDU session is established, a data transmission channel between the user terminal UE and the data network DN is established.

[0034] Optionally, the user terminal (UE) can establish a data transmission channel through the corresponding data network identifier (DNN) and data network identifier (DN).

[0035] In step S104 above, the DNN recorded in the preset link table, namely Data Network Identifier (abbreviated as Data NetworkName), is a new feature in 5G networks used to support network slicing. Network slicing is a technology used in 5G to divide physical network infrastructure into multiple virtual networks, each with its own resource and Quality of Service (QoS) requirements. Each virtual network has a unique DNN, which the 5G core network uses to route traffic to the appropriate network slice.

[0036] In step S104 above, DN, short for Data Network, refers to a network system based on data transmission used to transmit and share data between different computers, terminal devices, and servers. Data networks connect different nodes using various network technologies and protocols, such as Local Area Networks (LANs), Wide Area Networks (WANs), and the Internet, so that they can communicate and exchange data with each other.

[0037] In the above embodiments of the present invention, when the target data network identifier (DNN) of the transmission protocol data unit (PDU) is found in the preset link table, communication between the target data network identifier (DNN) and the data network (DN) can be realized.

[0038] In step S104 above, the target data network identifier (DNN) of the transmission protocol data unit (PDU) session can send or receive protocol data unit (PDU) sessions.

[0039] In step S106 above, the preset network address recorded in the preset routing table can be the local area network address connected to the user terminal UE. The user terminal UE uses the corresponding preset data network identifier DNN to transmit data with the data network DN.

[0040] In the above embodiments of the present invention, when a target network address with a routing relationship with the target data network identifier (DNN) is found in the preset routing table, the routing function of the user terminal (UE) corresponding to the target data network identifier (DNN) can be enabled to realize the routing between the target network address and the data network (DN) connected to the user terminal (UE).

[0041] As an optional embodiment, before receiving Protocol Data Unit (PDU) sessions through the User Function Plane (UPF) network element, the method further includes: receiving a preset entry issued by the Session Management Function (SMF), wherein the SMF is used to configure and manage the UPF network element, and the preset entry carries a preset Data Network Identifier (DNN) and a preset network address that requires routing of the preset Data Network Identifier (DNN); and storing the preset entry in a preset routing table.

[0042] It should be noted that SMF, or Session Management Function, is used to control and manage the execution strategy of user function plane (UPF) network elements in processing service flows.

[0043] In the above embodiments of the present invention, the Session Management Function (SMF) allocates preset entries to the User Function Plane (UPF) network elements, and configures and updates the preset routing table in the UPF network elements according to the correspondence between the preset data network identifier (DNN) carried in the preset entries and the preset network address.

[0044] Optionally, the format of the preset entry is: [DNN:UE-Exband-Subnet], which is used to record the preset data network identifier (DNN) that needs to enable this routing function, and the network address range (i.e., the preset network address) of the 5G terminal that needs to implement routing forwarding (i.e., the user terminal UE using the preset data network identifier DNN).

[0045] As an optional embodiment, in the preset link table, querying the preset data network identifier (DNN) of a transmission protocol data unit (PDU) session as the target data network identifier (DNN) includes: identifying the target identifier information carried by the PDU session, wherein the target identifier information represents the unique identifier of the target data network identifier (DNN) of the PDU session; and in the preset query fast table, querying the preset data network identifier (DNN) corresponding to the target identifier information as the target data network identifier (DNN), wherein the preset query fast table is used to record at least one preset identifier information and the preset data network identifier (DNN) corresponding to each preset identifier information.

[0046] In the above embodiments of the present invention, a preset link table is used to record at least one preset data network identifier (DNN) for protocol data unit (PDU) sessions that are mutually transmitted with the data network (DN). In the process of determining the target DNN, it can be implemented based on a preset query block table. The preset query block table can record the preset identifier information corresponding to each preset DNN. By analyzing the transmitted protocol data unit (PDU) sessions, the target identifier information carried in the protocol data unit (PDU) sessions can be identified. Then, based on the target identifier information, the target data network identifier (DNN) indicating that the protocol data unit (PDU) session is communicating with the data network (DN) can be found in the preset query block table.

[0047] It should be noted that a Protocol Data Unit (PDU) represents communication between a Data Network Identifier (DNN) and a Data Network DN (DN). User Function Plane (UPF) network elements can receive PDU sessions. Therefore, the PDU session received by the UPF network element can be an intermediate session from the DNN to the DN, or vice versa. Thus, the PDUs received by the UPF network element are directional. Consequently, a corresponding preset lookup block table can be set based on the transmission direction of the PDU, allowing for the rapid determination of the target DNN indicated by each PDU within the preset lookup block table.

[0048] As an optional embodiment, in the preset lookup list, querying the preset data network identifier (DNN) corresponding to the target identifier information includes: identifying the transmission direction of the Protocol Data Unit (PDU) session based on the target identifier information, wherein the target identifier information is also used to indicate the transmission direction, which includes at least an uplink direction and a downlink direction. The uplink direction indicates that the PDU session is sent by the preset data network identifier (DNN), and the downlink direction indicates that the PDU session is sent to the preset data network identifier (DNN); determining the target lookup list corresponding to the transmission direction in the preset lookup list, wherein the preset lookup list includes: a preset source list corresponding to the uplink direction and a preset destination list corresponding to the downlink direction. The preset source list is used to record at least one preset data network identifier (DNN) that sends the PDU session, and the preset destination list records at least one preset data network identifier (DNN) that receives the PDU session.

[0049] Optionally, the uplink direction indicates that the Protocol Data Unit (PDU) session is initiated by a preset data network identifier (DNN) and forwarded to the data network (DN) after passing through the User Function Plane (UPF) network element.

[0050] Optionally, the downlink direction indicates that the Protocol Data Unit (PDU) session is initiated by the Data Network (DN) and sent to the preset Data Network Identifier (DNN) after passing through the User Functional Facet (UPF) network element.

[0051] Optionally, the preset lookup list corresponding to the uplink direction is a preset source list, which is used to record at least one preset data network identifier (DNN) of the transmission protocol data unit (PDU) session.

[0052] Optionally, the preset lookup list corresponding to the downlink direction is a preset destination list, used to receive at least one preset data network identifier (DNN) for the protocol data unit (PDU) session.

[0053] In the above embodiments of the present invention, when querying the target data network identifier (DNN) according to a preset lookup list, the transmission direction of the Protocol Data Unit (PDU) session can be identified first, and then the target lookup list can be selected from the preset source list and the preset destination list according to the transmission direction. In this way, the target data network identifier (DNN) can be quickly determined from the target lookup list, thus realizing the rapid determination of the target data network identifier (DNN).

[0054] It should be noted that the communication between the Session Management Function (SMF) and the Protocol Data Unit (PDU) session is called the PFCP session. PFCP, short for Packet Forwarding Control Protocol, is a protocol used to control and manage the forwarding of network packets, and is mainly used for data plane control in 5G networks.

[0055] As an optional embodiment, after identifying the target identification information carried by the Protocol Data Unit (PDU) session, the method further includes: if the target data network identifier (DNN) corresponding to the target identification information cannot be found in the preset lookup table, invoking the Packet Forwarding Control Protocol (PFCP) session table pre-stored by the User Function Plane (UPF) network element, wherein the PFCP session table is used to record at least one preset action performed by the UPF network element on the PDU, and the preset action includes at least the target action of analyzing the transmission object of the PDU session, wherein the transmission object is the target data network identifier (DNN); and analyzing the PDU session according to the target action to determine the target data network identifier (DNN).

[0056] In the above embodiments of the present invention, when the target data network identifier (DNN) cannot be quickly queried based on the preset lookup fast table, the protocol data unit (PDU) session can be analyzed based on the packet forwarding control protocol (PFCP) session table pre-stored in the user function plane (UPF) network element to determine the target data network identifier (DNN). This can ensure that the target data network identifier (DNN) can be accurately determined and improve reliability.

[0057] As an optional embodiment, routing Protocol Data Unit (PDU) sessions between a target network address and a data network DN via a target data network identifier (DNN) includes: determining a target terminal using the target data network identifier (DNN), wherein the target terminal is connected to a target network address; and routing the PDU sessions between the target network address and the data network DN via the target terminal.

[0058] In the above embodiments of the present invention, the target data network identifier (DNN) can serve as the access point of the data network DN, enabling the target terminal to communicate with the data network DN based on the target data network identifier (DNN). Furthermore, when the target terminal accesses the target network address of the local area network, since the target data network identifier (DNN) has been recorded in the preset routing table of the user function plane (UPF) network element, it indicates that the UPF network element has enabled the routing function of the target data network identifier (DNN). Therefore, the target terminal using the target data network identifier (DNN) can be used as a routing device to realize routing between the target network address and the data network DN, routing protocol data unit (PDU) sessions between the target network address and the data network DN, and enabling communication between the target network address and the data network DN.

[0059] As an optional embodiment, the method further includes: if no target network address with a routing relationship with the target data network identifier (DNN) is found in the preset routing table, transmitting a Protocol Data Unit (PDU) session between the target data network identifier (DNN) and the data network (DN).

[0060] In the above embodiments of the present invention, if no target network address with a routing relationship with the target data network identifier (DNN) is found in the preset routing table, it indicates that the target data network identifier (DNN) has not enabled routing. Therefore, only Protocol Data Unit (PDU) sessions can be transmitted between the target data network identifier (DNN) and the data network (DN) to achieve communication between the target data network identifier (DNN) and the data network (DN).

[0061] The present invention also provides an optional embodiment, which provides a 5G routing UE interoperability method, which can realize routing forwarding of the network under CPE, provide network channels for CPE bridging mode / routing mode, realize the peer-to-peer network requirements of customized network, reduce project costs, and improve the delivery efficiency of 5G customized network.

[0062] Figure 2 This is a schematic diagram of a 5G routing-type UE interoperability method architecture according to an embodiment of the present invention. Figure 3 This is a schematic diagram of a 5G routing-type UE interoperability method according to an embodiment of the present invention, as shown below. Figure 2 and Figure 3As shown, the implementation method is as follows:

[0063] Optionally, the UPF forwarding layer (i.e., the user function plane UPF network element) implements a routing type UE forwarding table (i.e., a preset routing table). The table entry format is: [DNN:UE-Exband-Subnet], which is used to record the DNN (i.e., the preset data network identifier DNN) that needs to enable this function and the network address range (i.e., the preset network address) after the 5G terminal that needs to implement routing forwarding.

[0064] Optionally, after configuring [DNN:UE-Exband-Subnet] on the UPF network management system (that is, sending preset entries to the UPF network elements of the user function plane through the session management function SMF), the entries are sent to the routing type UE forwarding table (that is, the preset routing table) of the UPF forwarding module and saved to take effect.

[0065] Optionally, when the user terminal UE enables routing mode and goes online through the configured DNN (i.e., the user terminal UE uses the preset data network identifier DNN, where the preset data network identifier DNN has a target network address with routing relationship), the Source IP of the uplink traffic arriving at the UPF is the internal network address connected to the UE, and the DestIP of the downlink traffic arriving at the UPF is the internal network address connected to the UE, which is included in the network address range in [DNN:UE-Exband-Subnet] (that is, the uplink traffic comes from the target network address with routing relationship to the target data network identifier DNN, and the downlink traffic is sent to the target network address with routing relationship to the target data network identifier DNN).

[0066] Optionally, for the uplink direction, the UPF will query the TLB / PFCP session table based on the Source IP. If no CPE internal network address is found, it will look up the routing UE forwarding table and perform uplink forwarding if a match is found. For the downlink direction, the UPF will query the TLB / PFCP session table based on the Dest IP. If no CPE internal network address is found, it will look up the routing UE forwarding table and perform downlink forwarding if a match is found.

[0067] It should be noted that the preset link table can record at least one preset data network identifier (DNN) for the protocol data unit (PDU) session that transmits the protocol data unit (PDU) with the data network (DN). If the protocol data unit (PDU) session indicates the establishment of communication between the target network address and the data network (DN), the uplink traffic or uplink session comes from the target network address, and the downlink traffic or downlink session is also aimed at the target network address. Therefore, the target network address cannot be directly locked based on the preset link table, so the preset routing table is needed to further determine the target network address.

[0068] It should be noted that CPE is an abbreviation for Customer Premises Equipment, which refers to communication equipment installed at the user's end to connect the user and the service provider's network. It can refer to a pre-defined data network identifier (DNN) or a user terminal that uses a data network identifier (DNN).

[0069] Optionally, for CPEs that do not have routing enabled, the original table lookup method is used for forwarding, without affecting regular PDU sessions.

[0070] Optionally, the routing UE forwarding table is equivalent to recording the internal network routing table after the CPE on the UPF, adding the internal network address after the routing UE to the routing UEIP (such as the unique identifier of the target data network identifier DNN).

[0071] Optionally, for scenarios where multiple intranet address routing and forwarding need to be enabled within a DNN, only multiple [DNN:UE-Exband-Subnet] need to be configured, such as: [DNN1:AAA0 / 24], [DNN1:AAB0 / 24].

[0072] As an optional example, the above-mentioned 5G routing-type UE interoperability method can be implemented in the following way:

[0073] S1. Add a "routing-type UE forwarding table" (i.e., a preset routing table) to the UPF forwarding module, and associate it with the DNN that needs to enable this function and the internal network addresses connected to the UE. Add the configuration [DNN:UE-Exband-Subnet] to the UPF network management interface to enable the function and configure the corresponding internal network address range that needs to be routed.

[0074] S2. When the UPF network management system writes [DNN:UE-Exband-Subnet] into the forwarding configuration and submits it, the UPF forwarding module will write [DNN:UE-Exband-Subnet] into the "routing-type UE forwarding table" (i.e., the preset routing table), and the UE post-routing function of this DNN will be activated. For example, [DNN1:ABC0 / 24].

[0075] S3. When the terminal enables the routing function and goes online using the configured DNN, the UPF identifies the DNN brought by the UE. When the DNN matches the configured DNN, such as DNN1, the UPF will start a "routing UE forwarding table" (i.e., the preset routing table) search for all PDU sessions of the terminal that goes online using DNN1. In addition to matching the UEIP, routing forwarding will also be started when matching ABC0 / 24.

[0076] S4. If a DNN has multiple internal network addresses that need to implement this function, then configure multiple [DNN:UE-Exband-Subnet], such as [DNN1:AB1.0 / 24], [DNN1:AB2.0 / 24], [DNN1:AB3.0 / 24].

[0077] The technical solution proposed in this application enables UPF to actively implement internal network routing and forwarding after UE, which can replace peer-to-peer network solutions based on overlays such as VXLAN, GRE, and L2TP, reduce the complexity of end-to-end network configuration, and reduce hardware costs. Compared with current post-routing technologies, it does not require upgrading core network elements or modifying existing SMF configurations; it can be implemented by only developing and configuring on the UPF.

[0078] According to an embodiment of the present invention, a routing device embodiment is also provided. It should be noted that the routing device can be used to execute the routing method in the embodiment of the present invention, and the routing method in the embodiment of the present invention can be executed in the routing device.

[0079] Figure 4 This is a schematic diagram of a routing device according to an embodiment of the present invention, such as... Figure 4 As shown, the device may include: a receiving module 42 for receiving Protocol Data Unit (PDU) sessions via a User Function Plane (UPF) network element; a first query module 44 for querying a preset data network identifier (DNN) of a PDU session as a target data network identifier (DNN) in a preset link table, wherein the preset link table is pre-stored in the UPF network element and is used to record at least one preset data network identifier (DNN) that transmits PDU sessions with the data network (DN); a second query module 46 for querying a preset network address with a routing relationship to the target data network identifier (DNN) as a target network address in a preset routing table, wherein the preset routing table is pre-stored in the UPF network element and is used to record the routing relationship between each preset data network identifier (DNN) and at least one preset network address; and a routing module 48 for routing PDU sessions between the target network address and the data network (DN) via the target data network identifier (DNN).

[0080] It should be noted that the receiving module 42 in this embodiment can be used to execute step S102 in this application embodiment, the first query module 44 in this embodiment can be used to execute step S104 in this application embodiment, the second query module 46 in this embodiment can be used to execute step S106 in this application embodiment, and the routing module 48 in this embodiment can be used to execute step S108 in this application embodiment. The examples and application scenarios implemented by the above modules and corresponding steps are the same, but are not limited to the content disclosed in the above embodiments.

[0081] In this embodiment of the invention, the User Function Plane (UPF) network element receives Protocol Data Unit (PDU) sessions; in a preset link table, it queries a preset data network identifier (DNN) of the PDU session to find the target data network identifier (DNN), wherein the preset link table is pre-stored in the UPF network element and is used to record at least one preset data network identifier (DNN) that transmits PDU sessions with the data network (DN); in a preset routing table, it queries a preset network address that has a routing relationship with the target data network identifier (DNN) to find the target network address, wherein the preset routing table is pre-stored in the UPF network element and is used to record each preset data network identifier (DNN). The routing relationship between N and at least one preset network address; the routing protocol data unit (PDU) session between the target network address and the data network DN through the target data network identifier (DNN); by configuring a preset routing table for the user function plane (UPF) network element, the preset data network identifier (DNN) recorded in the preset routing table can have routing function, enabling the preset data network identifier (DNN) to route protocol data unit (PDU) sessions between the corresponding preset network address and the data network DN, thereby achieving the technical effect of routing the internal network address connected to the 5G data network and the 5G terminal, and thus solving the technical problem that the existing technology cannot route the internal network address connected to the 5G data network and the 5G terminal.

[0082] As an optional embodiment, the apparatus further includes: a receiving submodule, configured to receive preset entries issued by a session management function (SMF) before receiving a Protocol Data Unit (PDU) session through a User Function Plane (UPF) network element, wherein the session management function (SMF) is used to configure and manage the UPF network element, and the preset entries carry a preset data network identifier (DNN) and a preset network address that requires routing through the preset data network identifier (DNN); and a storage submodule, configured to store the preset entries into a preset routing table.

[0083] As an optional embodiment, the first query module includes: an identification unit, used to identify target identification information carried by a Protocol Data Unit (PDU) session, wherein the target identification information represents a unique identifier of the target data network identifier (DNN) of the PDU session; and a query unit, used to query a preset data network identifier (DNN) corresponding to the target identification information in a preset query list, wherein the preset query list is used to record at least one preset identification information and a preset data network identifier (DNN) corresponding to each preset identification information.

[0084] As an optional embodiment, the query unit includes: an identification subunit, configured to identify the transmission direction of a Protocol Data Unit (PDU) session based on target identification information, wherein the target identification information is further used to indicate the transmission direction, the transmission direction including at least an uplink direction and a downlink direction, the uplink direction indicating that the PDU session is sent by a preset data network identifier (DNN), and the downlink direction indicating that the PDU session is sent to the preset data network identifier (DNN); and a determination subunit, configured to determine a target query list corresponding to the transmission direction in a preset query list, wherein the preset query list includes: a preset source list corresponding to the uplink direction and a preset destination list corresponding to the downlink direction, the preset source list recording at least one preset data network identifier (DNN) that sends the PDU session, and the preset destination list recording at least one preset data network identifier (DNN) that receives the PDU session.

[0085] As an optional embodiment, the apparatus further includes: a calling unit, configured to call a packet forwarding control protocol (PFCP) session table pre-stored by the user function plane (UPF) network element when a target data network identifier (DNN) corresponding to the target identifier information cannot be found in a preset query fast table, wherein the PFCP session table is used to record at least one preset action performed by the UPF network element on the protocol data unit (PDU), the preset action including at least a target action for analyzing the transmission object of the PDU session, the transmission object being the target data network identifier (DNN); and an analysis unit, configured to analyze the PDU session based on the target action to determine the target data network identifier (DNN).

[0086] As an optional embodiment, the routing module includes: a determining unit for determining a target terminal using a target data network identifier (DNN), wherein the target terminal accesses a target network address; and a routing unit for routing a Protocol Data Unit (PDU) session between the target network address and the data network (DN) through the target terminal.

[0087] As an optional embodiment, the apparatus further includes: a transmission module, used to transmit a Protocol Data Unit (PDU) session between the target data network identifier (DNN) and the data network (DN) when no target network address with a routing relationship to the target data network identifier (DNN) is found in the preset routing table.

[0088] Embodiments of the present invention can provide a computer terminal, which can be any computer terminal device in a group of computer terminals. Optionally, in this embodiment, the computer terminal can also be replaced by a mobile terminal or other terminal device.

[0089] Optionally, in this embodiment, the computer terminal may be located in at least one of a plurality of network devices in a computer network.

[0090] In this embodiment, the computer terminal described above can execute the program code for the following steps in the routing method: The User Function Plane (UPF) network element receives a Protocol Data Unit (PDU) session; in a preset link table, it queries the preset data network identifier (DNN) of the PDU session to find the target data network identifier (DNN), wherein the preset link table is pre-stored in the UPF network element to record at least one preset data network identifier (DNN) that transmits PDU sessions with the data network (DN); in a preset routing table, it queries the preset network address that has a routing relationship with the target data network identifier (DNN) to find the target network address, wherein the preset routing table is pre-stored in the UPF network element to record the routing relationship between each preset data network identifier (DNN) and at least one preset network address; and routes the PDU session between the target network address and the data network (DN) through the target data network identifier (DNN).

[0091] Optionally, Figure 5 This is a structural block diagram of a computer terminal according to an embodiment of the present invention. Figure 5 As shown, the computer terminal 50 may include one or more (only one is shown in the figure) processors 52 and memory 54.

[0092] The memory can be used to store software programs and modules, such as the program instructions / modules corresponding to the routing method and apparatus in this embodiment of the invention. The processor executes various functional applications and data processing by running the software programs and modules stored in the memory, thereby implementing the aforementioned routing method. The memory may include high-speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some instances, the memory may further include memory remotely located relative to the processor, and these remote memories can be connected to the terminal 50 via a network. Examples of such networks include, but are not limited to, the Internet, corporate intranets, local area networks, mobile communication networks, and combinations thereof.

[0093] The processor can invoke information and application programs stored in the memory through the transmission device to perform the following steps: The User Function Plane (UPF) network element receives a Protocol Data Unit (PDU) session; in a preset link table, it queries the preset data network identifier (DNN) of the PDU session to identify the target data network identifier (DNN), wherein the preset link table is pre-stored in the UPF network element to record at least one preset data network identifier (DNN) that transmits PDU sessions with the data network (DN); in a preset routing table, it queries the preset network address that has a routing relationship with the target data network identifier (DNN) to identify the target network address, wherein the preset routing table is pre-stored in the UPF network element to record the routing relationship between each preset data network identifier (DNN) and at least one preset network address; and routes the PDU session between the target network address and the data network (DN) through the target data network identifier (DNN).

[0094] Optionally, the processor may also execute program code that performs the following steps: before receiving Protocol Data Unit (PDU) sessions through the User Function Plane (UPF) network element, it receives preset entries issued by the Session Management Function (SMF), wherein the SMF is used to configure and manage the UPF network element, and the preset entries carry a preset Data Network Identifier (DNN) and a preset network address that requires the preset DNN to be routed; and stores the preset entries in the preset routing table.

[0095] Optionally, the processor may also execute program code for the following steps: identifying target identification information carried by the Protocol Data Unit (PDU) session, wherein the target identification information represents a unique identifier of the target data network identifier (DNN) of the PDU session; querying a preset lookup list to find the preset data network identifier (DNN) corresponding to the target identification information, wherein the preset lookup list is used to record at least one preset identification information and the preset data network identifier (DNN) corresponding to each preset identification information.

[0096] Optionally, the processor may also execute program code for the following steps: identifying the transmission direction of a Protocol Data Unit (PDU) session based on target identification information, wherein the target identification information is also used to indicate the transmission direction, the transmission direction including at least an uplink direction and a downlink direction, the uplink direction indicating that the PDU session is sent by a preset data network identifier (DNN), and the downlink direction indicating that the PDU session is sent to the preset data network identifier (DNN); determining a target lookup list corresponding to the transmission direction in a preset lookup list, wherein the preset lookup list includes: a preset source list corresponding to the uplink direction and a preset destination list corresponding to the downlink direction, the preset source list being used to record at least one preset data network identifier (DNN) that sends the PDU session, and the preset destination list recording at least one preset data network identifier (DNN) that receives the PDU session.

[0097] Optionally, the processor may also execute program code with the following steps: if the target data network identifier (DNN) corresponding to the target identifier information is not found in the preset lookup table, the processor calls the packet forwarding control protocol (PFCP) session table pre-stored by the user function plane (UPF) network element. The PFCP session table is used to record at least one preset action performed by the UPF network element on the protocol data unit (PDU). The preset action includes at least the target action of analyzing the transmission object of the PDU session, where the transmission object is the target data network identifier (DNN). The processor analyzes the PDU session based on the target action to determine the target data network identifier (DNN).

[0098] Optionally, the processor may also execute program code for the following steps: determining the target terminal using the target data network identifier DNN, wherein the target terminal is connected to the target network address; and routing the Protocol Data Unit (PDU) session between the target network address and the data network DN through the target terminal.

[0099] Optionally, the processor may also execute program code that performs the following steps: if no target network address with a routing relationship with the target data network identifier (DNN) is found in the preset routing table, transmit a Protocol Data Unit (PDU) session between the target data network identifier (DNN) and the data network (DN).

[0100] According to an embodiment of the present invention, a routing scheme is provided, in which a User Function Plane (UPF) network element receives a Protocol Data Unit (PDU) session; in a preset link table, a preset data network identifier (DNN) of the PDU session is queried as the target data network identifier (DNN), wherein the preset link table is pre-stored in the UPF network element and is used to record at least one preset data network identifier (DNN) that transmits PDU sessions with the data network (DN); in a preset routing table, a preset network address that has a routing relationship with the target data network identifier (DNN) is queried as the target network address, wherein the preset routing table is pre-stored in the UPF network element and is used to record each preset data network identifier (DNN). The routing relationship between the network identifier DNN and at least one preset network address is established. The target data network identifier DNN routes Protocol Data Unit (PDU) sessions between the target network address and the data network DN. By configuring a preset routing table for the user function plane (UPF) network element, the preset data network identifier DNN recorded in the preset routing table can have routing functionality, enabling the preset data network identifier DNN to route Protocol Data Unit (PDU) sessions between the corresponding preset network address and the data network DN. This achieves the technical effect of routing 5G data networks and internal network addresses connected to 5G terminals, thereby solving the technical problem that existing technologies cannot route 5G data networks and internal network addresses connected to 5G terminals.

[0101] Those skilled in the art will understand that Figure 5 The structure shown is for illustrative purposes only. The computer terminal can also be a smartphone (such as an Android phone, an iOS phone, etc.), a tablet computer, a mobile internet device (MID), a PAD, and other terminal devices. Figure 5 This does not limit the structure of the aforementioned electronic device. For example, computer terminal 50 may also include components that are more advanced than those described above. Figure 5 The more or fewer components shown (such as network interfaces, display devices, etc.), or having the same Figure 5 The different configurations shown.

[0102] Those skilled in the art will understand that all or part of the steps in the various methods of the above embodiments can be implemented by a program instructing the hardware related to the terminal device. The program can be stored in a non-volatile medium, which may include: flash drive, read-only memory (ROM), random access memory (RAM), disk or optical disk, etc.

[0103] Embodiments of the present invention also provide a non-volatile storage medium. Optionally, in this embodiment, the aforementioned non-volatile storage medium can be used to store the program code executed by the routing method provided in the above embodiments.

[0104] Optionally, in this embodiment, the non-volatile storage medium may be located in any computer terminal in a group of computer terminals in a computer network, or in any mobile terminal in a group of mobile terminals.

[0105] Optionally, in this embodiment, the non-volatile storage medium is configured to store program code for performing the following steps: the User Function Plane (UPF) network element receives a Protocol Data Unit (PDU) session; in a preset link table, queries the preset data network identifier (DNN) of the PDU session to find the target data network identifier (DNN), wherein the preset link table is pre-stored in the UPF network element to record at least one preset data network identifier (DNN) that transmits PDU sessions with the data network (DN); in a preset routing table, queries the preset network address that has a routing relationship with the target data network identifier (DNN) to find the target network address, wherein the preset routing table is pre-stored in the UPF network element to record the routing relationship between each preset data network identifier (DNN) and at least one preset network address; and routes the PDU session between the target network address and the data network (DN) through the target data network identifier (DNN).

[0106] Optionally, in this embodiment, the non-volatile storage medium is configured to store program code for performing the following steps: before receiving a Protocol Data Unit (PDU) session through the User Function Plane (UPF) network element, receiving a preset entry issued by the Session Management Function (SMF), wherein the SMF is used to configure and manage the UPF network element, and the preset entry carries a preset Data Network Identifier (DNN) and a preset network address that needs to be routed by the preset Data Network Identifier (DNN); storing the preset entry in a preset routing table.

[0107] Optionally, in this embodiment, the non-volatile storage medium is configured to store program code for performing the following steps: identifying target identification information carried by the Protocol Data Unit (PDU) session, wherein the target identification information represents a unique identifier of the target data network identifier (DNN) of the PDU session; querying a preset lookup table to find the preset data network identifier (DNN) corresponding to the target identification information, wherein the preset lookup table is used to record at least one preset identification information and the preset data network identifier (DNN) corresponding to each preset identification information.

[0108] Optionally, in this embodiment, the non-volatile storage medium is configured to store program code for performing the following steps: identifying the transmission direction of a Protocol Data Unit (PDU) session based on target identification information, wherein the target identification information is also used to indicate the transmission direction, the transmission direction including at least an uplink direction and a downlink direction, the uplink direction indicating that the PDU session is sent by a preset data network identifier (DNN), and the downlink direction indicating that the PDU session is sent to the preset data network identifier (DNN); determining a target lookup list corresponding to the transmission direction in a preset lookup list, wherein the preset lookup list includes: a preset source list corresponding to the uplink direction and a preset destination list corresponding to the downlink direction, the preset source list being used to record at least one preset data network identifier (DNN) that sends the PDU session, and the preset destination list recording at least one preset data network identifier (DNN) that receives the PDU session.

[0109] Optionally, in this embodiment, the non-volatile storage medium is configured to store program code for performing the following steps: if the target data network identifier (DNN) corresponding to the target identifier information is not found in the preset lookup table, the packet forwarding control protocol (PFCP) session table pre-stored by the user function plane (UPF) network element is invoked, wherein the PFCP session table is used to record at least one preset action performed by the UPF network element on the protocol data unit (PDU), and the preset action includes at least the target action of analyzing the transmission object of the protocol data unit (PDU) session, wherein the transmission object is the target data network identifier (DNN); the protocol data unit (PDU) session is analyzed according to the target action to determine the target data network identifier (DNN).

[0110] Optionally, in this embodiment, the non-volatile storage medium is configured to store program code for performing the following steps: determining a target terminal using the target data network identifier DNN, wherein the target terminal is connected to a target network address; and routing the Protocol Data Unit (PDU) session between the target network address and the data network DN through the target terminal.

[0111] Optionally, in this embodiment, the non-volatile storage medium is configured to store program code for performing the following steps: if no target network address with a routing relationship with the target data network identifier DNN is found in the preset routing table, a protocol data unit (PDU) session is transmitted between the target data network identifier DNN and the data network DN.

[0112] The sequence numbers of the above embodiments of the present invention are for descriptive purposes only and do not represent the superiority or inferiority of the embodiments.

[0113] In the above embodiments of the present invention, the descriptions of each embodiment have different focuses. For parts not described in detail in a certain embodiment, please refer to the relevant descriptions of other embodiments.

[0114] In the several embodiments provided in this application, it should be understood that the disclosed technical content can be implemented in other ways. The device embodiments described above are merely illustrative; for example, the division of units can be a logical functional division, and in actual implementation, there may be other division methods. For instance, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the displayed or discussed mutual coupling, direct coupling, or communication connection may be through some interfaces; the indirect coupling or communication connection between units or modules may be electrical or other forms.

[0115] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.

[0116] Furthermore, the functional units in the various embodiments of the present invention can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.

[0117] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a non-volatile storage medium. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a non-volatile storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present invention. The aforementioned non-volatile storage medium includes various media capable of storing program code, such as USB flash drives, read-only memory (ROM), random access memory (RAM), portable hard drives, magnetic disks, or optical disks.

[0118] The above description is only a preferred embodiment of the present invention. It should be noted that for those skilled in the art, several improvements and modifications can be made without departing from the principle of the present invention, and these improvements and modifications should also be considered within the scope of protection of the present invention.

Claims

1. A routing method characterized by, include: User Functional Surface (UPF) network element receives Protocol Data Unit (PDU) sessions; In the preset link table, the preset data network identifier DNN that transmits the Protocol Data Unit (PDU) session is queried as the target data network identifier DNN. The preset link table is pre-stored in the User Function Plane (UPF) network element and is used to record at least one preset data network identifier DNN that transmits the Protocol Data Unit (PDU) session with the data network DN. In the preset routing table, the preset network address that has a routing relationship with the target data network identifier (DNN) is queried as the target network address. The preset routing table is pre-stored in the user function plane (UPF) network element and is used to record the routing relationship between each preset data network identifier (DNN) and at least one preset network address. The target data network identifier (DNN) routes the protocol data unit (PDU) session between the target network address and the data network DN.

2. The method according to claim 1, characterized in that, Before receiving Protocol Data Unit (PDU) sessions through the User Function Plane (UPF) network element, the method further includes: Receive a preset table entry issued by the Session Management Function (SMF), wherein the SMF is used to configure and manage the User Function Plane (UPF) network element, and the preset table entry carries a preset data network identifier (DNN) and a preset network address that requires routing by the preset data network identifier (DNN). Store the preset entries into the preset routing table.

3. The method of claim 1, wherein, In the preset link table, querying the preset data network identifier DNN of the transmission protocol data unit (PDU) session as the target data network identifier DNN includes: Identify the target identification information carried by the Protocol Data Unit (PDU) session, wherein the target identification information represents the unique identifier of the target data network identifier (DNN) that transmits the Protocol Data Unit (PDU) session; In the preset query list, the preset data network identifier DNN corresponding to the target identifier information is queried as the target data network identifier DNN. The preset query list is used to record at least one preset identifier information and the preset data network identifier DNN corresponding to each preset identifier information.

4. The method of claim 3, wherein, In the preset query list, querying the preset data network identifier DNN corresponding to the target identifier information includes: The transmission direction of the Protocol Data Unit (PDU) session is identified based on the target identification information, wherein the target identification information is also used to indicate the transmission direction, which includes at least an uplink direction and a downlink direction. The uplink direction indicates that the PDU session is sent by the preset data network identifier (DNN), and the downlink direction indicates that the PDU session is sent to the preset data network identifier (DNN). A target query list corresponding to the transmission direction is determined in the preset query list, wherein the preset query list includes: a preset source list corresponding to the uplink direction and a preset destination list corresponding to the downlink direction. The preset source list is used to record at least one preset data network identifier (DNN) for sending the protocol data unit (PDU) session, and the preset destination list records at least one preset data network identifier (DNN) for receiving the protocol data unit (PDU) session.

5. The method of claim 3, wherein, After identifying the target identification information carried by the Protocol Data Unit (PDU) session, the method further includes: If the target data network identifier (DNN) corresponding to the target identifier information cannot be found in the preset query table, the packet forwarding control protocol (PFCP) session table pre-stored by the user function plane (UPF) network element is invoked. The PFCP session table is used to record at least one preset action performed by the UPF network element on the protocol data unit (PDU). The preset action includes at least the target action of analyzing the transmission object of the protocol data unit (PDU) session, where the transmission object is the target data network identifier (DNN). The Protocol Data Unit (PDU) session is analyzed based on the target action to determine the target data network identifier (DNN).

6. The method of claim 1, wherein, The routing of the Protocol Data Unit (PDU) session between the target network address and the data network DN via the target data network identifier DNN includes: Determine the target terminal that uses the target data network to identify the DNN, wherein the target terminal accesses the target network address; The target terminal routes the Protocol Data Unit (PDU) session between the target network address and the data network DN.

7. The method of claim 1, wherein, The method further includes: If no target network address with a routing relationship to the target data network identifier (DNN) is found in the preset routing table, the protocol data unit (PDU) session is transmitted between the target data network identifier (DNN) and the data network (DN).

8. A routing device, characterized by include: The receiving module is used for user function plane (UPF) network elements to receive Protocol Data Unit (PDU) sessions. The first query module is used to query a preset link table for a preset data network identifier DNN that transmits the Protocol Data Unit (PDU) session as the target data network identifier DNN. The preset link table is pre-stored in the User Function Plane (UPF) network element and is used to record at least one preset data network identifier DNN that transmits the Protocol Data Unit (PDU) session with the data network DN. The second query module is used to query a preset network address that has a routing relationship with the target data network identifier (DNN) in a preset routing table as the target network address. The preset routing table is pre-stored in the user function plane (UPF) network element and is used to record the routing relationship between each preset data network identifier (DNN) and at least one preset network address. The routing module is used to route the Protocol Data Unit (PDU) session between the target network address and the data network DN via the target data network identifier (DNN).

9. A non-volatile storage medium, comprising: The non-volatile storage medium is used to store a program, wherein, when the program is running, the device where the non-volatile storage medium is located is controlled to execute the routing method according to any one of claims 1 to 7.

10. An electronic device, comprising: include: A memory and a processor, the processor being configured to run a program stored in the processor, wherein the program, when executed, performs the routing method according to any one of claims 1 to 7.

Citation Information

Patent Citations

  • Method and device for determining user plane function (UPF) network element

    CN113498118A

  • Method and system for establishing protocol data unit session

    CN113939041A