Endorsement signature compression method on block chain, electronic equipment and storage medium

A compression method and blockchain technology, applied in the field of blockchain, can solve the problems of large amount of endorsement signature collection data, unfavorable efficient block dissemination, storage, and increase of block data size, etc., and achieve the effect of efficient endorsement signature

Pending Publication Date: 2021-04-20
METERTEK TECH INC
View PDF0 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

In the existing technology, the endorsement signature set has a large amount of data. These data are indispensable as part of the transaction, which increases the size of the block data, which is not conduci

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
  • Endorsement signature compression method on block chain, electronic equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Example Embodiment

[0044] Embodiment 1. In the first aspect, the present invention provides a method for compressing an endorsement signature on a blockchain, such as figure 1 shown, including the following steps:

[0045] S1) Extract the transaction Tx and the endorsement policy Pol, the endorsement policy Pol includes the endorsement node set and the endorsement rules; the transaction Tx is the transaction content, and the transaction content includes the transaction data and the signature of the transaction initiator;

[0046] S2) Take the transaction Tx and the endorsement policy Pol as the input of the smart contract, and use the smart contract to obtain the number n of all endorsement nodes and the threshold t of the number of endorsement nodes that can restore the held sub-secret to the shared data, and obtain the same number as all endorsement nodes. n output messages corresponding to endorsement nodes, t≤n, n is the total number of endorsement nodes participating in endorsement in the e...

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 relates to the field of block chains, and discloses an endorsement signature compression method on a block chain, electronic equipment and a storage medium, and the method comprises the steps: extracting a transaction and endorsement strategy, and obtaining n output messages corresponding to all endorsement nodes and the number threshold t of the endorsement nodes through employing an intelligent contract; sending the n output messages to an endorsement node; enabling the endorsement node agreeing to initiate the transaction to perform the endorsement transaction to obtain an endorsement result of the endorsement node agreeing to initiate the transaction; judging whether the number of a plurality of endorsement results collected in a preset duration reaches a number threshold t or not; utilizing a secret sharing module to obtain recovery data k' according to t endorsement results; verifying the recovery data k '; and generating a transaction which can be finally linked. According to the method, the endorsement signature set is compressed into a constant, the correctness of the endorsement signature set can be directly verified through the constant, endorsement signature verification is efficient, and the size of the compressed endorsement signature set and endorsement signature verification efficiency are not affected by the number of nodes.

Description

technical field [0001] The invention relates to the field of blockchain, in particular to an endorsement signature compression method on the blockchain, electronic equipment and a storage medium. Background technique [0002] In the existing blockchain system, the data structure of transactions on the chain, that is, the main fields of transactions containing endorsement policies include transaction content, endorsement policies, and collected endorsement signatures. The signature of the payload, the endorsement policy includes the endorsement rules and the set of endorsement nodes. Wherein, the size of each endorsement signature (ignoring the identity information of the signer) is 512 bits, that is, two 256-bit constants output by the signature algorithm. The transaction verification process is: (1) verify the legality of the transaction initiator’s identity according to the transaction signature; (2) verify the correctness of the endorsement policy according to the actual...

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): G06Q20/38
Inventor 胡建鑫付正陈冬曾凡华
Owner METERTEK TECH 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