Data verification method and device and readable storage medium

A data verification and data technology, applied in the field of data verification, can solve problems such as data verification misjudgment, and achieve the effects of improving accuracy, detecting and avoiding, and reducing negative effects

Active Publication Date: 2018-03-30
SANGFOR TECH INC
View PDF7 Cites 8 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The main purpose of the present invention is to provide a checksum-based data verification method, device and computer-readable storage medium, aiming to solve the technical problem of how to avoid misjudgment when using checksum for data verification

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 verification method and device and readable storage medium
  • Data verification method and device and readable storage medium
  • Data verification method and device and readable storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0048] It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.

[0049] like figure 1 as shown, figure 1 It is a schematic diagram of the structure of the data verification device of the hardware operating environment involved in the solution of the embodiment of the present invention.

[0050] The data verification device in this embodiment of the present invention may be a device with a display function such as a smart phone, a tablet computer, an e-book reader, or a portable computer.

[0051] like figure 1 As shown, the data verification device may include: a processor 1001 , such as a CPU, a communication bus 1002 , a user interface 1003 , a network interface 1004 , and a memory 1005 . Wherein, the communication bus 1002 is used to realize connection and communication between these components. The user interface 1003 may include a display screen (Display), an input unit su...

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 checksum-based data verification method. The method comprises the following steps of: receiving a data reading request, and reading data D which is stored at a correspondingposition and verification data which is written when the data D is written, wherein the verification data at least comprises a data version number DV, a storage checksum C and a checksum version number CV; judging whether the data version number DV is equal to the checksum version number CV or not; if the judging result is positive, generating a current checksum C1 of the data D, and otherwise, exiting the data verification; and judging whether the current checksum C1 is equal to the storage checksum C or not, if the judging result is positive, returning the data D, and otherwise, carrying outerror report. The invention furthermore discloses a checksum-based data verification device and a computer readable storage medium. According to the method, the device and the computer readable storage medium, erroneous judgement of checksums can be effectively detected and avoided, the precision of detecting data errors by using checksums is improved, and the negative effects on systems are decreased.

Description

technical field [0001] The present invention relates to the technical field of data verification, in particular to a checksum-based data verification method, device and computer-readable storage medium. Background technique [0002] Maintaining data integrity is the most important responsibility of modern storage systems, so various techniques have been developed and applied to improve data integrity protection, the most commonly used of which is the checksum method. Generally, when using a checksum to protect data, once the data is changed abnormally, the checksum recalculated at the time of reading is not equal to the checksum calculated at the time of storage, and then it can be judged whether there is a storage error in the data. [0003] However, in the prior art, in the process of using the checksum to verify whether the data is wrong / damaged, the checksum itself will also have errors, and because the data is not synchronized with the writing of the checksum during the...

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): G06F11/10
CPCG06F11/1004
Inventor 赵辉宇李诗逸古亮吴大立
Owner SANGFOR TECH INC
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products