CN118019034A - Disaster recovery method, device and equipment for 5G core network - Google Patents

Disaster recovery method, device and equipment for 5G core network Download PDF

Info

Publication number
CN118019034A
CN118019034A CN202410069931.0A CN202410069931A CN118019034A CN 118019034 A CN118019034 A CN 118019034A CN 202410069931 A CN202410069931 A CN 202410069931A CN 118019034 A CN118019034 A CN 118019034A
Authority
CN
China
Prior art keywords
pcf
network element
disaster recovery
policy
policy controller
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202410069931.0A
Other languages
Chinese (zh)
Inventor
陈斯畅
孙业全
邱涛
赵晓军
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
GHT CO Ltd
Original Assignee
GHT CO Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by GHT CO Ltd filed Critical GHT CO Ltd
Priority to CN202410069931.0A priority Critical patent/CN118019034A/en
Publication of CN118019034A publication Critical patent/CN118019034A/en
Pending legal-status Critical Current

Links

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses a disaster recovery method, a device and equipment of a 5G core network, comprising the following steps: when the PCF network element is started, registering a process PID, an IP address, a port number and a message queue ID to the PCF disaster recovery network element; initializing a first policy controller context of the PCF network element according to the PCF disaster recovery network element; when other network elements in the 5G core network initiate a policy update request to the PCF network element, controlling the PCF network element to update a first policy controller context and synchronizing to a second policy controller context of the PCF disaster recovery network element; and when the PCF process downtime is detected, controlling the PCF disaster recovery network element to take over the strategy for issuing service, and restarting the PCF process. By adopting the embodiment of the invention, the state of the PCF network element can be monitored in real time, when the PCF network element is down, the PCF disaster recovery network element can quickly sense and temporarily replace the role of the PCF network element, and meanwhile, the PCF network element is restarted, so that the strategy issuing service is not interrupted, the problem of data interruption is avoided, and the method has higher reliability.

Description

Disaster recovery method, device and equipment for 5G core network
Technical Field
The present invention relates to the field of mobile communications technologies, and in particular, to a disaster recovery method, apparatus, and device for a 5G core network.
Background
The 5G core network has the characteristics of large capacity and high integration, wherein PCF network elements (Policy Control FFunction, policy controller network elements) provide mobility, terminal access selection and PDU session related policies for AMF network elements (ACCESS AND Mobility Management Function, access mobility management network elements) and SMF network elements (Session Management Function, session management network elements). If the PCF network element malfunctions, other network element services of the core network can be affected, and network service interruption is caused, so that economic loss is caused. Therefore, how to quickly recover network element service and data when the PCF network element fails, and reduce or avoid the influence on other network elements is an important problem to be solved in building a highly reliable 5G network.
In the prior art, the PDU session information is solidified and stored, and when the network element is restarted due to faults, the local recovery can be realized through solidifying the stored PDU session information. However, the method of solidifying, storing and recovering can only reduce the processing pressure during network recovery, but can not shorten the time of network interruption and recovery, and communication service can still be interrupted.
Disclosure of Invention
The invention aims to solve the technical problem of providing a disaster recovery method, a disaster recovery device and disaster recovery equipment for a 5G core network, which can ensure the stability of the 5G core network without interrupting policy issuing service when a PCF network element fails.
In order to solve the above technical problems, an embodiment of the present invention provides a disaster recovery method for a 5G core network, including:
when the PCF network element is started, registering a process PID, an IP address, a port number and a message queue ID to the PCF disaster recovery network element;
initializing a first policy controller context of the PCF network element according to the PCF disaster recovery network element;
when other network elements in the 5G core network initiate a policy update request to the PCF network element, controlling the PCF network element to update a first policy controller context and synchronizing to a second policy controller context of the PCF disaster recovery network element;
and when the PCF process downtime is detected, controlling the PCF disaster recovery network element to take over the strategy for issuing service, and restarting the PCF process.
As an improvement of the above solution, the method further includes:
when the PCF network element is normally closed, requesting the PCF disaster recovery network element to de-register;
and when the PCF disaster recovery network element receives the de-registration request, controlling the PCF disaster recovery network element to empty the context of the second policy controller.
As an improvement of the above solution, initializing, according to the PCF disaster recovery network element, a first policy controller context of the PCF network element includes:
Requesting the PCF disaster recovery network element to read the context content of the second policy controller;
If the reading is successful, initializing a first policy controller context of the PCF network element by using data returned by the PCF disaster recovery network element;
If the reading fails, initializing the first strategy controller context by using a preset default value.
As an improvement of the above solution, when the PCF process is detected to be down, controlling the PCF disaster recovery network element to take over the policy issuing service, and restarting the PCF process, including:
when the PCF process downtime is detected, the PCF disaster recovery network element is controlled to occupy the IP address and the port number registered by the PCF network element;
Controlling the PCF disaster recovery network element to take over policy issuing service on the IP address and the port number;
And controlling the PCF process to restart.
As an improvement of the scheme, detecting whether the PCF process is down comprises the following steps:
Obtaining the running state of the PCF network element according to the process PID registered by the PCF network element and the ID of the message queue;
And judging whether the PCF process is down or not according to the running state of the PCF network element.
As an improvement of the above solution, when the PCF process downtime is detected, controlling the PCF disaster recovery network element to take over the policy issuing service, and restarting the PCF process, further includes:
after the PCF process is restarted successfully, the PCF disaster recovery network element is controlled to stop strategy issuing service;
and controlling the PCF disaster recovery network element to give out the currently occupied IP address and port number.
As an improvement of the above solution, when the other network elements in the 5G core network initiate a policy update request to the PCF network element, controlling the PCF network element to update a first policy controller context and synchronize to a second policy controller context of the PCF disaster recovery network element, including:
when other network elements in the 5G core network initiate a policy update request to the PCF network element, the PCF network element provides policies for the other network elements according to request information;
controlling the PCF network element to update a first policy controller context according to the policy provided by the PCF network element;
And synchronizing the first policy controller context to a second policy controller context of the PCF disaster recovery network element through an HTTP2 interface.
The embodiment of the invention also provides a disaster recovery device of the 5G core network, which comprises:
The PCF disaster recovery network element registration module is used for registering a process PID, an IP address, a port number and a message queue ID to the PCF disaster recovery network element when the PCF network element is started;
A first policy controller context initializing module, configured to initialize a first policy controller context of the PCF network element according to the PCF disaster recovery network element;
a second policy controller context synchronization module, configured to control the PCF network element to update the first policy controller context and synchronize to the second policy controller context of the PCF disaster recovery network element when other network elements in the 5G core network initiate a policy update request to the PCF network element;
and the policy issuing service taking-over module is used for controlling the PCF disaster recovery network element to take over the policy issuing service and restarting the PCF process when the PCF process downtime is detected.
As an improvement of the above solution, the apparatus further comprises:
The PCF disaster recovery network element de-registration module is used for requesting de-registration from the PCF disaster recovery network element when the PCF network element is normally closed;
and the second policy controller context emptying module is used for controlling the PCF disaster recovery network element to empty the second policy controller context when the PCF disaster recovery network element receives the request for de-registration.
The embodiment of the invention also provides disaster recovery equipment of the 5G core network, which comprises a processor, a memory and a computer program stored in the memory and configured to be executed by the processor, wherein the disaster recovery method of the 5G core network is realized when the processor executes the computer program.
Compared with the prior art, the disaster recovery method, the disaster recovery device and the disaster recovery equipment of the 5G core network are disclosed by the invention, when the PCF network element is started, a process PID, an IP address, a port number and a message queue ID are registered to the PCF disaster recovery network element; initializing a first policy controller context of the PCF network element according to the PCF disaster recovery network element; when other network elements in the 5G core network initiate a policy update request to the PCF network element, controlling the PCF network element to update a first policy controller context and synchronizing to a second policy controller context of the PCF disaster recovery network element; and when the PCF process downtime is detected, controlling the PCF disaster recovery network element to take over the strategy for issuing service, and restarting the PCF process. By adopting the embodiment of the invention, the state of the PCF network element can be monitored in real time, when the PCF network element is down, the PCF disaster recovery network element can quickly sense and temporarily replace the role of the PCF network element, and meanwhile, the PCF network element is restarted, so that the strategy issuing service is not interrupted, the problem of data interruption is avoided, and the method has higher reliability.
Drawings
Fig. 1 is a schematic diagram of an architecture of a 5G core network according to an embodiment of the present invention;
Fig. 2 is a flowchart illustrating a first step of a disaster recovery method for a 5G core network according to an embodiment of the present invention;
fig. 3 is a flow chart illustrating a second step of a disaster recovery method for a 5G core network according to an embodiment of the present invention;
Fig. 4 is a schematic structural diagram of a disaster recovery device for a 5G core network according to an embodiment of the present invention.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present invention, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
In the description of the specification and claims, it should be understood that the terms first, second, etc. are used solely for the purpose of distinguishing between similar features and not necessarily for the purpose of describing a sequential or chronological order, and not necessarily for the purpose of indicating or implying a relative importance or implicitly indicating the number of features indicated. The terms are interchangeable where appropriate. Thus, a feature defining "a first" or "a second" may explicitly or implicitly include at least one such feature.
Referring to fig. 1, an architecture diagram of a 5G core network according to an embodiment of the present invention is shown. The 5G core network is composed of PCF network element (Policy Control Function, policy controller network element), AMF network element (ACCESS AND Mobility Management Function, access mobility management network element), SMF network element (Session Management Function, session management network element), UPF network element (User Plane Function, user plane function network element) and PCF disaster recovery network element. Wherein, the interface between the PCF network element and the AMF network element adopts an N15 interface; the interface between the PCF network element and the SMF network element adopts an N7 interface; the interface between the AMF network element and the SMF network element adopts an N11 interface; the interface between the SMF network element and the UPF network element adopts an N4 interface; and the PCF network element and the PCF disaster recovery network element communicate through an HTTP2 interface.
It should be noted that, the architecture of the 5G core network is merely taken as an example, and in practical application, the 5G core network may further include other base network elements, and further interfaces in the 5G mobile communication network are adopted for connection, which does not affect the beneficial effects obtained by the present invention.
Referring to fig. 2, a flow chart of a first step of a disaster recovery method for a 5G core network according to an embodiment of the present invention is shown. In this embodiment, the disaster recovery method of the 5G core network is specifically performed through steps S1 to S4:
S1, when the PCF network element is started, registering a process PID, an IP address, a port number and a message queue ID to the PCF disaster recovery network element.
S2, initializing a first policy controller context of the PCF network element according to the PCF disaster recovery network element.
And S3, when other network elements in the 5G core network initiate a policy update request to the PCF network element, controlling the PCF network element to update a first policy controller context and synchronizing to a second policy controller context of the PCF disaster recovery network element.
And S4, when the PCF process downtime is detected, controlling the PCF disaster recovery network element to take over the policy issuing service, and restarting the PCF process.
It should be noted that, the PCF disaster recovery network element includes a second policy controller context, when the PCF network element works normally, the second policy controller context is used for updating according to the first policy controller context of the PCF network element, and when the PCF network element is down, the PCF disaster recovery network element temporarily takes over the role of the PCF network element. The function of the PCF disaster recovery network element is not completely consistent with that of the PCF network element, and the function of issuing service only by the policy of the PCF network element can avoid data transmission interruption caused by data loss, thereby effectively reducing the disaster recovery backup pressure of the 5G core network.
In the prior art, session information is stored by solidification, and when a network element fails, local recovery is realized by reading the session information stored by solidification, and it can be understood that the method of solidification, storage and recovery can only reduce the processing pressure during network recovery, and can not shorten the time of network interruption and recovery, so that a second-level service vacuum period exists. Compared with the prior art, the disaster recovery method for the 5G core network provided by the embodiment of the invention has the advantages that when the PCF network element breaks down, the PCF disaster recovery network element temporarily takes over the strategy to issue service, so that network requests can be processed in time, the normal operation of the 5G core network is ensured, and the problem of data interruption is avoided.
As a preferred embodiment, after performing the steps S1 to S4, the disaster recovery method of the 5G core network is further performed by steps S5 and S6:
S5, when the PCF network element is normally closed, the PCF disaster recovery network element is requested to be de-registered.
And S6, when the PCF disaster recovery network element receives the de-registration request, controlling the PCF disaster recovery network element to empty the context of the second policy controller.
When the PCF network element is in a non-working state, it may be that the PCF network element is down, or the PCF network element is normally closed. For the condition of the downtime of the PCF network element, the PCF disaster recovery network element takes over the strategy to issue service so as to continue normal communication; when the PCF network element is normally closed, the PCF network element and the PCF disaster recovery network element can be regarded as the working contents of the stage without taking over policy issuing service. When the PCF network element is normally closed, the PCF disaster recovery network element is controlled to empty the context of the second policy controller, so that the influence of residual data on the data forwarding after the PCF network element is restarted can be avoided, and the safety problem caused by data leakage can be avoided.
As a preferred embodiment, detecting whether the PCF process is down includes:
Obtaining the running state of the PCF network element according to the process PID registered by the PCF network element and the ID of the message queue;
And judging whether the PCF process is down or not according to the running state of the PCF network element.
After the PCF network element is successfully registered, the PCF disaster recovery network element can continuously detect the operation state of the PCF network element at a millisecond frequency according to the registration content of the PCF network element. When the PCF network element abnormally exits the process, the PCF disaster recovery network element can rapidly detect the PCF network element process exit and provide policy issuing service to ensure the stable operation of network service; the PCF disaster recovery network element can also judge whether the action of the PCF network element exiting the process is normal according to the registration content, and make the operation corresponding to the action.
As a preferred embodiment, initializing the first policy controller context of the PCF network element according to the PCF disaster recovery network element includes:
Requesting the PCF disaster recovery network element to read the context content of the second policy controller;
If the reading is successful, initializing a first policy controller context of the PCF network element by using data returned by the PCF disaster recovery network element;
If the reading fails, initializing the first strategy controller context by using a preset default value.
It will be appreciated that when the PCF network element is started, a first policy controller context of the PCF network element needs to be initialized. If the start of the PCF network element is caused by downtime restart, the context of the first policy controller is backed up in the context of the second policy controller of the PCF disaster recovery network element, so that the PCF network element can be recovered by reading the context of the second policy controller; if the start of the PCF network element is not caused by downtime restarting, but is in a normal start state, at this time, the context of the second policy controller of the PCF disaster recovery network element is empty, and a result of failure in reading is returned, and then a preset default value is used to initialize the context of the first policy controller. By adopting the embodiment of the invention, the initialization operation of the first policy controller context of the PCF network element under various conditions can be realized.
As a preferred embodiment, when the other network element in the 5G core network initiates a policy update request to the PCF network element, controlling the PCF network element to update a first policy controller context and synchronize to a second policy controller context of the PCF disaster recovery network element, including:
when other network elements in the 5G core network initiate a policy update request to the PCF network element, the PCF network element provides policies for the other network elements according to request information;
controlling the PCF network element to update a first policy controller context according to the policy provided by the PCF network element;
And synchronizing the first policy controller context to a second policy controller context of the PCF disaster recovery network element through an HTTP2 interface.
For example, the first policy controller context stores an application policy of the user terminal, which includes data information such as a network function ID, a uniform resource identifier plan, an IP address, an IP port number, a default background data transmission association ID, a network function service, a policy control function service uniform resource identifier, a policy control function support feature, an application session pool, access and mobility management function status subscription data, and the like. When the SMF network element requests the PCF network element for policy creation, modification or deletion through an N7 interface, the PCF network element provides related policies for the SMF according to the requested information, and stores policy message data in a policy controller context, so as to avoid the problem of communication interruption caused by downtime of the PCF network element, and synchronously send the policy controller context to a disaster recovery policy controller network element through an internal HTTP2 interface, thereby completing backup of application policies.
Preferably, when detecting that the PCF process is down, controlling the PCF disaster recovery network element to take over the policy issuing service, and restarting the PCF process, including:
when the PCF process downtime is detected, the PCF disaster recovery network element is controlled to occupy the IP address and the port number registered by the PCF network element;
Controlling the PCF disaster recovery network element to take over policy issuing service on the IP address and the port number;
And controlling the PCF process to restart.
In order to implement the work that the PCF disaster recovery network element takes over the PCF network element, a policy issuing service is executed, and the PCF disaster recovery network element needs to be simulated as the PCF network element. According to the registration information when the PCF network element is started, the IP address and the port number of the PCF network element for policy issuing service can be obtained, and the policy issuing service of the PCF network element is taken over by modifying the IP address and the port number of the PCF disaster recovery network element.
Further, as a preferred embodiment, when the PCF process is detected to be down, the method for disaster recovery of the 5G core network further includes:
after the PCF process is restarted successfully, the PCF disaster recovery network element is controlled to stop strategy issuing service;
and controlling the PCF disaster recovery network element to give out the currently occupied IP address and port number.
When the PCF network element is down, the PCF disaster recovery network element temporarily uses the IP address and the port number of the PCF network element in order to take over the policy issuing service, and when the PCF process is restarted successfully, that is, the PCF network element is detected to be started, the PCF network element enters a normal working state at the moment, and the policy issuing service can be normally performed. By controlling the PCF disaster recovery network element to stop strategy issuing service and yielding the currently occupied IP address and port number, the PCF network element can be enabled to enter a normal working state.
As an example, referring to fig. 3, a flow chart of a second step of a disaster recovery method for a 5G core network according to an embodiment of the present invention is shown. When the PCF network element is restarted or normally started due to downtime, the PCF network element is controlled to register a process PID, an IP address, a port number and a message queue ID to the PCF disaster recovery network element through an internal HTTP2 interface. After successful registration, the PCF network element requests the second policy controller context of the PCF disaster recovery network element through an internal HTTP2 interface, if the request fails, the first policy controller context of the PCF network element is initialized by using a preset default value, and the policy is applied to other communication network elements; if the request is successful, the PCF disaster recovery network element is controlled to give out the currently occupied IP address and port number, the policy issuing service is closed, and the context of the first policy controller is initialized by using the data responded by the PCF disaster recovery network element. In the running process of the 5G core network, if the first strategy controller context is updated, synchronizing the updated content to a second strategy controller context through an internal HTTP2 interface; if the PCF network element downtime is detected, the PCF disaster recovery network element is controlled to occupy the IP address and port number registered by the PCF network element, take over policy issuing service and restart the PCF network element at the same time; and if the PCF network element is detected to be normally closed, controlling the PCF disaster recovery network element to empty the context of the second policy controller.
By adopting the disaster recovery method of the 5G core network, when the PCF network element is down, the PCF disaster recovery network element can be controlled to quickly sense and replace policy issuing service, and data recovery is provided for the restarted PCF network element, so that the consistency of the data information of the 5G core network before and after the failure is ensured, the interruption of data transmission caused by data loss and data recovery transition period is avoided, and the method has higher reliability.
Referring to fig. 4, a schematic structural diagram of a disaster recovery device for a 5G core network is provided in an embodiment of the present invention. The disaster recovery device 10 of the 5G core network comprises a PCF disaster recovery network element registration module 11, a first policy controller context initialization module 12, a second policy controller context synchronization module 13 and a policy issuing service take-over module 14; wherein,
The PCF disaster recovery network element registration module 11 is configured to register a process PID, an IP address, a port number, and a message queue ID with the PCF disaster recovery network element when the PCF network element is started;
The first policy controller context initializing module 12 is configured to initialize a first policy controller context of the PCF network element according to the PCF disaster recovery network element;
The second policy controller context synchronization module 13 is configured to control the PCF network element to update the first policy controller context and synchronize to the second policy controller context of the PCF disaster recovery network element when other network elements in the 5G core network initiate a policy update request to the PCF network element;
The policy issuing service take-over module 14 is configured to control the PCF disaster recovery network element to take over the policy issuing service and restart the PCF process when the PCF process downtime is detected.
As a preferred embodiment, the disaster recovery device of the 5G core network further includes a PCF disaster recovery network element de-registration module 15 and a second policy controller context emptying module 16; wherein,
The PCF disaster recovery network element de-registration module 15 is configured to request de-registration from the PCF disaster recovery network element when the PCF network element is normally closed;
The second policy controller context emptying module 16 is configured to control the PCF disaster recovery network element to empty the second policy controller context when the PCF disaster recovery network element receives the request for de-registration.
Preferably, the initializing the first policy controller context of the PCF network element according to the PCF disaster recovery network element includes:
Requesting the PCF disaster recovery network element to read the context content of the second policy controller;
If the reading is successful, initializing a first policy controller context of the PCF network element by using data returned by the PCF disaster recovery network element;
If the reading fails, initializing the first strategy controller context by using a preset default value.
As a preferred embodiment, when the PCF process is detected to be down, controlling the PCF disaster recovery network element to take over the policy issuing service, and restarting the PCF process, including:
when the PCF process downtime is detected, the PCF disaster recovery network element is controlled to occupy the IP address and the port number registered by the PCF network element;
Controlling the PCF disaster recovery network element to take over policy issuing service on the IP address and the port number;
And controlling the PCF process to restart.
Preferably, when the PCF process is detected to be down, the PCF disaster recovery network element is controlled to take over the policy issuing service, and after the PCF process is restarted, the method further includes:
after the PCF process is restarted successfully, the PCF disaster recovery network element is controlled to stop strategy issuing service;
and controlling the PCF disaster recovery network element to give out the currently occupied IP address and port number.
The disaster recovery device of the 5G core network provided by the embodiment of the invention can control the PCF disaster recovery network element to quickly sense and replace policy issuing service when the PCF network element is down, and provide data recovery for the restarted PCF network element so as to ensure the consistency of the data information of the 5G core network before and after the failure, avoid data transmission interruption caused by data loss and data recovery transition period, and has stronger reliability.
The embodiment of the invention also provides disaster recovery equipment of the 5G core network, which comprises a processor, a memory and a computer program stored in the memory and configured to be executed by the processor, wherein the working principle and beneficial effects of the processor and the computer program are in one-to-one correspondence when the processor executes the computer program to realize the disaster recovery method of the 5G core network, so that the description is omitted.
Those skilled in the art will appreciate that implementing all or part of the above-described methods in accordance with the embodiments may be accomplished by way of a computer program stored on a computer readable storage medium, which when executed may comprise the steps of the embodiments of the methods described above. The storage medium may be a magnetic disk, an optical disk, a Read-Only Memory (ROM), a random-access Memory (Random Access Memory, RAM), or the like.
While the foregoing is directed to the preferred embodiments of the present invention, it will be appreciated by those skilled in the art that changes and modifications may be made without departing from the principles of the invention, such changes and modifications are also intended to be within the scope of the invention.

Claims (10)

1. The disaster recovery method for the 5G core network is characterized by comprising the following steps of
When the PCF network element is started, registering a process PID, an IP address, a port number and a message queue ID to the PCF disaster recovery network element;
initializing a first policy controller context of the PCF network element according to the PCF disaster recovery network element;
when other network elements in the 5G core network initiate a policy update request to the PCF network element, controlling the PCF network element to update a first policy controller context and synchronizing to a second policy controller context of the PCF disaster recovery network element;
and when the PCF process downtime is detected, controlling the PCF disaster recovery network element to take over the strategy for issuing service, and restarting the PCF process.
2. The disaster recovery method for a 5G core network as set forth in claim 1, further comprising:
when the PCF network element is normally closed, requesting the PCF disaster recovery network element to de-register;
and when the PCF disaster recovery network element receives the de-registration request, controlling the PCF disaster recovery network element to empty the context of the second policy controller.
3. The disaster recovery method of 5G core network as set forth in claim 1, wherein initializing a first policy controller context of said PCF network element according to said PCF disaster recovery network element comprises:
Requesting the PCF disaster recovery network element to read the context content of the second policy controller;
If the reading is successful, initializing a first policy controller context of the PCF network element by using data returned by the PCF disaster recovery network element;
If the reading fails, initializing the first strategy controller context by using a preset default value.
4. The disaster recovery method of a 5G core network according to claim 1, wherein when detecting that a PCF process is down, controlling the PCF disaster recovery network element to take over policy delivery service and restarting the PCF process comprises:
when the PCF process downtime is detected, the PCF disaster recovery network element is controlled to occupy the IP address and the port number registered by the PCF network element;
Controlling the PCF disaster recovery network element to take over policy issuing service on the IP address and the port number;
And controlling the PCF process to restart.
5. The disaster recovery method for a 5G core network as set forth in claim 1, wherein detecting if PCF processes are down comprises:
Obtaining the running state of the PCF network element according to the process PID registered by the PCF network element and the ID of the message queue;
And judging whether the PCF process is down or not according to the running state of the PCF network element.
6. The disaster recovery method for a 5G core network according to claim 4, wherein when a PCF process downtime is detected, controlling the PCF disaster recovery network element to take over policy delivery service, and restarting the PCF process, the method further comprises:
after the PCF process is restarted successfully, the PCF disaster recovery network element is controlled to stop strategy issuing service;
and controlling the PCF disaster recovery network element to give out the currently occupied IP address and port number.
7. The disaster recovery method of 5G core network as set forth in claim 1, wherein when other network elements in said 5G core network initiate a policy update request to said PCF network element, controlling said PCF network element to update a first policy controller context and synchronize to a second policy controller context of said PCF disaster recovery network element, comprising:
when other network elements in the 5G core network initiate a policy update request to the PCF network element, the PCF network element provides policies for the other network elements according to request information;
controlling the PCF network element to update a first policy controller context according to the policy provided by the PCF network element;
And synchronizing the first policy controller context to a second policy controller context of the PCF disaster recovery network element through an HTTP2 interface.
8. A disaster recovery device for a 5G core network, comprising:
The PCF disaster recovery network element registration module is used for registering a process PID, an IP address, a port number and a message queue ID to the PCF disaster recovery network element when the PCF network element is started;
A first policy controller context initializing module, configured to initialize a first policy controller context of the PCF network element according to the PCF disaster recovery network element;
a second policy controller context synchronization module, configured to control the PCF network element to update the first policy controller context and synchronize to the second policy controller context of the PCF disaster recovery network element when other network elements in the 5G core network initiate a policy update request to the PCF network element;
and the policy issuing service taking-over module is used for controlling the PCF disaster recovery network element to take over the policy issuing service and restarting the PCF process when the PCF process downtime is detected.
9. The disaster recovery device for a 5G core network as set forth in claim 8, wherein said device further comprises:
The PCF disaster recovery network element de-registration module is used for requesting de-registration from the PCF disaster recovery network element when the PCF network element is normally closed;
and the second policy controller context emptying module is used for controlling the PCF disaster recovery network element to empty the second policy controller context when the PCF disaster recovery network element receives the request for de-registration.
10. A disaster recovery device for a 5G core network, comprising a processor, a memory and a computer program stored in said memory and configured to be executed by said processor, said processor implementing a disaster recovery method for a 5G core network according to any of claims 1 to 7 when said computer program is executed by said processor.
CN202410069931.0A 2024-01-17 2024-01-17 Disaster recovery method, device and equipment for 5G core network Pending CN118019034A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202410069931.0A CN118019034A (en) 2024-01-17 2024-01-17 Disaster recovery method, device and equipment for 5G core network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202410069931.0A CN118019034A (en) 2024-01-17 2024-01-17 Disaster recovery method, device and equipment for 5G core network

Publications (1)

Publication Number Publication Date
CN118019034A true CN118019034A (en) 2024-05-10

Family

ID=90944200

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202410069931.0A Pending CN118019034A (en) 2024-01-17 2024-01-17 Disaster recovery method, device and equipment for 5G core network

Country Status (1)

Country Link
CN (1) CN118019034A (en)

Similar Documents

Publication Publication Date Title
US11892922B2 (en) State management methods, methods for switching between master application server and backup application server, and electronic devices
CN105933407B (en) method and system for realizing high availability of Redis cluster
CN101908980A (en) Network management upgrading method and system
CN112380062A (en) Method and system for rapidly recovering system for multiple times based on system backup point
CN111314098A (en) Method and device for realizing VIP address drift in HA system
CN114764380A (en) Distributed cluster control method and device based on ETCD
CN118019034A (en) Disaster recovery method, device and equipment for 5G core network
CN113190385A (en) Data synchronization method for master and standby machines of station application server
CN116382753A (en) High-reliability remote upgrading method for equipment firmware based on network
JP2776442B2 (en) Compound computer system
CN115509812A (en) Data backup method and server based on Keepalive dual-computer hot standby
WO2014176969A1 (en) Automatic disaster recovery switching method and device
EP3618479B1 (en) Controlling user access to wireless network
CN113890880A (en) Method, system, equipment and storage medium for data synchronization among multiple nodes
CN113852590A (en) Method, device, equipment and storage medium for supporting dynamic migration of TCP (Transmission control protocol) by high-capacity equipment
JP2513127B2 (en) Hot standby high-speed switching system
CN117472457B (en) Dual BIOS (basic input output system), system switching method, device, equipment and storage medium
CN111988367B (en) Method and system for managing single server in server cluster
CN112532525B (en) Processing method, device and system for equipment recovery service
CN111209145A (en) Virtual machine disaster tolerance-based service self-healing method, equipment and storage medium
CN110109772B (en) CPU restarting method, communication equipment and readable storage medium
CN116400853B (en) Distributed block storage system and manufacturing-oriented fault recovery time shortening method
CN114143905B (en) Session establishing method, communication system, electronic device and storage medium
JPH07182297A (en) Server/client type network system
JP2500745B2 (en) Service control node

Legal Events

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