Server data backup control method

By introducing group management and a precise data synchronization mechanism between the master and slave controllers, the problem of low data synchronization efficiency between the master and slave controllers is solved, and efficient data backup control is achieved.

CN115963897BActive Publication Date: 2026-05-08KUNDA COMP TECHKUSN +1
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
KUNDA COMP TECHKUSN
Filing Date
2021-10-12
Publication Date
2026-05-08

AI Technical Summary

Technical Problem

In existing technologies, the data synchronization and information retrieval process between the master controller and the slave controller is inefficient, especially when only a small amount of data needs to be synchronized, all data still needs to be synchronized, resulting in wasted time and resources.

Method used

The system uses a primary hard drive expansion card and a secondary hard drive expansion card to monitor system status data and hard drive status data respectively. The data is divided into multiple information groups through a default grouping table, and synchronous updates are only performed when data updates are detected, thereby reducing invalid data transmission.

Benefits of technology

Through group management and precise data synchronization mechanisms, the amount of data read and transmitted is significantly reduced, the efficiency of data backup control is improved, and time and resources are saved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115963897B_ABST
    Figure CN115963897B_ABST
Patent Text Reader

Abstract

A server data backup control method includes a management data step, a checking step, and a synchronous updating step. In the management data step, a first management unit of a master hard disk expansion card device divides a plurality of master system state data and a plurality of hard disk state data into a plurality of information groups, and in a master checking step of the checking step, the first management unit executes a first checking instruction to check only a state bit value of each information group, without checking whether all of the master system state data and the hard disk state data have updates, thereby greatly reducing the amount of data read. In the synchronous updating step, the first management unit only transmits all data of an information group having an update change to a slave hard disk expansion card device, and synchronously updates the corresponding information group in the slave hard disk expansion card device, thereby effectively saving time and achieving high efficiency.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to a control method, and more particularly to a server data backup control method. Background Technology

[0002] In computers and servers, bundled disk systems (e.g., Just a Bunch Of Disks, JBOD) are commonly used for system data storage and management. Generally, a JBOD device connects to multiple hard drives via an internal hard drive expansion control unit (expander). This unit simultaneously monitors the JBOD device and the multiple hard drives, generating corresponding monitoring information (such as temperature or on / off status). When the JBOD device is connected to a host, it can perform corresponding actions based on commands issued by the host, such as sending the aforementioned monitoring information back to the host or accessing data on the multiple hard drives. Furthermore, the controller module of the hard drive expansion control unit can receive server data status messages, thus monitoring and storing the server system's operational status, such as CPLD status data, cable connection status data, sensor status data, LED status data, and receiving physical layer (PHY) status data from the hard drives. In data storage technology, a common approach is to use a dual-controller module with a master controller and a slave controller that can mutually back up data. In addition to periodically syncing all its data status messages to the slave controller for backup, the master controller also periodically filters messages from the slave controller. After filtering the data from the slave controller, the master controller integrates the data with its own data and then sends it to the slave controller to synchronize and update all data status messages. This allows for backup storage and protection of data, effectively preventing data corruption caused by the failure of a single controller module.

[0003] However, the amount of data the master controller synchronizes with the slave controllers each time it sends all its data status messages is enormous. Even when only a small amount of data needs to be synchronized, the master controller still sends all of its data status messages, which is time-consuming and inefficient. Furthermore, the amount of information the master controller retrieves from the slave controllers each time is also very large, and even if the slave controllers' data status messages haven't changed, the master controller still periodically retrieves messages, which is highly inefficient. After retrieving the data from the slave controllers, the master controller integrates it with its own data before sending it to the slave controllers for a synchronized update of all data status messages. This requires the master and slave controllers to communicate frequently and with a large volume of messages, which is not only time-consuming but also often results in multiple meaningless retrievals and backups of unmodified data status messages, further contributing to inefficiency. Further investigation and improvement by professionals are needed. Summary of the Invention

[0004] The technical problem to be solved by the present invention is to provide a server data backup control method that reduces the amount of data read and has high efficiency.

[0005] To address the aforementioned technical problems, the present invention provides a server data backup control method, applied to a server data backup control system. This system includes a main control motherboard, a main hard disk expansion card device mounted on the main control motherboard, a slave motherboard, a slave hard disk expansion card device mounted on the slave motherboard, and a storage device. The main hard disk expansion card device includes a first management unit, a connection unit connecting the first management unit to the storage device and the main hard disk expansion card, and a first communication module connected to the first management unit. The slave hard disk expansion card device includes a second management unit, a slave hard disk expansion card connection unit connecting the second management unit to the storage device, and a second communication module connected to the second management unit and capable of communicating with the first communication module. The storage device includes multiple hard disks connected to the main hard disk expansion card connection unit and the slave hard disk expansion card connection unit. The server data backup control method includes an analysis step, a data management step, a monitoring step, a checking step, a synchronization update step, and a completion step.

[0006] In this analysis step, when the server data backup control system is operating, the first management unit of the main hard disk expansion card device is used to monitor and analyze multiple main control system status data of the main control motherboard and multiple hard disk status data of the hard disk operation of the storage device, and the second management unit of the slave hard disk expansion card device is used to monitor and analyze multiple slave system status data of the slave motherboard and the hard disk status data of the hard disk operation of the storage device.

[0007] In this data management step, the first management unit of the main hard disk expansion card device executes a management module to distinguish the main control system status data and the hard disk status data into multiple information groups according to a default grouping table built into the management module, and sets a status bit value of each information group to a first value; the second management unit of the slave hard disk expansion card device executes the management module to distinguish the slave system status data and the hard disk status data into multiple information groups corresponding to the information groups of the main hard disk expansion card device according to the default grouping table of the management module, and sets a status bit value of each information group to the first value.

[0008] In this monitoring step, the first management unit monitors the main control system status data and the hard disk status data in the information group. When the first management unit detects that any main control system status data or any hard disk status data in the information group is updated, the first management unit changes the status bit value of the information group corresponding to the updated main control system status data or the updated hard disk status data to a second bit value.

[0009] The inspection step includes a main inspection step, in which the first management unit executes a first inspection instruction from the management module and checks the status bit value of each information group of the main hard disk expansion card device, and determines whether the status bit value of any information group of the main hard disk expansion card device is the second bit value. If the determination is yes, the first management unit executes a synchronization update instruction.

[0010] In this synchronization update step, the first management unit executes the synchronization update instruction and transmits all data in the information group corresponding to each status bit value of the main hard disk expansion card device to the second communication module via the first communication module. The second management unit of the slave hard disk expansion card device then synchronously updates the data received by the second communication module to the corresponding information group.

[0011] In this completion step, after the first management unit transmits all the data in the information group corresponding to the second bit value for each status bit value to the second communication module, the first management unit changes the second bit value back to the first bit value.

[0012] Compared to existing technologies, this invention, through its design in the data management step, utilizes the first management unit of the main hard disk expansion card device to execute the management module and distinguish the main control system status data and the hard disk status data into multiple information groups according to the default grouping table of the management module. Furthermore, in the main inspection step of the inspection step, the first management unit executes the first inspection instruction and only needs to check the status bit values ​​of the information groups in the main hard disk expansion card device, without having to check whether all the main control system status data and the hard disk status data have been updated, thus significantly reducing the amount of data read. In conjunction with the synchronization update step, the first management unit transmits all data in the information group corresponding to each status bit value of the main hard disk expansion card device to the second communication module via the first communication module, and the second management unit synchronizes the received data to the corresponding information group. Therefore, the main hard disk expansion card device only transmits the data in the information group corresponding to the second bit value to the slave hard disk expansion card device for synchronization update, thus improving the problem that in conventional methods, all the master control system status data and hard disk status data in the main hard disk expansion card device must be synchronized and updated each time, effectively saving time and improving efficiency. Attached Figure Description

[0013] Other features and effects of the present invention will be clearly presented in the embodiments with reference to the drawings, wherein:

[0014] Figure 1 This is a block diagram illustrating an embodiment of the server data backup control method of the present invention applied to a server data backup control system; and

[0015] Figure 2 This is a flowchart illustrating the steps of an embodiment of the server data backup control method of the present invention. Detailed Implementation

[0016] Before the invention is described in detail, it should be noted that similar components are represented by the same numbers in the following description.

[0017] See Figure 1 and Figure 2This invention discloses a server data backup control method applied to a server data backup control system 100. The server data backup control system 100 includes a main control motherboard 1, a main hard disk expansion card device 2 mounted on the main control motherboard 1, a slave motherboard 3, a slave hard disk expansion card device 4 mounted on the slave motherboard 3, and a storage device 5. The main hard disk expansion card device 2 includes a first management unit 21, a main hard disk expansion card connection unit 22 connecting the first management unit 21 and the storage device 5, and a first communication module 23 connected to the first management unit 21. The slave hard disk expansion card device 4 includes a second management unit 41, a slave hard disk expansion card connection unit 42 connecting the second management unit 41 and the storage device 5, and a second communication module 43 connected to the second management unit 41 and capable of communicating with the first communication module 23. The storage device 5 includes multiple hard disks 51 connected to the main hard disk expansion card connection unit 22 and the slave hard disk expansion card connection unit 42. In this embodiment, the primary hard disk expansion card device 2 and the secondary hard disk expansion card device 4 are in the form of SAS Expanders, while the primary hard disk expansion card connection unit 22 and the secondary hard disk expansion card connection unit 42 are in the form of SAS channel modules connecting the hard disk 51, but are not limited thereto. The server data backup control method includes an analysis step A, a data management step B, a monitoring step C, a checking step D, a synchronization update step E, and a completion step F.

[0018] First, in analysis step A, when the server data backup control system 100 is operating, the first management unit 21 of the main hard disk expansion card device 2 is used to monitor and analyze multiple main control system status data of the main control motherboard 1 and multiple hard disk status data of the hard disk 51 of the storage device 5. The second management unit 41 of the slave hard disk expansion card device 4 is used to monitor and analyze multiple slave system status data of the slave motherboard 3 and the hard disk status data of the hard disk 51 of the storage device 5. Furthermore, in the data management step B, the first management unit 21 of the main hard disk expansion card device 2 executes a management module to distinguish the main control system status data and the hard disk status data into multiple information groups according to a default grouping table built into the management module, and sets a status bit value of each information group to a first value. The second management unit 41 of the slave hard disk expansion card device 4 executes the management module to distinguish the slave system status data and the hard disk status data into multiple information groups corresponding to the information groups of the main hard disk expansion card device 2 according to the default grouping table of the management module, and sets a status bit value of each information group to the first value. In simple terms, the first management unit 21 of the main hard disk expansion card device 2 executes the management module to distinguish the monitored main control system status data and the hard disk status data into multiple information groups, and the second management unit 41 of the slave hard disk expansion card device 4 executes the management module to distinguish the monitored slave system status data and the hard disk status data into multiple information groups corresponding to the information groups of the main hard disk expansion card device 2 according to the default grouping table of the management module.In this embodiment, the default grouping table of the management module divides the information groups into three groups: a first information group, a second information group, and a third information group. Therefore, the first management unit 21 of the main hard disk expansion card device 2 executes the management module and, according to the default grouping table, distinguishes the main control system status data and the hard disk status data into the first, second, and third information groups. The second management unit 41 of the slave hard disk expansion card device 4 executes the management module and, according to the default grouping table of the management module, distinguishes the slave system status data and the hard disk status data into the first, second, and third information groups with the same content as the information groups of the main hard disk expansion card device 2. For example, in this embodiment, in analysis step A, the main control system status data includes CPLD status data messages, Self Health status data messages, Cable status data messages, Sensor status data messages, LED status data messages, I²C status data messages, and SES status data messages. The status data messages, including the subordinate system status data, are CPLD status data messages, Self Health status data messages, Cable status data messages, Sensor status data messages, LED status data messages, I²C status data messages, and SES status data messages. The hard disk status data is the interface physical layer (PHY) status data message connected to the hard disk 51. In the management data step B, the first management unit 21 of the main hard disk expansion card device 2 executes the management module to distinguish the main control system status data and hard disk status data into the first information group, the second information group, and the third information group according to the default grouping table of the management module. Among them, the CPLD status data messages, Self Health status data messages, and Cable status data messages are classified into the first information group; the Sensor status data messages, LED status data messages, I²C status data messages, and SES status data messages are classified into the third information group. Status data messages are categorized into the second information group; interface physical layer (PHY) status data messages are categorized into the third information group; the second management unit 41 of the slave hard disk expansion card device 4 executes the management module to distinguish the slave system status data and the hard disk status data into the first information group, the second information group, and the third information group, which have the same content as the information group of the main hard disk expansion card device 2. However, this is not a limitation, and five or other groups of information groups can be distinguished according to actual needs, so that the first management unit 21 and the second management unit 41 can perform subsequent monitoring.In this embodiment, the primary hard disk expansion card device 2 of the server data backup control system further includes a first storage module 24 connected to the first management unit 21, and the secondary hard disk expansion card device 4 further includes a second storage module 44 connected to the second management unit 41. In the data management step B, the first management unit 21 of the primary hard disk expansion card device 2 distinguishes the information groups of the main control system status data and the hard disk status data according to the default grouping table of the management module and stores them in the first storage module 24. The second management unit 41 of the secondary hard disk expansion card device 4 distinguishes the information groups of the secondary system status data and the hard disk status data according to the default grouping table of the management module and stores them in the second storage module 44, but this is not a limitation.

[0019] Furthermore, in monitoring step C, the first management unit 21 monitors the main control system status data and the hard disk status data in the information group. When the first management unit 21 detects that any main control system status data or any hard disk status data in the information group is updated, the first management unit 21 changes the status bit value of the information group corresponding to the updated main control system status data or the updated hard disk status data to a second bit value. The second management unit 41 of the slave hard disk expansion card device 4 monitors the slave system status data and the hard disk status data in the information group. When the second management unit 41 detects that any slave system status data or any hard disk status data in the information group is updated, the second management unit 41 changes the status bit value of the information group corresponding to the updated slave system status data or the updated hard disk status data to the second bit value. In other words, the first management unit 21 of the primary hard disk expansion card device 2 monitors the master control system status data and the hard disk status data in its own information group and changes the status bit value of the information group corresponding to updated master control system status data or updated hard disk status data to the second bit value. In other words, as long as the status bit value of the information group is the second bit value, it means that at least one piece of data in the information group has been changed. Similarly, the second management unit 41 of the secondary hard disk expansion card device 4 also monitors the secondary system status data and the hard disk status data in its own information group and changes the status bit value of the information group corresponding to updated secondary system status data or updated hard disk status data to the second bit value. Simply put, as long as the status bit value of the information group is the second bit value, it means that at least one piece of data in the information group has been changed.

[0020] Next, the inspection step D includes a main inspection step D1 and a subordinate inspection step D2.

[0021] In the main inspection step D1, the first management unit 21 executes a first inspection instruction from the management module and checks the status bit value of each information group of the main hard disk expansion card device 2. It then determines whether the status bit value of any information group of the main hard disk expansion card device 2 is the second bit value. If the determination is yes, the first management unit 21 executes a synchronization update instruction. In simpler terms, the first management unit 21 checks the status bit value of each information group of the main hard disk expansion card device 2 to determine if there are any updates or changes in each information group. If the determination is yes, the first management unit 21 executes a synchronization update instruction. Furthermore, the first management unit 21 of the main hard disk expansion card device 2 only needs to check the status bit value of each information group to determine if there are any updates or changes in each information group. This eliminates the need to check the massive amounts of main control system status data and hard disk status data in the main hard disk expansion card device 2 one by one, significantly reducing the amount of data required for inspection. For example, in this embodiment, in the data management step B, the first management unit 21 of the main hard disk expansion card device 2 divides the main control system status data and the hard disk status data into three information groups: the first information group, the second information group, and the third information group. In the main check step D1, when the first management unit 21 executes the first check instruction, it only needs to check the status bit values ​​(3 bytes) of the three information groups in the main hard disk expansion card device 2, without needing to check the large number of bits of the main control system status data and the hard disk status data one by one. Furthermore, if in the main check step D1, the first management unit 21 does not find that the status bit value of any information group in the main hard disk expansion card device 2 is the second bit value, it means that the first management unit 21 has found that the status bit value of every information group in the main hard disk expansion card device 2 is the first bit value, meaning that the data in each information group in the main hard disk expansion card device 2 has not been updated or changed.

[0022] In the subordinate check step D2, the first management unit 21 of the primary hard disk expansion card device 2 executes a second check instruction from the management module and communicates with the second communication module 43 via the first communication module 23 to check the status bit value of each information group of the subordinate hard disk expansion card device 4, and determines whether the status bit value of any information group of the subordinate hard disk expansion card device 4 is the second bit value. If the determination is yes, the first management unit 21 sends an acquisition message to the second management unit 41, and after receiving the acquisition message, the second management unit 41 sets the status bit value of each information group to the second bit value. All data in the information group corresponding to the second bit value is transmitted to the first communication module 23 via the second communication module 43. After the second management unit 41 transmits all data in the information group corresponding to the second bit value for each status bit value to the first communication module 23 via the second communication module 43, the second management unit 41 changes the second bit value back to the first bit value. The first management unit 21 updates the data received by the first communication module 23 to the corresponding information group and then returns to the monitoring step C. If the determination is negative, the first management unit 21 executes the synchronization update instruction. In other words, the first management unit 21 also checks the status bit value of each information group of the slave hard disk expansion card device 4 to determine whether each information group of the slave hard disk expansion card device 4 needs to be filtered. If the determination is yes, the first management unit 21 sends the acquisition message and the second management unit 41 receives the acquisition message. Then, the second management unit 41 transmits all the data in the information group whose status bit value is the second bit value to the first management unit 21. When the second management unit 41 transmits all the data in the information group whose status bit value is the second bit value to the first communication module 23 through the second communication module 43, it means that all the data of the information group to be filtered by the master hard disk expansion card device 2 has been transmitted. Therefore, the second management unit 41 will change the second bit value back to the first bit value, and the first management unit 21 will update the received data to the corresponding information group and return to the monitoring step C. Furthermore, when the first management unit 21 of the main hard disk expansion card device 2 executes the second check instruction, it only needs to check the status bit value of each information group of the slave hard disk expansion card device 4 to know whether each information group of the slave hard disk expansion card device 4 needs to be filtered. It does not need to check the huge amount of slave system status data and hard disk status data in the slave hard disk expansion card device 4 one by one, which greatly reduces the amount of data to be read during the check.For example, in this embodiment, in the data management step B, the second management unit 41 of the slave hard disk expansion card device 4 separates its slave system status data and hard disk status data into three information groups: the first information group, the second information group, and the third information group, which contain the same content as the information group of the main hard disk expansion card device 2. Therefore, in the slave check step D2, when the first management unit 21 executes the second check instruction, it only needs to check the status bit values ​​(3 bytes) of the three information groups in the slave hard disk expansion card device 4, without having to check the large number of bits of slave system status data and hard disk status data one by one from the slave hard disk expansion card device 4. When the check result in the subordinate check step D2 is yes, it means that the first management unit 21 of the main hard disk expansion card device 2 has executed the second check instruction and has checked that the status bit value of any information group of the subordinate hard disk expansion card device 4 is the second bit value. Then, the first management unit 21 sends an acquisition message to the second management unit 41. After receiving the acquisition message, the second management unit 41 transmits all the data in the information group corresponding to each status bit value of the second bit value to the first communication module 23 through the second communication module 43. The first management unit 21 then updates the data received by the first communication module 23 to the corresponding information group. In other words, in the subordinate check step D2, the first management unit 21 of the primary hard disk expansion card device 2 detects that the subordinate hard disk expansion card device 4 has a status bit value of the second bit value, and thus knows that the subordinate hard disk expansion card device 4 has information groups that need to be filtered. The first management unit 21 sends the acquisition message to the second management unit 41, and after receiving the acquisition message, the second management unit 41 sends back all the data in each information group corresponding to the second bit value to the primary hard disk expansion card device 2. The first management unit 21 updates the corresponding information group with the data received through the first communication module 23. Simply put, the primary hard disk expansion card device 2 will only filter all the data in the information group corresponding to the second bit value in the subordinate hard disk expansion card device 4. In addition, if, in the subordinate check step D2, the first management unit 21 does not find that the status bit value of any information group of the subordinate hard disk expansion card device 4 is the second bit value, it means that the first management unit 21 has found that the status bit value of each information group of the subordinate hard disk expansion card device 4 is the first bit value. That is, the data of each information group in the subordinate hard disk expansion card device 4 has not been updated or changed. Therefore, the master hard disk expansion card device 2 does not need to filter any data from the subordinate hard disk expansion card device 4.

[0023] It should be noted that, in this embodiment, the first management unit 21 executes the synchronization update command only when the check judgment result in the main check step D1 is yes (Y) and the check judgment result in the subordinate check step D2 is no (N). In other words, the first management unit 21 executes the synchronization update command and performs the synchronization update step E only when it determines that the status bit value of any information group in the main hard disk expansion card device 2 is the second bit value and determines that the status bit value of any information group in the subordinate hard disk expansion card device 4 is not the second bit value. In other cases, such as when the first management unit 21 determines that the second bit value is not found in the main check step D1, it means that the data of each information group in the main hard disk expansion card device 2 has not been updated or changed, and there is no need to perform the subsequent update of backup data to the subordinate hard disk expansion card device 4, and the process returns to the monitoring step C. For example, if the status bit value of any information group in the slave hard disk expansion card device 4 is found to be the second bit value in the slave check step D2, it means that the data of at least one information group in the slave hard disk expansion card device 4 has been updated or changed. Then the first management unit 21 sends the acquisition message to obtain the data of the information group in the slave hard disk expansion card device 4 corresponding to the second bit value and returns to the monitoring step C, but this is not limited to this. Additionally, for example, in this embodiment, the first management unit 21 of the primary hard disk expansion card device 2 categorizes the I²C status data messages into the second information group. The I²C status data messages contain information about the usage status of the I²C bus (not shown) in the primary hard disk expansion card device 2 and the usage status of the I²C bus (not shown) in the secondary hard disk expansion card device 4. When the I²C status data messages in the secondary hard disk expansion card device 4 have been updated, the first management unit 21 receives the updated I²C status data messages from the secondary hard disk expansion card device 4 through the first communication module 23 and updates its own corresponding information accordingly. The second information group I²C status data message, for example, the I²C status data message of the second information group in the main hard disk expansion card device 2 contains information on the usage status of the 6 I²C buses in the main hard disk expansion card device 2 and the usage status of the 2 I²C buses in the slave hard disk expansion card device 4. When the first management unit 21 receives the updated I²C status data message from the slave hard disk expansion card device 4 through the first communication module 23, it will update the usage status of the corresponding 2 I²C buses in the slave hard disk expansion card device 4 in the I²C status data message of the second information group in the main hard disk expansion card device 2. At this time, in the main hard disk expansion card device 2, since the I²C status data message of the second information group has been updated, the first management unit 21 will change the status bit value of the second information group to the second bit value when the monitoring step C is executed next time.

[0024] Incidentally, in this embodiment, the first management unit executes the first check instruction and the second check instruction periodically during the inspection step, but this is not a limitation. In this embodiment, the first management unit 21 of the main hard disk expansion card device 2 and the second management unit 41 of the slave hard disk expansion card device 4 communicate and transmit data using a PHY, but this is not a limitation.

[0025] Next, in the synchronization update step E, the first management unit 21 executes the synchronization update instruction and transmits all data in the information group corresponding to each status bit value of the primary hard disk expansion card device 2 to the second communication module 43 via the first communication module 23. The second management unit 41 of the secondary hard disk expansion card device 4 then synchronously updates the data received by the second communication module 43 to the corresponding information group. In simpler terms, the first management unit 21 of the primary hard disk expansion card device 2 detects that there is an information group in the primary hard disk expansion card device 2 with a status bit value of the second bit value, thus knowing that there is changed data in the primary hard disk expansion card device 2. The first management unit 21 transmits all data in the information group corresponding to the second bit value to the second communication module 43 via the first communication module 23, and the second management unit 41 synchronously updates the received data to the corresponding information group in the secondary hard disk expansion card device 4 through the second communication module 43. In simple terms, the primary hard drive expansion card device 2 will only transmit all the data in the information group corresponding to the second bit value to the secondary hard drive expansion card device 4 for synchronous updates.

[0026] In step F, after the first management unit 21 transmits all data in the information group corresponding to each status bit value of the second bit value to the second communication module 43, the first management unit 21 changes the second bit value back to the first bit value. In other words, after the first management unit 21 transmits all data in the information group corresponding to each status bit value of the second bit value to the second communication module 43 via the first communication module 23, it means that all data in the information group that the main hard disk expansion card device 2 needs to update and back up to the slave hard disk expansion card device 4 has been transmitted. The first management unit 21 will then change the second bit value back to the first bit value, thus completing the data backup operation. Furthermore, after step F is completed, after a default time, the main hard disk expansion card device 2 and the slave hard disk expansion card device 4 will directly return to step C to perform the next data backup operation, thus achieving periodic data backup operations.

[0027] Because of the design in step B of the data management, the first management unit 21 of the main hard disk expansion card device 2 separates the main control system status data and the hard disk status data into multiple information groups, and the second management unit 41 of the slave hard disk expansion card device 4 separates the slave system status data and the hard disk status data into multiple information groups corresponding to the information groups of the main hard disk expansion card device 2, and in the main inspection step D1 of inspection step D, the first management unit 21 executes the first inspection instruction and only needs to check the status bit value of the information group, and in the slave inspection step D2 of inspection step D, the first management unit 21 of the main hard disk expansion card device 2 executes the second inspection instruction and only needs to check the status bit value of each information group of the slave hard disk expansion card device 4, without having to check whether all the data in the main hard disk expansion card device 2 and the slave hard disk expansion card device 4 has been updated, the amount of data read is greatly reduced. In conjunction with the synchronization update step E, the first management unit 21 transmits all data in the information group corresponding to each status bit value to the second communication module 43 via the first communication module 23, and the second management unit 41 synchronizes the received data to the corresponding information group. Therefore, the main hard disk expansion card device 2 only transmits all data in the information group corresponding to the second bit value to the slave hard disk expansion card device 4 for synchronization update, thus improving the problem that in conventional methods, all the main control system status data, slave system status data, and all hard disk status data must be synchronized and updated each time, effectively saving time and improving efficiency.

[0028] In summary, the server data backup control method of the present invention, through the design of the first management unit 21 of the main hard disk expansion card device 2 in the data management step B, distinguishes the main control system status data and the hard disk status data into multiple information groups according to the default grouping table of the management module, and in the main inspection step F, the first management unit 21 only needs to check the status bit value of the information group, without having to check whether all the main control system status data and the hard disk status data have been updated, significantly reducing the amount of data read. Furthermore, in the synchronization update step E, the first management unit 21 transmits all data in the information group corresponding to each status bit value to the second management unit 41, and the second management unit 41 synchronously updates the received data to the corresponding information group. Therefore, the main hard disk expansion card device 2 only transmits the data in the information group corresponding to the second bit value to the slave hard disk expansion card device 4 for synchronous update, thus improving the problem of having to synchronously update all hard disk status data every time in conventional methods, effectively saving time and improving efficiency.

[0029] The above description is merely a specific embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the technical scope disclosed in the present invention should be included within the scope of protection of the present invention. Therefore, the scope of protection of the present invention should be determined by the scope of the claims.

Claims

1. A server data backup control method, applied to a server data backup control system, the server data backup control system comprising a main control motherboard, a main hard disk expansion card device disposed on the main control motherboard, a slave motherboard, a slave hard disk expansion card device disposed on the slave motherboard, and a storage device, the main hard disk expansion card device comprising a first management unit, a main hard disk expansion card connection unit connecting the first management unit and the storage device, and a first communication module connected to the first management unit, the slave hard disk expansion card device comprising a second management unit, a slave hard disk expansion card connection unit connecting the second management unit and the storage device, and a second communication module connected to the second management unit and capable of communicating with the first communication module, the storage device comprising a plurality of hard disks connected to the main hard disk expansion card connection unit and the slave hard disk expansion card connection unit, characterized in that, The server data backup control method includes: In one analysis step, when the server data backup control system is operating, the first management unit of the main hard disk expansion card device is used to monitor and analyze multiple main control system status data of the main control motherboard and multiple hard disk status data of the hard disk operation of the storage device, and the second management unit of the slave hard disk expansion card device is used to monitor and analyze multiple slave system status data of the slave motherboard and the hard disk status data of the hard disk operation. In a data management step, the first management unit of the main hard disk expansion card device executes a management module to distinguish the main control system status data and the hard disk status data of the main hard disk expansion card device into multiple information groups according to a default grouping table built into the management module, and sets a status bit value of each information group to a first value. The second management unit of the slave hard disk expansion card device executes the management module to distinguish the slave system status data and the hard disk status data into multiple information groups corresponding to the information groups of the main hard disk expansion card device according to the default grouping table of the management module, and sets a status bit value of each information group to the first value. In one monitoring step, the first management unit monitors the main control system status data and the hard disk status data in the information group. When the first management unit detects that any main control system status data or any hard disk status data in the information group is updated, the first management unit changes the status bit value of the information group corresponding to the updated main control system status data or the updated hard disk status data to a second bit value. An inspection step includes a main inspection step, in which the first management unit executes a first inspection instruction from the management module and checks the status bit value of each information group of the main hard disk expansion card device, and determines whether the status bit value of any information group of the main hard disk expansion card device is the second bit value. If the determination is yes, the first management unit executes a synchronization update instruction. In a synchronization update step, the first management unit executes the synchronization update instruction and transmits all data in the information group corresponding to each status bit value of the main hard disk expansion card device to the second communication module via the first communication module, and the slave hard disk expansion card device synchronously updates the data received by the second communication module to the corresponding information group through the second management unit. and In the first step, after the first management unit transmits all the data in the information group corresponding to the second bit value for each status bit value to the second communication module, the first management unit changes the second bit value back to the first bit value. This inspection step also includes a subordinate inspection step, wherein, The monitoring step also includes the second management unit monitoring the slave system status data and the hard disk status data in the information group. When the second management unit monitors that any slave system status data or any hard disk status data in the information group is updated, the second management unit changes the status bit value of the information group corresponding to the updated slave system status data or the updated hard disk status data to the second bit value. In the subordinate check step of this check step, the first management unit of the main hard disk expansion card device executes a second check instruction from the management module and checks the status bit value of each information group of the subordinate hard disk expansion card device through the communication connection between the first and second communication modules. It determines whether the status bit value of any information group of the subordinate hard disk expansion card device is the second bit value. If the determination is yes, the first management unit sends an acquisition message to the second management unit. After receiving the acquisition message, the second management unit transmits all the data in the information group corresponding to the second bit value through the second communication module to the first communication module. After the second management unit transmits all the data in the information group corresponding to the second bit value through the second communication module to the first communication module, the second management unit changes the second bit value back to the first bit value. The first management unit updates the data received by the first communication module to the corresponding information group and returns to the monitoring step. If the determination is no, the first management unit executes the synchronization update instruction.

2. The server data backup control method as described in claim 1, characterized in that, In this inspection step, the first management unit periodically executes the first inspection instruction and the second inspection instruction.

3. The server data backup control method as described in claim 1, characterized in that, In this analysis step, the main control system status data includes CPLD status data, Self Health status data, Cable status data, Sensor status data, LED status data, I²C status data, and SES status data. The subordinate system status data includes CPLD status data, Self Health status data, Cable status data, Sensor status data, LED status data, I²C status data, and SES status data. The hard disk status data is the physical layer (PHY) status data of the hard disk interface. In this data management step, the first management unit of the main hard disk expansion card device executes the management module to separate the main control system status data and the hard disk status data into a first information group, a second information group, and a third information group. The CPLD status data, Self Health status data, and Cable status data are classified into the first information group; the Sensor status data, LED status data, I²C status data, and SES status data are classified into the third information group. Status data messages are categorized into the second information group; interface physical layer (PHY) status data messages are categorized into the third information group; the second management unit of the slave hard disk expansion card device executes the management module to separate the slave system status data and the hard disk status data into the first information group, the second information group, and the third information group, which contain the same content as the information group of the main hard disk expansion card device.

4. The server data backup control method as described in claim 1, characterized in that, In this completion step, when the first management unit transmits all the data in the information group corresponding to the second bit value for each status bit value to the second communication module and the first management unit determines that all the data to be transmitted has been transmitted, the first management unit changes the second bit value back to the first bit value and then ends, and returns to the monitoring step after a preset time.

5. The server data backup control method as described in claim 1, characterized in that, The primary hard disk expansion card device of the server data backup control system further includes a first storage module connected to the first management unit, and the secondary hard disk expansion card device further includes a second storage module connected to the second management unit. In the data management step, the first management unit of the primary hard disk expansion card device distinguishes the information groups of the main control system status data and the hard disk status data according to the default grouping table of the management module and stores them in the first storage module. The second management unit of the secondary hard disk expansion card device distinguishes the information groups of the secondary system status data and the hard disk status data according to the default grouping table of the management module and stores them in the second storage module.

Citation Information

Patent Citations

  • Replication of data objects from a source server to a target server

    CN103765817A

  • Access methods, related devices and systems for distributed storage systems

    CN108934187B