Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Data writing method and device and verification method and device

A data writing and data technology, applied in the field of data processing, can solve problems such as misjudgment of data integrity

Active Publication Date: 2018-03-27
SANGFOR TECH INC
View PDF11 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, the checksum itself can also be wrong. For example, if the checksum is partially written but returns correct when writing the checksum, then if the wrong checksum is used to verify the data, it will cause data integrity. misjudgment

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 writing method and device and verification method and device
  • Data writing method and device and verification method and device
  • Data writing method and device and verification method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0102] The embodiment of the present invention provides a data writing method and device, a verification method and device, and a computer device. The readable storage medium is used to avoid misjudgment of the checksum, improve the accuracy of using the checksum to detect data errors, and reduce the negative impact on the system.

[0103] In order to enable those skilled in the art to better understand the solutions of the present invention, the technical solutions in the embodiments of the present invention will be described clearly and completely with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only It is a part of the embodiments of the present invention, not all the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative work shall fall within the protection scope of the present invention.

[0104] The t...

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 embodiment of the invention discloses a data writing method and device, a verification method and device, a computer device and a readable storage medium, and aims to avoid misjudgment of checksum, improve the precision of data error detection by means of the checksum and reduce a negative influence on the system. The data writing method comprises the steps that a writing request aiming at first data is received; based on the writing request, sampling data is acquired in the preset position of the first data, and the checksum is generated by means of the first data; the sampling data and the checksum are processed according to a preset format, and second data is obtained, wherein the second data comprises at least two pieces of sampling data and at least one preset sum; the first datais written into a first storage area, and the second data is written into a second storage area according to a preset rule.

Description

Technical field [0001] The present invention relates to the field of data processing, in particular to a data writing method and device, a verification method and device, a computer device, and a readable storage medium. Background technique [0002] Maintaining data integrity is the top priority of modern storage systems. At present, there are various technologies being developed and applied to improve the protection of data integrity, of which the most commonly used and most popular is the checksum method. [0003] Traditional checksum methods for storage systems are generally divided into two categories: one is end-to-end verification, and the other is disk checksum. Generally speaking, when using a checksum to protect data, once the data is abnormally changed, the recalculated checksum during reading will not be equal to the checksum calculated during storage. However, the checksum itself can also be wrong. For example, when the checksum is written, part of the checksum is wr...

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): G06F3/06
CPCG06F3/0619G06F3/0638G06F3/0676
Inventor 古亮李诗逸赵辉宇吴大立李庆
Owner SANGFOR TECH INC
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products