CN109408283A - A kind of method of server data protection, equipment and storage medium - Google Patents
A kind of method of server data protection, equipment and storage medium Download PDFInfo
- Publication number
- CN109408283A CN109408283A CN201811027160.XA CN201811027160A CN109408283A CN 109408283 A CN109408283 A CN 109408283A CN 201811027160 A CN201811027160 A CN 201811027160A CN 109408283 A CN109408283 A CN 109408283A
- Authority
- CN
- China
- Prior art keywords
- data
- server
- unique identification
- predetermined server
- identification information
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/07—Responding to the occurrence of a fault, e.g. fault tolerance
- G06F11/14—Error detection or correction of the data by redundancy in operation
- G06F11/1402—Saving, restoring, recovering or retrying
- G06F11/1446—Point-in-time backing up or restoration of persistent data
- G06F11/1458—Management of the backup or restore process
- G06F11/1469—Backup restoration techniques
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/07—Responding to the occurrence of a fault, e.g. fault tolerance
- G06F11/14—Error detection or correction of the data by redundancy in operation
- G06F11/1402—Saving, restoring, recovering or retrying
- G06F11/1446—Point-in-time backing up or restoration of persistent data
- G06F11/1448—Management of the data involved in backup or backup restore
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Quality & Reliability (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
- Techniques For Improving Reliability Of Storages (AREA)
Abstract
The present invention discloses the method, equipment and storage medium of a kind of server data protection, which comprises periodically acquires the work state information of server;When the working condition of server is to work normally, predetermined server backup storage is transferred data to;When the working condition of server is abnormal work, stopping transfers data to predetermined server backup storage;When restoring to work normally after the working condition of server is abnormal work, the data of data and predetermined server backup storage are matched one by one, obtain matching result;When server missing data, and determine the data of server missing;Predetermined server is by the data transmission of missing to server.When the method for server data protection disclosed by the invention restores restoring data, does not need user and download full backup data to cover the data on server, it is time saving and energy saving, meet the needs of active user.
Description
Technical field
The present invention relates to technical field of data security, and in particular to a kind of method of server data protection, equipment and deposits
Storage media.
Background technique
With the development of internet technology, the high availability of the rapid growth of data and data, safety requirement stimulation
The development of memory technology, oneself becomes a key factor of IT infrastructure to memory technology, and storage network is mass memory number
An effective hardware foundation is provided according to shared data.
Server run a period of time after, due to virus destruction, the aging of hardware or the generation of itself garbage files,
The increasingly slower or even some data that many programs can be run are destroyed loss, face mass data, the protection and calamity of data
It is difficult to recover also more and more important, and original data guard method, such as tape backup, such backup and reduction tool restores reduction number
According to when, need user to download full backup data and cover the data on server, it is time-consuming and laborious, can no longer meet current use
The demand at family.
Summary of the invention
The main object of the present invention is to provide the method, equipment and storage medium of a kind of server data protection, it is intended to solve
Certainly restore to need user's downloading full backup data to cover the data on server when restoring data in the related technology, it is time-consuming to take
The problem of power.
To achieve the above object, the present invention provides a kind of methods of server data protection, comprising:
Periodically acquire the work state information of server;
When the working condition of server is to work normally, predetermined server backup storage is transferred data to;
When the working condition of server is abnormal work, stopping transfers data to predetermined server backup storage;
When restoring to work normally after the working condition of server is abnormal work, data and predetermined server backup are deposited
The data of storage are matched one by one, obtain matching result;
When server missing data, and determine the data of server missing;
Predetermined server is by the data transmission of missing to server.
Wherein, the step of transferring data to predetermined server backup storage, comprising:
Establish the connection between server and predetermined server;
The unique identification of each data in data is obtained, and data compression is packaged;
Predetermined server backup storage is transferred data to according to priority.
Wherein, before the step of transferring data to predetermined server backup storage according to priority, the step is also wrapped
It includes:
The renewal frequency for obtaining each data in data, the renewal frequency of each data is ranked up, the renewal frequency is
The number that each data are updated in the preset period;
Data backup, which is generated, according to the renewal frequency after the sequence stores priority.
Wherein, the step of transferring data to predetermined server backup storage according to priority, comprising:
The corresponding data transmission of current priority to predetermined server is backed up and is stored;
Detect the corresponding data of the current priority whether end of transmission;
When the corresponding data end of transmission of the current priority, then it is corresponding next priority to be transmitted to predetermined server
Data, wherein the rank for being superior to next priority of the current priority.
Wherein, the step of data of data and predetermined server backup storage being matched one by one, obtain matching result,
Include:
The unique identification information of the unique identification information of data and the data of predetermined server backup storage are carried out
It matches one by one, obtains matching result.
Wherein, by the unique identification information of the unique identification information of data and the data of predetermined server backup storage
The step of being matched one by one, obtaining matching result further include:
When the unique identification information of data matches with the unique identification information of the data of predetermined server backup storage
When unsuccessful, the corresponding data of unsuccessful unique identification information are matched according to the predetermined server and determine the data for clothes
The data lacked when business device abnormal work.
Wherein, by the unique identification information of the unique identification information of data and the data of predetermined server backup storage
The step of being matched one by one, obtaining matching result further include:
When the unique identification information of the unique identification information of data and the data of predetermined server backup storage are whole
One by one when successful match, determine server exception work hours according to there is no variations.
Wherein, as the unique identification information of the unique identification information of data and the data of predetermined server backup storage
When matching unsuccessful, the corresponding data of unsuccessful unique identification information are matched according to the predetermined server and determine the data
After the step of data lacked when working for server exception, the method also includes:
The instruction that data restore reduction is issued to predetermined server;
Predetermined server will match the corresponding data transmission of unsuccessful unique identification information to server.
The present invention also provides a kind of equipment of server data protection, including memory, processor and it is stored in described
In memory and the computer program that can run on the processor, which is characterized in that the processor executes the calculating
The step of method of above-mentioned server data protection is realized when machine program.
The present invention also provides a kind of computer readable storage medium, the computer-readable recording medium storage has computer
Program, which is characterized in that the computer program realizes the method for above-mentioned server data protection when being executed by processor
Step.
It is include at least the following beneficial effects in above scheme of the present invention:
In an embodiment of the present invention, the work state information of server is periodically acquired first;Wherein when server
Working condition is to transfer data to predetermined server backup storage when working normally;When the working condition of server is abnormal
When work, stopping transfers data to predetermined server backup storage;Restore after the working condition of server is abnormal work
When normal work, the data of data and predetermined server backup storage are matched one by one, obtain matching result;Work as server
When missing data, and determine the data of server missing;Last predetermined server is by the data transmission of missing to server.To
When can restore restoring data by the method, do not need user and download full backup data to cover the data on server,
It is time saving and energy saving, meet the needs of active user.
Detailed description of the invention
It, below will be to embodiment or the prior art in order to illustrate more clearly of the present invention or technical solution in the prior art
Attached drawing needed in description is briefly described, it should be apparent that, the accompanying drawings in the following description is only of the invention
Some embodiments for those of ordinary skill in the art without creative efforts, can also be according to this
Structure shown in a little attached drawings obtains other attached drawings.
Fig. 1 is the network system framework map of the specific embodiment of the invention;
Fig. 2 is the flow diagram of the method for server data protection in the specific embodiment of the invention;
Fig. 3 is the server of the specific embodiment of the invention and the backup relation figure of predetermined server;
Fig. 4 is the server of the specific embodiment of the invention and the interaction diagrams of predetermined server;
Fig. 5 is the structural schematic diagram of the equipment of the server data protection of the specific embodiment of the invention.
Specific embodiment
Below in conjunction with the attached drawing in the specific embodiment of the invention, carrys out technical solution in the embodiment of the present invention and carry out clearly
Chu is fully described by, it is clear that described embodiment is only a part of the embodiments of the present invention, rather than whole implementation
Example.Based on the embodiments of the present invention, obtained by those of ordinary skill in the art without making creative efforts
Every other embodiment, shall fall within the protection scope of the present invention.
Description and claims of this specification and term " first " in above-mentioned attached drawing, " second " and " third " etc. are
For distinguishing different objects, not for description particular order.In addition, term " includes " and their any deformations, it is intended that
Non-exclusive include in covering.Such as the process, method, system, product or equipment for containing a series of steps or units do not have
It is defined in listed step or unit, but optionally further comprising the step of not listing or unit, or optionally further comprising
For the intrinsic other step or units of these process, methods, product or equipment.
It illustrates first below in conjunction with relevant drawings and introduces the network architecture that the scheme of lower the embodiment of the present application is applied to.
It is specifically shown in Fig. 1, the network architecture shown in FIG. 1 is related to predetermined server, server.Wherein, predetermined server can
To be predetermined server, network cloud disk etc., the predetermined server is mainly used to the sheet of backup storage server in this embodiment
Ground data.Server, which refers to, can provide other machines the computer system of certain services in network, can also refer exclusively to certain high
Project Computer can externally provide service, node of the server as network, storage, the number for handling network 80% by network
According to, information, therefore the soul of also referred to as network, but the local number when processor-server occurs abnormal, in server
According to that can be destroyed or be lost, great loss is brought to user, therefore, local data is sent to by server at work
It is made a backup store in predetermined server, when server needs to restore restoring data, does not need user and download full backup number
It is time saving and energy saving according to covering the data on server, meet the needs of active user.
As shown in Fig. 2, specific embodiments of the present invention provide a kind of method of server data protection, comprising:
Step 10, the work state information of server is periodically acquired.
Wherein, in a specific embodiment of the present invention, periodically refer to that, periodically or every the amount that certain period occurs, citing comes
It says, 5 minutes are a cycle;20 minutes are a cycle, can also go to obtain service according to the period with 1 hour for a cycle
The work state information of device.It is understood that the time in setting period can be gone according to the setting of user oneself.
It is noted that periodically obtain server work state information can within first time awareness server
Work state information, can timely handle it to the abnormal work of server, solve influence server work normally
Problem, bring influences when reducing server exception work.
Wherein, the work state information of server can work normally for server, server is attacked by DDOS, CC, quilt
Invasion modification file abnormal work, the hardware failure of server, aging and damaging stop working, server just solved it is different
Chang Wenti restores the work state informations such as normal work.
Step 20, when the working condition of server is to work normally, predetermined server backup storage is transferred data to.
Wherein, in order to guarantee that server, can be by the number of loss when breaking down or abnormal work leads to loss of data
According to restore restore, therefore, server in normal work, by server data be sent to predetermined server backup storage.
Step 30, when the working condition of server is abnormal work, stopping transfers data to predetermined server backup
Storage.
Wherein, it frequently can lead to server data loss, when breaking down or abnormal work when server in order to protect
The data when data for backing up storage in card predetermined server are server normal work, at this point, should stop server
Data transmission is backed up to predetermined server and is stored, after server restores to work normally, then by server data and preset service
The data that storage is backed up in device are matched one by one.
Step 40, when restoring to work normally after the working condition of server is abnormal work, by data and preset service
The data of device backup storage are matched one by one, obtain matching result.
Wherein, when server is by DDOS, CC attack or the invasion of some Virus and the aging of hardware damage
The reasons such as bad, itself garbage files generations, frequently can lead to the loss of data in server, bring loss and shadow to user
It rings, when server is influenced by these, restores to work normally after treatment again, often to check that the data in server have
It does not lose, avoids server from losing important data and affected to user, therefore, by the data in server and before
The data that are stored in predetermined server are backed up to be matched one by one, thus can the data in awareness server whether lose,
User can be allowed timely to handle it, avoid bringing loss to user.
Step 50, when server missing data, and the data of server missing are determined.
Wherein, the data being stored in predetermined server are backed up by the data in server and before to be matched one by one,
When the data in predetermined server, which have, matches unsuccessful, it can determine that server data is lost at this time, match unsuccessful number
According to being exactly data that server is lacked.
Step 60, predetermined server is by the data transmission of missing to server.
Wherein, when the data for being realised that server is lacked, in order to avoid missing data leads to the normal work of server
Or the needs of user, it is instructed at this point, should be issued to predetermined server, the data that instruction predetermined server lacks server
It is sent to server, predetermined server receives and the data of server missing are sent to server after instruction.It is noted that
When restoring restoring data, do not need user and download full backup data to cover the data on server, it is time saving and energy saving, meet
The demand of active user.
In the specific embodiment of the invention, above-mentioned steps 20 transfer data to the step of predetermined server backup stores,
Include:
Step 1: the connection between server and predetermined server is established.
Wherein, when server data is sent to predetermined server backup storage by user, preset service is first established
Connection between device and server can just carry out data transmission, and server data is sent to predetermined server backup storage, with
Just the data after restore reduction.
Step 2: the unique identification of each data in data is obtained, and data compression is packaged.
Wherein, the unique identification can be the signing messages of each data or can uniquely determine the letter of each data
Breath.At this point, obtaining the unique identification of each data in server, and it is sent to according to the unique identification of data and each data
Predetermined server.
For example, a lot of classes of data point in server, such as video data, image data, audio data, text are obtained
File data etc., it is to be understood that it can also be subdivided in video data, image data, audio data, document data, but
Have to determine the unique identification of each data, for example, as shown in figure 3, the corresponding unique identification of data 1 is 1, data of signature
2 corresponding unique identifications are signature 2, the corresponding unique identification of data 3 is signature 3, by these data transmissions to default clothes
When business device backup storage, each data and the corresponding relationship of its unique identification will not change.
It is noted that when server needs data to restore reduction, it only need to be by the unique identification of server data
The unique information that the data of storage are backed up in information and predetermined server is matched one by one, energy awareness server missing
Data, the method is time saving and energy saving, high-efficient.
Wherein, data compression is packaged, in the case where file content, function are constant file size is become smaller, saved
Space;It can effectively prevent virus attack;Convenient for file encryption, in packing process, decompression password can be set, and press
The extremely difficult decoding of the password of contracting file, increases the safety of data;Convenient for the transmission of internetwork data.
Step 3: predetermined server backup storage is transferred data to according to priority.
Wherein, priority is a kind of agreement, and priority is high first to be done, and is done after priority is low, and priority is computer point
When operating system when handling multiple operation procedures, determine that each operation procedure receives the priority class parameter of system resource, such as
Shown in Fig. 3, in this embodiment, priority refer to data when being sent to predetermined server, by data importance from
High sequence on earth transfers data to predetermined server backup storage.
It is noted that predetermined server backup storage is transferred data to according to priority, when server appearance is different
When often the situation is critical, the significant data of user can be protected as far as possible, reduces the loss of user.
Wherein, in the specific embodiment of the invention, above-mentioned steps three transfer data to predetermined server according to priority
Before the step of backup storage, the step further include:
Step 1: the renewal frequency of each data in data is obtained, the renewal frequency of each data is ranked up, the update
Frequency is the number that each data are updated in the preset period.
Wherein, the height of renewal frequency determine user using frequent number, the higher data of renewal frequency are user
Using more frequently, that is, the higher data of user's attention rate.The renewal frequency of each data can be by each data default
Period and the relationship of number that updates of preset time period calculate, such as X replaces preset period, when Y replaces default
Between the number that updates of each data of section, Z replaces the renewal frequency of each data, at this point it is possible to pass throughThis formula is each to calculate
The renewal frequency of data, it is, of course, also possible to which the safety index for incorporating user oneself setting calculates together, W replaces each data user
The safety index of setting, at this point, according to formulaTo calculate.
For example, getting update times of the data 1 in three days is 5 times, and update times of the data 2 in three days are
4 times, data 3 in three days with new number be 8 times, according toThe renewal frequency that data 1 are calculated is 1.66, data 3
Renewal frequency be 1.33, the renewal frequency 2.66 of data 3.
It is understood that the priority of each data can also be generated according to other way.
Step 2 generates data backup according to the renewal frequency after the sequence and stores priority.
Wherein, the renewal frequency of each data can be calculated according to above-mentioned formula, it then will be each according to calculated result
The renewal frequency of data carries out sequence from high in the end, and then generates priority.
It is noted that predetermined server backup storage is transferred data to according to priority, when server appearance is different
When often the situation is critical, the significant data of user can be protected as far as possible, reduces the loss of user.
Wherein, in this embodiment, above-mentioned steps three transfer data to predetermined server backup according to priority
The step of storage, comprising:
Step 1: the corresponding data transmission of current priority to predetermined server is backed up and is stored;
Step 2: detect the corresponding data of the current priority whether end of transmission;
Step 3: when the corresponding data end of transmission of the current priority, then next preferential to predetermined server transmission
The corresponding data of grade, wherein the rank for being superior to next priority of the current priority.
Wherein, server is to the data of predetermined server transmission highest priority, the later data of detection current transmission
No transmission is completed, after the corresponding data transmission of current priority is completed, then extremely by the corresponding data transmission of the second priority
Predetermined server, it is to be understood that the mode of the transmission of the corresponding data of priority later is identical with this.
Wherein, in this embodiment, above-mentioned steps 40 carry out the data of data and predetermined server backup storage
The step of matching one by one, obtaining matching result, comprising:
The unique identification information of the unique identification information of data and the data of predetermined server backup storage are carried out
It matches one by one, obtains matching result.
Wherein, the unique identification can be the signing messages of each data or can uniquely determine the letter of each data
Breath.At this point, obtaining the unique identification of each data in server, and it is sent to according to the unique identification of data and each data
Predetermined server.
For example, a lot of classes of data point in server, such as video data, image data, audio data, text are obtained
File data etc., it is to be understood that it can also be subdivided in video data, image data, audio data, document data, but
Have to determine the unique identification of each data, for example, as shown in figure 3, the corresponding unique identification of data 1 is 1, data of signature
2 corresponding unique identifications are signature 2, the corresponding unique identification of data 3 is signature 3, by these data transmissions to default clothes
When business device backup storage, each data and the corresponding relationship of its unique identification will not change.
It is noted that when server needs data to restore reduction, it only need to be by the unique identification of server data
The unique information that the data of storage are backed up in information and predetermined server is matched one by one, energy awareness server missing
Data, the method is time saving and energy saving, high-efficient.
Wherein, in this embodiment, above-mentioned steps back up the unique identification information of data and predetermined server
The step of unique identification information of the data of storage is matched one by one, obtains matching result further include:
When the unique identification information of data matches with the unique identification information of the data of predetermined server backup storage
When unsuccessful, the corresponding data of unsuccessful unique identification information are matched according to the predetermined server and determine the data for clothes
The data lacked when business device abnormal work.
For example, backup stores data 1 and corresponding unique identification signature 1, data 2 and corresponds in predetermined server
Unique identification signature 2, data 3 and corresponding unique identification signature 3, server when breaking down or abnormal work, number
It is destroyed loss according to 1, when server restores to work normally, server data is data 2 and corresponding unique identification 2 Hes of signature
Data 3 and corresponding unique identification signature 3 will restore the server worked normally when server will restore restoring data
The data that storage is backed up in data and predetermined server are matched one by one, because server is breaking down or abnormal work
When, data 1 are destroyed loss, therefore work as predetermined server for the corresponding unique identification of data 1 signature 1 and each data of server
Signature is when being matched, and can match unsuccessful, can determine corresponding number according to unsuccessful unique identification signature 1 is matched at this time
The data lacked for server in failure or abnormal work according to 1.
Wherein, in a specific embodiment of the present invention, above-mentioned steps are by the unique identification information of data and preset service
The step of unique identification information of the data of device backup storage is matched one by one, obtains matching result further include:
When the unique identification information of the unique identification information of data and the data of predetermined server backup storage are whole
One by one when successful match, determine server exception work hours according to there is no variations.
Wherein, when server is when breaking down or abnormal work, server data may be destroyed loss, can also
There is no variation, servers not to influence for energy server data, the number through server data and predetermined server backup storage
It after matching one by one, determines that server does not have missing data, does not then need to carry out server data recovery reduction.
For example, backup stores data 1 and corresponding unique identification signature 1, data 2 and corresponds in predetermined server
Unique identification signature 2, data 3 and corresponding unique identification signature 3, server when breaking down or abnormal work, clothes
Business device data are not destroyed loss, and when server restores to work normally, server data is data 1 and corresponding unique mark
Signature 1, data 2 and corresponding unique identification signature 2, data 3 and corresponding unique identification signature 3 are known, when server restores just
Often work is matched the data that storage is backed up in the data and predetermined server of restoring the server worked normally one by one,
Because server, when breaking down or abnormal work, data are not destroyed loss, therefore work as predetermined server for data 1
Corresponding unique identification signature 1, the corresponding unique identification of data 2 signature 2, the corresponding unique identification of data 3 signature 3, with service
When the signature of each data of device is matched, whole successful match can determine that server is breaking down or abnormal work at this time
When making, server data is not destroyed loss, does not have to carry out data recovery reduction.
Wherein, in a specific embodiment of the present invention, unique identification information and preset service of the above-mentioned steps when data
It is unsuccessful only according to the predetermined server matching when unique identification information's matching of the data of device backup storage is unsuccessful
After the corresponding data of one property identification information determine the step of data are the data lacked when server exception work, the side
Method further include:
Step 1: the instruction that data restore reduction is issued to predetermined server.
Wherein, when the data for being realised that server is lacked, in order to avoid missing data leads to the normal work of server
Or the needs of user, it is instructed at this point, should be issued to predetermined server, the data that instruction predetermined server lacks server
It is sent to server.
Step 2: predetermined server will match the corresponding data transmission of unsuccessful unique identification information to server.
Wherein, the uniqueness of the uniqueness identification information and server data of the data through storing predetermined server backup
Identification information carries out after matching one by one, is realised that the data of server missing, has received the instruction of server, server is lacked
The data of mistake are sent to server.
As shown in figure 4, further appreciated that in order to more preferable to the method for above-mentioned server data protection, by server with
Interaction flow information between predetermined server further illustrates.
Wherein, periodically obtain server work state information can within first time awareness server work
State, server in normal work, establish the connection between server and predetermined server, and server transmits local data
It backs up and stores to predetermined server, it is ensured that for server when breaking down or abnormal work, data are destroyed loss, can give for change
The data of missing avoid impacting user.When server is in abnormal working condition, stopping transmits local data
It backs up and stores to predetermined server, the data for avoiding server from working normally are modified.When server restores normal work shape
When state, to judge whether server server data in abnormal work lacks, it at this time should be by server data and default clothes
Whether the data of business device backup storage are matched one by one, lack come server data when determining server exception work.According to
Matching result does not have missing data when determining server exception work, then does not have to carry out recovery restoring data, be tied according to matching
Fruit, which data determine server missing is, is instructed at this point, server is issued to predetermined server, and instruction lacks server
The data transmission of mistake is to server, after predetermined server receives instruction, by the data transmission of server missing to server.
It can be seen that in a specific embodiment of the present invention, periodically acquiring the work state information of server first;Its
In when the working condition of server be work normally when, transfer data to predetermined server backup storage;When the work of server
Make state be abnormal work when, stopping transfer data to predetermined server backup storage;When the working condition of server is different
When often restoring to work normally after work, the data of data and predetermined server backup storage are matched one by one, are matched
As a result;When server missing data, and determine the data of server missing;Last predetermined server is by the data transmission of missing
To server.When so as to restore restoring data by the method, does not need user and download full backup data to cover clothes
The data being engaged on device, it is time saving and energy saving, meet the needs of active user.
As shown in figure 5, the present invention also provides a kind of equipment of server data protection, including including memory 51, processing
Device 53 and it is stored in the computer program 52 that can be run on memory 51 and on processor 53, which executes calculating
The step of above-mentioned server data protection method is realized when machine program 52.
Specifically, in a specific embodiment of the present invention, processor 53 performs the steps of when executing computer program 52
Periodically acquire the work state information of server;When the working condition of server is to work normally, transfer data to pre-
If server backup stores;When the working condition of server is abnormal work, it is standby that stopping transfers data to predetermined server
Part storage;When restoring to work normally after the working condition of server is abnormal work, data and predetermined server backup are deposited
The data of storage are matched one by one, obtain matching result;When server missing data, and determine the data of server missing;
Predetermined server is by the data transmission of missing to server.
Optionally, it is performed the steps of when processor 53 executes computer program 52 and establishes server and predetermined server
Between connection;The unique identification of each data in data is obtained, and data compression is packaged;According to priority by data transmission
It backs up and stores to predetermined server.
Optionally, the update for obtaining each data in data is performed the steps of when processor 53 executes computer program 52
The renewal frequency of each data is ranked up by frequency, and the renewal frequency is the number that each data are updated in the preset period;
Data backup, which is generated, according to the renewal frequency after the sequence stores priority.
Optionally, current priority corresponding data are performed the steps of when processor 53 executes computer program 52 to pass
It send to predetermined server to back up and store;Detect the corresponding data of the current priority whether end of transmission;When described current excellent
The corresponding data end of transmission of first grade then transmits the corresponding data of next priority to predetermined server, wherein described current excellent
The rank for being superior to next priority of first grade.
Optionally, it performs the steps of when processor 53 executes computer program 52 by the unique identification information of data
It is matched one by one with the unique identification information of the data of predetermined server backup storage, obtains matching result.
Optionally, the unique identification information when data is performed the steps of when processor 53 executes computer program 52
When matching unsuccessful with the unique identification information of the data of predetermined server backup storage, matched according to the predetermined server
The corresponding data of unsuccessful unique identification information determine that the data are the data lacked when server exception work.
Optionally, the unique identification information when data is performed the steps of when processor 53 executes computer program 52
With predetermined server backup storage data unique identification information all one by one successful match when, determine server exception work
There is no variations for data when making.
Optionally, it is performed the steps of when processor 53 executes computer program 52 extensive to predetermined server sending data
Recover former instruction;Predetermined server will match the corresponding data transmission of unsuccessful unique identification information to server.
That is, the processor 53 of the equipment 5 of server data protection executes computer program in the specific embodiment of the invention
The step of method of above-mentioned server data protection is realized when 52.Restored also by the equipment of server data protection in server
When former data, do not need user and download full backup data to cover the data on server, it is time saving and energy saving, meet active user
Demand.
It should be noted that due to being realized when the processor 53 of the equipment 5 of server data protection executes computer 52
The step of stating the method for server data protection, therefore all embodiments of the method for above-mentioned server data protection are suitable for
The monitoring device 5, and can reach the same or similar beneficial effect.
In addition, specific embodiments of the present invention additionally provide a kind of computer readable storage medium, computer-readable storage
Media storage has computer program, which realizes above-mentioned server data protection method when being executed by processor
The step of.
Specifically, performing the steps of the work shape for periodically acquiring server when computer program is executed by processor
State information;When the working condition of server is to work normally, predetermined server backup storage is transferred data to;Work as server
Working condition be abnormal work when, stopping transfer data to predetermined server backup storage;When the working condition of server
When to restore to work normally after abnormal work, the data of data and predetermined server backup storage being matched one by one, are obtained
Matching result;When server missing data, and determine the data of server missing;Predetermined server is by the data transmission of missing
To server.
Optionally, performed the steps of when computer program is executed by processor establish server and predetermined server it
Between connection;The unique identification of each data in data is obtained, and data compression is packaged;It is transferred data to according to priority
Predetermined server backup storage.
Optionally, the update frequency for obtaining each data in data is performed the steps of when computer program is executed by processor
The renewal frequency of each data is ranked up by rate, and the renewal frequency is the number that each data are updated in the preset period;Root
Data backup, which is generated, according to the renewal frequency after the sequence stores priority.
Optionally, current priority corresponding data transmission is performed the steps of when computer program is executed by processor
It backs up and stores to predetermined server;Detect the corresponding data of the current priority whether end of transmission;When the current preference
The corresponding data end of transmission of grade then transmits the corresponding data of next priority to predetermined server, wherein the current preference
The rank for being superior to next priority of grade.
Optionally, performed the steps of when computer program is executed by processor by the unique identification information of data with
The unique identification information of the data of predetermined server backup storage is matched one by one, obtains matching result.
Optionally, performed the steps of when computer program is executed by processor unique identification information when data with
When unique identification information's matching of the data of predetermined server backup storage is unsuccessful, not according to predetermined server matching
The successful corresponding data of unique identification information determine that the data are the data lacked when server exception work.
Optionally, performed the steps of when computer program is executed by processor unique identification information when data with
Predetermined server backup storage data unique identification information all one by one successful match when, determine server exception work
When data there is no variation.
Optionally, it is performed the steps of when computer program is executed by processor to predetermined server and issues data recovery
The instruction of reduction;Predetermined server will match the corresponding data transmission of unsuccessful unique identification information to server.
That is, realizing above-mentioned server data in a specific embodiment of the present invention, when computer program is executed by processor
The step of method of protection, does not need user and downloads full backup data to cover service when server restores restoring data
Data on device, it is time saving and energy saving, meet the needs of active user.
It should be noted that the method due to realizing above-mentioned server data protection when computer program is executed by processor
The step of, therefore all embodiments of the method for above-mentioned server data protection are suitable for the computer readable storage medium,
And it can reach the same or similar beneficial effect.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side
Method can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but in many cases
The former is more preferably embodiment.Based on this understanding, technical solution of the present invention substantially in other words does the prior art
The part contributed out can be embodied in the form of software products, which is stored in a storage medium
In (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that a terminal (can be intelligent sound box, computer, clothes
Business device, air conditioner or the network equipment etc.) execute method described in each embodiment of the present invention.
In the description of this specification, reference term " one embodiment ", " some embodiments ", " example ", " specifically show
The description of example " or " some examples " etc. means specific features, structure, material or spy described in conjunction with this embodiment or example
Point is included at least one embodiment or example of the invention.In the present specification, schematic expression of the above terms are not
Centainly refer to identical embodiment or example.Moreover, particular features, structures, materials, or characteristics described can be any
One or more embodiment or examples in can be combined in any suitable manner.
The above description is only a preferred embodiment of the present invention, is not intended to limit the scope of the invention, all at this
Under the design of invention, using equivalent structure transformation made by description of the invention and accompanying drawing content, or directly/it is used in it indirectly
He is included in scope of patent protection of the invention relevant technical field.
Claims (10)
1. a kind of method of server data protection characterized by comprising
Periodically acquire the work state information of server;
When the working condition of server is to work normally, predetermined server backup storage is transferred data to;
When the working condition of server is abnormal work, stopping transfers data to predetermined server backup storage;
When restoring to work normally after the working condition of server is abnormal work, data and predetermined server backup are stored
Data are matched one by one, obtain matching result;
When server missing data, and determine the data of server missing;
Predetermined server is by the data transmission of missing to server.
2. the method according to claim 1, wherein described transfer data to what predetermined server backup stored
Step, comprising:
Establish the connection between server and predetermined server;
The unique identification of each data in data is obtained, and data compression is packaged;
Predetermined server backup storage is transferred data to according to priority.
3. according to the method described in claim 2, it is characterized in that, described transfer data to predetermined server according to priority
Before the step of backup storage, the step further include:
The renewal frequency for obtaining each data in data, the renewal frequency of each data is ranked up, and the renewal frequency is each number
According to the number updated in the preset period;
Data backup, which is generated, according to the renewal frequency after the sequence stores priority.
4. according to the method described in claim 2, it is characterized in that, described transfer data to predetermined server according to priority
The step of backup storage, comprising:
The corresponding data transmission of current priority to predetermined server is backed up and is stored;
Detect the corresponding data of the current priority whether end of transmission;
When the corresponding data end of transmission of the current priority, then the corresponding number of next priority is transmitted to predetermined server
According to, wherein the rank for being superior to next priority of the current priority.
5. the method according to claim 1, wherein the data by data and predetermined server backup storage
The step of being matched one by one, obtaining matching result, comprising:
The unique identification information of the unique identification information of data and the data of predetermined server backup storage are carried out one by one
Matching obtains matching result.
6. according to the method described in claim 5, it is characterized in that, described by the unique identification information of data and preset service
The step of unique identification information of the data of device backup storage is matched one by one, obtains matching result further include:
When the unique identification information of data can not match with the unique identification information of the data of predetermined server backup storage
When function, the corresponding data of unsuccessful unique identification information are matched according to the predetermined server and determine that the data are server
The data lacked when abnormal work.
7. according to the method described in claim 5, it is characterized in that, described by the unique identification information of data and preset service
The step of unique identification information of the data of device backup storage is matched one by one, obtains matching result further include:
When the unique identification information of the unique identification information of data and the data of predetermined server backup storage are whole one by one
When successful match, determine server exception work hours according to there is no variations.
8. according to the method described in claim 6, it is characterized in that, the unique identification information and preset service when data
It is unsuccessful only according to the predetermined server matching when unique identification information's matching of the data of device backup storage is unsuccessful
After the corresponding data of one property identification information determine the step of data are the data lacked when server exception work, the side
Method further include:
The instruction that data restore reduction is issued to predetermined server;
Predetermined server will match the corresponding data transmission of unsuccessful unique identification information to server.
9. a kind of equipment of server data protection, including memory, processor and storage are in the memory and can be
The computer program run on the processor, which is characterized in that the processor is realized such as when executing the computer program
The step of method of the described in any item server data protections of claim 1 to 8.
10. a kind of computer readable storage medium, the computer-readable recording medium storage has computer program, and feature exists
In the computer program realizes server data protection as claimed in any one of claims 1 to 8 when being executed by processor
The step of method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811027160.XA CN109408283A (en) | 2018-09-04 | 2018-09-04 | A kind of method of server data protection, equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811027160.XA CN109408283A (en) | 2018-09-04 | 2018-09-04 | A kind of method of server data protection, equipment and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109408283A true CN109408283A (en) | 2019-03-01 |
Family
ID=65463952
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811027160.XA Pending CN109408283A (en) | 2018-09-04 | 2018-09-04 | A kind of method of server data protection, equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109408283A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111723024A (en) * | 2019-03-18 | 2020-09-29 | 阿里巴巴集团控股有限公司 | Data processing method, device and system, client server and storage server |
Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101324858A (en) * | 2008-07-10 | 2008-12-17 | 宇龙计算机通信科技(深圳)有限公司 | Method, system and terminal for recovering data |
CN102546654A (en) * | 2012-02-07 | 2012-07-04 | 苏州工业园区飞酷电子科技有限公司 | Security management system for server |
CN103064763A (en) * | 2012-12-27 | 2013-04-24 | 华为技术有限公司 | Data backup method and related device and system |
US20150302025A1 (en) * | 2014-04-10 | 2015-10-22 | Druva Inc. | Pre-Population of Data for Replication of Data Backups |
CN105245701A (en) * | 2015-09-25 | 2016-01-13 | 上海斐讯数据通信技术有限公司 | Data protection system and data protection method for mobile terminal |
CN105373448A (en) * | 2015-10-27 | 2016-03-02 | 北京百度网讯科技有限公司 | Method and system for recovering failure data in database |
CN105446828A (en) * | 2014-09-30 | 2016-03-30 | 北京金山云网络技术有限公司 | Database backup and recovery method, apparatus and system |
US20160154592A1 (en) * | 2013-11-12 | 2016-06-02 | International Business Machines Corporation | Copying volumes between storage pools |
CN106502834A (en) * | 2016-10-25 | 2017-03-15 | 广东欧珀移动通信有限公司 | The backup method of data, apparatus and system |
US20170161161A1 (en) * | 2010-11-29 | 2017-06-08 | Ca, Inc. | Periodic data replication |
CN107688507A (en) * | 2016-08-03 | 2018-02-13 | 南京中兴新软件有限责任公司 | Data back up method and device |
-
2018
- 2018-09-04 CN CN201811027160.XA patent/CN109408283A/en active Pending
Patent Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101324858A (en) * | 2008-07-10 | 2008-12-17 | 宇龙计算机通信科技(深圳)有限公司 | Method, system and terminal for recovering data |
US20170161161A1 (en) * | 2010-11-29 | 2017-06-08 | Ca, Inc. | Periodic data replication |
CN102546654A (en) * | 2012-02-07 | 2012-07-04 | 苏州工业园区飞酷电子科技有限公司 | Security management system for server |
CN103064763A (en) * | 2012-12-27 | 2013-04-24 | 华为技术有限公司 | Data backup method and related device and system |
US20160154592A1 (en) * | 2013-11-12 | 2016-06-02 | International Business Machines Corporation | Copying volumes between storage pools |
US20150302025A1 (en) * | 2014-04-10 | 2015-10-22 | Druva Inc. | Pre-Population of Data for Replication of Data Backups |
CN105446828A (en) * | 2014-09-30 | 2016-03-30 | 北京金山云网络技术有限公司 | Database backup and recovery method, apparatus and system |
CN105245701A (en) * | 2015-09-25 | 2016-01-13 | 上海斐讯数据通信技术有限公司 | Data protection system and data protection method for mobile terminal |
CN105373448A (en) * | 2015-10-27 | 2016-03-02 | 北京百度网讯科技有限公司 | Method and system for recovering failure data in database |
CN107688507A (en) * | 2016-08-03 | 2018-02-13 | 南京中兴新软件有限责任公司 | Data back up method and device |
CN106502834A (en) * | 2016-10-25 | 2017-03-15 | 广东欧珀移动通信有限公司 | The backup method of data, apparatus and system |
Non-Patent Citations (1)
Title |
---|
许振霞 著: "《计算机网络安全技术》", 31 May 2015, 天津:天津科学技术出版社 * |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111723024A (en) * | 2019-03-18 | 2020-09-29 | 阿里巴巴集团控股有限公司 | Data processing method, device and system, client server and storage server |
CN111723024B (en) * | 2019-03-18 | 2024-05-07 | 阿里云计算有限公司 | Data processing method, device and system, client server and storage server |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101187867B (en) | Operating system monitoring setting information generating apparatus and operating system monitoring apparatus | |
CN101136049B (en) | Information processing system, information processing method, information processing program, computer readable medium and computer data signal | |
US11169890B2 (en) | System, method and program product for backing up data | |
US8806617B1 (en) | System and method for maintaining server data integrity | |
CN102810138A (en) | Method and system for restoring files of clients | |
CN111008034B (en) | Patch generation method and device | |
JP6806349B2 (en) | Virtual network card management method based on KVM | |
CN111262822B (en) | File storage method, device, block link point and system | |
CN114116313A (en) | Backup data processing method and device | |
EP2795471B1 (en) | Memory content protection | |
CN106681865B (en) | Service recovery method and device | |
CN105550071B (en) | System file upgrades and detection method, communication equipment | |
CN107193687A (en) | Database backup method and controlling equipment | |
CN109408283A (en) | A kind of method of server data protection, equipment and storage medium | |
CN108959657B (en) | Data change processing method and device | |
JP4256107B2 (en) | Method and program for dealing with unauthorized intrusion to data server | |
CN101174294A (en) | Software protection method based on version incremental backup | |
US20230336339A1 (en) | Automatic key cleanup to better utilize key table space | |
CN105303116A (en) | ERP (enterprise resource planning) product security protection apparatus and method | |
CN109933351A (en) | A kind of method and apparatus of reparation and upgrading linux system | |
CN106789247A (en) | A kind of warning information mapping method and device | |
WO2020138505A1 (en) | File transfer system | |
CN112286733A (en) | Method, device and equipment for determining backup data recovery time and storage medium | |
CN114237988B (en) | Memory snapshot processing method and device, storage medium and electronic device | |
CN118519834B (en) | File system repairing method and device, storage medium and electronic device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WD01 | Invention patent application deemed withdrawn after publication | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20190301 |