Disclosure of Invention
Therefore, the invention is to solve the problem that the authenticity of the digital asset cannot be ensured in the prior art, and therefore provides a blockchain-based asset-linked transaction method, which comprises the following steps:
the method comprises the steps that a digital asset owner constructs a first multiple signature address for enabling each verification party to sign a transaction;
the verification parties respectively construct second multiple signature addresses used for enabling the compliance processes to sign the transaction, and when all the compliance processes of one verification party sign the transaction, all the digital asset ownership parties obtain the signature of the verification party;
when the asset transfer occurs, the receiver verifies the signature of each compliance process of all the verifiers, and the signature is carried out to confirm the asset transfer when the verification is passed, so that the digital asset belongs to the receiver.
Optionally, before the asset transfer occurs, further comprising:
the digital asset owner creates asset information and polls each verifier;
when being polled by the digital asset owner, waiting for each compliance process signature, and when all the compliance process signatures are obtained, enabling the digital asset owner to obtain the signature of the verifier;
and when the digital asset owner obtains the signatures of all the verification parties, complete asset information is formed, so that the digital asset belongs to the owner.
Optionally, the broadcast is not performed when the digital asset owner creates asset information.
Optionally, the broadcast is done while composing the complete, composed complete asset information.
Optionally, when the complete and complete asset information is formed, the asset transfer is waited until the asset transfer is confirmed and then broadcast.
Correspondingly, the invention also provides a system for trading under the asset chain based on the block chain, which comprises the following components:
the digital asset owner terminal is used for constructing a first multiple signature address and enabling each verification party to sign the transaction;
the verification party terminals are respectively used for constructing second multiple signature addresses so that each compliance process signs the transaction, and when all the compliance processes of one verification party sign the transaction, all the digital asset ownership parties obtain the signature of the verification party;
and the receiver terminal is used for verifying the signature of each compliance process of all the verifiers when the asset transfer occurs, and verifying the asset transfer by signing when the verification is passed so as to ensure that the digital asset belongs to the receiver.
Optionally, the digital asset owner terminal is further configured to create asset information and poll the respective verifiers;
the verifier terminal is also used for waiting for each compliance process signature when being polled by the digital asset owner, and enabling the digital asset owner to obtain the signature of the verifier when obtaining all the compliance process signatures;
and when the terminal of the digital asset owner obtains the signatures of all the verification parties, complete asset information is formed, so that the digital asset belongs to the owner.
Optionally, the broadcast is not performed when the digital asset owner creates asset information.
Optionally, the broadcast is done while composing the complete, composed complete asset information.
Optionally, when the complete and complete asset information is formed, the asset transfer is waited until the asset transfer is confirmed and then broadcast.
According to the asset under-chain transaction method and system based on the block chain, provided by the embodiment of the invention, when digital asset transaction is carried out, multiple signature addresses are constructed by all parties so as to be associated with all verification parties; multiple signature addresses are constructed by the verifier to associate each compliance process. When the transaction is carried out, the receiver can ensure the authenticity of the transaction by verifying the signature of each compliance process of all the verifiers, so that the rights and interests of the receiver are guaranteed.
Detailed Description
The technical solutions of the present invention will be described clearly and completely with reference to the accompanying drawings, and it should be understood that the described embodiments are some, but not all embodiments of the present invention. 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.
In addition, the technical features involved in the different embodiments of the present invention described below may be combined with each other as long as they do not conflict with each other.
Fig. 1 is a flow diagram illustrating a blockchain-based method for asset-to-chain transactions that is suitable for execution by electronic devices such as computers or servers of a digital asset owner, an authenticator, and a recipient, according to an exemplary embodiment. As shown in fig. 1, the method comprises the steps of:
S1A, the digital asset owner constructs a first multiple signature address for each verifier to sign the transaction. The validator of the asset class asset may be, for example, a sales licensor, an environmental report issuing authority, a tenant, a creditor, and the like.
And S2A, the verification parties respectively construct second multiple signature addresses for enabling the compliance processes to sign the transaction, and when all the compliance processes of one verification party sign the transaction, the digital asset ownership obtains the signature of the verification party.
For example, construct transaction Tx1{ (a1), (a2),., (An) }, where (a1) represents the signature of waiting for verifier a1, (a2) represents the signature of waiting for verifier a2, and (An) represents the signature of waiting for verifier An.
When the verifiers are polled, the verifiers are further polled for compliance process departments that have signature information, such as compliance process A11, A12, A1n for verifier A1. In effect, polling is initiated separately for the verifier's compliance flow, e.g., for verifier A1, the down-chain flow Tx1{ (a11), (a12),. ·, (A1n) } is initiated, where (a11) represents the signature of the waiting compliance flow a11, where (a12) represents the signature of the waiting compliance flow a12, and where (A1n) represents the signature of the waiting compliance flow A1 n.
After each compliance process department performs signature, the process is completed (A1), so that the digital asset owner obtains the signature of the verifier.
And S3A, when the asset transfer happens, the receiver verifies the signature of each compliance process of all the verifiers, and when the verification is passed, the receiver verifies the asset transfer by signature, so that the digital asset belongs to the receiver. The recipient needs to verify all of the signatures above and then sign the confirmation transaction. The recipient may then choose to broadcast or not broadcast.
According to the asset chain transaction method based on the block chain, provided by the embodiment of the invention, when digital asset transaction is carried out, multiple signature addresses are constructed by all parties so as to be associated with all verification parties; multiple signature addresses are constructed by the verifier to associate each compliance process. When the transaction is carried out, the receiver can ensure the authenticity of the transaction by verifying the signature of each compliance process of all the verifiers, so that the rights and interests of the receiver are guaranteed.
Before the asset transfer occurs, the method further comprises:
S0A, the digital asset owner creates asset information and polls each verifier;
when being polled by the digital asset owner, waiting for each compliance process signature, and when all the compliance process signatures are obtained, enabling the digital asset owner to obtain the signature of the verifier;
and when the digital asset owner obtains the signatures of all the verification parties, complete asset information is formed, so that the digital asset belongs to the owner.
In an alternative embodiment, the digital asset owner may not broadcast the asset information when creating it. Therefore, the real-time performance of data chaining can be improved, and the whole network can immediately know that the digital assets are chained.
In an alternative embodiment, the digital asset owner broadcasts when composing the complete, fully composed asset information. Therefore, the real-time performance of data chaining can be improved, and the whole network can immediately know that the digital assets are chained.
In an alternative embodiment, the digital asset owner waits for the asset transfer while composing complete, composed complete asset information until the asset transfer is confirmed for broadcast. This can reduce the amount of calculation and reduce the economic cost.
Fig. 2 is a schematic diagram illustrating a blockchain-based asset-under-chain trading system in accordance with an exemplary embodiment. As shown in fig. 2, the system includes:
a digital asset owner terminal 21 for constructing a first multiple signature address for each verifier to sign transactions;
the multiple verification party terminals 22 are respectively used for constructing second multiple signature addresses so that each compliance process signs the transaction, and when all the compliance processes of one verification party sign the transaction, all the digital asset ownership parties obtain the signature of the verification party;
and the receiver terminal 23 is configured to verify the signatures of all compliance flows of all the verifiers when asset transfer occurs, and perform signature confirmation of asset transfer when verification passes, so that the digital asset belongs to the receiver.
Optionally, the digital asset owner terminal 21 is further configured to create asset information and poll the respective verifiers;
the verifier terminal is also used for waiting for each compliance process signature when being polled by the digital asset owner, and enabling the digital asset owner to obtain the signature of the verifier when obtaining all the compliance process signatures;
and when the terminal of the digital asset owner obtains the signatures of all the verification parties, complete asset information is formed, so that the digital asset belongs to the owner.
Optionally, the broadcast is not performed when the digital asset owner creates asset information.
Optionally, the broadcast is done while composing the complete, composed complete asset information.
Optionally, when the complete and complete asset information is formed, the asset transfer is waited until the asset transfer is confirmed and then broadcast.
Fig. 3 is a flow diagram illustrating a blockchain-based method for asset-to-chain transactions that is suitable for execution by electronic devices such as computers or servers of a digital asset owner, an authenticator, and a recipient, according to an example embodiment. As shown in fig. 3, the method comprises the steps of:
S1B, the digital asset owner forms complete asset information when obtaining the compliance process signatures of all verifiers, so that the digital asset belongs to the owner.
S2B, the receiver verifies the signature of each compliance process of all the verifiers, and the signature is carried out to confirm asset transfer when the verification is passed, so that the digital asset belongs to the receiver; the recipient needs to verify all of the signatures above and then sign the confirmation transaction.
And S3B, confirming whether the steps of the asset generation and the asset transfer are correct or not by checking the on-chain data respectively by each verifier.
Since the asset has completed the transfer, in this case all parties should not broadcast step S1B, but instead wait for step S2B to complete before being broadcast by the recipient. The verifier can check the data in the blockchain network to verify whether the two transactions of steps S1B and S2B are normal.
According to the asset under-chain transaction method based on the block chain, provided by the embodiment of the invention, firstly, a transaction is constructed by all the digital asset parties, and complete transaction information is formed when the compliance process signatures of all the verification parties are obtained, so that the digital asset belongs to all the verification parties; and when the asset is transferred later, the receiver verifies the signature of each compliance process of all the verifiers, and the signature is carried out to confirm the asset transfer when the verification is passed, so that the digital asset belongs to the receiver. The verifier can confirm whether the transaction operation is correct by checking the data on the chain, and thus the right of the receiver is guaranteed.
In a preferred embodiment, step S3B includes: when the owner broadcasts the step of asset generation, each verifier confirms that the owner's operation is a cheating act by checking the data on the chain.
According to the above preferred solution, if the owner repentances, broadcasting step S1B before the receiver broadcasting step S2B, so that the rights and interests still belong to the owner, then the respective verifier can check the data in the blockchain network to discover this cheating action.
Further, when any one of the verification parties confirms that the operation of the owner is cheating, each verification party can select the party to cancel the transaction, and the transaction broadcasted by the owner is confirmed to be failed by the blockchain network.
In an optional embodiment, before step S1B, the method further includes:
S0B, the digital asset owner constructs a first multiple signature address for each verifier to sign the transaction; and each verifier respectively constructs a second multiple signature address for enabling each compliance process to sign the transaction, and after all the compliance processes of one verifier sign the transaction, all the digital asset owners obtain the signatures of the verifier.
In an alternative embodiment, the step S1B includes:
the digital asset owner creates asset information and polls each verifier;
when being polled by the digital asset owner, waiting for each compliance process signature, and when all the compliance process signatures are obtained, enabling the digital asset owner to obtain the signature of the verifier;
and when the digital asset owner obtains the signatures of all the verification parties, complete asset information is formed, so that the digital asset belongs to the owner.
For example, construct transaction Tx1{ (a1), (a2),., (An) }, where (a1) represents the signature of waiting for verifier a1, (a2) represents the signature of waiting for verifier a2, and (An) represents the signature of waiting for verifier An.
When the verifiers are polled, the verifiers are further polled for compliance process departments that have signature information, such as compliance process A11, A12, A1n for verifier A1. In effect, polling is initiated separately for the verifier's compliance flow, e.g., for verifier A1, the down-chain flow Tx1{ (a11), (a12),. ·, (A1n) } is initiated, where (a11) represents the signature of the waiting compliance flow a11, where (a12) represents the signature of the waiting compliance flow a12, and where (A1n) represents the signature of the waiting compliance flow A1 n.
After each compliance process department performs signature, the process is completed (A1), so that the digital asset owner obtains the signature of the verifier.
When the above-mentioned so signature is obtained, complete asset information is constructed.
Fig. 2 is a schematic diagram illustrating a blockchain-based asset-under-chain trading system in accordance with an exemplary embodiment. As shown in fig. 2, the system includes:
a digital asset owner terminal 21 for performing the steps of asset generation: when the compliance process signatures of all verification parties are obtained, complete asset information is formed, so that the digital asset belongs to all verification parties;
a recipient terminal 22 for performing the steps of asset transfer: verifying the signature of each compliance process of all the verifiers, and performing signature confirmation asset transfer when the verification is passed so that the digital asset belongs to the receiver;
a plurality of verifier terminals 23 for performing the determining step of: confirming whether the steps of asset generation and asset transfer are correct by checking on-chain data, respectively.
Optionally, the verifying party terminal is configured to confirm that the operations of the owners are cheating by checking data on the chain when the owner broadcasts the step of generating the assets.
Optionally, the verifying party terminal is configured to cancel the asset generation step when it is confirmed that the operation of the owner is a cheating action, so that the broadcast of the asset generation step by the owner is determined to be a failure by the blockchain network.
Optionally, the terminal of the owner of the digital asset is further configured to construct a first multiple signature address, so that each verifier signs the transaction;
the verifying party terminal is also used for constructing a second multiple signature address to enable each compliance process to sign the transaction, and when all the compliance processes of one verifying party sign the transaction, the digital asset owner obtains the signature of the verifying party.
Optionally, the digital asset owner terminal is configured to create asset information and poll the respective verifier; when being polled by the digital asset owner, waiting for each compliance process signature, and when all the compliance process signatures are obtained, enabling the digital asset owner to obtain the signature of the verifier; and when the digital asset owner obtains the signatures of all the verification parties, complete asset information is formed, so that the digital asset belongs to the owner.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
It should be understood that the above examples are only for clarity of illustration and are not intended to limit the embodiments. Other variations and modifications will be apparent to persons skilled in the art in light of the above description. And are neither required nor exhaustive of all embodiments. And obvious variations or modifications therefrom are within the scope of the invention.