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

Data check method and device and electronic equipment

A technology for data verification and electronic equipment, applied in the field of data verification, it can solve problems such as long time, and achieve the effect of avoiding long time and improving user experience.

Active Publication Date: 2015-12-23
LENOVO (BEIJING) CO LTD
View PDF4 Cites 11 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0009] However, in the process of realizing the technical solution of the invention in the embodiment of the application, the inventor of the present application found that the above-mentioned technology has at least the following technical problems: when the electronic device has only one memory stick DIMM and the number of bits of each chip in the memory is 8 bits , since 512 bits of data are required to perform an ECC data verification, 8 reads and writes to the DIMM are required. It can be seen that there is a technical problem in the prior art that it takes a long time to complete an ECC 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 check method and device and electronic equipment
  • Data check method and device and electronic equipment
  • Data check method and device and electronic equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0046] The embodiment of the present invention provides a data verification method, which is applied to electronic equipment. The functions realized by the data verification method can be implemented by hardware, or by calling program codes from the processor in the electronic equipment. Of course, the program The code can be stored in a computer storage medium. It can be seen that the electronic device includes at least a processor and a storage medium.

[0047] figure 1 It is a schematic diagram of the implementation flow of a data verification method in the embodiment of the present invention, as figure 1 As shown, the data verification method includes:

[0048] Step S101, obtaining 256-bit data;

[0049] Step S102, acquiring 13-bit first checksum data related to the acquired data generated according to the first checksum algorithm;

[0050] Step S103, performing checksum calculation on the acquired data according to the first checksum algorithm to generate 13-bit second...

Embodiment 2

[0057] Based on the foregoing first embodiment, the embodiment of the present invention will describe step S101 and step S102 in the first embodiment, and there are at least two implementation manners in the specific implementation process. Specifically, the data verification method in the embodiment of the present application can be used as a data verification during the data writing and reading process, or as a data verification during the data transmission process, then step S101 includes at least the following two situations .

[0058] In the first case, data verification is performed on the data read from the data storage unit, then the step S101, obtaining 256-bit data, includes: writing 256-bit data into the storage area of ​​the data storage unit of the electronic device, and taking the 256-bit data read from the storage area as the obtained data;

[0059] Correspondingly, in step S102, obtaining the 13-bit first checksum data related to the acquired data generated ac...

Embodiment 5

[0142] Based on the aforementioned embodiments, the embodiments of the present invention provide an electronic device, such as image 3 As shown, it includes a processor 10, a data storage unit 20, a checksum data generating unit 30 and a checksum data storage unit 40, wherein:

[0143] Data storage unit 20, used for storing the 256-bit data obtained;

[0144] A checksum data storage unit 40, configured to store the acquired 13-bit first checksum data related to the acquired data generated according to the first checksum algorithm;

[0145] A checksum data generating unit 30, configured to perform checksum calculation on the acquired data according to the first checksum algorithm to generate 13-bit second checksum data; Comparing with the second checksum data to obtain a comparison result; determining the correctness of the acquired 256-bit data according to the comparison result.

[0146] In the embodiment of the present invention, the determining the correctness of the acq...

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 check method and device and electronic equipment. The method includes the steps that 256-bit data are obtained; 13-bit first checksum data related to the obtained data and generated according to a first checksum algorithm are obtained; the obtained data are subjected to checksum calculation according to the first checksum algorithm, and 13-bit second checksum data are generated; the first checksum data and the second checksum data are compared, and a comparison result is obtained; the correctness of the obtained 256-bit data is determined according to the comparison result.

Description

technical field [0001] The invention relates to data verification technology, in particular to a data verification method and device, and electronic equipment. Background technique [0002] Memory (Memory) is one of the important components in electronic equipment, and it is a bridge to communicate with the central processing unit (CPU) in the electronic equipment. The function of the memory is to temporarily store the calculation data in the CPU and the data exchanged with the external memory such as the hard disk. When electronic equipment is running, the CPU will transfer the data that needs to be calculated to the memory for calculation. After the calculation is completed, the CPU will transfer the result to the memory. The operation of the memory also determines the stable operation of the computer. [0003] Memory is an electronic device, and errors will inevitably occur during its working process. For users with high stability requirements, memory errors may cause fa...

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
IPC IPC(8): G06F11/10
Inventor 张锦本徐硕宏彭耀台黄树福
Owner LENOVO (BEIJING) CO LTD
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