A two-stage hash chain storage method for data or files

A two-stage, chain-based certificate storage technology, which is applied to the field of two-stage hash chain storage of data or files, which can solve the problems of no data errors, and the inability to prevent files from being tampered with.

Active Publication Date: 2022-06-24
ZEU CRYPTO NETWORKS INC +1
View PDF7 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, this one-time certificate storage scheme cannot prevent the file from being tampered with during the upload process, and there is currently no effective solution to the data error problem that occurs during the chaining process

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 two-stage hash chain storage method for data or files

Examples

Experimental program
Comparison scheme
Effect test

Embodiment

[0072] User A uploads the credential material F1 to the blockchain client C through the mobile APP client, and the blockchain client C calculates the hash value of the credential material F1 through the hash algorithm, that is, H1= HashF1, the hash algorithm can be It is an algorithm such as SHA-512 and SHA-384. The blockchain client C puts the file F1, the hash value H1 calculated by the file F1, and the current timestamp T1 into the block in the form of a transaction, and broadcasts the constructed block to each consensus of the blockchain B node.

[0073] After receiving the block, each consensus node of blockchain B verifies the transaction file F1, file F1 hash value and timestamp in the block. The verification includes signature verification and file hash verification, and sends the verification result to Each blockchain consensus node. Each blockchain consensus node votes after receiving the verification results. For transactions that pass the vote, the blockchain gen...

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 present invention provides a two-stage hash chain storage method for data or files, wherein the first hash storage calculation process includes: obtaining the first hash value after calculating the hash of the uploaded first file (F1) (H1), and mark the first timestamp (T1); store the first hash value (H1) and the first timestamp (T1) on the blockchain of the blockchain traceability system at the same time; the second hash The storage calculation process includes: attaching the first hash value (H1) and blockchain additional information (Z) to the first file (F1) to obtain the second file (F2); ) hash calculation to obtain the second hash value (H2), and mark the second time stamp (T2); store the second hash value (H2) and the second time stamp (T2) in the blockchain traceability system at the same time on the blockchain. The blockchain traceability system simultaneously stores information in three dimensions: file, file hash, and timestamp, to solve the problem of data errors during the chaining process.

Description

technical field [0001] The invention belongs to the technical field of blockchain and computer storage systems, and particularly relates to a protocol technology involved in an on-chain certificate deposit system, that is, a two-segment hash on-chain certificate deposit method for data or files. Background technique [0002] Blockchain is a distributed ledger system that is jointly maintained by multiple nodes. The blockchain records all the information about transactions that take place, and once the data is in the blockchain, even internal staff cannot make any changes in the blockchain. This immutability does not come from using some kind of operation, but from the blockchain system and mechanism itself. This makes the use of blockchain technology easier and more effective than other security technologies. Wherever justice, fairness and honesty are required, blockchain technology can be used. [0003] Although the blockchain has a good storage structure and security me...

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): G06F21/62G06F21/64
CPCG06F21/6218G06F21/64
Inventor 蔡维德
Owner ZEU CRYPTO NETWORKS 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