A computer room server data backup method and device

By using the method of synchronous acquisition and secondary backup during the server data backup process and using the comparison module to analyze data, the backup error problem caused by data exceptions in the prior art is solved, and the stability and accuracy in the data transmission process are achieved.

CN112395135BActive Publication Date: 2024-12-17FUJIAN ANZHENG INTELLIGENT TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202011368007.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-11-30
Publication Date
2024-12-17
Estimated Expiration
2040-11-30

AI Technical Summary

Technical Problem

In the prior art, data abnormalities are prone to occur during server data backup, resulting in errors in disaster recovery data during recovery.

Method used

Design a computer room server data backup method, including synchronously obtaining data without interrupting data transmission, and performing secondary backup through repair modules, and analyzing and repairing data using comparison modules to ensure data stability. The method includes a data acquisition module, a copy module, a storage module, a connection module and a repair module. Through the coordinated work of these modules, accurate data backup and recovery can be achieved.

Benefits of technology

This method can ensure accurate data backup and recovery without interrupting data transmission, improve stability during data transmission, and reduce errors during data recovery.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112395135B_ABST
    Figure CN112395135B_ABST
Patent Text Reader

Abstract

The present invention relates to the field of computer technology, and in particular to a method for backing up server data in a computer room, comprising the following steps: S1: synchronously acquiring data without interrupting data transmission on a server; S2: synchronously sending the acquired data to a storage module and a repair module, wherein the repair module is used to perform a secondary backup of data generated by the server during data transmission; the method and device for backing up server data in a computer room can synchronously acquire data without interrupting data transmission on a server, store server data through a storage module, perform a secondary backup of data generated by the server during data transmission through a repair module, and improve the stability of module repair and storage through a comparison module.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of computer technology, and in particular to a method and device for backing up data of a server in a computer room. Background Art

[0002] In today's technological society, the application of IT technology has penetrated into every aspect of our lives and work, bringing us convenience and speed that no previous technological revolution has ever had. Our reliance on IT systems exceeds that of any previous technology. However, while IT systems provide information technology infrastructure for the rapid development of business, they also bring negative factors that we have never noticed before. For example, due to the high concentration of information and processing, business operations are overly dependent on IT systems, and will be greatly affected by sudden problems in IT systems. In serious cases, the business system cannot operate normally. Therefore, with the continuous development of IT technology, the requirements for data disaster recovery technology in the production field, equipment field, etc. are increasing. Data disaster recovery, or data disaster backup, refers to the process of copying the entire system or part of the data set from the hard disk or array of the application host to other storage media to prevent data loss due to operational errors or system failures.

[0003] In the prior art, during the long-term backup process of the server, due to the huge amount of data, data anomalies are prone to occur during the repair and storage process, resulting in errors in the disaster recovery data during data recovery. Summary of the invention

[0004] The purpose of the present invention is to solve the disadvantage of errors in disaster recovery data in the prior art, and to propose a computer room server data backup method and device.

[0005] In order to achieve the above object, the present invention adopts the following technical solutions:

[0006] Design a data backup method for a computer room server, including the following steps:

[0007] S1: synchronously obtain data without interrupting data transmission on the server;

[0008] S2: synchronously sending the acquired data to the storage module and the repair module, wherein the repair module is used to perform a secondary backup of the data generated by the server during the data transmission process;

[0009] S3: After the repair module and the storage module have completed receiving data, the repair module selects a connection establishment module through a selection module, and connects the data in the repair module and the storage module through the connection establishment module. After the data in the repair module and the storage module are connected, a comparison module is used to compare and analyze the data in the repair module and the storage module;

[0010] Preferably, the secondary backup of data in S2 includes the following steps:

[0011] S21: The data in the server is synchronously sent to the first storage module and the second storage module through the replication module;

[0012] S22: The data in the first storage module and the second storage module are transmitted to the comparison module for comparison and analysis;

[0013] If the data transmitted by the first storage module and the second storage module are the same, the data may be directly transmitted to the main storage module;

[0014] If the data transmitted by the first storage module and the second storage module are different, the selection module is connected to the storage module through the connection establishment module, the comparison module transmits the abnormal data segment to the search module, the search module searches for the segment of data in the storage module, and transmits the segment of data in the storage module to the comparison module, compares and analyzes the segment of data in the first storage module, the second storage module and the storage module again, and selects two identical segments of data to be transmitted to the total storage module.

[0015] A data backup device for a server in a computer room comprises a data acquisition module, a replication module, a storage module, a connection module and a repair module, wherein the data acquisition module is electrically connected to the replication module, the replication module is electrically connected to the storage module, the replication module is electrically connected to the repair module, the repair module is electrically connected to the connection module, and the connection module is electrically connected to the storage module.

[0016] Preferably, the data acquisition module is used to synchronously acquire data without interrupting data transmission on the server.

[0017] Preferably, the replication module includes a recording module and a data sending module, the recording module is electrically connected to the data acquisition module, the recording module is electrically connected to the data sending module, the data sending module is electrically connected to the storage module, and the data sending module is electrically connected to the repair module. The recording module is used to record the data in the data acquisition module, and the data sending module is used to send the data in the recording module to the storage module and the repair module.

[0018] Preferably, the storage module includes a classification module, a directory establishment module, a compression module, a backup storage module and a decompression module, the classification module is electrically connected to the replication module, the classification module is electrically connected to the directory establishment module, the directory establishment module is electrically connected to the compression module, the compression module is electrically connected to the backup storage module, the backup storage module is electrically connected to the decompression module, and the decompression module is electrically connected to the connection module;

[0019] The classification module is used to classify the backup data and send the number of classification categories to the directory establishment module. The directory establishment module establishes a directory according to the number of categories and compresses the data after the directory is established through the compression module and transmits it to the backup storage module.

[0020] Preferably, the repair module includes a first storage module, a second storage module, a comparison module, a search module and a total storage module, the first storage module and the second storage module are electrically connected to the replication module, the first storage module and the second storage module are electrically connected to the comparison module, the comparison module is electrically connected to the search module, the comparison module is electrically connected to the total storage module, the search module is electrically connected to the total storage module, and the search module is electrically connected to the connection module.

[0021] Preferably, the connection module includes a selection module, a connection establishment module and a disconnection module, the selection module is electrically connected to the repair module, the selection module is electrically connected to the connection establishment module, the selection module is electrically connected to the disconnection module, the connection establishment module is electrically connected to the storage module, and the disconnection module is electrically connected to the storage module.

[0022] The present invention proposes a method and device for backing up server data in a computer room, which has the beneficial effects of: the method and device for backing up server data in a computer room can synchronously acquire data without interrupting data transmission by the server, store server data through a storage module, perform secondary backup of data generated by the server during data transmission through a repair module, and improve the stability of module repair and storage through a comparison module. BRIEF DESCRIPTION OF THE DRAWINGS

[0023] Figure 1 A structural diagram of a data backup method and device for a computer room server proposed by the present invention Figure 1 .

[0024] Figure 2 A structural diagram of a data backup method and device for a computer room server proposed by the present invention Figure 2 .

[0025] Figure 3 A structural diagram of a data backup method and device for a computer room server proposed by the present invention Figure 3 .

[0026] Figure 4 A structural diagram of a data backup method and device for a computer room server proposed by the present invention Figure 4 .

[0027] Figure 5 A structural diagram of a data backup method and device for a computer room server proposed by the present invention Figure 5 . DETAILED DESCRIPTION

[0028] The technical solutions in the embodiments of the present invention will be described clearly and completely 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, rather than all the embodiments.

[0029] Reference Figure 1-5 , a data backup method for a computer room server, comprising the following steps:

[0030] S1: synchronously obtain data without interrupting data transmission on the server;

[0031] S2: synchronously sending the acquired data to the storage module and the repair module, wherein the repair module is used to perform a secondary backup of the data generated by the server during the data transmission process;

[0032] The secondary backup includes the following steps:

[0033] S21: The data in the server is synchronously sent to the first storage module and the second storage module through the replication module;

[0034] S22: The data in the first storage module and the second storage module are transmitted to the comparison module for comparison and analysis;

[0035] If the data transmitted by the first storage module and the second storage module are the same, the data may be directly transmitted to the main storage module;

[0036] If the data transmitted by the first storage module and the second storage module are different, the selection module is connected to the storage module through the connection establishment module, the comparison module transmits the abnormal data segment to the search module, the search module searches for the segment of data in the storage module, and transmits the segment of data in the storage module to the comparison module, compares and analyzes the segment of data in the first storage module, the second storage module and the storage module again, and selects two identical segments of data to be transmitted to the total storage module;

[0037] S3: After the repair module and the storage module have completed data reception, the repair module selects a connection establishment module through a selection module, and connects the data in the repair module and the storage module through the connection establishment module. After the data in the repair module and the storage module are connected, a comparison module is used to compare and analyze the data in the repair module and the storage module.

[0038] A data backup device for a server in a computer room comprises a data acquisition module, a replication module, a storage module, a connection module and a repair module, wherein the data acquisition module is electrically connected to the replication module, the replication module is electrically connected to the storage module, the replication module is electrically connected to the repair module, the repair module is electrically connected to the connection module, and the connection module is electrically connected to the storage module.

[0039] The data acquisition module is used to synchronously acquire data without interrupting data transmission on the server.

[0040] The copy module includes a recording module and a data sending module. The recording module is electrically connected to the data acquisition module, the recording module is electrically connected to the data sending module, the data sending module is electrically connected to the storage module, and the data sending module is electrically connected to the repair module. The recording module is used to record the data in the data acquisition module, and the data sending module is used to send the data in the recording module to the storage module and the repair module.

[0041] The storage module includes a classification module, a directory establishment module, a compression module, a backup storage module and a decompression module. The classification module is electrically connected to the replication module, the classification module is electrically connected to the directory establishment module, the directory establishment module is electrically connected to the compression module, the compression module is electrically connected to the backup storage module, the backup storage module is electrically connected to the decompression module, and the decompression module is electrically connected to the connection module.

[0042] The classification module is used to classify the backup data and send the number of classification categories to the directory establishment module. The directory establishment module establishes a directory according to the number of categories and compresses the data after the directory is established through the compression module and transmits it to the backup storage module.

[0043] The repair module includes a first storage module, a second storage module, a comparison module, a search module and a total storage module, the first storage module and the second storage module are electrically connected to the replication module, the first storage module and the second storage module are electrically connected to the comparison module, the comparison module is electrically connected to the search module, the comparison module is electrically connected to the total storage module, the search module is electrically connected to the total storage module, and the search module is electrically connected to the connection module.

[0044] The connection module includes a selection module, a connection establishment module and a disconnection module, the selection module is electrically connected to the repair module, the selection module is electrically connected to the connection establishment module, the selection module is electrically connected to the disconnection module, the connection establishment module is electrically connected to the storage module, and the disconnection module is electrically connected to the storage module.

[0045] The above description is only a preferred specific implementation manner of the present invention, but the protection scope of the present invention is not limited thereto. Any technician familiar with the technical field can make equivalent replacements or changes according to the technical scheme and inventive concept of the present invention within the technical scope disclosed by the present invention, which should be covered by the protection scope of the present invention.

Claims

1. A method for backing up data of a server in a computer room, characterized in that: The following steps are involved: S1. Prepare a data backup device for a server in a computer room, comprising a data acquisition module, a replication module, a storage module, a connection module and a repair module, wherein the data acquisition module is electrically connected to the replication module, the replication module is electrically connected to the storage module, the replication module is electrically connected to the repair module, the repair module is electrically connected to the connection module, and the connection module is electrically connected to the storage module; The repair module includes a first storage module, a second storage module, a comparison module, a search module and a total storage module, the first storage module and the second storage module are electrically connected to the copy module, the first storage module and the second storage module are electrically connected to the comparison module, the comparison module is electrically connected to the search module, the comparison module is electrically connected to the total storage module, the search module is electrically connected to the total storage module, and the search module is electrically connected to the connection module; The connection module includes a selection module, a connection establishment module and a disconnection module, wherein the selection module is electrically connected to the repair module, the selection module is electrically connected to the connection establishment module, the selection module is electrically connected to the disconnection module, the connection establishment module is electrically connected to the storage module, and the disconnection module is electrically connected to the storage module; S2: synchronously obtain data without interrupting data transmission on the server; S3: synchronously sending the acquired data to the storage module and the repair module, wherein the repair module is used to perform a secondary backup of the data generated by the server during the data transmission process, and the secondary data backup includes the following steps: S31: The data in the server is synchronously sent to the first storage module and the second storage module through the replication module; S32: The data in the first storage module and the second storage module are transmitted to the comparison module for comparison and analysis; If the data transmitted by the first storage module and the second storage module are the same, the data may be directly transmitted to the main storage module; If the data transmitted by the first storage module and the second storage module are different, the selection module is connected to the storage module through the connection establishment module, the comparison module transmits the abnormal data segment to the search module, the search module searches for the segment of data in the storage module, and transmits the segment of data in the storage module to the comparison module, compares and analyzes the segment of data in the first storage module, the second storage module and the storage module again, and selects two identical segments of data to be transmitted to the total storage module; S4: When the repair module and the storage module have completed data reception, the repair module selects a connection establishment module through a selection module, and connects the data in the repair module and the storage module through the connection establishment module. After the data in the repair module and the storage module are connected, a comparison module is used to compare and analyze the data in the repair module and the storage module.

2. The method for backing up data of a server in a computer room according to claim 1, characterized in that: The data acquisition module is used to synchronously acquire data without interrupting data transmission on the server.

3. The method for backing up data of a server in a computer room according to claim 1, characterized in that: The copy module includes a recording module and a data sending module. The recording module is electrically connected to the data acquisition module, the recording module is electrically connected to the data sending module, the data sending module is electrically connected to the storage module, and the data sending module is electrically connected to the repair module. The recording module is used to record the data in the data acquisition module, and the data sending module is used to send the data in the recording module to the storage module and the repair module.

4. The method for backing up data of a server in a computer room according to claim 1, characterized in that: The storage module includes a classification module, a directory establishment module, a compression module, a backup storage module and a decompression module, wherein the classification module is electrically connected to the replication module, the classification module is electrically connected to the directory establishment module, the directory establishment module is electrically connected to the compression module, the compression module is electrically connected to the backup storage module, the backup storage module is electrically connected to the decompression module, and the decompression module is electrically connected to the connection module; The classification module is used to classify the backup data and send the number of classification categories to the directory establishment module. The directory establishment module establishes a directory according to the number of categories and compresses the data after the directory is established through the compression module and transmits it to the backup storage module.