A method and device for verifying data consistency

A technology for verifying data and consistency, applied in the input/output process of data processing, electrical digital data processing, instruments, etc., can solve problems such as difficult data consistency verification, consumption of system computing resources, system or network paralysis, etc.
CN107219997BActive Publication Date: 2020-08-18ALIBABA GRP HLDG LTD

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
ALIBABA GRP HLDG LTD
Publication Date
2020-08-18

Smart Images

  • Figure 1
    Figure 1
  • Figure 2
    Figure 2
  • Figure 3
    Figure 3
Patent Text Reader

Abstract

The invention provides a method for verifying uniformity of data, and is applied to duplicate data of distributed storage. The method for verifying uniformity of data is characterized by comprising the following steps of acquiring a request for verifying the uniformity of the duplicate data included in a designated data set, and sending a request for acquiring the check code of each of fragmented data and the secondary check codes of the duplicate data to each storage node which stores the fragmented data of the data set, wherein the secondary check codes are obtained through a predetermined algorithm by using the check codes of all the fragmented data; receiving the check code of each of the fragmented data and the secondary check codes of the duplicate data which are transmitted by each storage node, calculating secondary check verification codes through adopting the same algorithm as the predetermined algorithm and the received check codes of all the fragmented data of the data set, and judging whether or not the duplicate data included in the data set has uniformity according to the secondary check verification codes and the received secondary check codes of the duplicate data. According to the method for verifying uniformity of data, the effect that the efficiency of data uniformity verification is improved can be achieved.
Need to check novelty before this filing date? Find Prior Art

Description

technical field

[0001] This application relates to a method and device for verifying data consistency, and also relates to a method and device for verifying data consistency; in addition, it also relates to a method and device for generating a secondary check code, and a A method and device for responding to a request for obtaining a verification code; the present application also relates to a system for verifying data consistency. Background technique

[0002] With the development of IT technology, a large amount of data needs to be stored and backed up for various applications to access and use. In the process of storage, the change of data content caused by the update of data or the damage of stored copy data or the change of content due to various factors are the situations that the system design and maintenance personnel must deal with. To ensure the consistency of the replica data, that is to say, it is necessary to ensure that the stored replica data is the same as b...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More