CN116916297A - Data packet processing method and related product - Google Patents

Data packet processing method and related product Download PDF

Info

Publication number
CN116916297A
CN116916297A CN202310885556.2A CN202310885556A CN116916297A CN 116916297 A CN116916297 A CN 116916297A CN 202310885556 A CN202310885556 A CN 202310885556A CN 116916297 A CN116916297 A CN 116916297A
Authority
CN
China
Prior art keywords
upf
smf
address
user terminal
establishment request
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
CN202310885556.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 Technology Innovation Center
China Telecom Corp Ltd
Original Assignee
China Telecom Technology Innovation Center
China Telecom Corp 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 Technology Innovation Center, China Telecom Corp Ltd filed Critical China Telecom Technology Innovation Center
Priority to CN202310885556.2A priority Critical patent/CN116916297A/en
Publication of CN116916297A publication Critical patent/CN116916297A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/26Network addressing or numbering for mobility support
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/02Processing of mobility data, e.g. registration information at HLR [Home Location Register] or VLR [Visitor Location Register]; Transfer of mobility data, e.g. between HLR, VLR or external networks
    • H04W8/08Mobility data transfer
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W80/00Wireless network protocols or protocol adaptations to wireless operation
    • H04W80/08Upper layer protocols
    • H04W80/10Upper layer protocols adapted for application session management, e.g. SIP [Session Initiation Protocol]

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The application relates to a data packet processing method and related products. The method comprises the following steps: the AMF determines roaming place and home place corresponding to the user terminal initiating the first session establishment request; the I-SMF transmits a corresponding split forwarding strategy of the user terminal to the I-UPF, and transmits a home IP address to the user terminal; the I-UPF determines the type of the access network corresponding to the first session establishment request, and performs shunting processing or forwarding processing on the data packet corresponding to the first session establishment request based on a shunting forwarding strategy under different access network types, wherein when the access network type is a public network, IP address replacement is performed to replace the home IP address of the user terminal with a roaming IP address; the roaming IP address is not issued to the user terminal. The method can be used for replacing the IP address when the user terminal accesses the public network based on the split forwarding strategy, thereby avoiding the conflict of the IP address and ensuring the network stability of the dual-domain private network service.

Description

Data packet processing method and related product
Technical Field
The present application relates to the field of communications technologies, and in particular, to a data packet processing method and a related product.
Background
With the development of communication technology, a dual-domain private network technology appears, and users can meet the requirement of accessing an intranet only through a 5G network in a national range, so that the dual-domain private network has very wide requirements in business scenes such as large enterprises, campuses, government and the like.
However, in the current dual-domain private network technology, in the trans-provincial roaming scenario of the domestic operator, when the home access public network and the roaming access intranet, the two network outlets have the problem of IP address conflict, which obviously is not beneficial to improving the network stability of the dual-domain private network.
Disclosure of Invention
In view of the foregoing, it is desirable to provide a packet processing method, apparatus, computer device, computer readable storage medium, and computer program product that can avoid IP address collision in a dual-domain private network service.
In a first aspect, the present application provides a method for processing a data packet. The method comprises the following steps:
the AMF determines roaming place and home place corresponding to the user terminal initiating the first session establishment request; roaming sites have I-UPF, I-SMF and AMF, home sites have SMF and UPF;
the I-SMF transmits a corresponding split forwarding strategy of the user terminal to the I-UPF, and transmits a home IP address to the user terminal;
The I-UPF determines the type of the access network corresponding to the first session establishment request;
if the access network type is public network, the I-UPF shunts the data packet corresponding to the first session establishment request to a local public network outlet of the I-UPF based on a shunting forwarding strategy, and replaces the home IP address of the user terminal with the roaming IP address; the roaming IP address is allocated by the I-SMF or I-UPF, but the I-SMF or I-UPF does not issue the roaming IP address to the user terminal;
if the access network type is intranet, the I-UPF forwards the data packet to the UPF based on the shunt forwarding strategy.
In a second aspect, the application further provides a data packet processing device. The device comprises:
a first determining module, configured to enable the AMF to determine a roaming location and a home location corresponding to a user terminal that initiates the first session establishment request; roaming sites have I-UPF, I-SMF and AMF, home sites have SMF and UPF;
the issuing module is used for enabling the I-SMF to issue a shunting forwarding strategy corresponding to the user terminal to the I-UPF and issuing a home IP address to the user terminal;
a second determining module, configured to enable the I-UPF to determine an access network type corresponding to the first session establishment request;
the distribution module is used for distributing the data packet corresponding to the first session establishment request to a local public network outlet of the I-UPF based on a distribution forwarding strategy when the access network type is public network, and replacing the home IP address of the user terminal with the roaming IP address; the roaming IP address is allocated by the I-SMF or I-UPF, but the I-SMF or I-UPF does not issue the roaming IP address to the user terminal;
And the forwarding module is used for enabling the I-UPF to forward the data packet to the UPF based on the split forwarding strategy when the access network type is the intranet.
In a third aspect, the present application also provides a computer device. The computer device comprises a memory storing a computer program and a processor which when executing the computer program performs the steps of:
the AMF determines roaming place and home place corresponding to the user terminal initiating the first session establishment request; roaming sites have I-UPF, I-SMF and AMF, home sites have SMF and UPF;
the I-SMF transmits a corresponding split forwarding strategy of the user terminal to the I-UPF, and transmits a home IP address to the user terminal;
the I-UPF determines the type of the access network corresponding to the first session establishment request;
if the access network type is public network, the I-UPF shunts the data packet corresponding to the first session establishment request to a local public network outlet of the I-UPF based on a shunting forwarding strategy, and replaces the home IP address of the user terminal with the roaming IP address; the roaming IP address is allocated by the I-SMF or I-UPF, but the I-SMF or I-UPF does not issue the roaming IP address to the user terminal;
if the access network type is intranet, the I-UPF forwards the data packet to the UPF based on the shunt forwarding strategy.
In a fourth aspect, the present application also provides a computer-readable storage medium. The computer readable storage medium having stored thereon a computer program which when executed by a processor performs the steps of:
the AMF determines roaming place and home place corresponding to the user terminal initiating the first session establishment request; roaming sites have I-UPF, I-SMF and AMF, home sites have SMF and UPF;
the I-SMF transmits a corresponding split forwarding strategy of the user terminal to the I-UPF, and transmits a home IP address to the user terminal;
the I-UPF determines the type of the access network corresponding to the first session establishment request;
if the access network type is public network, the I-UPF shunts the data packet corresponding to the first session establishment request to a local public network outlet of the I-UPF based on a shunting forwarding strategy, and replaces the home IP address of the user terminal with the roaming IP address; the roaming IP address is allocated by the I-SMF or I-UPF, but the I-SMF or I-UPF does not issue the roaming IP address to the user terminal;
if the access network type is intranet, the I-UPF forwards the data packet to the UPF based on the shunt forwarding strategy.
In a fifth aspect, the present application also provides a computer program product. The computer program product comprises a computer program which, when executed by a processor, implements the steps of:
The AMF determines roaming place and home place corresponding to the user terminal initiating the first session establishment request; roaming sites have I-UPF, I-SMF and AMF, home sites have SMF and UPF;
the I-SMF transmits a corresponding split forwarding strategy of the user terminal to the I-UPF, and transmits a home IP address to the user terminal;
the I-UPF determines the type of the access network corresponding to the first session establishment request;
if the access network type is public network, the I-UPF shunts the data packet corresponding to the first session establishment request to a local public network outlet of the I-UPF based on a shunting forwarding strategy, and replaces the home IP address of the user terminal with the roaming IP address; the roaming IP address is allocated by the I-SMF or I-UPF, but the I-SMF or I-UPF does not issue the roaming IP address to the user terminal;
if the access network type is intranet, the I-UPF forwards the data packet to the UPF based on the shunt forwarding strategy.
The data packet processing method, the data packet processing device, the computer equipment, the storage medium and the computer program product, wherein the AMF determines the roaming place and the attribution place corresponding to the user terminal initiating the first session establishment request; roaming sites have I-UPF, I-SMF and AMF, home sites have SMF and UPF; the I-SMF transmits a corresponding split forwarding strategy of the user terminal to the I-UPF, and transmits a home IP address to the user terminal; the I-UPF determines the type of the access network corresponding to the first session establishment request; if the access network type is public network, the I-UPF shunts the data packet corresponding to the first session establishment request to a local public network outlet of the I-UPF based on a shunting forwarding strategy, and replaces the home IP address of the user terminal with the roaming IP address; the roaming IP address is allocated by the I-SMF or I-UPF, but the I-SMF or I-UPF does not issue the roaming IP address to the user terminal; if the access network type is intranet, the I-UPF forwards the data packet to the UPF based on the shunt forwarding strategy. And executing different shunting processing or forwarding processing on the data packet corresponding to the first session establishment request initiated by the user terminal based on the shunting forwarding strategy through different access network types, wherein the IP address of the user terminal is the home IP address when the user terminal accesses the public network, so that the home IP address of the user terminal is replaced by the roaming IP address by the I-UPF when the user terminal accesses the public network, thereby avoiding IP address conflict and ensuring the network stability of the dual-domain private network service.
Drawings
FIG. 1 is an application environment diagram of a method of packet processing in one embodiment;
FIG. 2 is a flow chart of a method of processing a data packet according to one embodiment;
FIG. 3 is a flow chart of a method of processing a data packet according to another embodiment;
FIG. 4 is a block diagram of a packet processing device in one embodiment;
FIG. 5 is a block diagram of a packet processing device in another embodiment;
FIG. 6 is an internal block diagram of a computer device in one embodiment;
fig. 7 is an internal structural view of a computer device in another embodiment.
Detailed Description
The present application will be described in further detail with reference to the drawings and examples, in order to make the objects, technical solutions and advantages of the present application more apparent. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the application.
It should be noted that in the following description, the terms "first, second and third" are used merely to distinguish similar objects and do not represent a specific order for the objects, it being understood that the "first, second and third" may be interchanged with a specific order or sequence, if allowed, to enable embodiments of the application described herein to be practiced otherwise than as illustrated or described herein.
The data packet processing method provided by the embodiment of the application can be applied to an application environment shown in fig. 1. Wherein the terminal 102 communicates with the server 104 via a network. The data storage system may store data that the server 104 needs to process. The data storage system may be integrated on the server 104 or may be located on a cloud or other network server.
The terminal 102 may be a smart phone, a tablet computer, a notebook computer, a desktop computer, a smart speaker, a smart watch, an internet of things device, and a portable wearable device, and the internet of things device may be a smart speaker, a smart television, a smart air conditioner, and a smart vehicle device. The portable wearable device may be a smart watch, smart bracelet, headset, or the like.
The server 104 may be a separate physical server or may be a service node in a blockchain system, where a Peer-To-Peer (P2P) network is formed between service nodes, and the P2P protocol is an application layer protocol that runs on top of a transmission control protocol (TCP, transmission Control Protocol) protocol.
The server 104 may be a server cluster formed by a plurality of physical servers, and may be a cloud server providing cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, content delivery networks (Content Delivery Network, CDN), and basic cloud computing services such as big data and artificial intelligence platforms.
The terminal 102 and the server 104 may be connected by a communication connection manner such as bluetooth, USB (Universal Serial Bus ) or a network, which is not limited herein.
In one embodiment, as shown in fig. 2, there is provided a packet processing method, which may be performed by the server or the terminal in fig. 1, or by the server and the terminal in cooperation, and the method is illustrated by way of example by the server in fig. 1, including the steps of:
s202, AMF determines roaming place and attribution place corresponding to user terminal initiating first session establishment request; roaming sites have I-UPF, I-SMF and AMF, home sites have SMF and UPF.
The data packet processing method provided by the embodiment of the application can be applied to a dual-domain private network server, and the dual-domain private network server can comprise a campus dual-domain private network server, a government dual-domain private network server, an enterprise dual-domain private network server or other servers and the like. The network environment of the dual-domain private network server includes a roaming place and a home place.
The english acronym Access and Mobility Management Function for AMF, access and mobility management functions, is the core element in 5G networks. The AMF is responsible for authentication, authorization, registration management, mobility management, connection management, etc. functions of the user terminal.
The UPF is fully named User Plane Function, i.e. user plane function, and the main function of the UPF is to handle the routing and forwarding of data packets from a base station to a network, and is a data processing module in a 5G network. I-UPF is the roaming corresponding UPF.
The english of the SMF is called Session Management Function, i.e. session management function, and the SMF is responsible for functions such as tunnel maintenance, IP address allocation and management in the 5G network. The SMF may select a corresponding UPF based on the granularity of the user terminal or the session establishment request to allocate an IP address to the user terminal and collect billing data to connect with the billing center. Specifically, the SMF may determine the corresponding UPF according to a location, a load capability, a user terminal location, user terminal data configuration information, or a DNN identifier of the UPF. I-SMF is the roaming corresponding SMF.
I-SMF is connected between I-UPF and SMF, and is connected with SMF between UPF and I-SMF, namely, communication interaction can not be directly carried out between I-UPF and SMF, I-UPF needs to send information to SMF through I-SMF, and UPF and I-SMF are the same, and detailed description is omitted here.
The first session establishment request may include the location of the user terminal, the DNN identity. The first session establishment request may include the location of the user terminal, DNN identification, and other information. The user terminal signing the dual-domain private network service corresponds to a customized DNN identifier, and the DNN identifier comprises a provincial identifier and a dual-domain private network service specific identifier. Because the service requirements of the dual-domain private network corresponding to different user terminals are different, the distribution forwarding strategies are also different, so that DNN identifiers corresponding to different user terminals are different, and therefore, the DNN identifiers can be used for distinguishing the user terminals.
The attribution refers to a fixed network area corresponding to the user terminal, different user terminals correspond to the attributions, and the attribution corresponding to each user terminal is fixed; accordingly, roaming areas are other network areas than the home area to which the user terminal corresponds.
Specifically, the AMF determines whether the user terminal is a dual-domain private network service subscriber according to the DNN identifier included in the first session establishment request initiated by the user terminal, and after the AMF determines that the user terminal is the dual-domain private network service subscriber, determines the corresponding roaming location and the home location. Roaming place and home place are located in network environment of server of private network in two domains corresponding to private network service in two domains.
S204, the I-SMF issues a corresponding split forwarding strategy of the user terminal to the I-UPF, and issues a home IP address to the user terminal.
The different user terminals have customized DNN identifiers, so that the corresponding split forwarding policies of the different user terminals may also be customized for the user terminals, that is, may be corresponding to different split forwarding policies of the different user terminals.
S206, the I-UPF determines the type of the access network corresponding to the first session establishment request.
The access network types may include public network, intranet, and other network types.
Further, the I-UPF locally stores a historical network access record of the user terminal, where the historical network access record includes a historical offload forwarding policy corresponding to the user terminal, so that before the I-UPF performs offload or forwarding processing on a data packet corresponding to the first session establishment request based on the offload forwarding policy, the I-UPF may match the offload forwarding policy issued by the I-SMF with the historical offload forwarding policy, and if the matching result is that the offload forwarding policy is consistent with the historical offload forwarding policy, the offload forwarding policy is only used to offload or forward the data packet; if the matching result is that the split forwarding strategy is inconsistent with the history split forwarding strategy, generating an mismatch notification message according to the inconsistent matching result to notify the dual-domain private network server to confirm the validity of the user terminal.
S208, if the access network type is public network, the I-UPF shunts the data packet corresponding to the first session establishment request to a local public network outlet of the I-UPF based on a shunting forwarding strategy, and replaces the home IP address of the user terminal with the roaming IP address; the roaming IP address is assigned by the I-SMF or I-UPF, but the I-SMF or I-UPF does not issue the roaming IP address to the user terminal.
Specifically, before the I-SMF or I-UPF allocates the roaming place IP address for the user terminal, the I-SMF generates a roaming place IP address allocation instruction, and the roaming place IP address allocation instruction is used for indicating the I-SMF or I-UPF to determine the roaming place IP address corresponding to the user terminal.
Because the IP address carried by the user terminal when the user terminal accesses the network is the home IP address, if the home IP address is carried to access the public network, the IP address conflict will be caused at this time, so that the user terminal cannot normally use the dual-domain private network service, and therefore, when the access network type of the user terminal is the public network, the I-UPF needs to replace the home IP address of the user terminal with the roaming IP address.
The roaming IP address is assigned to the user terminal by the I-SMF or I-UPF and has validity only in the I-SMF or I-UPF. The I-SMF or I-UPF does not issue roaming place IP address to the user terminal, so as to ensure that the IP address carried by the user terminal is the home place IP address when the user terminal accesses the network, thereby avoiding the failure of the user terminal to normally use the dual-domain private network service due to the error of the IP address when the access network type of the user terminal is the intranet.
S210, if the access network type is intranet, the I-UPF forwards the data packet to the UPF based on the shunt forwarding strategy.
When the access network type of the user terminal is an intranet, the I-UPF directly forwards the data packet to the UPF based on a shunting forwarding strategy without replacing the IP address.
In the data packet processing method, the AMF determines a roaming place and a attribution place corresponding to the user terminal initiating the first session establishment request; roaming sites have I-UPF, I-SMF and AMF, home sites have SMF and UPF; the I-SMF transmits a corresponding split forwarding strategy of the user terminal to the I-UPF, and transmits a home IP address to the user terminal; the I-UPF determines the type of the access network corresponding to the first session establishment request; if the access network type is public network, the I-UPF shunts the data packet corresponding to the first session establishment request to a local public network outlet of the I-UPF based on a shunting forwarding strategy, and replaces the home IP address of the user terminal with the roaming IP address; the roaming IP address is allocated by the I-SMF or I-UPF, but the I-SMF or I-UPF does not issue the roaming IP address to the user terminal; if the access network type is intranet, the I-UPF forwards the data packet to the UPF based on the shunt forwarding strategy. And executing different shunting processing or forwarding processing on the data packet corresponding to the first session establishment request initiated by the user terminal based on the shunting forwarding strategy through different access network types, wherein the IP address of the user terminal is the home IP address when the user terminal accesses the public network, so that the home IP address of the user terminal is replaced by the roaming IP address by the I-UPF when the user terminal accesses the public network, thereby avoiding IP address conflict and ensuring the network stability of the dual-domain private network service.
In one embodiment, the determining, by the AMF, a roaming location and a home location corresponding to a user terminal that initiates a session establishment request includes:
the AMF receives a first session establishment request initiated by a user terminal;
the AMF determines a roaming place and a home place corresponding to the user terminal according to DNN identification included in the first session establishment request, wherein the DNN identification is used for indicating the corresponding relation between the user terminal and a network environment, and the network environment comprises the roaming place and the home place.
The english language of DNN is called Data Network Name, i.e. data network name.
The network environment, i.e. the corresponding environment in which operators provide users with dual-domain private network business services.
In this embodiment, when the AMF determines the roaming location and the home location corresponding to the user terminal initiating the session establishment request, the AMF determines the roaming location and the home location corresponding to the user terminal according to the DNN identifier included in the first session establishment request initiated by the user terminal, thereby improving accuracy in determining the roaming location and the home location corresponding to the user terminal, avoiding network positioning errors, and further improving network stability of the dual-domain private network service.
In one embodiment, the method further comprises:
I-SMF and/or I-UPF configure an address pool that includes a plurality of roaming IP addresses.
In this embodiment, an I-SMF and/or an I-UPF that allocate roaming IP addresses to a user terminal is configured with an address pool that includes a plurality of roaming IP addresses, so as to ensure that different user terminals can accurately correspond to respective roaming IP addresses in a process of using a dual-domain private network service, thereby ensuring network stability of the dual-domain private network service; meanwhile, the existence of the address pool enables the I-SMF and/or the I-UPF to rapidly distribute the existing roaming IP address to the user terminal without generating and distributing the IP address when the user terminal with the IP address distribution requirement appears, thereby remarkably improving the network processing efficiency of the dual-domain private network service.
In one embodiment, after the replacing the home IP address of the user terminal with the roaming IP address, the method further includes:
the I-UPF stores the mapping relation between the home IP address and the roaming IP address, wherein the mapping relation is a session-level mapping relation.
The session-level mapping relation is that, for a single session establishment request, after the session establishment request is released, the I-UPF does not save the mapping relation between the home IP address and the roaming IP address any more, and the I-SMF or the I-UPF recovers the allocated roaming IP address.
In this embodiment, after the home IP address of the user terminal is replaced with the roaming IP address, the I-UPF stores the mapping relationship between the home IP address and the roaming IP address, where the mapping relationship is a session-level mapping relationship, so that after the first session establishment request of the user terminal is released, the mapping relationship between the home IP address and the roaming IP address corresponding to the user terminal is also released, and the mapping relationship between the stored addresses avoids the IP address conflict between different user terminals, thereby ensuring the network stability of the dual-domain private network service.
In one embodiment, the method further comprises:
the AMF generates a second session establishment request according to the first session establishment request, the configuration information of the I-SMF and the configuration information of the SMF, and sends the second session establishment request to the I-SMF;
and the I-SMF generates a roaming place IP address allocation instruction according to the second session establishment request, wherein the roaming place IP address allocation instruction is used for indicating the I-SMF or the I-UPF to determine the roaming place IP address corresponding to the user terminal.
If the I-UPF determines the roaming IP address corresponding to the user terminal, the I-UPF forwards the roaming IP address to the I-SMF after determining the roaming IP address corresponding to the user terminal, so that the I-SMF issues the home IP address to the user terminal.
In this embodiment, the I-SMF generates the roaming IP address allocation instruction according to the DNN identifier, the configuration information of the I-SMF, and the configuration information of the SMF included in the second session establishment request, so as to accurately determine the roaming IP address of the user terminal, and by making the determination of the roaming IP address have a corresponding basis, the dual-domain private network service has a running order, thereby ensuring network stability of the dual-domain private network service.
In one embodiment, the foregoing I-SMF issues a offload forwarding policy corresponding to the user terminal to the I-UPF, and issues a home IP address to the user terminal, including:
the I-SMF generates a third session establishment request according to the second session establishment request and the configuration information of the I-UPF, and sends the third session establishment request to the SMF;
the SMF generates a shunting forwarding strategy and an attribution IP address allocation instruction according to the third session establishment request, wherein the attribution IP address allocation instruction is used for indicating the SMF or UPF to determine the attribution IP address corresponding to the user terminal;
the SMF generates a reply message aiming at the third session establishment request according to the configuration information of the UPF, the shunting forwarding strategy and the home IP address, and sends the reply message to the I-SMF;
And the I-SMF issues a shunt forwarding strategy to the I-UPF according to the reply message, and issues a home IP address to the user terminal.
If the UPF determines the home IP address corresponding to the user terminal, the UPF forwards the home IP address to the SMF after determining the home IP address corresponding to the user terminal, so that the SMF packages the home IP address in a reply message to the I-SMF, and the I-SMF can acquire the home IP address and send the home IP address to the user terminal.
Specifically, unlike the roaming IP address, after the SMF or UPF determines the home IP address corresponding to the user terminal, the home IP address may be issued to the user terminal through the I-SMF.
In this embodiment, the split forwarding policy is generated by the SMF according to the third session establishment request, and the home IP address allocation instruction is generated so that the SMF or the UPF determines the home IP address corresponding to the user terminal, so that after receiving the reply message including the split forwarding policy and the home IP address forwarded by the SMF, the I-SMF issues the split forwarding policy to the I-UPF, and issues the home IP address to the user terminal, thereby ensuring that when the user terminal performs network access, the user terminal can normally perform network access whether accessing the public network or the internal network, and ensuring network stability of the dual-domain private network service.
In one embodiment, after the AMF determines the roaming location and the home location corresponding to the user terminal that initiated the first session establishment request, the method further includes:
the AMF generates a second session establishment request according to the first session establishment request, the configuration information of the I-SMF and the configuration information of the SMF, and sends the second session establishment request to the I-SMF;
and the I-SMF determines that the communication service corresponding to the user terminal is a dual-domain private network service according to the DNN identification included in the second session establishment request, and configures dual-domain private network configuration information of the I-SMF based on the dual-domain private network service.
In one embodiment, the method further comprises:
I-SMF forwards DNN identification to I-UPF;
and the I-UPF determines that the communication service corresponding to the user terminal is a dual-domain private network service according to the DNN identifier, and configures dual-domain private network configuration information of the I-UPF based on the dual-domain private network service.
The configuration information of the dual-domain private network may include information of the dual-domain private network, a general network rule, a network topology structure, a network instance, and the like.
In this embodiment, the I-SMF determines, according to the DNN identifier, that the communication service corresponding to the user terminal is a dual-domain private network service, configures dual-domain private network configuration information of the I-SMF based on the dual-domain private network service, and the I-UPF determines, according to the DNN identifier, that the communication service corresponding to the user terminal is a dual-domain private network service, configures dual-domain private network configuration information of the I-UPF based on the dual-domain private network service, thereby ensuring that both the I-SMF and the I-UPF can be correctly configured with a configuration mode facing the dual-domain private network, and can be normally used to fulfill the dual-domain private network service, and ensuring network stability of the dual-domain private network service.
The following describes an application procedure of the above-mentioned packet processing method in combination with a detailed embodiment, where the detailed embodiment is applied to a dual-domain private network server, specifically as follows: as shown in fig. 3, the user terminal initiates a first session establishment request at a roaming location;
the AMF of the roaming place receives the first session establishment request, determines the roaming place and the attribution place corresponding to the user terminal according to DNN identification included in the first session establishment request, so as to select I-SMF of the roaming place and SMF of the attribution place, and respectively selects corresponding I-UPF and UPF by the I-SMF and the SMF, then the AMF generates a second session establishment request according to the first session establishment request, the configuration information of the I-SMF and the configuration information of the SMF, and sends the second session establishment request to the I-SMF;
the I-SMF generates a roaming place IP address allocation instruction according to DNN identification, local configuration information and the like included in the second session establishment request, the roaming place IP address allocation instruction is used for indicating the I-SMF or the I-UPF to determine a roaming place IP address corresponding to the user terminal, the roaming place IP address only has validity in the I-SMF and the I-UPF and is not issued to the user terminal, the I-SMF generates a third session establishment request according to the second session establishment request and the configuration information of the I-UPF, and sends the third session establishment request to the SMF;
The SMF generates a distribution forwarding strategy and a home IP address allocation instruction according to DNN identification, local configuration information, UDM/PCF subscription information and the like contained in the third session establishment request, the home IP address allocation instruction is used for indicating the SMF or UPF to determine a home IP address corresponding to the user terminal, and the SMF generates a reply message aiming at the third session establishment request according to the configuration information of the UPF, the distribution forwarding strategy and the home IP address and sends the reply message to the I-SMF;
the I-SMF transmits the classified forwarding strategy included in the reply message to the I-UPF, and transmits the home IP address to the user terminal;
the I-UPF performs matching shunting and replacing processing on the data packet corresponding to the first session establishment request according to a shunting forwarding policy issued by the I-SMF and a roaming place IP address, specifically, the I-UPF determines a visiting network type corresponding to the first session establishment request, when the visiting network type is a public network, the I-UPF shunts the data packet corresponding to the first session establishment request to a local public network outlet of the I-UPF based on the shunting forwarding policy, and replaces the home place IP address of the user terminal with the roaming place IP address, and when the visiting network type is an intranet, the I-UPF forwards the data packet to the UPF through an N9 interface based on the shunting forwarding policy.
In this embodiment, when the user terminal performs network access, the carried IP address is the home IP address, so that when the user terminal accesses the public network, the I-UPF replaces the home IP address of the user terminal with the roaming IP address having validity already in the I-UPF, so that the user terminal can normally access the public network; when the access network type of the user terminal is intranet, the I-UPF forwards the data packet to the UPF through the N9 interface based on the split forwarding strategy because the user terminal carries the home IP. Therefore, the embodiment performs the replacement of the IP address when the user terminal accesses the public network based on the split forwarding strategy, thereby avoiding the conflict of the IP address and ensuring the network stability of the dual-domain private network service.
It should be understood that, although the steps in the flowcharts related to the embodiments described above are sequentially shown as indicated by arrows, these steps are not necessarily sequentially performed in the order indicated by the arrows. The steps are not strictly limited to the order of execution unless explicitly recited herein, and the steps may be executed in other orders. Moreover, at least some of the steps in the flowcharts described in the above embodiments may include a plurality of steps or a plurality of stages, which are not necessarily performed at the same time, but may be performed at different times, and the order of the steps or stages is not necessarily performed sequentially, but may be performed alternately or alternately with at least some of the other steps or stages.
Based on the same inventive concept, the embodiment of the application also provides a data packet processing device for realizing the above related data packet processing method. The implementation of the solution provided by the device is similar to the implementation described in the above method, so the specific limitation of one or more embodiments of the packet processing device provided below may refer to the limitation of the packet processing method hereinabove, and will not be described herein.
In one embodiment, as shown in fig. 4, there is provided a packet processing apparatus, including: a first determining module 1002, a issuing module 1004, a second determining module 1006, a splitting module 1008, and a forwarding module 1010, wherein:
a first determining module 1002, configured to enable the AMF to determine a roaming location and a home location corresponding to a user terminal that initiates the first session establishment request; roaming sites have I-UPF, I-SMF and AMF, home sites have SMF and UPF.
And the issuing module 1004 is configured to cause the I-SMF to issue a corresponding split forwarding policy of the user terminal to the I-UPF, and issue a home IP address to the user terminal.
A second determining module 1006 is configured to enable the I-UPF to determine a type of access network corresponding to the first session establishment request.
A splitting module 1008, configured to, when the visited network type is a public network, cause the I-UPF to split, based on a splitting forwarding policy, a data packet corresponding to the first session establishment request to a local public network outlet of the I-UPF, and replace a home IP address of the user terminal with a roaming IP address; the roaming IP address is assigned by the I-SMF or I-UPF, but the I-SMF or I-UPF does not issue the roaming IP address to the user terminal.
And the forwarding module 1010 is configured to, when the access network type is an intranet, cause the I-UPF to forward the data packet to the UPF based on a split forwarding policy.
In one embodiment, in terms of the AMF determining the roaming location and the home location corresponding to the user terminal that initiates the session establishment request, the first determining module 1002 is further configured to:
enabling the AMF to receive a first session establishment request initiated by the user terminal;
the AMF determines roaming place and home place corresponding to the user terminal according to DNN identification included in the first session establishment request, wherein the DNN identification is used for indicating the corresponding relation between the user terminal and the network environment, and the network environment comprises the roaming place and the home place.
In one embodiment, as shown in fig. 5, the apparatus further includes a configuration module 1012, where the configuration module 1012 is configured to:
Such that the I-SMF and/or I-UPF configures an address pool comprising a plurality of roaming IP addresses.
In one embodiment, after replacing the home IP address of the user terminal with the roaming IP address, the splitting module 1008 is further configured to:
the I-UPF stores the mapping relation between the home IP address and the roaming IP address, wherein the mapping relation is a session-level mapping relation.
In one embodiment, as shown in fig. 5, the apparatus further includes a generating module 1014, where the generating module 1014 is configured to:
the AMF generates a second session establishment request according to the first session establishment request, the configuration information of the I-SMF and the configuration information of the SMF, and sends the second session establishment request to the I-SMF;
and the I-SMF generates a roaming place IP address allocation instruction according to the second session establishment request, wherein the roaming place IP address allocation instruction is used for indicating the I-SMF or the I-UPF to determine the roaming place IP address corresponding to the user terminal.
In one embodiment, in terms of the I-SMF issuing the corresponding split forwarding policy of the user terminal to the I-UPF and issuing the home IP address to the user terminal, the foregoing issuing module 1004 is further configured to:
the I-SMF generates a third session establishment request according to the second session establishment request and the configuration information of the I-UPF, and sends the third session establishment request to the SMF;
The SMF generates a shunting forwarding strategy and an attribution IP address allocation instruction according to the third session establishment request, wherein the attribution IP address allocation instruction is used for indicating the SMF or the UPF to determine the attribution IP address corresponding to the user terminal;
the SMF generates a reply message aiming at the third session establishment request according to the configuration information of the UPF, the shunt forwarding strategy and the home IP address, and sends the reply message to the I-SMF;
and the I-SMF sends a shunt forwarding strategy to the I-UPF according to the reply message, and sends a home IP address to the user terminal.
In one embodiment, after the AMF determines the roaming location and the home location corresponding to the user terminal that initiates the first session establishment request, the first determining module 1002 is further configured to:
the AMF generates a second session establishment request according to the first session establishment request, the configuration information of the I-SMF and the configuration information of the SMF, and sends the second session establishment request to the I-SMF;
and the I-SMF determines that the communication service corresponding to the user terminal is the dual-domain private network service according to the DNN identification included in the second session establishment request, and configures dual-domain private network configuration information of the I-SMF based on the dual-domain private network service.
In one embodiment, the first determining module 1002 is further configured to:
Causing the I-SMF to forward the DNN identification to the I-UPF;
and the I-UPF determines that the communication service corresponding to the user terminal is a dual-domain private network service according to the DNN identification, and configures dual-domain private network configuration information of the I-UPF based on the dual-domain private network service.
The respective modules in the above-described packet processing apparatus may be implemented in whole or in part by software, hardware, or a combination thereof. The above modules may be embedded in hardware or may be independent of a processor in the computer device, or may be stored in software in a memory in the computer device, so that the processor may call and execute operations corresponding to the above modules.
In one embodiment, a computer device is provided, which may be a server, the internal structure of which may be as shown in fig. 6. The computer device includes a processor, a memory, an Input/Output interface (I/O) and a communication interface. The processor, the memory and the input/output interface are connected through a system bus, and the communication interface is connected to the system bus through the input/output interface. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, computer programs, and a database. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage media. The database of the computer device is for storing user terminal data. The input/output interface of the computer device is used to exchange information between the processor and the external device. The communication interface of the computer device is used for communicating with an external terminal through a network connection. The computer program is executed by a processor to implement a data packet processing method.
In one embodiment, a computer device is provided, which may be a terminal, and the internal structure of which may be as shown in fig. 7. The computer device includes a processor, a memory, an input/output interface, a communication interface, a display unit, and an input means. The processor, the memory and the input/output interface are connected through a system bus, and the communication interface, the display unit and the input device are connected to the system bus through the input/output interface. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage media. The input/output interface of the computer device is used to exchange information between the processor and the external device. The communication interface of the computer device is used for carrying out wired or wireless communication with an external terminal, and the wireless mode can be realized through WIFI, a mobile cellular network, NFC (near field communication) or other technologies. The computer program is executed by a processor to implement a data packet processing method. The display unit of the computer equipment is used for forming a visual picture, and can be a display screen, a projection device or a virtual reality imaging device, wherein the display screen can be a liquid crystal display screen or an electronic ink display screen, the input device of the computer equipment can be a touch layer covered on the display screen, can also be a key, a track ball or a touch pad arranged on a shell of the computer equipment, and can also be an external keyboard, a touch pad or a mouse and the like.
It will be appreciated by those skilled in the art that the structure shown in FIG. 7 is merely a block diagram of some of the structures associated with the present inventive arrangements and is not limiting of the computer device to which the present inventive arrangements may be applied, and that a particular computer device may include more or fewer components than shown, or may combine some of the components, or have a different arrangement of components.
In an embodiment, there is also provided a computer device comprising a memory and a processor, the memory having stored therein a computer program, the processor implementing the steps of the method embodiments described above when the computer program is executed.
In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored which, when executed by a processor, carries out the steps of the method embodiments described above.
In an embodiment, a computer program product is provided, comprising a computer program which, when executed by a processor, implements the steps of the method embodiments described above.
It should be noted that, the user information (including but not limited to user equipment information, user personal information, etc.) and the data (including but not limited to data for analysis, stored data, presented data, etc.) related to the present application are information and data authorized by the user or sufficiently authorized by each party, and the collection, use and processing of the related data need to comply with the related laws and regulations and standards of the related country and region.
Those skilled in the art will appreciate that implementing all or part of the above described methods may be accomplished by way of a computer program stored on a non-transitory computer readable storage medium, which when executed, may comprise the steps of the embodiments of the methods described above. Any reference to memory, database, or other medium used in embodiments provided herein may include at least one of non-volatile and volatile memory. The nonvolatile Memory may include Read-Only Memory (ROM), magnetic tape, floppy disk, flash Memory, optical Memory, high density embedded nonvolatile Memory, resistive random access Memory (ReRAM), magnetic random access Memory (Magnetoresistive Random Access Memory, MRAM), ferroelectric Memory (Ferroelectric Random Access Memory, FRAM), phase change Memory (Phase Change Memory, PCM), graphene Memory, and the like. Volatile memory can include random access memory (Random Access Memory, RAM) or external cache memory, and the like. By way of illustration, and not limitation, RAM can be in the form of a variety of forms, such as static random access memory (Static Random Access Memory, SRAM) or dynamic random access memory (Dynamic Random Access Memory, DRAM), and the like. The databases referred to in the embodiments provided herein may include at least one of a relational database and a non-relational database. The non-relational database may include, but is not limited to, a blockchain-based distributed database, and the like. The processor referred to in the embodiments provided in the present application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic unit, a data processing logic unit based on quantum computing, or the like, but is not limited thereto.
The technical features of the above embodiments may be arbitrarily combined, and all possible combinations of the technical features in the above embodiments are not described for brevity of description, however, as long as there is no contradiction between the combinations of the technical features, they should be considered as the scope of the description.
The foregoing examples illustrate only a few embodiments of the application and are described in detail herein without thereby limiting the scope of the application. It should be noted that it will be apparent to those skilled in the art that several variations and modifications can be made without departing from the spirit of the application, which are all within the scope of the application. Accordingly, the scope of the application should be assessed as that of the appended claims.

Claims (10)

1. A method of packet processing, the method comprising:
the AMF determines roaming place and home place corresponding to the user terminal initiating the first session establishment request; the roaming place has an I-UPF, an I-SMF and the AMF, and the home place has an SMF and a UPF;
the I-SMF transmits a shunting forwarding strategy corresponding to the user terminal to the I-UPF, and transmits a home IP address to the user terminal;
The I-UPF determines the type of the access network corresponding to the first session establishment request;
if the type of the access network is public network, the I-UPF shunts the data packet corresponding to the first session establishment request to a local public network outlet of the I-UPF based on the shunt forwarding strategy, and replaces the home IP address of the user terminal with a roaming IP address; said roaming IP address being assigned by said I-SMF or said I-UPF but said I-SMF or said I-UPF not issuing said roaming IP address to said user terminal;
and if the access network type is an intranet, the I-UPF forwards the data packet to the UPF based on the shunt forwarding strategy.
2. The method of claim 1, wherein the AMF determining the roaming location and the home location corresponding to the user terminal initiating the session establishment request comprises:
the AMF receives a first session establishment request initiated by the user terminal;
the AMF determines the roaming place and the home place corresponding to the user terminal according to DNN identifiers included in the first session establishment request, wherein the DNN identifiers are used for indicating the corresponding relation between the user terminal and the network environment, and the network environment comprises the roaming place and the home place.
3. The method according to claim 1, wherein the method further comprises:
the I-SMF and/or the I-UPF configures an address pool comprising a plurality of the roaming place IP addresses.
4. The method according to claim 1, wherein after said replacing the home IP address of the user terminal with a roaming IP address, the method further comprises:
the I-UPF stores a mapping relation between the home IP address and the roaming IP address, wherein the mapping relation is a session-level mapping relation.
5. The method according to claim 1, wherein the method further comprises:
the AMF generates a second session establishment request according to the first session establishment request, the configuration information of the I-SMF and the configuration information of the SMF, and sends the second session establishment request to the I-SMF;
and the I-SMF generates a roaming place IP address allocation instruction according to the second session establishment request, wherein the roaming place IP address allocation instruction is used for indicating the I-SMF or the I-UPF to determine the roaming place IP address corresponding to the user terminal.
6. The method of claim 5, wherein the I-SMF issuing a corresponding offload forwarding policy for the user terminal to the I-UPF and issuing a home IP address to the user terminal comprises:
The I-SMF generates a third session establishment request according to the second session establishment request and configuration information of the I-UPF, and sends the third session establishment request to the SMF;
the SMF generates the shunting forwarding strategy and the home IP address allocation instruction according to the third session establishment request, wherein the home IP address allocation instruction is used for indicating the SMF or UPF to determine the home IP address corresponding to the user terminal;
the SMF generates a reply message aiming at the third session establishment request according to the configuration information of the UPF, the shunt forwarding strategy and the home IP address, and sends the reply message to the I-SMF;
and the I-SMF issues the shunting forwarding strategy to the I-UPF according to the reply message, and issues the home IP address to the user terminal.
7. The method of claim 2, wherein after the AMF determines the roaming location and the home location corresponding to the user terminal initiating the first session establishment request, the method further comprises:
the AMF generates a second session establishment request according to the first session establishment request, the configuration information of the I-SMF and the configuration information of the SMF, and sends the second session establishment request to the I-SMF;
And the I-SMF determines that the communication service corresponding to the user terminal is a dual-domain private network service according to DNN identification included in the second session establishment request, and configures dual-domain private network configuration information of the I-SMF based on the dual-domain private network service.
8. The method of claim 7, wherein the method further comprises:
the I-SMF forwards the DNN identification to the I-UPF;
and the I-UPF determines that the communication service corresponding to the user terminal is the dual-domain private network service according to the DNN identifier, and configures dual-domain private network configuration information of the I-UPF based on the dual-domain private network service.
9. A data packet processing apparatus, the apparatus comprising:
a first determining module, configured to enable the AMF to determine a roaming location and a home location corresponding to a user terminal that initiates the first session establishment request; the roaming place has an I-UPF, an I-SMF and the AMF, and the home place has an SMF and a UPF;
the issuing module is used for enabling the I-SMF to issue a shunting forwarding strategy corresponding to the user terminal to the I-UPF and issuing a home IP address to the user terminal;
a second determining module, configured to enable the I-UPF to determine an access network type corresponding to the first session establishment request;
The shunting module is used for shunting the data packet corresponding to the first session establishment request to a local public network outlet of the I-UPF based on the shunting forwarding strategy when the access network type is public network, and replacing the home IP address of the user terminal with a roaming IP address; said roaming IP address being assigned by said I-SMF or said I-UPF but said I-SMF or said I-UPF not issuing said roaming IP address to said user terminal;
and the forwarding module is used for enabling the I-UPF to forward the data packet to the UPF based on the shunt forwarding strategy when the access network type is an intranet.
10. A computer device comprising a memory and a processor, the memory storing a computer program, characterized in that the processor implements the steps of the method of any one of claims 1 to 8 when the computer program is executed.
CN202310885556.2A 2023-07-18 2023-07-18 Data packet processing method and related product Pending CN116916297A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310885556.2A CN116916297A (en) 2023-07-18 2023-07-18 Data packet processing method and related product

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310885556.2A CN116916297A (en) 2023-07-18 2023-07-18 Data packet processing method and related product

Publications (1)

Publication Number Publication Date
CN116916297A true CN116916297A (en) 2023-10-20

Family

ID=88362527

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310885556.2A Pending CN116916297A (en) 2023-07-18 2023-07-18 Data packet processing method and related product

Country Status (1)

Country Link
CN (1) CN116916297A (en)

Similar Documents

Publication Publication Date Title
CN110166409B (en) Device access method, related platform and computer storage medium
CN111436160B (en) Local area network communication method, device and system
CN109451451B (en) Terminal roaming method, device and storage medium
CN110647559B (en) Data processing method, related node and system
US8719427B2 (en) Efficiency for network group communication
EP3920562B1 (en) Methods and system for performing charging processing on network slice client, and related devices
US11778455B2 (en) Subscriber identity management method, device, and system
US20090137227A1 (en) Federated Virtual Network of Communications Services
US20190166001A1 (en) Network function nf management method and nf management device
US10932171B2 (en) Access point switching method and apparatus
CN112533177A (en) Method, device, apparatus and medium for providing and discovering moving edge calculation
CN113301079B (en) Data acquisition method, system, computing device and storage medium
CN114422581B (en) Service creation method, device, computer equipment and storage medium
CN116761159A (en) Multi-homing access method and device for equipment, computer equipment and storage medium
CN116996585A (en) Multicast communication method, device, system, computer equipment and storage medium
CN116916297A (en) Data packet processing method and related product
CN116887247A (en) Data packet processing method and related product
CN111315037B (en) Communication link establishing method and device, computer equipment and storage medium
CN118042646A (en) Data communication method, device, communication equipment and storage medium
CN116599829A (en) Traffic switching method, device, computer equipment and storage medium
CN118474725A (en) Communication method, communication device, computer equipment and storage medium
CN117119562A (en) Remote access private network method, device, terminal, storage medium and program product
GB2618646A (en) Artificial intelligence and machine learning traffic transport
CN116709457A (en) Network session processing method, device, computer equipment and storage medium
CN117062154A (en) Data transmission method, device, computer equipment and storage medium

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