Traffic steering strategy adjusting method and apparatus, device, and readable storage medium
By executing the diversion strategy adjustment method in the target session management network element, the problem of the uplink data diversion function of user equipment in the 5G network environment failing when the network environment changes, and the stability of users accessing the regional private network and the service experience guaranteed.
Patent Information
- Application Number
- PCT/CN2024/135054
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-12-06
- Filing Date
- 2024-11-27
- Publication Date
- 2025-06-12
AI Technical Summary
In a 5G network environment, the uplink data shunt function of user equipment will fail when the network environment changes, resulting in users being unable to access the regional dedicated network, affecting the service experience.
Through the diversion strategy adjustment method performed by the target session management network element, we receive messages of changes in the user equipment location and network environment, and adjust the diversion strategy of the user plane network element according to the location relationship to ensure that the data diversion function is still effective when the network environment changes.
It realizes the effectiveness of maintaining the data diversion function when the network environment changes, allowing users to continue to access the regional dedicated network and ensure users' business experience.
Smart Images

Figure CN2024135054_12062025_PF_FP_ABST
Abstract
Description
Diversion strategy adjustment method, device, equipment and readable storage medium
[0001] CROSS-REFERENCE TO RELATED APPLICATIONS
[0002] This disclosure is based on and claims the priority of Chinese patent application with application number 202311665826.5 and application date December 6, 2023. The entire content of this Chinese patent application is hereby incorporated into this disclosure as a reference. Technical Field
[0003] The present application relates to the field of communication technology, and in particular to a diversion strategy adjustment method, apparatus, device, and readable storage medium. Background Art
[0004] With the development and application of communications technology, regional private networks based on the fifth generation (5G) are gradually transitioning to dual-domain private networks. These networks are based on 2B2C (To Business To Customer) converged private networks. These networks ensure physical isolation between public networks and regional private networks, while enabling the cross-border integration of 2C (To Customer) and 2B (To Business) services. Examples of regional private networks include enterprise campus intranets and school campus networks.
[0005] To support more flexible networking, the relevant technology center has introduced the Uplink Classifier (ULCL) function for user device uplink data diversion for regional private networks in the 5G network environment. This function diverts data packets from different services of user devices to different paths on the network side, and diverts service flows accessing the local network to local service servers based on the characteristics of user service flows. Therefore, when the network environment at the location of the user device changes between the fourth generation (4G) and 5G, the ULCL diversion function will fail, resulting in the user being unable to continue accessing the regional private network, which can easily affect the user's service experience. Summary of the Invention
[0006] The embodiments of the present application provide a diversion strategy adjustment method, apparatus, device and readable storage medium, which can ensure the capability of the data diversion function when the network environment changes, allowing users to continue to access the regional private network and ensure the user's business experience.
[0007] In a first aspect, an embodiment of the present application provides a method for adjusting a traffic diversion policy, which is performed by a target session management network element, including:
[0008] receiving a first session message sent by a target access management network element in response to a change in a network environment at a location of a user equipment, the first session message including location information of the user equipment and network environment information corresponding to the location of the user equipment, wherein the network environment information is the first network or the second network, the target access management network element is the access management network element corresponding to the network environment information, and the target session management network element is the session management network element corresponding to the network environment information;
[0009] Determine the location relationship between the user device and the network range of the regional private network based on the location information;
[0010] Adjust the diversion strategy information of the first user plane network element and / or the diversion strategy information of the second user plane network element according to the position relationship, wherein the first user plane network element is the user plane network element corresponding to the Internet, and the second user plane network element is the user plane network element corresponding to the regional private network.
[0011] In one embodiment, adjusting the offload policy information of the first user plane network element according to the position relationship and adjusting the offload policy information of the second user plane network element include:
[0012] When the user equipment is located within the network range of the regional private network and the network environment information is the second network, a second session message is sent to the first user plane network element so that the first user plane network element configures the diversion policy information.
[0013] In one embodiment, the method further comprises:
[0014] When the network environment change information indicates that the location of the user equipment is within the network range of the regional private network and the network environment of the user equipment is switched from the first network to the second network, the target session management network element sends a third session message to the second user plane network element, so that the second user plane network element deletes the diversion policy information.
[0015] In one embodiment, adjusting the offload policy information of the first user plane network element and / or the offload policy information of the second user plane network element according to the position relationship includes:
[0016] When the network environment change information indicates that the location of the user equipment is within the network scope of the regional private network, and the network environment change information indicates that the network environment at the location of the user equipment is switched from the second network to the first network, the target session management network element sends a fourth session message to the first user plane network element to enable the first user plane network element to delete the diversion policy information, and sends a fifth session message to the second user plane network element to enable the second user plane network element to configure the diversion policy information.
[0017] In one embodiment, adjusting the offload policy information of the first user plane network element and / or the offload policy information of the second user plane network element according to the position relationship includes:
[0018] When the network environment change information indicates that the network environment of the user equipment is located in the second network, and the location of the user equipment is switched from within the network range of the regional private network to outside the network range of the regional private network, the target session management network element sends a sixth session message to the first user plane network element, so that the first user plane network element deletes the diversion policy information.
[0019] In a second aspect, an embodiment of the present application provides a method for adjusting a traffic diversion policy, which is performed by a target access management network element, including:
[0020] In response to a change in the network environment at the location of the user equipment, obtaining location information of the user equipment and network environment information corresponding to the location of the user equipment, wherein the network environment information is the first network or the second network, and the target access management network element is the access management network element corresponding to the network environment information;
[0021] Sending a first session message to a target session management network element, where the first session information includes location information and network environment information, so that the target session management network element determines a location relationship between the user equipment and the network range of the local private network based on the location information, and adjusts the diversion policy information of the first user plane network element and the diversion policy information of the second user plane network element based on the location relationship. The target session management network element is the session management network element corresponding to the network environment information.
[0022] Among them, the first user plane network element is a user plane network element corresponding to the Internet, and the second user plane network element is a user plane network element corresponding to the regional private network.
[0023] In one embodiment, the network environment change information includes any one of the following change information:
[0024] The user equipment is located within the network range of the regional private network, and the network environment at the location of the user equipment is switched from the first network to the second network;
[0025] The user equipment is located within the network range of the regional private network, and the network environment change information indicates that the network environment at the user equipment is switched from the second network to the first network;
[0026] The network environment where the user equipment is located is located in the second network, and the location of the user equipment is switched from within the network range of the regional private network to outside the network range of the regional private network;
[0027] The network environment where the user equipment is located is located in the second network, and the location of the user equipment is switched from outside the network range of the regional private network to within the network range of the regional private network.
[0028] In a third aspect, an embodiment of the present application provides a diversion policy adjustment device, which is applied to a target session management network element. The device includes:
[0029] a receiving module, configured to receive a first session message sent by a target access management network element in response to a change in a network environment at a location of a user equipment, the first session message including location information of the user equipment and network environment information corresponding to the location of the user equipment, wherein the network environment information is the first network or the second network, the target access management network element is the access management network element corresponding to the network environment information, and the target session management network element is the session management network element corresponding to the network environment information;
[0030] A processing module, configured to determine a positional relationship between the user equipment and the network range of the regional private network based on the position information;
[0031] The processing module is also used to adjust the diversion strategy information of the first user plane network element and / or the diversion strategy information of the second user plane network element according to the position relationship, wherein the first user plane network element is the user plane network element corresponding to the Internet, and the second user plane network element is the user plane network element corresponding to the regional private network.
[0032] In a fourth aspect, an embodiment of the present application provides a diversion policy adjustment device, which is applied to a target access management network element, and the device includes:
[0033] an acquisition module, configured to acquire, in response to a change in the network environment at the location of the user equipment, location information of the user equipment and network environment information corresponding to the location of the user equipment, wherein the network environment information is the first network or the second network, and the target access management network element is the access management network element corresponding to the network environment information;
[0034] a sending module, configured to send a first session message to a target session management network element, where the first session information includes location information and network environment information, so that the target session management network element determines a positional relationship between the user equipment and the network range of the regional private network based on the location information, and adjusts the diversion policy information of the first user plane network element and the diversion policy information of the second user plane network element based on the location relationship, wherein the target session management network element is the session management network element corresponding to the network environment information;
[0035] Among them, the first user plane network element is a user plane network element corresponding to the Internet, and the second user plane network element is a user plane network element corresponding to the regional private network.
[0036] In a fifth aspect, the present application provides an electronic device comprising: a processor and a memory storing computer program instructions; when the processor executes the computer program instructions, it implements the diversion strategy adjustment method in the first aspect or any implementable method of the first aspect, or implements the diversion strategy adjustment method in the second aspect or any implementable method of the second aspect.
[0037] In a sixth aspect, the present application provides a computer-readable storage medium, on which computer program instructions are stored. When the computer program instructions are executed by a processor, the diversion strategy adjustment method in the first aspect or any implementable method of the first aspect is implemented, or the diversion strategy adjustment method in the second aspect or any implementable method of the second aspect is implemented.
[0038] In the seventh aspect, an embodiment of the present application provides a computer program product. When the instructions in the computer program product are executed by a processor of an electronic device, the electronic device executes the diversion strategy adjustment method as described in the second aspect or any implementable method of the second aspect.
[0039] In the diversion policy adjustment method, apparatus, device, and readable storage medium of the embodiments of the present application, a target access management network element can, in response to a change in the network environment at the location of a user device, send a first session message including location information of the user device and network environment information corresponding to the location of the user device to a target session management network element. Upon receiving the first session message, the target session management network element can determine, based on the location information, the positional relationship between the user device and the network range of the regional private network, and adjust, based on the positional relationship, the diversion policy information of the first user plane network element corresponding to the Internet and / or the diversion policy information of the second user plane network element corresponding to the regional private network. Consequently, when the network environment corresponding to the location of the user device changes, the first user plane network element and the second user plane network element can cooperate with each other to continue to implement the uplink data diversion function based on the diversion policy information, allowing the user to continue to access the regional private network and ensuring the user's service experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0040] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the following is a brief introduction to the drawings required for use in the embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.
[0041] FIG1 is a schematic structural diagram of a diversion strategy adjustment system provided in an embodiment of the present application;
[0042] FIG2 is a schematic structural diagram of an application scenario of a diversion strategy adjustment method provided in an embodiment of the present application;
[0043] FIG3 is a flow chart of a method for adjusting a diversion strategy according to an embodiment of the present application;
[0044] FIG4 is a flow chart of another diversion strategy adjustment method provided in an embodiment of the present application;
[0045] FIG5 is a flowchart illustrating one of the contexts of the diversion strategy adjustment method provided in an embodiment of the present application;
[0046] FIG6 is a second flow chart of the context of a diversion strategy adjustment method provided in an embodiment of the present application;
[0047] FIG7 is a third flow chart of the context of a diversion strategy adjustment method provided in an embodiment of the present application;
[0048] FIG8 is a fourth flow chart of a context of a diversion strategy adjustment method provided in an embodiment of the present application;
[0049] FIG9 is a schematic structural diagram of a diversion strategy adjustment device provided in an embodiment of the present application;
[0050] FIG10 is a schematic structural diagram of a diversion strategy adjustment device provided in an embodiment of the present application;
[0051] FIG11 is a schematic structural diagram of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0052] The features and exemplary embodiments of various aspects of the present application will be described in detail below. In order to make the purpose, technical solutions and advantages of the present application clearer, the present application will be further described in detail below in conjunction with the accompanying drawings and specific embodiments. It should be understood that the specific embodiments described herein are only intended to explain the present application, rather than to limit the present application. For those skilled in the art, the present application can be implemented without the need for some of these specific details. The following description of the embodiments is merely to provide a better understanding of the present application by illustrating the examples of the present application.
[0053] It should be noted that, in this document, relational terms such as first and second, etc., are used only to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any actual relationship or order between these entities or operations. Moreover, the terms "comprises," "comprising," or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article, or device comprising a series of elements includes not only those elements, but also other elements not explicitly listed, or elements inherent to such process, method, article, or device. In the absence of further limitations, the elements defined by the phrase "comprising..." do not exclude the presence of other identical elements in the process, method, article, or device comprising the elements.
[0054] The term "and / or" in this article is merely a description of the association relationship between associated objects, indicating that three relationships may exist. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone.
[0055] With the development and application of communications technology, regional private networks based on the fifth generation (5G) are gradually transitioning to dual-domain private networks. These networks are based on 2B2C (To Business To Customer) converged private networks. These networks ensure physical isolation between public networks and regional private networks, while enabling the cross-border integration of 2C (To Customer) and 2B (To Business) services. Examples of regional private networks include enterprise campus intranets and school campus networks.
[0056] To support more flexible networking, the relevant technology center has introduced the Uplink Classifier (ULCL) function for user device uplink data diversion for regional private networks in 5G network environments. This function diverts data packets from different services of user devices to different paths on the network side, and diverts service flows accessing the local network to local service servers based on the characteristics of user service flows. Therefore, when the network environment where the user device is located changes between the fourth generation (4G) network and the 5G network, the ULCL diversion function will become ineffective, resulting in the user being unable to continue accessing the regional private network, which is likely to affect the user's service experience.
[0057] To this end, the embodiments of the present application provide a diversion strategy adjustment method, apparatus, device, and computer-readable storage medium, which can ensure the effectiveness of the data diversion function when the network environment changes, allowing users to continue to access the regional private network and ensure the user's business experience.
[0058] FIG1 is a schematic diagram of the structure of a diversion strategy adjustment system provided by an embodiment of the present application. As shown in FIG1 , the diversion strategy adjustment system includes associated network elements that can provide a network environment for users. The specific network environment is, for example, a 4G network or a 5G network.
[0059] Exemplarily, the first network 10 may be a 5G network, and the network elements corresponding to the first network 10 may include a first access network management network element 11 and a first session management network element 12.
[0060] When the first network 10 is a 5G network, the first access network management network element 11 may include an access and mobility management function (AMF) network element and other functional modules for supporting user equipment to connect to the Internet or a regional private network based on the 5G network.
[0061] When the first network 10 is a 5G network, the first session management network element 12 may include a session management function (SMF), a packet data network gateway (PDN, PGW), and other functional modules for supporting user equipment to connect to the Internet or a regional private network based on the 5G network, where PDN is a packet data network.
[0062] When the second network 20 is a 4G network, the second access network management network element 21 may include a mobility management entity (MME), a serving gateway (SGW), and other functional modules for supporting user equipment to connect to the Internet or a regional private network based on the 4G network. Among them, the SGW network element is the core network equipment (core network gateway) of the 4G network, which is responsible for data forwarding, downlink data storage, etc.
[0063] When the second network 20 is a 4G network, the second session management network element 22 may include a SMF network element, a PGW network element, and other functional modules for supporting the user equipment to connect to the Internet or a regional private network based on the 4G network.
[0064] Optionally, in the first network, the SMF network element included in the first session management network element 12 and the SMF network element included in the second session management network element 22 may be the same network element or different network elements.
[0065] The separation strategy adjustment system provided in accordance with the embodiment of the present application can be used to implement the diversion strategy adjustment method provided in accordance with the embodiment of the present application. Before introducing the diversion strategy adjustment method provided in accordance with the embodiment of the present application, the application scenario of the diversion strategy adjustment method will be introduced below in conjunction with the structural schematic diagram of the application scenario of the diversion strategy adjustment method shown in FIG2.
[0066] The application scenario shown in Figure 2 includes user equipment (UE), which can be a device with wireless communication capabilities, such as a cellular phone, a smart phone, a personal digital assistant (PDA), a tablet computer, a laptop computer, a wearable device, an Internet of Things device, etc.
[0067] Access network (Radio Access Network, RAN), the access network can be a 4G network side base station or a 5G side base station, and there is no specific restriction here.
[0068] AMF is a core network device of the 5G network, used to perform authentication and authorization operations on terminals and manage terminal mobility.
[0069] MME is the core network equipment of the 4G network, responsible for terminal authentication, authorization, mobility management, and session management.
[0070] The SMF is the control plane device of the 5G core network, providing control plane services for the PDU sessions of user devices. It manages the PDU sessions and QoS of the 5G network, allocates IP addresses to user devices, and selects the UPF for user devices. Optionally, the AMF can exchange data with the SMF through the service-oriented interface N11.
[0071] The SGW network element is the core network device (core network gateway) of the 4G network, responsible for data forwarding, downlink data storage, etc. The central data within the core network can be forwarded through the control plane serving gateway (SGW-C).
[0072] Policy control function (PCF) network element, PCF is the core network equipment of the 5G network and belongs to the policy network element.
[0073] The user plane function (UPF) network element supports UE service data routing and forwarding, data and service identification, and action and policy execution. The UPF interacts with the SMF through the N4 interface and is directly controlled and managed by the SMF, processing service flows based on various policies issued by the SMF. The UPF serves as a user plane device in the 5G core network, providing user plane services for user device PDU sessions and acting as the interface gateway between the operator network and external networks.
[0074] Specifically, in the application scenario of Figure 2, UPF1 is the primary anchor point and can exchange data with the public Internet, such as the Internet. In the application scenario of Figure 2, UPF2 is the secondary anchor point and can exchange data with a local private network, such as a data network (DN).
[0075] Optionally, the UPF network element and the user plane packet data network gateway (PGW-U) can be a unified device or can be independently identified separately.
[0076] Among them, PGW-U is the user plane device of the core network of the 4G network, providing user plane services for the PDN connection of user equipment and serving as the interface gateway between the operator network and the external network.
[0077] The combined UPF network element and PGW-U device includes both UPF and PGW-U functions and can serve as a core network device shared by both 4G and 5G networks. The UPF+PGW-U device can also be referred to as PGW-U+UPF. Any device that includes both UPF and PGW-U functions is equivalent to this device.
[0078] In some embodiments, when the user equipment accesses a regional private network on the 5G network, it adapts to the 5G UL CL capability, and the UL CL will be co-located with the auxiliary anchor point UPF2 to achieve local offload capability and support the user equipment to access the regional private network.
[0079] When the user equipment falls back from the 5G network to the 4G network, as shown in Figure 2, the main anchor point UPF1 remains unchanged, and the secondary anchor point UPF2 is also retained, but the UL CL will be switched from being co-located with the secondary anchor point UPF2 to being co-located with the main anchor point UPF1. That is, based on the "UL CL+UPF1 (UL CL+PGW U1)" shown in Figure 2, it can still access local services of the enterprise or regional private network through uplink diversion.
[0080] According to the diversion strategy adjustment method provided in the embodiment of the present application, when the user device has the ability to access the 4G network and the 5G network, and after the user device falls back from the 5G network to the 4G network, it can still continue to implement the uplink data diversion function based on the diversion strategy information, so that the user can smoothly access the regional private network and ensure the user's service experience.
[0081] FIG3 is a flow chart of a diversion strategy adjustment method provided in an embodiment of the present application. As shown in FIG3 , the diversion strategy adjustment method may include steps 301 to 303 .
[0082] Step 301: A target session management network element receives a first session message sent by a target access management network element in response to a change in the network environment at a user equipment location. The first session message includes location information of the user equipment and network environment information corresponding to the location of the user equipment. The network environment information is a first network or a second network, the target access management network element is the access management network element corresponding to the network environment information, and the target session management network element is the session management network element corresponding to the network environment information.
[0083] Step 302: Determine the location relationship between the user device and the network range of the regional private network based on the location information;
[0084] Step 303: Adjust the diversion strategy information of the first user plane network element and / or the diversion strategy information of the second user plane network element according to the position relationship, wherein the first user plane network element is the user plane network element corresponding to the Internet, and the second user plane network element is the user plane network element corresponding to the regional private network.
[0085] The above steps are described in detail below.
[0086] Specifically, with respect to step 301 above, the target session management network element is the session management network element corresponding to the network environment information. For example, if the current network environment information is a 4G network, the target session management network element may specifically include an SMF network element and may also include a PGW-C network element, etc.; if the current network environment information is a 5G network, the target session management network element may specifically include an SMF network element. Optionally, the SMF network element included in the target session management network element in the 4G network and the SMF network element included in the target session management network element in the 5G network may be the same network element or different network elements.
[0087] The target access management network element is the access management network element corresponding to the network environment information. For example, if the current network environment information is a 4G network, the target access management network element may specifically include an MME network element, and may also include an SGW network element and other functional modules for supporting user equipment to connect to the Internet or a regional private network based on the 4G network. If the current network environment information is a 5G network, the target access management network element may specifically include an AMF network element and other functional modules for supporting user equipment to connect to the Internet or a regional private network based on the 5G network.
[0088] When the network environment at the location of the user equipment changes, the target access management network element can respond to the change in the network environment by sending a first session message to the target session management network element. The first session message includes the location information of the user equipment and the network environment information corresponding to the location of the user equipment. In this way, the target session management network can adjust the diversion strategy in a timely manner based on the actual situation of the network environment.
[0089] For example, changes in the network environment may include switching between a 5G network and a 4G network, and may also include switching between the user's location and the network range inside or outside the regional private network.
[0090] Next, regarding step 302 and step 303, the target session management network element may, upon receiving the location information of the user device, determine the location relationship between the user device and the network range of the regional private network based on the user location information. It is understood that the regional private network may be a dedicated network contracted with the user device, or a campus network to which the user device has access rights, such as a campus network or an enterprise intranet.
[0091] The location relationship between the user device and the network range of the regional private network can be that the user device is located within the network range of the regional private network, at which time the user device can access the regional private network; the location relationship between the user device and the network range of the regional private network can also be that the user device is located outside the network range of the regional private network, at which time the user device cannot access the regional private network.
[0092] After determining the location relationship between the user equipment and the network scope of the regional private network, the target session management network element can determine whether the diversion policy information of the first user plane network element and the diversion policy information of the second user plane network element need to be adjusted based on the actual location relationship, and if adjustment is required, promptly adjust the diversion policy information of the first user plane network element or the diversion policy information of the second user plane network element.
[0093] The diversion policy information is used to implement the function of diverting uplink data of the user equipment, that is, the ULCL function. Optionally, the adjustment of the diversion policy information can specifically include adding or deleting the diversion policy information in the first user plane network element, and adding or deleting the diversion policy information in the second user plane network element.
[0094] According to an embodiment of the present application, a target access management network element can, in response to a change in the network environment at the location of the user device, send a first session message including location information of the user device and network environment information corresponding to the location of the user device to a target session management network element. In this way, after receiving the first session message, the target session management network element can determine the positional relationship between the user device and the network range of the regional private network based on the location information, and adjust the diversion policy information of the first user plane network element corresponding to the Internet and / or the diversion policy information of the second user plane network element corresponding to the regional private network based on the positional relationship. Therefore, when the network environment corresponding to the location of the user device changes, the first user plane network element and the second user plane network element can cooperate with each other to continue to implement the uplink data diversion function based on the diversion policy information, so that the user can continue to access the regional private network and ensure the user's service experience.
[0095] In some embodiments, involving the above step 301, in some embodiments, when the network environment where the user equipment is located changes, the target access management network element can specifically perform the following steps 401 to 402.
[0096] Step 401: In response to a change in the network environment at the location of the user equipment, the target access management network element obtains the location information of the user equipment and the network environment information corresponding to the location of the user equipment, wherein the network environment information is the first network or the second network, and the target access management network element is the access management network element corresponding to the network environment information, wherein the first user plane network element is the user plane network element corresponding to the Internet, and the second user plane network element is the user plane network element corresponding to the regional private network;
[0097] Step 402: Send a first session message to a target session management network element. The first session message includes location information and network environment information, so that the target session management network element determines the location relationship between the user equipment and the network range of the local private network based on the location information, and adjusts the offload policy information of the first user plane network element and the offload policy information of the second user plane network element based on the location relationship.
[0098] Among them, the first user plane network element is a user plane network element corresponding to the Internet, and the second user plane network element is a user plane network element corresponding to the regional private network.
[0099] According to an embodiment of the present application, the target access management network element can respond to changes in the network environment at the location of the user device by sending a first session message including the location information of the user device and the network environment information corresponding to the location of the user device to the target session management network element. In this way, after receiving the first session message, the target session management network element can quickly determine whether it is necessary to adjust the diversion policy information of the first user plane network element corresponding to the Internet and / or the diversion policy information of the second user plane network element corresponding to the regional private network. Therefore, when the network environment corresponding to the location of the user device changes, the first user plane network element and the second user plane network element can cooperate with each other to continue to implement the uplink data diversion function based on the diversion policy information, so that the user can continue to access the regional private network and ensure the user's service experience.
[0100] In some embodiments, the network environment change information may include any of the following change information:
[0101] The user equipment is located within the network range of the regional private network, and the network environment at the location of the user equipment is switched from the first network to the second network;
[0102] For example, when the first network is a 5G network and the second network is a 4G network, when the network environment where the user device is located is switched from a 5G network to a 4G network, and the location of the user device is still within the network range of the regional private network, the diversion strategy can be triggered to adjust.
[0103] The user equipment is located within the network range of the regional private network, and the network environment change information indicates that the network environment at the user equipment is switched from the second network to the first network;
[0104] For example, when the first network is a 5G network and the second network is a 4G network, when the network environment where the user device is located is switched from a 4G network to a 5G network, and the location of the user device is still within the network range of the regional private network, the diversion strategy can be triggered to adjust.
[0105] The network environment where the user equipment is located is located in the second network, and the location of the user equipment is switched from within the network range of the regional private network to outside the network range of the regional private network;
[0106] For example, when the second network is a 4G network, the network environment where the user device is located is a 4G network, and when the location of the user device is switched from within the network range of the regional private network to outside the network range of the regional private network, the diversion strategy can be triggered to adjust.
[0107] The network environment where the user equipment is located is located in the second network, and the location of the user equipment is switched from outside the network range of the regional private network to within the network range of the regional private network.
[0108] For example, when the second network is a 4G network, the network environment where the user device is located is a 4G network, and when the location of the user device is switched from outside the network range of the regional private network to within the network range of the regional private network, the diversion strategy can also be triggered to adjust.
[0109] In some embodiments, adjusting the offload policy information of the first user plane network element according to the position relationship and adjusting the offload policy information of the second user plane network element include:
[0110] When the network environment where the user equipment is located is located in the second network, and the location of the user equipment is switched from outside the network range of the regional private network to within the network range of the regional private network, a second session message is sent to the first user plane network element to enable the first user plane network element to configure diversion policy information.
[0111] For example, while a user device is moving within a first network environment or a second network environment, it may enter the network range of a regional private network from outside the network range of the regional private network. Taking the second network as a 4G network as an example, specifically, when the user device enters the network range of a regional private network based on the second network from outside the network range of the regional private network, the target session management network element sends a second session message to the first user plane network element, causing the first user plane network element to configure offload policy information. In this way, offload policy information can be configured on the first user plane network element while the second user plane network element retains the information. Thus, the user device can access local services of the enterprise or regional private network via uplink offload based on the second network.
[0112] Specifically, when a user device initiates a request to access a data service, the uplink network transmission path may be such that the uplink message of the service data may first reach the service gateway (SGW) and enter the primary anchor point UPF1, which is also the first user plane network element. Next, the primary anchor point UPF1 performs a match based on the diversion policy information. Service data that fails to match may enter the Internet, such as the Internet shown in Figure 2, and be billed and service controlled at the primary anchor point. If the diversion rule on the primary anchor point (UPF1) is successfully matched, the message of the service data is locally diverted and sent to the secondary anchor point (UPF2). The secondary anchor point (UPF2) sends the service data to the regional private network, such as the DN shown in Figure 2, and performs billing and service control at the secondary anchor point (UPF2).
[0113] For example, the second network is a 4G network, and the user equipment enters the network range of the regional dedicated network from outside the network range of the regional dedicated network based on the 4G network. The context transmitted between different network elements can be shown in FIG5.
[0114] Step 501: RAN sends Handover Required;
[0115] Specifically, the RAN sends a Handover request to the AMF / MME, and the AMF / MME knows that the handover is within the 4G network based on the target eNB identifier.
[0116] Step 502, Create Session Request
[0117] Specifically, the MME determines whether SGW handover is required based on the UE location information, and if required, sends an activation message to the target SGW2.
[0118] Step 503, Modify Bearer Request
[0119] Specifically, the target SGW2 sends an update bearer message to the PGW-C to update the downlink S5 interface tunnel information.
[0120] Step 504: Determine whether to insert 4GULCL
[0121] Specifically, the PGW-C determines whether the current UE needs to transmit data based on the 4G UL CL capability according to the User Location (location of the user equipment), and inserts the UL CL if necessary.
[0122] Step 505, N4_Session_Establishment
[0123] Specifically, the PGW-C exchanges an N4_Session_Establishment message with the secondary anchor point UPF2 to create a 4G UL CL session.
[0124] Step 506, N4 Session Modification
[0125] Specifically, the PGW-C exchanges the N4_Session_Modification message with the primary anchor point UPF1, requiring the insertion of UL CL information and the update of the peer tunnel information of the uplink offload.
[0126] Step 507, N4 Session_Modification
[0127] Specifically, PGW-C exchanges N4_Session_Modification messages with UPF2 to update the downlink N9c tunnel information of the secondary anchor point.
[0128] Step 508, Modify Bearer Response
[0129] Specifically, the PGW-C responds to the target SGW2 with an update bearer message.
[0130] Step 509, Create Session Response
[0131] Specifically, the target SGW2 responds to the MME with an activation message.
[0132] Step 510, Handover Command
[0133] Specifically, the MME responds to the eNB / UE with a Handover Command message.
[0134] Step 511, Delete Session Request
[0135] Specifically, the MME sends a delete session request message to the source SGW1.
[0136] Step 512, Delete Session Response
[0137] Specifically, the source SGW1 responds to the MME with a delete session response message.
[0138] Based on this, the service data of the user equipment (UE) can access the Internet or a local private network (DN). Exemplarily, steps 513 to 515 are for accessing the Internet or campus data.
[0139] Business data path:
[0140] Step 513: Business data
[0141] Specifically, the UE initiates a request to access a data service, and the uplink message is first sent to the SGW and then to the primary anchor point UPF1.
[0142] Step 514, access Internet data
[0143] Specifically, the primary anchor point UPF1 performs matching based on the diversion rules. Unsuccessful matching services directly access the Internet from the N6 interface, and billing and service control are performed on the primary anchor point UPF1.
[0144] Step 515: Access campus data.
[0145] Specifically, packets matching the uplink traffic rules at primary anchor point UPF1 are locally distributed and sent to the secondary anchor point. Based on the ULCL capability of primary anchor point UPF1, service data is sent to secondary anchor point UPF2, which then forwards the service data to the local campus and performs billing and service control at the secondary anchor point.
[0146] According to the diversion strategy adjustment method provided in the embodiment of the present application, the main anchor point UPF1 remains unchanged, and the auxiliary anchor point UPF2 is also retained, but the UL CL will be switched from being co-located with the auxiliary anchor point UPF2 to being co-located with the main anchor point UPF1. That is, based on the "UL CL+UPF1 (UL CL+PGW U1)" shown in Figure 2, it is still possible to access the local services of the enterprise or regional private network through uplink diversion.
[0147] When the user device has the ability to access both 4G and 5G networks, and after the user device falls back from the 5G network to the 4G network, it can still continue to implement the uplink data diversion function based on the diversion strategy information, allowing users to smoothly access the regional private network and ensure the user's business experience.
[0148] In some embodiments, when the network environment change information is that the location of the user equipment is within the network range of the regional private network, and the network environment of the user equipment is switched from the first network to the second network, the target session management network element sends a third session message to the second user plane network element to enable the second user plane network element to delete the diversion policy information.
[0149] For example, while the user device is moving within the first network environment or the second network environment, it may enter the network range of a regional private network. For example, if the first network is a 5G network and the second network is a 4G network, specifically, when the user device is able to access the regional private network based on the first network, the network environment switches to the second network, and the user device is still located within the network range of the regional private network. At this time, the target session management network element sends a second session message to the first user plane network element to enable the first user plane network element to configure the diversion policy information. At the same time, since the user device is able to access the regional private network based on the first network, the target session management network element is also required to send a third session message to the second user plane network element to enable the second user plane network element to delete the diversion policy information, thereby reducing unnecessary diversion nodes.
[0150] In this way, the diversion policy information can be configured in the first user plane network element, while the second user plane network element is still retained. Therefore, the user equipment can access the local services of the enterprise or regional private network in an uplink diversion manner based on the second network.
[0151] Based on this, the user device initiates a request to access the data service. The uplink network transmission path can be such that the uplink message of the service data can first reach the service gateway (SGW-C) and enter the primary anchor point UPF1, which is also the first user plane network element. Next, the primary anchor point UPF1 performs a match based on the diversion policy information. Service data that fails to match can enter the Internet, and billing and service control are performed on the primary anchor point. If the diversion rule on the primary anchor point (UPF1) is successfully matched, the service data message is locally diverted and sent to the secondary anchor point (UPF2). The secondary anchor point (UPF2) sends the service data to the regional private network, and billing and service control are performed on the secondary anchor point (UPF2).
[0152] As a specific example, when the user device enters the network range of the regional private network based on the second network (4G) based on the first network (5G), the context transmitted between different network elements can be shown in Figure 6, thereby enabling the user device to smoothly access the regional private network.
[0153] Step 601: AMF learns from the target RAN that it wants to switch to the 4G network
[0154] Specifically, the gNB initiates a Handover request to the AMF. The AMF knows that it needs to switch to the 4G network based on the target eNB ID. The AMF selects the MME that provides services for the UE based on the location area.
[0155] Step 602, Nsmf_PDUSession_ContextRequest
[0156] Specifically, AMF initiates Nsmf_PDUSession_ContextRequest to SMF / PGW-C to obtain the UE's SM context.
[0157] Step 603, Nsmf_PDUSession_ContextResponse
[0158] Specifically, SMF / PGW-C responds to AMF with the UE's SM context information (Nsmf_PDUSession_ContextResponse).
[0159] Step 604, Relocation Request
[0160] Specifically, the AMF sends a Relocation Request request to the MME, and the AMF's processing is the same as that of the original MME in the S1 interface switching scenario of the EPC (Evolved Packet Core) network.
[0161] Step 605, Create Session Request
[0162] Specifically, the MME selects an SGW-C based on the TAI in the Target ID, and when selecting, preferably considers the SGW-C that is integrated with the PGW-C based on the PGW-C node name. The MME sends a Create Session Request message to the SGW-C for the PDN Connection.
[0163] Step 606, Create Session Response
[0164] Specifically, the SGW / SGW-C returns a Create Session Response message to the MME.
[0165] Step 607, Handover request
[0166] Specifically, the MME sends a Handover Request message to the RAN.
[0167] Step 608, Handover response
[0168] Specifically, the RAN returns a Handover Response message to the MME.
[0169] Step 609, Create Indirect Data Forwarding Tunnel Request
[0170] Specifically, if the handover data adopts the indirect forwarding mode, the MME sends a Create Indirect Data Forwarding Tunnel Request message to the SGW-C to apply for establishing an indirect forwarding tunnel.
[0171] Step 610, Relocation Response
[0172] Specifically, the MME returns a Relocation Response message to the AMF.
[0173] Step 611, Nsmf_PDUSession_UpdateSMContext Service
[0174] Based on this, the ULCL capability can be configured on the primary anchor point UPF1, so that service data can be diverted to the secondary anchor point.
[0175] Specifically, if it is in indirect forwarding mode, AMF needs to create an indirect forwarding tunnel on the PGW side for the session for which an indirect forwarding tunnel has been created on the SGW side. AMF sends an Nsmf_PDUSession_UpdateSMContext Service request to PGW-C / SMF to create an indirect forwarding tunnel.
[0176] Step 612, N4 Session_Modification
[0177] Based on this, ULCL capability can be inserted to realize the diversion of service data to the auxiliary anchor point.
[0178] Specifically, SMF / PGW-C sends an update message to the primary anchor point UPF to create an indirect forwarding tunnel; SMF / PGW-C determines that the session needs to be switched to 4G, and sends an update message to the primary anchor point to insert the UL CL capability based on the 4G network.
[0179] Step 613, Handover Complete
[0180] Specifically, the UE sends a Handover Complete message to the eNB; at this time, the uplink data forwarding tunnel has been opened, and the downlink data has also been opened through the indirect forwarding tunnel.
[0181] Step 614, Modify Bearer Request
[0182] Specifically, the SGW sends a Modify Bearer Request message to the SMF / PGW-C to notify the PGW-C / SMF that the SGW has changed.
[0183] Step 615, N4 Session Modification
[0184] Based on this, the ULCL capability and the auxiliary anchor point UPF2 can be retained in the uplink data tunnel of the service data.
[0185] Specifically, SMF / PGW-C first sends an update message to the secondary anchor point to update the downlink tunnel to the primary anchor point N9c, so that the ULCL capability and the secondary anchor point remain unchanged in the uplink data tunnel of the service data, which is conducive to ensuring that the online offload service is not interrupted.
[0186] Step 616, N4 Session Modification
[0187] Specifically, SMF / PGW-C sends a PFCP Session Modification Request message to the primary anchor point UPF to notify PGW-U of the changed parameters; at this time, the tunnel for forwarding downlink data of the campus through the primary anchor point has been opened.
[0188] Step 617, Modify Bearer Response
[0189] Specifically, SMF / PGW-C returns a Modify Bearer Response message to SGW.
[0190] Step 618, Modify Bearer Response
[0191] Specifically, the SGW returns a Modify Bearer Response message to the MME.
[0192] Step 619, N4_Session_Modification
[0193] Specifically, the SMF / PGW-C initiates a session update request to the secondary anchor point to delete the 5G UL CL module. Based on this, the 5G UL CL can be deleted.
[0194] Business data path:
[0195] Step 620, business data
[0196] Specifically, the UE initiates a request to access a data service, and the uplink message is first sent to the SGW and then to the primary anchor point UPF1 / PGW-U.
[0197] Step 621: Accessing park data
[0198] Specifically, the primary anchor point UPF1 / PGW-U matches traffic based on the corresponding ULCL traffic diversion rules. Successful packets are sent to the secondary anchor point UPF2 for local diversion, where billing and service control are performed. The primary anchor point UPF1 matches traffic based on the diversion rules. Unsuccessful services are directly accessed through the Internet, where billing and service control are performed.
[0199] According to the diversion strategy adjustment method provided in the embodiment of the present application, the main anchor point UPF1 remains unchanged, and the auxiliary anchor point UPF2 is also retained, but the UL CL will be switched from being co-located with the auxiliary anchor point UPF2 to being co-located with the main anchor point UPF1. The user device can still access the local services of the enterprise or regional private network through uplink diversion. When the user device has the ability to access the 4G network and the 5G network, when the user device falls back from the 5G network to the 4G network, it can still continue to implement the uplink data diversion function based on the diversion strategy information, so that the user can smoothly access the regional private network and ensure the user's service experience.
[0200] In some embodiments, the offload strategy information of the first user plane network element and / or the offload strategy information of the second user plane network element is adjusted according to the position relationship, and specifically, the offload strategy information may be:
[0201] When the network environment change information indicates that the location of the user equipment is within the network scope of the regional private network, and the network environment change information indicates that the network environment at the location of the user equipment is switched from the second network to the first network, the target session management network element sends a fourth session message to the first user plane network element to enable the first user plane network element to delete the diversion policy information, and sends a fifth session message to the second user plane network element to enable the second user plane network element to configure the diversion policy information.
[0202] For example, when a user device accesses a regional private network based on a second network environment, it may enter the first network environment. If the user device remains within the network range of the regional private network after entering the first network environment, the target session management network element sends a fourth session message to the first user plane network element to cause the first user plane network element to delete the offload policy information, and sends a fifth session message to the second user plane network element to cause the second user plane network element to configure the offload policy information.
[0203] In this way, the diversion policy information can be configured in the second user plane network element. At the same time, the first user plane network element is still retained. Therefore, the user equipment based on the first network can access the local services of the enterprise or regional private network through the uplink data diversion capability of ULCL.
[0204] As a specific example, when the user device enters the network range of the regional private network based on the first network (5G) based on the second network (4G), the context transmitted between different network elements can be shown in Figure 7, thereby enabling the user device to smoothly access the regional private network.
[0205] Step 701, Handover Required
[0206] Specifically, the RAN initiates a Handover Required message.
[0207] Step 702, N4_Session_Modification
[0208] Specifically, SMF / PGW-C determines that 5G needs to insert UL CL capability, selects the user plane network element for offload, which can be the auxiliary anchor point UPF2, and sends an N4_Session_Modification message to the auxiliary anchor point UPF2, based on the UL CL offload policy information of the 5G network, and creates a downlink indirect forwarding tunnel.
[0209] Based on this, the UL CL capability of the 5G network can be inserted at the auxiliary anchor point UPF2.
[0210] Step 703, N4_Session Modification
[0211] Specifically, SMF / PGW-C sends N4_Session_Modification message to the main anchor UPF to update the information outside the N3 tunnel. At this time, the downlink tunnel needs to be retained to SGW for forwarding, so the downlink N3 tunnel cannot be updated. Based on this, the transmission tunnel of the service data can be updated
[0212] Step 704, Handover Command
[0213] Specifically, the AMF / MME sends a Handover Command message to the RAN, and the eNB starts forwarding handover data to the 5G RAN.
[0214] Step 705, Nsmf_PDUSession_UpdateSMContext
[0215] Specifically, AMF / MME initiates an NsmfPDUSessionUpdateSMContext request to PGW-C / SMF, and needs to update the N9 tunnel and diversion policy information ULCL.
[0216] Step 706, N4_Session_Modification
[0217] Specifically, the SMF / PGW-C sends an N4 Session Modification message to the secondary anchor point to update the downlink session from the secondary anchor point to the primary anchor point. Based on this, the transmission tunnel of the service data can be updated to the secondary anchor point UPF2 and split based on ULCL.
[0218] Step 707, N4 Session_Modification
[0219] Specifically, the SMF / PGW-C sends an N4 Session Modification message to the primary anchor point to update the downlink message to the N9 tunnel of the secondary anchor point UPF, and sends an End Marker message in the 4G downlink tunnel. Based on this, the transmission tunnel for downlink service data can be updated.
[0220] Step 708, Nsmf_PDUSession_UpdateSMContext_Response
[0221] Specifically, PGW-C / SMF responds to AMF / MME with NsmfPDUSessionUpdateSMContext response; at this time, both the downlink data forwarding tunnel and the offload tunnel are connected, and support UL CL capabilities based on the 5G network.
[0222] Step 709, N4_Session_Modification
[0223] Specifically, the PGW-C / SMF triggers the deletion of the indirect forwarding tunnel on the secondary anchor point PGW-U through a timer. Based on this, the indirect forwarding tunnel can be deleted.
[0224] Step 710, N4 Session_Modification
[0225] Specifically, the PGW-C / SMF uses a timer to trigger the removal of the UL CL offload capability based on the 4G network on the PGW-U, and simultaneously removes the indirect forwarding tunnel; the timer can be shared with the previous one. Based on this, the UL CL offload capability based on the 4G network can be removed.
[0226] Business data path:
[0227] Step 711, business data
[0228] Specifically, the UE initiates a request to access a data service, and the uplink message is first sent to the offload UPF.
[0229] Step 712: Accessing campus data
[0230] Specifically, the diversion UPF performs matching based on the diversion rules. Unsuccessful matching of packets requires access to the Internet and is sent to the main anchor point UPF through the N9 interface, where billing and service control are performed.
[0231] Step 713, access internet data
[0232] According to an embodiment of the present application, when a user, in a scenario where a UL CL node has been inserted into a 4G network, moves out of the 4G network and switches to a 5G network, the UL CL function on the 4G network can be deleted and inserted into the 5G network simultaneously with the 4G-to-5G handover, thereby integrating the UL CL function with the auxiliary anchor point. This allows users to smoothly access a regional private network or the internet, ensuring a secure user experience.
[0233] In some embodiments, adjusting the offload policy information of the first user plane network element and / or the offload policy information of the second user plane network element according to the position relationship includes:
[0234] When the network environment change information indicates that the network environment of the user equipment is located in the second network, and the location of the user equipment is switched from within the network range of the regional private network to outside the network range of the regional private network, the target session management network element sends a sixth session message to the first user plane network element, so that the first user plane network element deletes the diversion policy information.
[0235] For example, when a user device accesses a regional private network based on the second network environment, it may enter an area not covered by the regional private network. If the user device is already on a 4G network with UL CL capabilities inserted, when the user device moves out of the coverage area of the regional private network, deletion of the UL CL based on the 4G network can be triggered. As a specific example, the context transmitted between different network elements can be shown in Figure 8, thereby enabling the user device to smoothly access the Internet.
[0236] Step 801, Handover Required
[0237] Specifically, the RAN sends a Handover request to the AMF / MME, and the AMF / MME knows that the handover is within the 4G network based on the target eNB identifier.
[0238] Step 802, Create Session Request
[0239] Specifically, the MME determines whether SGW handover is required based on the UE location information, and if required, sends an activation message to the target SGW2.
[0240] Step 803, Modify Bearer Request
[0241] Specifically, the target SGW2 sends an update bearer message to the PGW-C to update the downlink S5 interface tunnel information.
[0242] Step 804: Determine whether to delete 4GULCL
[0243] Specifically, the PGW-C determines whether the current UE still needs 4G UL CL capabilities based on the User Location. If not, it needs to be deleted.
[0244] Step 805, N4_Session_Modification
[0245] Specifically, the PGW-C exchanges the N4_Session_Modification message with the primary anchor point UPF1, updates the downlink S5-P interface tunnel information of the primary anchor point, and deletes the 4G UL CL offload capability.
[0246] Step 806, N4_Session_Delete
[0247] Specifically, the PGW-C exchanges the N4_Session_Delete message with the offload UPF2 to delete the secondary anchor point of the 4G UL CL session.
[0248] Step 807, Modify Bearer Response
[0249] Specifically, the PGW-C responds to the target SGW2 with an update bearer message.
[0250] Step 808, Create Session Response
[0251] Specifically, the target SGW2 responds to the MME with an activation message.
[0252] Step 809, Handover Command
[0253] Specifically, the MME responds to the eNB with a Handover Command message.
[0254] Step 810, Delete Session Request
[0255] Specifically, the MME sends a delete session request message to the SGW1.
[0256] Step 811, Delete Session Response
[0257] Specifically, SGW1 responds to the MME with a delete session response message.
[0258] Business data path:
[0259] Step 811, business data
[0260] Step 812, access Internet data
[0261] Specifically, the UE initiates a service request data. At this time, the service data passes through the target SGW2 to the primary anchor point UPF1 and then to the Internet. The service data no longer accesses the regional private network.
[0262] In the traffic diversion policy adjustment method of an embodiment of the present application, a target access management network element can, in response to a change in the network environment at the location of the user device, send a first session message including location information of the user device and network environment information corresponding to the location of the user device to a target session management network element. Thus, after receiving the first session message, the target session management network element can determine, based on the location information, the positional relationship between the user device and the network range of the regional private network, and adjust, based on the positional relationship, the traffic diversion policy information of the first user plane network element corresponding to the Internet and / or the traffic diversion policy information of the second user plane network element corresponding to the regional private network. Thus, when the network environment corresponding to the location of the user device changes, the first user plane network element and the second user plane network element can cooperate with each other to continue to implement the uplink data diversion function based on the diversion policy information, allowing the user to continue to access the regional private network and ensuring the user's service experience.
[0263] Based on the same inventive concept, the present application also provides a diversion strategy adjustment device corresponding to the above-mentioned diversion strategy adjustment method.
[0264] FIG9 is a schematic structural diagram of a diversion strategy adjustment device provided in an embodiment of the present application. As shown in FIG9 , the diversion strategy adjustment device can be applied to a target session management network element, including:
[0265] A receiving module 910 is configured to receive a first session message sent by a target access management network element in response to a change in the network environment at the location of a user equipment, the first session message including location information of the user equipment and network environment information corresponding to the location of the user equipment, wherein the network environment information is a first network or a second network, the target access management network element is an access management network element corresponding to the network environment information, and the target session management network element is a session management network element corresponding to the network environment information;
[0266] A processing module 920 is configured to determine a location relationship between the user equipment and a network range of a regional private network based on the location information;
[0267] The processing module 920 is also used to adjust the diversion policy information of the first user plane network element and / or the diversion policy information of the second user plane network element according to the position relationship, wherein the first user plane network element is the user plane network element corresponding to the Internet, and the second user plane network element is the user plane network element corresponding to the regional private network.
[0268] In some embodiments, the processing module 920 is also used to send a second session message to the first user plane network element when the location of the user equipment is within the network range of the regional private network and the network environment information is a second network, so that the first user plane network element configures the diversion policy information.
[0269] In some embodiments, the processing module 920 is also used to, when the network environment change information is that the location of the user equipment is within the network range of the regional private network and the network environment at the location of the user equipment is switched from the first network to the second network, the target session management network element sends a third session message to the second user plane network element so that the second user plane network element deletes the diversion policy information.
[0270] In some embodiments, the processing module 920 is also used to, when the network environment change information is that the location of the user equipment is within the network range of the regional private network, and the network environment change information is that the network environment at the location of the user equipment is switched from the second network to the first network, the target session management network element sends a fourth session message to the first user plane network element so that the first user plane network element deletes the diversion policy information, and sends a fifth session message to the second user plane network element so that the second user plane network element configures the diversion policy information.
[0271] In some embodiments, the processing module 920 is also used to, when the network environment change information is that the network environment where the user equipment is located is located in the second network, and the location of the user equipment is switched from within the network range of the regional private network to outside the network range of the regional private network, the target session management network element sends a sixth session message to the first user plane network element, so that the first user plane network element deletes the diversion policy information.
[0272] It can be understood that the diversion strategy adjustment device of the embodiment of the present application can correspond to the execution entity of the diversion strategy adjustment method provided in the embodiment of the present application. The specific details of the operation and / or function of each module / unit of the diversion strategy adjustment device can be found in the description of the corresponding parts of the diversion strategy adjustment method provided in the above-mentioned embodiment of the present application. For the sake of brevity, they will not be repeated here.
[0273] FIG10 is a schematic structural diagram of another diversion strategy adjustment device provided in an embodiment of the present application. As shown in FIG10 , the diversion strategy adjustment device can be applied to a target access management network element, including:
[0274] An acquiring module 1010 is configured to acquire, in response to a change in the network environment at the location of the user equipment, location information of the user equipment and network environment information corresponding to the location of the user equipment, wherein the network environment information is a first network or a second network, the target access management network element is an access management network element corresponding to the network environment information, and the target session management network element is a session management network element corresponding to the network environment information;
[0275] A sending module 1020 is configured to send a first session message to a target session management network element, where the first session information includes the location information and the network environment information, so that the target session management network element determines a location relationship between the user equipment and the network range of the local private network based on the location information, and adjusts the offload policy information of the first user plane network element and the offload policy information of the second user plane network element based on the location relationship.
[0276] The first user plane network element is a user plane network element corresponding to the Internet, and the second user plane network element is a user plane network element corresponding to the regional private network.
[0277] In some embodiments, the network environment change information includes any one of the following change information:
[0278] The location of the user equipment is within the network range of the regional private network, and the network environment of the location of the user equipment is switched from the first network to the second network;
[0279] The location of the user equipment is within the network range of the regional private network, and the network environment change information is that the network environment of the location of the user equipment is switched from the second network to the first network;
[0280] The network environment of the location of the user equipment is located in the second network, and the location of the user equipment is switched from within the network range of the regional private network to outside the network range of the regional private network;
[0281] The network environment where the user equipment is located is located in the second network, and the location of the user equipment is switched from outside the network range of the regional private network to within the network range of the regional private network.
[0282] It can be understood that the diversion strategy adjustment device of the embodiment of the present application can correspond to the execution entity of the diversion strategy adjustment method provided in the embodiment of the present application. The specific details of the operation and / or function of each module / unit of the diversion strategy adjustment device can be found in the description of the corresponding parts of the diversion strategy adjustment method provided in the above-mentioned embodiment of the present application. For the sake of brevity, they will not be repeated here.
[0283] Figure 11 shows a schematic diagram of the structure of an electronic device provided by an embodiment of the present application. As shown in Figure 11, the device may include a processor 1101 and a memory 1102 storing computer program instructions.
[0284] Specifically, the processor 1101 may include a central processing unit (CPU) or an application specific integrated circuit (ASIC), or may be configured to implement one or more integrated circuits of the embodiments of the present application.
[0285] Memory 1102 may include a large capacity memory for information or instructions. By way of example and not limitation, memory 1102 may include a hard disk drive (HDD), a floppy disk drive, a flash memory, an optical disk, a magneto-optical disk, a magnetic tape, or a Universal Serial Bus (USB) drive, or a combination of two or more of these. In one example, memory 1102 may include removable or non-removable (or fixed) media, or memory 1102 may be a non-volatile solid-state memory. Memory 1102 may be internal or external to the electronic device.
[0286] The memory may include read-only memory (ROM), random access memory (RAM), magnetic disk storage media devices, optical storage media devices, flash memory devices, electrical, optical or other physical / tangible memory storage devices. Thus, generally, the memory includes one or more tangible (non-transitory) computer-readable storage media (e.g., memory devices) encoded with software including computer-executable instructions, and when the software is executed (e.g., by one or more processors), it is operable to perform the operations described with reference to the method according to an aspect of the present disclosure.
[0287] The processor 1101 implements the method described in the embodiment of the present application by reading and executing the computer program instructions stored in the memory 1102, and achieves the corresponding technical effect achieved by executing the method in the embodiment of the present application. For the sake of brevity, it will not be repeated here.
[0288] In one example, the electronic device may further include a communication interface 1103 and a bus 1104. As shown in FIG11 , the processor 1101, the memory 1102, and the communication interface 1103 are connected via the bus 1104 and communicate with each other.
[0289] The communication interface 1103 is mainly used to implement communication between various modules, devices, units and / or equipment in the embodiments of the present application.
[0290] Bus 1104 includes hardware, software or both, and couples the components of the online information flow metering device to each other. For example, and not limitation, the bus may include an Accelerated Graphics Port (AGP) or other graphics bus, an Extended Industry Standard Architecture (EISA) bus, a Front Side Bus (FSB), a Hyper Transport (HT) interconnect, an Industry Standard Architecture (ISA) bus, an InfiniBand interconnect, a Low Pin Count (LPC) bus, a memory bus, a Micro Channel Architecture (MCA) bus, a Peripheral Component Interconnect (PCI) bus, a PCI-Express (PCI-X) bus, a Serial Advanced Technology Attachment (SATA) bus, a Video Electronics Standards Association Local (VLB) bus, or other suitable buses or a combination of two or more of these. Where appropriate, bus 1104 may include one or more buses. Although the present application describes and illustrates a specific bus, the present application contemplates any suitable bus or interconnect.
[0291] The electronic device can execute the diversion strategy adjustment method in the embodiment of the present application, thereby achieving the corresponding technical effects of the diversion strategy adjustment method described in the embodiment of the present application.
[0292] In addition, in combination with the diversion strategy adjustment method in the above embodiment, the embodiment of the present application may provide a readable storage medium for implementation. The readable storage medium stores computer program instructions; when the computer program instructions are executed by the processor, any one of the diversion strategy adjustment methods in the above embodiment is implemented. Examples of readable storage media may be non-transitory machine-readable media, such as electronic circuits, semiconductor memory devices, read-only memories (ROM), floppy disks, compact discs (CD-ROM), optical discs, hard disks, etc.
[0293] It should be understood that the present application is not limited to the specific configurations and processes described above and illustrated in the figures. For the sake of brevity, a detailed description of known methods is omitted here. In the above embodiments, several specific steps are described and illustrated as examples. However, the method process of the present application is not limited to the specific steps described and illustrated. Those skilled in the art can make various changes, modifications, and additions, or change the order of the steps after understanding the spirit of the present application.
[0294] The functional blocks shown in the above-described block diagram can be implemented as hardware, software, firmware or a combination thereof. When implemented in hardware, it can be, for example, an electronic circuit, an application specific integrated circuit (ASIC), appropriate firmware, a plug-in, a function card, etc. When implemented in software, the elements of the present application are programs or code segments used to perform the required tasks. The program or code segment can be stored in a machine-readable medium, or transmitted on a transmission medium or a communication link via a data signal carried in a carrier wave. "Machine-readable medium" can include any medium capable of storing or transmitting information. Examples of machine-readable media include electronic circuits, semiconductor memory devices, read-only memories (ROMs), flash memories, erasable read-only memories (EROMs), floppy disks, compact disc read-only memories (CD-ROMs), optical discs, hard disks, optical fiber media, radio frequency (RF) links, etc. The code segments can be downloaded via computer networks such as the Internet, intranets, etc.
[0295] It should also be noted that the exemplary embodiments mentioned in this application describe some methods or systems based on a series of steps or devices. However, this application is not limited to the order of the above steps. In other words, the steps can be performed in the order mentioned in the embodiments, or in a different order, or several steps can be performed simultaneously.
[0296] An embodiment of the present application further provides a computer-readable storage medium having computer program instructions stored thereon; when the computer program instructions are executed by a processor, the diversion strategy adjustment method provided in an embodiment of the present application is implemented.
[0297] In addition, in combination with the diversion strategy adjustment method, apparatus, and readable storage medium in the above embodiments, the embodiments of the present application may be implemented by providing a computer program product. When the instructions in the computer program product are executed by a processor of an electronic device, the electronic device executes any of the diversion strategy adjustment methods in the above embodiments.
[0298] Aspects of the present disclosure have been described above with reference to the flowcharts and / or block diagrams of the methods, devices (systems) and computer program products according to the embodiments of the present disclosure. It should be understood that each box in the flowchart and / or block diagram and the combination of each box in the flowchart and / or block diagram can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer or other programmable data processing device to produce a machine so that these instructions executed by the processor of the computer or other programmable data processing device enable the implementation of the function / action specified in one or more boxes of the flowchart and / or block diagram. Such a processor can be, but is not limited to, a general-purpose processor, a special-purpose processor, a special application processor or a field programmable logic circuit. It is also understood that each box in the block diagram and / or flowchart and the combination of the boxes in the block diagram and / or flowchart can also be implemented by dedicated hardware that performs the specified function or action, or can be implemented by a combination of dedicated hardware and computer instructions.
[0299] The above description is only a specific embodiment of the present application. Those skilled in the art will clearly understand that for the convenience and brevity of description, the specific working processes of the systems, modules and units described above can refer to the corresponding processes in the aforementioned method embodiments, and will not be repeated here. It should be understood that the scope of protection of the present application is not limited thereto. Any person skilled in the art can easily think of various equivalent modifications or replacements within the technical scope disclosed in the present application, and these modifications or replacements should be included in the scope of protection of the present application.
Claims
1. A method for adjusting a traffic diversion strategy, executed by a target session management network element, comprising: receiving a first session message sent by a target access management network element in response to a change in a network environment at a location of a user equipment, wherein the first session message includes location information of the user equipment and network environment information corresponding to the location of the user equipment, wherein the network environment information is a first network or a second network, the target access management network element is an access management network element corresponding to the network environment information, and the target session management network element is a session management network element corresponding to the network environment information; Determine the location relationship between the user equipment and the network range of the regional private network according to the location information; The diversion strategy information of the first user plane network element and / or the diversion strategy information of the second user plane network element is adjusted according to the position relationship, wherein the first user plane network element is the user plane network element corresponding to the Internet, and the second user plane network element is the user plane network element corresponding to the regional private network.
2. The method according to claim 1, wherein: The adjusting the diversion strategy information of the first user plane network element according to the position relationship, and adjusting the diversion strategy information of the second user plane network element, includes: When the network environment change information indicates that the network environment where the user equipment is located is located in a second network, and the location of the user equipment is switched from outside the network range of the regional private network to within the network range of the regional private network, a second session message is sent to the first user plane network element to enable the first user plane network element to configure the diversion strategy information.
3. The method according to claim 1, wherein: The method further comprises: When the change information of the network environment is that the location of the user equipment is within the network range of the regional private network, and the network environment of the user equipment is switched from the first network to the second network, the target session management network element sends a third session message to the second user plane network element so that the second user plane network element deletes the diversion policy information.
4. The method according to claim 1, wherein: The adjusting the diversion strategy information of the first user plane network element and / or the diversion strategy information of the second user plane network element according to the position relationship includes: When the change information of the network environment is that the location of the user equipment is within the network scope of the regional private network, and the change information of the network environment is that the network environment at the location of the user equipment is switched from the second network to the first network, the target session management network element sends a fourth session message to the first user plane network element so that the first user plane network element deletes the diversion policy information, and sends a fifth session message to the second user plane network element so that the second user plane network element configures the diversion policy information.
5. The method according to claim 1, wherein: The adjusting the diversion strategy information of the first user plane network element and / or the diversion strategy information of the second user plane network element according to the position relationship includes: When the network environment change information indicates that the network environment at the location of the user equipment is located in the second network, and the location of the user equipment is switched from the network range of the regional private network to outside the network range of the regional private network, the target session management network element sends a sixth session message to the first user plane network element, so that the first user plane network element deletes the diversion policy information.
6. A method for adjusting a diversion strategy, executed by a target access management network element, comprising: In response to a change in the network environment at the location of the user equipment, acquiring location information of the user equipment and network environment information corresponding to the location of the user equipment, wherein the network environment information is the first network or the second network, and the target access management network element is the access management network element corresponding to the network environment information; Sending a first session message to a target session management network element, where the first session information includes the location information and the network environment information, so that the target session management network element determines the location relationship between the user equipment and the network range of the regional private network according to the location information, and adjusts the diversion strategy information of the first user plane network element and the diversion strategy information of the second user plane network element according to the location relationship, and the target session management network element is the session management network element corresponding to the network environment information; Among them, the first user plane network element is a user plane network element corresponding to the Internet, and the second user plane network element is a user plane network element corresponding to the regional private network.
7. The method according to claim 6, wherein: The network environment change information includes any one of the following change information: The location of the user equipment is within the network range of the regional private network, and the network environment of the location of the user equipment is switched from the first network to the second network; The location of the user equipment is within the network range of the regional private network, and the network environment change information is that the network environment of the location of the user equipment is switched from the second network to the first network; The network environment where the user equipment is located is located in the second network, and the location of the user equipment is switched from within the network range of the regional private network to outside the network range of the regional private network; The network environment where the user equipment is located is located in the second network, and the location of the user equipment is switched from outside the network range of the regional private network to within the network range of the regional private network.
8. A diversion strategy adjustment device, applied to a target session management network element, the device comprising: a receiving module, configured to receive a first session message sent by a target access management network element in response to a change in a network environment at a location of a user equipment, wherein the first session message includes location information of the user equipment and network environment information corresponding to the location of the user equipment, wherein the network environment information is a first network or a second network, the target access management network element is an access management network element corresponding to the network environment information, and the target session management network element is a session management network element corresponding to the network environment information; A processing module, used to determine the position relationship between the user equipment and the network range of the regional private network according to the position information; The processing module is also used to adjust the diversion strategy information of the first user plane network element and / or the diversion strategy information of the second user plane network element according to the position relationship, wherein the first user plane network element is the user plane network element corresponding to the Internet, and the second user plane network element is the user plane network element corresponding to the regional private network.
9. A diversion strategy adjustment device, applied to a target access management network element, the device comprising: an acquisition module, configured to acquire, in response to a change in the network environment at the location of the user equipment, location information of the user equipment and network environment information corresponding to the location of the user equipment, wherein the network environment information is the first network or the second network, and the target access management network element is the access management network element corresponding to the network environment information; a sending module, configured to send a first session message to a target session management network element, wherein the first session information includes the location information and the network environment information, so that the target session management network element determines the location relationship between the user equipment and the network range of the regional private network according to the location information, and adjusts the diversion strategy information of the first user plane network element and the diversion strategy information of the second user plane network element according to the location relationship, and the target session management network element is the session management network element corresponding to the network environment information; Among them, the first user plane network element is a user plane network element corresponding to the Internet, and the second user plane network element is a user plane network element corresponding to the regional private network.
10. An electronic device comprising: a processor, and a memory storing computer program instructions; The processor reads and executes the computer program instructions to implement the diversion strategy adjustment method according to any one of claims 1 to 5, or implements the diversion strategy adjustment method according to claim 6 or 7.
11. A readable storage medium having computer program instructions stored thereon, wherein the computer program instructions, when executed by a processor, implement the diversion strategy adjustment method as described in any one of claims 1 to 5, or implement the diversion strategy adjustment method as described in claim 6 or 7.
12. A computer program product, comprising a computer program, wherein when the computer program is executed by a processor, the diversion strategy adjustment method described in any one of claims 1 to 5 is implemented, or the diversion strategy adjustment method described in claim 6 or 7 is implemented.
Citation Information
Patent Citations
Data distribution method and device
CN112584437A
Apparatus and method for providing information of application server in mobile communication system
CN114902634A
Network access method and device
CN115209395A
Shunting strategy adjustment method and device, equipment and readable storage medium
CN118804066A
Session continuity in mobile systems using user plane functions with uplink classifier
US20190274185A1
Cited By
Low-delay data processing method and system in edge computing environment
CN121815336A