A method and device for generating and verifying data of blockchain

CN114153849BActive Publication Date: 2024-08-23WEBANK (CHINA)
-1 Cites -1 Cited by

Patent Information

Application Number
CN202111457563.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-12-02
Publication Date
2024-08-23
Estimated Expiration
2041-12-02

AI Technical Summary

Technical Problem

In the existing technology, the efficiency of generating or verifying the root hash value of the Merkle tree is low, especially in the case of distributed deployment, the amount of data transmission is large, resulting in low computing efficiency.

Method used

By obtaining the hash value of the node at the same level in the Merkel tree and performing a preset operation, the third hash value is generated or verified, and the hash value is used to generate or verify the root hash value to satisfy the commutative law input data amount. It is larger than the data volume of the operation result, reducing the amount of data transmission and calculation.

Benefits of technology

It improves the efficiency of Merkel tree root hash value generation and verification, reduces data transmission overhead and the amount of data in the calculation process, and improves the efficiency of blockchain data generation and verification.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114153849B
    Figure CN114153849B
Patent Text Reader

Abstract

The present invention discloses a data generation and verification method and device for a blockchain, wherein the method is as follows: a first device obtains a first hash value of a first node and a second hash value of a second node; the first node and the second node are nodes at the same level in a Merkle tree to be generated; the first device obtains a third hash value according to the first hash value and the second hash value in accordance with a preset operation; the amount of data input to the preset operation is greater than the amount of data of the result of the preset operation, and the preset operation satisfies the commutative law; if the first device is not a device corresponding to the root node of the Merkle tree to be generated, the first device sends the third hash value to a second device, and the node corresponding to the second device includes the parent node of the first node and the second node. The above method can be applied to financial technology (Fintech).
Need to check novelty before this filing date? Find Prior Art