Data shunting method, device and computer equipment
Patent Information
- Application Number
- CN202211175254.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-09-26
- Publication Date
- 2026-09-29
- Estimated Expiration
- 2042-09-26
AI Technical Summary
[0004]鉴于上述问题,本发明实施例提供了一种数据分流方法、数据分流装置、计算机设备及计算机可读存储介质,用于解决现有技术中存在的分流效果较差,使得用户体验差问题
[0022]本发明实施例通过获取目标用户设备的访问请求;所述访问请求中包括所述目标用户设备所要访问目标业务的目标IP地址及所述目标用户设备的位置;根据所述目标IP地址及所述目标用户设备的位置,确定当所述目标用户设备位于第一区域且所述目标业务为目标内网业务时,通过第一UPF与目标内网之间的专线建立所述目标用户设备与所述目标内网的通信;其中,所述第一UPF为通过专线与所述目标内网连接的UPF,所述第一区域为与所述第一UPF连接的基站所覆盖的区域;根据所述目标IP地址及所述目标用户设备的位置,确定当所述目标用户设备位于第二区域且所述目标业务为目标内网业务时,建立第二UPF与第一UPF之间的接口隧道,通过所述接口隧道并根据预设的会话策略建立所述目标用户设备与所述目标内网的通信;其中,所述第二UPF为除所述第一UPF之外的UPF,所述第二区域为与所述第二UPF连接的基站所覆盖的区域。本发明实施例能够有效提高数据分流效果,提高了用户体验。
Smart Images

Figure CN117768835B_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present invention relate to the field of communication technology, specifically to a data splitting method, a data splitting device, a computer device, and a computer-readable storage medium. Background Technology
[0002] Currently, the following methods exist for implementing data offloading in existing technologies:
[0003] (1) Single PDU session + general: DNN + UL-CL offloading technology, its disadvantage is that it does not support roaming. (2) Single PDU session + dedicated DNN offloading technology, its disadvantage is that it requires a dedicated DNN to be configured across the entire network and does not support international roaming. (3) Multi-DNN offloading technology: It has additional requirements for the UE, requiring the UE to support URSP, which is currently not supported by the UE; or it requires customized modification of the UE, which is costly. (4) Multi-DNN seamless offloading technology: It requires functional modification of the entire network's SMF and AMF (if the SMF proxies the AMF function, then the AMF does not need to be modified), adds a virtual PDU session selection process, has a large amount of modification, and does not support international roaming. It can be seen that the existing data offloading methods mostly require special settings, cannot be adapted to all user devices, have poor offloading effect, and result in a poor user experience. Summary of the Invention
[0004] In view of the above problems, embodiments of the present invention provide a data splitting method, a data splitting device, a computer device, and a computer-readable storage medium to solve the problem of poor splitting effect in the prior art, resulting in a poor user experience.
[0005] According to one aspect of the present invention, a data splitting method is provided, the method comprising:
[0006] Obtain the access request from the target user device; the access request includes the target IP address of the target service to be accessed by the target user device and the location of the target user device;
[0007] Based on the target IP address and the location of the target user equipment, when the target user equipment is located in the first area and the target service is a target intranet service, communication between the target user equipment and the target intranet is established through a dedicated line between the first UPF and the target intranet; wherein, the first UPF is a UPF connected to the target intranet through a dedicated line, and the first area is the area covered by the base station connected to the first UPF;
[0008] Based on the target IP address and the location of the target user equipment, when the target user equipment is located in the second region and the target service is a target intranet service, an interface tunnel is established between the second UPF and the first UPF. Communication between the target user equipment and the target intranet is established through the interface tunnel and according to a preset session policy. Wherein, the second UPF is a UPF other than the first UPF, and the second region is the area covered by the base station connected to the second UPF.
[0009] In an optional embodiment, the method further includes: when the target user equipment is located in a first region and the target service is an external network service, sending the access request to the external network through the public network interface between the first UFP and the external network.
[0010] In an optional embodiment, the method further includes: when the target user equipment is located in a second region and the target service is an external network service, sending the access request to the external network through the public network interface between the second UFP and the external network.
[0011] In one optional approach, when the target user equipment is located in a first region and the target service is a target intranet service, establishing communication between the target user equipment and the target intranet via a dedicated line between the first UFP and the target intranet includes: when the target user equipment is located in the first region, obtaining the access request; identifying the target IP address of the user data IP packet in the access request as the first IP address corresponding to the target intranet through the first UFP, thus determining that the target service is a target intranet service; finding the dedicated line route corresponding to the first IP address; and sending the access request to the target intranet according to the dedicated line route.
[0012] In an optional approach, before obtaining the access request when the target user device is located in the first region, the method further includes: when the target user device is in the first region, initiating a PDU session establishment process to enable the SMF to subscribe to the session policy corresponding to the target user device, wherein the session policy includes the first IP address information corresponding to the target intranet and the target user device information; the target user device pre-signs a general SNN, a default slice, and a session policy with the target intranet.
[0013] In one optional approach, when the target user equipment is located in the second region and the target service is a target intranet service, establishing an interface tunnel between the second UPF and the first UPF, and establishing communication between the target user equipment and the target intranet through the interface tunnel according to a preset session policy, includes: when the target user equipment is in the second region, initiating a PDU session establishment process to enable the SMF to subscribe to the session policy corresponding to the target user equipment, the session policy including the first IP address information corresponding to the target intranet and the target user equipment information; the target user equipment pre-subscribes to a general SNN, default slice, and session policy with the target intranet; the second UPF identifies the target IP address of the user data IP packet in the access request as the first IP address corresponding to the target intranet, and reports the first IP address to the SMF; the SMF discovers that the target user equipment is in the second region and the target service is the target intranet service, and then executes the session policy corresponding to the target user equipment through the SMF.
[0014] In one optional approach, when the SMF discovers that the target user equipment is located in a second region and the target service is a target intranet service, the SMF executes the session policy corresponding to the target user equipment, including: initiating an N4 Session Modification procedure to the second UPF through the SMF, providing pre-saved Association information to the second UPF, and instructing the second UPF to forward the access request to the first UPF through the interface tunnel; the second UPF establishes an interface tunnel with the first UPF, and the second UPF forwards the access request to the first UPF through the interface tunnel; the first UPF looks up the target IP address in the access request in the dedicated line routing table and sends the dedicated line route of the access request to the target intranet, wherein the first UPF simultaneously saves the association between the IP address of the target user equipment in the access request and the identifier of the second UPF; after receiving the target IP packet returned by the target intranet, the first UPF forwards the target IP packet to the second UPF through the interface tunnel according to the second UPF identifier and the second IP address in the target IP packet; the second UPF forwards the target IP packet to the target user equipment according to the second IP address.
[0015] According to another aspect of the present invention, a data splitting device is provided, comprising:
[0016] The acquisition module is used to acquire the access request of the target user device; the access request includes the target IP address of the target service to be accessed by the target user device and the location of the target user device.
[0017] The first determining module is configured to determine, based on the target IP address and the location of the target user equipment, that when the target user equipment is located in a first area and the target service is a target intranet service, communication between the target user equipment and the target intranet is established through a dedicated line between the first UPF and the target intranet; wherein, the first UPF is a UPF connected to the target intranet through a dedicated line, and the first area is the area covered by the base station connected to the first UPF;
[0018] The second determining module is used to determine, based on the target IP address and the location of the target user equipment, when the target user equipment is located in a second region and the target service is a target intranet service, to establish an interface tunnel between the second UPF and the first UPF, and to establish communication between the target user equipment and the target intranet through the interface tunnel and according to a preset session policy; wherein, the second UPF is a UPF other than the first UPF, and the second region is the area covered by the base station connected to the second UPF.
[0019] According to another aspect of the present invention, a computer device is provided, including: a processor, a memory, a communication interface, and a communication bus, wherein the processor, the memory, and the communication interface communicate with each other through the communication bus;
[0020] The memory is used to store at least one executable instruction that causes the processor to perform the operation of the data splitting method.
[0021] According to another aspect of the present invention, a computer-readable storage medium is provided, the storage medium storing at least one executable instruction, which, when executed on a computer device, causes the computer device to perform the operation of the data splitting method.
[0022] This invention, in its embodiments, obtains an access request from a target user equipment (User Equipment). The access request includes the target IP address of the target service the User Equipment wishes to access and the location of the User Equipment. Based on the target IP address and the location of the User Equipment, if the User Equipment is located in a first region and the target service is a target intranet service, communication between the User Equipment and the target intranet is established via a dedicated line between a first UPF and the target intranet. The first UPF is a UPF connected to the target intranet via a dedicated line, and the first region is the area covered by a base station connected to the first UPF. If the User Equipment is located in a second region and the target service is a target intranet service, an interface tunnel is established between a second UPF and the first UPF. Communication between the User Equipment and the target intranet is established through this interface tunnel according to a preset session policy. The second UPF is a UPF other than the first UPF, and the second region is the area covered by a base station connected to the second UPF. This invention effectively improves data offloading and enhances user experience.
[0023] The above description is merely an overview of the technical solutions of the embodiments of the present invention. In order to better understand the technical means of the embodiments of the present invention and to implement them in accordance with the contents of the specification, and to make the above and other objects, features and advantages of the embodiments of the present invention more apparent and understandable, specific embodiments of the present invention are described below. Attached Figure Description
[0024] The accompanying drawings are for illustrative purposes only and are not intended to limit the invention. Furthermore, the same reference numerals denote the same parts throughout the drawings. In the drawings:
[0025] Figure 1 This diagram illustrates the structure of a dual-domain private network in the prior art.
[0026] Figure 2 This diagram illustrates a network architecture using a single PDU session + general DNN + UL-CL traffic offloading technology in the prior art.
[0027] Figure 3 This diagram illustrates a network structure using a single PDU session and a dedicated DNN traffic offloading technology in the prior art.
[0028] Figure 4 This diagram illustrates a network structure using multi-PDU session traffic splitting technology in the prior art.
[0029] Figure 5 This diagram illustrates the application environment of the data splitting method provided in this embodiment of the invention.
[0030] Figure 6 A flowchart illustrating the data splitting method provided in an embodiment of the present invention is shown;
[0031] Figure 7 A schematic diagram of the data splitting device provided in an embodiment of the present invention is shown;
[0032] Figure 8 A schematic diagram of the structure of a computer device provided in an embodiment of the present invention is shown. Detailed Implementation
[0033] Exemplary embodiments of the invention will now be described in more detail with reference to the accompanying drawings. While exemplary embodiments of the invention are shown in the drawings, it should be understood that the invention can be implemented in various forms and should not be limited to the embodiments set forth herein.
[0034] First, let's explain the technical terms that appear in this application:
[0035] UPF: User Plane Function, a user plane function network element in the 5G core network, responsible for user plane data transmission, routing, and QoS processing of mobile terminals;
[0036] SMF: Session Management Function, a network element in the 5G core network responsible for functions such as PDU session management, IP address allocation, UPF selection and control of mobile terminals;
[0037] UE: User Equipment;
[0038] AMF: Access and Mobility Management Function, performs registration, connection, reachability, and mobility management. It provides a session management message transmission channel for the UE and SMF, and provides authentication and authorization functions for user access. It is the core network control plane access point for the terminal and radio.
[0039] PCF: Policy Control function, a unified policy framework that provides policy rules for control plane functionality;
[0040] PDU Session: In 5G networks, the path established between a terminal and an external network is called a PDU Session.
[0041] Within the core network, the User Plane Function (UPF) plays a crucial role in forwarding user data. During the process of a User Equipment (UE) accessing the 5G network, the Session Management (SM) element selects a suitable UPF for connection based on the current UE information and network planning strategies.
[0042] The following is combined with Figures 1-4 The prior art involved in this application is further described in detail below:
[0043] As the integration of 5G with industry markets deepens, the demand for 2B2C dual-domain converged private networks is increasing significantly, especially in sectors such as education, culture and tourism, and government affairs. These companies typically build dedicated private networks for the confidentiality of their office and business data. Their employees usually use 2C SIM cards, requiring assurance that these employees can access both the company's intranet and the internet via these 2C SIM cards. Therefore, a 2B2C dual-domain private network is urgently needed to provide connectivity services between the employee's company's private network and their personal network. For example... Figure 1 As shown, the 5G network connects to the service platforms of the external data network (DN) (including service platforms located on the public network and enterprise private networks) through the UPF, and facilitates the service between the 5G user terminal (UE) and the service platform through the UPF. When a 5G user terminal (UE) accesses the 5G network, it requests the network to establish a PDU session. The 5G core network AMF selects the SMF based on the network slice information (S-NSSAI) and DNN provided by the 5G user UE, as well as the user's current TAI (Tracking Area Identity). The SMF then selects a suitable UPF based on the S-NSSAI, DNN, and the user's current TAI provided by the 5G user terminal UE to establish the PDU session. During PDU session establishment, the 5G network needs to select the UPF to connect to the service platform based on factors such as the deployment location and service range of the service platform. In the construction of dual-domain private networks, most enterprise customers have data privacy requirements. The service platform is deployed on the enterprise customer's internal network, and the service platform only accesses a specific UPF (such as...) through a physical leased line or operator leased line. Figure 1 The UPF 1 in the middle), and open a dedicated DNN, 5G users pass through the dedicated DNN through a specific UPF ( Figure 1 The UPF in the document 1) accesses the business platform; the business platform cannot be accessed via the internet. Business requirements are as follows: 1. Differentiate user groups: Only user terminals (UEs) within the group customer are allowed to access the enterprise's internal business platform; UEs from non-group customers are not allowed to access the enterprise's internal business platform. 2. There is a need for user roaming access: Group customer UEs can access the platform not only locally (e.g., ...) Figure 1 Access to the enterprise's internal business platform within the coverage area of UPF1, and the group customer's UE roaming to other locations (such as...) Figure 1Even within the coverage area of UPF2, users can access the enterprise's internal business platform via the 5G network. 3. This allows enterprise customer UEs to access both the enterprise's internal business platform and internet services anytime, anywhere.
[0044] To meet the requirement of enterprise customer UEs in a dual-domain private network to simultaneously access the enterprise's internal business platform and the Internet, it is necessary to consider how to implement traffic offloading technology. Currently, the following local traffic offloading technologies exist:
[0045] (1) Single PDU Session + General DNN + UL-CL Offloading Technology: Subscribe the UE to one general DNN (such as CMNET DNN). The UE establishes one PDU session through the general DNN, and accesses both the Internet and the enterprise's internal business platform through one PDU session. The 3GPP specification provides two single PDU session offloading technologies: UL-CL (Uplink Classifier), BP (IPv6 Branching Point), and LADN (Localarea Data network). Among them, BP (which requires the terminal to support the use of two different IPv6 addresses in a single PDU session, using different IPv6 addresses (source addresses) to access different business applications, and BP UPF distinguishes different service flows by different source IPv6 addresses) is currently not supported by the terminal.
[0046] UL-CL traffic offloading: During or after the establishment of a user PDU session, the SMF can insert one or more UL-CL UPFs into the data path of the PDU session. UL-CL UPFs support forwarding uplink traffic to different PSA UPFs (PDU Session Anchor Point UPFs) based on traffic detection and forwarding rules provided by the SMF, offloading traffic to different service platforms; and merging downlink traffic from different PDU session anchor point UPFs on the link to the 5G terminal. UL-CL acts somewhat like a routing table. UL-CL uses flow filtering rules (such as checking the destination IP address / prefix of uplink IP packets sent by the UE) to determine how packets are routed. The UE is unaware of UL-CL traffic offloading and does not participate in the insertion and deletion of UL-CL UPFs. The UE associates a single IPv4 address or a single IP prefix, or both, assigned by the network to the PDU session. Figure 2As shown, 5G UL-CL enables traffic offloading based on service content. As illustrated in the left diagram above, the 5G UE uses the anchor UPF (PSA UPF1) to route services. When the SMF (Service Management Function) identifies (PSA UPF1 identifies and reports to the SMF) that the UE is accessing specific service content (e.g., based on the target URL or target IP address) (i.e., ① red solid line in the diagram), the UL-CL process is triggered, selecting the PSA UPF2 closest to the corresponding service platform to route this service for the UE. At this point, PSA UPF2 becomes the UL-CL UPF, acting as a UL uplink traffic classifier, routing specific service UL traffic to the corresponding service platform via PSA UPF2, while other traffic is still routed through PSA UPF1. 5G UL-CL enables traffic offloading based on user location. As shown in the right diagram above, the 5G UE uses the anchor point UPF (PSA UPF1) to handle traffic. When the SMF identifies (notifies the SMF of this to the AMF) that the UE has moved to a specific area (e.g., TAI) (i.e., the red dotted line ① in the diagram), it triggers the UL-CL process, selecting the PSA UPF2 closest to the corresponding service platform for the UE to handle traffic. At this time, PSA UPF2 is the UL-CL UPF, acting as a UL uplink traffic classifier, directing specific service UL traffic to the corresponding service platform via PSA UPF2, while other traffic is still handled via PSA UPF1. The general DNN+UL-CL traffic offloading technology has no additional requirements for the terminal and can use a general DNN to achieve the offloading effect. The UL-CL+general DNN solution is suitable for scenarios where public users access MEC applications using mobile terminals, such as commercial complexes, museums, stadiums, and hotels. However, its disadvantage is that it is only supported by 5G access and does not support 4G access. Meanwhile, in dual-domain private network scenarios, the enterprise's internal business platform is only connected to a specific UPF via a dedicated transmission line, and there are roaming scenarios. That is, when the group customer's UE moves out of the coverage area of the specific UPF, the UE cannot access the internal business platform.
[0047] (2) Single PDU Session + Dedicated DNN Traffic Offloading Technology: A dedicated DNN is subscribed for each enterprise customer's UE. Regardless of location, the enterprise customer's UE establishes a PDU session through the dedicated DNN, always selecting a UPF located at the enterprise customer's location and connected to the enterprise customer's internal business platform via a dedicated line as the anchor UPF. All of the UE's business traffic, including traffic accessing the internet and traffic accessing the enterprise's internal business platform, is routed through this specific UPF. For example... Figure 3As shown, when a group customer's UE is located in the coverage area of UPF1, a dedicated DNN is used to select UPF1 to establish a PDU session. Whether it is UE-to-Internet traffic or UE-to-enterprise internal business platform traffic, it is all handled through UPF1. According to the routing table, UPF1 routes UE-to-Internet traffic to the external public network through the public network N6 interface according to the destination IP address of the IP packet, and routes UE-to-enterprise internal business platform traffic to the enterprise intranet through a dedicated line. When a UE moves out of the coverage area of UPF1 and establishes a PDU session, UPF1 is selected as the anchor UPF based on the dedicated DNN, and UPF2 is selected as the I-UPF (intermediate UPF) based on the UE's TAI. An N9 interface is established between the I-UPF and the anchor UPF. All traffic is forwarded from the I-UPF (UPF2 in the diagram above) to the anchor UPF (UPF1 in the diagram above) through the N9 interface. Then, the anchor UPF (UPF1 in the diagram above) routes the UE's traffic to the Internet to the external public network through the public network N6 interface according to the destination IP address of the IP packet, and routes the UE's traffic to the enterprise's internal business platform to the enterprise's intranet through a dedicated line. Single PDU session + dedicated DNN traffic offloading places no additional requirements on the terminal UE and supports enterprise customers' UEs accessing the enterprise's internal platform and the Internet while roaming domestically. However, this solution requires all AMFs across the network to support DNN error correction and all NRFs to be configured with a binding relationship between a dedicated DNN and a specific UPF. When the UE roams, the network must be able to select a specific UPF as the anchor UPF based on the dedicated DNN. This solution does not support international roaming, and because all internet traffic during UE roaming must return to the UPF connected to the dedicated line of the group customer's internal business platform for routing, there is a detour for UE-to-internet traffic. On the one hand, additional resources are needed for the anchor UPF; on the other hand, the long-distance detour of internet traffic increases latency, affecting the UE's perception of accessing internet services, especially for services with low latency requirements such as cloud gaming, where latency requirements cannot be met.
[0048] (3) Multi-PDU Session Splitting Technology: The UE is subscribed to multiple DNNs (1 general DNN + 1 dedicated DNN). The UE establishes multiple PDU sessions through different DNNs or slices, using different PDU sessions to access different service platforms. When the UE accesses public services, a PDU session is established through the general DNN. When the UE accesses an enterprise platform within a group customer, a PDU session is established through the dedicated DNN. For example... Figure 4As shown, this solution places additional requirements on the UE: ① The 5G UE terminal needs to support multiple DNNs and multiple user IP addresses (for each DNN, the network allocates at least one user IP address to the UE); ② Alternatively, the user needs to perform corresponding operations on the UE's interface, resulting in a poor user experience. For example, clicking on a corresponding APP on the UE terminal causes the APP to drive the UE to establish / call a dedicated DNN PDU session and access the corresponding service platform using the corresponding IP address. For 5G UEs that do not support the above functions, the user can only initiate a VPN tunnel between the UE and the service platform by utilizing the IP channel provided by the general internet DNN on the UE interface to access the service platform's intranet resources. The above requires the terminal to support related functions or requires the user to perform related operations on the UE interface to initiate dedicated DNN services. The terminal needs to be customized or support URSP (UE Route Selection Policy) technology. URSP (Uniform Requested Service) involves the 5G network issuing URSP rules to the UE during the PCC (Programmable Channel Control) process (URSP rules can also be pre-configured within the UE). The UE's application matches the Traffic Descriptor (RDS) within the URSP rules based on its characteristics, outputting a corresponding RSD (Route Selection Descriptor). The RSD contains key factors for PDU session establishment, such as the DNN (Data Management Network), network slice selection strategy, and PDU session type. The UE's application then reuses existing PDU sessions or establishes new ones based on the RSD. URSP supports multiple DNN technologies and multiple network slices sharing a single DNN. Currently, 5G terminal UEs do not support URSP. If a UE does not support URSP, it requires customization to support multiple DNNs, which is costly and not supported for some terminal types.
[0049] (4) Multi-DNN Seamless Traffic Offloading Technology: Proposed by China Mobile, this technology is a customized solution for the company. Its implementation principle is as follows: Each enterprise customer's UE is subscribed to one general-purpose DNN and one dedicated DNN. When a UE requests to establish a PDU session, whether accessing internet services or internal enterprise customer services, it first selects the general-purpose DNN to establish the PDU session and chooses the nearest UPF to handle the service. When the UPF detects that the UE is accessing the enterprise customer's internal service platform (by detecting the target URL and target IP address), the UPF reports this to the SMF, triggering the SMF to establish a virtual dedicated DNN PDU session for the UE. The specific process is as follows: The current SMF requests the AMF to select and determine an SMF (the SMF to which the UPF connected to the corporate customer service platform via a leased line) for the dedicated DNN. Then, the determined SMF selects a specific UPF (the UPF connected to the corporate customer service platform via a leased line) as the anchor UPF for the dedicated DNN PDU session. The UPF currently connected to by the UE is used as the I-UPF for the dedicated DNN PDU session. An N9 interface is established between the I-UPF and the anchor UPF, ultimately creating a virtual PDU session for the UE. The I-UPF is responsible for detecting the destination address of IP packets and forwarding IP packets from the UE to the corporate customer service platform to the anchor UPF via the N9 interface. The anchor UPF then routes the packets to the corporate customer service platform via the leased line. The advantage of this solution is that it is seamless for the UE, but the disadvantages are that it requires functional modifications to all SMFs and AMFs in the network (if the SMF proxies the AMF function, then the AMF does not need modification), adds a virtual PDU session selection process, involves significant modifications, and does not support international roaming.
[0050] Based on this, this invention proposes a method for edge UPF seamless traffic offloading in 5G networks, which is implemented based on single PDU session + general DNN technology. It is applicable to 4G and 5G access scenarios in 2B2C dual-domain private networks. It is simple to implement, requires no additional network modifications, is imperceptible to the terminal, and supports roaming scenarios with no additional requirements for the terminal.
[0051] Figure 5 A schematic diagram illustrating the application environment of the data splitting method provided in an embodiment of the present invention is shown. For example... Figure 5As shown, this embodiment of the invention is based on at least a first UPF and at least one second UPF, and divides the area into at least one first region and multiple second regions. The first UPF is a UPF connected to the target intranet via a dedicated line, and the first region is the area covered by a base station connected to the first UPF. The second UPF is any UPF other than the first UPF, and the second region is the area covered by a base station connected to the second UPF. There can be multiple first and second UPFs, and multiple target intranets. One target user equipment (User Equipment) can correspond to multiple target intranets. Each target User Equipment may be located in either the first region or the second region, and different target User Equipments may correspond to the same or different target intranets. Figure 6 A flowchart of a data offloading method provided in an embodiment of the present invention is shown, which is executed by a computer device. Specifically, the computer device may be a core network device. Figure 6 As shown, the method includes the following steps:
[0052] Step 110: Obtain the access request of the target user device; the access request includes the target IP address of the target service to be accessed by the target user device and the location of the target user device.
[0053] The access request also includes the target intranet identifier and the target user equipment URL. The access request is initiated by the target user equipment and sent in the form of a data packet.
[0054] In this embodiment of the invention, before the target user equipment (UE) initiates an access request, a session policy (SM Policy) is pre-subscribed for the UE in its home PCF / UDR. This session policy establishes an interface tunnel between the second UPF and the first UPF to forward IP packets between the UE and the target intranet only when the UE is located in the second region and accesses a home target intranet service (e.g., a group intranet service). The subscription session policy also stores Association information between the target intranet service and the corresponding anchor UPF (first UPF). The interface tunnel is an N6 tunnel. The Association information includes at least: the target intranet identifier, the target UE URL, the first IP address corresponding to the target intranet, the first UPF corresponding to the target intranet, the first UPF identifier, and the IP address information of the leased line between the first UPF and the target intranet.
[0055] Step 120: Based on the target IP address and the location of the target user equipment, the target service is determined to be a target intranet service. When the target user equipment is located in the first area and the target service is a target intranet service, communication between the target user equipment and the target intranet is established through a dedicated line between the first UPF and the target intranet.
[0056] Wherein, the first UPF is a UPF connected to the target intranet via a dedicated line, and the first area is the area covered by the base station connected to the first UPF.
[0057] In this embodiment of the invention, when the target user equipment (UE) is within a first area, the UE will proactively initiate a PDU session establishment process. Base stations within the first area interact with the core network to enable the SMF to subscribe to the session policy corresponding to the UE. Specifically, the UE sends a PDU Session Establishment Request message (including slice identifier S-NSSAI, DNN, location TAI, etc.) to the AMF. The AMF selects the SMF to serve the UE based on the slice identifier, DNN, etc. After determining the SMF, the AMF sends an Nsmf_PDUSession_CreateSMContext Request message (including the UE's SUPI, GPSI, S-NSSAI, DNN, TAI, etc.) to the SMF. If the SMF allows the establishment of a PDU session, the SMF sends an Nsmf_PDUSession_CreateSMContext Response message to the AMF. The SMF stores the UE's PDU session ID, S-NSSAI, DNN, TAI, and other information. The SMF selects the PCF / UDR to which the target user equipment (UE) belongs, obtains the UE's subscription policy, and establishes an SM Policy Association with the PCF. During this process, the PCF provides the SMF with the UE's session policy (SM Policy) and subscribes to information about policy control request triggering conditions. This triggering condition is defined as: when the SMF determines that the UE is located in the second area and only when the UE accesses services within its target intranet. The information regarding the UE's access to services within its target intranet is identified by the UPF and reported to the SMF. At this point, the SMF stores the UE's session policy; that is, when the UE is located in the second area and only when it accesses services within its target intranet, an interface tunnel is established between the second UPF and the first UPF to forward IP packets; and the association information between the target intranet service and the first UPF is stored in the session policy. Among them, SMF assigns an IP address to UE and selects a UPF to serve UE based on UE's S-NSSAI, DNN, TAI and other information. Since the target user equipment UE is currently in the first area, the first UPF is selected as the anchor UPF.The SMF interacts with the first UPF to execute the N4 Session Establishment procedure: the SMF sends an N4 Session establishment request to the first UPF and provides the packet detection and traffic splitting rules of the SM Policy installed on the first UPF for this PDU Session; the first UPF provides CN Tunnel Info to the SMF. The SMF transmits the CN Tunnel Info of the first UPF (including the UPF N3 interface IP address, CN-side GTP tunnel identifier TEID, etc.) to the first base station through the AMF. The first base station allocates AN Tunnel Info (including the base station N3 interface IP address, AN-side GTP tunnel identifier TEID, etc.) and transmits the AN Tunnel Info to the first UPF through the AMF and SMF. The first UPF and the base station establish an N3 interface GTP-U tunnel through each other's N3 interface IP addresses and GTP tunnel identifiers, etc. After the GTP tunnel is established, the uplink data stream is sent from the target user equipment (UE) to the first UPF via the GTP-U tunnel through the base station, and the downlink data stream is sent from the first UPF to the base station in the first area via the GTP-U tunnel, and then to the target user equipment (UE) via the base station in the first area.
[0058] Specifically, when the target user equipment (UE) is located in the first region and initiates an access request to the target intranet, the access request is obtained. The first UFP identifies the destination IP address of the user data IP packet in the access request as the first IP address corresponding to the target intranet, thus determining that the target service is a target intranet service. The dedicated route corresponding to the first IP address is then searched, and the access request is sent to the target intranet according to the dedicated route. Specifically, when the UE accesses the target intranet, such as a corporate customer service, the first UFP detects and identifies that the destination IP address in the user data IP packet is the first IP address corresponding to the target intranet included in the Session Policy (SM Policy), and reports this to the SMF. The SMF finds that the target UE is in the first region and does not meet the SM Policy triggering conditions. Therefore, the SMF instructs the first UFP to search the routing table and, according to the routing table, route the IP packet with the destination IP address as the first IP address to the target intranet via the dedicated route between the first UFP and the target intranet.
[0059] Specifically, when the target user equipment (UE) is located in the first area and the target service is an external network service, the access request is sent to the external network through the public network interface between the first UFP and the external network. Specifically, when the target user equipment (UE) in the first area accesses an internet service, the first UFP looks up the routing table based on the destination IP address in the user data IP packet and forwards the IP packet to the internet (e.g., the CMNET network) via the N6 interface (public network).
[0060] Step 130: Based on the target IP address and the location of the target user equipment, when the target user equipment is located in the second area and the target service is a target intranet service, establish an interface tunnel between the second UPF and the first UPF, and establish communication between the target user equipment and the target intranet through the interface tunnel and according to a preset session policy; wherein, the second UPF is a UPF other than the first UPF, and the second area is the area covered by the base station connected to the second UPF.
[0061] In this embodiment of the invention, when the target user equipment is located in the second area, the target user equipment initiates a PDU session establishment procedure. Base stations in the second area interact with the core network to enable the SMF to subscribe to the session policy corresponding to the target user equipment. The session policy includes the first IP address information corresponding to the target intranet and the target user equipment information; the target user equipment pre-subscribes to a general SNN, default slice, and session policy with the target intranet. Specifically, when a group customer UE is located in the second area, the UE initiates a PDU session establishment procedure: the UE sends a PDU Session Establishment Request message (including slice identifier S-NSSAI, DNN, location TAI, etc.) to the AMF, and the AMF selects the SMF to serve the UE based on the slice identifier, DNN, etc. After determining the SMF, the AMF sends an Nsmf_PDUSession_CreateSMContext Request message (containing the UE's SUPI, GPSI, S-NSSAI, DNN, TAI, etc.) to the SMF. If the SMF allows the establishment of a PDU session, the SMF sends an Nsmf_PDUSession_CreateSMContextResponse message to the AMF. The SMF stores the UE's PDU session ID, S-NSSAI, DNN, TAI, and other information. The SMF selects the PCF / UDR to which the UE belongs, obtains the UE's subscription policy, and establishes an SM Policy Association with the PCF to which the UE belongs. During this process, the PCF provides the SMF with the UE's session policy (SM Policy). At the same time, the PCF subscribes to the SMF for information on the triggering conditions of policy control requests (when the SMF determines that the UE is located in the second region and only when the UE accesses the internal services of its affiliated group customer (identified and reported to the SMF by the UPF)). At this point, the SMF stores the UE's session policy (when the UE is located in the second area and only accesses the internal services of its affiliated group customer, an N6 interface tunnel is established between the second UPF and the first UPF to forward IP packets; and the association information between the group customer service and the corresponding anchor UPF (first UPF) is stored in the session policy). The SMF assigns an IP address to the UE and selects the UPF to serve the UE based on the UE's S-NSSAI, DNN, TAI, and other information (since the UE is currently in the second area, the nearest second UPF is selected as the anchor UPF).The SMF and the second UPF interact to execute the N4 Session Establishment procedure: the SMF sends an N4 Session establishment request to the second UPF and provides the message detection and traffic splitting rules of the SM Policy installed on the second UPF for this PDU Session; the second UPF provides CN Tunnel Info to the SMF. The SMF transmits the CN Tunnel Info of the second UPF (including the UPF N3 interface IP address, CN-side GTP tunnel identifier TEID, etc.) to the second base station through the AMF. The second base station allocates AN Tunnel Info (including the base station N3 interface IP address, AN-side GTP tunnel identifier TEID, etc.) and transmits the AN Tunnel Info to the second UPF through the AMF and SMF. The second UPF and the base station establish an N3 interface GTP-U tunnel through each other's N3 interface IP addresses and GTP tunnel identifiers. After the GTP tunnel is established, the uplink data stream is sent from the UE to the second UPF via the base station through the GTP-U tunnel, and the downlink data stream is sent from the second UPF to the base station via the GTP-U tunnel and then to the UE.
[0062] Specifically, when a target user equipment (UE) initiates an access request to the target intranet within the second area, the second UFP identifies the target IP address of the user data IP packet in the access request as the first IP address corresponding to the target intranet, and reports the first IP address to the SMF. If the SMF discovers that the target UE is in the second area and the target service is a service within the target intranet, then the SMF executes the session policy corresponding to the target UE, including initiating N4 Session Modification to the second UFP via the SMF. The procedure involves the following steps: First, the second UPF provides pre-saved Association information to the second UPF, instructing it to forward the access request to the first UPF via the interface tunnel. Second, the second UPF establishes an interface tunnel with the first UPF, and forwards the access request to the first UPF via this tunnel. First, the first UPF looks up the target IP address in the access request in a dedicated routing table and sends the dedicated route of the access request to the target intranet. Simultaneously, the first UPF stores the association between the target user device's IP address and the second UPF identifier in the access request. Upon receiving the target IP packet returned from the target intranet, the first UPF forwards the target IP packet to the second UPF via the interface tunnel based on the second UPF identifier and second IP address in the target IP packet. Second, the second UPF forwards the target IP packet to the target user device based on the second IP address. The interface tunnel is an N6 interface VPN tunnel.
[0063] Specifically, when a UE in the second area accesses a target intranet service, the second UPF detects and identifies that the destination IP address in the user data IP packet is the first IP address corresponding to the target intranet service platform contained in the SM Policy, and reports this to the SMF. The SMF finds that the UE is in the second area and the destination IP address of the service access is the first IP address, which meets the SM Policy conditions. Therefore, the SMF decides to execute the SM Policy. The SMF initiates an N4 Session Modification procedure to the second UPF. The SMF sends the saved Association information between the target intranet service and the corresponding anchor UPF (first UPF) (including information such as the N6 interface IP address of the first UPF) to the second UPF, instructing the second UPF to forward IP packets with the destination IP address as the first IP address to the first UPF via the N6 interface. The second UPF establishes an N6 interface VPN tunnel (via the public network) with the first UPF. Then, the second UPF forwards IP packets with the destination IP address as the first IP address (IP packets in the access request initiated by the target user equipment) to the first UPF through the VPN tunnel. In addition, the second UPF sends the UPF identifier to the first UPF. The first UPF forwards IP packets destined for the group customer's UE to the second UPF via a VPN tunnel. Here, the GTP-U tunnel endpoint of the UE's PDU session is the second UPF. After receiving an IP packet destined for the first IP address of the target internal network, the second UPF treats itself and the first UPF as ordinary routers. The next-hop router for the second UPF is the first UPF. The second UPF establishes a VPN tunnel with the first UPF using the IP address of the first UPF's N6 interface. It should be noted that the VPN tunnel is optional; a VPN tunnel can be established between the second and first UPFs, or the IP packets can be forwarded directly by looking up the routing table. After receiving the IP packet forwarded by the second UPF, the first UPF looks up the routing table based on the destination IP address of the IP packet and routes the IP packet to the target internal network via a dedicated line. The first UPF simultaneously stores the association between the UE's IP address and the second UPF identifier in the IP packet. When multiple UEs have conflicting IP addresses and the target UE cannot be distinguished by IP address alone, different UEs can be differentiated by the UPF identifier plus the IP address. After receiving the IP packet sent by the corporate customer's business platform, the first UPF looks up the routing table based on the UPF identifier plus the destination IP address in the IP packet, and forwards the IP packet to the second UPF through the VNP tunnel. The second UPF then forwards the IP packet to the target corporate customer UE based on the destination IP.
[0064] Specifically, when the target user equipment (UE) is located in the second area and the target service is an external network service, the access request is sent to the external network through the public network interface between the second UFP and the external network. Specifically, when the target user equipment (UE) located in the second area accesses an internet service, the second UFP looks up the routing table based on the destination IP address in the user data IP packet and forwards the IP packet to the internet (e.g., the CMNET network) via the N6 interface (public network).
[0065] This invention embodiment obtains an access request from a target user equipment (User Equipment). The access request includes the target IP address of the target service to be accessed by the User Equipment and the location of the User Equipment. Based on the target IP address and the location of the User Equipment, if the target service is a target intranet service, and the User Equipment is located in a first region and the target service is a target intranet service, communication between the User Equipment and the target intranet is established through a dedicated line between a first UPF and the target intranet. The first UPF is a UPF connected to the target intranet via a dedicated line, and the first region is the area covered by a base station connected to the first UPF. Based on the target IP address and the location of the User Equipment, if the User Equipment is located in a second region and the target service is a target intranet service, an interface tunnel is established between a second UPF and the first UPF. Communication between the User Equipment and the target intranet is established through the interface tunnel according to a preset session policy. The second UPF is a UPF other than the first UPF, and the second region is a base station connected to the second UPF.
[0066] Figure 7 A schematic diagram of the data splitting device provided in an embodiment of the present invention is shown. Figure 7 As shown, the device 300 includes:
[0067] The acquisition module 310 is used to acquire the access request of the target user device; the access request includes the target IP address of the target service to be accessed by the target user device and the location of the target user device.
[0068] The first determining module 320 is configured to, based on the target IP address and the location of the target user equipment, and the target service being a target intranet service, determine that when the target user equipment is located in a first area and the target service is a target intranet service, establish communication between the target user equipment and the target intranet through a dedicated line between a first UPF and the target intranet; wherein, the first UPF is a UPF connected to the target intranet through a dedicated line, and the first area is the area covered by the base station connected to the first UPF;
[0069] The second determining module 330 is used to determine, based on the target IP address and the location of the target user equipment, when the target user equipment is located in a second area and the target service is a target intranet service, to establish an interface tunnel between the second UPF and the first UPF, and to establish communication between the target user equipment and the target intranet through the interface tunnel and according to a preset session policy; wherein, the second UPF is a UPF other than the first UPF, and the second area is the area covered by the base station connected to the second UPF.
[0070] In an optional embodiment, the method further includes: when the target user equipment is located in a first region and the target service is an external network service, sending the access request to the external network through the public network interface between the first UFP and the external network.
[0071] In an optional embodiment, the method further includes: when the target user equipment is located in a second region and the target service is an external network service, sending the access request to the external network through the public network interface between the second UFP and the external network.
[0072] In one optional approach, when the target user equipment is located in a first region and the target service is a target intranet service, establishing communication between the target user equipment and the target intranet via a dedicated line between the first UFP and the target intranet includes: when the target user equipment is located in the first region, obtaining the access request; identifying, via the first UFP, that the target IP address of the user data IP packet in the access request is the first IP address corresponding to the target intranet, thus determining that the target service is a target intranet service; finding the dedicated line route corresponding to the first IP address; and sending the access request to the target intranet according to the dedicated line route.
[0073] In an optional approach, before obtaining the access request when the target user device is located in the first region, the method further includes: when the target user device is in the first region, initiating a PDU session establishment process to enable the SMF to subscribe to the session policy corresponding to the target user device, wherein the session policy includes the first IP address information corresponding to the target intranet and the target user device information; the target user device pre-signs a general SNN, a default slice, and a session policy with the target intranet.
[0074] In one optional approach, when the target user equipment is located in the second region and the target service is a target intranet service, establishing an interface tunnel between the second UPF and the first UPF, and establishing communication between the target user equipment and the target intranet through the interface tunnel according to a preset session policy, includes: when the target user equipment is in the second region, initiating a PDU session establishment process to enable the SMF to subscribe to the session policy corresponding to the target user equipment, the session policy including the first IP address information corresponding to the target intranet and the target user equipment information; the target user equipment pre-subscribes to a general SNN, default slice, and session policy with the target intranet; the second UPF identifies the target IP address of the user data IP packet in the access request as the first IP address corresponding to the target intranet, and reports the first IP address to the SMF; the SMF discovers that the target user equipment is in the second region and the target service is the target intranet service, and then executes the session policy corresponding to the target user equipment through the SMF.
[0075] In one optional approach, when the SMF discovers that the target user equipment is located in a second region and the target service is a target intranet service, the SMF executes the session policy corresponding to the target user equipment, including: initiating an N4 Session Modification procedure to the second UPF through the SMF, providing pre-saved Association information to the second UPF, and instructing the second UPF to forward the access request to the first UPF through the interface tunnel; the second UPF establishes an interface tunnel with the first UPF, and the second UPF forwards the access request to the first UPF through the interface tunnel; the first UPF looks up the target IP address in the access request in the dedicated line routing table and sends the dedicated line route of the access request to the target intranet, wherein the first UPF simultaneously saves the association between the IP address of the target user equipment in the access request and the identifier of the second UPF; after receiving the target IP packet returned by the target intranet, the first UPF forwards the target IP packet to the second UPF through the interface tunnel according to the second UPF identifier and the second IP address in the target IP packet; the second UPF forwards the target IP packet to the target user equipment according to the second IP address.
[0076] This invention embodiment obtains an access request from a target user equipment (User Equipment). The access request includes the target IP address of the target service to be accessed by the User Equipment and the location of the User Equipment. Based on the target IP address and the location of the User Equipment, if the target service is a target intranet service, and the User Equipment is located in a first region and the target service is a target intranet service, communication between the User Equipment and the target intranet is established via a dedicated line between a first UPF and the target intranet. The first UPF is a UPF connected to the target intranet via a dedicated line, and the first region is the area covered by a base station connected to the first UPF. Based on the target IP address and the location of the User Equipment, if the User Equipment is located in a second region and the target service is a target intranet service, an interface tunnel is established between a second UPF and the first UPF. Communication between the User Equipment and the target intranet is established through the interface tunnel according to a preset session policy. The second UPF is a UPF other than the first UPF, and the second region is the area covered by a base station connected to the second UPF. This invention embodiment can effectively improve data offloading and enhance user experience.
[0077] Figure 8 The diagram shows a structural schematic of a computer device provided in an embodiment of the present invention. The specific embodiments of the present invention do not limit the specific implementation of the computer device.
[0078] like Figure 8 As shown, the computer device may include: a processor 402, a communications interface 404, a memory 406, and a communications bus 408.
[0079] The processor 402, communication interface 404, and memory 406 communicate with each other via communication bus 408. Communication interface 404 is used to communicate with other network elements, such as clients or other servers. The processor 402 executes program 410, specifically performing the relevant steps described in the data splitting method embodiment.
[0080] Specifically, program 410 may include program code, which includes computer-executable instructions.
[0081] Processor 402 may be a central processing unit (CPU), an application-specific integrated circuit (ASIC), or one or more integrated circuits configured to implement embodiments of the present invention. The computer device includes one or more processors, which may be processors of the same type, such as one or more CPUs; or they may be processors of different types, such as one or more CPUs and one or more ASICs.
[0082] Memory 406 is used to store program 410. Memory 406 may include high-speed RAM memory, and may also include non-volatile memory, such as at least one disk storage device.
[0083] Specifically, program 410 can be called by processor 402 to cause the computer device to perform the following operations:
[0084] Obtain the access request from the target user device; the access request includes the target IP address of the target service to be accessed by the target user device and the location of the target user device;
[0085] Based on the target IP address and the location of the target user equipment, the target service is determined to be a target intranet service. When the target user equipment is located in the first area and the target service is a target intranet service, communication between the target user equipment and the target intranet is established through a dedicated line between the first UPF and the target intranet. Wherein, the first UPF is a UPF connected to the target intranet through a dedicated line, and the first area is the area covered by the base station connected to the first UPF.
[0086] Based on the target IP address and the location of the target user equipment, when the target user equipment is located in the second region and the target service is a target intranet service, an interface tunnel is established between the second UPF and the first UPF. Communication between the target user equipment and the target intranet is established through the interface tunnel and according to a preset session policy. Wherein, the second UPF is a UPF other than the first UPF, and the second region is the area covered by the base station connected to the second UPF.
[0087] In an optional embodiment, the method further includes: when the target user equipment is located in a first region and the target service is an external network service, sending the access request to the external network through the public network interface between the first UFP and the external network.
[0088] In an optional embodiment, the method further includes: when the target user equipment is located in a second region and the target service is an external network service, sending the access request to the external network through the public network interface between the second UFP and the external network.
[0089] In one optional approach, when the target user equipment is located in a first region and the target service is a target intranet service, establishing communication between the target user equipment and the target intranet via a dedicated line between the first UFP and the target intranet includes: when the target user equipment is located in the first region, obtaining the access request; identifying, via the first UFP, that the target IP address of the user data IP packet in the access request is the first IP address corresponding to the target intranet, thus determining that the target service is a target intranet service; finding the dedicated line route corresponding to the first IP address; and sending the access request to the target intranet according to the dedicated line route.
[0090] In an optional approach, before obtaining the access request when the target user device is located in the first region, the method further includes: when the target user device is in the first region, initiating a PDU session establishment process to enable the SMF to subscribe to the session policy corresponding to the target user device, wherein the session policy includes the first IP address information corresponding to the target intranet and the target user device information; the target user device pre-signs a general SNN, a default slice, and a session policy with the target intranet.
[0091] In one optional approach, when the target user equipment is located in the second region and the target service is a target intranet service, establishing an interface tunnel between the second UPF and the first UPF, and establishing communication between the target user equipment and the target intranet through the interface tunnel according to a preset session policy, includes: when the target user equipment is in the second region, initiating a PDU session establishment process to enable the SMF to subscribe to the session policy corresponding to the target user equipment, the session policy including the first IP address information corresponding to the target intranet and the target user equipment information; the target user equipment pre-subscribes to a general SNN, default slice, and session policy with the target intranet; the second UPF identifies the target IP address of the user data IP packet in the access request as the first IP address corresponding to the target intranet, and reports the first IP address to the SMF; the SMF discovers that the target user equipment is in the second region and the target service is the target intranet service, and then executes the session policy corresponding to the target user equipment through the SMF.
[0092] In one optional approach, when the SMF discovers that the target user equipment is located in a second region and the target service is a target intranet service, the SMF executes the session policy corresponding to the target user equipment, including: initiating an N4 Session Modification procedure to the second UPF through the SMF, providing pre-saved Association information to the second UPF, and instructing the second UPF to forward the access request to the first UPF through the interface tunnel; the second UPF establishes an interface tunnel with the first UPF, and the second UPF forwards the access request to the first UPF through the interface tunnel; the first UPF looks up the target IP address in the access request in the dedicated line routing table and sends the dedicated line route of the access request to the target intranet, wherein the first UPF simultaneously saves the association between the IP address of the target user equipment in the access request and the identifier of the second UPF; after receiving the target IP packet returned by the target intranet, the first UPF forwards the target IP packet to the second UPF through the interface tunnel according to the second UPF identifier and the second IP address in the target IP packet; the second UPF forwards the target IP packet to the target user equipment according to the second IP address.
[0093] This invention embodiment obtains an access request from a target user equipment (User Equipment). The access request includes the target IP address of the target service to be accessed by the User Equipment and the location of the User Equipment. Based on the target IP address and the location of the User Equipment, if the target service is a target intranet service, and the User Equipment is located in a first region and the target service is a target intranet service, communication between the User Equipment and the target intranet is established via a dedicated line between a first UPF and the target intranet. The first UPF is a UPF connected to the target intranet via a dedicated line, and the first region is the area covered by a base station connected to the first UPF. Based on the target IP address and the location of the User Equipment, if the User Equipment is located in a second region and the target service is a target intranet service, an interface tunnel is established between a second UPF and the first UPF. Communication between the User Equipment and the target intranet is established through the interface tunnel according to a preset session policy. The second UPF is a UPF other than the first UPF, and the second region is the area covered by a base station connected to the second UPF. This invention embodiment can effectively improve data offloading and enhance user experience.
[0094] This invention provides a computer-readable storage medium storing at least one executable instruction that, when executed on a computer device, causes the computer device to perform the data splitting method described in any of the above method embodiments.
[0095] Executable instructions can be used to cause computer devices to perform the following operations:
[0096] Obtain the access request from the target user device; the access request includes the target IP address of the target service to be accessed by the target user device and the location of the target user device;
[0097] Based on the target IP address and the location of the target user equipment, the target service is determined to be a target intranet service. When the target user equipment is located in the first area and the target service is a target intranet service, communication between the target user equipment and the target intranet is established through a dedicated line between the first UPF and the target intranet. Wherein, the first UPF is a UPF connected to the target intranet through a dedicated line, and the first area is the area covered by the base station connected to the first UPF.
[0098] Based on the target IP address and the location of the target user equipment, when the target user equipment is located in the second region and the target service is a target intranet service, an interface tunnel is established between the second UPF and the first UPF. Communication between the target user equipment and the target intranet is established through the interface tunnel and according to a preset session policy. Wherein, the second UPF is a UPF other than the first UPF, and the second region is the area covered by the base station connected to the second UPF.
[0099] In an optional embodiment, the method further includes: when the target user equipment is located in a first region and the target service is an external network service, sending the access request to the external network through the public network interface between the first UFP and the external network.
[0100] In an optional embodiment, the method further includes: when the target user equipment is located in a second region and the target service is an external network service, sending the access request to the external network through the public network interface between the second UFP and the external network.
[0101] In one optional approach, when the target user equipment is located in a first region and the target service is a target intranet service, establishing communication between the target user equipment and the target intranet via a dedicated line between the first UFP and the target intranet includes: when the target user equipment is located in the first region, obtaining the access request; identifying, via the first UFP, that the target IP address of the user data IP packet in the access request is the first IP address corresponding to the target intranet, thus determining that the target service is a target intranet service; finding the dedicated line route corresponding to the first IP address; and sending the access request to the target intranet according to the dedicated line route.
[0102] In an optional approach, before obtaining the access request when the target user device is located in the first region, the method further includes: when the target user device is in the first region, initiating a PDU session establishment process to enable the SMF to subscribe to the session policy corresponding to the target user device, wherein the session policy includes the first IP address information corresponding to the target intranet and the target user device information; the target user device pre-signs a general SNN, a default slice, and a session policy with the target intranet.
[0103] In one optional approach, when the target user equipment is located in the second region and the target service is a target intranet service, establishing an interface tunnel between the second UPF and the first UPF, and establishing communication between the target user equipment and the target intranet through the interface tunnel according to a preset session policy, includes: when the target user equipment is in the second region, initiating a PDU session establishment process to enable the SMF to subscribe to the session policy corresponding to the target user equipment, the session policy including the first IP address information corresponding to the target intranet and the target user equipment information; the target user equipment pre-subscribes to a general SNN, default slice, and session policy with the target intranet; the second UPF identifies the target IP address of the user data IP packet in the access request as the first IP address corresponding to the target intranet, and reports the first IP address to the SMF; the SMF discovers that the target user equipment is in the second region and the target service is the target intranet service, and then executes the session policy corresponding to the target user equipment through the SMF.
[0104] In one optional approach, when the SMF discovers that the target user equipment is located in a second region and the target service is a target intranet service, the SMF executes the session policy corresponding to the target user equipment, including: initiating an N4 Session Modification procedure to the second UPF through the SMF, providing pre-saved Association information to the second UPF, and instructing the second UPF to forward the access request to the first UPF through the interface tunnel; the second UPF establishes an interface tunnel with the first UPF, and the second UPF forwards the access request to the first UPF through the interface tunnel; the first UPF looks up the target IP address in the access request in the dedicated line routing table and sends the dedicated line route of the access request to the target intranet, wherein the first UPF simultaneously saves the association between the IP address of the target user equipment in the access request and the identifier of the second UPF; after receiving the target IP packet returned by the target intranet, the first UPF forwards the target IP packet to the second UPF through the interface tunnel according to the second UPF identifier and the second IP address in the target IP packet; the second UPF forwards the target IP packet to the target user equipment according to the second IP address.
[0105] This invention embodiment obtains an access request from a target user equipment (User Equipment). The access request includes the target IP address of the target service to be accessed by the User Equipment and the location of the User Equipment. Based on the target IP address and the location of the User Equipment, if the target service is a target intranet service, and the User Equipment is located in a first region and the target service is a target intranet service, communication between the User Equipment and the target intranet is established via a dedicated line between a first UPF and the target intranet. The first UPF is a UPF connected to the target intranet via a dedicated line, and the first region is the area covered by a base station connected to the first UPF. Based on the target IP address and the location of the User Equipment, if the User Equipment is located in a second region and the target service is a target intranet service, an interface tunnel is established between a second UPF and the first UPF. Communication between the User Equipment and the target intranet is established through the interface tunnel according to a preset session policy. The second UPF is a UPF other than the first UPF, and the second region is the area covered by a base station connected to the second UPF. This invention embodiment can effectively improve data offloading and enhance user experience.
[0106] This invention provides a data splitting device for performing the above-described data splitting method.
[0107] This invention provides a computer program that can be called by a processor to cause a computer device to execute the data splitting method in any of the above method embodiments.
[0108] This invention provides a computer program product, which includes a computer program stored on a computer-readable storage medium. The computer program includes program instructions that, when executed on a computer, cause the computer to perform the data splitting method described in any of the above method embodiments.
[0109] The algorithms or displays provided herein are not inherently related to any particular computer, virtual system, or other device. Various general-purpose systems can also be used in conjunction with the teachings herein. The required structure for constructing such systems is apparent from the above description. Furthermore, the embodiments of the present invention are not directed to any particular programming language. It should be understood that the content of the invention described herein can be implemented using various programming languages, and the above description of specific languages is for the purpose of disclosing the best mode of implementation of the invention.
[0110] Numerous specific details are set forth in the specification provided herein. However, it will be understood that embodiments of the invention may be practiced without these specific details. In some instances, well-known methods, structures, and techniques have not been shown in detail so as not to obscure the understanding of this specification.
[0111] Similarly, it should be understood that, in order to streamline the invention and aid in understanding one or more of the various aspects of the invention, features of the embodiments of the invention are sometimes grouped together in a single embodiment, figure, or description thereof in the above description of exemplary embodiments of the invention. However, this disclosure should not be construed as reflecting an intention that the claimed invention requires more features than are expressly recited in each claim.
[0112] Those skilled in the art will understand that modules in the device of the embodiments can be adaptively changed and placed in one or more devices different from that embodiment. Modules, units, or components in the embodiments can be combined into a single module, unit, or component, and can be divided into multiple sub-modules, sub-units, or sub-components. Except where at least some of such features and / or processes or units are mutually exclusive, any combination can be used to combine all features disclosed in this specification (including the accompanying claims, abstract, and drawings) and all processes or units of any method or device so disclosed. Unless expressly stated otherwise, each feature disclosed in this specification (including the accompanying claims, abstract, and drawings) may be replaced by an alternative feature that serves the same, equivalent, or similar purpose.
[0113] It should be noted that the above embodiments are illustrative of the invention and not restrictive, and that those skilled in the art can devise alternative embodiments without departing from the scope of the appended claims. In the claims, any reference signs placed between parentheses should not be construed as limiting the claims. The word "comprising" does not exclude the presence of elements or steps not listed in the claims. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. The invention can be implemented by means of hardware comprising several different elements and by means of a suitably programmed computer. In the unit claims enumerating several means, several of these means may be embodied by the same item of hardware. The use of the words first, second, and third, etc., does not indicate any order. These words can be interpreted as names. The steps in the above embodiments, unless otherwise specified, should not be construed as limiting the order of execution.
Claims
1. A data splitting method, characterized in that, The method includes: Obtain the access request from the target user device; the access request includes the target IP address of the target service to be accessed by the target user device and the location of the target user device; Based on the target IP address and the location of the target user equipment, when the target user equipment is located in the first area and the target service is a target intranet service, communication between the target user equipment and the target intranet is established through a dedicated line between the first UPF and the target intranet; wherein, the first UPF is a UPF connected to the target intranet through a dedicated line, and the first area is the area covered by the base station connected to the first UPF; Based on the target IP address and the location of the target user equipment, when the target user equipment is located in the second region and the target service is a target intranet service, an interface tunnel is established between the second UPF and the first UPF. Communication between the target user equipment and the target intranet is established through the interface tunnel according to a preset session policy. Specifically, when the target user equipment is in the second region, a PDU session establishment process is initiated so that the SMF subscribes to the session policy corresponding to the target user equipment. The session policy includes the first IP address information corresponding to the target intranet and the target user equipment information. The target user equipment pre-subscribes to a general SNN, default slice, and session policy with the target intranet. The second UPF identifies the target IP address of the user data IP packet in the access request as the first IP address corresponding to the target intranet and reports the first IP address to the SMF. If the SMF discovers that the target user equipment is in the second region and the target service is a target intranet service, the SMF executes the session policy corresponding to the target user equipment. The second UPF is a UPF other than the first UPF, and the second region is the area covered by the base station connected to the second UPF.
2. The method according to claim 1, characterized in that, The method further includes: When the target user equipment is located in the first region and the target service is an external network service, the access request is sent to the external network through the public network interface between the first UPF and the external network.
3. The method according to claim 2, characterized in that, The method further includes: When the target user equipment is located in the second region and the target service is an external network service, the access request is sent to the external network through the public network interface between the second UPF and the external network.
4. The method according to any one of claims 1-3, characterized in that, When the target user equipment is located in the first area and the target service is a target intranet service, establishing communication between the target user equipment and the target intranet via a dedicated line between the first UPF and the target intranet includes: When the target user equipment is located in the first area, the access request is obtained; If the first UPF identifies the target IP address of the user data IP packet in the access request as the first IP address corresponding to the target intranet, then the target service is determined to be a target intranet service. The dedicated line route corresponding to the first IP address is then located, and the access request is sent to the target intranet according to the dedicated line route.
5. The method according to claim 4, characterized in that, Before obtaining the access request when the target user device is located in the first region, the method further includes: When the target user equipment is in the first area, a PDU session establishment process is initiated so that the SMF subscribes to the session policy corresponding to the target user equipment. The session policy includes the first IP address information corresponding to the target intranet and the target user equipment information. The target user equipment has pre-subscribed to the target intranet for a general SNN, a default slice, and a session policy.
6. The method according to claim 1, characterized in that, The step of discovering through the SMF that the target user equipment is located in the second region and the target service is the target intranet service, and then executing the session policy corresponding to the target user equipment through the SMF, includes: The SMF initiates an N4 Session Modification procedure to the second UPF, sending pre-saved Association information to the second UPF and instructing the second UPF to forward the access request to the first UPF through the interface tunnel. The second UPF establishes an interface tunnel with the first UPF, and the second UPF forwards the access request to the first UPF through the interface tunnel; The first UPF looks up the dedicated line routing table based on the target IP address in the access request, and sends the access request to the target intranet according to the dedicated line routing. The first UPF also stores the association between the IP address of the target user device in the access request and the second UPF identifier. After receiving the target IP packet returned by the target intranet, the first UPF forwards the target IP packet to the second UPF through the interface tunnel according to the second UPF identifier and second IP address in the target IP packet; The second UPF forwards the target IP packet to the target user equipment based on the second IP address.
7. A data splitting device, characterized in that, The device includes: The acquisition module is used to acquire the access request of the target user device; the access request includes the target IP address of the target service to be accessed by the target user device and the location of the target user device. The first determining module is configured to, based on the target IP address and the location of the target user equipment, and the target service being a target intranet service, determine that when the target user equipment is located in a first area and the target service is a target intranet service, establish communication between the target user equipment and the target intranet through a dedicated line between a first UPF and the target intranet; wherein, the first UPF is a UPF connected to the target intranet through a dedicated line, and the first area is the area covered by the base station connected to the first UPF; The second determining module is used to determine, based on the target IP address and the location of the target user equipment, that when the target user equipment is located in a second region and the target service is a target intranet service, an interface tunnel is established between the second UPF and the first UPF, and communication between the target user equipment and the target intranet is established through the interface tunnel according to a preset session policy; wherein, when the target user equipment is in the second region, a PDU session establishment process is initiated so that the SMF subscribes to the session policy corresponding to the target user equipment, the session policy including the first IP address information corresponding to the target intranet and the target user equipment information; the target user equipment has pre-subscribed to a general SNN, default slice and session policy with the target intranet; the second UPF identifies the target IP address of the user data IP packet in the access request as the first IP address corresponding to the target intranet and reports the first IP address to the SMF; if the SMF finds that the target user equipment is in the second region and the target service is the target intranet service, the SMF executes the session policy corresponding to the target user equipment; wherein, the second UPF is a UPF other than the first UPF, and the second region is the area covered by the base station connected to the second UPF.
8. A computer device, characterized in that, include: The processor, memory, communication interface, and communication bus are provided, wherein the processor, memory, and communication interface communicate with each other via the communication bus. The memory is used to store at least one executable instruction that causes the processor to perform the operation of the data splitting method as described in any one of claims 1-6.
9. A computer-readable storage medium, characterized in that, The storage medium stores at least one executable instruction, which, when executed on a computer device, causes the computer device to perform the data splitting method as described in any one of claims 1-6.
Citation Information
Patent Citations
Flow distribution method, core network element, electronic equipment and medium
CN115002769A