Data backup method and backup system
By setting the amount of data to be backed up per unit time and the target number of data blocks, the problem of increased server load caused by different data backup methods was solved, achieving efficient and timely data backup.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- SHENZHEN SHUCUN TECH CO LTD
- Filing Date
- 2022-09-15
- Publication Date
- 2026-07-24
AI Technical Summary
Existing data backup methods tend to increase the storage frequency and operating load of data storage servers, leading to an increased risk of server crashes.
By acquiring the data volume of the backup server in real time, setting the data block backup data volume and target number per unit time, multiple target backup data blocks that meet the backup data volume and data block number are formed and sent to the backup server for storage.
This effectively reduces the storage operation frequency of the backup server, reduces the server load, and ensures the efficiency and timeliness of data backup, preventing the efficiency and timeliness of data backup from being reduced due to unreasonable settings.
Smart Images

Figure CN115421978B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to a data backup method and backup system, and belongs to the field of data backup technology. Background Technology
[0002] With the continuous development of IoT technology, IoT technology is gradually being applied to industrial production processes in various industries. Since IoT has a large demand for data storage and backup, data backup and storage is an important function of IoT in industrial production engineering.
[0003] In existing technologies, data backup often requires uploading to a server for storage. However, during the data upload process, real-time data acquisition and timely backup are often used. This backup method greatly increases the storage frequency of the data storage server, increases the server's operating load, and can easily cause the server to crash. Summary of the Invention
[0004] This invention provides a data backup method and system to solve the problem that existing data backup methods easily increase the storage frequency and operating load of data storage servers. The technical solution adopted is as follows:
[0005] A data backup method, the data backup method comprising:
[0006] The amount of backup data acquired by the backup server per unit time is obtained in real time.
[0007] Based on the backup data volume, set the unit data block backup data volume and the target number of data blocks corresponding to the backup server per unit time.
[0008] Backup data is accumulated according to the unit data block backup data volume and the target number of data blocks until multiple target backup data blocks that meet the backup data volume and the number of data blocks are formed;
[0009] When multiple target backup data blocks that meet the specified backup data volume and number of data blocks are formed, the multiple target backup data blocks are sent to the backup server for backup storage.
[0010] Furthermore, the amount of backup data acquired by the backup server per unit time in real time includes:
[0011] Extract the historical data backup information corresponding to the backup server;
[0012] Combining the historical data backup information and dividing the historical backup data volume in the historical data backup information according to the preset standard time period, the historical backup data volume in each preset standard time period is compared with the preset standard data backup volume C. Based on the comparison result, the unit time is set using a unit time setting model, wherein the unit time setting model is as follows:
[0013]
[0014] Where T represents a unit of time; T0 represents a preset standard time period, the value of which ranges from 24h to 72h; X1 represents the number of times the amount of historical backup data within T0 exceeds the preset standard data backup amount C; X2 represents the number of times the amount of historical backup data within T0 does not exceed the preset standard data backup amount C; X3 represents the number of times the amount of historical backup data exceeds 0.48C.
[0015] The total amount of backup data generated by all backup data generating devices is collected within the unit time period, and the total amount of backup data generated by all backup data generating devices is taken as the backup data volume.
[0016] Further, based on the backup data volume, the unit data block backup data volume and the target number of data blocks corresponding to the backup server per unit time are set, including:
[0017] The amount of backup data collected per unit time is compared with a preset data volume threshold to obtain the data volume level of the backup data.
[0018] The backup data volume per unit data block and the target number of data blocks are determined based on the data volume level.
[0019] Further, the amount of backup data collected per unit time is compared with a preset data volume threshold to obtain the data volume level of the backup data, including:
[0020] When the amount of backup data collected per unit time is lower than a preset first data volume threshold, the amount of backup data is determined to be lightweight.
[0021] When the amount of backup data collected per unit time is lower than a preset second data volume threshold but exceeds the first data volume threshold, the amount of backup data is determined to be medium.
[0022] When the amount of backup data collected per unit time exceeds a preset second data volume threshold, the amount of backup data is determined to be of medium importance.
[0023] Further, determining the backup data volume per unit data block and the target number of data blocks based on the data volume level includes:
[0024] When the amount of backup data collected per unit time is lightweight, the first model is used to determine the amount of backup data per unit data block and the target number of data blocks; wherein, the first model is as follows:
[0025]
[0026]
[0027] Where C1 and N1 represent the amount of backup data per unit data block and the number of target data blocks obtained by the first model, respectively; C 01 Indicates the first data volume threshold; C d This indicates the amount of backup data collected per unit time; INT() indicates rounding up.
[0028] When the amount of backup data collected per unit time is of medium magnitude, the second model is used to determine the amount of backup data per unit data block and the target number of data blocks; wherein, the second model is as follows:
[0029]
[0030]
[0031] Where C2 and N2 represent the amount of backup data per unit data block and the number of target data blocks obtained by the second model, respectively; C 02 Indicates the second data volume threshold; C d This indicates the amount of backup data collected per unit time; INT() indicates rounding up.
[0032] When the amount of backup data collected per unit time is heavyweight, the third model is used to determine the amount of backup data per unit data block and the target number of data blocks; wherein, the third model is as follows:
[0033]
[0034]
[0035] Where C3 and N3 represent the amount of backup data per unit data block and the number of target data blocks obtained by the third model, respectively; C 02 Indicates the second data volume threshold; C d This indicates the amount of backup data collected per unit time; INT() indicates rounding up.
[0036] A data backup system, the data backup system comprising:
[0037] The real-time acquisition module is used to acquire the amount of backup data acquired by the backup server per unit time in real time.
[0038] The setting module is used to set the unit data block backup data volume and the target number of data blocks corresponding to the backup server per unit time according to the backup data volume;
[0039] The data accumulation module is used to accumulate backup data according to the backup data volume per unit data block and the target number of data blocks, until multiple target backup data blocks that meet the backup data volume and the number of data blocks are formed;
[0040] The backup storage module is used to uniformly send multiple target backup data blocks to the backup server for backup storage when multiple target backup data blocks that meet the specified backup data volume and number of data blocks are formed.
[0041] Furthermore, the real-time acquisition module includes:
[0042] The historical data backup information extraction module is used to extract the historical data backup information corresponding to the backup server;
[0043] The unit time setting module is used to combine the historical data backup information and divide the historical backup data volume in the historical data backup information according to the preset standard time period, and compare the historical backup data volume in each preset standard time period with the preset standard data backup volume C. Based on the comparison result, the unit time is set using the unit time setting model, wherein the unit time setting model is as follows:
[0044]
[0045] Where T represents a unit of time; T0 represents a preset standard time period, the value of which ranges from 24h to 72h; X1 represents the number of times the amount of historical backup data within T0 exceeds the preset standard data backup amount C; X2 represents the number of times the amount of historical backup data within T0 does not exceed the preset standard data backup amount C; X3 represents the number of times the amount of historical backup data exceeds 0.48C.
[0046] The total data acquisition module is used to acquire the total amount of backup data generated by all backup data generating devices within the unit time, and to use the total amount of backup data generated by all backup data generating devices as the backup data volume.
[0047] Furthermore, the setting module includes:
[0048] The grade determination module is used to compare the amount of backup data collected per unit time with a preset data volume threshold to obtain the data volume grade of the backup data.
[0049] The backup parameter determination module is used to determine the backup data volume per unit data block and the target number of data blocks based on the data volume level.
[0050] Furthermore, the level determination module includes:
[0051] The first-level determination module is used to determine that the backup data volume is lightweight when the amount of backup data collected per unit time is lower than a preset first data volume threshold.
[0052] The second level determination module is used to determine the backup data volume as medium when the amount of backup data collected per unit time is lower than a preset second data volume threshold but exceeds the first data volume threshold.
[0053] The third-level determination module is used to determine the backup data volume as medium-to-high level when the amount of backup data collected within the unit time exceeds a preset second data volume threshold.
[0054] Furthermore, the backup parameter determination module includes:
[0055] The first backup parameter determination module is used to determine the backup data volume per unit data block and the target number of data blocks using a first model when the amount of backup data collected per unit time is lightweight; wherein, the first model is as follows:
[0056]
[0057]
[0058] Where C1 and N1 represent the amount of backup data per unit data block and the number of target data blocks obtained by the first model, respectively; C 01 Indicates the first data volume threshold; C d This indicates the amount of backup data collected per unit time; INT() indicates rounding up.
[0059] The second backup parameter determination module is used to determine the backup data volume per unit data block and the target number of data blocks using a second model when the amount of backup data collected per unit time is of medium magnitude; wherein, the second model is as follows:
[0060]
[0061]
[0062] Where C2 and N2 represent the amount of backup data per unit data block and the number of target data blocks obtained by the second model, respectively; C 02 Indicates the second data volume threshold; C d This indicates the amount of backup data collected per unit time; INT() indicates rounding up.
[0063] The third backup parameter determination module is used to determine the backup data volume per unit data block and the target number of data blocks when the amount of backup data collected per unit time is heavyweight; wherein, the third model is as follows:
[0064]
[0065]
[0066] Where C3 and N3 represent the amount of backup data per unit data block and the number of target data blocks obtained by the third model, respectively; C 02 Indicates the second data volume threshold; C d This indicates the amount of backup data collected per unit time; INT() indicates rounding up.
[0067] Beneficial effects of this invention:
[0068] The data backup method and system proposed in this invention effectively improve the rationality of setting the backup data volume per unit data block and the target number of data blocks by setting the backup data volume per unit data block and the target number of data blocks. While improving the rationality of setting the backup data volume per unit data block and the target number of data blocks, it also effectively improves the rationality of setting the backup data accumulation volume. It can ensure that in data accumulation backup with the backup data volume per unit data block and the target number of data blocks as the standard, it can reduce the storage operation frequency of the backup server, thereby reducing the load on the backup server, while effectively ensuring data backup efficiency and timeliness. It prevents the problem that unreasonable settings of the backup data volume per unit data block and the target number of data blocks would reduce the server load but also reduce data backup efficiency and timeliness. Attached Figure Description
[0069] Figure 1 This is a flowchart of the method described in this invention;
[0070] Figure 2 This is a system block diagram of the system described in this invention. Detailed Implementation
[0071] The preferred embodiments of the present invention will be described below with reference to the accompanying drawings. It should be understood that the preferred embodiments described herein are for illustration and explanation only and are not intended to limit the present invention.
[0072] This invention provides a data backup method, such as... Figure 1 As shown, the data backup method includes:
[0073] S1. Obtain the amount of backup data acquired by the backup server per unit time in real time;
[0074] S2. Based on the backup data volume, set the unit data block backup data volume and the target number of data blocks corresponding to the backup server per unit time.
[0075] S3. Accumulate backup data according to the backup data volume per unit data block and the target number of data blocks until multiple target backup data blocks that meet the backup data volume and the number of data blocks are formed;
[0076] S4. When multiple target backup data blocks that meet the specified backup data volume and number of data blocks are formed, the multiple target backup data blocks are sent to the backup server for backup storage.
[0077] The working principle of the above technical solution is as follows: First, the amount of backup data acquired by the backup server per unit time is obtained in real time; then, the unit data block backup data volume and the target number of data blocks corresponding to the backup server per unit time are set according to the backup data volume; then, backup data is accumulated according to the unit data block backup data volume and the target number of data blocks until multiple target backup data blocks that meet the backup data volume and the number of data blocks are formed; finally, when multiple target backup data blocks that meet the backup data volume and the number of data blocks are formed, multiple target backup data blocks are uniformly sent to the backup server for backup storage.
[0078] The effect of the above technical solution is as follows: The data backup method proposed in this embodiment effectively improves the rationality of setting the backup data volume per unit data block and the target number of data blocks by setting the backup data volume per unit data block and the target number of data blocks. While improving the rationality of setting the backup data volume per unit data block and the target number of data blocks, it also effectively improves the rationality of setting the backup data accumulation volume. It can ensure that in the data accumulation backup with the backup data volume per unit data block and the target number of data blocks as the standard, it can reduce the storage operation frequency of the backup server, thereby reducing the load of the backup server, while effectively ensuring data backup efficiency and timeliness. It prevents the problem of reducing the server load while reducing data backup efficiency and timeliness due to unreasonable setting of the backup data volume per unit data block and the target number of data blocks.
[0079] One embodiment of the present invention includes real-time acquisition of the amount of backup data acquired by the backup server per unit time, comprising:
[0080] S101. Extract the historical data backup information corresponding to the backup server;
[0081] S102. Combining the historical data backup information and dividing the historical backup data volume in the historical data backup information according to the preset standard time period, and comparing the historical backup data volume in each preset standard time period with the preset standard data backup volume C, and setting the unit time using the unit time setting model based on the comparison result, wherein the unit time setting model is as follows:
[0082]
[0083] Where T represents a unit of time; T0 represents a preset standard time period, the value of which ranges from 24h to 72h; X1 represents the number of times the amount of historical backup data within T0 exceeds the preset standard data backup amount C; X2 represents the number of times the amount of historical backup data within T0 does not exceed the preset standard data backup amount C; X3 represents the number of times the amount of historical backup data exceeds 0.48C.
[0084] S103. Collect the total amount of backup data generated by all backup data generating devices within the unit time period, and use the total amount of backup data generated by all backup data generating devices as the backup data volume.
[0085] The working principle of the above technical solution is as follows: First, extract the historical data backup information corresponding to the backup server; then, combine the historical data backup information and divide the historical backup data volume in the historical data backup information according to the preset standard time period, and compare the historical backup data volume in each preset standard time period with the preset standard data backup volume C. Based on the comparison result, set the unit time using the unit time setting model. Finally, collect the total data volume corresponding to the backup data generated by all backup data generating devices within the unit time period, and take the total data volume corresponding to the backup data generated by all backup data generating devices as the backup data volume.
[0086] The above technical solution effectively improves the rationality and efficiency of unit time settings. Furthermore, the unit time obtained through this method can be effectively matched with the actual load of the backup data on the corresponding backup server, thereby improving the rationality and efficiency of subsequent backup data volume and data block number settings.
[0087] In one embodiment of the present invention, setting the unit data block backup data volume and the target number of data blocks corresponding to the backup server per unit time based on the backup data volume includes:
[0088] S201. Compare the amount of backup data collected per unit time with a preset data volume threshold to obtain the data volume level of the backup data.
[0089] S202. Determine the backup data volume per unit data block and the target number of data blocks based on the data volume level.
[0090] The working principle of the above technical solution is as follows: First, the amount of backup data collected per unit time is compared with a preset data volume threshold to obtain the data volume level of the backup data; then, the backup data volume per unit data block and the target number of data blocks are determined according to the data volume level.
[0091] The above technical solution achieves the following results: by comparing the backup data volume with a pre-set data volume threshold, the rationality of the two-level data settings and the efficiency of data volume acquisition can be effectively improved. Furthermore, setting the corresponding unit data block backup data volume and target number of data blocks according to different data volume levels can effectively improve the rationality of these settings.
[0092] In one embodiment of the present invention, comparing the amount of backup data collected per unit time with a preset data volume threshold to obtain the data volume level of the backup data includes:
[0093] S2011. When the amount of backup data collected per unit time is lower than a preset first data volume threshold, the amount of backup data is determined to be lightweight.
[0094] S2012. When the amount of backup data collected per unit time is lower than a preset second data volume threshold but exceeds the first data volume threshold, the amount of backup data is determined to be medium.
[0095] S2013. When the amount of backup data collected per unit time exceeds a preset second data volume threshold, the amount of backup data is determined to be of medium or heavy importance.
[0096] The working principle of the above technical solution is as follows: First, when the amount of backup data collected per unit time is lower than a preset first data volume threshold, the backup data volume is determined to be lightweight; then, when the amount of backup data collected per unit time is lower than a preset second data volume threshold but exceeds the first data volume threshold, the backup data volume is determined to be medium-weight; finally, when the amount of backup data collected per unit time exceeds the preset second data volume threshold, the backup data volume is determined to be heavy-to-medium weight. The first and second data volume thresholds are automatically set based on the actual rated storage capacity of the backup server.
[0097] The effect of the above technical solution is that it can effectively improve the efficiency and accuracy of acquiring data volume levels.
[0098] In one embodiment of the present invention, determining the backup data volume per unit data block and the target number of data blocks based on the data volume level includes:
[0099] S2021. When the amount of backup data collected per unit time is lightweight, the amount of backup data per unit data block and the target number of data blocks are determined using a first model; wherein, the first model is as follows:
[0100]
[0101]
[0102] Where C1 and N1 represent the amount of backup data per unit data block and the number of target data blocks obtained by the first model, respectively; C 01 Indicates the first data volume threshold; C d This indicates the amount of backup data collected per unit time; INT() indicates rounding up.
[0103] S2022. When the amount of backup data collected per unit time is of medium magnitude, the backup data amount per unit data block and the target number of data blocks are determined using the second model; wherein, the second model is as follows:
[0104]
[0105]
[0106] Where C2 and N2 represent the amount of backup data per unit data block and the number of target data blocks obtained by the second model, respectively; C 02 Indicates the second data volume threshold; C d This indicates the amount of backup data collected per unit time; INT() indicates rounding up.
[0107] S2023. When the amount of backup data collected per unit time is heavyweight, the third model is used to determine the amount of backup data per unit data block and the target number of data blocks; wherein, the third model is as follows:
[0108]
[0109]
[0110] Where C3 and N3 represent the amount of backup data per unit data block and the number of target data blocks obtained by the third model, respectively; C 02Indicates the second data volume threshold; C d This indicates the amount of backup data collected per unit time; INT() indicates rounding up.
[0111] The working principle of the above technical solution is as follows: First, when the amount of backup data collected per unit time is lightweight, the first model is used to determine the amount of backup data per unit data block and the target number of data blocks; then, when the amount of backup data collected per unit time is medium-weight, the second model is used to determine the amount of backup data per unit data block and the target number of data blocks; finally, when the amount of backup data collected per unit time is heavyweight, the third model is used to determine the amount of backup data per unit data block and the target number of data blocks.
[0112] The effects of the above technical solution are as follows: the backup data volume per unit data block and the target number of data blocks obtained through the above method and formula model can effectively improve the rationality of setting the backup data volume per unit data block and the target number of data blocks. While improving the rationality of setting the backup data volume per unit data block and the target number of data blocks, it can also effectively improve the rationality of setting the backup data accumulation volume. It can ensure that in the data accumulation backup with the backup data volume per unit data block and the target number of data blocks as the standard, it can reduce the storage operation frequency of the backup server, thereby reducing the load of the backup server, while effectively ensuring data backup efficiency and timeliness. It prevents the problem of reducing the server load while reducing data backup efficiency and timeliness due to unreasonable setting of the backup data volume per unit data block and the target number of data blocks.
[0113] This invention provides a data backup system, such as... Figure 2 As shown, the data backup system includes:
[0114] The real-time acquisition module is used to acquire the amount of backup data acquired by the backup server per unit time in real time.
[0115] The setting module is used to set the unit data block backup data volume and the target number of data blocks corresponding to the backup server per unit time according to the backup data volume;
[0116] The data accumulation module is used to accumulate backup data according to the backup data volume per unit data block and the target number of data blocks, until multiple target backup data blocks that meet the backup data volume and the number of data blocks are formed;
[0117] The backup storage module is used to uniformly send multiple target backup data blocks to the backup server for backup storage when multiple target backup data blocks that meet the specified backup data volume and number of data blocks are formed.
[0118] The working principle of the above technical solution is as follows: First, the real-time acquisition module acquires the amount of backup data acquired by the backup server per unit time in real time; then, the setting module sets the unit data block backup data volume and the target number of data blocks corresponding to the backup server per unit time according to the backup data volume; then, the data accumulation module accumulates backup data according to the unit data block backup data volume and the target number of data blocks until multiple target backup data blocks that meet the backup data volume and the number of data blocks are formed; finally, the backup storage module sends multiple target backup data blocks to the backup server for backup storage when multiple target backup data blocks that meet the backup data volume and the number of data blocks are formed.
[0119] The effects of the above technical solution are as follows: The data backup system proposed in this embodiment effectively improves the rationality of setting the backup data volume per unit data block and the target number of data blocks by setting the backup data volume per unit data block and the target number of data blocks. While improving the rationality of setting the backup data volume per unit data block and the target number of data blocks, it also effectively improves the rationality of setting the backup data accumulation volume. It can ensure that in the data accumulation backup with the backup data volume per unit data block and the target number of data blocks as the standard, it can reduce the storage operation frequency of the backup server, thereby reducing the load on the backup server, while effectively ensuring data backup efficiency and timeliness. It prevents the problem of reducing the server load while also reducing data backup efficiency and timeliness due to unreasonable setting of the backup data volume per unit data block and the target number of data blocks.
[0120] In one embodiment of the present invention, the real-time acquisition module includes:
[0121] The historical data backup information extraction module is used to extract the historical data backup information corresponding to the backup server;
[0122] The unit time setting module is used to combine the historical data backup information and divide the historical backup data volume in the historical data backup information according to the preset standard time period, and compare the historical backup data volume in each preset standard time period with the preset standard data backup volume C. Based on the comparison result, the unit time is set using the unit time setting model, wherein the unit time setting model is as follows:
[0123]
[0124] Where T represents a unit of time; T0 represents a preset standard time period, the value of which ranges from 24h to 72h; X1 represents the number of times the amount of historical backup data within T0 exceeds the preset standard data backup amount C; X2 represents the number of times the amount of historical backup data within T0 does not exceed the preset standard data backup amount C; X3 represents the number of times the amount of historical backup data exceeds 0.48C.
[0125] The total data acquisition module is used to acquire the total amount of backup data generated by all backup data generating devices within the unit time, and to use the total amount of backup data generated by all backup data generating devices as the backup data volume.
[0126] The working principle of the above technical solution is as follows: First, the historical data backup information corresponding to the backup server is extracted by the historical data backup information extraction module; then, the historical backup data volume in the historical data backup information is divided according to the preset standard time period by the unit time setting module in combination with the historical data backup information, and the historical backup data volume in each preset standard time period is compared with the preset standard data backup volume C. The unit time is set by the unit time setting model based on the comparison result. Finally, the total data volume acquisition module is used to collect the total data volume corresponding to the backup data generated by all backup data generating devices within the unit time period, and the total data volume corresponding to the backup data generated by all backup data generating devices is taken as the backup data volume.
[0127] The above technical solution effectively improves the rationality and efficiency of unit time settings. Furthermore, the unit time obtained through this method can be effectively matched with the actual load of the backup data on the corresponding backup server, thereby improving the rationality and efficiency of subsequent backup data volume and data block number settings.
[0128] In one embodiment of the present invention, the setting module includes:
[0129] The grade determination module is used to compare the amount of backup data collected per unit time with a preset data volume threshold to obtain the data volume grade of the backup data.
[0130] The backup parameter determination module is used to determine the backup data volume per unit data block and the target number of data blocks based on the data volume level.
[0131] The working principle of the above technical solution is as follows: First, the backup data volume collected per unit time is compared with a preset data volume threshold by the level determination module to obtain the data volume level of the backup data volume; then, the backup parameter determination module determines the backup data volume per unit data block and the target number of data blocks according to the data volume level.
[0132] The above technical solution achieves the following results: by comparing the backup data volume with a pre-set data volume threshold, the rationality of the two-level data settings and the efficiency of data volume acquisition can be effectively improved. Furthermore, setting the corresponding unit data block backup data volume and target number of data blocks according to different data volume levels can effectively improve the rationality of these settings.
[0133] In one embodiment of the present invention, the level determination module includes:
[0134] The first-level determination module is used to determine that the backup data volume is lightweight when the amount of backup data collected per unit time is lower than a preset first data volume threshold.
[0135] The second level determination module is used to determine the backup data volume as medium when the amount of backup data collected per unit time is lower than a preset second data volume threshold but exceeds the first data volume threshold.
[0136] The third-level determination module is used to determine the backup data volume as medium-to-high level when the amount of backup data collected within the unit time exceeds a preset second data volume threshold.
[0137] The working principle of the above technical solution is as follows: First, when the amount of backup data collected within the unit time is lower than a preset first data volume threshold, the first-level determination module determines that the amount of backup data is lightweight; then, when the amount of backup data collected within the unit time is lower than a preset second data volume threshold but exceeds the first data volume threshold, the second-level determination module determines that the amount of backup data is medium-weight; finally, when the amount of backup data collected within the unit time exceeds a preset second data volume threshold, the third-level determination module determines that the amount of backup data is heavy-to-medium weight.
[0138] The effect of the above technical solution is that it can effectively improve the efficiency and accuracy of acquiring data volume levels.
[0139] In one embodiment of the present invention, the backup parameter determination module includes:
[0140] The first backup parameter determination module is used to determine the backup data volume per unit data block and the target number of data blocks using a first model when the amount of backup data collected per unit time is lightweight; wherein, the first model is as follows:
[0141]
[0142]
[0143] Where C1 and N1 represent the amount of backup data per unit data block and the number of target data blocks obtained by the first model, respectively; C 01 Indicates the first data volume threshold; C d This indicates the amount of backup data collected per unit time; INT() indicates rounding up.
[0144] The second backup parameter determination module is used to determine the backup data volume per unit data block and the target number of data blocks using a second model when the amount of backup data collected per unit time is of medium magnitude; wherein, the second model is as follows:
[0145]
[0146]
[0147] Where C2 and N2 represent the amount of backup data per unit data block and the number of target data blocks obtained by the second model, respectively; C 02 Indicates the second data volume threshold; C d This indicates the amount of backup data collected per unit time; INT() indicates rounding up.
[0148] The third backup parameter determination module is used to determine the backup data volume per unit data block and the target number of data blocks when the amount of backup data collected per unit time is heavyweight; wherein, the third model is as follows:
[0149]
[0150]
[0151] Where C3 and N3 represent the amount of backup data per unit data block and the number of target data blocks obtained by the third model, respectively; C 02 Indicates the second data volume threshold; C d This indicates the amount of backup data collected per unit time; INT() indicates rounding up.
[0152] The working principle of the above technical solution is as follows: First, when the amount of backup data collected within the unit time is lightweight, the first backup parameter determination module uses a first model to determine the amount of backup data per unit data block and the target number of data blocks; then, when the amount of backup data collected within the unit time is medium-weight, the second backup parameter determination module uses a second model to determine the amount of backup data per unit data block and the target number of data blocks; finally, when the amount of backup data collected within the unit time is heavyweight, the third backup parameter determination module uses a third model to determine the amount of backup data per unit data block and the target number of data blocks.
[0153] The effects of the above technical solution are as follows: the backup data volume per unit data block and the target number of data blocks obtained through the above method and formula model can effectively improve the rationality of setting the backup data volume per unit data block and the target number of data blocks. While improving the rationality of setting the backup data volume per unit data block and the target number of data blocks, it can also effectively improve the rationality of setting the backup data accumulation volume. It can ensure that in the data accumulation backup with the backup data volume per unit data block and the target number of data blocks as the standard, it can reduce the storage operation frequency of the backup server, thereby reducing the load of the backup server, while effectively ensuring data backup efficiency and timeliness. It prevents the problem of reducing the server load while reducing data backup efficiency and timeliness due to unreasonable setting of the backup data volume per unit data block and the target number of data blocks.
[0154] Obviously, those skilled in the art can make various modifications and variations to this invention without departing from its spirit and scope. Therefore, if these modifications and variations fall within the scope of the claims of this invention and their equivalents, this invention also intends to include these modifications and variations.
Claims
1. A data backup method, characterized in that, The data backup method includes: Real-time acquisition of the amount of backup data acquired by the backup server per unit time; Based on the backup data volume, set the unit data block backup data volume and the target number of data blocks for the backup server per unit time; including: The amount of backup data collected per unit time is compared with a preset data volume threshold to obtain the data volume level of the backup data. The backup data volume per unit data block and the target number of data blocks are determined based on the data volume level; including: When the amount of backup data collected per unit time is lightweight, the first model is used to determine the amount of backup data per unit data block and the target number of data blocks; wherein, the first model is as follows: Where C1 and N1 represent the amount of backup data per unit data block and the number of target data blocks obtained by the first model, respectively; C 01 Indicates the first data volume threshold; C d This indicates the amount of backup data collected per unit time; INT() indicates rounding up; When the amount of backup data collected per unit time is of medium magnitude, the second model is used to determine the amount of backup data per unit data block and the target number of data blocks; wherein, the second model is as follows: Where C2 and N2 represent the amount of backup data per unit data block and the number of target data blocks obtained by the second model, respectively; C 02 Indicates the second data volume threshold; C d This indicates the amount of backup data collected per unit time; INT() indicates rounding up; When the amount of backup data collected per unit time is heavyweight, the third model is used to determine the amount of backup data per unit data block and the target number of data blocks; wherein, the third model is as follows: Where C3 and N3 represent the amount of backup data per unit data block and the number of target data blocks obtained by the third model, respectively; C 02 Indicates the second data volume threshold; C d This indicates the amount of backup data collected per unit time; INT() indicates rounding up; Backup data is accumulated according to the unit data block backup data volume and the target number of data blocks until multiple target backup data blocks that meet the backup data volume and the number of data blocks are formed; When multiple target backup data blocks that meet the specified backup data volume and number of data blocks are formed, the multiple target backup data blocks are sent to the backup server for backup storage.
2. The data backup method according to claim 1, characterized in that, Real-time acquisition of the amount of backup data acquired by the backup server per unit time, including: Extract the historical data backup information corresponding to the backup server; Combining the historical data backup information and dividing the historical backup data volume in the historical data backup information according to a preset standard time period, the historical backup data volume in each preset standard time period is compared with the preset standard data backup volume C. Based on the comparison result, the unit time is set using a unit time setting model, wherein the unit time setting model is as follows: Where T represents a unit of time; T0 represents a preset standard time period, the value of which ranges from 24h to 72h; X1 represents the number of times the amount of historical backup data within T0 exceeds the preset standard data backup amount C; X2 represents the number of times the amount of historical backup data within T0 does not exceed the preset standard data backup amount C; X3 represents the number of times the amount of historical backup data exceeds 0.48C. The total amount of backup data generated by all backup data generating devices is collected within the unit time period, and the total amount of backup data generated by all backup data generating devices is taken as the backup data volume.
3. The data backup method according to claim 1, characterized in that, The amount of backup data collected per unit time is compared with a preset data volume threshold to obtain the data volume level of the backup data, including: When the amount of backup data collected per unit time is lower than a preset first data volume threshold, the amount of backup data is determined to be lightweight. When the amount of backup data collected per unit time is lower than a preset second data volume threshold but exceeds the first data volume threshold, the amount of backup data is determined to be medium. When the amount of backup data collected per unit time exceeds a preset second data volume threshold, the amount of backup data is determined to be of medium importance.
4. A data backup system, characterized in that, The data backup system includes: The real-time acquisition module is used to acquire the amount of backup data acquired by the backup server per unit time in real time. A setting module is used to set the unit data block backup data volume and the target number of data blocks corresponding to the backup server per unit time according to the backup data volume; the setting module includes: The grade determination module is used to compare the amount of backup data collected per unit time with a preset data volume threshold to obtain the data volume grade of the backup data. The backup parameter determination module is used to determine the backup data volume per unit data block and the target number of data blocks based on the data volume level; the backup parameter determination module includes: The first backup parameter determination module is used to determine the backup data volume per unit data block and the target number of data blocks using a first model when the amount of backup data collected per unit time is lightweight; wherein, the first model is as follows: Where C1 and N1 represent the amount of backup data per unit data block and the number of target data blocks obtained by the first model, respectively; C 01 Indicates the first data volume threshold; C d This indicates the amount of backup data collected per unit time; INT() indicates rounding up; The second backup parameter determination module is used to determine the backup data volume per unit data block and the target number of data blocks using a second model when the amount of backup data collected per unit time is of medium magnitude; wherein, the second model is as follows: Where C2 and N2 represent the amount of backup data per unit data block and the number of target data blocks obtained by the second model, respectively; C 02 Indicates the second data volume threshold; C d This indicates the amount of backup data collected per unit time; INT() indicates rounding up; The third backup parameter determination module is used to determine the backup data volume per unit data block and the target number of data blocks when the amount of backup data collected per unit time is heavyweight; wherein, the third model is as follows: Where C3 and N3 represent the amount of backup data per unit data block and the number of target data blocks obtained by the third model, respectively; C 02 Indicates the second data volume threshold; C d This indicates the amount of backup data collected per unit time; INT() indicates rounding up; The data accumulation module is used to accumulate backup data according to the backup data volume per unit data block and the target number of data blocks, until multiple target backup data blocks that meet the backup data volume and the number of data blocks are formed; The backup storage module is used to uniformly send multiple target backup data blocks to the backup server for backup storage when multiple target backup data blocks that meet the specified backup data volume and number of data blocks are formed.
5. The data backup system according to claim 4, characterized in that, The real-time acquisition module includes: The historical data backup information extraction module is used to extract the historical data backup information corresponding to the backup server; The unit time setting module is used to combine the historical data backup information and divide the historical backup data volume in the historical data backup information according to a preset standard time period, and compare the historical backup data volume in each preset standard time period with the preset standard data backup volume C. Based on the comparison result, the unit time is set using the unit time setting model, wherein the unit time setting model is as follows: Where T represents a unit of time; T0 represents a preset standard time period, the value of which ranges from 24h to 72h; X1 represents the number of times the amount of historical backup data within T0 exceeds the preset standard data backup amount C; X2 represents the number of times the amount of historical backup data within T0 does not exceed the preset standard data backup amount C; X3 represents the number of times the amount of historical backup data exceeds 0.48C. The total data acquisition module is used to acquire the total amount of backup data generated by all backup data generating devices within the unit time, and to use the total amount of backup data generated by all backup data generating devices as the backup data volume.
6. The data backup system according to claim 4, characterized in that, The level determination module includes: The first-level determination module is used to determine that the backup data volume is lightweight when the amount of backup data collected per unit time is lower than a preset first data volume threshold. The second level determination module is used to determine the backup data volume as medium when the amount of backup data collected per unit time is lower than a preset second data volume threshold but exceeds the first data volume threshold. The third-level determination module is used to determine the backup data volume as medium-to-high level when the amount of backup data collected within the unit time exceeds a preset second data volume threshold.
Citation Information
Patent Citations
CN105808376A
CN114564457A