A multi-signature consensus method for different application scenarios

By employing a multi-signature consensus method and the application of Merkle trees, the problems of cumbersome CA center operations and high computer performance are solved, enabling convenient digital signatures and multi-label consensus, which are suitable for various scenarios and IoT devices.

CN114003966BActive Publication Date: 2024-10-22FUZHOU QIYUAN INFORMATION TECHNOLOGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202011466235.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-12-14
Publication Date
2024-10-22
Estimated Expiration
2040-12-14

AI Technical Summary

Technical Problem

Existing CA centers can only identify and authenticate identities, without setting fixed values, making the operation cumbersome, requiring high computer performance, and not based on Merkle trees.

Method used

The multi-signature consensus method is adopted, which reduces the dependence on computers by identifying scenarios, requesting signatures, CA authentication, hashing, building a Merkle tree, verifying contracts and signatures, and introducing a Trusted Platform Module (TPM) to detect data transmission errors using hash functions.

Benefits of technology

It improves the convenience of digital visas, enables their application in different scenarios, reduces computer performance requirements, achieves multi-tag consensus, is suitable for IoT devices, and improves the effectiveness of use.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114003966B_ABST
    Figure CN114003966B_ABST
Patent Text Reader

Abstract

The present invention relates to the field of blockchain technology, and discloses a multi-signature consensus method in different application scenarios, including the following steps, characterized in that: the first step: scenario identification; using the scenario mode received by the CA center; determining which scenario it belongs to; for example; e-commerce, property division or fund supervision, etc.; the second step: signature request; according to the scenario signature request received by the CA center, identification is made and a contract is drafted; the third step: CA certification; using one's own private key to convert the information into plain text. The present invention uses the establishment of a merkle tree to reduce the requirements of the blockchain on computer performance; and then the Ethereum node can be established and run on all devices, even those IoT devices produced by Slock.it; it can improve the convenience of digital visas, and at the same time can achieve multi-label consensus, and can be applied to different scenarios to improve the effect of use.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of blockchain technology, and in particular to a multi-signature consensus method in different application scenarios. Background Art

[0002] From a technological perspective, blockchain involves many scientific and technological issues such as mathematics, cryptography, the Internet, and computer programming; from an application perspective, in simple terms, blockchain is a distributed shared ledger and database with the characteristics of decentralization, immutability, full traceability, traceability, collective maintenance, and openness and transparency. These characteristics ensure the "honesty" and "transparency" of blockchain and lay the foundation for blockchain to create trust. The rich application scenarios of blockchain are basically based on the ability of blockchain to solve the problem of information asymmetry and achieve collaborative trust and concerted action among multiple entities.

[0003] Digital certificates provide electronic authentication for secure communication between two parties. Digital certificates are used to identify and encrypt electronic information on the Internet, company intranets, or extranets. Digital certificates contain identification information of the public key to the owner, and the identity of the certificate holder is authenticated by verifying the authenticity of the identification information.

[0004] The existing CA center can only identify the identity and authenticate the certificate holder; however, the existing one does not set a fixed value; and is not based on the merkle tree; and its operation is cumbersome during use; and it has high requirements on computer performance; for this reason, the present invention introduces a multi-signature consensus method in different application scenarios. Summary of the invention

[0005] The present invention provides a multi-signature consensus method in different application scenarios, which has the advantages of improving the convenience of digital visas, realizing multi-label consensus, and being applicable to different scenarios to improve the effect of use, and solves the problems that the existing CA center can only identify the identity and authenticate the certificate holder; but the existing one does not set a fixed value; and is not based on the merkle tree; and its operation is relatively cumbersome during use; and has high requirements on computer performance.

[0006] The present invention provides the following technical solution: a multi-signature consensus method in different application scenarios, comprising the following steps, characterized in that: the first step: scene identification;

[0007] Using the scenario model received by the CA center, determine which scenario it belongs to, for example, e-commerce, property division or fund supervision, etc.

[0008] Step 2: Signature request;

[0009] According to the scene signature request received by the CA center, the CA center will identify and draft the contract;

[0010] Step 3: CA certification;

[0011] Use your own private key to convert the information into plain text; use the sender's public key to obtain the original summary from the digital signature part; the recipient performs a hash operation on the source information you sent and also generates a summary; the recipient compares the two summaries, and if the two are the same, the identity of the signer of the information can be proved;

[0012] Step 4: Calculate the hash value;

[0013] The hash algorithm transforms the message into a fixed-length output, which is the hash value. The hash value space is usually much smaller than the input space. Different inputs may hash to the same output, so it is impossible to determine the unique input value from the hash value. It is a function that compresses a message of any length into a message digest of a fixed length.

[0014] Step 5: Create a merkle tree;

[0015] By establishing a merkle tree, the blockchain can reduce its dependence on computer operation. The merkle tree is an important data structure of the blockchain, which is used to quickly summarize and verify the existence and integrity of block data. It relies on splitting these data "blocks" into smaller units of data blocks. Each bucket block contains only a few data "blocks", and then taking each bucket unit data block and hashing it again, repeating the same process until the total number of remaining hashes becomes only 1.

[0016] Step 6: Verify the contract;

[0017] The CA center distributes the contract and merkle tree to other signers one by one, and other signers verify the contract and merkle tree;

[0018] Step 7: Calculate the signature;

[0019] After verification, sign it and add the signature to the leaf of the merkle tree.

[0020] Preferably, establishing a merkle tree can reduce the blockchain's dependence on computers and enable rapid summarization of information.

[0021] Preferably, the distribution is carried out one by one, which can reduce errors in the distribution process and improve the accuracy rate.

[0022] Preferably, the trusted computing technology introduces a trusted platform module (Trusted Platform, TPM) in the hardware layer of the computing platform, which actually provides a hardware-based root of trust (Root of trust, RoT) for the computing platform; starting from the root of trust and using the trust chain transfer mechanism, the trusted computing technology can implement layer-by-layer integrity measurement of the hardware and software of the local platform, and reliably save the measurement results in the platform configuration register (Platform configuration register, PCR) of the TPM. Thereafter, the remote computing platform can compare the measurement results in the local PCR through the remote authentication mechanism (Remote Attestation), thereby verifying the credibility of the local computing platform.

[0023] Preferably, the search process of the hash table is substantially the same as the table creation process. Some key codes can be directly found through the address converted by the hash function, while other key codes conflict with the address obtained by the hash function and need to be searched according to the conflict handling method.

[0024] Preferably, the use of a hash function can intuitively detect errors that occur during data transmission. At the data sender, the hash function is applied to the data to be sent, and the calculated result is sent together with the original data. At the data receiver, the same hash function is applied to the received data again. If the results calculated by the two hash functions are inconsistent, it means that there is an error somewhere in the data transmission process.

[0025] The present invention has the following beneficial effects:

[0026] 1. This multi-signature consensus method in different application scenarios uses the establishment of a merkle tree to reduce the blockchain's requirements for computer performance. Ethereum nodes can then be established and run on all devices, even those IoT devices produced by Slock.it. It can improve the convenience of digital visas, while achieving multi-label consensus, and can be applied to different scenarios to improve the effectiveness of use. BRIEF DESCRIPTION OF THE DRAWINGS

[0027] Figure 1 It is a schematic diagram of the process of the present invention. DETAILED DESCRIPTION

[0028] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0029] See also Figure 1 ,A multi-signature consensus method in different application scenarios,A multi-signature consensus method in different application scenarios, including the following steps, characterized in that: the first step: scene identification;

[0030] Using the scenario model received by the CA center, determine which scenario it belongs to, for example, e-commerce, property division or fund supervision, etc.

[0031] Step 2: Signature request;

[0032] According to the scene signature request received by the CA center, the CA center will identify and draft the contract;

[0033] Step 3: CA certification;

[0034] Use your own private key to convert the information into plain text; use the sender's public key to obtain the original summary from the digital signature part; the recipient performs a hash operation on the source information you sent and also generates a summary; the recipient compares the two summaries, and if the two are the same, the identity of the signer of the information can be proved;

[0035] Step 4: Calculate the hash value;

[0036] The hash algorithm transforms the message into a fixed-length output, which is the hash value. The hash value space is usually much smaller than the input space. Different inputs may hash to the same output, so it is impossible to determine the unique input value from the hash value. It is a function that compresses a message of any length into a message digest of a fixed length.

[0037] Step 5: Create a merkle tree;

[0038] By establishing a merkle tree, the blockchain can reduce its dependence on computer operation. The merkle tree is an important data structure of the blockchain, which is used to quickly summarize and verify the existence and integrity of block data. It relies on splitting these data "blocks" into smaller units of data blocks. Each bucket block contains only a few data "blocks", and then taking each bucket unit data block and hashing it again, repeating the same process until the total number of remaining hashes becomes only 1.

[0039] Step 6: Verify the contract;

[0040] The CA center distributes the contract and merkle tree to other signers one by one, and other signers verify the contract and merkle tree;

[0041] Step 7: Calculate the signature;

[0042] After verification, sign it and add the signature to the leaf of the merkle tree.

[0043] Among them; the establishment of the merkle tree can reduce the blockchain's dependence on computers and can quickly summarize information.

[0044] Among them, the one-by-one distribution method can reduce errors in the distribution process and improve the accuracy rate.

[0045] Among them; the trusted computing technology introduces a trusted platform module (Trusted Platform, TPM) in the hardware layer of the computing platform, which actually provides a hardware-based trusted root (Root of trust, RoT) for the computing platform; starting from the trusted root and using the trust chain transmission mechanism, the trusted computing technology can implement layer-by-layer integrity measurement of the hardware and software of the local platform, and reliably save the measurement results in the platform configuration register (Platform configuration register, PCR) of the TPM. After that, the remote computing platform can compare the measurement results in the local PCR through the remote authentication mechanism (Remote Attestation), thereby verifying the credibility of the local computing platform.

[0046] The search process of the hash table is basically the same as the table creation process. Some key codes can be directly found through the address converted by the hash function, while other key codes have conflicts on the addresses obtained by the hash function and need to be searched according to the conflict handling method.

[0047] Among them, the use of a hash function can intuitively detect errors that occur during data transmission. At the data sender, the hash function is applied to the data to be sent, and the calculated result is sent together with the original data. At the data receiver, the same hash function is applied to the received data again. If the results calculated by the two hash functions are inconsistent, it means that there is an error somewhere in the data transmission process.

[0048] Among them, by establishing a merkle tree, the blockchain's requirements for computer performance are reduced, so that Ethereum nodes can be established and run on all devices, even those IoT devices produced by Slock.it; it can improve the convenience of digital visas, while achieving multi-label consensus, and can be applied to different scenarios to improve the effect of use.

[0049] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device.

[0050] Although embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that various changes, modifications, substitutions and variations may be made to the embodiments without departing from the principles and spirit of the present invention, and that the scope of the present invention is defined by the appended claims and their equivalents.

Claims

1. A multi-signature consensus method in different application scenarios, comprising the following steps, characterized in that: Step 1: Scene recognition; Using the scene mode received by the CA center; Determine which scenario it belongs to; Step 2: Signature request; According to the scene signature request received by the CA center, the CA center will identify and draft the contract; Step 3: CA certification; Use your own private key to convert the information into plain text; use the sender's public key to get the original summary from the digital signature part; the recipient performs a hash operation on the source information you sent and also generates a summary; the recipient compares the two summaries, and if the two are the same, the identity of the signer of the information is proved; Step 4: Calculate the hash value; Transformed into a fixed-length output through a hash algorithm, the output is the hash value; The space of hash values ​​is usually much smaller than the space of inputs; The hash table search process is basically the same as the table creation process; Some key codes are directly found through the address converted by the hash function, while other key codes have conflicts on the addresses obtained by the hash function and need to be found according to the conflict handling method; Using a hash function is a very intuitive way to detect errors in data transmission. At the data sender, the hash function is applied to the data to be sent, and the result of the calculation is sent together with the original data. At the data receiver, the same hash function is applied to the received data again. If the results of the two hash functions are inconsistent, then it means that there is an error somewhere in the data transmission process. Step 5: Create a merkle tree; By establishing a merkle tree, the blockchain's dependence on computer operation can be reduced. The merkle tree is an important data structure of the blockchain, and its function is to quickly summarize and verify the existence and integrity of block data. It relies on splitting these data "blocks" into smaller units of data blocks. Each bucket block contains only a few data "blocks". Then each bucket unit data block is hashed again, and the same process is repeated until the total number of remaining hashes becomes only 1. Step 6: Verify the contract; The CA center distributes the contract and merkle tree to other signers one by one, and other signers verify the contract and merkle tree; Step 7: Calculate the signature; After verification, sign it and add the signature to the leaf of the merkle tree.