Local disaster recovery methods, devices, equipment, and computer storage media
By determining the policy type through the uplink classifier user plane function UPF, and using the main anchor UPF to carry or adjusting the priority of the anchor UPF to carry services, the problem of user service interruption in the 5GC network is solved, and seamless disaster recovery switching is achieved.
Patent Information
- Application Number
- CN202211013970.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-08-23
- Publication Date
- 2026-11-17
- Estimated Expiration
- 2042-08-23
AI Technical Summary
In a 5GC network environment, when users access or move from the shopping mall area to the shopping mall area, the existing ULCL policy cannot meet the disaster recovery requirements, resulting in service interruption for users and the inability to guide users' 5G internet access services to the original main network anchor UPF.
When a user's intranet fails, the Uplink Classifier User Plane Function (UPF) determines the policy type of the local traffic offloading and disaster recovery strategy to be initiated. If it is the first type, the service is carried through the main anchor UPF. If it is the second type, the priority of the anchor UPF is adjusted to carry the service, ensuring a smooth switch to the main network anchor UPF for traffic diversion.
It achieves seamless switching of user services, ensuring uninterrupted internet access for users. By using the main anchor UPF or adjusting the priority of the anchor UPF to carry services, it smoothly switches to the main network anchor UPF for routing.
Smart Images

Figure CN117693068B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of communications, and more particularly to a local traffic offloading and disaster recovery method, apparatus, device, and computer storage medium. Background Technology
[0002] In a 5GC network environment, the core network selects the UPF closest to the UE as the ULCL UPF, diverting data accessing the internal network to the local network and data accessing the external network to the anchor UPF through the N9 interface, thereby performing reasonable data routing.
[0003] Because of the location-triggered ULCL rules, when a user accesses or moves into the mall area, the TAC triggers the PCF to issue a traffic offloading policy, inserting it into the ULCL-UPF. Local internet traffic is then routed through the ULCL-UPF to the secondary anchor UPF for offloading within the mall. Once this policy is enabled, user internet traffic can only be routed from the ULCL-UPF to the mall's intranet. When the intranet fails, the existing ULCL policy cannot meet disaster recovery requirements and cannot redirect users' 5G internet access to the original main network anchor UPF, resulting in service interruption. Summary of the Invention
[0004] This invention provides a local traffic offloading and disaster recovery method, apparatus, device, and computer storage medium, aiming to achieve seamless switching of user services.
[0005] In a first aspect, the present invention provides a local traffic offloading and disaster recovery method, comprising:
[0006] When a user intranet failure is detected by the Uplink Classifier User Plane Function (UPF), the policy type of the local traffic offloading and disaster recovery policy to be started is determined. Specifically, the network connects the Uplink Classifier UPF to the user intranet firewall via a GRE tunnel, or the network sets the target interface of the Uplink Classifier UPF on the user intranet firewall.
[0007] If the strategy type is the first type, then the first local traffic offloading and disaster recovery strategy is activated, wherein the first local traffic offloading and disaster recovery strategy is to carry services through the main anchor point UPF;
[0008] If the strategy type is the second type, then the second local traffic offloading and disaster recovery strategy is activated, wherein the second local traffic offloading and disaster recovery strategy is to adjust the priority of the anchor point UPF to carry services.
[0009] In one embodiment, initiating the first local traffic offloading and disaster recovery strategy includes:
[0010] The uplink classifier UPF is marked as unavailable and reported to the session management function SMF.
[0011] The Session Management Function (SMF) updates the tunnel information of the anchor point UPF in the Radio Access Network (RAN) based on the unavailability status of the uplink classifier (UPF).
[0012] The base station switches the bearer to the main anchor point UPF based on the tunnel information, and the service is carried through the main anchor point UPF.
[0013] The update of tunnel information for anchor point UPF in the radio access network RAN includes:
[0014] Determine the uplink tunnel information assigned to the radio access network RAN side by the anchor point UPF;
[0015] Determine the downlink tunnel information allocated to the anchor point UPF by the radio access network RAN side;
[0016] Based on the uplink tunnel information and the downlink tunnel information, update the tunnel information of the anchor point UPF in the Radio Access Network (RAN).
[0017] After initiating the first local traffic offloading and disaster recovery strategy, the following is also included:
[0018] When the user's intranet fault is recovered, the uplink classifier UPF is restored to an available state, and services are carried through the uplink classifier UPF.
[0019] The activation of the second local traffic offloading and disaster recovery strategy includes:
[0020] The target interface is sent to the uplink classifier UPF by setting it to an interrupted state through the first anchor point UPF;
[0021] The uplink classifier UPF reduces the priority of the first anchor point UPF based on the interruption status of the target interface.
[0022] The uplink classifier UPF increases the priority of the second anchor UPF based on the interruption status of the target interface, and then carries the service through the second anchor UPF.
[0023] Before sending the target interface to the uplink classifier UPF by setting it to an interrupted state via the first anchor point UPF, the process also includes:
[0024] The priority of the first anchor point UPF is set higher than that of the second anchor point UPF.
[0025] Following the second local traffic offloading and disaster recovery strategy, it also includes:
[0026] When it is determined that the user's intranet fault has been recovered, the priority of the first anchor point UPF and the priority of the second anchor point UPF are restored through the uplink classifier UPF.
[0027] The service is carried through the first anchor point UPF.
[0028] Secondly, the present invention provides a local traffic offloading and disaster recovery device comprising:
[0029] The determination module is used to determine the policy type of the local traffic offloading and disaster recovery policy to be started when the user intranet fails, based on the uplink classifier user plane function UPF. The network can either establish a GRE tunnel from the uplink classifier UPF to the user intranet firewall, or set the target interface of the uplink classifier UPF on the user intranet firewall.
[0030] The first startup module is used to start the first local traffic offloading and disaster recovery strategy if the strategy type is the first type, wherein the first local traffic offloading and disaster recovery strategy is to carry services through the main anchor point UPF.
[0031] The second startup module is used to start a second local traffic offloading and disaster recovery strategy if the strategy type is the second type, wherein the second local traffic offloading and disaster recovery strategy is to adjust the priority of the anchor point UPF to carry services.
[0032] Thirdly, the present invention also provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the program to implement the local load balancing and disaster recovery method described in the first aspect.
[0033] Fourthly, the present invention also provides a non-transitory computer-readable storage medium, the non-transitory computer-readable storage medium comprising a computer program, which, when executed by the processor, implements the local traffic offloading and disaster recovery method described in the first aspect.
[0034] Fifthly, the present invention also provides a computer program product, the computer program product comprising a computer program, which, when executed by the processor, implements the local traffic offloading and disaster recovery method described in the first aspect.
[0035] The local traffic offloading and disaster recovery method, apparatus, device, and computer storage medium provided by this invention determine the policy type of the local traffic offloading and disaster recovery strategy to be initiated when the user intranet fails, based on the uplink classifier user plane function (UPF). Specifically, the network configuration establishes a GRE tunnel from the uplink classifier UPF to the user intranet firewall, or the network configuration sets the target interface of the uplink classifier UPF on the user intranet firewall. If the policy type is a first type, a first local traffic offloading and disaster recovery strategy is initiated, wherein the first local traffic offloading and disaster recovery strategy carries services through the main anchor point UPF. If the policy type is a second type, a second local traffic offloading and disaster recovery strategy is initiated, wherein the second local traffic offloading and disaster recovery strategy adjusts the priority of the anchor point UPF to carry services.
[0036] In the process of local traffic offloading and disaster recovery, when a user's intranet fails in a location-triggered uplink classifier offloading scenario, the present invention carries services through the main anchor UPF according to the policy type of the local traffic offloading and disaster recovery strategy to be started, or adjusts the priority of the anchor UPF to carry services, so that it can smoothly switch to the large network anchor UPF for diversion and go through the operator's public network exit, ensuring that the user's Internet access service is not interrupted and realizing the seamless switching of user services. Attached Figure Description
[0037] To more clearly illustrate the technical solutions of the present invention, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0038] Figure 1 This is a flowchart illustrating the local traffic offloading and disaster recovery method provided by the present invention;
[0039] Figure 2 This is a schematic diagram of the local traffic offloading and disaster recovery device provided by the present invention;
[0040] Figure 3 This is a schematic diagram of the structure of the electronic device provided by the present invention. Detailed Implementation
[0041] To make the objectives, technical solutions, and advantages of this invention clearer, the technical solutions of this invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of this invention. All other embodiments obtained by those skilled in the art based on the embodiments of this invention without creative effort are within the scope of protection of this invention.
[0042] For the sake of brevity and intuitiveness, the following description uses several representative embodiments to illustrate the solution of the present invention. Numerous details in the embodiments are only used to aid in understanding the solution of the present invention. However, it is obvious that the technical solution of the present invention can be implemented without being limited to these details. To avoid unnecessarily obscuring the solution of the present invention, some embodiments are not described in detail, but only a framework is given. In the following text, "comprising" means "including but not limited to," and "according to..." means "at least according to..., but not limited to only according to...". Due to Chinese language habits, unless the quantity of a component is specifically indicated below, it means that the component can be one or more, or can be understood as at least one.
[0043] Furthermore, combined Figures 1 to 3This invention describes the local traffic offloading and disaster recovery method, apparatus, equipment, and computer storage medium provided by the present invention. Figure 1 This is a flowchart illustrating the local traffic offloading and disaster recovery method provided by the present invention; Figure 2 This is a schematic diagram of the local traffic offloading and disaster recovery device provided by the present invention; Figure 3 This is a schematic diagram of the structure of the electronic device provided by the present invention.
[0044] This invention provides an embodiment of a local traffic offloading and disaster recovery method. It should be noted that although the logical order is shown in the flowchart, under certain data conditions, the steps shown or described may be completed in a different order than that shown here.
[0045] This invention uses an electronic device as an example of the execution subject, and a local traffic offloading and disaster recovery system is used as one of the manifestations of the electronic device, but this is not a limitation.
[0046] Definitions: Uplink Classifier (ULCL); User Plane Function (UPF); Session Management Function (SMF); Radio Access Network (RAN); 5G Base Station (the next generation Node B, gNodeB); 4G Base Station (eNodeB).
[0047] Reference Figure 1 , Figure 1 This is a flowchart illustrating the local traffic offloading and disaster recovery method provided by the present invention. The local traffic offloading and disaster recovery method provided in this embodiment of the present invention includes:
[0048] Step 101: When a user intranet failure is determined by the Uplink Classifier User Plane Function (UPF), determine the policy type of the local traffic offloading and disaster recovery policy to be started. Specifically, the network will connect the Uplink Classifier UPF to the user intranet firewall via a GRE tunnel, or the network will set the target interface of the Uplink Classifier UPF on the user intranet firewall.
[0049] It should be noted that the local traffic offloading and disaster recovery system in this embodiment of the invention includes, but is not limited to, the uplink classifier user plane function, namely ULCL-UPF and session management function SMF.
[0050] Furthermore, the local traffic offloading and disaster recovery method provided by this invention can be applied to location-triggered ULCL traffic offloading scenarios. Therefore, when a user's intranet fails in a location-triggered ULCL traffic offloading scenario, the user plane function UPF (ULCL-UPF) of the uplink classifier determines that a failure has occurred in the user's intranet, and determines the policy type of the local traffic offloading and disaster recovery strategy to be initiated. In this case, the network establishes a GRE tunnel from the uplink classifier UPF (ULCL-UPF) to the user's intranet firewall, or the network sets the target interface N6 of the uplink classifier UPF (ULCL-UPF) on the user's intranet firewall.
[0051] Step 102: If the strategy type is the first type, then start the first local traffic offloading and disaster recovery strategy, wherein the first local traffic offloading and disaster recovery strategy is to carry services through the main anchor point UPF.
[0052] Step 103: If the strategy type is the second type, then start the second local traffic offloading and disaster recovery strategy, wherein the second local traffic offloading and disaster recovery strategy is to adjust the priority of the anchor point UPF to carry services.
[0053] Furthermore, if it is determined that the strategy type of the local traffic offloading and disaster recovery strategy to be initiated is the first type, then the first local traffic offloading and disaster recovery strategy needs to be initiated. The first local traffic offloading and disaster recovery strategy is to carry services through the main anchor point UPF.
[0054] Furthermore, if it is determined that the strategy type of the local traffic offloading and disaster recovery strategy to be initiated is the second type, then the second local traffic offloading and disaster recovery strategy needs to be initiated. The second local traffic offloading and disaster recovery strategy is to adjust the priority of the anchor point UPF to carry services.
[0055] The local traffic offloading and disaster recovery method provided by this invention determines the policy type of the local traffic offloading and disaster recovery strategy to be initiated when the user's intranet fails, based on the uplink classifier user plane function (UPF). Specifically, the network establishes a GRE tunnel from the uplink classifier UPF to the user's intranet firewall, or the network sets the target interface of the uplink classifier UPF on the user's intranet firewall. If the policy type is the first type, a first local traffic offloading and disaster recovery strategy is initiated, whereby the service is carried through the primary anchor UPF. If the policy type is the second type, a second local traffic offloading and disaster recovery strategy is initiated, whereby the priority of the anchor UPF for carrying the service is adjusted.
[0056] In the process of local traffic offloading and disaster recovery, when a user's intranet fails in a location-triggered uplink classifier offloading scenario, the present invention carries services through the main anchor UPF according to the policy type of the local traffic offloading and disaster recovery strategy to be started, or adjusts the priority of the anchor UPF to carry services, so that it can smoothly switch to the large network anchor UPF for diversion and go through the operator's public network exit, ensuring that the user's Internet access service is not interrupted and realizing the seamless switching of user services.
[0057] Furthermore, the specific analysis of initiating the first local offloading disaster recovery strategy as described in step 102 is as follows:
[0058] The uplink classifier UPF is marked as unavailable and reported to the session management function SMF.
[0059] The Session Management Function (SMF) updates the tunnel information of the anchor point UPF in the Radio Access Network (RAN) based on the unavailability status of the uplink classifier (UPF).
[0060] The base station switches the bearer to the main anchor point UPF based on the tunnel information, and the service is carried through the main anchor point UPF.
[0061] Specifically, when the uplink classifier UPF (ULCL-UPF) detects that the N6 interface routing is unavailable, it initiates the first local traffic splitting and disaster recovery strategy. The uplink classifier UPF (ULCL-UPF) then reports the unavailable status of the uplink classifier UPF (ULCL-UPF) to the session management function SMF through the N4 interface.
[0062] After receiving the uplink classifier UPF (ULCL-UPF) and its reported unavailable status, the Session Management Function (SMF) sets the status of the uplink classifier UPF (ULCL-UPF) to disabled and updates the CN TunnelInfo of the anchor UPF to the Radio Access Network (RAN) via the N2 SM information message on the N11 interface.
[0063] Furthermore, the specific process for updating the CN Tunnel Info of the anchor point UPF is as follows:
[0064] Determine the uplink tunnel information assigned to the radio access network RAN side by the anchor point UPF;
[0065] Determine the downlink tunnel information allocated to the anchor point UPF by the radio access network RAN side;
[0066] Based on the uplink tunnel information and the downlink tunnel information, update the tunnel information of the anchor point UPF in the Radio Access Network (RAN).
[0067] Specifically, the Session Management Function (SMF) interacts with the Radio Access Network (RAN) side, transmitting the uplink tunnel information allocated by the Anchor Point UPF to the RAN side, thus determining the uplink tunnel information allocated by the Anchor Point UPF to the RAN side. Further, the SMF obtains the downlink tunnel information allocated by the RAN side to the Anchor Point UPF.
[0068] After the Session Management Function (SMF) completes its interaction with the Radio Access Network (RAN), the SMF initiates the PFCP Session Modification procedure to the anchor point UPF based on the uplink and downlink tunnel information, updating the tunnel information of the N3 interface using the uplink and downlink tunnel information.
[0069] It should be noted that, in order to enable users to better experience seamless switching of user services, the base station in this embodiment of the invention is illustrated using a 5G base station gNodeB.
[0070] Therefore, it can be understood that the 5G base station gNodeB switches the N3 interface bearer to the main anchor point UPF of the main network based on the tunnel information of the N3 interface. That is, the main anchor point UPF carries the service and the user's Internet access data is unblocked from the public network exit of the operator's N6 interface.
[0071] Furthermore, upon confirming recovery from a user's intranet failure, the Session Management Function (SMF) restores the Uplink Classifier UPF (ULCL-UPF) to an available, i.e., active, state. Then, services are carried through the Uplink Classifier UPF (ULCL-UPF).
[0072] When a user's intranet fails in a location-triggered uplink classifier-based traffic offloading scenario, the service is carried through the main anchor point UPF according to the policy type of the local traffic offloading and disaster recovery strategy to be started. This allows for a smooth switch to the large network anchored UPF for traffic diversion, which then flows through the operator's public network exit, ensuring uninterrupted internet access for the user and achieving seamless switching of the user's service.
[0073] Furthermore, the specific analysis of activating the second local offloading disaster recovery strategy described in step 103 is as follows:
[0074] The target interface is sent to the uplink classifier UPF by setting it to an interrupted state through the first anchor point UPF;
[0075] The uplink classifier UPF reduces the priority of the first anchor point UPF based on the interruption status of the target interface.
[0076] The uplink classifier UPF increases the priority of the second anchor UPF based on the interruption status of the target interface, and then carries the service through the second anchor UPF.
[0077] It should be noted that the standard uplink classifier ULCL routing involves three UPFs. The uplink classifier UPF (ULCL-UPF) determines how data packets are routed and communicates with the first and second anchor UPFs via the N9 interface. The first and second anchor UPFs (PSA1 and PSA2) communicate with the DN via the N6 interface. Considering cost and engineering factors, the uplink classifier UPF (ULCL-UPF) and the second anchor UPF (PSA2) are generally combined.
[0078] Specifically, the priorities of the first anchor UPF and the second anchor UPF need to be set on the uplink classifier UPF (ULCL-UPF), where the priority of the first anchor UPF is higher than that of the second anchor UPF.
[0079] Furthermore, when the N3 interface data stream reaches the uplink classifier UPF (ULCL-UPF), the uplink classifier UPF (ULCL-UPF) prioritizes the first anchor UPF with the highest priority as the N9 exit point based on the priority of the anchor UPFs. Internet access data is then routed to the user's intranet via the first anchor UPF.
[0080] When a user's intranet fails, the first anchor point UPF detects that the N6 interface route is unreachable, thus determining that the N6 interface is in an interrupted state. The first anchor point UPF sends the interrupted state of the N6 interface to the uplink classifier UPF (ULCL-UPF) through the N9 interface, thereby informing the uplink classifier UPF (ULCL-UPF) that the first anchor point UPF is unavailable.
[0081] Furthermore, after receiving the interrupt status of the N6 interface sent by the first anchor point UPF, the uplink classifier UPF (ULCL-UPF) lowers the priority of the first anchor point UPF according to the interrupt status of the N6 interface, and raises the priority of the second anchor point UPF according to the interrupt status of the N6 interface.
[0082] Furthermore, internet access services are now routed to the second anchor point UPF based on priority by the uplink classifier UPF (ULCL-UPF). In other words, the services are carried through the second anchor point UPF and routed to the main network (operator's public network) exit, ensuring a smooth migration of services.
[0083] When the user's intranet fault is confirmed to be resolved, the uplink classifier UPF (ULCL-UPF) restores the priority of the first anchor point UPF and the priority of the second anchor point UPF, that is, increases the priority of the first anchor point UPF and decreases the priority of the second anchor point UPF.
[0084] Furthermore, internet access services are now routed to the first anchor point UPF based on priority by the uplink classifier UPF (ULCL-UPF). In other words, the services are carried through the first anchor point UPF and routed to the main network (operator's public network) exit, ensuring a smooth migration of services.
[0085] When a user's intranet fails in a location-triggered uplink classifier-based traffic offloading scenario, the priority of the anchor point UPF carrying services is adjusted according to the policy type of the local traffic offloading and disaster recovery strategy to be initiated. This allows for a smooth switch to the large network anchored UPF for traffic diversion, which then flows through the operator's public network exit, ensuring uninterrupted internet access for users and achieving seamless switching of user services.
[0086] Furthermore, the local traffic offloading and disaster recovery device provided by the present invention and the local traffic offloading and disaster recovery method provided by the present invention correspond to each other.
[0087] Figure 2 As shown, Figure 2 This is a schematic diagram of the local traffic offloading and disaster recovery device provided by the present invention. The local traffic offloading and disaster recovery device includes:
[0088] The determination module 201 is used to determine the policy type of the local traffic offloading and disaster recovery policy to be started when the user intranet is determined to have a fault through the uplink classifier user plane function UPF. The network can either connect the uplink classifier UPF to the user intranet firewall via a GRE tunnel or set the target interface of the uplink classifier UPF on the user intranet firewall.
[0089] The first startup module 202 is used to start a first local traffic offloading and disaster recovery strategy if the strategy type is the first type, wherein the first local traffic offloading and disaster recovery strategy is to carry services through the main anchor point UPF.
[0090] The second startup module 203 is used to start a second local traffic offloading and disaster recovery strategy if the strategy type is the second type, wherein the second local traffic offloading and disaster recovery strategy is to adjust the priority of the anchor point UPF to carry services.
[0091] Furthermore, the first startup module 202 is also used for:
[0092] The uplink classifier UPF is marked as unavailable and reported to the session management function SMF.
[0093] The Session Management Function (SMF) updates the tunnel information of the anchor point UPF in the Radio Access Network (RAN) based on the unavailability status of the uplink classifier (UPF).
[0094] The base station switches the bearer to the main anchor point UPF based on the tunnel information, and the service is carried through the main anchor point UPF.
[0095] Furthermore, the first startup module 202 is also used for:
[0096] Determine the uplink tunnel information assigned to the radio access network RAN side by the anchor point UPF;
[0097] Determine the downlink tunnel information allocated to the anchor point UPF by the radio access network RAN side;
[0098] Based on the uplink tunnel information and the downlink tunnel information, update the tunnel information of the anchor point UPF in the Radio Access Network (RAN).
[0099] Furthermore, the first startup module 202 is also used for:
[0100] When the user's intranet fault is recovered, the uplink classifier UPF is restored to an available state, and services are carried through the uplink classifier UPF.
[0101] Furthermore, the second startup module 203 is also used for:
[0102] The target interface is sent to the uplink classifier UPF by setting it to an interrupted state through the first anchor point UPF;
[0103] The uplink classifier UPF reduces the priority of the first anchor point UPF based on the interruption status of the target interface.
[0104] The uplink classifier UPF increases the priority of the second anchor UPF based on the interruption status of the target interface, and then carries the service through the second anchor UPF.
[0105] Furthermore, the local disaster recovery device also includes a configuration module for:
[0106] The priority of the first anchor point UPF is set higher than that of the second anchor point UPF.
[0107] Furthermore, the second startup module 203 is also used for:
[0108] When it is determined that the user's intranet fault has been recovered, the priority of the first anchor point UPF and the priority of the second anchor point UPF are restored through the uplink classifier UPF.
[0109] The service is carried through the first anchor point UPF.
[0110] The specific embodiments of the local traffic offloading and disaster recovery device provided by the present invention are basically the same as the embodiments of the local traffic offloading and disaster recovery method described above, and will not be repeated here.
[0111] Figure 3 An example is a schematic diagram of the physical structure of an electronic device, such as... Figure 3 As shown, the electronic device may include: a processor 310, a communication interface 320, a memory 330, and a communication bus 340, wherein the processor 310, the communication interface 320, and the memory 330 communicate with each other through the communication bus 340. The processor 310 can call logical instructions in the memory 330 to execute a local disaster recovery method, which includes:
[0112] When a user intranet failure is detected by the Uplink Classifier User Plane Function (UPF), the policy type of the local traffic offloading and disaster recovery policy to be started is determined. Specifically, the network connects the Uplink Classifier UPF to the user intranet firewall via a GRE tunnel, or the network sets the target interface of the Uplink Classifier UPF on the user intranet firewall.
[0113] If the strategy type is the first type, then the first local traffic offloading and disaster recovery strategy is activated, wherein the first local traffic offloading and disaster recovery strategy is to carry services through the main anchor point UPF;
[0114] If the strategy type is the second type, then the second local traffic offloading and disaster recovery strategy is activated, wherein the second local traffic offloading and disaster recovery strategy is to adjust the priority of the anchor point UPF to carry services.
[0115] Furthermore, the logical instructions in the aforementioned memory 330 can be implemented as software functional units and, when sold or used as independent products, can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art, or a part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present invention. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.
[0116] On the other hand, the present invention also provides a computer program product, comprising a computer program stored on a non-transitory computer-readable storage medium, the computer program including program instructions, which, when executed by a computer, enable the computer to execute the local disaster recovery method provided by the above methods, the method comprising:
[0117] When a user intranet failure is detected by the Uplink Classifier User Plane Function (UPF), the policy type of the local traffic offloading and disaster recovery policy to be started is determined. Specifically, the network connects the Uplink Classifier UPF to the user intranet firewall via a GRE tunnel, or the network sets the target interface of the Uplink Classifier UPF on the user intranet firewall.
[0118] If the strategy type is the first type, then the first local traffic offloading and disaster recovery strategy is activated, wherein the first local traffic offloading and disaster recovery strategy is to carry services through the main anchor point UPF;
[0119] If the strategy type is the second type, then the second local traffic offloading and disaster recovery strategy is activated, wherein the second local traffic offloading and disaster recovery strategy is to adjust the priority of the anchor point UPF to carry services.
[0120] In another aspect, the present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, is implemented to perform the aforementioned local load balancing and disaster recovery methods, the method comprising:
[0121] When a user intranet failure is detected by the Uplink Classifier User Plane Function (UPF), the policy type of the local traffic offloading and disaster recovery policy to be started is determined. Specifically, the network connects the Uplink Classifier UPF to the user intranet firewall via a GRE tunnel, or the network sets the target interface of the Uplink Classifier UPF on the user intranet firewall.
[0122] If the strategy type is the first type, then the first local traffic offloading and disaster recovery strategy is activated, wherein the first local traffic offloading and disaster recovery strategy is to carry services through the main anchor point UPF;
[0123] If the strategy type is the second type, then the second local traffic offloading and disaster recovery strategy is activated, wherein the second local traffic offloading and disaster recovery strategy is to adjust the priority of the anchor point UPF to carry services.
[0124] The device embodiments described above are merely illustrative. The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the modules can be selected to achieve the purpose of this embodiment according to actual needs. Those skilled in the art can understand and implement this without any creative effort.
[0125] Through the above description of the embodiments, those skilled in the art can clearly understand that each embodiment can be implemented by means of software plus necessary general-purpose hardware platforms, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solutions, in essence or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, magnetic disk, optical disk, etc., and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute the methods described in the various embodiments or some parts of the embodiments.
[0126] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, and not to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features; and these modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims
1. A local split-brain disaster recovery method, characterized in that, include: When a user intranet failure is detected by the Uplink Classifier User Plane Function (UPF), the policy type of the local traffic offloading and disaster recovery policy to be started is determined. Specifically, the network connects the Uplink Classifier UPF to the user intranet firewall via a GRE tunnel, or the network sets the target interface of the Uplink Classifier UPF on the user intranet firewall. If the strategy type is the first type, then the first local traffic offloading and disaster recovery strategy is activated, wherein the first local traffic offloading and disaster recovery strategy is to carry services through the main anchor point UPF; If the strategy type is the second type, then the second local traffic offloading and disaster recovery strategy is activated, wherein the second local traffic offloading and disaster recovery strategy is to adjust the priority of the anchor point UPF to carry services. The activation of the first local traffic offloading and disaster recovery strategy includes: The uplink classifier UPF is marked as unavailable and reported to the session management function SMF. The Session Management Function (SMF) updates the tunnel information of the anchor point UPF in the Radio Access Network (RAN) based on the unavailability status of the uplink classifier (UPF). The base station switches the bearer to the main anchor point UPF based on the tunnel information, and the service is carried through the main anchor point UPF.
2. The local offload disaster recovery method of claim 1, wherein, The update of tunnel information for anchor point UPF in the radio access network (RAN) includes: Determine the uplink tunnel information assigned to the radio access network RAN side by the anchor point UPF; Determine the downlink tunnel information allocated to the anchor point UPF by the radio access network RAN side; Based on the uplink tunnel information and the downlink tunnel information, update the tunnel information of the anchor point UPF in the Radio Access Network (RAN).
3. The local offload disaster recovery method of any of claims 1-2, wherein, After initiating the first local traffic offloading and disaster recovery strategy, the following is also included: When it is determined that the user's internal network fault has been recovered, the uplink classifier UPF is restored to an available state, and services are carried through the uplink classifier UPF.
4. The local offload disaster recovery method of claim 1, wherein, The activation of the second local traffic offloading and disaster recovery strategy includes: The target interface is sent to the uplink classifier UPF by setting it to an interrupted state through the first anchor point UPF; The uplink classifier UPF reduces the priority of the first anchor point UPF based on the interruption status of the target interface. The uplink classifier UPF increases the priority of the second anchor UPF based on the interruption status of the target interface, and then carries the service through the second anchor UPF.
5. The local offload disaster recovery method of claim 4, wherein, Before sending the target interface to the uplink classifier UPF by setting it to an interrupted state via the first anchor point UPF, the process also includes: The priority of the first anchor point UPF is set higher than that of the second anchor point UPF.
6. The local offload method of any one of claims 4-5, wherein, Following the second local traffic offloading and disaster recovery strategy, it also includes: When it is determined that the user's intranet fault has been recovered, the priority of the first anchor point UPF and the priority of the second anchor point UPF are restored through the uplink classifier UPF. The service is carried through the first anchor point UPF.
7. A local split-brain disaster recovery device, characterized in that, include: The determination module is used to determine the policy type of the local traffic offloading and disaster recovery policy to be started when the user intranet fails, based on the uplink classifier user plane function UPF. The network can either establish a GRE tunnel from the uplink classifier UPF to the user intranet firewall, or set the target interface of the uplink classifier UPF on the user intranet firewall. The first startup module is used to start the first local traffic offloading and disaster recovery strategy if the strategy type is the first type, wherein the first local traffic offloading and disaster recovery strategy is to carry services through the main anchor point UPF. The second startup module is used to start the second local traffic offloading and disaster recovery strategy if the strategy type is the second type, wherein the second local traffic offloading and disaster recovery strategy is to adjust the priority of the anchor point UPF to carry services. The first startup module is also used for: The uplink classifier UPF is marked as unavailable and reported to the session management function SMF. The Session Management Function (SMF) updates the tunnel information of the anchor point UPF in the Radio Access Network (RAN) based on the unavailability status of the uplink classifier (UPF). The base station switches the bearer to the main anchor point UPF based on the tunnel information, and the service is carried through the main anchor point UPF.
8. An electronic device comprising a memory, a processor, and a computer program stored on the memory and executable on the processor, characterized in that, When the processor executes the computer program, it implements the local traffic offloading and disaster recovery method according to any one of claims 1 to 6.
9. A non-transitory computer-readable storage medium comprising a computer program, characterized in that, When the computer program is executed by the processor, it implements the local traffic offloading and disaster recovery method according to any one of claims 1 to 6.
Citation Information
Patent Citations
Communication method and communication device
CN113473508A
Fault processing method and device for shunting UPF, equipment and storage medium
CN114615132A
