Disaster recovery and fault recovery method for home user server

By obtaining and matching user server information, candidate backup servers are determined for data backup and fault recovery, which solves the problem of data loss and business interruption when the home user server fails, and improves data security and business reliability.

CN115529321BActive Publication Date: 2024-10-22CHENGDU MAGIC LIGHT DIGITAL TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202211187124.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-09-28
Publication Date
2024-10-22
Estimated Expiration
2042-09-28

AI Technical Summary

Technical Problem

Failure of existing user servers can easily lead to user business interruption and data loss, which poses data security risks and lacks effective disaster recovery, backup and fault recovery solutions.

Method used

By obtaining the information of the primary user server, the candidate backup server set is determined, and backup is performed based on the user data type to ensure automatic fault recovery when the server is abnormal.

Benefits of technology

It realizes automatic backup and fault recovery of the home server data, improves data security and ensures that business can be quickly restored in case of server abnormality.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115529321B_ABST
    Figure CN115529321B_ABST
Patent Text Reader

Abstract

The present invention discloses a disaster recovery backup and fault recovery method for a home user server, comprising: obtaining first server information of a primary home user server; determining a candidate home user server set matching the primary home user server based on the first server information; determining multiple backup home user servers from the candidate home user server set; backing up user data in the primary home user server to multiple backup home user servers according to the type of user data in the primary home user server; and in response to a server abnormality in the primary home user server, performing fault recovery on the primary home user server based on multiple backup home user servers. The present invention can improve the data security of the home server.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of electronic equipment, and in particular to a method for disaster recovery and fault recovery of a home user server. Background Art

[0002] Currently, as an important component of the control layer in the IP multimedia subsystem, the home user server can perform user authentication and authorization based on user profiles and provide information about the user's physical location.

[0003] In practice, it is found that the home subscriber server often fails, and the user services managed by the home subscriber server will be interrupted, and the user data stored in the home subscriber server is at risk of being lost. It can be seen that the current home subscriber server has data security risks.

[0004] To address the above-mentioned problems, no effective solution has been proposed yet. Summary of the invention

[0005] The embodiment of the present invention provides a disaster recovery backup and fault recovery method for a home user server, so as to at least improve the data security of the home server.

[0006] According to one aspect of an embodiment of the present invention, a disaster recovery and fault recovery method for a home user server is provided, the method comprising: obtaining first server information of a primary home user server, wherein the first server information comprises at least a first server identifier, a server location and server status information; determining a set of candidate home user servers matching the primary home user server based on the first server information; determining a plurality of backup home user servers from the set of candidate home user servers, wherein the plurality of backup home user servers comprise a primary backup home user server; backing up user data in the primary home user server to the plurality of backup home user servers according to the type of user data in the primary home user server; and in response to a server abnormality occurring in the primary home user server, performing fault recovery on the primary home user server based on the plurality of backup home user servers.

[0007] As an optional implementation manner, the method further includes: backing up all user data in the primary home subscriber server to the primary backup home subscriber server.

[0008] As an optional implementation manner, backing up the user data in the primary home user server to the multiple backup home user servers according to the user data type in the primary home user server includes: for each backup home user server among the multiple backup home user servers except the primary backup home user server, determining the user data type corresponding to the backup home user server; determining target data matching the user data type from all data in the primary home user server; and backing up the target data to the backup home user server.

[0009] As an optional implementation, determining a set of candidate home user servers that matches the primary home user server based on the first server information includes: determining a set of home user servers that are within a preset distance range from the server location; and determining, in combination with the server status information, a candidate home user server that matches the server status information from the set of home user servers to obtain the set of candidate home user servers.

[0010] As an optional implementation, the method further includes: for each backup home user server among the multiple backup home user servers, determining the second server information of the backup home user server, wherein the second server information at least includes a second server identifier; and storing the first server identifier and the second server identifier in correspondence.

[0011] According to another aspect of an embodiment of the present invention, a disaster recovery and fault recovery device for a home user server is also provided, including: an information acquisition unit, used to acquire first server information of a primary home user server, wherein the first server information includes at least a first server identifier, a server location and server status information; a set determination unit, used to determine a set of candidate home user servers matching the primary home user server based on the first server information; a server determination unit, used to determine a plurality of backup home user servers from the set of candidate home user servers, wherein the plurality of backup home user servers include a primary backup home user server; a backup unit, used to back up user data in the primary home user server to the plurality of backup home user servers according to the type of user data in the primary home user server; and a repair unit, used to perform fault recovery on the primary home user server based on the plurality of backup home user servers in response to a server abnormality occurring in the primary home user server.

[0012] As an optional implementation manner, the backup unit is further configured to: back up all user data in the primary home subscriber server to the primary backup home subscriber server.

[0013] As an optional implementation, the backup unit is specifically used to: determine, for each backup home user server among the multiple backup home user servers except the main backup home user server, the user data type corresponding to the backup home user server; determine, from all data in the main home user server, target data that matches the user data type; and back up the target data to the backup home user server.

[0014] As an optional implementation, the set determination unit is specifically used to: determine a set of home user servers that are within a preset distance range from the server location; and determine, in combination with the server status information, a candidate home user server that matches the server status information from the home user server set to obtain the candidate home user server set.

[0015] As an optional implementation, the device also includes: a storage unit, used to determine the second server information of each backup home user server among the multiple backup home user servers, wherein the second server information at least includes a second server identifier; and store the first server identifier and the second server identifier in correspondence.

[0016] According to another aspect of the embodiments of the present invention, a computer-readable storage medium is provided, in which a computer program is stored, wherein the computer program is configured to execute the above-mentioned disaster recovery and fault recovery method for the home user server when running.

[0017] According to another aspect of an embodiment of the present invention, an electronic device is provided, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the disaster recovery and fault recovery method of the user server through the computer program.

[0018] In the embodiment of the present invention, data in the home user server can be automatically backed up based on the server information, and fault recovery can be automatically performed in the event of server abnormality, thereby improving the data security of the home server. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] The drawings described herein are used to provide a further understanding of the present invention and constitute a part of this application. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute an improper limitation of the present invention. In the drawings:

[0020] Figure 1 is a flow chart of an optional method for disaster recovery and fault recovery of a home user server according to an embodiment of the present invention;

[0021] Figure 2 It is a structural diagram of an optional home user server disaster recovery backup and fault recovery device according to an embodiment of the present invention;

[0022] Figure 3 is a schematic structural diagram of an optional electronic device according to an embodiment of the present invention. DETAILED DESCRIPTION

[0023] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.

[0024] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0025] The embodiment of the present invention provides an optional method for disaster recovery and failure recovery of a home user server, such as Figure 1 As shown, the disaster recovery and fault recovery method of the home user server includes:

[0026] S101, obtaining first server information of a primary home subscriber server, wherein the first server information at least includes a first server identifier, a server location, and server status information;

[0027] S102, determining a candidate home subscriber server set matching the primary home subscriber server based on the first server information;

[0028] S103, determining a plurality of backup home subscriber servers from the candidate home subscriber server set, wherein the plurality of backup home subscriber servers include a primary backup home subscriber server;

[0029] S104, backing up the user data in the primary home subscriber server to the multiple backup home subscriber servers according to the type of user data in the primary home subscriber server;

[0030] S105 , in response to a server abnormality occurring in the primary home subscriber server, performing fault recovery on the primary home subscriber server based on the multiple backup home subscriber servers.

[0031] The execution subject may be an electronic device for managing the home user server. When the execution subject performs disaster recovery backup on the primary home user server, the execution subject may first determine the first server identifier, server location, and server status information of the primary home user server. The server status information may include but is not limited to the server service life, server model, server computing unit performance, server historical failure status, etc., which is not limited in this embodiment.

[0032] Afterwards, the execution entity may match the first server information with the server information of the preset home subscriber server, and select a preset number of candidate home subscriber servers in descending order of matching degree to obtain a candidate home subscriber server set.

[0033] Afterwards, the execution subject may further determine multiple backup home subscriber servers from the candidate home subscriber server set. The selection of the backup home subscriber servers may be determined based on the above-mentioned matching degree and the current usage status of the home subscriber servers.

[0034] Afterwards, the execution subject may first split all the data in the primary home user server into data sets under different user data types according to the user data type in the primary home user server. Furthermore, the data sets of different user data types are backed up to different backup home user servers. Furthermore, the execution subject may store the corresponding relationship between each backup home user server and the user data type.

[0035] Afterwards, when an abnormality occurs in the primary home subscriber server, the execution subject can select a corresponding backup home subscriber server to perform fault repair according to the abnormal user data type.

[0036] As an optional implementation manner, the method further includes: backing up all user data in the primary home subscriber server to the primary backup home subscriber server.

[0037] In this embodiment, the backup HSS may be provided with a primary backup HSS, which may store all user data in the primary HSS. When all user data in the primary HSS is lost, data repair may be performed based on the user data in the primary backup HSS.

[0038] As an optional implementation manner, backing up the user data in the primary home user server to the multiple backup home user servers according to the user data type in the primary home user server includes: for each backup home user server among the multiple backup home user servers except the primary backup home user server, determining the user data type corresponding to the backup home user server; determining target data matching the user data type from all data in the primary home user server; and backing up the target data to the backup home user server.

[0039] In this embodiment, the execution subject can determine the corresponding user data type for each backup home user server except the above-mentioned main backup home user server among the backup home user servers, determine the matching target data according to the user data type, and back up the target data to the corresponding backup home user server. If data of a specific data type in the main home user server is abnormal, the corresponding backup home user server can be directly determined, and data repair can be performed based on the data stored in the backup home user server.

[0040] As an optional implementation, determining a set of candidate home user servers that matches the primary home user server based on the first server information includes: determining a set of home user servers that are within a preset distance range from the server location; and determining, in combination with the server status information, a candidate home user server that matches the server status information from the set of home user servers to obtain the set of candidate home user servers.

[0041] In this embodiment, when determining a candidate home user server, the home user server in the same area can be selected based on server positioning to obtain a home user server set, and then combined with the server status information, the home user server closest to the primary home user server is determined as the candidate home user server.

[0042] As an optional implementation, the method further includes: for each backup home user server among the multiple backup home user servers, determining the second server information of the backup home user server, wherein the second server information at least includes a second server identifier; and storing the first server identifier and the second server identifier in correspondence.

[0043] In this embodiment, the execution subject may determine the second server information of each standby home subscriber server, wherein the second server information may include but is not limited to server location, second server identifier and server status information. The execution subject may store the first server identifier and the second server identifier in correspondence.

[0044] In the embodiment of the present invention, data in the home user server can be automatically backed up based on the server information, and fault recovery can be automatically performed in the event of server abnormality, thereby improving the data security of the home server.

[0045] It should be noted that, for the above-mentioned method embodiments, for the sake of simplicity, they are all described as a series of action combinations, but those skilled in the art should know that the present invention is not limited by the described action sequence, because according to the present invention, certain steps can be performed in other sequences or simultaneously. Secondly, those skilled in the art should also know that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the present invention.

[0046] Furthermore, the embodiment of the present invention provides an optional disaster recovery and failure recovery device for a home user server, such as Figure 2 As shown, the home user server disaster recovery backup and fault recovery device includes:

[0047] An information acquisition unit 201 is configured to acquire first server information of a primary home subscriber server, wherein the first server information at least includes a first server identifier, a server location, and server status information;

[0048] A set determining unit 202, configured to determine a candidate home subscriber server set matching the primary home subscriber server based on the first server information;

[0049] A server determination unit 203 is configured to determine a plurality of backup home subscriber servers from the candidate home subscriber server set, wherein the plurality of backup home subscriber servers include a primary backup home subscriber server;

[0050] A backup unit 204, configured to back up user data in the primary home subscriber server to the plurality of backup home subscriber servers according to the type of user data in the primary home subscriber server;

[0051] The repairing unit 205 is configured to, in response to a server abnormality occurring in the primary home subscriber server, perform fault recovery on the primary home subscriber server based on the multiple backup home subscriber servers.

[0052] Wherein, it can be an electronic device for managing the home user server. When performing disaster recovery backup on the primary home user server, the first server identifier, server location, and server status information of the primary home user server can be determined first. Wherein, the server status information can include but is not limited to the server service life, server model, server computing unit performance, server historical fault status, etc., which is not limited in this embodiment.

[0053] Afterwards, the first server information may be matched with the server information of the preset home subscriber server, and a preset number of candidate home subscriber servers may be selected in descending order of matching degree to obtain a candidate home subscriber server set.

[0054] Afterwards, multiple backup home subscriber servers may be further determined from the candidate home subscriber server set. The selection of the backup home subscriber servers may be determined based on the above-mentioned matching degree and the current usage status of the home subscriber servers.

[0055] Afterwards, all data in the primary home user server can be split into data sets under different user data types according to the user data type in the primary home user server. Furthermore, the data sets of different user data types are backed up to different backup home user servers. Furthermore, the corresponding relationship between each backup home user server and the user data type can be stored.

[0056] Afterwards, when an abnormality occurs in the primary home subscriber server, a corresponding backup home subscriber server can be selected to perform fault repair according to the abnormal user data type.

[0057] As an optional implementation manner, the backup unit 204 is further configured to: back up all user data in the primary HSS to the primary backup HSS.

[0058] In this embodiment, the backup HSS may be provided with a primary backup HSS, which may store all user data in the primary HSS. When all user data in the primary HSS is lost, data repair may be performed based on the user data in the primary backup HSS.

[0059] As an optional implementation, the backup unit 204 is specifically used to: determine the user data type corresponding to each backup home user server among the multiple backup home user servers except the main backup home user server; determine the target data matching the user data type from all the data in the main home user server; and back up the target data to the backup home user server.

[0060] In this implementation manner, for each standby home subscriber server except the above-mentioned main standby home subscriber server, the corresponding user data type can be determined, and matching target data can be determined according to the user data type, and the target data can be backed up to the corresponding standby home subscriber server. If data of a specific data type in the main home subscriber server is abnormal, the corresponding standby home subscriber server can be directly determined, and data repair can be performed based on the data stored in the standby home subscriber server.

[0061] As an optional implementation, the set determination unit 202 is specifically used to: determine a set of home user servers that are within a preset distance range from the server location; and determine, in combination with the server status information, a candidate home user server that matches the server status information from the home user server set to obtain the candidate home user server set.

[0062] In this embodiment, when determining a candidate home user server, the home user server in the same area can be selected based on server positioning to obtain a home user server set, and then combined with the server status information, the home user server closest to the primary home user server is determined as the candidate home user server.

[0063] As an optional implementation, the device also includes: a storage unit, used to determine the second server information of each backup home user server among the multiple backup home user servers, wherein the second server information at least includes a second server identifier; and store the first server identifier and the second server identifier in correspondence.

[0064] In this embodiment, the second server information of each standby home subscriber server may be determined, wherein the second server information may include but is not limited to server location, second server identifier and server status information. The first server identifier and the second server identifier may be stored correspondingly.

[0065] In the embodiment of the present invention, data in the home user server can be automatically backed up based on the server information, and fault recovery can be automatically performed in the event of server abnormality, thereby improving the data security of the home server.

[0066] Further, according to another aspect of the embodiment of the present invention, there is also provided an electronic device for implementing the above-mentioned home user server disaster recovery backup and fault recovery method, such as Figure 3As shown, the electronic device includes a memory 302 and a processor 304. The memory 302 stores a computer program, and the processor 304 is configured to execute the steps in any of the above method embodiments through the computer program.

[0067] Optionally, in this embodiment, the electronic device may be located in at least one network device among a plurality of network devices of a computer network.

[0068] Optionally, in this embodiment, the processor may be configured to perform the following steps through a computer program:

[0069] S1, obtaining first server information of a primary home user server, wherein the first server information at least includes a first server identifier, a server location, and a server status information;

[0070] S2, determining a candidate home subscriber server set matching the primary home subscriber server based on the first server information;

[0071] S3, determining a plurality of backup home subscriber servers from the candidate home subscriber server set, wherein the plurality of backup home subscriber servers include a primary backup home subscriber server;

[0072] S4, backing up the user data in the primary home subscriber server to the multiple backup home subscriber servers according to the type of user data in the primary home subscriber server;

[0073] S5, in response to a server abnormality occurring in the primary home subscriber server, performing fault recovery on the primary home subscriber server based on the multiple backup home subscriber servers.

[0074] Alternatively, a person skilled in the art may understand that: Figure 3 The structure shown is for illustration only, and the electronic device may also be a smart phone (such as an Android phone, an iOS phone, etc.), a tablet computer, a PDA, a mobile Internet device (MID), a PAD, or other terminal devices. Figure 3 The structure of the electronic device is not limited. Figure 3 More or fewer components (such as network interfaces, etc.) as shown in, or with Figure 3 Different configurations are shown.

[0075] Among them, the memory 302 can be used to store software programs and modules, such as the program instructions / modules corresponding to the disaster recovery and fault recovery method of the home user server in the embodiment of the present invention. The processor 304 executes various functional applications and data processing by running the software programs and modules stored in the memory 302, that is, realizing the above-mentioned disaster recovery and fault recovery method of the home user server. The memory 302 may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some instances, the memory 302 may further include a memory remotely arranged relative to the processor 304, and these remote memories may be connected to the terminal via a network. Examples of the above-mentioned networks include but are not limited to the Internet, corporate intranets, local area networks, mobile communication networks and combinations thereof. Among them, the memory 302 can be specifically but not limited to being used to store information such as operating instructions. As an example, Figure 3 As shown, the memory 302 may include, but is not limited to, the various modules in the solar panel surface defect data collection and detection system.

[0076] Optionally, the transmission device 306 is used to receive or send data via a network. Specific examples of the network may include a wired network and a wireless network. In one example, the transmission device 306 includes a network adapter (Network Interface Controller, NIC), which can be connected to other network devices and routers via a network cable so as to communicate with the Internet or a local area network. In one example, the transmission device 306 is a radio frequency (RF) module, which is used to communicate with the Internet wirelessly.

[0077] In addition, the electronic device further includes: a display 308 and a connection bus 310 .

[0078] According to another aspect of the embodiments of the present invention, a storage medium is provided, in which a computer program is stored, wherein the computer program is configured to execute the steps of any of the above method embodiments when running.

[0079] Optionally, in this embodiment, the storage medium may be configured to store a computer program for performing the following steps:

[0080] S1, obtaining first server information of a primary home user server, wherein the first server information at least includes a first server identifier, a server location, and a server status information;

[0081] S2, determining a candidate home subscriber server set matching the primary home subscriber server based on the first server information;

[0082] S3, determining a plurality of backup home subscriber servers from the candidate home subscriber server set, wherein the plurality of backup home subscriber servers include a primary backup home subscriber server;

[0083] S4, backing up the user data in the primary home subscriber server to the multiple backup home subscriber servers according to the type of user data in the primary home subscriber server;

[0084] S5, in response to a server abnormality occurring in the primary home subscriber server, performing fault recovery on the primary home subscriber server based on the multiple backup home subscriber servers.

[0085] Optionally, in this embodiment, a person of ordinary skill in the art may understand that all or part of the steps in the various methods of the above embodiments may be completed by instructing hardware related to the terminal device through a program, and the program may be stored in a computer-readable storage medium, and the storage medium may include: a flash drive, a read-only memory (ROM), a random access memory (RAM), a disk or an optical disk, etc.

[0086] The serial numbers of the above embodiments of the present invention are only for description and do not represent the advantages or disadvantages of the embodiments.

[0087] If the integrated units in the above embodiments are implemented in the form of software functional units and sold or used as independent products, they can be stored in the above computer-readable storage medium. Based on such understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for enabling one or more computer devices (which can be personal computers, servers or network devices, etc.) to perform all or part of the steps of the methods of various embodiments of the present invention.

[0088] In the above embodiments of the present invention, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0089] In the several embodiments provided in the present application, it should be understood that the disclosed client can be implemented in other ways. Among them, the device embodiments described above are only schematic, for example, the division of units is only a logical function division, and there may be other division methods in actual implementation, for example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of units or modules, which can be electrical or other forms.

[0090] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0091] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0092] The above are only preferred embodiments of the present invention. It should be pointed out that, for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present invention. These improvements and modifications should also be regarded as the scope of protection of the present invention.

Claims

1. A method for disaster recovery and fault recovery of a home user server, characterized in that: The method comprises: Acquire first server information of a primary home user server, wherein the first server information includes at least a first server identifier, a server location, and server status information; wherein the server status information includes the server service life, server model, performance of a computing unit of the server, and historical failure status of the server; Determine, based on the first server information, a set of candidate home subscriber servers matching the primary home subscriber server; Determine a plurality of backup home subscriber servers from the candidate home subscriber server set, wherein the plurality of backup home subscriber servers include a primary backup home subscriber server; backing up the user data in the primary home subscriber server to the multiple backup home subscriber servers according to the type of user data in the primary home subscriber server; In response to a server abnormality occurring in the primary home subscriber server, performing fault recovery on the primary home subscriber server based on the multiple backup home subscriber servers; The method of backing up the user data in the primary home user server to the multiple backup home user servers according to the user data type in the primary home user server comprises: for each backup home user server except the primary backup home user server among the multiple backup home user servers, determining the user data type corresponding to the backup home user server; determining target data matching the user data type from all data in the primary home user server; and backing up the target data to the backup home user server; The method of determining a set of candidate home user servers that matches the primary home user server based on the first server information includes: determining a set of home user servers that are located within a preset distance range from the primary home user server; and determining, in combination with the server status information, a candidate home user server that matches the server status information from the set of home user servers to obtain the set of candidate home user servers.

2. The method according to claim 1, characterized in that The method further comprises: All user data in the primary home subscriber server is backed up to the primary backup home subscriber server.

3. The method according to claim 1, characterized in that The method further comprises: For each standby home subscriber server among the multiple standby home subscriber servers, determine second server information of the standby home subscriber server, wherein the second server information at least includes a second server identifier; The first server identifier and the second server identifier are stored correspondingly.

4. A disaster recovery and fault recovery device for a home user server, characterized in that: The device comprises: an information acquisition unit, configured to acquire first server information of a primary home user server, wherein the first server information includes at least a first server identifier, a server location, and server status information; wherein the server status information includes a server service life, a server model, a computing unit performance of the server, and a historical failure status of the server; a set determining unit, configured to determine, based on the first server information, a candidate home subscriber server set matching the primary home subscriber server; A server determination unit, configured to determine a plurality of backup home subscriber servers from the candidate home subscriber server set, wherein the plurality of backup home subscriber servers include a primary backup home subscriber server; A backup unit, configured to back up the user data in the primary home subscriber server to the plurality of backup home subscriber servers according to the type of user data in the primary home subscriber server; a repairing unit, configured to, in response to a server abnormality occurring in the primary home subscriber server, perform fault recovery on the primary home subscriber server based on the multiple backup home subscriber servers; The backup unit is specifically configured to: determine, for each backup home subscriber server among the multiple backup home subscriber servers except the primary backup home subscriber server, a user data type corresponding to the backup home subscriber server; determine, from all data in the primary home subscriber server, target data matching the user data type; and back up the target data to the backup home subscriber server; The set determination unit is specifically used to: determine a set of home user servers located within a preset distance range from the primary home user server; and determine a candidate home user server matching the server status information from the home user server set in combination with the server status information to obtain the candidate home user server set.

5. The device according to claim 4, characterized in that The backup unit is further used for backing up all user data in the primary home subscriber server to the primary backup home subscriber server.

6. The device according to claim 4, characterized in that The device also includes: The storage unit is used to determine, for each backup home subscriber server among the multiple backup home subscriber servers, the second server information of the backup home subscriber server, wherein the second server information at least includes a second server identifier; and store the first server identifier and the second server identifier in correspondence.