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.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
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...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com