Data recovery method and device, electronic equipment and computer program product
By receiving and transmitting dynamic data recovery time limit information, the first and second network functions complete dynamic data recovery within a limited time, solving the data recovery problem when the network function database changes, and ensuring the rapid recovery of network services and business continuity.
Patent Information
- Application Number
- CN202411081079.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-07
- Publication Date
- 2026-02-13
AI Technical Summary
When changes occur in the network function database, the recovery of dynamic data needs to be completed within a limited time. Existing technologies have not been able to effectively solve the problem of how to achieve rapid recovery of dynamic data in the unified data storage function (UDR).
By receiving the network function dynamic data recovery time limit information sent by the Unified Data Storage Function (UDR), the first network function performs dynamic data recovery operation within the limited time and sends the information to the second network function to ensure that the second network function also completes dynamic data recovery within the limited time.
It enables dynamic data recovery of network functions within a limited time, ensuring rapid recovery of network services and business continuity, and reducing the delay and impact of data recovery.
Smart Images

Figure CN121523964A_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present disclosure relates to the field of communication technology, and in particular, to a data recovery method, a data recovery apparatus, an electronic device, and a computer program product. BACKGROUND
[0002] Some static data of network functions (NFs), such as user profiles, and temporary data, such as context data, are stored in a database network function (database NF) of a network. When the database NF changes, such as restoration, update, mitigation, and the like, the static data of the NFs can be migrated accordingly, but the temporary data of the NFs is based on new network conditions and dynamically changes, and thus needs to be subsequently re-established, which affects the subsequent network business (i.e., the context needs to be re-established before the business is carried out).
[0003] It should be noted that the information disclosed in the above background section is only used to strengthen the understanding of the background of the present disclosure, and thus can include information that does not constitute prior art known to those of ordinary skill in the art. SUMMARY
[0004] The purpose of the present disclosure is to provide a data recovery method, a data recovery apparatus, an electronic device, a computer readable storage medium, and a computer program product, thereby at least partially solving the problem of how to make the consumer network function of the unified data storage function (UDR) recover dynamic data within a limited time when the UDR performs data recovery.
[0005] Other characteristics and advantages of the present disclosure will become apparent from the following detailed description, or will be learned by practice of the present disclosure.
[0006] According to a first aspect of the present disclosure, a data recovery method applied to a first network function is provided, and the method comprises: receiving network function dynamic data recovery time limit information sent by a unified data storage function (UDR), and performing a network function dynamic data recovery operation within a limited time; and sending network function dynamic data recovery time limit information for a second network function to the second network function.
[0007] In one exemplary embodiment of this disclosure, the method further includes: determining the notification address of the first network function and sending the notification address of the first network function to the unified data storage function UDR.
[0008] In one exemplary embodiment of this disclosure, the method further includes: obtaining the notification address of the second network function, storing the most recent synchronization time, the reset identifier and the notification address of the second network function, wherein the most recent synchronization time and the reset identifier are stored in the second network function.
[0009] In one exemplary embodiment of this disclosure, receiving network function dynamic data recovery time limit information sent by the Unified Data Storage Function (UDR) includes: receiving a first data recovery notification sent by the Unified Data Storage Function (UDR) based on the notification address of the first network function. The first data recovery notification is triggered by the Unified Data Storage Function (UDR) when it detects a change in dynamic data, and the first data recovery notification includes the first network function dynamic data recovery time limit information.
[0010] In one exemplary embodiment of this disclosure, the dynamic data recovery time limit information of the first network function includes one or more of the following: upon receiving a first data recovery notification, the first network function and / or the second network function immediately triggers a data recovery operation; upon receiving the first data recovery notification, the first network function and / or the second network function triggers the data recovery operation within a limited time; upon receiving the first data recovery notification, the first network function and / or the second network function completes the data recovery operation within a limited time; after the data recovery of the Unified Data Storage Function (UDR), the first network function and / or the second network function triggers the data recovery operation within a limited time; After the Unified Data Storage Function (UDR) recovers the data, the first network function and / or the second network function complete the data recovery operation within a limited time. After the Unified Data Storage Function (UDR) detects data inconsistency, the first network function and / or the second network function trigger the data recovery operation within a limited time. After the Unified Data Storage Function (UDR) detects data inconsistency, the first network function and / or the second network function complete the data recovery operation within a limited time. Before the limited time point, the first network function and / or the second network function trigger the data recovery operation. Before the limited time point, the first network function and / or the second network function complete the data recovery operation.
[0011] In one exemplary embodiment of this disclosure, the network function dynamic data recovery time limit information includes first network function dynamic data recovery time limit information; the step of performing network function dynamic data recovery operation within a limited time includes: determining the first network function dynamic data recovery time limit information corresponding to the first network function, and performing dynamic data recovery operation of the first network function within the limited time, wherein the first network function dynamic data recovery time limit information includes first time limit information obtained by the first network function from local configuration and second time limit information obtained from first data recovery notification.
[0012] In one exemplary embodiment of this disclosure, the step of performing the dynamic data recovery operation of the first network function within the limited time includes: determining a first smaller time limit value from the first time limit information and the second time limit information, and performing the dynamic data recovery operation of the first network function based on the first smaller time limit value; determining a first larger time limit value from the first time limit information and the second time limit information, and performing the dynamic data recovery operation of the first network function based on the first larger time limit value; performing the dynamic data recovery operation of the first network function according to the first time limit information; and performing the dynamic data recovery operation of the first network function according to the second time limit information.
[0013] In one exemplary embodiment of this disclosure, sending the network function dynamic data recovery time limit information for the second network function to the second network function includes: determining the notification address of the second network function, the notification address of the second network function being obtained by querying the Network Repository Function (NRF); and sending a second data recovery notification to the second network function based on the notification address of the second network function, the second data recovery notification including the network function dynamic data recovery time limit information, the second network function dynamic data recovery time limit information being the network function dynamic data recovery time limit information for the second network function.
[0014] In one exemplary embodiment of this disclosure, the network function dynamic data recovery time limit information includes second network function dynamic data recovery time limit information. The method further includes: obtaining second network function dynamic data recovery time limit information corresponding to the second network function. The second network function dynamic data recovery time limit information is used for the dynamic data recovery operation of the second network function. The second network function dynamic data recovery time limit information includes third time limit information obtained by the second network function from the local configuration and fourth time limit information obtained from the second data recovery notification.
[0015] In one exemplary embodiment of this disclosure, the dynamic data recovery time limit information of the second network function includes one or more of the following: upon receiving a second data recovery notification, the first network function and / or the second network function immediately triggers a data recovery operation; after the second network function receives the second data recovery notification, the second network function triggers the data recovery operation within a limited time; after the second network function receives the second data recovery notification, the second network function completes the data recovery operation within a limited time; after the first network function issues the second data recovery notification, the second network function triggers the data recovery operation within a limited time; after the first network function issues the second data recovery notification, the second network function completes the data recovery operation within a limited time. The data recovery operation is completed within a specified time. After the data recovery of the Unified Data Storage Function (UDR), the second network function triggers the data recovery operation within a specified time. After the data recovery of the Unified Data Storage Function (UDR), the second network function completes the data recovery operation within a specified time. After the Unified Data Storage Function (UDR) detects data inconsistency, the second network function triggers the data recovery operation within a specified time. After the Unified Data Storage Function (UDR) detects data inconsistency, the second network function completes the data recovery operation within a specified time. Before the specified time point, the second network function triggers the data recovery operation. Before the specified time point, the second network function completes the data recovery operation.
[0016] In one exemplary embodiment of this disclosure, the dynamic data recovery time limit information for the second network function is used for the dynamic data recovery operation of the second network function, including: determining a second smaller time limit value based on the third time limit information and the fourth time limit information, the second smaller time limit value being used for the dynamic data recovery operation of the second network function; determining a second larger time limit value based on the third time limit information and the fourth time limit information, the second larger time limit value being used for the dynamic data recovery operation of the second network function; using the third time limit information for the dynamic data recovery operation of the second network function; and using the fourth time limit information for the dynamic data recovery operation of the second network function.
[0017] In one exemplary embodiment of this disclosure, the time limit is generated based on the network function dynamic data recovery time limit information received from the unified data storage function UDR.
[0018] According to a second aspect of this disclosure, a data recovery method is provided, applied to a unified data storage function (UDR). The method includes: determining network function dynamic data recovery time limit information, sending the network function dynamic data recovery time limit information to a first network function, and sending network function dynamic data recovery time limit information for a second network function from the first network function to the second network function.
[0019] In one exemplary embodiment of this disclosure, sending the network function dynamic data recovery time limit information to the first network function includes: sending a first data recovery notification to the first network function based on the notification address of the first network function, wherein the first data recovery notification is triggered when a change in dynamic data is detected, and the first data recovery notification includes the network function dynamic data recovery time limit information.
[0020] In one exemplary embodiment of this disclosure, the notification address of the first network function is obtained from the address notification sent by the first network function, or by querying the Network Repository Function (NRF).
[0021] According to a third aspect of this disclosure, a data recovery method is provided, applied to a second network function, the method comprising: receiving network function dynamic data recovery time limit information for the second network function sent by a first network function, and performing a network function dynamic data recovery operation within a limited time.
[0022] In one exemplary embodiment of this disclosure, receiving network function dynamic data recovery time limit information for the second network function sent by the first network function includes: receiving a second data recovery notification sent by the first network function based on the notification address of the second network function, wherein the second data recovery notification includes network function dynamic data recovery time limit information for the second network function.
[0023] In one exemplary embodiment of this disclosure, the dynamic data recovery time limit information for the second network function includes a third time limit information obtained by the second network function from the local configuration and a fourth time limit information obtained from the second data recovery notification.
[0024] According to a fourth aspect of this disclosure, a data recovery apparatus is provided for use in a first network function. The apparatus includes: a first data recovery module, configured to receive network function dynamic data recovery time limit information sent by a unified data storage function (UDR) and perform network function dynamic data recovery operation within a limited time; and a first information sending module, configured to send network function dynamic data recovery time limit information for a second network function to the second network function.
[0025] In one exemplary embodiment of this disclosure, the data recovery device further includes a first notification address determination module, configured to: determine the notification address of the first network function, and send the notification address of the first network function to the unified data storage function UDR.
[0026] In one exemplary embodiment of this disclosure, the data recovery device further includes an information storage module for obtaining the notification address of the second network function, storing the most recent synchronization time, the reset identifier and the notification address of the second network function, wherein the most recent synchronization time and the reset identifier are stored in the second network function.
[0027] In one exemplary embodiment of this disclosure, the first data recovery module includes a first notification sending unit, configured to: receive a first data recovery notification sent by the Unified Data Storage Function (UDR) based on the notification address of the first network function, wherein the first data recovery notification is triggered by the Unified Data Storage Function (UDR) when it detects a change in dynamic data, and the first data recovery notification includes dynamic data recovery time limit information of the first network function.
[0028] In one exemplary embodiment of this disclosure, the network function dynamic data recovery time limit information includes first network function dynamic data recovery time limit information; the first data recovery module includes a first data recovery unit, configured to: determine the first network function dynamic data recovery time limit information corresponding to the first network function, and perform dynamic data recovery operation of the first network function within the limited time, wherein the first network function dynamic data recovery time limit information includes first time limit information obtained by the first network function from local configuration and second time limit information obtained from first data recovery notification.
[0029] In one exemplary embodiment of this disclosure, the first data recovery unit includes a first data recovery subunit, configured to: determine a first smaller time limit value from the first time limit information and the second time limit information; perform a dynamic data recovery operation of the first network function based on the first smaller time limit value; determine a first larger time limit value from the first time limit information and the second time limit information; perform a dynamic data recovery operation of the first network function based on the first larger time limit value; perform a dynamic data recovery operation of the first network function according to the first time limit information; and perform a dynamic data recovery operation of the first network function according to the second time limit information.
[0030] In one exemplary embodiment of this disclosure, the first data recovery module includes a second notification sending unit, configured to: determine the notification address of the second network function, the notification address of the second network function being obtained by performing an address lookup operation on the Network Repository Function (NRF); and send a second data recovery notification to the second network function based on the notification address of the second network function, the second data recovery notification including dynamic data recovery time limit information for the second network function, the dynamic data recovery time limit information for the second network function being the network function dynamic data recovery time limit information for the second network function.
[0031] In one exemplary embodiment of this disclosure, the network function dynamic data recovery time limit information includes second network function dynamic data recovery time limit information, and the first data recovery module includes a second data recovery unit, configured to: obtain the second network function dynamic data recovery time limit information corresponding to the second network function, the second network function dynamic data recovery time limit information being used for the dynamic data recovery operation of the second network function, and the second network function dynamic data recovery time limit information including a third time limit information obtained by the second network function from the local configuration and a fourth time limit information obtained from the second data recovery notification.
[0032] In one exemplary embodiment of this disclosure, the second data recovery unit includes a second data recovery subunit, configured to: determine a second smaller time limit value based on the third time limit information and the fourth time limit information, wherein the second smaller time limit value is used for dynamic data recovery operations of the second network function; determine a second larger time limit value based on the third time limit information and the fourth time limit information, wherein the second larger time limit value is used for dynamic data recovery operations of the second network function; use the third time limit information for dynamic data recovery operations of the second network function; and use the fourth time limit information for dynamic data recovery operations of the second network function.
[0033] According to a fifth aspect of this disclosure, a data recovery apparatus is provided for use in a unified data storage function (UDR). The apparatus includes: a second data recovery module, configured to determine network function dynamic data recovery time limit information, send the network function dynamic data recovery time limit information to a first network function, and send network function dynamic data recovery time limit information for a second network function from the first network function to the second network function.
[0034] In one exemplary embodiment of this disclosure, the second data recovery module includes a second notification sending unit, configured to send a first data recovery notification to the first network function based on the notification address of the first network function. The first data recovery notification is triggered when dynamic data changes are detected, and the first data recovery notification includes dynamic data recovery time limit information of the network function.
[0035] According to a sixth aspect of this disclosure, a data recovery apparatus is provided for use in a second network function. The apparatus includes a third data recovery module, configured to receive network function dynamic data recovery time limit information sent by a first network function for the second network function, and to perform network function dynamic data recovery operation within a limited time.
[0036] In one exemplary embodiment of this disclosure, the third data recovery module includes a third notification sending unit, configured to: receive a second data recovery notification sent by the first network function based on the notification address of the second network function, wherein the second data recovery notification includes network function dynamic data recovery time limit information for the second network function.
[0037] According to a seventh aspect of this disclosure, an electronic device is provided, comprising: a processor; and a memory storing computer-readable instructions that, when executed by the processor, implement the data recovery method according to any one of the preceding claims.
[0038] According to an eighth aspect of this disclosure, a computer-readable storage medium is provided having a computer program stored thereon, which, when executed by a processor, implements the data recovery method according to any one of the preceding claims.
[0039] According to a ninth aspect of this disclosure, a computer program product is provided, comprising a computer program that, when executed by a processor, implements the data recovery method described in any of the preceding claims.
[0040] The technical solution provided in this disclosure may include the following beneficial effects:
[0041] The data recovery method in the exemplary embodiments of this disclosure includes, on the one hand, receiving network function dynamic data recovery time limit information sent by the Unified Data Storage Function (UDR), allowing a first network function to perform dynamic data recovery operations within a limited time; on the other hand, sending the received network function dynamic data recovery time limit information to a second network function, allowing the second network function to also perform dynamic data recovery operations within a limited time.
[0042] It should be understood that the above general description and the following detailed description are exemplary and explanatory only, and are not intended to limit this disclosure. Attached Figure Description
[0043] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this disclosure and, together with the description, serve to explain the principles of this disclosure. It is obvious that the drawings described below are merely some embodiments of this disclosure, and those skilled in the art can obtain other drawings based on these drawings without any inventive effort. In the drawings:
[0044] Figure 1 A flowchart illustrating an exemplary embodiment of a data recovery method according to this disclosure is shown schematically;
[0045] Figure 2 An overall flowchart of a dynamic data time-limited recovery scheme according to an exemplary embodiment of the present disclosure is illustrated.
[0046] Figure 3 A flowchart illustrating a data recovery method according to another exemplary embodiment of the present disclosure is shown schematically;
[0047] Figure 4 A flowchart illustrating yet another exemplary embodiment of a data recovery method according to this disclosure is shown schematically;
[0048] Figure 5 A block diagram of a data recovery apparatus according to an exemplary embodiment of the present disclosure is shown schematically;
[0049] Figure 6 A block diagram of a data recovery apparatus according to another exemplary embodiment of the present disclosure is shown schematically;
[0050] Figure 7 A block diagram of a data recovery apparatus according to yet another exemplary embodiment of the present disclosure is shown schematically;
[0051] Figure 8 The illustration schematically shows a computer-readable storage medium according to an exemplary embodiment of the present disclosure;
[0052] Figure 9 A block diagram of an electronic device according to an exemplary embodiment of the present disclosure is shown schematically. Detailed Implementation
[0053] Exemplary embodiments will now be described more fully with reference to the accompanying drawings. However, these exemplary embodiments can be implemented in many forms and should not be construed as limited to the embodiments set forth herein; rather, they are provided so that this disclosure will be thorough and complete, and will fully convey the concept of the exemplary embodiments to those skilled in the art. The same reference numerals in the drawings denote the same or similar parts, and therefore repeated descriptions of them will be omitted.
[0054] Furthermore, the described features, structures, or characteristics can be combined in any suitable manner in one or more embodiments. Numerous specific details are provided in the following description to give a thorough understanding of embodiments of this disclosure. However, those skilled in the art will recognize that the technical solutions of this disclosure can be practiced without one or more of the specific details described, or other methods, components, apparatuses, steps, etc., can be employed. In other instances, well-known structures, methods, apparatuses, implementations, materials, or operations are not shown or described in detail to avoid obscuring various aspects of this disclosure.
[0055] The block diagrams shown in the accompanying drawings are merely functional entities and do not necessarily correspond to physically independent entities. That is, these functional entities can be implemented in software, or in one or more software-hardened modules, or in different network and / or processor devices and / or microcontroller devices.
[0056] In this article, it's important to understand the following terms: The Unified Data Repository (UDR) primarily stores subscription and policy data for the UDM and PCF. The Unified Data Management (UDM) mainly manages user subscription data and controls roaming. The Network Exposure Function (NEF) primarily exposes 5G network capabilities to external networks, such as outputting terminal location information; it can also receive external information and manage updates to certain network information. The Policy Control Function (PCF) primarily manages user control policies, including Quality of Service (QoS) control and service access control.
[0057] Because the dynamic data in the database NF in the network is based on new network conditions and changes dynamically, it needs to be rebuilt later, which affects the subsequent development of network services. After the UDR performs data restoration, how to enable other network functions in the 5G core network (5GC), such as the Access and Mobility Management function (AMF), Session Management function (SMF), Short Message Service Function (SMSF), NEF, UDM, etc., to restore the dynamic data (i.e., context) within a limited time is a problem that the industry needs to solve.
[0058] Based on this, according to embodiments of the present disclosure, a data recovery method, a data recovery device, an electronic device, and a computer program product are proposed.
[0059] In this example embodiment, a data recovery method is first provided. This data recovery method is applied to a first network function, which refers to a UDR consumer. The first network function can be a PCF, NEF, UDM, etc. The data recovery method of this disclosure can be implemented using a server or a terminal device. The terminal described in this disclosure can include mobile terminals such as mobile phones, tablets, laptops, handheld computers, and personal digital assistants (PDAs), as well as fixed terminals such as desktop computers. Figure 1 A schematic diagram illustrating a data recovery method flow according to some embodiments of the present disclosure is provided. Reference Figure 1 The data recovery method may include the following steps:
[0060] Step S110: Receive network function dynamic data recovery time limit information sent by the Unified Data Storage Function (UDR), and perform network function dynamic data recovery operation within the specified time.
[0061] According to some exemplary embodiments of this disclosure, the first network function may be a consumer of a UDR, and the first network function may be denoted as NF A. Dynamic data may be context data, and each network function has its own corresponding dynamic data. For example, the dynamic data in the first network function refers to the context data on NF A applicable to all the indicated users. The network function dynamic data recovery time limit information is the time limit information used by the network function to perform dynamic data recovery operations.
[0062] When the UDR detects a change in dynamic data, it performs a dynamic data recovery operation and sends a network function dynamic data recovery time limit information to the first network function. The dynamic data recovery operation can be performed by either the first network function or the second network function. After receiving the aforementioned network function dynamic data recovery time limit information, the first network function can perform a dynamic data recovery operation for itself within a specified time to restore its dynamic data.
[0063] Step S120: Send the network function dynamic data recovery time limit information for the second network function to the second network function.
[0064] According to some exemplary embodiments of this disclosure, the second network function can be a consumer of a UDR consumer (UDR consumer's consumer). The second network function can be denoted as NFB. The second network function generally refers to AMF, SMF, SMSF, AKMA anchor function (AANF), and NEF, etc. The dynamic data in the second network function refers to the context data on the NFB applicable to all the indicated users.
[0065] Since the network function dynamic data recovery time limit information can also include time limit information for the dynamic data recovery operation of the second network function, the first network function can also send the network function dynamic data recovery time limit information for the second network function to the second network function. When the second network function receives the network function dynamic data recovery time limit information for the second network function, it can perform the dynamic data recovery operation for the second network function within a limited time to perform the dynamic data recovery of the second network function.
[0066] According to the data recovery method in this example embodiment, on the one hand, the network function dynamic data recovery time limit information sent by the unified data storage function (UDR) is received, and the first network function can perform dynamic data recovery operation within a limited time; on the other hand, the received network function dynamic data recovery time limit information is sent to the second network function, and the second network function can also perform dynamic data recovery operation within a limited time.
[0067] The data recovery method in this example embodiment will be further explained below.
[0068] In one exemplary embodiment of this disclosure, a notification address for a first network function is determined, and this notification address is sent to the Unified Data Storage Function (UDR). The notification address for the first network function can be an endpoint address of the first network function (NF A).
[0069] refer to Figure 2 , Figure 2 The diagram schematically illustrates the overall flowchart of a dynamic data time-limited recovery scheme according to an exemplary embodiment of the present disclosure. In step S200, a first network function (NF A) sends a network function registration request to the NRF, registering the notification address of the first network function in the NRF. Based on the received network function registration request of NF A, the NRF registers the notification address of NF A in the NRF.
[0070] A network function registration request can be a terminal registration request sent by either the first or second network function to the Network Repository Function (NRF). The main function of the NRF is to manage all NFs that support service-oriented interfaces in 5G. These NFs must first register with the NRF, and when NFs look up each other, they do so by querying the NRF.
[0071] In step S201, the first network function sends the obtained notification address of the first network function to the UDR, informing the UDR of the identification (ID) of the first network function NF A, so that the UDR can subsequently send notifications to NF A based on the notification address of the first network function.
[0072] In one exemplary embodiment of this disclosure, the notification address of the second network function is obtained, the most recent synchronization time, the reset identifier and the notification address of the second network function are stored, and the most recent synchronization time and the reset identifier are stored in the second network function.
[0073] The notification address of the second network function can be the endpoint address of the second network function (NF B). The notification address of the second network function is obtained by the NFB sending a network function registration request to the NRF and registering it with the NRF terminal.
[0074] Continue to refer to Figure 2 In step S200, the second network function (NF B) can also send a network function registration request to the NRF to register the notification address of the second network function in the NRF. Based on the received network function registration request of the NNF B, the NRF registers the notification address of the NNF B in the NRF.
[0075] Each time a network function performs a data synchronization operation, it generates a corresponding most recent synchronization time and a unique reset identifier. In step S202, NF A stores the most recent synchronization time and the reset identifier. The most recent synchronization time can be the time information of the most recent data synchronization operation among different network functions. The reset identifier (Reset-ID) can be an identifier corresponding to the most recent synchronization time, used to uniquely identify a data synchronization operation; in addition, NF A can also store the notification address of the second network function of NF B.
[0076] Since data synchronization operations also occur in NF B, NF B can also store the most recent synchronization time and reset flag. The notification address of the first network function is sent to the UDR, allowing the UDR to subsequently send notifications to it based on the notification address of NF A. Additionally, NF A stores the notification address of NF B, and NF A can also send notifications to NF B based on NF B's notification address.
[0077] In one exemplary embodiment of this disclosure, step S110, receiving network function dynamic data recovery time limit information sent by the Unified Data Storage Function (UDR), includes: receiving a first data recovery notification sent by the Unified Data Storage Function (UDR) based on the notification address of the first network function. The first data recovery notification is triggered by the Unified Data Storage Function (UDR) when it detects a change in dynamic data, and the first data recovery notification includes the first network function dynamic data recovery time limit information.
[0078] The first data recovery notification may be a dynamic data recovery notification sent by the UDR to the first network function. The dynamic data recovery time limit information for the first network function may be time limit information applicable to the first network function and / or applicable to the second network function for performing dynamic data recovery operations.
[0079] Continue to refer to Figure 2In step S203, the UDR checks data consistency. When the UDR detects that dynamic data has changed due to certain circumstances (such as corruption, loss, or inconsistency), it will trigger the generation of a first data recovery notification. Circumstances that cause data corruption, loss, or inconsistency include: UDR failure and restart; or migrating data from an old UDR to a new UDR, etc.
[0080] In step S204, the UDR can look up the notification address of the first network function (i.e., the notification address of NF A) through the NRF. For example, the UDR can look up the notification address of NF A in the NRF based on the NF AID. In step S205, the UDR sends a first data recovery notification to the first network function based on the found notification address of NF A. The first data recovery notification contains dynamic data recovery time limit information for the first network function, which is applicable to the dynamic data recovery time limit information of network functions of NF A and / or NF B. By sending the first network function's dynamic data recovery time limit information to the first network function, the first network function and the second network function can perform dynamic data recovery operations based on the above information.
[0081] In one exemplary embodiment of this disclosure, the dynamic data recovery time limit information for the first network function includes one or more of the following: upon receiving a first data recovery notification, the first network function and / or the second network function immediately trigger a data recovery operation; upon receiving the first data recovery notification, the first network function and / or the second network function trigger a data recovery operation within a limited time; upon receiving the first data recovery notification, the first network function and / or the second network function complete the data recovery operation within a limited time; after data recovery of the Unified Data Storage Function (UDR), the first network function and / or the second network function trigger a data recovery operation within a limited time; after data recovery of the Unified Data Storage Function (UDR), the first network function and / or the second network function complete the data recovery operation within a limited time; after the Unified Data Storage Function (UDR) detects data inconsistency, the first network function and / or the second network function trigger a data recovery operation within a limited time; after the Unified Data Storage Function (UDR) detects data inconsistency, the first network function and / or the second network function complete the data recovery operation within a limited time; before a limited time point, the first network function and / or the second network function trigger a data recovery operation; before a limited time point, the first network function and / or the second network function complete the data recovery operation.
[0082] Continue to refer to Figure 2For step S205, the UDR can send a request to the callback Uniform Resource Identifier (callbackUri), such as a Nudr_DR_Notification request, to notify other network functions of potential UDR data inconsistency. The Nudr_DR_Notification request may include a dynamic data identifier (e.g., a reset ID), the affected time period (i.e., the last replication time and recovery time), and recovery time limit information for NF A / NF B.
[0083] Specifically, the first network function dynamic data recovery time limit information sent by the UDR to the NF A may include one or more of the following:
[0084] Upon receiving the first data recovery notification, NF A / NF B must immediately trigger a data recovery operation, even if other business is currently in progress.
[0085] Upon receiving the first data recovery notification, NF A / NF B must initiate a data recovery operation within a specified time. Upon receiving the first data recovery notification, NF A / NF B must complete the data recovery operation within a specified time.
[0086] After the UDR performs a data recovery operation, NF A / NF B must trigger a data recovery operation within a specified time. After the UDR performs a data recovery operation, NF A / NF B must complete the data recovery operation within a specified time.
[0087] After the UDR detects data inconsistency, NF A / NF B must trigger a data recovery operation within a specified time. After the UDR detects data inconsistency, NF A / NF B must complete the data recovery operation within a specified time.
[0088] Before a certain specified time point, NF A / NF B must trigger a data recovery operation. Before a certain specified time point, NF A / NF B must complete the data recovery operation. The aforementioned time limit information contained in the first data recovery notification can be used for the subsequent dynamic data recovery process of the first or second network function.
[0089] In one exemplary embodiment of this disclosure, step S110, performing a network function dynamic data recovery operation within a limited time, includes: determining the first network function dynamic data recovery time limit information corresponding to the first network function, and performing the dynamic data recovery operation of the first network function within a limited time. The first network function dynamic data recovery time limit information includes first time limit information obtained by the first network function from the local configuration and second time limit information obtained from the first data recovery notification.
[0090] The local configuration can be a configuration file stored locally on each network function's local machine. The first time limit information can be time limit information obtained from the local configuration of the first network function for performing the dynamic data recovery operation of the first network function. The second time limit information can be time limit information obtained from the first data recovery notification for performing the dynamic data recovery operation of the first network function.
[0091] Continue to refer to Figure 2 In step S206, the first network function dynamic data recovery time limit information of NF A is determined. NF A can perform the network function dynamic data recovery operation of the first network function within a limited time. Specifically, NF A can combine the first time limit information configured locally with the second time limit information obtained from the first data recovery notification to perform the dynamic data recovery operation.
[0092] In one exemplary embodiment of this disclosure, performing a dynamic data recovery operation of a first network function within a limited time includes: determining a first smaller time limit value from first time limit information and second time limit information, and performing a dynamic data recovery operation of the first network function based on the first smaller time limit value; determining a first larger time limit value from the first time limit information and second time limit information, and performing a dynamic data recovery operation of the first network function based on the first larger time limit value; performing a dynamic data recovery operation of the first network function according to the first time limit information; and performing a dynamic data recovery operation of the first network function according to the second time limit information.
[0093] The first smaller time limit value can be the smaller of the first time limit information and the second time limit information. The first larger time limit value can be the larger of the first time limit information and the second time limit information.
[0094] NF A will use the first time limit information obtained from its local configuration (if it exists) and the second time limit information obtained from the notification as the first network function dynamic data recovery time limit information. NF A can complete dynamic data recovery under the specified time limit using at least one of the following methods:
[0095] (1) Select the smaller value from the first time limit information and the second time limit information as the first smaller time limit value. NF A performs dynamic data recovery operation of the first network function based on the first smaller time limit value, that is, NF A completes the dynamic data recovery operation within the time range limited by the first smaller time limit value. (2) Select the larger value from the first time limit information and the second time limit information as the first larger time limit value. NF A performs dynamic data recovery operation based on the first larger time limit value, that is, NF A completes the dynamic data recovery operation of the first network function within the time range limited by the first larger time limit value.
[0096] (3) Prioritizing the first time limit information, NF A completes the dynamic data recovery operation of the first network function within the time limit specified by the first time limit information. (4) Prioritizing the second time limit information, NF A completes the dynamic data recovery operation of the first network function within the time limit specified by the second time limit information. Through the above methods, the first network function can combine the time limit information in the local configuration and notification message to complete the data recovery operation using at least one method.
[0097] In one exemplary embodiment of this disclosure, step S120, sending network function dynamic data recovery time limit information for the second network function to the second network function, includes: determining the notification address of the second network function, the notification address of the second network function being obtained by querying the network repository function NRF; and sending a second data recovery notification to the second network function based on the notification address of the second network function, the second data recovery notification including the second network function dynamic data recovery time limit information, the second network function dynamic data recovery time limit information being network function dynamic data recovery time limit information for the second network function.
[0098] Specifically, the Network Repository Function (NRF) query can be a query operation performed based on the NRF to find the notification address of a specific endpoint. The second data recovery notification can be a dynamic data recovery notification sent from the first network function to the second network function. The second network function dynamic data recovery time limit information can be time-limited information applicable to the second network function performing network dynamic data recovery operations.
[0099] Continue to refer to Figure 2 In step S207, NF A queries the notification address of NF B. For example, NF A finds the callback URI for data recovery for the NFB within its Public Land Mobile Network (PLMN) by querying the NF profile of NF B in the NRF. If NF A has already stored the address of NF B in step S202, this step can be skipped.
[0100] After obtaining the notification address of NF B, in step S208, NF A sends a second data recovery notification to NF B based on NF B's notification address. The second data recovery notification may include dynamic data recovery time limit information applicable to NF B for the second network function. NF A forwards the notification message to NF B, which contains the time limit information for NF B to perform dynamic data recovery operations, enabling NF B to perform dynamic data recovery operations according to the aforementioned information.
[0101] It will be readily understood by those skilled in the art that the first network function dynamic data recovery time limit information may include time limit information for NF A and NF B to perform dynamic data recovery operations; the second network function dynamic data recovery time limit information may include time limit information for NF B to perform dynamic data recovery operations. The content of the first network function dynamic data recovery time limit information and the second network function dynamic data recovery time limit information may be the same or different.
[0102] In one exemplary embodiment of this disclosure, dynamic data recovery time limit information of the second network function corresponding to the second network function is obtained. The dynamic data recovery time limit information of the second network function is used for the dynamic data recovery operation of the second network function. The dynamic data recovery time limit information of the second network function includes third time limit information obtained by the second network function from the local configuration and fourth time limit information obtained from the second data recovery notification.
[0103] The third time constraint information may be time constraint information obtained from the local configuration of the second network function for performing dynamic data recovery operations of the second network function. The fourth time constraint information may be time constraint information obtained from the second data recovery notification for performing dynamic data recovery operations of the second network function.
[0104] NF B obtains the dynamic data recovery time limit information for the second network function. For example, NF B can obtain third time limit information from its local configuration and fourth time limit information from the second data recovery notification. These two time limit information are combined as the dynamic data recovery time limit information for the second network function and used in the dynamic data recovery operation of the second network function. Different network functions can use the time limit information obtained from the local configuration and notification in their respective dynamic data recovery operations.
[0105] In one exemplary embodiment of this disclosure, the dynamic data recovery time limit information for the second network function includes one or more of the following: Upon receiving a second data recovery notification, the first network function and / or the second network function immediately triggers a data recovery operation; after receiving the second data recovery notification, the second network function triggers a data recovery operation within a limited time; after receiving the second data recovery notification, the second network function completes the data recovery operation within a limited time; after the first network function issues the second data recovery notification, the second network function triggers a data recovery operation within a limited time; after the first network function issues the second data recovery notification, the second network function completes the data recovery operation within a limited time; after the unified data storage function (UDR) recovers its data, the second network function triggers a data recovery operation within a limited time; after the unified data storage function (UDR) recovers its data, the second network function completes the data recovery operation within a limited time; after the unified data storage function (UDR) detects data inconsistency, the second network function triggers a data recovery operation within a limited time; after the unified data storage function (UDR) detects data inconsistency, the second network function completes the data recovery operation within a limited time; before a limited time point, the second network function triggers a data recovery operation; before a limited time point, the second network function completes the data recovery operation.
[0106] Continue to refer to Figure 3 For step S208, the second network function dynamic data recovery time limit information sent by NF A to NF B may include one or more of the following:
[0107] Upon receiving the second data recovery notification, NF A / NF B must immediately trigger a data recovery operation, even if other business is currently in progress.
[0108] Upon receiving the second data recovery notification, NFB must initiate a data recovery operation within a specified timeframe. Upon receiving the second data recovery notification, NFB must complete the data recovery operation within a specified timeframe.
[0109] After NFA issues a second data recovery notification, NFB must initiate a data recovery operation within a specified time. After NFA issues a second data recovery notification, NFB must complete the data recovery operation within a specified time.
[0110] After data recovery from the UDR, NFB must trigger a data recovery operation within a specified time. After data recovery from the UDR, NFB must complete the data recovery operation within a specified time.
[0111] After the UDR detects data inconsistency, the NFB must trigger a data recovery operation within a specified time. After the UDR detects data inconsistency, the NFB must complete the data recovery operation within a specified time.
[0112] Before a specific time point (e.g., [date] at [time]), NF B triggers a data recovery operation. Before another specific time point (e.g., [date] at [time]), NF B completes the data recovery operation. The aforementioned time limit information included in the second data recovery notification can be used in the subsequent dynamic data recovery process of the second network function.
[0113] In one exemplary embodiment of this disclosure, the dynamic data recovery time limit information for the second network function is used for the dynamic data recovery operation of the second network function, including: determining a second smaller time limit value based on third and fourth time limit information, the second smaller time limit value being used for the dynamic data recovery operation of the second network function; determining a second larger time limit value based on the third and fourth time limit information, the second larger time limit value being used for the dynamic data recovery operation of the second network function; using the third time limit information for the dynamic data recovery operation of the second network function; and using the fourth time limit information for the dynamic data recovery operation of the second network function.
[0114] The second smaller time limit value can be the smaller of the third and fourth time limit values. The second larger time limit value can be the larger of the third and fourth time limit values.
[0115] NF B will use the third time limit information obtained from its local configuration (if it exists) and the fourth time limit information obtained from the notification as the time limit information for the second network function's dynamic data recovery. NF B can complete dynamic data recovery within the specified time limit using at least one of the following methods:
[0116] (1) Select the smaller value from the third and fourth time limit information as the second smaller time limit value. NFB performs dynamic data recovery operation based on the second smaller time limit value, that is, NFB completes dynamic data recovery operation within the time range limited by the second smaller time limit value. (2) Select the larger value from the third and fourth time limit information as the second larger time limit value. NFB performs dynamic data recovery operation based on the second larger time limit value, that is, NFB completes dynamic data recovery operation within the time range limited by the second larger time limit value.
[0117] (3) Prioritize the third time limit information, and NF B completes the dynamic data recovery operation within the time range specified by the third time limit information. (4) Prioritize the fourth time limit information, and NF B completes the dynamic data recovery operation within the time range specified by the fourth time limit information. Through the above methods, the second network function can combine the time limit information in the local configuration and notification message to complete the data recovery operation using at least one method.
[0118] Furthermore, the notification messages sent by the UDR to NF A, and the notification messages sent by NF A to NF B, may also include the following time value fields: most recent data replication time, data recovery time, and network function data recovery time limit information. The most recent data replication time can be the time when the UDR most recently replicated dynamic data that was identified as potentially lost or corrupted, i.e., before the occurrence of a situation leading to potential data inconsistency. The data recovery time can be the time when the UDR begins normal operation after the occurrence of a situation leading to potential data inconsistency. The network function data recovery time limit information can be network function dynamic data recovery time limit information for a specific network function.
[0119] In one exemplary embodiment of this disclosure, the time limit is generated based on network function dynamic data recovery time limit information received from the unified data storage function UDR.
[0120] The first network function and the second network function perform dynamic data recovery operations within a specified time period. The specified time period is determined based on the dynamic data recovery time limit information received from the unified data storage function (UDR) to perform dynamic data recovery operations within the specified time range. The specified time periods used by the first network function and the second network function may be the same or different, and this disclosure does not impose any special restrictions in this regard.
[0121] It should be noted that the terms "first," "second," "third," "fourth," etc., used in this disclosure are only for distinguishing different network functions, different data recovery notifications, different network function dynamic data recovery time limit information, different time limit information, different smaller time limit values, and different larger time limit values, and should not impose any limitations on this disclosure.
[0122] In summary, the data recovery method disclosed herein, applied to a first network function, includes: receiving network function dynamic data recovery time limit information sent by a unified data storage function (UDR); performing dynamic data recovery operations based on the network function dynamic data recovery time limit information; and sending the network function dynamic data recovery time limit information to a second network function. On one hand, the first network function receives the network function dynamic data recovery time limit information sent by the unified data storage function (UDR), and the first network function can perform dynamic data recovery operations within a limited time by combining the time limit information in its local configuration and notifications. On the other hand, the received network function dynamic data recovery time limit information is sent to the second network function, enabling the second network function to perform dynamic data recovery operations within a limited time by combining the time limit information in its local configuration and notifications.
[0123] Furthermore, this example embodiment also provides a data recovery method applied to a unified data storage function (UDR). This data recovery method can be implemented using a server or a terminal device. Figure 3 A schematic diagram illustrating a data recovery method flow according to some embodiments of the present disclosure is provided. Reference Figure 4 The data recovery method may include the following steps:
[0124] Step S310: Determine the network function dynamic data recovery time limit information, send the network function dynamic data recovery time limit information to the first network function, and send the network function dynamic data recovery time limit information for the second network function from the first network function to the second network function.
[0125] According to some exemplary embodiments of this disclosure, in a data recovery scenario for a Unified Data Storage Function (UDR), when the UDR detects a change in dynamic data, it determines network function dynamic data recovery time limit information and then sends the determined network function dynamic data recovery time limit information to a first network function. Upon receiving the network function dynamic data recovery time limit information, the first network function can perform a dynamic data recovery operation based on the network function dynamic data recovery time limit information.
[0126] Furthermore, the first network function can send the network function dynamic data recovery time limit information for the second network function to the second network function, so that the second network function can also perform dynamic data recovery operations within the limited time.
[0127] According to the data recovery method in this example embodiment, on the one hand, when the Unified Data Storage Function (UDR) detects a change in dynamic data, it sends the network function dynamic data recovery time limit information to the first network function, enabling the first network function to perform dynamic data recovery operations within a limited time. On the other hand, the first network function can also send the aforementioned network function dynamic data recovery time limit information to a second network function, enabling the second network function to perform dynamic data recovery operations within a limited time.
[0128] The data recovery method in this example embodiment will be further explained below.
[0129] In one exemplary embodiment of this disclosure, step S310, sending network function dynamic data recovery time limit information to the first network function, includes: sending a first data recovery notification to the first network function based on the notification address of the first network function. The first data recovery notification is triggered when dynamic data changes are detected, and the first data recovery notification includes network function dynamic data recovery time limit information.
[0130] Regarding the network function dynamic data recovery time limit information, the UDR can determine the notification address of the first network function and send a first data recovery notification to it based on the notification address, enabling the first network function to perform dynamic data recovery operations according to the network function dynamic data recovery time limit information. The first network function can also send the network function dynamic data recovery time limit information to the second network function, enabling the second network function to perform dynamic data recovery operations according to the network function dynamic data recovery time limit information. This ensures that after UDR data recovery, UDR consumers and their consumers' consumers complete the dynamic data recovery operation within a limited time.
[0131] In one exemplary embodiment of this disclosure, the notification address of the first network function is obtained from an address notification sent by the first network function, or by querying the Network Repository Function (NRF). The address notification may be a notification sent by the first network function to the Unified Data Storage Function (UDR) so that the UDR obtains the relevant notification address of the NFA.
[0132] NF A can send a notification to UDR, informing UDR of its notification address. If NF A does not send a notification to UDR and provide its notification address, UDR obtains NF A's notification address by querying NRF. The specific method by which UDR determines the notification address of the first network function has been explained in detail above and will not be repeated here.
[0133] Furthermore, in this example embodiment, a data recovery method is also provided. This data recovery method is applied to a second network function, which refers to the consumer of the UDR consumer (UDR consumer's consumer). The second network function can be AMF, SMF, SMSF, AANF, NEF, etc., and can be represented by NF B. The data recovery method of this disclosure can be implemented using a server or a terminal device. Figure 4 A schematic diagram illustrating a data recovery method flow according to some embodiments of the present disclosure is provided. Reference Figure 5 The data recovery method may include the following steps:
[0134] Step S410: Receive the network function dynamic data recovery time limit information sent by the first network function for the second network function, and perform the network function dynamic data recovery operation within the limited time.
[0135] According to some exemplary embodiments of this disclosure, after receiving the network function dynamic data recovery time limit information for the second network function sent by the UDR, NF A can send the network function dynamic data recovery time limit information to NF B. After receiving the network function dynamic data recovery time limit information, NF B performs the network function dynamic data recovery operation for the second network function within a limited time.
[0136] According to the data recovery method in this example embodiment, the second network function receives the network function dynamic data recovery time limit information sent by the first network function and can perform dynamic data recovery operation within a limited time.
[0137] In one exemplary embodiment of this disclosure, step S410, receiving network function dynamic data recovery time limit information for the second network function sent by the first network function, includes: receiving a second data recovery notification sent by the first network function based on the notification address of the second network function, wherein the second data recovery notification includes network function dynamic data recovery time limit information for the second network function.
[0138] NF A can obtain the notification address of NF B and send a second data recovery notification to NF B through the notification address of NF B. The second data recovery notification contains network function dynamic data recovery time limit information for the second network function. After receiving the second data recovery notification, NF B performs dynamic data recovery operation within the limited time.
[0139] In one exemplary embodiment of this disclosure, the network function dynamic data recovery time limit information for the second network function includes a third time limit information obtained by the second network function from the local configuration and a fourth time limit information obtained from the second data recovery notification.
[0140] The method for determining the network function dynamic data recovery time limit information for the second network function has been explained in detail above, and this disclosure will not repeat it here.
[0141] It should be noted that although the steps of the method in this invention are described in a specific order in the accompanying drawings, this does not require or imply that the steps must be performed in that specific order, or that all the steps shown must be performed to achieve the desired result. Additional or alternative steps may be omitted, multiple steps may be combined into one step, and / or one step may be broken down into multiple steps.
[0142] Furthermore, in this example embodiment, a data recovery device is also provided, applied to a first network function. (See reference...) Figure 6 The data recovery device 500 may include: a first data recovery module 510 and a first information sending module 520.
[0143] Specifically, the first data recovery module 510 is used to receive the network function dynamic data recovery time limit information sent by the unified data storage function UDR, and perform the network function dynamic data recovery operation within the limited time; the first information sending module 520 is used to send the network function dynamic data recovery time limit information for the second network function to the second network function.
[0144] In one exemplary embodiment of this disclosure, the data recovery device 500 further includes a first notification address determination module, configured to: determine the notification address of a first network function, and send the notification address of the first network function to the unified data storage function UDR.
[0145] In one exemplary embodiment of this disclosure, the data recovery device 500 further includes an information storage module for obtaining the notification address of the second network function, storing the most recent synchronization time, the reset identifier and the notification address of the second network function, wherein the most recent synchronization time and the reset identifier are stored in the second network function.
[0146] In one exemplary embodiment of this disclosure, the first data recovery module 510 includes a first notification sending unit, configured to: receive a first data recovery notification sent by a unified data storage function (UDR) based on the notification address of a first network function. The first data recovery notification is triggered by the unified data storage function (UDR) when it detects a change in dynamic data. The first data recovery notification includes dynamic data recovery time limit information of the first network function.
[0147] In one exemplary embodiment of this disclosure, the network function dynamic data recovery time limit information includes first network function dynamic data recovery time limit information; the first data recovery module 510 includes a first data recovery unit, configured to: determine the first network function dynamic data recovery time limit information corresponding to the first network function, and perform dynamic data recovery operation of the first network function within a limited time, wherein the first network function dynamic data recovery time limit information includes first time limit information obtained by the first network function from the local configuration and second time limit information obtained from the first data recovery notification.
[0148] In one exemplary embodiment of this disclosure, the first data recovery unit includes a first data recovery subunit, configured to: determine a first smaller time limit value from first time limit information and second time limit information, and perform a dynamic data recovery operation of a first network function based on the first smaller time limit value; determine a first larger time limit value from the first time limit information and second time limit information, and perform a dynamic data recovery operation of the first network function based on the first larger time limit value; perform a dynamic data recovery operation of the first network function according to the first time limit information; and perform a dynamic data recovery operation of the first network function according to the second time limit information.
[0149] In one exemplary embodiment of this disclosure, the first data recovery module 510 includes a second notification sending unit, configured to: determine the notification address of the second network function, the notification address of the second network function being obtained by performing an address lookup operation on the Network Repository Function (NRF); and send a second data recovery notification to the second network function based on the notification address of the second network function, the second data recovery notification including dynamic data recovery time limit information for the second network function, the dynamic data recovery time limit information for the second network function being network function dynamic data recovery time limit information for the second network function.
[0150] In one exemplary embodiment of this disclosure, the network function dynamic data recovery time limit information includes second network function dynamic data recovery time limit information. The first data recovery module 510 includes a second data recovery unit, which is used to: obtain the second network function dynamic data recovery time limit information corresponding to the second network function. The second network function dynamic data recovery time limit information is used for the dynamic data recovery operation of the second network function. The second network function dynamic data recovery time limit information includes third time limit information obtained by the second network function from the local configuration and fourth time limit information obtained from the second data recovery notification.
[0151] In one exemplary embodiment of this disclosure, the second data recovery unit includes a second data recovery subunit, configured to: determine a second smaller time limit value based on third time limit information and fourth time limit information, wherein the second smaller time limit value is used for dynamic data recovery operations of the second network function; determine a second larger time limit value based on the third time limit information and fourth time limit information, wherein the second larger time limit value is used for dynamic data recovery operations of the second network function; use the third time limit information for dynamic data recovery operations of the second network function; and use the fourth time limit information for dynamic data recovery operations of the second network function.
[0152] Furthermore, in this example embodiment, a data recovery apparatus is also provided, applied to the Unified Data Storage Function (UDR). (See reference...) Figure 7 The data recovery device 600 may include a second data recovery module 610.
[0153] Specifically, the second data recovery module 610 is used to determine the network function dynamic data recovery time limit information, send the network function dynamic data recovery time limit information to the first network function, and send the network function dynamic data recovery time limit information for the second network function from the first network function to the second network function.
[0154] In one exemplary embodiment of this disclosure, the second data recovery module 610 includes a second notification sending unit, which is used to send a first data recovery notification to the first network function based on the notification address of the first network function. The first data recovery notification is triggered when dynamic data is detected to have changed, and the first data recovery notification includes network function dynamic data recovery time limit information.
[0155] Additionally, this example embodiment also provides a data recovery device applied to a second network function. (See reference) Figure 8 The data recovery device 700 may include a third data recovery module 710.
[0156] Specifically, the third data recovery module 710 is used to receive the network function dynamic data recovery time limit information sent by the first network function for the second network function, and to perform the network function dynamic data recovery operation within the limited time.
[0157] In one exemplary embodiment of this disclosure, the third data recovery module 710 includes a third notification sending unit, configured to: receive a second data recovery notification sent by the first network function based on the notification address of the second network function, wherein the second data recovery notification includes network function dynamic data recovery time limit information for the second network function.
[0158] The specific details of the virtual modules of each data recovery device mentioned above have been described in detail in the corresponding data recovery methods. For any undisclosed details, please refer to the implementation methods in the method section, and therefore will not be repeated here.
[0159] It should be noted that although several modules or units of the data recovery apparatus have been mentioned in the detailed description above, this division is not mandatory. In fact, according to embodiments of this disclosure, the features and functions of two or more modules or units described above can be embodied in one module or unit. Conversely, the features and functions of one module or unit described above can be further divided and embodied by multiple modules or units.
[0160] Furthermore, in an exemplary embodiment of this disclosure, an electronic device capable of implementing the above-described method is also provided.
[0161] Those skilled in the art will understand that various aspects of this disclosure can be implemented as a system, method, or program product. Therefore, various aspects of this disclosure can be embodied in the following forms: a completely hardware embodiment, a completely software embodiment (including firmware, microcode, etc.), or an embodiment combining hardware and software aspects, collectively referred to herein as a "circuit," "module," or "system."
[0162] Exemplary embodiments of this disclosure also provide a computer program product. The computer program product includes a computer program that, when executed by a processor, implements the data recovery method described above.
[0163] In one implementation, the computer program product may be a tangible product containing a computer program, such as a computer-readable storage medium storing the computer program. (See reference...) Figure 8 , Figure 9The illustration schematically depicts a computer-readable storage medium according to an exemplary embodiment of the present disclosure. The readable storage medium can be a storage medium based on electrical, magnetic, optical, electromagnetic, infrared, or other signals, including but not limited to: random access memory (RAM), read-only memory (ROM), magnetic tape, floppy disk, flash memory, hard disk drive (HDD), solid-state drive (SSD), etc. For example, a computer program product can be implemented as a non-volatile storage medium storing a computer program, such as read-only memory, NAND flash memory, etc.
[0164] In one implementation, the computer program product can be an intangible product containing a computer program. For example, the computer program product can be implemented as a virtual digital product, such as an executable file, installation package, or other digital file storing the computer program.
[0165] Computer program code can be written in one or more programming languages. Examples of programming languages include C, Java, and C++. Program code can execute entirely on the user's computing device, partially on the user's computing device, or as a standalone software package. It can also execute partially on the user's computing device and partially on a remote computing device, or entirely on a remote computing device or server. In cases involving remote computing devices, the remote computing device can be connected to the user's computing device via any type of network, such as a local area network (LAN) or a wide area network (WAN), or it can be connected to an external computing device (e.g., via an internet connection provided by a mobile network operator).
[0166] Computer programs can be carried or transmitted via signals such as electricity, magnetism, light, electromagnetic fields, and infrared radiation. Electronic devices can convert the signals carrying computer programs into digital signals, thereby running the computer programs. When a computer program runs on an electronic device, its code is used to cause the electronic device to execute (more specifically, the processor of the electronic device to execute) the method steps of various exemplary embodiments of this disclosure, such as the data recovery method described above.
[0167] Exemplary embodiments of this disclosure also provide an electronic device, which may include a processor and a memory. The memory stores executable instructions for the processor, such as computer programs. The processor executes the executable instructions to perform the method steps of various exemplary embodiments of this disclosure.
[0168] The following is for reference. Figure 9 The electronic device is illustrated by way of a general-purpose computing device. It should be understood that... Figure 9 The electronic device 900 shown is merely an example and should not be construed as limiting the functionality and scope of use of the embodiments disclosed herein.
[0169] like Figure 9 As shown, the electronic device 900 may include: a processor 910, a memory 920, a bus 930, an I / O (input / output) interface 940, a network adapter 950, and a display 960.
[0170] The memory 920 may include volatile memory, such as RAM 921 and cache unit 922, and may also include non-volatile memory, such as ROM 923. The memory 920 may also include one or more program modules 924, including but not limited to: an operating system, one or more application programs, other program modules, and program data. Each or some combination of these examples may include an implementation of a network environment. For example, program module 924 may include the modules described above.
[0171] The processor 910 may include one or more processing units, such as an AP (Application Processor), a modem processor, a GPU (Graphics Processing Unit), an ISP (Image Signal Processor), a controller, an encoder, a decoder, a DSP (Digital Signal Processor), a baseband processor, and / or an NPU (Neural-Network Processing Unit).
[0172] The processor 910 can be used to execute executable instructions stored in the memory 920, such as the data recovery method described above.
[0173] Bus 930 is used to connect different components of electronic device 900 and may include data bus, address bus and control bus.
[0174] Electronic device 900 can communicate with one or more external devices 1000 (such as keyboard, mouse, external controller, etc.) through I / O interface 940.
[0175] Electronic device 900 can communicate with one or more networks via network adapter 950. For example, network adapter 950 can provide mobile communication solutions such as 3G / 4G / 5G, or wireless communication solutions such as wireless LAN, Bluetooth, and near-field communication. Network adapter 950 can communicate with other modules of electronic device 900 via bus 930.
[0176] although Other hardware and / or software modules, including but not limited to: displays, microcode, device drivers, redundant processors, external disk drive arrays, RAID systems, tape drives, and data backup storage systems, may also be configured in electronic device 900.
[0177] As can be seen from the above, the technical solutions disclosed herein can be implemented as methods, apparatus, systems, computer program products, storage media, electronic devices, etc. Those skilled in the art will understand that various aspects of this disclosure can be specifically implemented in the following forms: a completely hardware implementation, a completely software implementation (including firmware, microcode, etc.), or a combination of hardware and software implementations, which may be referred to as "circuit," "module," or "system," respectively.
[0178] It should be understood that this disclosure is not limited to the specific methods, steps, or structures described above and shown in the accompanying drawings, and various modifications and changes can be made without departing from its scope. Those skilled in the art will readily conceive of other embodiments based on the specific implementations provided in this disclosure. Therefore, the specific implementations provided in this disclosure are merely exemplary, and the scope and spirit of this disclosure are indicated by the claims, and should cover any variations, uses, or adaptations of this disclosure that follow the general principles of this disclosure and include common knowledge or customary technical means in the art not disclosed in this disclosure.
Claims
1. A data recovery method, characterized in that, Applied to a first network function, the method includes: Receive network function dynamic data recovery time limit information sent by the Unified Data Storage Function (UDR), and perform network function dynamic data recovery operation within the specified time. The network function dynamic data recovery time limit information for the second network function will be sent to the second network function.
2. The method according to claim 1, characterized in that, The method further includes: Determine the notification address of the first network function and send the notification address of the first network function to the unified data storage function UDR.
3. The method according to claim 1, characterized in that, The method further includes: Obtain the notification address of the second network function, store the most recent synchronization time, the reset identifier and the notification address of the second network function, and store the most recent synchronization time and the reset identifier in the second network function.
4. The method according to claim 2, characterized in that, The network function dynamic data recovery time limit information received from the Unified Data Storage Function (UDR) includes: Based on the notification address of the first network function, a first data recovery notification is received from the unified data storage function UDR. The first data recovery notification is triggered by the unified data storage function UDR when it detects a change in dynamic data. The first data recovery notification includes dynamic data recovery time limit information of the first network function.
5. The method according to claim 4, characterized in that, The first network function dynamic data recovery time limit information includes one or more of the following: Upon receiving the first data recovery notification, the first network function and / or the second network function immediately trigger the data recovery operation; Upon receiving the first data recovery notification, the first network function and / or the second network function trigger the data recovery operation within a limited time. Upon receiving the first data recovery notification, the first network function and / or the second network function complete the data recovery operation within a limited time. After the data is recovered by the Unified Data Storage Function (UDR), the first network function and / or the second network function triggers the data recovery operation within a limited time. After the data is recovered by the Unified Data Storage Function (UDR), the first network function and / or the second network function complete the data recovery operation within a limited time. After the Unified Data Storage Function (UDR) detects data inconsistency, the first network function and / or the second network function trigger the data recovery operation within a limited time. After the Unified Data Storage Function (UDR) detects data inconsistency, the first network function and / or the second network function complete the data recovery operation within a limited time. Before a specified time point, the first network function and / or the second network function triggers the data recovery operation; Before a specified time point, the first network function and / or the second network function complete the data recovery operation.
6. The method according to claim 1, characterized in that, The network function dynamic data recovery time limit information includes first network function dynamic data recovery time limit information; the step of performing network function dynamic data recovery operation within the limited time includes: Determine the dynamic data recovery time limit information of the first network function corresponding to the first network function, and perform the dynamic data recovery operation of the first network function within the limited time. The dynamic data recovery time limit information of the first network function includes the first time limit information obtained by the first network function from the local configuration and the second time limit information obtained from the first data recovery notification.
7. The method according to claim 6, characterized in that, The dynamic data recovery operation performed within the specified time period includes: A first smaller time limit value is determined from the first time limit information and the second time limit information, and a dynamic data recovery operation of the first network function is performed based on the first smaller time limit value; A first larger time limit value is determined from the first time limit information and the second time limit information, and a dynamic data recovery operation of the first network function is performed based on the first larger time limit value; Perform dynamic data recovery operation of the first network function according to the first time limit information; Perform dynamic data recovery operation of the first network function based on the second time limit information.
8. The method according to claim 1, characterized in that, The step of sending the network function dynamic data recovery time limit information for the second network function to the second network function includes: The notification address of the second network function is determined by querying the Network Repository Function (NRF). Based on the notification address of the second network function, a second data recovery notification is sent to the second network function. The second data recovery notification includes dynamic data recovery time limit information for the second network function. The dynamic data recovery time limit information for the second network function is the network function dynamic data recovery time limit information for the second network function.
9. The method according to claim 1, characterized in that, The network function dynamic data recovery time limit information includes the second network function dynamic data recovery time limit information, and the method further includes: Obtain the dynamic data recovery time limit information of the second network function corresponding to the second network function. The dynamic data recovery time limit information of the second network function is used for the dynamic data recovery operation of the second network function. The dynamic data recovery time limit information of the second network function includes the third time limit information obtained by the second network function from the local configuration and the fourth time limit information obtained from the second data recovery notification.
10. The method according to claim 9, characterized in that, The second network function dynamic data recovery time limit information includes one or more of the following: Upon receiving the second data recovery notification, the first network function and / or the second network function immediately triggers the data recovery operation; After receiving the second data recovery notification, the second network function triggers the data recovery operation within a limited time. After receiving the second data recovery notification, the second network function completes the data recovery operation within a specified time. After the first network function issues the second data recovery notification, the second network function triggers the data recovery operation within a limited time. After the first network function issues the second data recovery notification, the second network function completes the data recovery operation within a limited time. After the data is recovered by the Unified Data Storage Function (UDR), the second network function triggers the data recovery operation within a limited time. After the data is recovered by the Unified Data Storage Function (UDR), the second network function completes the data recovery operation within a limited time. After the Unified Data Storage Function (UDR) detects data inconsistency, the second network function triggers the data recovery operation within a limited time. After the Unified Data Storage Function (UDR) detects data inconsistency, the second network function completes the data recovery operation within a limited time. Before the specified time point, the second network function triggers the data recovery operation; Before the specified time point, the second network function completes the data recovery operation.
11. The method according to claim 9, characterized in that, The second network function dynamic data recovery time limit information is used for the dynamic data recovery operation of the second network function, including: Based on the third time limit information and the fourth time limit information, a second smaller time limit value is determined, and the second smaller time limit value is used for the dynamic data recovery operation of the second network function. Based on the third time limit information and the fourth time limit information, a second larger time limit value is determined, and the second larger time limit value is used for the dynamic data recovery operation of the second network function. The third time limit information is used for the dynamic data recovery operation of the second network function; The fourth time limit information is used for the dynamic data recovery operation of the second network function.
12. The method according to any one of claims 1-11, characterized in that, The time limit is generated based on the network function dynamic data recovery time limit information received from the Unified Data Storage Function (UDR).
13. A data recovery method, characterized in that, The method, applied to the Unified Data Storage Function (UDR), includes: The network function dynamic data recovery time limit information is determined and sent to the first network function. The network function dynamic data recovery time limit information for the second network function is sent from the first network function to the second network function.
14. The method according to claim 13, characterized in that, Sending the network function dynamic data recovery time limit information to the first network function includes: Based on the notification address of the first network function, a first data recovery notification is sent to the first network function. The first data recovery notification is triggered when dynamic data changes are detected. The first data recovery notification includes dynamic data recovery time limit information of the network function.
15. The method according to claim 14, characterized in that, The notification address of the first network function is obtained from the address notification sent by the first network function, or by querying the Network Repository Function (NRF).
16. A data recovery method, characterized in that, Applied to a second network function, the method includes: Receive the network function dynamic data recovery time limit information sent by the first network function for the second network function, and perform the network function dynamic data recovery operation within the limited time.
17. The method according to claim 16, characterized in that, The receipt of network function dynamic data recovery time limit information for the second network function sent by the first network function includes: Based on the notification address of the second network function, a second data recovery notification sent by the first network function is received. The second data recovery notification includes the network function dynamic data recovery time limit information for the second network function.
18. The method according to claim 17, characterized in that, The network function dynamic data recovery time limit information for the second network function includes a third time limit information obtained by the second network function from the local configuration and a fourth time limit information obtained from the second data recovery notification.
19. A data recovery device, characterized in that, The device, applied to a first network function, includes: The first data recovery module is used to receive the network function dynamic data recovery time limit information sent by the Unified Data Storage Function (UDR) and perform network function dynamic data recovery operation within the time limit. The first information sending module is used to send the network function dynamic data recovery time limit information for the second network function to the second network function.
20. A data recovery device, characterized in that, The device, applied to the unified data storage function (UDR), includes: The second data recovery module is used to determine the network function dynamic data recovery time limit information, and send the network function dynamic data recovery time limit information to the first network function. For the second network function, the network function dynamic data recovery time limit information is sent from the first network function to the second network function.
21. A data recovery device, characterized in that, For use in a second network function, the device includes: The third data recovery module is used to receive the network function dynamic data recovery time limit information sent by the first network function for the second network function, and to perform the network function dynamic data recovery operation within the limited time.
22. An electronic device, characterized in that, include: processor; as well as A memory storing computer-readable instructions that, when executed by the processor, implement the data recovery method as described in any one of claims 1 to 18.
23. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by a processor, it implements the data recovery method according to any one of claims 1 to 18.