Method, device and system for high availability of computer data

By analyzing and filtering user operation files and only backing up and storing the computer's key files, the problems of poor flexibility and low efficiency in the existing technology are solved, and the efficiency of high-availability backup of computer data is achieved.

CN118964089APending Publication Date: 2024-11-15西安超越申泰信息科技有限公司
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411014724.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-26
Publication Date
2024-11-15

AI Technical Summary

Technical Problem

The existing computer data is highly available backup method to backup at the disk block data level, resulting in poor flexibility and inability to distinguish files that need to be backed up from those that do not need to be backed up, occupying a lot of system resources and inefficient efficiency.

Method used

By obtaining the user operation file information of the local computer and the preset list of key files, the nature of the file is determined, and only the key files are backed up and stored, and non-critical files are written directly to the local disk, using the user-layer file system module, file system hook module, The file system data sending module and the file system data writing module realize multiple backups and storage of key files.

Benefits of technology

Reduces the pressure of data backup, improves the efficiency of high availability of computer data, ensures the backup and storage of critical files, and reduces the use of system resources.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118964089A_ABST
    Figure CN118964089A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of computers, and discloses a method, device and system for high availability of computer data, and the method for high availability of the computer data comprises the following steps: obtaining user operation file information of a local computer; obtaining a preset key file list; according to the operation file information and the key file list, determining file properties of the user operation file, the file properties including key files and non-key files; the key files are written into the disk of the local computer and sent to the standby computer for storage, and the non-key files are directly written into the disk of the local computer and are not backed up any more. According to the method, only the key files are backed up and stored, and all user operation files are not backed up, so that the pressure of data backup is greatly reduced, and the high-availability backup efficiency of computer data is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of computer technology, and in particular to a method, device, and system for high availability of computer data. Background Art

[0002] At present, there are generally two ways to achieve high availability of computer data: one is to use distributed storage to achieve the feature of multiple backups of one piece of data, thereby avoiding the situation where the data is not backed up when a computer in the cluster fails. The other is to use disk data synchronization technology to back up the disk data on the computer to other computers in real time.

[0003] However, both of these high-availability backup methods perform data backup at the disk block data level and back up all data, which has poor flexibility and cannot distinguish between files that need to be backed up and files that do not need to be backed up. When backing up files, all files will be backed up, which will occupy more system resources and have low backup efficiency.

[0004] In the process of implementing the embodiments of the present disclosure, it is found that there are at least the following problems in the related art:

[0005] How to reduce the pressure of data backup, improve the efficiency of high-availability backup of computer data, and achieve high-availability backup of key computer files.

[0006] It should be noted that the information disclosed in the above background technology section is only used to enhance the understanding of the background of the present application, and therefore may include information that does not constitute the prior art known to ordinary technicians in the field. Summary of the invention

[0007] In order to provide a basic understanding of some aspects of the disclosed embodiments, a brief summary is given below. The summary is not an extensive review, nor is it intended to identify key / critical components or delineate the scope of protection of these embodiments, but rather serves as a prelude to the detailed description that follows.

[0008] The embodiments of the present disclosure provide a method, device, and system for high availability of computer data to reduce the pressure of data backup, improve the efficiency of high availability backup of computer data, and achieve high availability backup of key computer files.

[0009] In some embodiments, the method comprises:

[0010] Get the user operation file information of the local computer;

[0011] Get the preset key file list;

[0012] Determine the file nature of the user's operation file according to the operation file information and the key file list, wherein the file nature includes key files and non-key files;

[0013] Write critical files to the local computer's disk and send them to the backup computer for storage.

[0014] Optionally, write non-critical files to the local computer's disk.

[0015] Optionally, the backup computers may be one or more.

[0016] Optionally, the local computer and the backup computer transmit and store key files to each other.

[0017] In some embodiments, the apparatus comprises:

[0018] User-level file system module, used to store and send user operation files;

[0019] The file system hook module is used to analyze and filter user operation files, and is configured to obtain user operation file information and a preset key file list of the local computer, and determine the file properties of the user operation files according to the operation file information and the key file list, wherein the file properties include key files and non-key files;

[0020] A file system data sending module, used for sending key files to the backup computer;

[0021] The file system data writing module is used to write key files to the local computer disk.

[0022] Optionally, the file system hook module includes a filter for analyzing whether the user operation file is a key file and marking the key file.

[0023] Optionally, the device further comprises a file system data receiving module for receiving key files transmitted by the standby computer; the file system data writing module is further used to write the key files transmitted by the standby computer and the non-key files of the local computer into the local computer disk.

[0024] In some embodiments, the apparatus includes a processor and a memory storing program instructions, and the processor is configured to execute the aforementioned method for high availability of computer data when running the program instructions.

[0025] In some embodiments, the system for high availability of computer data includes multiple computers, and the multiple computers are all installed with the device for high availability of computer data.

[0026] Optionally, the multiple computers serve as backup computers for each other.

[0027] The method, device, and system for high availability of computer data provided by the embodiments of the present disclosure can achieve the following technical effects:

[0028] The present invention obtains the user operation file information of the local computer and the preset key file list, accurately analyzes and determines whether the user operation file is a key file or a non-key file. In the case of dual computers or multiple computers, the key files can be filtered and screened on the computer file system, and multiple backup functions can be performed on the key files, ensuring that the key files are written to the local computer disk and sent to the backup computer for storage, thereby realizing the backup storage of key files. Non-key files can be directly written to the local file without backing up. This backup method greatly reduces the pressure of data backup and improves the high-availability backup efficiency of computer data.

[0029] The above general description and the following description are exemplary and explanatory only and are not intended to limit the present application. BRIEF DESCRIPTION OF THE DRAWINGS

[0030] One or more embodiments are exemplarily described by corresponding drawings, which do not limit the embodiments. Elements with the same reference numerals in the drawings are shown as similar elements, and the drawings do not constitute a scale limitation, and wherein:

[0031] Figure 1 is a schematic diagram of a method for high availability of computer data provided by an embodiment of the present disclosure;

[0032] Figure 2 A schematic diagram of a device for high availability of computing data provided by an embodiment of the present disclosure;

[0033] Figure 3 It is a schematic diagram of another device for high availability of computing data provided by an embodiment of the present disclosure. DETAILED DESCRIPTION

[0034] In order to be able to understand the features and technical contents of the embodiments of the present disclosure in more detail, the implementation of the embodiments of the present disclosure is described in detail below in conjunction with the accompanying drawings. The attached drawings are for reference only and are not used to limit the embodiments of the present disclosure. In the following technical description, for the convenience of explanation, a full understanding of the disclosed embodiments is provided through multiple details. However, one or more embodiments can still be implemented without these details. In other cases, to simplify the drawings, well-known structures and devices can be simplified for display.

[0035] The terms "first", "second", etc. in the specification and claims of the embodiments of the present disclosure 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 terms used in this way can be interchanged where appropriate, so as to describe the embodiments of the embodiments of the present disclosure described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions.

[0036] Unless otherwise stated, the term "plurality" means two or more.

[0037] In the embodiment of the present disclosure, the character " / " indicates that the preceding and following objects are in an "or" relationship. For example, A / B indicates: A or B.

[0038] The term "and / or" is a description of the association relationship between objects, indicating that three relationships can exist. For example, A and / or B means: A or B, or, A and B.

[0039] The term "correspondence" may refer to an association relationship or a binding relationship. The correspondence between A and B means that there is an association relationship or a binding relationship between A and B.

[0040] Combination Figure 1 As shown, the embodiment of the present disclosure provides a method 100 for high availability of computer data, comprising:

[0041] Step 101: The user layer file system module obtains user operation file information of the local computer.

[0042] Step 102: The file system hook module obtains a preset key file list.

[0043] Step 103: The file system hook module determines the file properties of the user's operation file according to the operation file information and the key file list, where the file properties include key files and non-key files.

[0044] Step 104: If the file operated by the user is a key file, the file system data sending module sends the key file to the backup computer for storage.

[0045] Step 105: If the file operated by the user is a key file, the file system data writing module writes the key file into the disk of the local computer.

[0046] It is understandable that when users operate computers, a large amount of file information is generated. When a computer fails, if the user operation files are not backed up, key files will be lost. In order to avoid the loss of user key files, the user operation files are backed up. If the user operation files are not distinguished and all are backed up, more system resources will be occupied and the backup efficiency will be low. Therefore, it is necessary to first obtain the user operation file information and identify the nature of the file, that is, key files or non-key files.

[0047] The present disclosure can compare the preset key file list with the acquired user operation file to identify whether the user operation file is a key file or a non-key file.

[0048] By using the method for high availability of computer data provided by the embodiment of the present disclosure, key files can be backed up and stored, while non-key files are directly written to the disk of the local computer and no longer backed up. In this way, not all user operation files will be backed up, which can reduce the pressure of data backup and improve the efficiency of high availability backup of computer data.

[0049] Optionally, in step 103, after determining the file nature of the user operation file according to the operation file information and the key file list, the method further includes step 106, if the user operation file is a non-key file, writing the non-key file to the local computer disk.

[0050] Optionally, the backup computer may be one or more. The local computer and the backup computer transmit and store key files to each other.

[0051] Combination Figure 2 As shown, the embodiment of the present disclosure provides a device 200 for high availability of computer data, including a user layer file system module 201, a file system hook module 202, a file system data sending module 203, and a file system data writing module 204.

[0052] Wherein, the user layer file system module 201 is used to store and send user operation files;

[0053] The file system hook module 202 is used to analyze and filter user operation files, and is configured to obtain user operation file information and a preset key file list of the local computer, and determine the file properties of the user operation files according to the operation file information and the key file list, wherein the file properties include key files and non-key files;

[0054] The file system data sending module 203 is used to send key files to the standby computer;

[0055] The file system data writing module 204 is used to write key files to the local computer disk.

[0056] The device for high availability of computer data provided by the embodiment of the present disclosure is advantageous for backing up and storing key files, while non-key files are directly written to the disk of the local computer and no longer backed up. In this way, not all user operation files are backed up, which can reduce the pressure of data backup and improve the efficiency of high availability backup of computer data.

[0057] Optionally, the file system hook module 202 includes a filter for analyzing whether the user-operated file is a key file and marking the key file.

[0058] As an example, the implementation process of the file filtering function is as follows:

[0059] (1) First, the user defines a list of key files.

[0060] (2) A filtering function is implemented within the file system hook module, which can compare the files operated by the user with the key file list to determine whether the file is in the key file list.

[0061] (3) The filter marks the files operated by the user as non-critical files and critical files.

[0062] (4) The filter pushes non-critical files directly to the file system data writing module of the local computer, and then writes them to the disk of the local computer.

[0063] (5) The filter pushes the key files to the file system data writing module and the file system data sending module at the same time. The file system data writing module writes the key files to the disk of the local computer, and the file system data sending module sends the key files to the backup computer, thereby realizing backup on the backup computer.

[0064] In this way, the disclosed embodiment can identify files in the user operation file list through a preset key file list. Once a user operates a key file, it will be backed up immediately, while non-critical files will be directly written to local files and no longer backed up. The backup method is more in line with the user's usage habits, greatly reducing the pressure of data backup and improving the high-availability backup efficiency of computer data.

[0065] Optionally, the device for high availability of computer data also includes a file system data receiving module 205 for receiving key files transmitted by the backup computer; the file system data writing module 204 is also used to write the key files transmitted by the backup computer and the non-key files of the local computer to the local computer disk.

[0066] Combination Figure 3As shown, the embodiment of the present disclosure provides a device 300 for high availability of computer data, including a processor 304 and a memory 301. Optionally, the device may also include a communication interface 302 and a bus 303. Among them, the processor 304, the communication interface 302, and the memory 301 can communicate with each other through the bus 303. The communication interface 302 can be used for information transmission. The processor 304 can call the logic instructions in the memory 301 to execute the method for high availability of computer data in the above embodiment.

[0067] In addition, the logic instructions in the memory 301 described above can be implemented in the form of software functional units and can be stored in a computer-readable storage medium when sold or used as an independent product.

[0068] The memory 301 is a computer-readable storage medium that can be used to store software programs and computer executable programs, such as program instructions / modules corresponding to the methods in the embodiments of the present disclosure. The processor 304 executes the functional application and data processing by running the program instructions / modules stored in the memory 301, that is, the method for high availability of computer data in the above-mentioned embodiments is implemented.

[0069] The memory 301 may include a program storage area and a data storage area, wherein the program storage area may store an operating system and an application required for at least one function; the data storage area may store data created according to the use of the terminal device, etc. In addition, the memory 301 may include a high-speed random access memory and may also include a non-volatile memory.

[0070] The above description and the accompanying drawings fully illustrate the embodiments of the present disclosure so that those skilled in the art can practice them. Other embodiments may include structural, logical, electrical, process and other changes. The embodiments represent only possible changes. Unless explicitly required, separate components and functions are optional, and the order of operation may vary. The parts and features of some embodiments may be included in or replace the parts and features of other embodiments. Moreover, the words used in this application are only used to describe the embodiments and are not used to limit the claims. As used in the description of the embodiments and the claims, unless the context clearly indicates, the singular forms of "a", "an" and "the" are intended to include plural forms as well. Similarly, the term "and / or" as used in this application refers to any and all possible combinations of listings containing one or more associated ones. In addition, when used in the present application, the term "comprise" and its variants "comprises" and / or comprising refer to the presence of stated features, wholes, steps, operations, elements, and / or components, but do not exclude the presence or addition of one or more other features, wholes, steps, operations, elements, components and / or groups thereof. In the absence of further restrictions, the elements defined by the sentence "comprising a ..." do not exclude the presence of other identical elements in the process, method or device comprising the elements. In this article, each embodiment may focus on the differences from other embodiments, and the same and similar parts between the embodiments may refer to each other. For the methods, products, etc. disclosed in the embodiments, if they correspond to the method part disclosed in the embodiments, then the relevant parts can refer to the description of the method part.

[0071] Those skilled in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software may depend on the specific application and design constraints of the technical solution. The technicians may use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the embodiments of the present disclosure. The technicians may clearly understand that for the convenience and simplicity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments, and will not be repeated here.

[0072] In the embodiments disclosed herein, the disclosed methods and products (including but not limited to devices, equipment, etc.) can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units can be only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. In addition, the coupling or direct coupling or communication connection between each other shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms. The units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the units may be selected according to actual needs to implement this embodiment. In addition, each functional unit in the embodiment of the present disclosure may be integrated in a processing unit, or each unit may exist physically alone, or two or more units may be integrated in one unit.

[0073] The flowchart and block diagram in the accompanying drawings show the possible architecture, function and operation of the system, method and computer program product according to the embodiment of the present disclosure. In this regard, each box in the flowchart or block diagram can represent a module, a program segment or a part of the code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. In some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two consecutive boxes can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, which can depend on the functions involved. In the description corresponding to the flowchart and the block diagram in the accompanying drawings, the operations or steps corresponding to different boxes can also occur in a different order from the order disclosed in the description, and sometimes there is no specific order between different operations or steps. For example, two consecutive operations or steps can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, which can depend on the functions involved. Each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, may be implemented by a dedicated hardware-based system that performs the specified functions or actions, or may be implemented by a combination of dedicated hardware and computer instructions.

Claims

1. A method for high availability of computer data, characterized in that: include: Get the user operation file information of the local computer; Get the preset key file list; Determine the file nature of the user's operation file according to the operation file information and the key file list, wherein the file nature includes key files and non-key files; Write critical files to the local computer's disk and send them to the backup computer for storage.

2. The method according to claim 1, characterized in that: Writes non-critical files to the local computer's disk.

3. The method according to claim 1, characterized in that: The backup computer can be one or more.

4. The method according to claim 1, characterized in that: The local computer and the backup computer transfer and store key files to each other.

5. A device for high availability of computer data, characterized in that: include: User-level file system module, used to store and send user operation files; The file system hook module is used to analyze and filter user operation files, and is configured to obtain user operation file information and a preset key file list of the local computer, and determine the file properties of the user operation files according to the operation file information and the key file list, wherein the file properties include key files and non-key files; A file system data sending module, used for sending key files to the backup computer; The file system data writing module is used to write key files to the local computer disk.

6. The device according to claim 5, characterized in that The file system hook module includes: The filter is used to analyze whether the user operation file is a key file and mark the key file.

7. The device according to claim 5, characterized in that The device also includes: A file system data receiving module, used for receiving key files transmitted by the standby computer; The file system data writing module is also used to write the key files transmitted by the standby computer and the non-key files of the local computer into the local computer disk.

8. A device for high availability of computer data, comprising a processor and a memory storing program instructions, characterized in that: The processor is configured to execute the method for high availability of computer data according to any one of claims 1 to 4 when running the program instructions.

9. A system for high availability of computer data, characterized in that: include: A plurality of computers, each of which is installed with the device for high availability of computer data as described in any one of claims 5 to 8.

10. The system according to claim 9, characterized in that: Multiple computers serve as backup computers for each other.