CN104468548A - Data verification method, disaster recovery storage and production storage - Google Patents

Data verification method, disaster recovery storage and production storage Download PDF

Info

Publication number
CN104468548A
CN104468548A CN201410709905.6A CN201410709905A CN104468548A CN 104468548 A CN104468548 A CN 104468548A CN 201410709905 A CN201410709905 A CN 201410709905A CN 104468548 A CN104468548 A CN 104468548A
Authority
CN
China
Prior art keywords
data
memory
calamity
production inventory
inventory device
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.)
Granted
Application number
CN201410709905.6A
Other languages
Chinese (zh)
Other versions
CN104468548B (en
Inventor
胡君
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201410709905.6A priority Critical patent/CN104468548B/en
Publication of CN104468548A publication Critical patent/CN104468548A/en
Application granted granted Critical
Publication of CN104468548B publication Critical patent/CN104468548B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/12Applying verification of the received information

Abstract

The embodiment of the invention discloses a data verification method, a disaster recovery storage and a production storage. The method includes the steps that the disaster recovery storage receives a first random number sent by the production storage; the disaster recovery storage generates a first hash verification code for the first random number, and the first hash verification code corresponds to first data in the production storage; the disaster recovery storage receives second data sent by the production storage, and the second data includes a first authorization verification code; when the disaster recovery storage determines that the first authorization verification code carried by the second data is the same as the first hash verification code, it is determined that the first data have already been backed up, and the second data include the first data. By means of the data verification method, the disaster recovery storage and the production storage, the service continuity is guaranteed, no manual operation is needed, the operating cost and the misoperation rate are reduced, and operation and maintain are simple.

Description

A kind of method of data verification, calamity are for memory and production inventory device
Technical field
The present invention relates to communication technical field, the method for particularly a kind of data verification, calamity are for memory and production inventory device.
Background technology
Disaster tolerance system, for IT, one that provides for the computer information system exactly environment dealing with various disaster, when computer system is when suffering the human-made disasters such as natural disaster as irresistible in fire, floods, earthquake, war etc. and computer crime, computer virus, power down, network/communication failure, hardware/software mistake and manual operation mistake, disaster tolerance system will ensure the fail safe (data disaster tolerance) of user data, even, a more perfect disaster tolerance system, can also provide continual application service (application disaster tolerance).
In order to avoid causing loss of data because of factors such as disasters, the construction of disaster tolerance system is particularly important, in the construction of disaster tolerance system, it is crucial that by the transfer of data in the production inventory device of the existing production center to the calamity of long-range Disaster Preparation Center for memory.
Adopt in current most of Disaster Tolerant Scheme and store asynchronous replication mode, be replicated asynchronously to Disaster Preparation Center by production center data, during the renewal real time data synchronization of the production center stores to Disaster Preparation Center, ensure the consistency of data.
For whether checking calamity preserves available data for memory, need to carry out data verification in calamity for memory, in prior art, based on store be replicated in calamity carry out data verification for memory time, Disaster Preparation Center is needed to configure main frame and database, data verification is carried out by operation maintenance personnel executable operations, during calamity is for data verification, need to break data Replica relation, then calamity is for main frame carry checking volume, log-on data storehouse, the consistency of verification msg, after data verification, operation maintenance personnel is also needed to delete dirty data, unloading verification msg volume, recover replication relation.
In prior art, need when calamity carries out data verification for memory to interrupt data Replica, this meeting traffic affecting continuity, and the step that calamity carries out data verification for memory is many, operation maintenance is complicated, needs the main frame of specialty and database operation maintenance personnel to support, easily occurs misoperation.
Summary of the invention
Embodiments provide a kind of method of data verification, calamity for memory and production inventory device, ensure that the continuity of business, do not need manual operation, reduce operation cost and misoperation probability, operation maintenance is simple.
Embodiment of the present invention first aspect provides a kind of method of data verification, comprising:
Calamity receives for memory the first random number that production inventory device sends, and described calamity is for memory and described production inventory device in same data verification group, and described first random number is described production inventory device the first data genaration of backing up as required;
Described calamity for memory to described first generating random number first Hash identifying code, described first data in the corresponding described production inventory device of described first Hash identifying code;
Described calamity receives the second data of described production inventory device transmission for memory, and described second data comprise the first authority checking code and described first data;
Described calamity, is determined to back up described first data when the first authority checking code determining to carry in described second data is identical with described first Hash identifying code for memory.
In conjunction with the first aspect of the embodiment of the present invention, in the first implementation of the first aspect of the embodiment of the present invention, described method also comprises: described calamity, is determined not back up described first data when the first authority checking code determining to carry in described second data is not identical with described first Hash identifying code for memory.
In conjunction with the first aspect of the embodiment of the present invention, in the second implementation of the first aspect of the embodiment of the present invention, described method also comprises: described calamity for memory when the first authority checking code determining to carry in described second data is not identical with described first Hash identifying code, receive the 3rd data that described production inventory device sends, described 3rd data comprise the second authority checking code;
Described calamity, is determined not back up described first data when the second authority checking code determining to carry in described 3rd data is not identical with described first Hash identifying code for memory.
In conjunction with in the first implementation of the first aspect of the embodiment of the present invention or in the second implementation of first aspect, in the third implementation of the first aspect of the embodiment of the present invention, described method also comprises:
Described calamity for memory after completing data verification, the variance data between the data determining to need in described production inventory device the data that back up and described calamity to receive for memory;
Described calamity returns the information of described variance data to described production inventory device for memory;
Described calamity receives the variance data of described production inventory device transmission for memory, and described variance data comprises authority checking code;
For memory, described calamity judges that whether the authority checking code carried in the variance data received is identical with the Hash identifying code that this locality stores, determine whether described calamity receives described variance data for memory according to judged result.
In the third implementation in conjunction with the first aspect of the embodiment of the present invention, in the 4th kind of implementation of the first aspect of the embodiment of the present invention, when described calamity not there are differences data for memory between the data that the data determining to need described in described production inventory device to back up and described calamity receive for memory, to described production inventory device return data consistency mark.
In conjunction with the first aspect of the embodiment of the present invention in the 4th kind of implementation of first aspect, in the 5th kind of implementation of the first aspect of the embodiment of the present invention, described method also comprises:
The storage space that described calamity divides setting size for memory is headspace, and the judged result of each Hash identifying code and authority checking code is stored in described headspace.
The second aspect of the embodiment of the present invention provides a kind of method of data verification, comprising:
The first data genaration first random number that production inventory device backs up as required;
Described production inventory device sends described first random number, to make described calamity for memory according to described first generating random number first Hash identifying code to calamity for memory;
Described production inventory device is according to described first generating random number first authority checking code;
Described production inventory device sends the second data to described calamity for memory, described second data comprise described first authority checking code and described first data, determine whether to back up described first data for memory to make described calamity according to described first Hash identifying code.
In conjunction with the second aspect of the embodiment of the present invention, in the first implementation of the second aspect of the embodiment of the present invention, described method also comprises:
The 4th data genaration second random number that described production inventory device backs up as required, and send to described calamity for memory, to make described calamity for memory according to the second generating random number second Hash identifying code received;
Described production inventory device is according to described second generating random number second authority checking code;
Described production inventory device sends the 3rd data to described calamity for memory, and described 3rd data comprise the second authority checking code and described 4th data, determine whether to back up described 4th data for memory to make described calamity according to described Hash identifying code.
In conjunction with the second aspect of the embodiment of the present invention or the first implementation of second aspect, in the second implementation of the second aspect of the embodiment of the present invention, described method also comprises:
Described production inventory device receives the information of the variance data that described calamity sends for memory;
Described production inventory device sends described variance data to described calamity for memory, and described variance data comprises authority checking code, determines whether self receives described variance data to make described calamity for memory.
The embodiment of the present invention third aspect provides a kind of calamity for memory, comprising:
Receiving element, for receiving the first random number that production inventory device sends, described calamity is for memory and described production inventory device in same data verification group, and described first random number is described production inventory device the first data genaration of backing up as required;
Processing unit, for described first generating random number first Hash identifying code, described first data in the corresponding described production inventory device of described first Hash identifying code;
Described receiving element is also for receiving the second data that described production inventory device sends, and described second data comprise the first authority checking code and described first data;
When the first authority checking code of described processing unit also for carrying in the second data determining described reception is identical with described first Hash identifying code, determine to back up described first data.
In conjunction with the third aspect of the embodiment of the present invention, in the first implementation of the third aspect of the embodiment of the present invention, described processing unit also for when the first authority checking code determining to carry in described second data is not identical with described first Hash identifying code, is determined not back up described first data.
In conjunction with the third aspect of the embodiment of the present invention, in the second implementation of the third aspect of the embodiment of the present invention, when described receiving element is also for determining that at described processing unit the first authority checking code of carrying in described second data is not identical with described first Hash identifying code, receive the 3rd data that described production inventory device sends, described 3rd data comprise the second authority checking code;
Described processing unit also for when the second authority checking code determining to carry in described 3rd data is not identical with described first Hash identifying code, is determined not back up described first data.
In conjunction with the first implementation of the third aspect of the embodiment of the present invention or the second implementation of the third aspect, in the third implementation of the third aspect of the embodiment of the present invention, described processing unit also for after completing data verification, the variance data between the data determining to need in described production inventory device the data that back up and described calamity to receive for memory;
Described calamity also comprises for memory:
Transmitting element, for returning the information of described variance data to described production inventory device;
Described receiving element is also for receiving the variance data that described production inventory device sends, and described variance data comprises authority checking code;
Whether described processing unit is also identical with the Hash identifying code that this locality stores for judging the authority checking code carried in the variance data received, and determines whether described calamity receives described variance data for memory according to judged result.
In conjunction with the third implementation of the third aspect of the embodiment of the present invention, in the 4th kind of implementation of the third aspect of the embodiment of the present invention, described transmitting element also for determine to need described in described production inventory device the data that back up and described calamity to receive for memory at described processing unit data between not there are differences data time, identify to described production inventory device return data consistency.
In conjunction with the third aspect of the embodiment of the present invention to the 4th kind of implementation of the third aspect, in the 5th kind of implementation of the third aspect of the embodiment of the present invention, described processing unit also for divide setting size storage space be headspace, the judged result of each Hash identifying code and authority checking code is stored in described headspace.
Embodiment of the present invention fourth aspect provides a kind of production inventory device, comprising:
Processing unit, for the first data genaration first random number backed up as required;
Transmitting element, for sending described first random number, to make described calamity for memory according to described first generating random number first Hash identifying code to calamity for memory;
Described processing unit is also for according to described first generating random number first authority checking code;
Described transmitting element is also for sending the second data to described calamity for memory, described second data comprise described first authority checking code and described first data, determine whether to back up described first data for memory to make described calamity according to described first Hash identifying code.
In conjunction with the fourth aspect of the embodiment of the present invention, in the first implementation of the fourth aspect of the embodiment of the present invention, described processing unit is also for needing the 4th data genaration second random number backed up;
Described transmitting element also for described second random number is sent to described calamity for memory, with make described calamity for memory according to receive the second generating random number second Hash identifying code;
Described processing unit is also for according to described second generating random number second authority checking code;
Described transmitting element is also for sending the 3rd data to described calamity for memory, described 3rd data comprise the second authority checking code and described 4th data, determine whether to back up described 4th data for memory to make described calamity according to described Hash identifying code.
In conjunction with the fourth aspect of the embodiment of the present invention or the first implementation of fourth aspect, in the second implementation of the fourth aspect of the embodiment of the present invention, described production inventory device also comprises:
Receiving element, for receiving the information of the variance data that described calamity sends for memory;
Described transmitting element is also for sending described variance data to described calamity for memory, and described variance data comprises authority checking code, determines whether self receives described variance data to make described calamity for memory.
As can be seen from the above technical solutions, the embodiment of the present invention has the following advantages:
The embodiment of the present invention passes through the random number of the data genaration backed up as required for memory at production inventory device and calamity, generate corresponding Hash identifying code and authority checking code respectively, according to determining that whether Hash identifying code is identical with authority checking code, calamity for memory can be real-time to production inventory device transmission data carry out data verification, do not need to break production inventory device and the calamity replication relation for memory, ensure that the continuity of business, simultaneously because calamity is for the instant checking of memory to the data that current production inventory device transmits, do not need at Disaster Preparation Center's additional configuration main frame and database, therefore manual operation is not needed, reduce operation cost and misoperation probability, operation maintenance is simple.
Term " first ", " second " etc. (if existence) in specification of the present invention and claims and above-mentioned accompanying drawing are for distinguishing similar object, and need not be used for describing specific order or precedence.The embodiments described herein should be appreciated that the data used like this can be exchanged in the appropriate case, so that can be implemented with the order except the content except here diagram or description.In addition, term " comprises " and " having " and their any distortion, intention is to cover not exclusive comprising, such as, contain those steps or unit that the process of series of steps or unit, method, system, product or equipment is not necessarily limited to clearly list, but can comprise clearly do not list or for intrinsic other step of these processes, method, product or equipment or unit.
Disaster tolerance system, for IT, one that provides for the computer information system exactly environment dealing with various disaster, when computer system is when suffering the human-made disasters such as natural disaster as irresistible in fire, floods, earthquake, war etc. and computer crime, computer virus, power down, network/communication failure, hardware/software mistake and manual operation mistake, disaster tolerance system will ensure the fail safe (data disaster tolerance) of user data, even, a more perfect disaster tolerance system, can also provide continual application service (application disaster tolerance).
In order to avoid causing loss of data because of factors such as disasters, the construction of disaster tolerance system is particularly important, as shown in Figure 1, in the construction of disaster tolerance system, it is crucial that by the transfer of data in the production inventory device 101 of the existing production center to the calamity of long-range Disaster Preparation Center for memory 102, in storing to Disaster Preparation Center by the renewal real time data synchronization of the production center, ensure the consistency of data.
Refer to Fig. 2, an embodiment of the method for data verification in the embodiment of the present invention comprises:
201, calamity receives the first random number of production inventory device transmission for memory;
In the present embodiment, calamity is divided in same data verification group for memory and production inventory device, calamity sets up storage replication relation between memory and production inventory device, needs are had to carry out the data backed up for memory to calamity in production inventory device, described first random number is the first data genaration of backing up as required of described production inventory device, it can be generate according to the random function of setting that production inventory device generates random number according to established data, is not construed as limiting herein.
202, calamity for memory to described first generating random number first Hash identifying code;
Calamity for memory to the first generating random number first Hash identifying code, first data described in the corresponding described production inventory device of first Hash identifying code, now production inventory device is also according to the corresponding authority checking code of described first generating random number, the first Hash identifying code that calamity generates for memory is identical with the hash algorithm that the authority checking code that production inventory device generates adopts, as SHA-1 hash algorithm, this ensure that according to the Hash identifying code of same generating random number and authority checking code be identical.
203, calamity receives the second data of production inventory device transmission for memory;
Production inventory device sends the second data to calamity for memory, described second data comprise the first data of the first authority checking code and needs backup, and this first authority checking code is the generating random number of the data genaration backed up according to the needs of current transmission;
204, calamity is for memory when the first authority checking code determining to carry in described second data is identical with described first Hash identifying code, and determine to back up described first data, described second data comprise described first data;
For whether checking calamity preserves available data for memory, the data to calamity receives for memory are needed to verify, calamity for memory to generate the first Hash identifying code, judge whether the authority checking code carried in the second data received is deposited identical with the first Hash identifying code, can determine whether backed up the first data in production inventory device according to judged result, when in the second data determining described reception, the first authority checking code is identical with described first Hash identifying code, determine to back up described first data, described second data comprise described first data.
In the present embodiment, by the random number of data genaration backed up as required for memory at production inventory device and calamity, generate corresponding Hash identifying code and authority checking code respectively, according to determining that whether Hash identifying code is identical with authority checking code, calamity for memory can be real-time to production inventory device transmission data carry out data verification, do not need to break production inventory device and the calamity replication relation for memory, ensure that the continuity of business, simultaneously because calamity is for the instant checking of memory to the data that current production inventory device transmits, do not need at Disaster Preparation Center's additional configuration main frame and database, therefore manual operation is not needed, reduce operation cost and misoperation probability, operation maintenance is simple.
In embodiment shown in Fig. 2, calamity for memory when the first authority checking code determining to carry in described second data is not identical with described first Hash identifying code, various ways can be had to determine not back up described first data, as in the second data as described in determining the first authority checking code with as described in the first Hash identifying code not identical time, directly determine not back up described first data, also can be receive some data in continuation, judge in the data received, whether there is the authority checking code identical with described first Hash identifying code, when also not existing, determine not back up described first data, be described in detail with a specific embodiment below, refer to Fig. 3, another embodiment of the method for data verification in the embodiment of the present invention comprises:
301, calamity receives the first random number of production inventory device transmission for memory;
In the present embodiment, calamity is divided in same data verification group for memory and production inventory device, calamity sets up storage replication relation between memory and production inventory device, needs are had to carry out the data backed up for memory to calamity in production inventory device, described first random number is the first data genaration of backing up as required of described production inventory device, it can be generate according to the random function of setting that production inventory device generates random number according to established data, is not construed as limiting herein.
302, calamity for memory to described first generating random number first Hash identifying code;
Calamity for memory to the first generating random number first Hash identifying code, first data described in the corresponding described production inventory device of first Hash identifying code, now production inventory device is also according to the corresponding authority checking code of described first generating random number, the first Hash identifying code that calamity generates for memory is identical with the hash algorithm that the authority checking code that production inventory device generates adopts, as SHA-1 hash algorithm, now, Hash identifying code can be SHA-1 identifying code, correspond, authority checking code is also SHA-1 identifying code, does not do concrete restriction herein.This ensure that according to the Hash identifying code of same generating random number and authority checking code be identical.
303, calamity receives the second data of production inventory device transmission for memory;
Production inventory device sends the second data to calamity for memory, described second data comprise the first data of the first authority checking code and needs backup, and this first authority checking code is the generating random number of the data genaration backed up according to the needs of current transmission;
304, calamity judges that for memory whether the first authority checking code carried in described second data is identical with described first Hash identifying code, if so, performs step 305, if not, performs step 306;
For whether checking calamity preserves available data for memory, the data to calamity receives for memory are needed to verify, calamity for memory to generate the first Hash identifying code, judge whether the authority checking code carried in the second data received is deposited identical with the first Hash identifying code, can determine whether backed up the first data in production inventory device according to judged result.
305, calamity is determined to back up described first data for memory, and described second data comprise described first data;
When in the second data determining described reception, the first authority checking code is identical with described first Hash identifying code, determine to back up described first data, described second data comprise described first data.
306, calamity receives the 3rd data of described production inventory device transmission for memory, and described 3rd data comprise the second authority checking code;
In the present embodiment, 3rd data comprise another data of the second authority checking code and needs backup, second authority checking code is the random number of another data genaration that production inventory backs up according to these needs, generate according to hash algorithm, it should be noted that, hash algorithm is identical with the hash algorithm that the first authority checking code generates with the first Hash identifying code herein, and the generating mode of random number is identical with the generating mode of the first random number herein.
307, calamity is for memory when the second authority checking code determining to carry in described 3rd data is not identical with described first Hash identifying code, determines not back up described first data.
Calamity for memory when the second authority checking code determining to carry in described 3rd data and described first Hash identifying code are also not identical, determine not back up described first data, judge whether to there is with described first Hash identifying code identical authority checking code for memory by reception the 3rd data by calamity in the present embodiment, repeatedly judge, improve accuracy rate, it should be noted that, can also continue to receive data in the present embodiment and judge, number of times can set, and is not construed as limiting herein.
In the present embodiment, Data Identification can also be comprised in the data (as above-mentioned second data, the 3rd data) that calamity receives for memory, as service numbers (transcation ID), calamity can based on service numbers for memory, generate service log, as whether backed up according to a service number record corresponding data, be not construed as limiting herein.
In the present embodiment, in order to Appropriate application storage resources, the storage space that can divide setting size for memory in calamity is headspace (as 0.5% of memory space), the judged result of each Hash identifying code and authority checking code is stored in described headspace, is not construed as limiting herein.
In the present embodiment, by the random number of data genaration backed up as required for memory at production inventory device and calamity, generate corresponding Hash identifying code and authority checking code respectively, according to determining that whether Hash identifying code is identical with authority checking code, calamity for memory can be real-time to production inventory device transmission data carry out data verification, do not need to break production inventory device and the calamity replication relation for memory, ensure that the continuity of business, simultaneously because calamity is for the instant checking of memory to the data that current production inventory device transmits, do not need at Disaster Preparation Center's additional configuration main frame and database, therefore manual operation is not needed, reduce operation cost and misoperation probability, operation maintenance is simple,
Secondly, judge whether to there is with described first Hash identifying code identical authority checking code for memory by reception the 3rd data by calamity in the present embodiment, repeatedly judge, improve accuracy rate.
In embodiment shown in Fig. 2 or Fig. 3, calamity will need each data of backup after the transmission of production inventory device for memory, according to above-mentioned verification method, respectively after checking, the data do not backuped in the data needing in production inventory device to back up can be determined, namely the variance data between the data can determining to need in production inventory device the data that back up and described calamity to receive for memory, calamity can allow production inventory think highly of to send out described variance data for memory, introduction is made below with a specific embodiment, refer to Fig. 4, another embodiment of the method for data verification in the embodiment of the present invention comprises:
401, calamity receives the first random number of production inventory device transmission for memory;
In the present embodiment, calamity is divided in same data verification group for memory and production inventory device, calamity sets up storage replication relation between memory and production inventory device, needs are had to carry out the data backed up for memory to calamity in production inventory device, described first random number is the first data genaration of backing up as required of described production inventory device, it can be generate according to the random function of setting that production inventory device generates random number according to established data, is not construed as limiting herein.
402, calamity for memory to described first generating random number first Hash identifying code;
Calamity for memory to the first generating random number first Hash identifying code, first data described in the corresponding described production inventory device of first Hash identifying code, now production inventory device is also according to the corresponding authority checking code of described first generating random number, the first Hash identifying code that calamity generates for memory is identical with the hash algorithm that the authority checking code that production inventory device generates adopts, as SHA-1 hash algorithm, now, Hash identifying code can be SHA-1 identifying code, correspond, authority checking code is also SHA-1 identifying code, does not do concrete restriction herein.This ensure that according to the Hash identifying code of same generating random number and authority checking code be identical.
403, calamity receives the second data of production inventory device transmission for memory;
Production inventory device sends the second data to calamity for memory, described second data comprise the first data of the first authority checking code and needs backup, and this first authority checking code is the generating random number of the data genaration backed up according to the needs of current transmission;
404, calamity is for memory when the first authority checking code determining to carry in described second data is identical with described first Hash identifying code, and determine to back up described first data, described second data comprise described first data;
For whether checking calamity preserves available data for memory, the data to calamity receives for memory are needed to verify, calamity for memory to generate the first Hash identifying code, judge whether the authority checking code carried in the second data received is deposited identical with the first Hash identifying code, can determine whether backed up the first data in production inventory device according to judged result, when in the second data determining described reception, the first authority checking code is identical with described first Hash identifying code, determine to back up described first data, described second data comprise described first data.
405, calamity for memory after completing data verification, the variance data between the data determining to need in described production inventory device the data that back up and described calamity to receive for memory;
The data that back up are needed according to step 401 to the step of step 404 in production inventory device, be sent to calamity successively for memory, calamity carries out carrying out data verification according to aforesaid way for memory, can determine to need in production inventory device the data do not backuped in the data backed up, namely can determine the variance data between the data that the data that need in described production inventory device to back up and described calamity receive for memory.
406, calamity returns the information of described variance data to described production inventory device for memory;
Calamity returns the information of described variance data to production inventory device according to the variance data determined for memory, these information can be the marks of each variance data, as when production inventory device comprises corresponding service numbers to calamity for each data that memory sends, this service numbers can be returned to production inventory device, production inventory device can determine corresponding variance data according to this number information of service.
407, calamity receives the variance data of described production inventory device transmission for memory, and described variance data comprises authority checking code;
Production inventory device, according to the information of the variance data received, after determining variance data, namely can retransmit described variance data to calamity for memory, the authority checking code generated before this variance data comprises;
408, for memory, calamity judges that whether the authority checking code carried in the variance data received is identical with the Hash identifying code that this locality stores, determines whether described calamity receives described variance data for memory according to judged result.
Calamity can Hash identifying code corresponding to local each variance data of preserving for memory, judges, in the variance data received, whether to there is identical authority checking code, if so, then determine to receive this variance data, if not, then do not receive this variance data.When also there is the variance data do not received, can continue to retransmit the data do not received with reference to the step in 406 to 408, need in production inventory device the data full backup that backs up to calamity for memory.
In the present embodiment, Data Identification can also be comprised in the data (as above-mentioned second data, the 3rd data) that calamity receives for memory, as service numbers (transcation ID), calamity can based on service numbers for memory, generate service log, as whether backed up according to a service number record corresponding data, be not construed as limiting herein.
In the present embodiment, in order to Appropriate application storage resources, the storage space that can divide setting size for memory in calamity is headspace (as 0.5% of memory space), the judged result of each Hash identifying code and authority checking code is stored in described headspace, is not construed as limiting herein.
It should be noted that, calamity for memory between the data that the data determining to need in production inventory device to back up and described calamity receive for memory not there are differences data time, can identify to described production inventory device return data consistency, be not construed as limiting herein.
In the present embodiment, by the random number of data genaration backed up as required for memory at production inventory device and calamity, generate corresponding Hash identifying code and authority checking code respectively, according to determining that whether Hash identifying code is identical with authority checking code, calamity for memory can be real-time to production inventory device transmission data carry out data verification, do not need to break production inventory device and the calamity replication relation for memory, ensure that the continuity of business, simultaneously because calamity is for the instant checking of memory to the data that current production inventory device transmits, do not need at Disaster Preparation Center's additional configuration main frame and database, therefore manual operation is not needed, reduce operation cost and misoperation probability, operation maintenance is simple,
Secondly, when determining the variance data in production inventory device between all data needing the data of backup and calamity to receive for memory, production inventory thinks highly of a variance data, ensure that production inventory device and calamity are for the data consistency in memory, make calamity for data of preserving complete in memory.
Embodiment shown in above-mentioned Fig. 2 to Fig. 4 is all the methods verified for memory side data of description from calamity, and carry out the method for data of description checking below from production inventory device side, refer to Fig. 5, another embodiment of the method for data verification in the embodiment of the present invention comprises:
501, the first data genaration first random number of backing up as required of production inventory device;
In the present embodiment, calamity is divided in same data verification group for memory and production inventory device, calamity sets up storage replication relation between memory and production inventory device, the first data genaration first random number that production inventory device backs up as required, production inventory device can be generate according to the random function of setting according to the first data genaration first random number, is not construed as limiting herein.
502, production inventory device sends described first random number to calamity for memory;
The first random number generated sends to calamity for memory, to make described calamity for memory according to described first generating random number first Hash identifying code by production inventory device;
503, production inventory device is according to described first generating random number first authority checking code;
In the present embodiment, the first Hash identifying code that calamity generates for memory is identical with the hash algorithm that the first authority checking code that production inventory device generates adopts, as SHA-1 hash algorithm, this ensure that according to the Hash identifying code of same generating random number and authority checking code be identical.
504, production inventory device sends the second data to calamity for memory;
Described second data comprise described first authority checking code and described first data, determine whether to back up described first data for memory to make described calamity according to described first Hash identifying code.
In the present embodiment, when production inventory device needs the data of backup to need repeatedly to send, data verification can be carried out with reference to above-mentioned steps; As described in method can also comprise: as described in the 4th data genaration second random number that backs up as required of production inventory device, and to send to described calamity for memory, to make described calamity for memory according to the second generating random number second Hash identifying code received; Described production inventory device is according to described second generating random number second authority checking code; Described production inventory device sends the 3rd data to described calamity for memory, and described 3rd data comprise the second authority checking code and described 4th data, determine whether to back up described 4th data for memory to make described calamity according to described Hash identifying code.
In the present embodiment, by in production inventory device and calamity for the random number of memory according to the data genaration of transmission, generate corresponding Hash identifying code and authority checking code respectively, production inventory device sends the data needing backup for memory to calamity, determine whether to back up this data according to Hash identifying code for memory to make calamity, the embodiment of the present invention does not need to break production inventory device and the calamity replication relation for memory, ensure that the continuity of business, simultaneously because calamity is for the instant checking of memory to the data that current production inventory device transmits, do not need at Disaster Preparation Center's additional configuration main frame and database, therefore manual operation is not needed, reduce operation cost and misoperation probability, operation maintenance is simple.
In embodiment shown in Fig. 5, after variance data between the data that calamity receives for memory for all data to be sent in memory determination production inventory device and calamity, in the embodiment of the present invention, production inventory device can also receive the standby information storing the variance data sent of calamity, the described variance data retransmitted and determine is stored to calamity is standby, refer to Fig. 6, another embodiment of the method for data verification in the embodiment of the present invention comprises:
601, the first data genaration first random number of backing up as required of production inventory device;
In the present embodiment, calamity is divided in same data verification group for memory and production inventory device, calamity sets up storage replication relation between memory and production inventory device, the first data genaration first random number that production inventory device backs up as required, production inventory device can be generate according to the random function of setting according to the first data genaration first random number, is not construed as limiting herein.
602, production inventory device sends described first random number to calamity for memory;
The first random number generated sends to calamity for memory, to make described calamity for memory according to described first generating random number first Hash identifying code by production inventory device;
603, production inventory device is according to described first generating random number first authority checking code;
In the present embodiment, the first Hash identifying code that calamity generates for memory is identical with the hash algorithm that the first authority checking code that production inventory device generates adopts, as SHA-1 hash algorithm, now Hash identifying code is SHA-1 identifying code, correspond, authority checking code is also SHA-1 identifying code, does not do concrete restriction herein, this ensure that according to the Hash identifying code of same generating random number and authority checking code be identical.
604, production inventory device sends the second data to calamity for memory;
Described second data comprise described first authority checking code and described first data, determine whether to back up described first data for memory to make described calamity according to described first Hash identifying code.
In the present embodiment, when production inventory device needs the data of backup to need repeatedly to send, data verification can be carried out with reference to above-mentioned steps; As described in method can also comprise: as described in the 4th data genaration second random number that backs up as required of production inventory device, and to send to described calamity for memory, to make described calamity for memory according to the second generating random number second Hash identifying code received; Described production inventory device is according to described second generating random number second authority checking code; Described production inventory device sends the 3rd data to described calamity for memory, and described 3rd data comprise the second authority checking code and described 4th data, determine whether to back up described 4th data for memory to make described calamity according to described Hash identifying code.
605, production inventory device receives the information of the described variance data that described calamity sends for memory;
Production inventory device is after being sent completely the data of needs backup for memory to calamity, calamity is carried out after data complete for memory to the data received, variance data between the data can determining to need in described production inventory device the data that back up and described calamity to receive for memory, and the information of described variance data is returned to production inventory device.
606, production inventory device sends described variance data to described calamity for memory.
In the present embodiment, Data Identification can also be comprised in the data (as above-mentioned second data, the 3rd data) that calamity receives for memory, as service numbers (transcation ID), calamity can based on service numbers for memory, generate service log, as whether backed up according to a service number record corresponding data, be not construed as limiting herein.
Calamity returns the information of described variance data to production inventory device according to the variance data determined for memory, determine whether self receives described variance data to make described calamity for memory.These information can be the marks of each variance data, as when production inventory device comprises corresponding service numbers to calamity for each data that memory sends, this service numbers can be returned to production inventory device, production inventory device can determine corresponding variance data according to this number information of service.
In the present embodiment, by in production inventory device and calamity for the random number of memory according to the data genaration of transmission, generate corresponding Hash identifying code and authority checking code respectively, production inventory device sends the data needing backup for memory to calamity, determine whether to back up this data according to Hash identifying code for memory to make calamity, the embodiment of the present invention does not need to break production inventory device and the calamity replication relation for memory, ensure that the continuity of business, simultaneously because calamity is for the instant checking of memory to the data that current production inventory device transmits, do not need at Disaster Preparation Center's additional configuration main frame and database, therefore manual operation is not needed, reduce operation cost and misoperation probability, operation maintenance is simple,
Secondly, add production inventory think highly of send out and calamity for the described variance data between memory, make calamity for data of preserving complete in memory.
For ease of understanding, below embodiment with an embody rule scene, the method for data verification in describing in above-described embodiment is described in detail, concrete:
Calamity is divided in same data verification group for memory and production inventory device, calamity sets up storage replication relation between memory and production inventory device, the data A that production inventory device backs up as required generates random number challenge, and the random number challenge of generation sends to calamity for memory by production inventory device;
After calamity is sent out for the random number challenge that memory reception production inventory device sends, according to SHA-1 hash algorithm, SHA-1 identifying code is generated to the random number challenge received, it should be noted that, for SHA-1 hash algorithm in the present embodiment, in actual applications, can also be other hash algorithms, as MD4, MD5 etc., be not construed as limiting herein;
Now production inventory device also generates SHA-1 authority checking code according to the random number challenge generated, the SHA-1 identifying code that calamity generates for memory is identical with the hash algorithm that the SHA-1 authority checking code that production inventory device generates adopts, and this ensure that according to the SHA-1 identifying code of same generating random number and SHA-1 authority checking code be corresponding.
It should be noted that, production inventory device generates SHA-1 authority checking code according to the random number challenge generated, can be complete after receiving the request sent to production inventory device after calamity generates SHA-1 identifying code for memory according to random number challenge, be not construed as limiting herein.
Production inventory device sends the data A needing backup for memory to calamity, data A comprises corresponding SHA-1 authority checking code, the data B that calamity sends for memory reception production inventory device;
It should be noted that, calamity can also comprise service numbers (transcationID) for the data A that memory receives, and is not construed as limiting herein.
Calamity judges whether there is the SHA-1 authority checking code identical with SHA-1 identifying code in described data B for memory, if, then calamity receives in production inventory device corresponding to this SHA-1 identifying code the data A needing to back up for memory, if not, directly can determine that data A is variance data, a lot of data backup may be had because production inventory device once backs up, can send in calamity for memory several times, therefore also can be that calamity continues to receive some data C for memory, judge in described data C, whether to there is the SHA-1 authority checking code corresponding with SHA-1 identifying code, if, then calamity receives in production inventory device corresponding to this SHA-1 identifying code the data A needing to back up for memory, if not, determine that data A is variance data, be not construed as limiting herein,
Need the data backed up may have a lot in production inventory device, can be send to calamity to carry out data verification backup for memory by file, for playing file, can also be send to calamity to carry out data verification backup for memory after splitting according to the rule of setting, as by file division being the data of setting size, send to calamity for memory, as 100kb, 1M etc.
Each data needing backup in production inventory device, the flow process all backed up according to above-mentioned data verification is carried out, after completing all data verifications, the variance data between the data that calamity can determine to need in described production inventory device the data that back up and described calamity to receive for memory for memory.
Calamity after determining the variance data between the data that in production inventory device, all data to be sent and calamity receive for memory, can return the information of variance data for memory to production inventory device.
Production inventory device can retransmit described variance data to calamity for memory, the SHA-1 authority checking code of the correspondence generated before each described variance data comprises after receiving the variance data information that calamity sends for memory.
After calamity receives the described variance data of production inventory device transmission for memory, the SHA-1 identifying code corresponding to each described variance data, judge whether there is the SHA-1 authority checking code identical with SHA-1 identifying code in the variance data received, whether receive all described variance data according to judged result determination calamity for memory.
When also there is the variance data do not received, can continue to retransmit the data that do not receive with reference to above-mentioned steps, need in production inventory device the data full backup that backs up to calamity for memory.
In the present embodiment, in order to Appropriate application storage resources, the storage space that can divide setting size for memory in calamity is headspace, as 0.5% of storage space, the judged result of each SHA-1 identifying code and SHA-1 authority checking code is stored in described headspace, is not construed as limiting herein.
When there is not described variance data for memory in calamity, or there are described data, after retransmitting described variance data, when determining to receive all described variance data, namely not there are differences data between the data that now all data to be sent and described calamity receive for memory in production inventory device, calamity can identify to production inventory device return data consistency for memory, is not construed as limiting herein.
Introduce the embodiment of the calamity in the embodiment of the present invention for memory below, refer to Fig. 7, the calamity in the embodiment of the present invention comprises for an embodiment of memory:
Receiving element 701, for receiving the first random number that production inventory device sends, described calamity is for memory and described production inventory device in same data verification group, and described first random number is described production inventory device the first data genaration of backing up as required;
Processing unit 702, for described first generating random number first Hash identifying code, the first data described in the corresponding described production inventory device of described first Hash identifying code;
Described receiving element 701 is also for receiving the second data that described production inventory device sends, and described second data comprise the first authority checking code;
When the first authority checking code of described processing unit 702 also for carrying in the second data determining described reception is identical with described first Hash identifying code, determine to back up described first data, described second data comprise described first data.
In some embodiments of the invention, described processing unit 702 also for when the first authority checking code determining to carry in described second data is not identical with described first Hash identifying code, is determined not back up described first data, is not construed as limiting herein.
In some embodiments of the invention, when the first authority checking code of described receiving element 701 also for determining to carry in described second data at described processing unit 702 is not identical with described first Hash identifying code, receive the 3rd data that described production inventory device sends, described 3rd data comprise the second authority checking code; Described processing unit 702 also for when the second authority checking code determining to carry in described 3rd data is not identical with described first Hash identifying code, is determined not back up described first data, is not construed as limiting herein.
In some embodiments of the invention, described processing unit 702 also for after completing data verification, the variance data between the data determining to need in described production inventory device the data that back up and described calamity to receive for memory; Described calamity also comprises transmitting element for memory, for returning the information of described variance data to described production inventory device; Described receiving element 701 is also for receiving the variance data that described production inventory device sends, and described variance data comprises authority checking code; Whether described processing unit 702 is also identical with the Hash identifying code that this locality stores for judging the authority checking code carried in the variance data received, and determines whether described calamity receives described variance data for memory, is not construed as limiting herein according to judged result.
In some embodiments of the invention, above-mentioned transmitting element also for determine to need described in described production inventory device the data that back up and described calamity to receive for memory at described processing unit data between not there are differences data time, to described production inventory device return data consistency mark, be not construed as limiting herein.
In some embodiments of the invention, described processing unit 702 also for divide setting size storage space be headspace, the judged result of each Hash identifying code and authority checking code is stored in described headspace, is not construed as limiting herein.
In the present embodiment, calamity receives the random number of production inventory device according to the data genaration of transmission for the receiving element 701 of memory, the Hash identifying code that processing unit 702 is corresponding to the generating random number received, according to judging that whether the authority checking code carried in Hash identifying code and the data of reception is identical, can be real-time to production inventory device transmission data carry out data verification, do not need to break production inventory device and the calamity replication relation for memory, ensure that the continuity of business, simultaneously because calamity is for the instant checking of memory to the data that current production inventory device transmits, do not need at Disaster Preparation Center's additional configuration main frame and database, therefore manual operation is not needed, reduce operation cost and misoperation probability, operation maintenance is simple.
Describe calamity in the embodiment of the present invention in embodiment shown in Fig. 7 and, for the embodiment of memory, introduce the embodiment of the production inventory device in the embodiment of the present invention below.
Refer to Fig. 8, an embodiment of the production inventory device in the embodiment of the present invention comprises:
Processing unit 801, for the first data genaration first random number backed up as required;
Transmitting element 802, for sending described first random number, to make described calamity for memory according to described first generating random number first Hash identifying code to calamity for memory;
Described processing unit 801 is also for according to described first generating random number first authority checking code;
Described transmitting element 802 is also for sending the second data to described calamity for memory, described second data comprise described first authority checking code and described first data, determine whether to back up described first data for memory to make described calamity according to described first Hash identifying code.
In some embodiments of the invention, described processing unit 801 is also for needing the 4th data genaration second random number backed up; Described transmitting element 802 also for described second random number is sent to described calamity for memory, with make described calamity for memory according to receive the second generating random number second Hash identifying code; Described processing unit 801 is also for according to described second generating random number second authority checking code; Described transmitting element 802 is also for sending the 3rd data to described calamity for memory, described 3rd data comprise the second authority checking code and described 4th data, to make described calamity determine whether to back up described 4th data according to described Hash identifying code for memory, be not construed as limiting herein.
In the embodiment of the present invention, described production inventory device also comprises: receiving element, for receiving the information of the variance data that described calamity sends for memory; Described transmitting element 802 is also for sending described variance data to described calamity for memory, and described variance data comprises authority checking code, determines that whether self receives described variance data, is not construed as limiting to make described calamity herein for memory.
In the present embodiment, the data genaration random number that processing unit 801 in production inventory device backs up as required, and the authority checking code corresponding according to generating random number, transmitting element 802 sends random number to calamity for memory, to make calamity for memory to the generating random number Hash identifying code received, and send the data comprising the backup of authority checking code needs for memory to calamity, to make calamity for memory according to Hash identifying code and authority checking code corresponding relation, can be real-time to production inventory device transmission data carry out data verification, do not need to break production inventory device and the calamity replication relation for memory, ensure that the continuity of business, simultaneously because calamity is for the instant checking of memory to the data that current production inventory device transmits, do not need at Disaster Preparation Center's additional configuration main frame and database, therefore manual operation is not needed, reduce operation cost and misoperation probability, operation maintenance is simple.
In embodiment shown in Fig. 7, Fig. 8, receiving element can be specifically receiver, and transmitting element can be reflector, and processing unit can be processor, and processor can be one or more, is not construed as limiting herein.
Those skilled in the art can be well understood to, and for convenience and simplicity of description, the system of foregoing description, the specific works process of device and unit, with reference to the corresponding process in preceding method embodiment, can not repeat them here.
In several embodiments that the application provides, should be understood that, disclosed system, apparatus and method, can realize by another way.Such as, device embodiment described above is only schematic, such as, the division of described unit, be only a kind of logic function to divide, actual can have other dividing mode when realizing, such as multiple unit or assembly can in conjunction with or another system can be integrated into, or some features can be ignored, or do not perform.Another point, shown or discussed coupling each other or direct-coupling or communication connection can be by some interfaces, and the indirect coupling of device or unit or communication connection can be electrical, machinery or other form.
The described unit illustrated as separating component or can may not be and physically separates, and the parts as unit display can be or may not be physical location, namely can be positioned at a place, or also can be distributed in multiple network element.Some or all of unit wherein can be selected according to the actual needs to realize the object of the present embodiment scheme.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, also can be that the independent physics of unit exists, also can two or more unit in a unit integrated.Above-mentioned integrated unit both can adopt the form of hardware to realize, and the form of SFU software functional unit also can be adopted to realize.
If described integrated unit using the form of SFU software functional unit realize and as independently production marketing or use time, can be stored in a computer read/write memory medium.Based on such understanding, the part that technical scheme of the present invention contributes to prior art in essence in other words or all or part of of this technical scheme can embody with the form of software product, this computer software product is stored in a storage medium, comprising some instructions in order to make a computer equipment (can be personal computer, server, or the network equipment etc.) perform all or part of step of method described in each embodiment of the present invention.And aforesaid storage medium comprises: USB flash disk, portable hard drive, read-only memory (ROM, Read-OnlyMemory), random access memory (RAM, Random Access Memory), magnetic disc or CD etc. various can be program code stored medium.
The above, above embodiment only in order to technical scheme of the present invention to be described, is not intended to limit; Although with reference to previous embodiment to invention has been detailed description, those of ordinary skill in the art is to be understood that: it still can be modified to the technical scheme described in foregoing embodiments, or carries out equivalent replacement to wherein portion of techniques feature; And these amendments or replacement, do not make the essence of appropriate technical solution depart from the spirit and scope of various embodiments of the present invention technical scheme.
Accompanying drawing explanation
Fig. 1 is disaster tolerance system schematic diagram in the embodiment of the present invention;
Fig. 2 is an embodiment schematic diagram of the method for data verification in the embodiment of the present invention;
Fig. 3 is another embodiment schematic diagram of the method for data verification in the embodiment of the present invention;
Fig. 4 is another embodiment schematic diagram of the method for data verification in the embodiment of the present invention;
Fig. 5 is another embodiment schematic diagram of the method for data verification in the embodiment of the present invention;
Fig. 6 is another embodiment schematic diagram of the method for data verification in the embodiment of the present invention;
Fig. 7 be in the embodiment of the present invention calamity for an embodiment schematic diagram of memory;
Fig. 8 is an embodiment schematic diagram of production inventory device in the embodiment of the present invention.
Embodiment
Embodiments provide a kind of method of data verification, calamity for memory and production inventory device, ensure that the continuity of business, do not need manual operation, reduce operation cost and misoperation probability, operation maintenance is simple.
The present invention program is understood better in order to make those skilled in the art person, below in conjunction with the accompanying drawing in the embodiment of the present invention, technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is only the embodiment of a part of the present invention, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, should belong to the scope of protection of the invention.

Claims (18)

1. a method for data verification, is characterized in that, comprising:
Calamity receives for memory the first random number that production inventory device sends, and described calamity is for memory and described production inventory device in same data verification group, and described first random number is described production inventory device the first data genaration of backing up as required;
Described calamity for memory to described first generating random number first Hash identifying code, described first data in the corresponding described production inventory device of described first Hash identifying code;
Described calamity receives the second data of described production inventory device transmission for memory, and described second data comprise the first authority checking code and described first data;
Described calamity, is determined to back up described first data when the first authority checking code determining to carry in described second data is identical with described first Hash identifying code for memory.
2. method according to claim 1, is characterized in that, described method also comprises:
Described calamity, is determined not back up described first data when the first authority checking code determining to carry in described second data is not identical with described first Hash identifying code for memory.
3. method according to claim 1, is characterized in that, described method also comprises:
Described calamity is for memory when the first authority checking code determining to carry in described second data is not identical with described first Hash identifying code, and receive the 3rd data that described production inventory device sends, described 3rd data comprise the second authority checking code;
Described calamity, is determined not back up described first data when the second authority checking code determining to carry in described 3rd data is not identical with described first Hash identifying code for memory.
4. according to the method in claim 2 or 3, it is characterized in that, described method also comprises:
Described calamity for memory after completing data verification, the variance data between the data determining to need in described production inventory device the data that back up and described calamity to receive for memory;
Described calamity returns the information of described variance data to described production inventory device for memory;
Described calamity receives the variance data of described production inventory device transmission for memory, and described variance data comprises authority checking code;
For memory, described calamity judges that whether the authority checking code carried in the variance data received is identical with the Hash identifying code that this locality stores, determine whether described calamity receives described variance data for memory according to judged result.
5. method according to claim 4, is characterized in that,
When described calamity not there are differences data for memory between the data that the data determining to need described in described production inventory device to back up and described calamity receive for memory, to described production inventory device return data consistency mark.
6., according to described method arbitrary in claim 1 to 5, it is characterized in that, described method also comprises:
The storage space that described calamity divides setting size for memory is headspace, and the judged result of each Hash identifying code and authority checking code is stored in described headspace.
7. a method for data verification, is characterized in that, comprising:
The first data genaration first random number that production inventory device backs up as required;
Described production inventory device sends described first random number, to make described calamity for memory according to described first generating random number first Hash identifying code to calamity for memory;
Described production inventory device is according to described first generating random number first authority checking code;
Described production inventory device sends the second data to described calamity for memory, described second data comprise described first authority checking code and described first data, determine whether to back up described first data for memory to make described calamity according to described first Hash identifying code.
8. method according to claim 7, is characterized in that, described method also comprises:
The 4th data genaration second random number that described production inventory device backs up as required, and send to described calamity for memory, to make described calamity for memory according to the second generating random number second Hash identifying code received;
Described production inventory device is according to described second generating random number second authority checking code;
Described production inventory device sends the 3rd data to described calamity for memory, and described 3rd data comprise the second authority checking code and described 4th data, determine whether to back up described 4th data for memory to make described calamity according to described Hash identifying code.
9. the method according to claim 7 or 8, is characterized in that, described method also comprises:
Described production inventory device receives the information of the variance data that described calamity sends for memory;
Described production inventory device sends described variance data to described calamity for memory, and described variance data comprises authority checking code, determines whether self receives described variance data to make described calamity for memory.
10. calamity is for a memory, it is characterized in that, comprising:
Receiving element, for receiving the first random number that production inventory device sends, described calamity is for memory and described production inventory device in same data verification group, and described first random number is described production inventory device the first data genaration of backing up as required;
Processing unit, for described first generating random number first Hash identifying code, described first data in the corresponding described production inventory device of described first Hash identifying code;
Described receiving element is also for receiving the second data that described production inventory device sends, and described second data comprise the first authority checking code and described first data;
When the first authority checking code of described processing unit also for carrying in the second data determining described reception is identical with described first Hash identifying code, determine to back up described first data.
11. calamities according to claim 10, for memory, is characterized in that, described processing unit also for when the first authority checking code determining to carry in described second data is not identical with described first Hash identifying code, is determined not back up described first data.
12. calamities according to claim 10 are for memory, it is characterized in that, when described receiving element is also for determining that at described processing unit the first authority checking code of carrying in described second data is not identical with described first Hash identifying code, receive the 3rd data that described production inventory device sends, described 3rd data comprise the second authority checking code;
Described processing unit also for when the second authority checking code determining to carry in described 3rd data is not identical with described first Hash identifying code, is determined not back up described first data.
13. calamities according to claim 11 or 12 are for memory, it is characterized in that, described processing unit also for after completing data verification, the variance data between the data determining to need in described production inventory device the data that back up and described calamity to receive for memory;
Described calamity also comprises for memory:
Transmitting element, for returning the information of described variance data to described production inventory device;
Described receiving element is also for receiving the variance data that described production inventory device sends, and described variance data comprises authority checking code;
Whether described processing unit is also identical with the Hash identifying code that this locality stores for judging the authority checking code carried in the variance data received, and determines whether described calamity receives described variance data for memory according to judged result.
14. calamities according to claim 13 are for memory, it is characterized in that, described transmitting element also for determine to need described in described production inventory device the data that back up and described calamity to receive for memory at described processing unit data between not there are differences data time, identify to described production inventory device return data consistency.
15. according to claim 10 to described calamity arbitrary in 14 for memory, it is characterized in that, described processing unit also for divide setting size storage space be headspace, the judged result of each Hash identifying code and authority checking code is stored in described headspace.
16. 1 kinds of production inventory devices, is characterized in that, comprising:
Processing unit, for the first data genaration first random number backed up as required;
Transmitting element, for sending described first random number, to make described calamity for memory according to described first generating random number first Hash identifying code to calamity for memory;
Described processing unit is also for according to described first generating random number first authority checking code;
Described transmitting element is also for sending the second data to described calamity for memory, described second data comprise described first authority checking code and described first data, determine whether to back up described first data for memory to make described calamity according to described first Hash identifying code.
17. production inventory devices according to claim 16, is characterized in that, described processing unit is also for needing the 4th data genaration second random number backed up;
Described transmitting element also for described second random number is sent to described calamity for memory, with make described calamity for memory according to receive the second generating random number second Hash identifying code;
Described processing unit is also for according to described second generating random number second authority checking code;
Described transmitting element is also for sending the 3rd data to described calamity for memory, described 3rd data comprise the second authority checking code and described 4th data, determine whether to back up described 4th data for memory to make described calamity according to described Hash identifying code.
18. production inventory devices according to claim 16 or 17, it is characterized in that, described production inventory device also comprises:
Receiving element, for receiving the information of the variance data that described calamity sends for memory;
Described transmitting element is also for sending described variance data to described calamity for memory, and described variance data comprises authority checking code, determines whether self receives described variance data to make described calamity for memory.
CN201410709905.6A 2014-11-28 2014-11-28 A kind of method of data verification, calamity are for memory and production inventory device Active CN104468548B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410709905.6A CN104468548B (en) 2014-11-28 2014-11-28 A kind of method of data verification, calamity are for memory and production inventory device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410709905.6A CN104468548B (en) 2014-11-28 2014-11-28 A kind of method of data verification, calamity are for memory and production inventory device

Publications (2)

Publication Number Publication Date
CN104468548A true CN104468548A (en) 2015-03-25
CN104468548B CN104468548B (en) 2018-03-16

Family

ID=52913920

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410709905.6A Active CN104468548B (en) 2014-11-28 2014-11-28 A kind of method of data verification, calamity are for memory and production inventory device

Country Status (1)

Country Link
CN (1) CN104468548B (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106066820A (en) * 2016-06-08 2016-11-02 上海爱数信息技术股份有限公司 Checking carry recovers automated testing method and the system of volume
CN106293996A (en) * 2015-05-20 2017-01-04 腾讯科技(深圳)有限公司 Method of data synchronization, main equipment, alternate device and system
CN106452694A (en) * 2016-09-23 2017-02-22 郑州云海信息技术有限公司 Remote station disaster recovery method and device
WO2018126344A1 (en) * 2017-01-03 2018-07-12 华为技术有限公司 Data processing method and related device
CN109104401A (en) * 2017-06-20 2018-12-28 西门子股份公司 Safety is transmitted based on real-time data
CN109561151A (en) * 2018-12-12 2019-04-02 北京达佳互联信息技术有限公司 Date storage method, device, server and storage medium
CN109960613A (en) * 2019-03-11 2019-07-02 中国银联股份有限公司 A kind of method and device of data batch processing
CN110445841A (en) * 2019-07-12 2019-11-12 苏州浪潮智能科技有限公司 A kind of method, equipment and the storage medium of cloud physics machine carry cloud disk
CN111522875A (en) * 2020-03-24 2020-08-11 福建省农村信用社联合社 Data copy consistency monitoring method for distributed system with full data synchronization

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1791095A (en) * 2004-12-17 2006-06-21 上海证券通信有限责任公司 Data concentrated backup method, reduction method and its system
CN102207897A (en) * 2011-07-11 2011-10-05 成都易我科技开发有限责任公司 Incremental backup method
CN102354292A (en) * 2011-09-21 2012-02-15 国家计算机网络与信息安全管理中心 Method and system for checking consistency of records in master and backup databases

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1791095A (en) * 2004-12-17 2006-06-21 上海证券通信有限责任公司 Data concentrated backup method, reduction method and its system
CN102207897A (en) * 2011-07-11 2011-10-05 成都易我科技开发有限责任公司 Incremental backup method
CN102354292A (en) * 2011-09-21 2012-02-15 国家计算机网络与信息安全管理中心 Method and system for checking consistency of records in master and backup databases

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
刘仕一等: "异地备份系统数据一致性检测方法", 《信息安全技术》 *
王志明: "容灾抗毁系统中数据一致性检测及快速恢复方法", 《中国优秀硕士学位论文全文数据库》 *

Cited By (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106293996A (en) * 2015-05-20 2017-01-04 腾讯科技(深圳)有限公司 Method of data synchronization, main equipment, alternate device and system
CN106293996B (en) * 2015-05-20 2019-11-08 腾讯科技(深圳)有限公司 Method of data synchronization, main equipment, alternate device and system
CN106066820A (en) * 2016-06-08 2016-11-02 上海爱数信息技术股份有限公司 Checking carry recovers automated testing method and the system of volume
CN106066820B (en) * 2016-06-08 2019-03-12 上海爱数信息技术股份有限公司 Verify automated testing method and system that carry restores volume
CN106452694A (en) * 2016-09-23 2017-02-22 郑州云海信息技术有限公司 Remote station disaster recovery method and device
CN110023944A (en) * 2017-01-03 2019-07-16 华为技术有限公司 A kind of data processing method and relevant device
WO2018126344A1 (en) * 2017-01-03 2018-07-12 华为技术有限公司 Data processing method and related device
CN109104401A (en) * 2017-06-20 2018-12-28 西门子股份公司 Safety is transmitted based on real-time data
CN109104401B (en) * 2017-06-20 2021-08-27 西门子股份公司 Secure real-time based data transmission
CN109561151A (en) * 2018-12-12 2019-04-02 北京达佳互联信息技术有限公司 Date storage method, device, server and storage medium
CN109561151B (en) * 2018-12-12 2021-09-17 北京达佳互联信息技术有限公司 Data storage method, device, server and storage medium
CN109960613A (en) * 2019-03-11 2019-07-02 中国银联股份有限公司 A kind of method and device of data batch processing
CN110445841A (en) * 2019-07-12 2019-11-12 苏州浪潮智能科技有限公司 A kind of method, equipment and the storage medium of cloud physics machine carry cloud disk
CN110445841B (en) * 2019-07-12 2022-04-22 苏州浪潮智能科技有限公司 Cloud disk mounting method and device for cloud physical machine and storage medium
CN111522875A (en) * 2020-03-24 2020-08-11 福建省农村信用社联合社 Data copy consistency monitoring method for distributed system with full data synchronization
CN111522875B (en) * 2020-03-24 2022-05-24 福建省农村信用社联合社 Distributed system data copy consistency monitoring method for full data synchronization

Also Published As

Publication number Publication date
CN104468548B (en) 2018-03-16

Similar Documents

Publication Publication Date Title
CN104468548A (en) Data verification method, disaster recovery storage and production storage
US10725692B2 (en) Data storage method and apparatus
US10073652B2 (en) Performance optimized storage vaults in a dispersed storage network
EP2908254A1 (en) Data redundancy implementation method and device
US20170006099A1 (en) Using broadcast for parallelized and rapid slice replication in a dispersed storage network
WO2020151323A1 (en) Data slicing-based data storage method, device, and medium
US20150178170A1 (en) Method and Apparatus for Recovering Data
CN103460203A (en) Cluster unique identifier
CN104917586A (en) Verification method, device and system of transmitted data
CN109254956B (en) Data downloading method and device and electronic equipment
CN105988894A (en) Disaster tolerance technique of active-active mode
CN104765657A (en) Data backup method, data recovery method and relative device
CN105677673A (en) Business processing method, device and system
CN111262822A (en) File storage method, device, block link point and system
CN105550071B (en) System file upgrades and detection method, communication equipment
CN113190177B (en) Data storage method, terminal equipment, server and system
EP4060514A1 (en) Distributed database system and data disaster backup drilling method
CN109672544B (en) Data processing method and device and distributed storage system
US8312237B2 (en) Automated relocation of in-use multi-site protected data storage
CN102325171B (en) Data storage method in monitoring system and system
CN104794012A (en) Switching technique based on disaster recovery
CN105159790A (en) Data rescue method and file server
CN109597716A (en) A kind of asynchronous remote copying method and system
CN111767166A (en) Data backup method and device
CN104507059A (en) Multimedia message transmitting management method and multimedia message transmitting management device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant