Unlock instant, AI-driven research and patent intelligence for your innovation.

Data consistency checking method

A verification method and consistency technology, applied in the field of database maintenance, can solve the problems of high data transmission overhead, unsuitable for processing massive data, large verification delay, etc., and achieve the effect of avoiding high data transmission overhead.

Active Publication Date: 2014-10-01
BEIJING JINGDONG SHANGKE INFORMATION TECH CO LTD +1
View PDF4 Cites 12 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

This consistency comparison method needs to read the data separately before the comparison. Therefore, in the application scenario of massive data processing, there will be problems such as large data transmission overhead and long verification delay, which is not suitable for massive data processing. data processing

Method used

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
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Data consistency checking method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0012] In order to make the purpose, technical solution and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with the accompanying drawings and specific embodiments.

[0013] The core idea of ​​the present invention is: when storing a data table, add a verification field for the data table, that is, generate a verification code for each record in the table according to the specific content of the record, when the certain record is copied , copy the record and its check code together, so that the destination storage device can verify the consistency of the data in the record according to the check code.

[0014] figure 1 It is a schematic flow chart of Embodiment 1 of the present invention, such as figure 1 As shown, this embodiment mainly includes:

[0015] Step 101. When storing the data table in the database system, for each row record in the data table, according to the content of the row record, u...

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

PUM

No PUM Login to View More

Abstract

The invention discloses a data consistency checking method. The data consistency checking method includes that when a data table is stored in a database system, a check code is figured out by a preset encryption method and stored according to contents of records of each line in the data table; when the database system receives an order which requires to copy data of the data table, the copied records and the corresponding check code are copied together and stored in a target storage device; as for each of currently stored records, the target storage device figures out a check code by the preset encryption method according to contents of the corresponding record and compares the figured out check code with the check code of the corresponding current stored record, if consistency exists, the copy of the records is determined to be consistent, and otherwise, errors of the copy of the records are determined to exist. By means of the data consistency checking method, data consistency can be guaranteed during copying of mass data, the efficiency is high, and expenses of transmission resources are low.

Description

technical field [0001] The invention relates to database maintenance technology, in particular to a method for checking data consistency. Background technique [0002] In the application field of database technology, when data is replicated between multiple storage devices, the data is usually read directly from the source storage device and stored on the destination storage device through an intermediate storage medium or network. In the above solution, the destination storage device does not check the consistency of the stored data. However, in practical applications, data may be maliciously altered or lost during data copying. Therefore, when the data in the database is copied, the integrity of the data needs to be verified to ensure the security of the data. [0003] At present, the verification of the consistency of the copied data is realized by comparing the data in the source storage device and the destination storage device respectively after the data copy is comp...

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

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F17/30
CPCG06F16/2365
Inventor 唐超马丽伟秦波王锋赵晓平
Owner BEIJING JINGDONG SHANGKE INFORMATION TECH CO LTD