Project data backup method, system and medium

By backing up data according to project progress blocks, forming the first full backup and generating incremental backups, the problem of low backup efficiency in existing technologies is solved, and efficient and flexible data backup is achieved.

CN117724899BActive Publication Date: 2025-11-28CHINA SOUTHERN POWER GRID INTERNET SERVICE CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202311730242.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-12-15
Publication Date
2025-11-28
Estimated Expiration
2043-12-15

AI Technical Summary

Technical Problem

Existing project data backup methods fail to match different backup blocks according to project progress, resulting in low backup efficiency. Furthermore, even minor changes to project data require a complete data backup, leading to a large workload and impacting efficiency.

Method used

Data is backed up to the corresponding backup blocks according to the project implementation schedule to form the initial full backup data. Incremental backup data is then generated through differential data analysis and backup strategies to improve backup efficiency.

Benefits of technology

By backing up project data in progress blocks, only the differences need to be compared after the first full backup, which improves backup efficiency, reduces unnecessary data copying and storage redundancy, and enhances the flexibility and security of data backup.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117724899B_ABST
    Figure CN117724899B_ABST
Patent Text Reader

Abstract

The embodiment of the application provides a project data backup method, system and medium, the method comprises the following steps: executing project implementation according to a project plan, and obtaining a project implementation progress; matching storage areas of different implementation progress according to the project implementation progress, and forming a plurality of backup blocks, wherein the project implementation progress is one-to-one corresponding to the backup block; backing up the project data of different implementation progress into the corresponding backup block to form the first full backup data; comparing the project data corresponding to the project implementation progress with the first full backup data to obtain the difference data; setting a backup time period, calling a backup strategy, starting the backup block to fill and backup the difference data according to the backup strategy; and backing up the project data corresponding to different project implementation progress in different backup blocks to realize the separate backup of data, perform the first full backup, and then only need to compare the project data with the first backup data, add the difference data, and improve the backup efficiency.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the field of data backup, in particular, to a project data backup method, system and medium. BACKGROUND

[0002] In the project implementation process, in order to ensure complete monitoring of project implementation progress data, and in the data monitoring process, due to system aging, data loss may be caused by system damage, so it is necessary to backup project data, historical data can be called and analyzed, in the existing project data backup method, different backup blocks are not matched according to different project progress, all project data is stored in a backup block, and when backup data is called and analyzed, the efficiency is low, in addition, in the existing data backup method, most of the data is backed up as a whole each time, and all the data is replaced with the previously backed up data, and when the project data changes or increases, the whole data backup is also needed, which causes a large amount of task in the backup process and affects the backup efficiency; for the above problems, at present, effective technical solutions are urgently needed. SUMMARY

[0003] The purpose of the embodiment of the present application is to provide a project data backup method, system and medium, by backing up different project implementation progress in different backup blocks, realizing separate backup of data, first performing data backup, and then only comparing the project data with the first backup data and adding the difference data, the backup efficiency is improved.

[0004] The embodiment of the present application also provides a project data backup method, comprising:

[0005] The project is implemented according to the project plan, the project implementation progress is obtained, the storage area of different implementation progress is matched according to the project implementation progress, and a plurality of backup blocks are formed, wherein the project implementation progress and the backup block are one-to-one corresponding;

[0006] The project data of different implementation progress is backed up in the corresponding backup block to form the first full backup data;

[0007] The project data corresponding to the project implementation progress is compared with the first full backup data to obtain the difference data;

[0008] The backup time period is set, the backup strategy is called, the difference data is filled and backed up according to the backup strategy, the first full backup data is updated, and the incremental backup data is generated.

[0009] Optionally, in the project data backup method, the project implementation is performed according to the project plan, and project implementation progress is obtained, different implementation progress storage areas are matched according to the project implementation progress, and a plurality of backup blocks are formed, and specifically comprising:

[0010] The project implementation is performed according to the project plan, and implementation state information is obtained;

[0011] The implementation state information is compared with the set project state information, and a project deviation rate is obtained;

[0012] It is judged whether the project deviation rate is greater than or equal to a preset deviation rate threshold;

[0013] If less, the data amount generated in different project implementation progress is obtained, and the corresponding memory ratio storage area is matched according to the data amount ratio, and a plurality of backup blocks are obtained;

[0014] If greater than or equal to, a correction coefficient is generated, the memory of the storage area corresponding to the current project progress is adjusted according to the correction coefficient, and the memory ratio of the plurality of backup storage areas is updated.

[0015] Optionally, in the project data backup method, the project data of different implementation progress is backed up into the corresponding backup block to form the first full backup data, and specifically comprising:

[0016] The project data of the corresponding progress is backed up through the backup block to obtain full backup data of different project progress;

[0017] The full backup data of the current project progress is compared and analyzed with the full backup data of the next project progress, and repeated data is obtained;

[0018] The repeated data is eliminated, and the full backup data in all backup blocks is integrated to obtain the first full backup data.

[0019] Optionally, in the project data backup method, the project data corresponding to the project implementation progress is compared and analyzed with the first full backup data to obtain difference data, and specifically comprising:

[0020] A plurality of backup time windows are set, and the backup time windows are matched with the project implementation progress;

[0021] When the backup time window switches, the first difference data is generated by analyzing the project data corresponding to the current backup time window and the previous backup time window;

[0022] The project data under the current backup time window is compared with the first full backup data to obtain second difference data;

[0023] According to the analysis of the first difference data and the second difference data, difference data in different time windows is obtained.

[0024] A backup strategy is called to backup the difference data into a matched backup block by the backup strategy, and the backup strategy includes full backup, incremental backup and differential backup.

[0025] Optionally, before the difference data is filled and backed up by the starting backup block in the project data backup method, the method further includes:

[0026] According to the difference data, project data incremental information is obtained, and the required memory amount for backup is calculated.

[0027] The current remaining memory in the backup block is obtained, and the current remaining memory is compared with the required memory amount for backup.

[0028] If the current remaining memory is less than the required memory amount for backup, it is determined that the memory occupation amount of the difference data is excessive, and the historical backup data in the backup block is optimized and arranged.

[0029] If the current remaining memory is greater than the required memory amount for backup, the difference data is stored into the backup block.

[0030] Optionally, in the project data backup method, if the current remaining memory is less than the required memory amount for backup, it is determined that the memory occupation amount of the difference data is excessive, and the historical backup data in the backup block is optimized and arranged, and the method specifically includes:

[0031] The historical backup data in the backup block is obtained, and historical backup records are obtained.

[0032] The backup time nodes are obtained according to the historical backup records.

[0033] If the current remaining memory is less than the required memory amount for backup, the historical backup data whose backup time node exceeds a set time node is extracted.

[0034] Whether the data of the historical backup data whose backup time node exceeds the set time node is updated at other backup time nodes is analyzed.

[0035] If the data is updated, the historical backup data whose backup time node exceeds the set time node is deleted, and the current remaining memory is obtained.

[0036] If the data is not updated, the historical backup data whose backup time node exceeds the set time node is copied to an external disk for timed caching.

[0037] In a second aspect, the embodiments of the present application provide a project data backup system, which comprises a memory and a processor, wherein the memory comprises a program of a project data backup method, and the program of the project data backup method is executed by the processor to implement the following steps:

[0038] The project implementation is performed according to the project plan, and a project implementation progress is obtained, different storage areas corresponding to different implementation progresses are matched according to the project implementation progress, and a plurality of backup blocks are formed, wherein the project implementation progress is in one-to-one correspondence with the backup blocks;

[0039] The project data of different implementation progresses is backed up into the corresponding backup blocks to form first full backup data;

[0040] The project data corresponding to the project implementation progress is compared with the first full backup data to obtain difference data;

[0041] A backup time period is set, a backup strategy is called, the difference data is filled and backed up by the backup blocks according to the backup strategy, the first full backup data is updated, and incremental backup data is generated.

[0042] Optionally, in the project data backup system provided by the embodiments of the present application, the project implementation is performed according to the project plan, and a project implementation progress is obtained, different storage areas corresponding to different implementation progresses are matched according to the project implementation progress, and a plurality of backup blocks are formed, and specifically comprising:

[0043] The project implementation is performed according to the project plan, and implementation state information is obtained;

[0044] The implementation state information is compared with set project state information to obtain a project deviation rate;

[0045] It is judged whether the project deviation rate is greater than or equal to a preset deviation rate threshold;

[0046] If less, the data amount generated in different project implementation progresses is obtained, and the storage areas corresponding to the memory ratio are matched according to the data amount ratio to obtain a plurality of backup blocks;

[0047] If greater than or equal to, a correction coefficient is generated, the memory of the storage area corresponding to the current project progress is adjusted according to the correction coefficient, and the memory ratio of the plurality of backup storage areas is updated.

[0048] Optionally, in the project data backup system provided by the embodiments of the present application, the project data of different implementation progresses is backed up into the corresponding backup blocks to form first full backup data, and specifically comprising:

[0049] The project data of the corresponding progress is backed up by the backup blocks to obtain full backup data of different project progresses;

[0050] The full backup data of the current project progress is compared and analyzed with the full backup data of the next project progress to obtain repeated data.

[0051] The repeated data is removed, and the full backup data in all backup blocks is integrated to obtain the first full backup data.

[0052] In a third aspect, the embodiments of the present application further provide a computer readable storage medium, wherein the computer readable storage medium comprises a project data backup method program, and the project data backup method program is executed by a processor to implement the steps of the project data backup method according to any one of the above.

[0053] As can be seen from the above, the project data backup method, system and medium provided by the embodiments of the present application are used to execute project implementation according to a project plan, obtain a project implementation progress, match storage areas of different implementation progress according to the project implementation progress to form a plurality of backup blocks, wherein the project implementation progress and the backup blocks are one-to-one corresponding; backup the project data of different implementation progress into the corresponding backup blocks to form the first full backup data; analyze and compare the project data corresponding to the project implementation progress with the first full backup data to obtain difference data; set a backup time period, call a backup strategy, fill the difference data according to the backup strategy, update the first full backup data, and generate incremental backup data; backup the project data corresponding to different project implementation progress in different backup blocks to realize separate backup of data, perform the first full backup of data, and then only need to compare the project data with the first backup data to add the difference data, thereby improving the backup efficiency. BRIEF DESCRIPTION OF DRAWINGS

[0054] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the following will briefly introduce the drawings needed to be used in the embodiments of the present application. It should be understood that the following drawings only show some embodiments of the present application, and therefore should not be regarded as a limitation on the scope, and for those skilled in the art, other related drawings can also be obtained without creative labor on the basis of these drawings.

[0055] Figure 1 The flowchart of the project data backup method provided by the embodiments of the present application;

[0056] Figure 2 The memory allocation ratio analysis and adjustment flowchart of the backup block of the project data backup method provided by the embodiments of the present application;

[0057] Figure 3 The first full backup data acquisition flowchart of the project data backup method provided by the embodiments of the present application. DETAILED DESCRIPTION

[0058] The technical solutions in the embodiments of the present application will be described clearly and completely below with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, rather than all the embodiments of the present application. The components of the embodiments of the present application described and shown in the drawings herein can be arranged and designed in various different configurations. Therefore, the following detailed description of the embodiments of the present application provided in the drawings is not intended to limit the scope of the claimed present application, but only represents selected embodiments of the present application. Based on the embodiments of the present application, all other embodiments obtained by those skilled in the art without creative work fall within the scope of the present application.

[0059] It should be noted that similar reference numerals and letters represent similar items in the following drawings, and therefore, once an item is defined in one drawing, it need not be further defined and explained in subsequent drawings. Meanwhile, in the description of the present application, the terms "first", "second", and the like are only used to distinguish description, and cannot be understood as indicating or implying relative importance.

[0060] Please refer to Figure 1 , Figure 1 is a flowchart of a project data backup method in some embodiments of the present application. The project data backup method is used in a terminal device, and the project data backup method comprises the following steps:

[0061] S101, performing project implementation according to a project plan, and obtaining a project implementation progress, matching storage areas of different implementation progress according to the project implementation progress, and forming a plurality of backup blocks, wherein the project implementation progress is one-to-one corresponding to the backup blocks;

[0062] S102, backing up project data of different implementation progress into corresponding backup blocks to form first full backup data;

[0063] S103, analyzing and comparing the project data corresponding to the project implementation progress with the first full backup data to obtain difference data;

[0064] S104, setting a backup time period, calling a backup strategy, starting the backup blocks to fill and backup the difference data according to the backup strategy, updating the first full backup data, and generating incremental backup data.

[0065] It should be noted that setting a plurality of backup time periods to call the backup strategy to fill and backup the project difference data, only the first full backup operation is needed at the beginning in the backup process, and only the changed or increased data needs to be supplemented and backed up after that, thereby improving the backup efficiency.

[0066] Please refer to Figure 2 , Figure 2is a backup block memory ratio analysis adjustment flowchart of a project data backup method in some embodiments of the present application. According to an embodiment of the present application, project implementation is performed according to a project plan, and project implementation progress is obtained, different implementation progress storage areas are matched according to the project implementation progress, and a plurality of backup blocks are formed, specifically including:

[0067] S201, performing project implementation according to a project plan, and obtaining implementation state information;

[0068] S202, comparing the implementation state information with set project state information, and obtaining a project deviation rate;

[0069] S203, determining whether the project deviation rate is greater than or equal to a preset deviation rate threshold;

[0070] S204, if less than, obtaining data amounts generated in different project implementation progress, matching corresponding memory ratios of storage areas according to the data ratios, and obtaining a plurality of backup blocks;

[0071] S205, if greater than or equal to, generating a correction coefficient, adjusting the memory of the storage area corresponding to the current project progress according to the correction coefficient, and updating the memory ratios of the plurality of backup storage areas.

[0072] It should be noted that during project implementation, different project implementation progress conditions are analyzed by analyzing implementation state changes, so as to analyze data change amounts in project implementation progress, and different proportions of memory spaces are configured according to the data change amounts in different project implementation progress, so that the memory ratios of the backup blocks are flexible, and in addition, the memory ratios of the backup blocks can be dynamically adjusted according to the correction coefficient, and the data storage flexibility is improved.

[0073] Please refer to Figure 3 , Figure 3 is a first full backup data acquisition flowchart of a project data backup method in some embodiments of the present application. According to an embodiment of the present application, project data of different implementation progress is backed up into corresponding backup blocks, and first full backup data is formed, specifically including:

[0074] S301, backing up project data of corresponding progress through a backup block, and obtaining full backup data of different project progress;

[0075] S302, comparing and analyzing the full backup data of the current project progress with the full backup data of the next project progress, and obtaining repeated data;

[0076] S303, eliminating the repeated data, and integrating the full backup data in all backup blocks, and obtaining first full backup data.

[0077] It should be noted that during the backup process, whether repeated backup data is generated after analyzing the project progress for multiple times of backup is analyzed, and the repeated data is filtered out, thereby improving the memory usage of the backup block and preventing backup data redundancy.

[0078] According to the embodiment of the application, the project data corresponding to the project implementation progress is compared with the first full backup data to obtain difference data, specifically including:

[0079] A plurality of backup time windows are set, and the backup time windows are matched with the project implementation progress;

[0080] When the backup time window is switched, the first difference data is generated by analyzing the project data corresponding to the current backup time window and the previous backup time window;

[0081] The project data under the current backup time window is compared with the first full backup data to obtain second difference data;

[0082] The difference data under different time windows is obtained by analyzing the first difference data and the second difference data;

[0083] The backup strategy is called, and the difference data is backed up into the matched backup block through the backup strategy, and the backup strategy includes full backup, incremental backup and differential backup.

[0084] It should be noted that during the backup time window switching process, the difference data between different backup time windows and the data difference with the first full backup data are analyzed, so that the data difference and the data increment in the process of different project implementation progress are accurately obtained, and different backup strategies are flexibly switched, thereby improving the completeness of the backup data.

[0085] According to the embodiment of the application, before the difference data is filled and backed up by the started backup block, it further includes:

[0086] The project data increment information is obtained according to the difference data, and the required memory amount for backup is calculated;

[0087] The current remaining memory in the backup block is obtained, and the current remaining memory is compared with the required memory amount for backup;

[0088] If the current remaining memory is less than the required memory amount for backup, it is determined that the memory occupation amount of the difference data is excessive, and the historical backup data in the backup block is optimized and arranged;

[0089] If the current remaining memory is greater than the required memory amount for backup, the difference data is stored in the backup block.

[0090] It should be noted that before starting the backup of the backup block, it is necessary to determine whether the memory of the backup block can save all the differential data, so as to prevent partial backup or partial loss of data when directly performing differential data backup, thereby affecting data security.

[0091] According to the embodiment of the application, if the current remaining memory is less than the required memory amount for backup, it is determined that the memory occupation amount of the differential data is excessive, and the historical backup data in the backup block is optimized and arranged, specifically including:

[0092] The historical backup data in the backup block is obtained, and a historical backup record is obtained.

[0093] The backup time node is obtained according to the historical backup record.

[0094] If the current remaining memory is less than the required memory amount for backup, the historical backup data whose backup time node exceeds the set time node is extracted.

[0095] It is analyzed whether the data of the historical backup data whose backup time node exceeds the set time node is updated at the remaining backup time node.

[0096] If the data is updated, the historical backup data whose backup time node exceeds the set time node is deleted, and the current remaining memory is obtained.

[0097] If the data is not updated, the historical backup data whose backup time node exceeds the set time node is copied to an external disk for timed caching.

[0098] It should be noted that by determining whether the current remaining memory of the backup block meets the requirements, and deleting or copying the historical backup data exceeding the set time node, the historical backup data with a long backup time is optimized and arranged under the condition of ensuring safety, the use rate of the backup block is improved, and the memory of the backup block occupied by the historical backup data is prevented from being excessive.

[0099] According to the embodiment of the application, it further includes:

[0100] Backup data corresponding to different project progress is obtained, a dynamic encryption instruction is generated according to the project progress, and an encryption code is generated according to the dynamic encryption instruction.

[0101] The backup data is encrypted according to the encryption code, the dynamic encryption instruction is dynamically adjusted to encrypt the encryption code when the project progress changes, and a new encryption character is generated.

[0102] The backup data of the next project progress is newly encrypted by the new encryption character.

[0103] It should be noted that the backup data of different project progress is encrypted differently, and when the backup data is invaded, the loss of all backup data will not be caused, and the data backup security is improved.

[0104] In a second aspect, the embodiments of the present application provide a project data backup system, which comprises a memory and a processor, the memory comprising a program of a project data backup method, and the program of the project data backup method is executed by the processor to realize the following steps:

[0105] The project implementation is performed according to the project plan, and the project implementation progress is obtained, the storage areas of different implementation progress are matched according to the project implementation progress, and a plurality of backup blocks are formed, wherein the project implementation progress is one-to-one corresponding to the backup blocks;

[0106] The project data of different implementation progress is backed up into the corresponding backup blocks to form the first full backup data;

[0107] The project data corresponding to the project implementation progress is compared with the first full backup data to obtain the difference data;

[0108] The backup time period is set, the backup strategy is called, the difference data is filled and backed up according to the backup strategy, the first full backup data is updated, and the incremental backup data is generated.

[0109] It should be noted that the backup strategy is called for filling and backing up the project difference data in a plurality of backup time periods, and only the first full backup operation is needed at the beginning in the backup process, and then the data changed or increased in the backup data only needs to be supplemented and backed up, so that the backup efficiency is improved.

[0110] According to the embodiments of the present application, the project implementation is performed according to the project plan, and the project implementation progress is obtained, the storage areas of different implementation progress are matched according to the project implementation progress, and a plurality of backup blocks are formed, specifically comprising:

[0111] The project implementation is performed according to the project plan, and the implementation state information is obtained;

[0112] The implementation state information is compared with the set project state information to obtain the project deviation rate;

[0113] It is judged whether the project deviation rate is greater than or equal to the preset deviation rate threshold;

[0114] If less, the data amount generated in different project implementation progress is obtained, the storage areas of the corresponding memory ratio are matched according to the matching ratio of the data amount, and a plurality of backup blocks are obtained;

[0115] If greater than or equal to, a correction coefficient is generated, the memory of the storage area corresponding to the current project progress is adjusted according to the correction coefficient, and the memory allocation ratio of the plurality of backup storage areas is updated.

[0116] It should be noted that, in the project implementation process, the implementation state change is analyzed to analyze the different project implementation progress, so as to analyze the data change amount in the project implementation progress, and different proportions of memory space are configured according to the data change amount of different project implementation progress, so that the memory allocation ratio of the backup block is flexible, and in addition, the memory allocation ratio of the backup block can be dynamically adjusted according to the correction coefficient, and the data storage flexibility is improved.

[0117] According to the embodiment of the application, the project data of different implementation progress is backed up into the corresponding backup block to form the first full backup data, which specifically includes:

[0118] The project data of the corresponding progress is backed up through the backup block to obtain full backup data of different project progress;

[0119] The full backup data of the current project progress is compared and analyzed with the full backup data of the next project progress to obtain repeated data;

[0120] The repeated data is removed, and the full backup data in all backup blocks is integrated to obtain the first full backup data.

[0121] It should be noted that, in the backup process, whether repeated backup data is generated after multiple backups of the project progress is analyzed, and the repeated data is screened and removed to improve the memory utilization rate of the backup block and prevent backup data redundancy.

[0122] According to the embodiment of the application, the project data corresponding to the project implementation progress is compared with the first full backup data to obtain difference data, which specifically includes:

[0123] A plurality of backup time windows are set, and the backup time windows are matched with the project implementation progress;

[0124] When the backup time window switches, the first difference data is generated by analyzing the project data corresponding to the current backup time window and the previous backup time window;

[0125] The project data under the current backup time window is compared with the first full backup data to obtain the second difference data;

[0126] The first difference data and the second difference data are analyzed to obtain the difference data under different time windows;

[0127] The backup strategy is called, and the difference data is backed up into the matched backup block through the backup strategy, and the backup strategy includes full backup, incremental backup and differential backup.

[0128] It should be noted that during the backup time window switching process, the data difference between different backup time windows and the data difference with the first full backup data are analyzed, so that the data difference and data increment in the project implementation progress are accurately obtained, different backup strategies are flexibly switched, and the completeness of the backup data is improved.

[0129] According to the embodiment of the application, before the start of the backup block, the difference data is filled and backed up, and the method further comprises the steps of:

[0130] According to the difference data, project data increment information is obtained, and the required memory amount for backup is calculated;

[0131] The current remaining memory in the backup block is obtained, and the current remaining memory is compared with the required memory amount for backup;

[0132] If the current remaining memory is less than the required memory amount for backup, it is determined that the memory occupation amount of the difference data is excessive, and the historical backup data in the backup block is optimized and arranged;

[0133] If the current remaining memory is greater than the required memory amount for backup, the difference data is stored in the backup block.

[0134] It should be noted that before the start of the backup block, it is necessary to determine whether the memory of the backup block can save all the difference data, so as to prevent partial backup or partial loss of data when directly performing difference data backup, thereby affecting data security.

[0135] According to the embodiment of the application, if the current remaining memory is less than the required memory amount for backup, it is determined that the memory occupation amount of the difference data is excessive, and the historical backup data in the backup block is optimized and arranged, which specifically comprises:

[0136] The historical backup data in the backup block is obtained, and historical backup records are obtained;

[0137] Backup time nodes are obtained according to the historical backup records;

[0138] If the current remaining memory is less than the required memory amount for backup, the historical backup data whose backup time node exceeds a set time node is extracted;

[0139] It is analyzed whether the data of the historical backup data whose backup time node exceeds the set time node is updated at other backup time nodes;

[0140] If the data is updated, the historical backup data whose backup time node exceeds the set time node is deleted, and the current remaining memory is obtained;

[0141] If not, copy the historical backup data of the backup time node exceeding the set time node to the external disk for timing caching.

[0142] It should be noted that by judging whether the current remaining memory of the backup block meets the requirement, and deleting or copying the historical backup data exceeding the set time node, the historical backup data with a long backup time is optimized and arranged under the condition of ensuring safety, the use rate of the backup block is improved, and the memory of the backup block is prevented from being occupied by too much historical backup data.

[0143] According to the embodiment of the application, the method further comprises:

[0144] The backup data corresponding to different project progress is acquired, the dynamic encryption instruction is generated according to the project progress, and the encryption code is generated according to the dynamic encryption instruction;

[0145] The backup data is encrypted according to the encryption code, the dynamic encryption instruction is dynamically adjusted to generate the new encryption code when the project progress changes, and the new encryption character is generated;

[0146] The backup data of the next project progress is newly encrypted by using the new encryption character.

[0147] It should be noted that the encryption code generated by the backup data of different project progress is different, and when the backup data is intruded, the loss of all backup data is prevented, and the data backup security is improved.

[0148] The third aspect of the application provides a computer readable storage medium, the readable storage medium comprises a project data backup method program, and the project data backup method program is executed by a processor to realize the steps of the project data backup method of any one of the above.

[0149] The project data backup method, system and medium disclosed by the application are used for executing project implementation according to a project plan, acquiring project implementation progress, matching storage areas of different implementation progress according to the project implementation progress, forming a plurality of backup blocks, wherein the project implementation progress and the backup block are one-to-one corresponding, backing up project data of different implementation progress into the corresponding backup block to form first full backup data, comparing the project data corresponding to the project implementation progress with the first full backup data to obtain difference data, setting a backup time period, calling a backup strategy, filling and backing up the difference data according to the backup strategy, updating the first full backup data, and generating incremental backup data, and corresponding the backup of different project implementation progress in different backup blocks to realize the separate backup of data, first backup of the right data, and comparison of the project data with the first backup data to add the difference data, thereby improving the backup efficiency.

[0150] In several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other manners. The above described device embodiments are merely exemplary. For example, the division of the units is only a logical function division. There can be another division manner for the actual implementation, for example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. In addition, the displayed or discussed coupling, or direct coupling or communication connection between the components can be indirect coupling or communication connection through some interfaces, devices, or units, and can be electrical, mechanical, or in other forms.

[0151] The units described as separate components can or can not be physically separate, and the components shown as units can or can not be physical units; they can be located in one place, or distributed on multiple network units; and part or all of the units can be selected according to actual needs to achieve the purpose of the embodiment.

[0152] In addition, each functional unit in each embodiment of the present application can be integrated into one processing unit, or each unit can be a separate unit, or two or more units can be integrated into one unit; the integrated unit can be realized in the form of hardware or in the form of hardware plus software functional units.

[0153] Those of ordinary skill in the art can understand that all or part of the steps of the above-mentioned method embodiments can be completed by a program instructing related hardware, and the foregoing program can be stored in a readable storage medium, and when the program is executed, the steps of the method embodiments are executed; and the foregoing storage medium includes a mobile storage device, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, and various media that can store program codes.

[0154] Alternatively, the integrated units of the present application, if implemented in the form of software functional modules and sold or used as independent products, can also be stored in a readable storage medium. Based on this understanding, the technical solutions of the embodiments of the present application can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for causing a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the methods described in the embodiments of the present application. The foregoing storage medium includes a mobile storage device, a ROM, a RAM, a magnetic disk or an optical disk, and various media that can store program codes.

Claims

1. A method for backing up project data, characterized in that, include: The project is implemented according to the project plan, and the project implementation progress is obtained. The storage areas with different implementation progress are matched according to the project implementation progress to form multiple backup blocks. The project implementation progress corresponds one-to-one with the backup blocks. Back up project data at different implementation stages to the corresponding backup blocks to form the initial full backup data; The project data corresponding to the project implementation progress is analyzed and compared with the initial full backup data to obtain the difference data; Set a backup time period, invoke the backup policy, start the backup block according to the backup policy to fill the difference data with backup, update the initial full backup data, and generate incremental backup data; The project is implemented according to the project plan, and the project implementation progress is obtained. The storage areas with different implementation progress are matched according to the project implementation progress to form multiple backup blocks. Specifically, the project implementation is carried out according to the project plan and the implementation status information is obtained. The implementation status information is compared with the set project status information to obtain the project deviation rate; Determine whether the project deviation rate is greater than or equal to a preset deviation rate threshold; If it is less than, then obtain the amount of data generated in the implementation progress of different projects, match the storage area with the corresponding memory ratio according to the data volume ratio, and obtain multiple backup blocks; If the value is greater than or equal to the value, a correction factor is generated. The memory of the storage area corresponding to the current project progress is adjusted according to the correction factor, and the memory allocation of multiple backup storage areas is updated.

2. The project data backup method according to claim 1, characterized in that, Back up project data at different implementation stages to the corresponding backup blocks to form the initial full backup data. Specifically, this includes: backing up project data at the corresponding stages through backup blocks to obtain full backup data for different project stages. By comparing and analyzing the full backup data of the current project progress with the full backup data of the next project progress, duplicate data is obtained. Duplicate data is removed, and the full backup data in all backup blocks is integrated to obtain the initial full backup data.

3. The project data backup method according to claim 2, characterized in that, The project data corresponding to the project implementation progress is analyzed and compared with the initial full backup data to obtain the difference data. Specifically, this includes setting multiple backup time windows, and matching the backup time windows with the project implementation progress. When the backup time window changes, analyze the project data corresponding to the current backup time window and the previous backup time window to generate the first difference data. The project data in the current backup time window is compared with the data from the first full backup to obtain the second difference data; Based on the analysis of the first and second difference data, difference data under different time windows were obtained; Invoke the backup policy and back up the differential data to the matching backup block according to the backup policy. The backup policy includes full backup, incremental backup and differential backup.

4. The project data backup method according to claim 3, characterized in that, Before starting the backup block to populate the backup with the difference data, the process also includes: obtaining the incremental information of the project data based on the difference data, and calculating the amount of memory required for the backup; Get the current remaining memory in the backup block and compare it with the amount of memory required for the backup. If the current remaining memory is less than the memory required for backup, it is determined that the memory usage of the difference data exceeds the limit, and the historical backup data in the backup block is optimized and organized. If the current remaining memory is greater than the amount of memory required for backup, the difference data will be stored in the backup block.

5. The project data backup method according to claim 4, characterized in that, If the remaining memory is less than the amount of memory required for backup, it is determined that the memory usage of the difference data exceeds the limit. The historical backup data in the backup block is then optimized and organized, specifically including: obtaining the historical backup data in the backup block and obtaining the historical backup records. Obtain the backup time point based on historical backup records; If the current remaining memory is less than the amount of memory required for backup, then historical backup data whose backup time point exceeds the set time point will be extracted. Analyze whether historical backup data whose backup time point exceeds the set time point was updated at other backup time points; If an update is performed, historical backup data whose backup time point exceeds the set time point will be deleted, and the current remaining memory will be obtained. If not updated, historical backup data whose backup time point exceeds the set time point will be copied to an external disk for periodic caching.

6. A project data backup system, characterized in that, The system includes a memory and a processor. The memory includes a program for a project data backup method. When the program for the project data backup method is executed by the processor, it performs the following steps: executing the project implementation according to the project plan and obtaining the project implementation progress; matching storage areas with different implementation progress according to the project implementation progress to form multiple backup blocks, wherein the project implementation progress corresponds one-to-one with the backup blocks. Back up project data at different implementation stages to the corresponding backup blocks to form the initial full backup data; The project data corresponding to the project implementation progress is analyzed and compared with the initial full backup data to obtain the difference data; Set a backup time period, invoke the backup policy, start the backup block according to the backup policy to fill the difference data with backup, update the initial full backup data, and generate incremental backup data; The project is implemented according to the project plan, and the project implementation progress is obtained. The storage areas with different implementation progress are matched according to the project implementation progress to form multiple backup blocks. Specifically, the project implementation is carried out according to the project plan and the implementation status information is obtained. The implementation status information is compared with the set project status information to obtain the project deviation rate; Determine whether the project deviation rate is greater than or equal to a preset deviation rate threshold; If it is less than, then obtain the amount of data generated in the implementation progress of different projects, match the storage area with the corresponding memory ratio according to the data volume ratio, and obtain multiple backup blocks; If the value is greater than or equal to the value, a correction factor is generated. The memory of the storage area corresponding to the current project progress is adjusted according to the correction factor, and the memory allocation of multiple backup storage areas is updated.

7. The project data backup system according to claim 6, characterized in that, Back up project data at different implementation stages to the corresponding backup blocks to form the initial full backup data. Specifically, this includes: backing up project data at the corresponding stages through backup blocks to obtain full backup data for different project stages. By comparing and analyzing the full backup data of the current project progress with the full backup data of the next project progress, duplicate data is obtained. Duplicate data is removed, and the full backup data in all backup blocks is integrated to obtain the initial full backup data.

8. A computer-readable storage medium, characterized in that, The computer-readable storage medium includes a project data backup method program, which, when executed by a processor, implements the steps of the project data backup method as described in any one of claims 1 to 5.

Citation Information

Patent Citations

  • Data backup method and device based on Internet of Things cloud storage

    CN112527561A

  • Data backup method, device and equipment

    CN116263726A