Movatterモバイル変換


[0]ホーム

URL:


CN109165944B - Multi-party signature authentication method, device, equipment and storage medium based on block chain - Google Patents

Multi-party signature authentication method, device, equipment and storage medium based on block chain
Download PDF

Info

Publication number
CN109165944B
CN109165944BCN201810956859.8ACN201810956859ACN109165944BCN 109165944 BCN109165944 BCN 109165944BCN 201810956859 ACN201810956859 ACN 201810956859ACN 109165944 BCN109165944 BCN 109165944B
Authority
CN
China
Prior art keywords
transaction
block chain
transaction information
participant
information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201810956859.8A
Other languages
Chinese (zh)
Other versions
CN109165944A (en
Inventor
李东奇
张晴
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
JD Digital Technology Holdings Co Ltd
Jingdong Technology Holding Co Ltd
Original Assignee
JD Digital Technology Holdings Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by JD Digital Technology Holdings Co LtdfiledCriticalJD Digital Technology Holdings Co Ltd
Priority to CN201810956859.8ApriorityCriticalpatent/CN109165944B/en
Publication of CN109165944ApublicationCriticalpatent/CN109165944A/en
Application grantedgrantedCritical
Publication of CN109165944BpublicationCriticalpatent/CN109165944B/en
Activelegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Images

Classifications

Landscapes

Abstract

The invention provides a multi-party signature authentication method, a device, equipment and a storage medium based on a block chain, wherein any party in a block chain network can be used as a transaction initiator to generate transaction information, the transaction information is broadcasted to all parties in the block chain network through point-to-point communication, the transaction information is broadcasted to all parties through point-to-point communication after voting and signature are carried out by all the parties, then the transaction initiator collects voting results of all the parties, transaction blocks are generated according to the voting results and transaction information texts, and the transaction blocks are issued to a block chain, so that a multi-party endorsement process is completed, a centralized management platform is not required to be arranged, the multi-party endorsement process is simplified, the process time is shortened, and the transaction efficiency is improved.

Description

Multi-party signature authentication method, device, equipment and storage medium based on block chain
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a method, an apparatus, a device, and a storage medium for authenticating a multi-party signature based on a block chain.
Background
With the continuous development of the internet, a block chain technology is produced, and the block chain technology is an internet database technology and has the characteristics of decentralization, openness and transparency. In particular, the essence of blockchain technology is a decentralized and distributed approach to data storage, transmission and certification, replacing the current internet dependency on a central server with data blocks, such that all data changes or transaction items are recorded on a cloud system. Since there is no distributed peer-to-peer network of central control points and a distributed collective operation method is used, it can be said that the blockchain is an account book disclosed on the network. The system has a plurality of nodes, each node can observe the whole ledger and participate in maintenance together, the income is the right of obtaining accounting, a complete database can be copied, and a single node cannot modify the database, so that the safety and reliability of ledger data are ensured.
In the existing blockchain technology, many important transactions in the blockchain require multi-party endorsements to pass, for example, the configuration of the blockchain network is changed. In the prior art, the collection process of multi-party endorsements is generally divided into two types, one is manual collection, and the other is that a centralized management platform initiates transactions and collects endorsement results. The collection process of the multi-side endorsement in the prior art has the problems of long process time and centralized transaction execution process, and reduces the transaction efficiency.
Disclosure of Invention
The invention provides a multi-party signature authentication method, device, equipment and storage medium based on a block chain, which are used for simplifying the flow of multi-party endorsement and shortening the flow time, thereby improving the transaction efficiency and needing no centralized management platform.
In a first aspect, an embodiment of the present invention provides a multi-party signature authentication method based on a block chain, including:
a transaction initiator generates transaction information, wherein the transaction initiator is any participant in a block chain network;
the transaction initiator broadcasts the transaction information to each participant of the block chain network through point-to-point communication so that each participant votes on the transaction information, signs the transaction information according to a voting result, and broadcasts the signed transaction information to each participant through point-to-point communication;
the transaction initiator acquires signed transaction information broadcast by each participant, and acquires a voting result of each participant after signature verification;
and the transaction initiator generates a transaction block according to the voting result of each participant and the transaction information text and issues the transaction block to a block chain.
Further, the transaction initiator generates transaction information, including:
the transaction initiator acquires blockchain configuration information from the blockchain;
the transaction initiator acquires the certificate information of each participant of the blockchain from the blockchain and compares the certificate information with the locally stored certificate information of each participant;
and if the comparison is consistent, the transaction initiator modifies the block chain configuration information according to the configuration required to be changed, so that the transaction information is generated.
Further, before the transaction initiator broadcasts the transaction information to each participant of the blockchain network through point-to-point communication, the method further includes:
and the transaction initiator signs the transaction information according to the local signature certificate and the private key so that each participant can judge the validity of the transaction information and verify the identity of the transaction initiator after receiving the transaction information.
Further, after the transaction initiator obtains the voting results of each participant, before the transaction initiator generates a transaction block according to the voting results of each participant and the transaction information text, the method further includes:
the transaction initiator judges whether the transaction information is declared to pass according to the voting result of each participant; if the transaction block is not passed, the generation of the transaction block is stopped.
In a second aspect, an embodiment of the present invention provides a block chain-based multi-party signature authentication method, including:
a participant of a block chain network receives transaction information broadcasted by a transaction initiator through point-to-point communication, wherein the transaction initiator is any participant in the block chain network;
voting the transaction information by the participant of the block chain network, and signing the transaction information according to a voting result;
and the participants of the block chain network broadcast the signed transaction information to all the participants of the block chain network through point-to-point communication, so that the transaction initiator acquires the signed transaction information broadcast by all the participants, acquires the voting result of all the participants after signature verification, generates a transaction block according to the voting result of all the participants and the original text of the transaction information, and releases the transaction block to a block chain.
Further, the voting of the participant of the block chain network on the transaction information and the signature of the transaction information according to the voting result include:
if the participator of the block chain network agrees with the transaction information, directly signing the transaction information;
and if the participator of the block chain network does not agree with the transaction information, adding a disagreement reason field in the transaction information and carrying out signature.
Further, before the participant of the block chain network votes on the transaction information, the method further includes:
and the participator of the block chain network carries out validity judgment and identity verification of the transaction initiator on the transaction information.
In a third aspect, an embodiment of the present invention provides a multi-party signature authentication apparatus based on a block chain, including:
the transaction generation module is used for generating transaction information, wherein the transaction initiator is any participant in the block chain network;
the communication module is used for broadcasting the transaction information to each participant of the block chain network through point-to-point communication so that each participant votes on the transaction information, signs the transaction information according to a voting result, and broadcasts the signed transaction information to each participant through point-to-point communication;
the communication module is also used for acquiring signed transaction information broadcasted by each participant;
the processing module is used for acquiring voting results of all participants after signature verification; and generating a transaction block according to the voting result and the transaction information text of each participant, and issuing the transaction block to a block chain.
Further, the transaction generation module is configured to:
acquiring block chain configuration information from the block chain;
acquiring certificate information of each participant of the blockchain from the blockchain, and comparing the certificate information with locally stored certificate information of each participant;
and if the comparison is consistent, modifying the block chain configuration information according to the configuration needing to be changed, thereby generating the transaction information.
Further, the processing module is further configured to:
before a transaction initiator broadcasts the transaction information to each participant of the block chain network through point-to-point communication, the transaction information is signed according to a local signature certificate and a private key, so that each participant can judge the validity of the transaction information and verify the identity of the transaction initiator after receiving the transaction information.
Further, the processing module is further configured to:
judging whether the transaction information is declared to pass or not according to voting results of all participants; if the transaction block is not passed, the generation of the transaction block is stopped.
In a fourth aspect, an embodiment of the present invention provides a multi-party signature authentication apparatus based on a block chain, including:
the system comprises a communication module, a point-to-point communication module and a point-to-point communication module, wherein the communication module is used for receiving transaction information broadcasted by a transaction initiator through point-to-point communication, and the transaction initiator is any participant in a block chain network;
the processing module is used for voting the transaction information and signing the transaction information according to a voting result;
the communication module is further used for broadcasting the signed transaction information to each participant of the block chain network through point-to-point communication, so that the transaction initiator acquires the signed transaction information broadcast by each participant, acquires a voting result of each participant after signature verification, generates a transaction block according to the voting result of each participant and a transaction information original text, and distributes the transaction block to a block chain.
Further, the processing module is configured to:
if the transaction information is agreed, directly signing the transaction information;
and if the transaction information is not approved, adding a non-approval reason field in the transaction information and carrying out signature.
Further, the processing module is further configured to:
and carrying out validity judgment and identity verification of a transaction initiator on the transaction information.
In a fifth aspect, an embodiment of the present invention provides a multi-party signature authentication device based on a block chain, including: a memory; a processor; and a computer program;
wherein the computer program is stored in the memory and configured to be executed by the processor to implement the method of the first aspect.
In a sixth aspect, an embodiment of the present invention provides a multi-party signature authentication device based on a block chain, including: a memory; a processor; and a computer program;
wherein the computer program is stored in the memory and configured to be executed by the processor to implement the method of the second aspect.
In a seventh aspect, an embodiment of the present invention provides a computer-readable storage medium, on which a computer program is stored;
which when executed by a processor implements the method according to the first aspect.
In an eighth aspect, an embodiment of the present invention provides a computer-readable storage medium on which a computer program is stored;
which when executed by a processor implements the method according to the second aspect.
Any party in a block chain network can be used as a transaction initiator to generate transaction information, the transaction information is broadcasted to all parties in the block chain network through point-to-point communication, the transaction information is broadcasted to all parties through point-to-point communication after voting and signing are carried out by all parties, then the transaction initiator collects voting results of all parties, transaction blocks are generated according to the voting results and transaction information text, and the transaction blocks are published to a block chain, so that a multi-party endorsement process is completed, a centralized management platform is not required to be arranged, the multi-party endorsement process is simplified, the process time is shortened, and the transaction efficiency is improved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to these drawings without creative efforts.
Fig. 1 is a flowchart of a block chain-based multi-party signature authentication method according to an embodiment of the present invention;
FIG. 2 is a flowchart of a block chain-based multi-party signature authentication method according to another embodiment of the present invention;
FIG. 3 is a flowchart of a block chain-based multi-party signature authentication method according to another embodiment of the present invention;
fig. 4 is a block diagram of a multi-party signature authentication apparatus based on a block chain according to an embodiment of the present invention;
FIG. 5 is a block diagram of a multi-party signature authentication device based on a block chain according to another embodiment of the present invention;
fig. 6 is a block diagram of a multi-party signature authentication apparatus based on a block chain according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Fig. 1 is a flowchart of a block chain-based multi-party signature authentication method according to an embodiment of the present invention. The embodiment provides a multi-party signature authentication method based on a block chain, wherein an execution subject is a transaction initiator, and the method comprises the following specific steps:
s101, a transaction initiator generates transaction information, wherein the transaction initiator is any participant in a block chain network.
In this embodiment, the transaction initiator is any one of the participants in the blockchain network, and when the transaction initiator needs to change the configuration in the blockchain network, for example, a new participant is added to the blockchain network or an existing participant is deleted, or a certificate is changed, the transaction initiator generates transaction information according to the configuration that needs to be changed. Specifically, for example, a new participant is added to the blockchain network, the new participant initiates an application to the transaction initiator or the transaction initiator initiates an invitation to the new participant, and then the transaction initiator acquires information such as a certificate of the new participant, generates transaction information, and then performs subsequent multi-party endorsement. If the block chain network deletes the existing participant, the transaction initiator can generate transaction information according to the certificate and other information of the participant to be deleted, and then perform subsequent multi-party endorsement, and certainly, the transaction initiator can also delete itself from the block chain network.
S102, the transaction initiator broadcasts the transaction information to all the participants of the block chain network through point-to-point communication so that each participant votes on the transaction information, signs the transaction information according to the voting result, and broadcasts the signed transaction information to all the participants through point-to-point communication.
In this embodiment, since only the transaction information is usually issued in the blockchain network, particularly in the alliance chain network, and the multi-party signature authentication process cannot be performed, the transaction initiator broadcasts the transaction information to each participant of the blockchain network through point-to-point communication, and each participant votes the transaction information after receiving the transaction information and signs the transaction information according to the voting result, specifically, for example, an agreement or different fields may be added to the transaction information and then signature information thereof is added, or the signature information thereof may be directly added to the transaction information under the agreement condition, and an agreement reason field is added to the transaction information and then signature information thereof under the disagreement condition. The signed transaction information is broadcast to each participant via point-to-point communication after the participants have completed signing. It should be noted that, since the transaction initiator is also a participant in the block chain network, the transaction initiator may also broadcast the transaction information signed after voted by the transaction initiator, and certainly, since the transaction information is generated by the transaction initiator, it may be default that the transaction information itself agrees to the transaction information, or the transaction information signed after voted by the transaction initiator may not be broadcast separately, or the agreement field and the signature information thereof are added directly when the transaction information is generated.
In addition, it should be noted that the peer-to-peer communication is pre-constructed for each participant of the blockchain network, and one or more participants are selected as a seed node to provide a service address of the peer-to-peer communication between the participants, and any participant can obtain the service addresses of other participants from the seed node to establish the peer-to-peer communication. When a new participant joins in, an address acquisition request can be sent to the seed node, wherein the address acquisition request comprises a service address of the new participant and an MSPID (multiple subscriber identity identifier) of the new participant, and the MSPID is a unique identifier of the participant in the block chain; the seed node broadcasts the address and MSPID of the new participant to all participants of the blockchain through point-to-point communication, so that each participant of the blockchain establishes point-to-point communication with the new participant and exchanges certificates.
S103, the transaction initiator acquires the signed transaction information broadcasted by each participant, and acquires the voting result of each participant after the signature is verified.
In this embodiment, because each participant broadcasts the signed transaction information to each participant through point-to-point communication, and the transaction initiator is also a participant in the block chain network, the transaction initiator may acquire the signed transaction information broadcast by all participants, then verify the signature of each participant to confirm the identity of each participant, and then acquire the voting result, that is, the transaction initiator summarizes the voting result of each participant. Specifically, the signature of each participant is verified, the signature information may be extracted from each signed transaction information, and then compared with the certificate information of each participant locally stored by the transaction initiator, and if the comparison is consistent, it is determined that the participant belongs to the local blockchain network.
And S104, the transaction initiator generates a transaction block according to the voting result of each participant and the transaction information text, and issues the transaction block to a block chain.
In this embodiment, the transaction initiator may generate a transaction block according to the signature of the participant and the original text of the transaction information, and issue the transaction block to the blockchain, and whether the blockchain network can perform configuration change according to the transaction block may be determined according to the intelligent contract of the blockchain. Certainly, the transaction initiator may determine whether to continue generating the transaction block and issue the transaction block to the block chain according to the voting result, for example, when the ratio of the participants who agree with the transaction information to all the participants is higher than a preset threshold, the transaction block is generated and issued to the block chain, and when the ratio is lower than the preset threshold, the process may be ended.
In the multi-party signature authentication method based on the block chain, any party in the block chain network can be used as a transaction initiator to generate transaction information, the transaction information is broadcasted to all parties in the block chain network through point-to-point communication, the transaction information is broadcasted to all parties through point-to-point communication after all parties vote and sign, then the transaction initiator collects the voting results of all parties, a transaction block is generated according to the voting results and the original text of the transaction information, and the transaction block is published to the block chain, so that the multi-party endorsement process is completed, a centralized management platform is not required to be arranged, the multi-party endorsement process is simplified, the process time is shortened, and the transaction efficiency is improved.
On the basis of the foregoing embodiment, as shown in fig. 2, the generating of the transaction information by the transaction initiator in S101 specifically includes:
s1011, the transaction initiator obtains the block chain configuration information from the block chain.
In this embodiment, since the transaction initiator needs to change the configuration in the blockchain network, it needs to first acquire the current blockchain configuration information from the blockchain.
S1012, the transaction initiator acquires the certificate information of each participant of the blockchain from the blockchain and compares the certificate information with the locally stored certificate information of each participant.
In this embodiment, the transaction initiator further needs to acquire the certificate information of each participant of the blockchain from the blockchain, and of course, if the blockchain configuration information includes the certificate information of each participant of the blockchain, S1012 may not be performed, or S1012 is to acquire the certificate information of each participant of the blockchain from the blockchain configuration information. After the transaction initiator acquires the certificate information of each participant in the block chain, the certificate information is compared with the locally stored certificate information of each participant, if the comparison is consistent, the locally stored certificate information of each participant is correct, and after the signed transaction information broadcasted by each participant is subsequently received, the signature can be verified according to the correct certificate information of each participant, so that the identity of each participant is confirmed. The certificate information may be msp (membership Service provider) information, that is, a combination of identity information in the blockchain, which includes a signature certificate, a communication certificate, a signature root certificate, and a communication root certificate. In addition, since the transaction initiator may belong to different blockchain networks at the same time, and certificate information of different blockchain network participants may be locally stored, the transaction initiator needs to screen out certificate information of each participant of the blockchain from locally stored certificate information according to the certificate information of each participant acquired from the blockchain.
And S1013, if the comparison is consistent, the transaction initiator modifies the block chain configuration information according to the configuration required to be changed, so as to generate the transaction information.
In this embodiment, after the comparison is consistent, the transaction initiator modifies the block chain configuration information according to the configuration to be changed, thereby generating the transaction information. Of course, if the comparison is inconsistent, the transaction initiator needs to update the locally stored certificate information of each participant according to the certificate information of each participant in the blockchain acquired from the blockchain. Further, the transaction initiator signs the transaction information according to the local signature certificate and the private key, so that each participant can perform validity judgment and identity verification on the transaction information after receiving the transaction information. The data structure of the transaction information in this embodiment may be specifically as shown in table 1:
TABLE 1
MSPID
TXID
transactioninfo
signature
The MSPID is the MSPID of a transaction initiator and is used for representing the unique identification of a participant in a block chain, the TXID is a transaction ID, the transactioninfo is transaction content, and the signature is a signature of the initiator on the transaction. Wherein the signature is transmitted after being encoded by Base 64. It should be noted that the blockchain itself requires to fill in the certificate corresponding to the private signature key in the construction, so that the transaction information does not need to be accompanied by the signature certificate of the transaction.
Further, after the transaction initiator obtains the voting results of the participants in S103, and before the transaction initiator generates the transaction block according to the voting results of the participants and the transaction information text in S104, the method may further include:
the transaction initiator judges whether the transaction information is declared to pass according to the voting result of each participant; if the transaction block is not passed, the generation of the transaction block is stopped.
In this embodiment, when the transaction initiator determines that the ratio of the participants who agree with the transaction information to all the participants is lower than the preset threshold according to the result of each participant table, the process may be ended without executing the steps of generating the transaction block and issuing the transaction block to the block chain, thereby avoiding wasting resources. The preset threshold may be set according to actual needs, for example, if all participants must agree to make a decision, the preset threshold may be set to 100%; if agreement is required between the majority of participants, the preset threshold may be set to 50%.
In the multi-party signature authentication method based on the block chain, any party in the block chain network can be used as a transaction initiator to generate transaction information, the transaction information is broadcasted to all parties in the block chain network through point-to-point communication, the transaction information is broadcasted to all parties through point-to-point communication after all parties vote and sign, then the transaction initiator collects the voting results of all parties, a transaction block is generated according to the voting results and the original text of the transaction information, and the transaction block is published to the block chain, so that the multi-party endorsement process is completed, a centralized management platform is not required to be arranged, the multi-party endorsement process is simplified, the process time is shortened, and the transaction efficiency is improved.
Fig. 3 is a flowchart of a block chain-based multi-party signature authentication method according to an embodiment of the present invention. Although the transaction initiator is also a participant of the blockchain network, the execution subject in this embodiment is another participant except the transaction initiator, and it needs to endorse the transaction information broadcast by the transaction initiator. The method in the embodiment specifically comprises the following steps:
s201, a participant of the block chain network receives transaction information broadcasted by a transaction initiator through point-to-point communication, wherein the transaction initiator is any participant in the block chain network.
In this embodiment, when the transaction initiator needs to change the configuration in the blockchain network, for example, a new participant is added to the blockchain network or an existing participant is deleted, or a certificate is changed, the transaction initiator generates transaction information according to the configuration that needs to be changed, and broadcasts the transaction information to each participant of the blockchain network through point-to-point communication, so that the participant of the blockchain network receives the transaction information broadcast by the transaction initiator through the point-to-point communication.
S202, voting is carried out on the transaction information by the participants of the block chain network, and the transaction information is signed according to a voting result.
In this embodiment, after receiving the transaction information, each participant votes on the transaction information, and signs the transaction information according to the result of the voting, specifically, for example, an agreement or different fields may be added to the transaction information and then signature information thereof may be added, or the signature information thereof may be directly added to the transaction information under the agreement condition, or an agreement reason field is added to the transaction information and then signature information thereof is added under the disagreement condition.
S203, the participants of the block chain network broadcast the signed transaction information to the participants of the block chain network through point-to-point communication, so that the transaction initiator acquires the signed transaction information broadcast by the participants, acquires the voting result of the participants after signature verification, generates a transaction block according to the voting result of the participants and the original text of the transaction information, and distributes the transaction block to the block chain.
In this embodiment, the signed transaction information is broadcast to each participant via point-to-point communication after the participants have completed signing. The transaction initiator can acquire the signed transaction information broadcasted by all the participants, then verify the signature of each participant to confirm the identity of each participant, then acquire the voting result, namely the transaction initiator collects the voting result of each participant, then generate a transaction block according to the voting result of each participant and the original text of the transaction information, and release the transaction block to a block chain.
Further, the voting is performed on the transaction information by the participant of the block chain network in S202, and the signing is performed on the transaction information according to a voting result, which may specifically include:
if the participator of the block chain network agrees with the transaction information, directly signing the transaction information;
and if the participator of the block chain network does not agree with the transaction information, adding a disagreement reason field in the transaction information and carrying out signature.
In the embodiment, the signature information is directly added into the transaction information under the condition of agreement, and the disagreement reason field is added into the transaction information and then the signature information is added under the condition of disagreement. In addition, the participator analyzes the transaction information after receiving the transaction information, compares whether the analysis result is consistent with the transaction content, and if not, the transaction can be rejected. The data structure of the signed transaction information may be specifically as shown in table 2:
TABLE 2
MSPID
TXID
transactioninfo
msg
signature
The MSPID is used for representing the unique identification of the participant in the block chain, the TXID is a transaction ID, transactioninfo is transaction content, the msg field is additional information (such as a disagreement reason field or other fields), and the signature is a signature of the participant in the block chain network on the transaction.
Further, before the participant of the block chain network in S202 votes on the transaction information, the method may further include:
and the participator of the block chain network carries out validity judgment and identity verification of the transaction initiator on the transaction information.
In this embodiment, a transaction initiator signs transaction information according to a local signature certificate and a private key before broadcasting the transaction information, and a participant in a blockchain network analyzes the transaction information after receiving the transaction information, acquires a certificate in a transaction and a signature of the transaction, and determines whether the transaction information is initiated by a user corresponding to the certificate; and the participator of the block chain network reads the signature root certificate from the local, then verifies the transaction initiator certificate by using the signature root certificate, and verifies whether the transaction initiator is the participator in the block chain network, thereby improving the security of the transaction.
The block chain-based multi-party signature authentication method on the participant side of the block chain network provided in this embodiment corresponds to the method on the transaction initiator side in the above embodiment, and specific functions thereof are not described herein again.
In the multi-party signature authentication method based on the block chain, any party in the block chain network can be used as a transaction initiator to generate transaction information, the transaction information is broadcasted to all parties in the block chain network through point-to-point communication, the transaction information is broadcasted to all parties through point-to-point communication after all parties vote and sign, then the transaction initiator collects the voting results of all parties, a transaction block is generated according to the voting results and the original text of the transaction information, and the transaction block is published to the block chain, so that the multi-party endorsement process is completed, a centralized management platform is not required to be arranged, the multi-party endorsement process is simplified, the process time is shortened, and the transaction efficiency is improved.
Fig. 4 is a block diagram of a multi-party signature authentication apparatus based on a block chain according to an embodiment of the present invention. The blockchain network networking device may be a transaction initiator in the above embodiments. The block chain-based multi-party signature authentication device provided in this embodiment may execute the processing flow provided by the block chain-based multi-party signature authentication method embodiment on the transaction initiator side, as shown in fig. 3, the block chain-based multi-party signature authentication device includes atransaction generation module 31, acommunication module 32, and aprocessing module 33.
Thetransaction generation module 31 is configured to generate transaction information, where the transaction initiator is any one of participants in a block chain network;
thecommunication module 32 is configured to broadcast the transaction information to each participant of the block chain network through point-to-point communication, so that each participant votes on the transaction information, signs the transaction information according to a voting result, and broadcasts the signed transaction information to each participant through point-to-point communication;
thecommunication module 32 is further configured to obtain signed transaction information broadcasted by each participant;
theprocessing module 33 is configured to obtain voting results of each participant after verifying the signature; and generating a transaction block according to the voting result and the transaction information text of each participant, and issuing the transaction block to a block chain.
Further, thetransaction generation module 31 is configured to:
acquiring block chain configuration information from the block chain;
acquiring certificate information of each participant of the blockchain from the blockchain, and comparing the certificate information with locally stored certificate information of each participant;
and if the comparison is consistent, modifying the block chain configuration information according to the configuration needing to be changed, thereby generating the transaction information.
Further, theprocessing module 33 is further configured to:
before a transaction initiator broadcasts the transaction information to each participant of the block chain network through point-to-point communication, the transaction information is signed according to a local signature certificate and a private key, so that each participant can judge the validity of the transaction information and verify the identity of the transaction initiator after receiving the transaction information.
Further, theprocessing module 33 is further configured to:
judging whether the transaction information is declared to pass or not according to voting results of all participants; if the transaction block is not passed, the generation of the transaction block is stopped.
The block chain-based multi-party signature authentication apparatus provided in the embodiment of the present invention may be specifically configured to execute the method embodiments provided in fig. 1 and fig. 2, and specific functions are not described herein again.
In the multi-party signature authentication device based on the block chain, any party in the block chain network can be used as a transaction initiator to generate transaction information, the transaction information is broadcasted to all parties in the block chain network through point-to-point communication, the transaction information is broadcasted to all parties through point-to-point communication after all parties vote and sign, then the transaction initiator collects the voting results of all parties, a transaction block is generated according to the voting results and the original text of the transaction information, and the transaction block is published to the block chain, so that the multi-party endorsement process is completed, a centralized management platform is not required to be arranged, the multi-party endorsement process is simplified, the process time is shortened, and the transaction efficiency is improved.
Fig. 5 is a block diagram of a multi-party signature authentication apparatus based on a block chain according to an embodiment of the present invention. The device for building a blockchain network may be a participant of a blockchain network in the above embodiments. The multiparty signature authentication device based on the block chain according to this embodiment may perform the processing procedure provided by the above method for authenticating a multiparty signature based on the block chain on the participant side of the block chain network, as shown in fig. 3, the multiparty signature authentication device based on the block chain includes acommunication module 41 and aprocessing module 42.
Acommunication module 41, configured to receive transaction information broadcasted by a transaction initiator through peer-to-peer communication, where the transaction initiator is any participant in a block chain network;
theprocessing module 42 is used for voting the transaction information and signing the transaction information according to a voting result;
thecommunication module 41 is further configured to broadcast the signed transaction information to each participant of the block chain network through point-to-point communication, so that the transaction initiator obtains the signed transaction information broadcast by each participant, obtains a voting result of each participant after verifying the signature, generates a transaction block according to the voting result of each participant and a transaction information original text, and issues the transaction block to the block chain.
Further, theprocessing module 42 is configured to:
if the transaction information is agreed, directly signing the transaction information;
and if the transaction information is not approved, adding a non-approval reason field in the transaction information and carrying out signature.
Further, theprocessing module 42 is further configured to:
and carrying out validity judgment and identity verification of a transaction initiator on the transaction information.
The block chain-based multi-party signature authentication apparatus according to the embodiment of the present invention may be specifically configured to execute the method embodiment provided in fig. 3, and specific functions are not described herein again.
In the multi-party signature authentication device based on the block chain, any party in the block chain network can be used as a transaction initiator to generate transaction information, the transaction information is broadcasted to all parties in the block chain network through point-to-point communication, the transaction information is broadcasted to all parties through point-to-point communication after all parties vote and sign, then the transaction initiator collects the voting results of all parties, a transaction block is generated according to the voting results and the original text of the transaction information, and the transaction block is published to the block chain, so that the multi-party endorsement process is completed, a centralized management platform is not required to be arranged, the multi-party endorsement process is simplified, the process time is shortened, and the transaction efficiency is improved.
It should be noted that, since the transaction initiator may be any one of the participants in the blockchain network, the apparatus shown in fig. 4 and the apparatus shown in fig. 5 may be deployed on the device of any one of the participants in the blockchain network, and the apparatus shown in fig. 4 is used to complete the transaction when a certain participant needs to be used as the transaction initiator, and the apparatus shown in fig. 5 is used to complete the transaction when an endorsement of the transaction information of other transaction initiators is needed.
Fig. 6 is a block diagram of a multi-party signature authentication device based on a block chain according to another embodiment of the present invention. As shown in fig. 6, the present embodiment provides a multi-party signature authentication device based on a block chain, where the device includes: a processor 51; amemory 52; and a computer program.
The computer program is stored in thememory 52 and configured to be executed by the processor 51 to implement the processing procedure of the block chain based multi-party signature authentication method provided in the foregoing embodiment, including the block chain based multi-party signature authentication method of the transaction initiator side and/or the participating party of the block chain network, and the specific functions are not described herein again.
More specifically, the apparatus further includes areceiver 53 and atransmitter 54, and thereceiver 53 and thetransmitter 54, the processor 51, and thememory 52 are connected by a bus.
Another embodiment of the present invention also provides a computer-readable storage medium having a computer program stored thereon; the computer program, when executed by a processor, implements the method as described in the above embodiments of the transaction initiator side blockchain-based multi-party signature authentication method.
Another embodiment of the present invention also provides a computer-readable storage medium having a computer program stored thereon; the computer program, when executed by a processor, implements a method as described in the above embodiments of a blockchain based multiparty signature authentication method on a participant side of a blockchain network.
In the embodiments provided in the present invention, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, or in a form of hardware plus a software functional unit.
The integrated unit implemented in the form of a software functional unit may be stored in a computer readable storage medium. The software functional unit is stored in a storage medium and includes several instructions to enable a computer device (which may be a personal computer, a server, or a network device) or a processor (processor) to execute some steps of the methods according to the embodiments of the present invention. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
It is obvious to those skilled in the art that, for convenience and simplicity of description, the foregoing division of the functional modules is merely used as an example, and in practical applications, the above function distribution may be performed by different functional modules according to needs, that is, the internal structure of the device is divided into different functional modules to perform all or part of the above described functions. For the specific working process of the device described above, reference may be made to the corresponding process in the foregoing method embodiment, which is not described herein again.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solution of the present invention, and not to limit the same; while the invention has been described in detail and with reference to the foregoing embodiments, it will be understood by those skilled in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present invention.

Claims (18)

CN201810956859.8A2018-08-212018-08-21Multi-party signature authentication method, device, equipment and storage medium based on block chainActiveCN109165944B (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN201810956859.8ACN109165944B (en)2018-08-212018-08-21Multi-party signature authentication method, device, equipment and storage medium based on block chain

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN201810956859.8ACN109165944B (en)2018-08-212018-08-21Multi-party signature authentication method, device, equipment and storage medium based on block chain

Publications (2)

Publication NumberPublication Date
CN109165944A CN109165944A (en)2019-01-08
CN109165944Btrue CN109165944B (en)2021-01-26

Family

ID=64896348

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN201810956859.8AActiveCN109165944B (en)2018-08-212018-08-21Multi-party signature authentication method, device, equipment and storage medium based on block chain

Country Status (1)

CountryLink
CN (1)CN109165944B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
US11947523B2 (en)2022-03-172024-04-02International Business Machines CorporationMulti-party transactions in a computerized database

Families Citing this family (15)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN109936457B (en)*2019-02-202022-04-26深圳前海微众银行股份有限公司Block chain multi-party witness method, device, equipment and computer readable storage medium
CN109902109B (en)*2019-02-202021-04-30北京邮电大学Multi-party collaborative data mining method and device
CN110060056A (en)*2019-03-182019-07-26阿里巴巴集团控股有限公司A kind of business confirmation method and system based on block chain intelligence contract
CN111988145B (en)*2019-05-242023-08-04阿里巴巴集团控股有限公司Service authentication and auxiliary certificate application processing method, device and system and electronic equipment
CN112153085B (en)*2019-06-262022-05-17华为技术有限公司Data processing method, node and block chain system
US10951417B2 (en)2019-07-122021-03-16Advanced New Technologies Co., Ltd.Blockchain-based transaction verification
CN110458560B (en)*2019-07-122021-10-12创新先进技术有限公司Method and apparatus for transaction verification
CN110471827B (en)*2019-08-092023-02-17中国信息通信研究院Block chain performance benchmark test method and device
CN110545190B (en)*2019-09-062021-08-13腾讯科技(深圳)有限公司Signature processing method, related device and equipment
CN110634072B (en)*2019-09-202023-06-16余欢 A blockchain transaction system based on multi-signature and hardware encryption
CN111242630A (en)*2019-12-192020-06-05广州宏算信息科技有限公司 A blockchain-based settlement method, device and storage medium
CN111222989B (en)*2019-12-312023-07-07远光软件股份有限公司Transaction method of multi-channel blockchain, electronic equipment and storage medium
CN111831981A (en)*2020-06-022020-10-27深圳价值在线信息科技股份有限公司 Blockchain-based voting signature method, device, equipment and storage medium
CN112328617B (en)*2020-11-192025-01-07杭州趣链科技有限公司 Learning model parameter updating method and electronic device for vertical federated learning
CN114465887B (en)*2021-12-232024-01-23杭州溪塔科技有限公司Block chain configuration management method and device based on git

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
KR101680540B1 (en)*2015-06-182016-11-30주식회사 코인플러그Financial institution document verification system that is based on the block chain
CN106445711B (en)*2016-08-282019-04-30杭州云象网络技术有限公司A kind of Byzantine failure tolerance common recognition method applied to block chain
CN106384236B (en)*2016-08-312019-07-16江苏通付盾科技有限公司Based on the ca authentication management method of block chain, apparatus and system
US10749684B2 (en)*2016-09-302020-08-18Entrust, Inc.Methods and apparatus for providing blockchain participant identity binding
CN107124403A (en)*2017-04-142017-09-01朱清明The generation method and computing device of common recognition block in block chain
CN107273760A (en)*2017-06-092017-10-20济南浪潮高新科技投资发展有限公司One kind is based on many CA application authentication methods of block chain
CN108052530B (en)*2017-11-102020-12-11杭州云象网络技术有限公司Decentralized CA construction method and system based on alliance chain
CN108182635A (en)*2017-12-182018-06-19深圳前海微众银行股份有限公司Block chain common recognition method, system and computer readable storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
US11947523B2 (en)2022-03-172024-04-02International Business Machines CorporationMulti-party transactions in a computerized database

Also Published As

Publication numberPublication date
CN109165944A (en)2019-01-08

Similar Documents

PublicationPublication DateTitle
CN109165944B (en)Multi-party signature authentication method, device, equipment and storage medium based on block chain
US10922772B2 (en)Copyright authorization management method and system
CN109474584B (en)Rule-based block chain network automatic permission joining method
CN109729168B (en)Data sharing exchange system and method based on block chain
CN110990408B (en)Business information collaboration method based on block chain, business system and alliance chain
CN108965469B (en)Dynamic management method, device, equipment and storage medium for members of block chain network
CN103731435A (en)Method and system for implementing social networking group member identity verification mechanism
CN110502927A (en) An information processing method and related device
CN112540926A (en)Resource allocation fairness federal learning method based on block chain
CN109299333B (en)Block chain network account book member management method, device, equipment and storage medium
CN109245897B (en) A node authentication method and device based on non-interactive zero-knowledge proof
CN115688191A (en)Block chain-based electronic signature system and method
CN113904854A (en)Block chain data encryption method and device based on quotient secret algorithm
CN118174888B (en) A decentralized identity authentication service system based on web3.0
CN112861090A (en)Information processing method, device, equipment, storage medium and computer program product
CN115955364B (en)User identity information confidentiality method and system of network bidding transaction system
CN111131318B (en)Decentralized key management and distribution method, system and storage medium
CN119417324A (en) A digital modeling collaborative management method and system based on blockchain
CN117829841A (en)Business transaction supervision method and device based on blockchain and electronic equipment
CN108898531A (en)A kind of benefit information processing system and method based on block chain
CN108173658A (en) A blockchain consistency maintenance method and device
CN116112215B (en) Remote certification method, device, electronic device and storage medium based on alliance chain
CN111083122A (en)Block chain-based electronic evidence processing method and system and storage medium
CN114499872B (en)Starfire chain crossing method and device based on industrial Internet
CN110336778A (en) An identity authentication method, device and system

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination
CB02Change of applicant information
CB02Change of applicant information

Address after:Room 221, 2nd floor, Block C, 18 Kechuang 11th Street, Daxing Economic and Technological Development Zone, Beijing, 100195

Applicant after:JINGDONG DIGITAL TECHNOLOGY HOLDINGS Co.,Ltd.

Address before:Room 221, 2nd floor, Block C, 18 Kechuang 11th Street, Daxing Economic and Technological Development Zone, Beijing, 100195

Applicant before:BEIJING JINGDONG FINANCIAL TECHNOLOGY HOLDING Co.,Ltd.

GR01Patent grant
GR01Patent grant
CP01Change in the name or title of a patent holder
CP01Change in the name or title of a patent holder

Address after:Room 221, 2 / F, block C, 18 Kechuang 11th Street, Daxing District, Beijing, 100176

Patentee after:Jingdong Technology Holding Co.,Ltd.

Address before:Room 221, 2 / F, block C, 18 Kechuang 11th Street, Daxing District, Beijing, 100176

Patentee before:Jingdong Digital Technology Holding Co.,Ltd.

CP03Change of name, title or address
CP03Change of name, title or address

Address after:Room 221, 2 / F, block C, 18 Kechuang 11th Street, Daxing District, Beijing, 100176

Patentee after:Jingdong Digital Technology Holding Co.,Ltd.

Address before:Room 221, 2nd floor, Block C, 18 Kechuang 11th Street, Daxing Economic and Technological Development Zone, Beijing, 100195

Patentee before:JINGDONG DIGITAL TECHNOLOGY HOLDINGS Co.,Ltd.


[8]ページ先頭

©2009-2025 Movatter.jp