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

A blockchain-based data authentication method, system and storage medium

A blockchain and verification technology, applied in the field of verification and traceability, can solve the problem of being unable to judge which part of the data has a problem, and achieve the effect of rapid judgment

Active Publication Date: 2022-05-03
湖北央中巨石信息技术有限公司
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The present invention provides a blockchain-based data authenticity verification method, system, and storage medium to solve the defect that the authenticity verification method in the prior art can only judge whether there is a problem with the data but cannot judge which part of the data has a problem. It can quickly determine whether the data is valid, and at the same time, it can determine which attribute caused the invalidation purpose for invalid data

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
  • A blockchain-based data authentication method, system and storage medium
  • A blockchain-based data authentication method, system and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0044] Such as figure 1 A blockchain-based data verification method shown includes:

[0045] S1. Read the source data, calculate the hash value of the source data, define it as the main hash, and store the main hash on the chain;

[0046] S2. Extract the attribute name key and attribute value value of the source data, calculate the hash value hash(key) of the source data attribute name, and the hash value hash(value) of the source data attribute value, and combine hash(key) and hash(value ) are stored on the chain separately;

[0047] S3. Put the attribute name key and attribute value value of the source data into the Map structure of the blockchain, calculate the hash value of the Map, define it as a secondary hash, and store the secondary hash on the chain;

[0048] S4. Obtain the data that needs to be verified, calculate the hash value of the verified data, and compare the hash value of the verified data with the main hash on the chain: if the comparison results are the s...

Embodiment 2

[0064] A blockchain-based data verification system, such as figure 2 shown, including:

[0065] Source data calculation module, used to calculate main hash, hash (key), hash (value) and secondary hash; wherein said main hash is the hash value of source data, and said hash (key) is source data attribute The hash value of the name, the hash (value) is the hash value of the source data attribute value, and the secondary hash is the hash value of the Map structure including the attribute name key and the attribute value value of the block chain of the source data;

[0066] The source data on-chain module is used to store certificates on the chain of the main hash, hash (key), hash (value) and secondary hash;

[0067] Verification data calculation module, used to calculate the hash value of verification data, the hash value of verification data Map, hash(key1) and hash(value1); wherein the hash value of verification data Map is block The chain contains the hash value of the Map ...

Embodiment 3

[0081] A computer-readable storage medium includes a computer program. When the computer program runs, the device where the storage medium is located is controlled to execute the data verification method as described in Embodiment 1.

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 blockchain-based data authenticity verification method, system and storage medium, which reads source data, calculates the main hash of the source data, the hash value of the source data attribute name, and the hash of the source data attribute value value, secondary hash; obtain the data that needs to be verified, compare the hash value of the verified data with the hash value on the chain, and find out the wrong attributes of the verified data. The invention is used to solve the defect that the authenticity verification method in the prior art can only judge whether there is a problem in the data but cannot judge which part of the data has a problem. Which attribute caused the purpose of failure.

Description

technical field [0001] The present invention relates to the technical field of authenticity verification and traceability, in particular to a blockchain-based data authenticity verification method, system and storage medium. Background technique [0002] In the existing blockchain applications, a kind of authenticity and traceability technology is developed by using the characteristics of the blockchain network that cannot be tampered with and the transactions can be traced. Verify whether the data used by the off-chain business is real and valid, and trace the source of each real data change on and off the chain to check historical data or find out whether there are counterfeit and forged phenomena. [0003] However, the inventor of this case found the following problems in the existing technology during the research process: for each data that needs to use the verification and traceability technology, a hash will be done to verify whether the data is authentic and valid. O...

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 Patents(China)
IPC IPC(8): G06F16/22G06F16/27G06F21/64G06Q30/00
CPCG06F16/2255G06F16/27G06F21/64G06Q30/0185
Inventor 洪薇洪健李京昆刘文思
Owner 湖北央中巨石信息技术有限公司