CN116866262A - Routing method and device, nonvolatile storage medium and electronic equipment - Google Patents

Routing method and device, nonvolatile storage medium and electronic equipment Download PDF

Info

Publication number
CN116866262A
CN116866262A CN202311036233.2A CN202311036233A CN116866262A CN 116866262 A CN116866262 A CN 116866262A CN 202311036233 A CN202311036233 A CN 202311036233A CN 116866262 A CN116866262 A CN 116866262A
Authority
CN
China
Prior art keywords
preset
data network
target
dnn
routing
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.)
Pending
Application number
CN202311036233.2A
Other languages
Chinese (zh)
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.)
China Telecom Intelligent Network Technology Co ltd
Original Assignee
China Telecom Intelligent Network Technology Co ltd
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 China Telecom Intelligent Network Technology Co ltd filed Critical China Telecom Intelligent Network Technology Co ltd
Priority to CN202311036233.2A priority Critical patent/CN116866262A/en
Publication of CN116866262A publication Critical patent/CN116866262A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/74Address processing for routing
    • H04L45/745Address table lookup; Address filtering
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/54Organization of routing tables
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/09Mapping addresses
    • H04L61/25Mapping addresses of the same type
    • H04L61/2503Translation of Internet protocol [IP] addresses
    • H04L61/2514Translation of Internet protocol [IP] addresses between local and global IP addresses
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W40/00Communication routing or communication path finding
    • H04W40/02Communication route or path selection, e.g. power-based or shortest path routing

Abstract

The invention discloses a routing method, a routing device, a nonvolatile storage medium and electronic equipment. Wherein the method comprises the following steps: the user function face UPF network element receives a protocol data unit PDU session; inquiring a target data network identifier DNN of a transmission protocol data unit PDU session in a preset link table, wherein the preset link is used for recording at least one preset data network identifier DNN of the transmission protocol data unit PDU session with a data network DN; inquiring a target network address with a routing relation with the target data network identifier DNN in a preset routing table, wherein the preset routing table is used for recording the routing relation between each preset data network identifier DNN and at least one preset network address; protocol data unit PDU sessions are routed between the destination network address and the data network DN by means of the destination data network identification DNN. The invention solves the technical problem that the prior art cannot route the intranet address hung under the 5G data network and the 5G terminal.

Description

Routing method and device, nonvolatile storage medium and electronic equipment
Technical Field
The present invention relates to the field of communications, and in particular, to a routing method, a routing device, a nonvolatile storage medium, and an electronic apparatus.
Background
In 5G customized network project delivery, more service scenarios require a user plane function UPF to forward an intranet address suspended under a 5G terminal such as a customer premise equipment CPE. The main alternative is port forwarding or tunneling over CPE such as vxlan, gre, l2tp, etc. The technology increases hardware cost of the customized network due to LNS, and meanwhile, the technology such as tunnel increases network consumption, and increases the delivery difficulty and configuration complexity of the 5G customized network.
Aiming at the problem that the prior art cannot route the intranet addresses hung under the 5G data network and the 5G terminal, no effective solution is proposed at present.
Disclosure of Invention
The embodiment of the invention provides a routing method, a routing device, a nonvolatile storage medium and electronic equipment, which at least solve the technical problem that the prior art cannot route an intranet address hung under a 5G data network and a 5G terminal.
According to an aspect of an embodiment of the present invention, there is provided a routing method, including: the user function face UPF network element receives a protocol data unit PDU session; inquiring a preset data network identifier DNN for transmitting the protocol data unit PDU session as a target data network identifier DNN in a preset link table, wherein the preset link table is pre-stored in the user function surface UPF network element and is used for recording at least one preset data network identifier DNN for mutually transmitting the protocol data unit PDU session with a data network DN; inquiring a preset network address with a routing relation with the target data network identifier DNN as a target network address in a preset routing table, wherein the preset routing table is stored in the user function surface UPF network element in advance and is used for recording the routing relation between each preset data network identifier DNN and at least one preset network address; the protocol data unit PDU session is routed between the target network address and the data network DN by the target data network identification DNN.
Optionally, before receiving the protocol data unit PDU session by the user function surface UPF network element, the method further comprises: receiving a preset table entry issued by a Session Management Function (SMF), wherein the Session Management Function (SMF) is used for carrying out configuration management on the UPF network element, and the preset table entry carries a preset data network identifier (DNN) and a preset network address requiring the routing of the DNN; and storing the preset table entry into the preset routing table.
Optionally, in the preset link table, querying the preset data network identifier DNN for transmitting the protocol data unit PDU session as the target data network identifier DNN includes: identifying target identification information carried by the protocol data unit PDU session, wherein the target identification information represents a unique identification of the target data network identification DNN transmitting the protocol data unit PDU session; and inquiring a preset data network identifier DNN corresponding to the target identification information in a preset inquiry fast table as the target data network identifier DNN, wherein the preset inquiry fast table is used for recording at least one preset identification information and the preset data network identifiers DNN corresponding to each preset identification information.
Optionally, 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 includes: identifying a transmission direction of the protocol data unit PDU session according to the target identification information, wherein the target identification information is also used for indicating the transmission direction, the transmission direction at least comprises an uplink direction and a downlink direction, the uplink direction indicates that the protocol data unit PDU session is sent out by the preset data network identifier DNN, and the downlink direction indicates that the protocol data unit PDU session is sent to the preset data network identifier DNN; determining a target query fast table corresponding to the transmission direction in the preset query fast table, wherein the preset query fast table comprises: the source fast table is used for recording at least one preset data network identifier DNN for transmitting the protocol data unit PDU session, and the preset destination fast table is recorded with at least one preset data network identifier DNN for receiving the protocol data unit PDU session.
Optionally, after identifying the target identification information carried by the protocol data unit PDU session, the method further comprises: under the condition that the target data network identifier DNN corresponding to the target identifier information cannot be queried in a preset query fast table, invoking a data Packet Forwarding Control Protocol (PFCP) session table prestored by the user function surface UPF network element, wherein the data Packet Forwarding Control Protocol (PFCP) session table is used for recording at least one preset action which is executed by the user function surface UPF network element on the protocol data unit PDU, and the preset action at least comprises a target action for analyzing a transmission object of the protocol data unit PDU session, and the transmission object is the target data network identifier DNN; and analyzing the protocol data unit PDU session according to the target action to determine the target data network identifier DNN.
Optionally, routing the protocol data unit PDU session between the target network address and the data network DN by the target data network identification DNN comprises: determining a target terminal using the target data network identifier DNN, wherein the target terminal accesses the target network address; the protocol data unit PDU session is routed between the target network address and the data network DN by the target terminal.
Optionally, the method further comprises: and transmitting the protocol data unit PDU session between the target data network identifier DNN and the data network DN under the condition that the target network address with the routing relation with the target data network identifier DNN is not queried in a preset routing table.
According to another aspect of the embodiment of the present invention, there is also provided a routing device, including: the receiving module is used for receiving a protocol data unit PDU session by a user function surface UPF network element; a first query module, configured to query, in a preset link table, a preset data network identifier DNN for transmitting the protocol data unit PDU session as a target data network identifier DNN, where the preset link table is stored in advance in the user function plane UPF network element, and is configured to record at least one preset data network identifier DNN for transmitting the protocol data unit PDU session with a data network DN; the second query module is configured to query a preset network address having a routing relationship with the target data network identifier DNN in a preset routing table as a target network address, where the preset routing table is stored in the user function plane UPF network element in advance, and is configured to record a routing relationship between each preset data network identifier DNN and at least one preset network address; a routing module for routing the protocol data unit PDU session between the target network address and the data network DN through the target data network identification DNN.
According to another aspect of the embodiment of the present invention, there is further provided a nonvolatile storage medium, where the nonvolatile storage medium is used to store a program, and when the program runs, the device where the nonvolatile storage medium is controlled to execute the routing method described above.
According to another aspect of the embodiment of the present invention, there is also provided an electronic device, including: the routing method comprises the steps of storing a program in a memory and a processor, wherein the processor is used for running the program stored in the processor, and the routing method is executed when the program runs.
In the embodiment of the invention, a user function surface UPF network element receives a protocol data unit PDU session; in a preset link table, inquiring a preset data network identifier DNN of a PDU session as a target data network identifier DNN, wherein the preset link table is prestored in a UPF network element of a user function surface and is used for recording at least one preset data network identifier DNN of the PDU session with a data network DN; inquiring a preset network address with a routing relation with a target data network identifier DNN as a target network address in a preset routing table, wherein the preset routing table is stored in a user function surface UPF network element in advance and is used for recording the routing relation between each preset data network identifier DNN and at least one preset network address; the protocol data unit PDU session is routed between the target network address and the data network DN through the target data network identifier DNN, and the preset data network identifier DNN recorded in the preset routing table can have a routing function through configuring the preset routing table for the UPF network element of the user function surface, so that the protocol data unit PDU session can be routed between the corresponding preset network address and the data network DN through the preset data network identifier DNN, thereby realizing the technical effect of routing the intranet address hung under the 5G data network and the 5G terminal, and further solving the technical problem that the prior art cannot route the intranet address hung under the 5G data network and the 5G terminal.
Drawings
The accompanying drawings, which are included to provide a further understanding of the application and are incorporated in and constitute a part of this specification, illustrate embodiments of the application and together with the description serve to explain the application and do not constitute a limitation on the application. In the drawings:
FIG. 1 is a flow chart of a routing method according to an embodiment of the present application;
fig. 2 is a schematic diagram of a 5G routing UE interworking method architecture according to an embodiment of the present application;
fig. 3 is a schematic diagram of a flow of a 5G routing type UE interworking method according to an embodiment of the present application;
FIG. 4 is a schematic diagram of a routing device according to an embodiment of the present application;
fig. 5 is a block diagram of a computer terminal according to an embodiment of the present application.
Detailed Description
In order that those skilled in the art will better understand the present application, a technical solution in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in which it is apparent that the described embodiments are only some embodiments of the present application, not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the present application without making any inventive effort, shall fall within the scope of the present application.
It should be noted that the terms "first," "second," and the like in the description and the claims of the present invention and the above figures are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate such that the embodiments of the invention described herein may be implemented in sequences other than those illustrated or otherwise described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
According to an embodiment of the present invention, a routing method embodiment is provided, it being noted that the steps shown in the flowcharts of the figures may be performed in a computer system such as a set of computer executable instructions, and although a logical order is shown in the flowcharts, in some cases the steps shown or described may be performed in an order different from that herein.
Fig. 1 is a flowchart of a routing method according to an embodiment of the present invention, as shown in fig. 1, the method includes the steps of:
step S102, a user function surface UPF network element receives a protocol data unit PDU session;
step S104, inquiring a preset data network identifier DNN of a transmission protocol data unit PDU session as a target data network identifier DNN in a preset link table, wherein the preset link table is stored in a user function surface UPF network element in advance and is used for recording at least one preset data network identifier DNN of the mutual transmission protocol data unit PDU session with a data network DN;
step S106, inquiring a preset network address with a routing relation with a target data network identifier DNN as a target network address in a preset routing table, wherein the preset routing table is stored in a user function surface UPF network element in advance and is used for recording the routing relation between each preset data network identifier DNN and at least one preset network address;
step S108, the protocol data unit PDU session is routed between the destination network address and the data network DN by the destination data network identification DNN.
In the embodiment of the invention, a user function surface UPF network element receives a protocol data unit PDU session; in a preset link table, inquiring a preset data network identifier DNN of a PDU session as a target data network identifier DNN, wherein the preset link table is prestored in a UPF network element of a user function surface and is used for recording at least one preset data network identifier DNN of the PDU session with a data network DN; inquiring a preset network address with a routing relation with a target data network identifier DNN as a target network address in a preset routing table, wherein the preset routing table is stored in a user function surface UPF network element in advance and is used for recording the routing relation between each preset data network identifier DNN and at least one preset network address; the protocol data unit PDU session is routed between the target network address and the data network DN through the target data network identifier DNN, and the preset data network identifier DNN recorded in the preset routing table can have a routing function through configuring the preset routing table for the UPF network element of the user function surface, so that the protocol data unit PDU session can be routed between the corresponding preset network address and the data network DN through the preset data network identifier DNN, thereby realizing the technical effect of routing the intranet address hung under the 5G data network and the 5G terminal, and further solving the technical problem that the prior art cannot route the intranet address hung under the 5G data network and the 5G terminal.
It should be noted that, the above routing method may 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 data network identifiers DNN that need to start the routing function and one or more preset network addresses that need to be routed for each preset data network identifier DNN are recorded by the preset routing table.
In the step S102, the UPF, i.e. the user function plane UPF network element, is User Plane Function for short and is mainly responsible for the routing and forwarding related functions of the 5G core network user plane packet.
In the step S102, the PDU, i.e. the protocol data unit PDU session, is Protocol Data Unit for short, is the information exchanged between peer layers by the protocol of the protocol layer, and one PDU session refers to the process of communication between a user terminal UE and a data network DN, and after the PDU session is established, a data transmission channel of the user terminal UE and the data network DN is established.
Optionally, the user terminal UE may establish a data transmission channel through the corresponding data network identifier DNN and the data network DN.
In the above step S104, the DNN recorded in the preset link table, i.e. the data network identifier, is Data Network Name for short, and is a new feature in the 5G network, for supporting network slicing, where network slicing is a technology used in 5G to divide the physical network infrastructure into multiple virtual networks, each virtual network has its own resource and quality of service (QoS) requirements. Each virtual network has a unique DNN that the 5G core network uses to route traffic to the appropriate network slice.
In the above step S104, DN, i.e., a Data Network, is simply referred to as a Data Network, and refers to a Network system based on Data transmission, which is used for transmitting and sharing Data among different computers, terminal devices and servers. The data network connects the different nodes together by using various network technologies and protocols, such as a Local Area Network (LAN), a Wide Area Network (WAN), the internet, etc., so that they can communicate and exchange data with each other.
In the above embodiment of the present invention, under the condition that the target data network identifier DNN of the transport protocol data unit PDU is queried in the preset link table, communication between the target data network identifier DNN and the data network DN can be achieved.
In the above step S104, the destination data network identifier DNN of the transport protocol data unit PDU session may send out the protocol data unit PDU session or may receive the protocol data unit PDU session.
In step S106, the preset network address recorded in the preset routing table may be a local area network address hung under the UE, and the UE uses the corresponding preset data network identifier DNN and the data network DN to perform data transmission.
In the above embodiment of the present invention, when the target network address having a routing relationship with the target data network identifier DNN is queried in the preset routing table, the routing function of the target data network identifier DNN corresponding to the user terminal UE may be started, so as to implement the routing of the target network address and the data network DN suspended by the user terminal UE.
As an alternative embodiment, before receiving the protocol data unit PDU session by the user plane UPF network element, the method further comprises: receiving a preset table item issued by a Session Management Function (SMF), wherein the Session Management Function (SMF) is used for carrying out configuration management on a user function surface (UPF) network element, and the preset table item carries a preset data network identifier (DNN) and a preset network address needing to be routed by the preset data network identifier (DNN); and storing the preset table entry into a preset routing table.
It should be noted that, the SMF, i.e. session management function, is a short term for Session Management Function, and is used for controlling and managing an execution policy of a user function plane UPF network element for processing a service flow.
According to the embodiment of the invention, the session management function SMF distributes the preset table entry for the user function surface UPF network element, and the configuration and updating of the preset routing table in the user function surface UPF network element are realized according to the corresponding relation between the preset data network identifier DNN carried in the preset table entry and the preset network address.
Optionally, the format of the preset table entry is: the DNN is used for recording preset data network identification DNN which needs to start the routing function and a network address field (namely a preset network address) after a 5G terminal (namely a user terminal UE which uses the preset data network identification DNN) which needs to realize the routing forwarding,
As an alternative embodiment, querying the preset data network identifier DNN of the transport protocol data unit PDU session for the target data network identifier DNN in the preset link table comprises: identifying target identification information carried by a protocol data unit PDU session, wherein the target identification information represents a unique identification of a target data network identification DNN of the transmission protocol data unit PDU session; and in the preset query fast table, the preset data network identifier DNN corresponding to the query target identifier information is the target data network identifier DNN, wherein the preset query fast table is used for recording at least one preset identifier information and the preset data network identifier DNN corresponding to each preset identifier information.
In the above embodiment of the present invention, the preset link table is configured to record at least one preset data network identifier DNN for transmitting protocol data unit PDU sessions with the data network DN, and in the process of determining the target number network identifier, the preset link table may be implemented based on a preset query block table, where the preset query block table may record preset identifier information corresponding to each preset data network identifier DNN, and by analyzing the transmitted protocol data unit PDU sessions, the target identifier information carried in the protocol data unit PDU sessions may be identified, and then according to the target identifier information, the target data network identifier DNN for the protocol data unit PDU session indication and the data network DN communication may be queried in the preset query block table.
It should be noted that, the protocol data unit PDU indicates that the data network identifier DNN communicates with the data network DN, and the user function plane UPF network element may receive the protocol data unit PDU session, so the protocol data unit PDU session received by the user function plane UPF network element may be an intermediate session from the data network identifier DNN to the data network DN or an intermediate session from the data network DN to the data network identifier DNN, so the protocol data unit PDU received by the user function plane UPF network element has directionality, and further a corresponding preset lookup block table may be set according to a transmission direction of the protocol data unit PDU, and a target data network identifier DNN indicated by each protocol data unit PDU may be quickly determined in the preset lookup block table.
As an optional embodiment, 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 includes: identifying a transmission direction of a protocol data unit PDU session according to target identification information, wherein the target identification information is also used for indicating the transmission direction, the transmission direction at least comprises an uplink direction and a downlink direction, the uplink direction indicates that the protocol data unit PDU session is sent out by a preset data network identifier DNN, and the downlink direction indicates that the protocol data unit PDU session is sent to the preset data network identifier DNN; determining a target query fast table corresponding to the transmission direction in a preset query fast table, wherein the preset query fast table comprises: the system comprises a preset source fast table corresponding to the uplink direction and a preset destination fast table corresponding to the downlink direction, wherein the preset source fast table is used for recording at least one preset data network identifier DNN for transmitting a protocol data unit PDU session, and the preset destination fast table is recorded with at least one preset data network identifier DNN for receiving the protocol data unit PDU session.
Optionally, the uplink direction indicates that the protocol data unit PDU session is sent by the preset data network identifier DNN, and forwarded to the data network DN after passing through the user function plane UPF network element.
Optionally, the downlink direction indicates that the protocol data unit PDU session is sent by the data network DN, and then sent to the preset data network identifier DNN through the user function plane UPF network element.
Optionally, the preset lookup table corresponding to the uplink direction is a preset source fast table, and is used for recording at least one preset data network identifier DNN of the session for transmitting the protocol data unit PDU.
Optionally, the preset lookup table corresponding to the downlink direction is a preset destination table, and is configured to receive at least one preset data network identifier DNN of the protocol data unit PDU session.
According to the embodiment of the invention, under the condition that the target data network identifier DNN is queried according to the preset query fast table, the transmission direction of the protocol data unit PDU session can be identified first, then the target query fast table is selected from the preset source fast table and the preset target fast table according to the transmission direction, and further the target data network identifier DNN can be quickly determined in the target query fast table, so that the rapid determination of the target data network identifier DNN is realized.
It should be noted that, the communication between the session management function SMF and the protocol data unit PDU session is called PFCP session, where PFCP, i.e. a packet forwarding control protocol, is a short for Packet Forwarding Control Protocol, and is a protocol for controlling and managing network packet forwarding, and is mainly used for data plane control in a 5G network.
As an alternative embodiment, after identifying the target identification information carried by the protocol data unit PDU session, the method further comprises: under the condition that a target data network identifier DNN corresponding to target identification information cannot be queried in a preset query fast table, invoking a data Packet Forwarding Control Protocol (PFCP) session table prestored by a user function surface UPF network element, wherein the data Packet Forwarding Control Protocol (PFCP) session table is used for recording at least one preset action executed by the user function surface UPF network element on a protocol data unit PDU, the preset action at least comprises a target action of analyzing a transmission object of the protocol data unit PDU session, and the transmission object is the target data network identifier DNN; and analyzing the protocol data unit PDU session according to the target action, and determining a target data network identifier DNN.
According to the embodiment of the invention, under the condition that the target data network identifier DNN cannot be quickly inquired based on the preset inquiry fast table, the protocol data unit PDU session can be analyzed based on the data packet forwarding control protocol PFCP session table stored in the UPF network element in advance, the target data network identifier DNN can be determined, the target data network identifier DNN can be ensured to be accurately determined, and the reliability is improved.
As an alternative embodiment, routing protocol data unit PDU sessions between a destination network address and a data network DN by a destination data network identification DNN comprises: determining a target terminal using a target data network identifier DNN, wherein the target terminal accesses a target network address; protocol data unit PDU sessions are routed between the target network address and the data network DN by the target terminal.
In the above embodiment of the present invention, the target data network identifier DNN may be used as an access point of the data network DN, so that the target terminal may communicate with the data network DN according to the target data network identifier DNN, and further, in the case that the target terminal accesses the target network address of the local area network, since the target data network identifier DNN is already recorded in the preset routing table of the user function plane UPF network element, it is explained that the user function plane UPF network element has already opened the routing function of the target data network identifier DNN, so that the target terminal using the target data network identifier DNN may be used as a routing device, so as to implement routing between the target network address and the data network DN, route the protocol data unit PDU session between the target network address and the data network DN, and open communication between the target network address and the data network DN.
As an alternative embodiment, the method further comprises: and under the condition that the target network address with the routing relation with the target data network identifier DNN is not queried in the preset routing table, transmitting a protocol data unit PDU session between the target data network identifier DNN and the data network DN.
In the above embodiment of the present invention, when the destination network address having a routing relationship with the destination data network identifier DNN is not found in the preset routing table, it is explained that the destination data network identifier DNN does not open the routing function, so that the protocol data unit PDU session can be transferred only between the destination data network identifier DNN and the data network DN, and communication between the destination data network identifier DNN and the data network DN is implemented.
The invention also provides an alternative embodiment, which provides a 5G routing type UE intercommunication method, which can realize the routing forwarding of the CPE down-hanging network, provide a network channel for the CPE bridging mode/routing mode, realize the demand of the customized network peer-to-peer network, reduce project cost and improve the delivery efficiency of the 5G customized network.
Fig. 2 is a schematic diagram of a 5G routing UE interworking method architecture according to an embodiment of the present invention, and fig. 3 is a schematic diagram of a 5G routing UE interworking method flow according to an embodiment of the present invention, as shown in fig. 2 and 3, implemented as follows:
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), where the table entry format is: the DNN is used for recording DNN (namely preset data network identifier DNN) needing to start the function and network address field (namely preset network address) after the 5G terminal needing to realize route forwarding.
Optionally, after the configuration of [ DNN: UE-external-Subnet ] on the UPF network management (namely, the preset list item is issued to the UPF network element of the user function surface through the session management function SMF), the list item is issued to a routing type UE forwarding table (namely, a preset routing table) of the UPF forwarding module to be saved and validated.
Optionally, when the UE starts the routing mode and goes online through the configured DNN (i.e. the UE uses the preset data network identifier DNN, where the preset data network identifier DNN has a target network address with a routing relationship), the Source IP of the uplink traffic reaching the UPF is the intranet address hung by the UE, and the Dest IP of the downlink traffic reaching the UPF is the intranet address hung by the UE, which is included in the network address field in [ DNN: UE-exit-Subnet ] (i.e. the uplink traffic comes from the target network address with a routing relationship with the target data network identifier DNN), and the downlink traffic is sent to the target network address with a routing relationship with the target data network identifier DNN).
Optionally, for the uplink direction, the UPF queries a fast table/PFCP session table according to Source IP, and when the address of the CPE intranet is not matched, a routing type UE forwarding table is searched, and uplink forwarding is performed after the matching; for the downlink direction, the UPF queries the fast table/PFCP session table according to the Dest IP, and when the address of the CPE intranet is not matched, the UPF searches the routing type UE forwarding table, and performs downlink forwarding after the matching.
It should be noted that, the preset link table may record at least one preset data network identifier DNN for transmitting the PDU session with the data network DN, if the PDU session indicates that the communication between the target network address and the data network DN is established, the uplink traffic or the uplink session is from the target network address, and the downlink traffic or the downlink session is aimed at the target network address, so that the target network address cannot be directly locked based on the preset link table, and therefore, the target network address needs to be further determined by using the preset routing table.
Note that CPE is an abbreviation for Customer Premises Equipment, chinese: the user terminal device refers to a communication device installed at a user terminal, and is used for connecting a user with a network of a service provider, and may refer to a preset data network identifier DNN, or refer to a user terminal using the data network identifier DNN.
Optionally, the CPE which does not open the routing function is forwarded by looking up a table in the original mode, so that the conventional PDU session is not affected.
Optionally, the routing UE forwarding table is equivalent to an intranet routing table after recording the CPE on the UPF, and the intranet address after routing the UE is added on the basis of the routing UEIP (e.g. the unique identifier of the target data network identifier DNN).
Optionally, for a scenario in which multiple segments of intranet address routing forwarding needs to be started in one DNN, only multiple [ DNNs: UE-open-Subnet ] needs to be configured, which is as follows: [ DNN1: A.A.0/24], [ DNN1: A.A.B.0/24].
As an optional example, the above-mentioned 5G routing type UE interworking method may be implemented as follows:
s1, adding a routing type UE forwarding table (namely a preset routing table) on a UPF forwarding module, and associating DNN needing to start the function and an intranet address hung under the UE. And adding the configuration of [ DNN: UE-external-Subnet ] on the UPF network management interface for starting the function and configuring the corresponding intranet address segment needing to be routed and forwarded.
S2, after the UPF network manager writes in [ DNN: UE-external-Subnet ] on the forwarding configuration and submits the DNN, the UPF forwarding module writes in [ DNN: UE-external-Subnet ] to a 'routing type UE forwarding table' (namely a preset routing table), and a UE post-routing function of the DNN is activated. Such as [ DNN1: A.B.C.0/24].
S3, when the terminal opens the routing function, the configured DNN is used for uploading, the UPF identifies DNN carried by the UE, when the DNN is matched with the DNN configured on the UE, such as DNN1, for the terminal on which the DNN1 is uploaded, the UPF opens a "routing UE forwarding table" (i.e. a preset routing table) search for the PDU sessions, and besides being matched with the UEIP, the UPF also opens the routing forwarding to A.B.C.0/24.
S4, if a plurality of intranet addresses are needed to realize the function in one DNN, a plurality of [ DNN: UE-external-Subnet ] are configured, such as [ DNN1: A.B.1.0/24], [ DNN1: A.B.2.0/24], [ DNN1: A.B.3.0/24].
The technical scheme provided by the application can realize that UPF actively realizes the internal network route forwarding after UE, is used for replacing a peer-to-peer network scheme based on overlay of vxlan, gre, l tp and the like, reduces the complexity of end-to-end network configuration and reduces the hardware cost; compared with the prior post-routing technology, the method can be realized by only developing configuration on UPF without upgrading a core network element or modifying the prior SMF configuration.
According to the embodiment of the present application, a routing device embodiment is further provided, and it should be noted that the routing device may be used to execute the routing method in the embodiment of the present application, and the routing method in the embodiment of the present application may be executed in the routing device.
Fig. 4 is a schematic diagram of a routing device according to an embodiment of the present application, as shown in fig. 4, the device may include: a receiving module 42, configured to receive a protocol data unit PDU session by a user function plane UPF network element; a first query module 44, configured to query a preset link table for a target data network identifier DNN, where the preset link table is stored in advance in a user function plane UPF network element, and is configured to record at least one preset data network identifier DNN of a PDU session with a data network DN; the second query module 46 is configured to query a preset network address having a routing relationship with the target data network identifier DNN in a preset routing table as a target network address, where the preset routing table is stored in the user function plane UPF network element in advance, and is configured to record a routing relationship between each preset data network identifier DNN and at least one preset network address; a routing module 48 for routing protocol data unit PDU sessions between the destination network address and the data network DN through the destination data network identification DNN.
It should be noted that, the receiving module 42 in this embodiment may be used to perform step S102 in the embodiment of the present application, the first query module 44 in this embodiment may be used to perform step S104 in the embodiment of the present application, the second query module 46 in this embodiment may be used to perform step S106 in the embodiment of the present application, and the routing module 48 in this embodiment may be used to perform step S108 in the embodiment of the present application. The above modules are the same as examples and application scenarios implemented by the corresponding steps, but are not limited to what is disclosed in the above embodiments.
In the embodiment of the invention, a user function surface UPF network element receives a protocol data unit PDU session; in a preset link table, inquiring a preset data network identifier DNN of a PDU session as a target data network identifier DNN, wherein the preset link table is prestored in a UPF network element of a user function surface and is used for recording at least one preset data network identifier DNN of the PDU session with a data network DN; inquiring a preset network address with a routing relation with a target data network identifier DNN as a target network address in a preset routing table, wherein the preset routing table is stored in a user function surface UPF network element in advance and is used for recording the routing relation between each preset data network identifier DNN and at least one preset network address; the protocol data unit PDU session is routed between the target network address and the data network DN through the target data network identifier DNN, and the preset data network identifier DNN recorded in the preset routing table can have a routing function through configuring the preset routing table for the UPF network element of the user function surface, so that the protocol data unit PDU session can be routed between the corresponding preset network address and the data network DN through the preset data network identifier DNN, thereby realizing the technical effect of routing the intranet address hung under the 5G data network and the 5G terminal, and further solving the technical problem that the prior art cannot route the intranet address hung under the 5G data network and the 5G terminal.
As an alternative embodiment, the apparatus further comprises: a receiving sub-module, configured to receive a preset table entry issued by a session management function SMF before receiving a protocol data unit PDU session through a user function plane UPF network element, where the session management function SMF is configured to perform configuration management on the user function plane UPF network element, and the preset table entry carries a preset data network identifier DNN and a preset network address where the preset data network identifier DNN needs to be routed; and the storage sub-module is used for storing the preset table entry into the preset routing table.
As an alternative embodiment, the first query module includes: the identifying unit is used for identifying target identification information carried by the protocol data unit PDU session, wherein the target identification information represents the unique identification of the target data network identification DNN of the transmission protocol data unit PDU session; the query unit is used for querying the preset data network identifier DNN corresponding to the target identifier information as the target data network identifier DNN in a preset query fast table, wherein the preset query fast table is used for recording at least one preset identifier information and the preset data network identifier DNN corresponding to each preset identifier information.
As an alternative embodiment, the querying element comprises: the identification subunit is used for identifying the transmission direction of the protocol data unit PDU session according to the target identification information, wherein the target identification information is also used for indicating the transmission direction, the transmission direction at least comprises an uplink direction and a downlink direction, the uplink direction represents that the protocol data unit PDU session is sent by the preset data network identifier DNN, and the downlink direction represents that the protocol data unit PDU session is sent to the preset data network identifier DNN; a determining subunit, configured to determine, in a preset lookup table, a target lookup table corresponding to the transmission direction, where the preset lookup table includes: the system comprises a preset source fast table corresponding to the uplink direction and a preset destination fast table corresponding to the downlink direction, wherein the preset source fast table is used for recording at least one preset data network identifier DNN for transmitting a protocol data unit PDU session, and the preset destination fast table is recorded with at least one preset data network identifier DNN for receiving the protocol data unit PDU session.
As an alternative embodiment, the apparatus further comprises: a calling unit, configured to call a packet forwarding control protocol PFCP session table stored in advance by the user function plane UPF network element under the condition that a target data network identifier DNN corresponding to the target identifier information cannot be queried in a preset query fast table, where the packet forwarding control protocol PFCP session table is used to record at least one preset action performed by the user function plane UPF network element on a protocol data unit PDU, where the preset action at least includes a target action of analyzing a transmission object of the protocol data unit PDU session, and the transmission object is the target data network identifier DNN; and the analysis unit is used for analyzing the protocol data unit PDU session according to the target action and determining the target data network identifier DNN.
As an alternative embodiment, the routing module includes: a determining unit, configured to determine a target terminal using a target data network identifier DNN, where the target terminal accesses a target network address; a routing unit for routing the protocol data unit PDU session between the destination network address and the data network DN by the destination terminal.
As an alternative embodiment, the apparatus further comprises: and the transmission module is used for transmitting the protocol data unit PDU session between the target data network identifier DNN and the data network DN under the condition that the target network address with the routing relation with the target data network identifier DNN is not queried in the preset routing table.
Embodiments of the present invention may provide a computer terminal, which may be any one of a group of computer terminals. Alternatively, in the present embodiment, the above-described computer terminal may be replaced with a terminal device such as a mobile terminal.
Alternatively, in this embodiment, the above-mentioned computer terminal may be located in at least one network device among a plurality of network devices of the computer network.
In this embodiment, the above-mentioned computer terminal may execute the program code of the following steps in the routing method: the user function face UPF network element receives a protocol data unit PDU session; in a preset link table, inquiring a preset data network identifier DNN of a PDU session as a target data network identifier DNN, wherein the preset link table is prestored in a UPF network element of a user function surface and is used for recording at least one preset data network identifier DNN of the PDU session with a data network DN; inquiring a preset network address with a routing relation with a target data network identifier DNN as a target network address in a preset routing table, wherein the preset routing table is stored in a user function surface UPF network element in advance and is used for recording the routing relation between each preset data network identifier DNN and at least one preset network address; protocol data unit PDU sessions are routed between the destination network address and the data network DN by means of the destination data network identification DNN.
Alternatively, fig. 5 is a block diagram of a computer terminal according to an embodiment of the present invention. As shown in fig. 5, the computer terminal 50 may include: one or more (only one is shown) processors 52, and memory 54.
The memory may be used to store software programs and modules, such as program instructions/modules corresponding to the routing method and apparatus in the embodiments of the present invention, and the processor executes the software programs and modules stored in the memory, thereby executing various functional applications and data processing, that is, implementing the routing method described above. 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 examples, the memory may further include memory remotely located with respect to the processor, which may be connected to the terminal 50 via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The processor may call the information and the application program stored in the memory through the transmission device to perform the following steps: the user function face UPF network element receives a protocol data unit PDU session; in a preset link table, inquiring a preset data network identifier DNN of a PDU session as a target data network identifier DNN, wherein the preset link table is prestored in a UPF network element of a user function surface and is used for recording at least one preset data network identifier DNN of the PDU session with a data network DN; inquiring a preset network address with a routing relation with a target data network identifier DNN as a target network address in a preset routing table, wherein the preset routing table is stored in a user function surface UPF network element in advance and is used for recording the routing relation between each preset data network identifier DNN and at least one preset network address; protocol data unit PDU sessions are routed between the destination network address and the data network DN by means of the destination data network identification DNN.
Optionally, the above processor may further execute program code for: before receiving a protocol data unit PDU session through a user function surface UPF network element, receiving a preset list item issued by a session management function SMF, wherein the session management function SMF is used for carrying out configuration management on the user function surface UPF network element, and the preset list item carries a preset data network identifier DNN and a preset network address requiring a preset data network identifier DNN route; and storing the preset table entry into a preset routing table.
Optionally, the above processor may further execute program code for: identifying target identification information carried by a protocol data unit PDU session, wherein the target identification information represents a unique identification of a target data network identification DNN of the transmission protocol data unit PDU session; and in the preset query fast table, the preset data network identifier DNN corresponding to the query target identifier information is the target data network identifier DNN, wherein the preset query fast table is used for recording at least one preset identifier information and the preset data network identifier DNN corresponding to each preset identifier information.
Optionally, the above processor may further execute program code for: identifying a transmission direction of a protocol data unit PDU session according to target identification information, wherein the target identification information is also used for indicating the transmission direction, the transmission direction at least comprises an uplink direction and a downlink direction, the uplink direction indicates that the protocol data unit PDU session is sent out by a preset data network identifier DNN, and the downlink direction indicates that the protocol data unit PDU session is sent to the preset data network identifier DNN; determining a target query fast table corresponding to the transmission direction in a preset query fast table, wherein the preset query fast table comprises: the system comprises a preset source fast table corresponding to the uplink direction and a preset destination fast table corresponding to the downlink direction, wherein the preset source fast table is used for recording at least one preset data network identifier DNN for transmitting a protocol data unit PDU session, and the preset destination fast table is recorded with at least one preset data network identifier DNN for receiving the protocol data unit PDU session.
Optionally, the above processor may further execute program code for: under the condition that a target data network identifier DNN corresponding to target identification information cannot be queried in a preset query fast table, invoking a data Packet Forwarding Control Protocol (PFCP) session table prestored by a user function surface UPF network element, wherein the data Packet Forwarding Control Protocol (PFCP) session table is used for recording at least one preset action executed by the user function surface UPF network element on a protocol data unit PDU, the preset action at least comprises a target action of analyzing a transmission object of the protocol data unit PDU session, and the transmission object is the target data network identifier DNN; and analyzing the protocol data unit PDU session according to the target action, and determining a target data network identifier DNN.
Optionally, the above processor may further execute program code for: determining a target terminal using a target data network identifier DNN, wherein the target terminal accesses a target network address; protocol data unit PDU sessions are routed between the target network address and the data network DN by the target terminal.
Optionally, the above processor may further execute program code for: and under the condition that the target network address with the routing relation with the target data network identifier DNN is not queried in the preset routing table, transmitting a protocol data unit PDU session between the target data network identifier DNN and the data network DN.
The embodiment of the invention provides a routing scheme, and a user function surface UPF network element receives a protocol data unit PDU session; in a preset link table, inquiring a preset data network identifier DNN of a PDU session as a target data network identifier DNN, wherein the preset link table is prestored in a UPF network element of a user function surface and is used for recording at least one preset data network identifier DNN of the PDU session with a data network DN; inquiring a preset network address with a routing relation with a target data network identifier DNN as a target network address in a preset routing table, wherein the preset routing table is stored in a user function surface UPF network element in advance and is used for recording the routing relation between each preset data network identifier DNN and at least one preset network address; the protocol data unit PDU session is routed between the target network address and the data network DN through the target data network identifier DNN, and the preset data network identifier DNN recorded in the preset routing table can have a routing function through configuring the preset routing table for the UPF network element of the user function surface, so that the protocol data unit PDU session can be routed between the corresponding preset network address and the data network DN through the preset data network identifier DNN, thereby realizing the technical effect of routing the intranet address hung under the 5G data network and the 5G terminal, and further solving the technical problem that the prior art cannot route the intranet address hung under the 5G data network and the 5G terminal.
It will be appreciated by those skilled in the art that the structure shown in fig. 5 is only illustrative, and the computer terminal may be a smart phone (such as an Android phone, an iOS phone, etc.), a tablet computer, a palm computer, a mobile internet device (Mobile Internet Devices, MID), a PAD, etc. Fig. 5 is not limited to the structure of the electronic device. For example, the computer terminal 50 may also include more or fewer components (e.g., network interfaces, display devices, etc.) than shown in FIG. 5, or have a different configuration than shown in FIG. 5.
Those skilled in the art will appreciate that all or part of the steps in the various methods of the above embodiments may be implemented by a program for instructing a terminal device to execute on hardware associated with the terminal device, the program may be stored in a nonvolatile storage medium, and the nonvolatile storage medium may include: flash disk, read-Only Memory (ROM), random-access Memory (Random Access Memory, RAM), magnetic or optical disk, and the like.
Embodiments of the present invention also provide a nonvolatile storage medium. Alternatively, in the present embodiment, the above-described nonvolatile storage medium may be used to store the program code executed by the routing method provided in the above-described embodiment.
Alternatively, in this embodiment, the above-mentioned nonvolatile storage medium may be located in any one of the computer terminals in the computer terminal group in the computer network, or in any one of the mobile terminals in the mobile terminal group.
Optionally, in the present embodiment, the non-volatile storage medium is arranged to store program code for performing the steps of: the user function face UPF network element receives a protocol data unit PDU session; in a preset link table, inquiring a preset data network identifier DNN of a PDU session as a target data network identifier DNN, wherein the preset link table is prestored in a UPF network element of a user function surface and is used for recording at least one preset data network identifier DNN of the PDU session with a data network DN; inquiring a preset network address with a routing relation with a target data network identifier DNN as a target network address in a preset routing table, wherein the preset routing table is stored in a user function surface UPF network element in advance and is used for recording the routing relation between each preset data network identifier DNN and at least one preset network address; protocol data unit PDU sessions are routed between the destination network address and the data network DN by means of the destination data network identification DNN.
Optionally, in the present embodiment, the non-volatile storage medium is arranged to store program code for performing the steps of: before receiving a protocol data unit PDU session through a user function surface UPF network element, receiving a preset list item issued by a session management function SMF, wherein the session management function SMF is used for carrying out configuration management on the user function surface UPF network element, and the preset list item carries a preset data network identifier DNN and a preset network address requiring a preset data network identifier DNN route; and storing the preset table entry into a preset routing table.
Optionally, in the present embodiment, the non-volatile storage medium is arranged to store program code for performing the steps of: identifying target identification information carried by a protocol data unit PDU session, wherein the target identification information represents a unique identification of a target data network identification DNN of the transmission protocol data unit PDU session; and in the preset query fast table, the preset data network identifier DNN corresponding to the query target identifier information is the target data network identifier DNN, wherein the preset query fast table is used for recording at least one preset identifier information and the preset data network identifier DNN corresponding to each preset identifier information.
Optionally, in the present embodiment, the non-volatile storage medium is arranged to store program code for performing the steps of: identifying a transmission direction of a protocol data unit PDU session according to target identification information, wherein the target identification information is also used for indicating the transmission direction, the transmission direction at least comprises an uplink direction and a downlink direction, the uplink direction indicates that the protocol data unit PDU session is sent out by a preset data network identifier DNN, and the downlink direction indicates that the protocol data unit PDU session is sent to the preset data network identifier DNN; determining a target query fast table corresponding to the transmission direction in a preset query fast table, wherein the preset query fast table comprises: the system comprises a preset source fast table corresponding to the uplink direction and a preset destination fast table corresponding to the downlink direction, wherein the preset source fast table is used for recording at least one preset data network identifier DNN for transmitting a protocol data unit PDU session, and the preset destination fast table is recorded with at least one preset data network identifier DNN for receiving the protocol data unit PDU session.
Optionally, in the present embodiment, the non-volatile storage medium is arranged to store program code for performing the steps of: under the condition that a target data network identifier DNN corresponding to target identification information cannot be queried in a preset query fast table, invoking a data Packet Forwarding Control Protocol (PFCP) session table prestored by a user function surface UPF network element, wherein the data Packet Forwarding Control Protocol (PFCP) session table is used for recording at least one preset action executed by the user function surface UPF network element on a protocol data unit PDU, the preset action at least comprises a target action of analyzing a transmission object of the protocol data unit PDU session, and the transmission object is the target data network identifier DNN; and analyzing the protocol data unit PDU session according to the target action, and determining a target data network identifier DNN.
Optionally, in the present embodiment, the non-volatile storage medium is arranged to store program code for performing the steps of: determining a target terminal using a target data network identifier DNN, wherein the target terminal accesses a target network address; protocol data unit PDU sessions are routed between the target network address and the data network DN by the target terminal.
Optionally, in the present embodiment, the non-volatile storage medium is arranged to store program code for performing the steps of: and under the condition that the target network address with the routing relation with the target data network identifier DNN is not queried in the preset routing table, transmitting a protocol data unit PDU session between the target data network identifier DNN and the data network DN.
The foregoing embodiment numbers of the present application are merely for the purpose of description, and do not represent the advantages or disadvantages of the embodiments.
In the foregoing embodiments of the present application, the descriptions of the embodiments are emphasized, and for a portion of this disclosure that is not described in detail in this embodiment, reference is made to the related descriptions of other embodiments.
In the several embodiments provided in the present application, it should be understood that the disclosed technology may be implemented in other manners. The above-described embodiments of the apparatus are merely exemplary, and the division of the units, for example, may be a logic function division, and may be implemented in another manner, for example, a plurality of units or components may be combined or may be integrated into another system, or some features may be omitted, or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be through some interfaces, units or modules, or may be in electrical or other forms.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in the embodiments of the present invention may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in software functional units.
The integrated units, if implemented in the form of software functional units and sold or used as stand-alone products, may be stored in a non-volatile storage medium. Based on such understanding, the technical solution of the present invention may be embodied essentially or in part or all of the technical solution or in part in the form of a software product stored in a non-volatile storage medium, including instructions for causing a computer device (which may be a personal computer, a server, a network device, or the like) to perform all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned nonvolatile storage medium includes: a U-disk, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), a removable hard disk, a magnetic disk, or an optical disk, or other various media capable of storing program codes.
The foregoing is merely a preferred embodiment of the present invention and it should be noted that modifications and adaptations to those skilled in the art may be made without departing from the principles of the present invention, which are intended to be comprehended within the scope of the present invention.

Claims (10)

1. A method of routing, comprising:
the user function face UPF network element receives a protocol data unit PDU session;
inquiring a preset data network identifier DNN for transmitting the protocol data unit PDU session as a target data network identifier DNN in a preset link table, wherein the preset link table is pre-stored in the user function surface UPF network element and is used for recording at least one preset data network identifier DNN for mutually transmitting the protocol data unit PDU session with a data network DN;
inquiring a preset network address with a routing relation with the target data network identifier DNN as a target network address in a preset routing table, wherein the preset routing table is stored in the user function surface UPF network element in advance and is used for recording the routing relation between each preset data network identifier DNN and at least one preset network address;
The protocol data unit PDU session is routed between the target network address and the data network DN by the target data network identification DNN.
2. The method according to claim 1, characterized in that before receiving a protocol data unit, PDU, session by a user function surface, UPF, network element, the method further comprises:
receiving a preset table entry issued by a Session Management Function (SMF), wherein the Session Management Function (SMF) is used for carrying out configuration management on the UPF network element, and the preset table entry carries a preset data network identifier (DNN) and a preset network address requiring the routing of the DNN;
and storing the preset table entry into the preset routing table.
3. The method according to claim 1, wherein querying a preset data network identity DNN for transmitting the protocol data unit PDU session as a target data network identity DNN in a preset link table comprises:
identifying target identification information carried by the protocol data unit PDU session, wherein the target identification information represents a unique identification of the target data network identification DNN transmitting the protocol data unit PDU session;
And inquiring a preset data network identifier DNN corresponding to the target identification information in a preset inquiry fast table as the target data network identifier DNN, wherein the preset inquiry fast table is used for recording at least one preset identification information and the preset data network identifiers DNN corresponding to each preset identification information.
4. A method according to claim 3, wherein querying the preset data network identifier DNN corresponding to the target identification information for the target data network identifier DNN in a preset lookup table comprises:
identifying a transmission direction of the protocol data unit PDU session according to the target identification information, wherein the target identification information is also used for indicating the transmission direction, the transmission direction at least comprises an uplink direction and a downlink direction, the uplink direction indicates that the protocol data unit PDU session is sent out by the preset data network identifier DNN, and the downlink direction indicates that the protocol data unit PDU session is sent to the preset data network identifier DNN;
determining a target query fast table corresponding to the transmission direction in the preset query fast table, wherein the preset query fast table comprises: the source fast table is used for recording at least one preset data network identifier DNN for transmitting the protocol data unit PDU session, and the preset destination fast table is recorded with at least one preset data network identifier DNN for receiving the protocol data unit PDU session.
5. A method according to claim 3, wherein after identifying the target identification information carried by the protocol data unit PDU session, the method further comprises:
under the condition that the target data network identifier DNN corresponding to the target identifier information cannot be queried in a preset query fast table, invoking a data Packet Forwarding Control Protocol (PFCP) session table prestored by the user function surface UPF network element, wherein the data Packet Forwarding Control Protocol (PFCP) session table is used for recording at least one preset action which is executed by the user function surface UPF network element on the protocol data unit PDU, and the preset action at least comprises a target action for analyzing a transmission object of the protocol data unit PDU session, and the transmission object is the target data network identifier DNN;
and analyzing the protocol data unit PDU session according to the target action to determine the target data network identifier DNN.
6. The method of claim 1, wherein routing the protocol data unit PDU session between the destination network address and the data network DN through the destination data network identification, DNN, comprises:
determining a target terminal using the target data network identifier DNN, wherein the target terminal accesses the target network address;
The protocol data unit PDU session is routed between the target network address and the data network DN by the target terminal.
7. The method according to claim 1, wherein the method further comprises:
and transmitting the protocol data unit PDU session between the target data network identifier DNN and the data network DN under the condition that the target network address with the routing relation with the target data network identifier DNN is not queried in a preset routing table.
8. A routing apparatus, comprising:
the receiving module is used for receiving a protocol data unit PDU session by a user function surface UPF network element;
a first query module, configured to query, in a preset link table, a preset data network identifier DNN for transmitting the protocol data unit PDU session as a target data network identifier DNN, where the preset link table is stored in advance in the user function plane UPF network element, and is configured to record at least one preset data network identifier DNN for transmitting the protocol data unit PDU session with a data network DN;
the second query module is configured to query a preset network address having a routing relationship with the target data network identifier DNN in a preset routing table as a target network address, where the preset routing table is stored in the user function plane UPF network element in advance, and is configured to record a routing relationship between each preset data network identifier DNN and at least one preset network address;
A routing module for routing the protocol data unit PDU session between the target network address and the data network DN through the target data network identification DNN.
9. A non-volatile storage medium for storing a program, wherein the program, when run, controls a device in which the non-volatile storage medium is located to perform the routing method of any one of claims 1 to 7.
10. An electronic device, comprising: a memory and a processor for executing a program stored in the processor, wherein the program when run performs the routing method of any one of claims 1 to 7.
CN202311036233.2A 2023-08-16 2023-08-16 Routing method and device, nonvolatile storage medium and electronic equipment Pending CN116866262A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311036233.2A CN116866262A (en) 2023-08-16 2023-08-16 Routing method and device, nonvolatile storage medium and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311036233.2A CN116866262A (en) 2023-08-16 2023-08-16 Routing method and device, nonvolatile storage medium and electronic equipment

Publications (1)

Publication Number Publication Date
CN116866262A true CN116866262A (en) 2023-10-10

Family

ID=88230694

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311036233.2A Pending CN116866262A (en) 2023-08-16 2023-08-16 Routing method and device, nonvolatile storage medium and electronic equipment

Country Status (1)

Country Link
CN (1) CN116866262A (en)

Similar Documents

Publication Publication Date Title
US11271892B2 (en) Network communication method and system, device, and storage medium
US9806944B2 (en) Network controller and a computer implemented method for automatically define forwarding rules to configure a computer networking device
CN103339901B (en) Terminal in content guiding network environment and the communication means of intermediate node and terminal and intermediate node
US10439931B2 (en) Data packet processing method, service node, and delivery node
CN101039309B (en) Link sharing service apparatus and communication method thereof
US10637794B2 (en) Resource subscription method, resource subscription apparatus, and resource subscription system
CN106878199B (en) Configuration method and device of access information
US11785095B2 (en) Method for routing data of a session initialized between a terminal and a server
US11025738B2 (en) Systems and methods for determining a destination location for transmission of packetized data in a network system based on an application server attribute
CN102801702B (en) Server connection method, information providing method, system for cloud computing and operating method
CN104348848B (en) Manage method, terminal device and the server of picture
CN109450905A (en) Transmit the method and apparatus and system of data
US20150127837A1 (en) Relay apparatus and data transfer method
CN111327668A (en) Network management method, device, equipment and storage medium
WO2016114750A1 (en) Data link layer information
CN116633934A (en) Load balancing method, device, node and storage medium
US11929851B2 (en) Gateway selection method, device, and system
US11863633B2 (en) Cloud communication method and apparatus
CN116866262A (en) Routing method and device, nonvolatile storage medium and electronic equipment
CN113824789B (en) Configuration method, device, equipment and storage medium of access descriptor
CN112468600B (en) Application message notification method, system and storage medium based on network matrix
CN117041951A (en) Signaling transmission method and system
CN115460143A (en) Message processing method and device and electronic equipment
CN117135196A (en) Data transmission method and related equipment
CN115632980A (en) Method and device for realizing routing configuration, storage medium and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination