Electronic file backup system and method, electronic equipment and storage medium
By determining the target backup method based on the security level of electronic files and using the corresponding backup method for backup processing, the problem that traditional backup methods cannot preserve electronic files in local accidents is solved, and the confidentiality and security of electronic file backup data is achieved.
Patent Information
- Application Number
- CN202411709671.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-27
- Publication Date
- 2025-03-04
AI Technical Summary
The traditional electronic file backup method cannot preserve electronic file when an accident occurs locally, and the security level of the backup method is not considered.
According to the security level of electronic files, determine the target backup method, including first-level local backup, second-level local backup and third-level off-site backup, and use the corresponding backup method for backup processing to ensure that the target backup file is used instead of the original file when the file is abnormal.
By matching the security level of electronic files and the target backup method, the confidentiality and security of electronic files backup data are achieved, and data loss caused by local accidents is avoided.
Smart Images

Figure CN119557143A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of data security technology, and in particular to a system, method, electronic device and storage medium for electronic file backup. Background Art
[0002] Electronic archives are a collection of information records in various forms such as text, graphics, audio and video, and data that are created, processed, transmitted, and stored by government agencies, groups, enterprises, institutions, other organizations, and individuals in the process of performing their statutory duties or handling affairs through computers and other electronic devices. They have preservation value, and their information security occupies a pivotal position.
[0003] In order to ensure the long-term effective reading and safe use of electronic files, electronic files must be backed up. The traditional electronic file backup method does not consider its own security level. All electronic files are backed up in the same way: they are all stored and backed up locally. This backup method cannot preserve the electronic files when an accident occurs locally. Summary of the invention
[0004] In view of this, the purpose of the present application is to provide a system, method, electronic device and storage medium for electronic file backup to overcome the problems in the prior art.
[0005] In a first aspect, an embodiment of the present application provides a method for backing up an electronic file, the method comprising:
[0006] When the electronic archive management system obtains the archive to be stored, the security level of the archive to be stored is determined according to the source system of the archive to be stored;
[0007] According to the security level of the archive to be stored, determine the target backup mode of the archive to be stored from the backup modes to be selected; wherein the backup modes to be selected include level 1 local backup, level 2 local backup and level 3 off-site backup;
[0008] Backing up the archive to be stored using the target backup method to obtain a target backup archive of the archive to be stored;
[0009] When the file to be stored is abnormal, the target backup file is used to replace the file to be stored.
[0010] In some technical solutions of the present application, the target backup mode of the archive to be stored is determined from the backup modes to be selected according to the security level of the archive to be stored; wherein the backup modes to be selected include primary local backup, secondary local backup and tertiary off-site backup, including:
[0011] When the security level of the archive to be stored is low, the first-level local backup is used as the target backup mode;
[0012] When the security level of the archive to be stored is medium, the first-level local backup and the second-level local backup are used as the target backup mode;
[0013] When the security level of the archive to be stored is a high level, the first-level local backup, the second-level local backup and the third-level off-site backup are used as the target backup methods.
[0014] In some technical solutions of the present application, when the first-level local backup is used as the target backup mode, the target backup mode is used to perform backup processing on the archive to be stored to obtain the target backup archive of the archive to be stored, including:
[0015] Generating a first backup strategy according to the production process of the electronic archive management system;
[0016] According to the first backup strategy, the archive to be stored is backed up using a local first storage medium.
[0017] In some technical solutions of the present application, when the first-level local backup and the second-level local backup are used as the target backup mode, the target backup mode is used to perform backup processing on the archive to be stored to obtain the target backup archive of the archive to be stored, including:
[0018] generating a second backup strategy according to the production process of the electronic archive management system;
[0019] According to the second backup strategy, the archive to be stored is backed up using a local first storage medium and a local second storage medium.
[0020] In some technical solutions of the present application, when the first-level local backup, the second-level local backup and the third-level off-site backup are used as the target backup mode, the target backup mode is used to perform backup processing on the archive to be stored to obtain the target backup archive of the archive to be stored, including:
[0021] generating a third backup strategy according to the production process of the electronic archive management system;
[0022] According to the third backup strategy, the archive to be stored is backed up using a local first storage medium, a local second storage medium, and a remote second storage medium.
[0023] In some technical solutions of the present application, according to the third backup strategy, the local first storage medium, the local second storage medium and the remote second storage medium are used to back up the archive to be stored, so as to obtain the first backup archive, the second backup archive and the third backup archive;
[0024] The method further comprises:
[0025] If it is detected that there is an abnormal backup file among the first backup file, the second backup file and the third backup file, the abnormal backup file is maintained using a normal backup file.
[0026] In some technical solutions of the present application, according to the third backup strategy, the local first storage medium, the local second storage medium and the remote second storage medium are used to back up the archive to be stored, so as to obtain the first backup archive, the second backup archive and the third backup archive;
[0027] When the file to be stored is abnormal, using the target backup file to replace the file to be stored includes:
[0028] When the file to be stored is abnormal, the file to be stored is replaced in the order of the first backup file, the second backup file and the third backup file.
[0029] In a second aspect, an embodiment of the present application provides a device for backing up an electronic file, the device comprising:
[0030] An acquisition module, used to determine the security level of the archive to be stored according to the source system of the archive to be stored when the electronic archive management system acquires the archive to be stored;
[0031] A determination module, used to determine a target backup mode of the archive to be stored from the backup modes to be selected according to the security level of the archive to be stored; wherein the backup modes to be selected include a first-level local backup, a second-level local backup, and a third-level off-site backup;
[0032] A backup module, used to perform backup processing on the archive to be stored using the target backup method to obtain a target backup archive of the archive to be stored;
[0033] The replacement module is used to use the target backup file to replace the file to be stored when the file to be stored is abnormal.
[0034] In a third aspect, an embodiment of the present application provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the above-mentioned method for backing up electronic files when executing the computer program.
[0035] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of the above-mentioned electronic file backup method are executed.
[0036] The technical solution provided by the embodiments of the present application may have the following beneficial effects:
[0037] The method of the present application includes, when an electronic archive management system obtains an archive to be stored, determining the security level of the archive to be stored according to the source system of the archive to be stored; determining the target backup method of the archive to be stored from the backup methods to be selected according to the security level of the archive to be stored; wherein the backup methods to be selected include first-level local backup, second-level local backup and third-level off-site backup; backing up the archive to be stored using the target backup method to obtain the target backup archive of the archive to be stored; when the archive to be stored is abnormal, using the target backup archive to replace the archive to be stored.
[0038] This application matches the corresponding target backup method for the archive to be stored according to the security level of the archive to be stored, and the target backup method includes multiple methods, which can achieve the confidentiality of the electronic archive backup data.
[0039] In order to make the above-mentioned objects, features and advantages of the present application more obvious and easy to understand, preferred embodiments are specifically cited below and described in detail with reference to the attached drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0040] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the embodiments will be briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present application and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.
[0041] Figure 1 A schematic diagram of a process for backing up an electronic file provided in an embodiment of the present application is shown;
[0042] Figure 2 A schematic diagram of an electronic archive management system and a data backup management system provided by an embodiment of the present application is shown;
[0043] Figure 3 A schematic diagram of an electronic file backup device provided in an embodiment of the present application is shown;
[0044] Figure 4 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0045] To make the purpose, technical scheme and advantages of the embodiments of the present application clearer, the technical scheme in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. It should be understood that the drawings in the present application only serve the purpose of explanation and description and are not used to limit the scope of protection of the present application. In addition, it should be understood that the schematic drawings are not drawn in real proportion. The flowchart used in this application shows the operations implemented according to some embodiments of the present application. It should be understood that the operations of the flowchart can be implemented out of sequence, and the steps without logical context can be reversed in order or implemented simultaneously. In addition, those skilled in the art can add one or more other operations to the flowchart under the guidance of the content of the present application, or remove one or more operations from the flowchart.
[0046] In addition, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments. The components of the embodiments of the present application described and shown in the drawings here can be arranged and designed in various 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 application claimed for protection, but merely represents the 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 making creative work belong to the scope of protection of the present application.
[0047] It should be noted that the term "comprising" will be used in the embodiments of the present application to indicate the existence of the features declared thereafter, but does not exclude the addition of other features.
[0048] Electronic archives are a collection of information records in various forms such as text, graphics, audio and video, and data that are created, processed, transmitted, and stored by government agencies, groups, enterprises, institutions, other organizations, and individuals in the process of performing their statutory duties or handling affairs through computers and other electronic devices. They have preservation value, and their information security occupies a pivotal position.
[0049] In order to ensure the long-term effective reading and safe use of electronic files, electronic files must be backed up. The traditional electronic file backup method does not consider its own security level. All electronic files are backed up in the same way: they are all stored and backed up locally. This backup method cannot preserve the electronic files when an accident occurs locally.
[0050] Based on this, the embodiments of the present application provide a system, method, electronic device and storage medium for backing up an electronic file, which are described below through embodiments.
[0051] Figure 1A schematic flow chart of a method for backing up an electronic file provided in an embodiment of the present application is shown, wherein the method includes steps S101-S104; specifically:
[0052] S101, when the electronic archive management system obtains the archive to be stored, the security level of the archive to be stored is determined according to the source system of the archive to be stored;
[0053] S102, determining a target backup mode of the archive to be stored from the backup modes to be selected according to the security level of the archive to be stored; wherein the backup modes to be selected include level 1 local backup, level 2 local backup and level 3 off-site backup;
[0054] S103, backing up the archive to be stored using the target backup method to obtain a target backup archive of the archive to be stored;
[0055] S104: When the file to be stored is abnormal, the target backup file is used to replace the file to be stored.
[0056] This application matches the corresponding target backup method for the archive to be stored according to the security level of the archive to be stored, and the target backup method includes multiple methods, which can achieve the confidentiality of the electronic archive backup data.
[0057] Some embodiments of the present application are described in detail below. In the absence of conflict, the following embodiments and features in the embodiments can be combined with each other.
[0058] The electronic file backup method in the embodiment of the present application is used for Figure 2 The electronic archive management system shown includes multiple electronic archive servers and storage disks. The local and remote in the embodiment of the present application are relative to the electronic archive management system, that is, the local representation is relatively close to the electronic archive management system in physical address (equal to or less than a preset distance threshold, for example, the distance threshold is set to ten kilometers), and the remote representation is relatively far from the electronic archive management system in physical address (greater than the preset distance threshold). The electronic archive management system is connected to the production system of each electronic archive, that is, after the production system generates the electronic archive, it sends the electronic archive to the electronic archive management system for storage (for the convenience of describing the embodiment of the present application, the electronic archive obtained by the electronic archive management system is referred to as the archive to be stored). In actual business work, the type of electronic archives produced by each production system is the same, that is, the security level of the electronic archives produced by each production system is also the same. The security level of the electronic archive is determined by the production system.
[0059] The execution subject of the method for backing up electronic archives in the embodiment of the present application is a data backup management system, which includes a backup management server, multiple backup media servers, storage disks, storage tapes, etc.
[0060] After the data backup management system detects that the electronic archive management system has received a new electronic archive (archive to be stored) produced by the production system, it determines the security level of the archive to be stored according to the security level of the production system corresponding to the archive to be stored. The security level of the production system is determined according to the specific business of the generation system. If the security level of the business is higher, the security level of the production system is higher, and then the security level of the archive to be stored produced by it is higher. For example, for a certain school, the security level of the student's personal information archive is higher than that of the physical examination information archive, and the security level of the physical examination information archive is higher than that of the grade information archive, etc. In specific implementation, the security level of the archive to be stored can be divided into low level, medium level and high level.
[0061] After determining the security level of the archives to be stored, the embodiment of the present application also needs to match the corresponding target storage method according to the security level of each archive to be stored. When matching, the embodiment of the present application selects from the candidate backup methods according to the security level. The candidate backup methods include level one local backup, level two local backup and level three off-site backup. Specifically, when the security level of the archives to be stored is low, the level one local backup is used as the target backup method; when the security level of the archives to be stored is medium, the level one local backup and the level two local backup are used as the target backup method; when the security level of the archives to be stored is high, the level one local backup, the level two local backup and the level three off-site backup method are used as the target backup method.
[0062] After matching the corresponding target backup mode for the document to be stored, the target backup mode is used to back it up. Specifically, when the first-level local backup is used as the target backup mode, the target backup mode is used to back up the archive to be stored to obtain the target backup archive of the archive to be stored, including: generating a first backup strategy according to the production process of the electronic archive management system; and backing up the archive to be stored using a local first storage medium according to the first backup strategy.
[0063] In the specific implementation, since the security level of the archives to be stored here is low, the embodiment of the present application mainly performs backup during the idle time of the electronic archive management system. That is, the first backup strategy needs to include the backup time, backup cycle and backup type, etc. The backup time here is mainly the idle time of the electronic archive management system. The first storage medium here is a disk.
[0064] When the first-level local backup and the second-level local backup are used as the target backup method, the target backup method is used to back up the archives to be stored to obtain the target backup archives of the archives to be stored, including: generating a second backup strategy according to the production process of the electronic archive management system; and according to the second backup strategy, using a local first storage medium and a local second storage medium to back up the archives to be stored.
[0065] In the specific implementation, the security of the archives to be stored here is of medium level, and two backup methods (first-level local backup and second-level local backup) are required for backup. Therefore, the generated second backup strategy needs to include two strategies: the first-level local backup strategy and the second-level local backup strategy. The first-level local backup strategy: mainly perform backup during the idle time of the electronic archive management system. That is, the first backup strategy needs to include the backup time, backup cycle and backup type, etc. The backup time here is mainly the idle time of the electronic archive management system. The first storage medium here is the disk. The second-level local backup strategy: mainly during part of the working time of the electronic archive management system, configure integrity verification and encrypted transmission in the data backup management system. After scanning, compressing, encrypting, and verifying the electronic archives during the working process of the electronic archive management system, the data transmission from the client disk storage to the data backup management system end disk storage is completed through the network to form electronic archive backup data. The second storage medium here is a tape.
[0066] When the first-level local backup, the second-level local backup and the third-level off-site backup mode are used as the target backup mode, the target backup mode is used to back up the archives to be stored to obtain the target backup archives of the archives to be stored, including: generating a third backup strategy according to the production process of the electronic archive management system; according to the third backup strategy, using a local first storage medium, a local second storage medium and an off-site second storage medium to back up the archives to be stored.
[0067] In the specific implementation, the security of the archives to be stored here is of high level, and two three-copy methods (first-level local backup, second-level local backup and third-level off-site backup) are required for backup. Therefore, the third backup strategy generated needs to include two strategies: the first-level local backup strategy, the second-level local backup strategy and the third-level off-site backup strategy. The first-level local backup strategy: mainly backup during the idle time of the electronic archive management system. That is, the first backup strategy needs to include the backup time, backup cycle and backup type, and the backup time here is mainly the idle time of the electronic archive management system. The first storage medium here is the disk. The second-level local backup strategy: mainly during part of the working time of the electronic archive management system, configure integrity verification and encrypted transmission in the data backup management system. After scanning, compressing, encrypting and verifying the electronic archives during the working process of the electronic archive management system, the data transmission from the client disk storage to the data backup management system end disk storage is completed through the network to form the electronic archive backup data. The second storage medium here is the tape. The third-level off-site backup strategy: regardless of the working time of the electronic archive management system, the backup work is given priority. Integrity verification and encrypted transmission are configured in the data backup management system. After the electronic archives are scanned, compressed, encrypted, and verified during the operation of the electronic archive management system, data is transmitted from the local disk end of the data backup management system to the off-site tape end through the network to form off-site heterogeneous backup data of the electronic archives. The second storage medium here is the tape.
[0068] After backing up the archive to be stored, in order to ensure the accuracy of the data, the embodiment of the present application will also monitor the obtained backup archive. For the convenience of description, the embodiment of the present application will use a local first storage medium, a local second storage medium and a remote second storage medium to back up the archive to be stored, and the obtained backup archives are called the first backup archive, the second backup archive and the third backup archive. The embodiment of the present application monitors the first backup archive, the second backup archive and the third backup archive. If an abnormal backup archive is found, the abnormal backup archive is maintained using a normal backup archive. If all backup archives are abnormal, the archive to be stored in the electronic archive management system is tested. After determining that the archive to be stored is tested for accuracy and completeness, the archive to be stored is backed up again. The backup process here is the same as the above-mentioned backup process, which will not be repeated here.
[0069] For example, when the first backup file is abnormal, the second backup file or the third backup file can be used to regenerate it (considering work efficiency and data security, the embodiment of the present application preferentially uses the second backup file to maintain the first backup file). When the second backup file is abnormal, the first backup file or the third backup file can be used to regenerate it (considering work efficiency and data security, the embodiment of the present application preferentially uses the first backup file to maintain the first backup file). When the third backup file is abnormal, the first backup file or the second backup file can be used to regenerate it.
[0070] After all backup work is completed, the archives to be stored in the electronic archive management system are monitored, and when the archives to be stored are abnormal, the target backup archive is used to replace the archives to be stored. The target backup archive here includes at least one of the first backup archive, the second backup archive, and the third backup archive.
[0071] If the target backup file is the first backup file, the second backup file, or the third backup file, the first backup file, the second backup file, or the third backup file can be directly used to replace it. If the target backup file includes multiple backup files, the files to be stored are replaced in the order of the first backup file, the second backup file, and the third backup file.
[0072] The method in the embodiment of the present application prolongs the life of the storage medium: the life and reliability of different storage media are different. By backing up data on multiple media, the overall storage life of the data can be extended and the risk of data loss caused by aging or damage of the storage medium can be reduced.
[0073] Reliability: Through dual backup (disk and tape), data reliability and recovery capabilities are improved. When data on the disk media is lost, the data can be restored from the tape media.
[0074] Considering both speed and capacity: The disk backup phase provides fast data backup capabilities and reduces the backup window time. The tape backup phase utilizes the high capacity of tapes to store large amounts of data.
[0075] Enhance data security: Natural disasters such as fire, flood, earthquake, etc., as well as human factors such as equipment failure and hacker attacks, can cause devastating damage to electronic files and data. Off-site heterogeneous backup can effectively reduce these risks and ensure data security by backing up data in different geographical locations and using different storage media.
[0076] Figure 3 A schematic diagram of the structure of an electronic file backup device provided in an embodiment of the present application is shown, and the device includes:
[0077] An acquisition module, used to determine the security level of the archive to be stored according to the source system of the archive to be stored when the electronic archive management system acquires the archive to be stored;
[0078] A determination module, used to determine a target backup mode of the archive to be stored from the backup modes to be selected according to the security level of the archive to be stored; wherein the backup modes to be selected include a first-level local backup, a second-level local backup, and a third-level off-site backup;
[0079] A backup module, used to perform backup processing on the archive to be stored using the target backup method to obtain a target backup archive of the archive to be stored;
[0080] The replacement module is used to use the target backup file to replace the file to be stored when the file to be stored is abnormal.
[0081] The target backup mode of the archive to be stored is determined from the backup modes to be selected according to the security level of the archive to be stored; wherein the backup modes to be selected include primary local backup, secondary local backup and tertiary off-site backup, including:
[0082] When the security level of the archive to be stored is low, the first-level local backup is used as the target backup mode;
[0083] When the security level of the archive to be stored is medium, the first-level local backup and the second-level local backup are used as the target backup mode;
[0084] When the security level of the archive to be stored is a high level, the first-level local backup, the second-level local backup and the third-level off-site backup are used as the target backup methods.
[0085] When the first-level local backup is used as the target backup mode, the target backup mode is used to perform backup processing on the archive to be stored to obtain the target backup archive of the archive to be stored, including:
[0086] Generating a first backup strategy according to the production process of the electronic archive management system;
[0087] According to the first backup strategy, the archive to be stored is backed up using a local first storage medium.
[0088] When the primary local backup and the secondary local backup are used as the target backup mode, the target backup mode is used to perform backup processing on the archive to be stored to obtain the target backup archive of the archive to be stored, including:
[0089] generating a second backup strategy according to the production process of the electronic archive management system;
[0090] According to the second backup strategy, the archive to be stored is backed up using a local first storage medium and a local second storage medium.
[0091] When the first-level local backup, the second-level local backup, and the third-level off-site backup are used as the target backup mode, the target backup mode is used to perform backup processing on the archive to be stored to obtain the target backup archive of the archive to be stored, including:
[0092] generating a third backup strategy according to the production process of the electronic archive management system;
[0093] According to the third backup strategy, the archive to be stored is backed up using a local first storage medium, a local second storage medium and a remote second storage medium.
[0094] According to the third backup strategy, the archive to be stored is backed up using a local first storage medium, a local second storage medium and a remote second storage medium to obtain a first backup archive, a second backup archive and a third backup archive;
[0095] Also includes:
[0096] If it is detected that there is an abnormal backup file among the first backup file, the second backup file and the third backup file, the abnormal backup file is maintained using a normal backup file.
[0097] According to the third backup strategy, the archive to be stored is backed up using a local first storage medium, a local second storage medium and a remote second storage medium to obtain a first backup archive, a second backup archive and a third backup archive;
[0098] When the file to be stored is abnormal, using the target backup file to replace the file to be stored includes:
[0099] When the file to be stored is abnormal, the file to be stored is replaced in the order of the first backup file, the second backup file and the third backup file.
[0100] like Figure 4 As shown, an embodiment of the present application provides an electronic device for executing the method for backing up an electronic file in the present application. The device includes a memory, a processor, a bus, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the method for backing up an electronic file when executing the computer program.
[0101] Specifically, the above-mentioned memory and processor can be general-purpose memory and processor, which are not specifically limited here. When the processor runs the computer program stored in the memory, the above-mentioned electronic file backup method can be executed.
[0102] Corresponding to the method for backing up electronic files in the present application, an embodiment of the present application further provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the steps of the above-mentioned method for backing up electronic files are executed.
[0103] Specifically, the storage medium can be a general storage medium, such as a mobile disk, a hard disk, etc. When the computer program on the storage medium is run, the above-mentioned electronic file backup method can be executed.
[0104] In the embodiments provided in the present application, it should be understood that the disclosed systems and methods can be implemented in other ways. The system embodiments described above are merely schematic. For example, the division of the units is only a logical function division. There may be other division methods in 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. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some communication interfaces, indirect coupling or communication connection of systems or units, which can be electrical, mechanical or other forms.
[0105] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, and may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0106] In addition, each functional unit in the embodiments provided in the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
[0107] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application can be essentially or partly embodied in the form of a software product that contributes to the prior art. The computer software product is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.
[0108] It should be noted that similar numbers and letters represent similar items in the following figures. Therefore, once an item is defined in one figure, it does not need to be further defined and explained in subsequent figures. In addition, the terms "first", "second", "third", etc. are only used to distinguish the description and are not to be understood as indicating or implying relative importance.
[0109] Finally, it should be noted that the above-described embodiments are only specific implementation methods of the present application, which are used to illustrate the technical solutions of the present application, rather than to limit them. The protection scope of the present application is not limited thereto. Although the present application is described in detail with reference to the above-mentioned embodiments, ordinary technicians in the field should understand that any technician familiar with the technical field can still modify the technical solutions recorded in the above-mentioned embodiments within the technical scope disclosed in the present application, or can easily think of changes, or make equivalent replacements for some of the technical features therein; and these modifications, changes or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present application. They should all be included in the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.
Claims
1. A method for backing up an electronic file, characterized in that: The method comprises: When the electronic archive management system obtains the archive to be stored, the security level of the archive to be stored is determined according to the source system of the archive to be stored; According to the security level of the archive to be stored, determine the target backup mode of the archive to be stored from the backup modes to be selected; wherein the backup modes to be selected include level 1 local backup, level 2 local backup and level 3 off-site backup; Backing up the archive to be stored using the target backup method to obtain a target backup archive of the archive to be stored; When the file to be stored is abnormal, the target backup file is used to replace the file to be stored.
2. The method according to claim 1, characterized in that The target backup mode of the archive to be stored is determined from the backup modes to be selected according to the security level of the archive to be stored; wherein the backup modes to be selected include primary local backup, secondary local backup and tertiary off-site backup, including: When the security level of the archive to be stored is low, the first-level local backup is used as the target backup mode; When the security level of the archive to be stored is medium, the first-level local backup and the second-level local backup are used as the target backup mode; When the security level of the archive to be stored is a high level, the first-level local backup, the second-level local backup and the third-level off-site backup are used as the target backup methods.
3. The method according to claim 2, characterized in that When the first-level local backup is used as the target backup mode, the target backup mode is used to perform backup processing on the archive to be stored to obtain the target backup archive of the archive to be stored, including: Generating a first backup strategy according to the production process of the electronic archive management system; According to the first backup strategy, the archive to be stored is backed up using a local first storage medium.
4. The method according to claim 2, characterized in that: When the primary local backup and the secondary local backup are used as the target backup mode, the target backup mode is used to perform backup processing on the archive to be stored to obtain the target backup archive of the archive to be stored, including: generating a second backup strategy according to the production process of the electronic archive management system; According to the second backup strategy, the archive to be stored is backed up using a local first storage medium and a local second storage medium.
5. The method according to claim 2, characterized in that: When the first-level local backup, the second-level local backup, and the third-level off-site backup are used as the target backup mode, the target backup mode is used to perform backup processing on the archive to be stored to obtain the target backup archive of the archive to be stored, including: generating a third backup strategy according to the production process of the electronic archive management system; According to the third backup strategy, the archive to be stored is backed up using a local first storage medium, a local second storage medium and a remote second storage medium.
6. The method according to claim 5, characterized in that According to the third backup strategy, the archive to be stored is backed up using a local first storage medium, a local second storage medium and a remote second storage medium to obtain a first backup archive, a second backup archive and a third backup archive; The method further comprises: If it is detected that there is an abnormal backup file among the first backup file, the second backup file and the third backup file, the abnormal backup file is maintained using a normal backup file.
7. The method according to claim 5, characterized in that According to the third backup strategy, the archive to be stored is backed up using a local first storage medium, a local second storage medium and a remote second storage medium to obtain a first backup archive, a second backup archive and a third backup archive; When the file to be stored is abnormal, using the target backup file to replace the file to be stored includes: When the file to be stored is abnormal, the file to be stored is replaced in the order of the first backup file, the second backup file and the third backup file.
8. An electronic file backup device, characterized in that: The device comprises: An acquisition module, used to determine the security level of the archive to be stored according to the source system of the archive to be stored when the electronic archive management system acquires the archive to be stored; A determination module, used to determine a target backup mode of the archive to be stored from the backup modes to be selected according to the security level of the archive to be stored; wherein the backup modes to be selected include a first-level local backup, a second-level local backup, and a third-level off-site backup; A backup module, used to perform backup processing on the archive to be stored using the target backup method to obtain a target backup archive of the archive to be stored; The replacement module is used to use the target backup file to replace the file to be stored when the file to be stored is abnormal.
9. An electronic device, characterized in that: include: A processor, a memory and a bus, wherein the memory stores machine-readable instructions executable by the processor, and when the electronic device is running, the processor and the memory communicate via the bus, and when the machine-readable instructions are executed by the processor, the steps of the method for backing up an electronic file as described in any one of claims 1 to 7 are performed.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, which, when executed by a processor, executes the steps of the method for backing up an electronic file as claimed in any one of claims 1 to 7.