CN112579700B - Cross-chain transaction processing method and device - Google Patents

Cross-chain transaction processing method and device Download PDF

Info

Publication number
CN112579700B
CN112579700B CN202011471245.4A CN202011471245A CN112579700B CN 112579700 B CN112579700 B CN 112579700B CN 202011471245 A CN202011471245 A CN 202011471245A CN 112579700 B CN112579700 B CN 112579700B
Authority
CN
China
Prior art keywords
transaction
preset
triggering
transaction triggering
participant
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
CN202011471245.4A
Other languages
Chinese (zh)
Other versions
CN112579700A (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.)
WeBank Co Ltd
Original Assignee
WeBank 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 WeBank Co Ltd filed Critical WeBank Co Ltd
Priority to CN202011471245.4A priority Critical patent/CN112579700B/en
Publication of CN112579700A publication Critical patent/CN112579700A/en
Application granted granted Critical
Publication of CN112579700B publication Critical patent/CN112579700B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/27Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/602Providing cryptographic facilities or services
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/04Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Business, Economics & Management (AREA)
  • Finance (AREA)
  • Databases & Information Systems (AREA)
  • Accounting & Taxation (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Computing Systems (AREA)
  • Computer Hardware Design (AREA)
  • Bioethics (AREA)
  • Software Systems (AREA)
  • Health & Medical Sciences (AREA)
  • Data Mining & Analysis (AREA)
  • General Health & Medical Sciences (AREA)
  • Development Economics (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • Strategic Management (AREA)
  • Technology Law (AREA)
  • General Business, Economics & Management (AREA)
  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)

Abstract

The invention discloses a method and a device for processing a cross-chain transaction, wherein the method is suitable for the cross-chain transaction of N+1 participants on M+1 blockchains, N and M are positive integers, N is greater than or equal to M, and the method specifically comprises the following steps: if the first party determines that transaction triggering conditions of transaction triggering transactions to be executed on the M+1 blockchains of the cross-chain transfer transaction are preset transaction triggering conditions, for each blockchain in the M+1 blockchains, invoking a target intelligent contract on the blockchain according to a first transaction triggering parameter of the first transaction triggering transaction; and after the target intelligent contract is successfully invoked, executing the transaction triggering transaction corresponding to the preset transaction triggering condition on the blockchain. When the method is applied to the financial technology (Fintech), as long as one blockchain can succeed, the preset transaction triggering conditions on other blockchains can be met, and the problem of credibility does not exist.

Description

Cross-chain transaction processing method and device
Technical Field
The invention relates to the field of blockchains (blockchain) in the field of financial science and technology (Fintech), in particular to a cross-chain transaction processing method and device.
Background
With the development of computer technology, more and more technologies are applied in the financial field, and the traditional financial industry is gradually changed to the financial technology (Fintech), but due to the requirements of safety and real-time performance of the financial industry, the requirements of the technology are also higher. Currently, financial technology (Fintech) is often combined with blockchain (blockchain). Cross-chain transactions are a common scenario for blockchains, requiring operations on multiple blockchains, and ensuring that they can succeed at the same time. For example, a scene is interchanged across chain assets. X, Y two users have accounts on A, B two blockchains, respectively. X exchanges 100A coins on the A chain for 80B coins on the B chain, and the following operations are needed to be carried out on two chains A, B respectively, wherein the following operations are carried out on the A chain: x gives Y100A coins; on the B chain: y gives X80B coins. If only one of the operations on the A, B chain is successful, the other suffers.
To ensure that both operations on the A, B chains described above succeed at the same time, a cross-chain transaction mechanism needs to be employed. The current cross-chain transaction mechanism is a 2PC mechanism, and in the 2PC mechanism, a plurality of blockchains related to the cross-chain transaction are controlled by an intermediate party. The intermediate party sends transactions to the multiple chains, respectively, to conduct cross-chain transactions. At the direction of the intermediate party, the chains perform the relevant pre-operations, respectively. And the intermediate party reconfirms, and after the pre-operation of all the blockchains is successfully executed, the confirmation transaction is sent to the blockchains. And (3) confirming the transaction by block link receiving, and writing the pre-operation result into real data to realize transaction consistency. However, if the intermediary and a certain participant act in series, the other party may suffer a loss. If on the A chain, X does not actually give Y100A coins, but the intermediary party does send a confirmation transaction to blockchain B, requiring Y for X80B coins would incur a penalty for Y. Therefore, the current cross-chain transaction mechanism relies on the intermediate party, and there is a reliability problem, and the problem needs to be solved.
Disclosure of Invention
The invention provides a method and a device for processing a cross-link transaction, which solve the problem that the current cross-link transaction mechanism in the prior art depends on an intermediate party and has a credibility risk.
In a first aspect, the present invention provides a method for processing a cross-chain transaction, applicable to a cross-chain transaction of n+1 participants on m+1 blockchains, where N and M are both positive integers, and N is greater than or equal to M, the method comprising:
The first participant determines whether transaction triggering conditions of transaction triggering transactions to be executed by the cross-chain transfer transaction on the M+1 blockchains are all preset transaction triggering conditions;
if the first participant determines that the first participant is the preset transaction triggering condition, invoking a target intelligent contract on each of the M+1 blockchains according to a first transaction triggering parameter of a first transaction triggering transaction;
The first participant is any one of the n+1 participants; the first transaction triggering transaction is a transaction triggering transaction to be executed on a first blockchain in the cross-chain transfer transaction; the cross-chain transfer transaction has transaction triggering transactions to be executed on all M+1 blockchains; the preset transaction triggering conditions and transaction triggering transactions on the M+1 blockchains are pre-negotiated by the first participant and N second participants; the preset transaction triggering conditions are obtained based on preset transaction triggering parameters of the n+1 participants;
And after the target intelligent contract is successfully called, executing the transaction triggering transaction corresponding to the preset transaction triggering condition on the blockchain.
In the method, after the first participant determines that the transaction triggering conditions of the N second participants on the m+1 blockchains are all preset transaction triggering conditions, the transaction triggering conditions of the transaction triggering transactions on the m+1 blockchains are the same, and on the basis, the first participant calls the target intelligent contract on each blockchain according to the first transaction triggering parameter of the first transaction triggering transaction for each blockchain in the m+1 blockchains, the target intelligent contract is successful after receiving the negotiation transaction triggering parameters of the n+1 participants, the n+1 participants actually disclose the preset transaction triggering parameters, and after the target intelligent contract is successfully called, the transaction triggering conditions of the preset transaction triggering transactions on the blockchains are executed, so long as one blockchain can be successfully called, all participants faithfully disclose the transaction triggering parameters, the preset transaction triggering conditions on other blockchains can be satisfied, and the transaction triggering conditions on the other blockchains can not be lost if the m+1 is successfully executed, so that the transaction on the blockchains cannot be lost.
Optionally, the first participant negotiates the preset transaction triggering condition with N second participants in the following manner:
The first participant generates a first transaction triggering parameter; the first participant encrypts the first transaction triggering parameter according to a preset encryption algorithm and the first transaction triggering parameter to obtain a first ciphertext;
the first participant obtains N second ciphertexts from the N second participants; the second ciphertext of any second participant is obtained by encrypting according to a second transaction triggering parameter of the second participant and a preset encryption algorithm;
the first participant determines the first transaction triggering condition according to the first ciphertext and the N second ciphertexts;
And the first participant acquires N second transaction triggering conditions from the N second participants, and if the N second transaction triggering conditions are determined to be consistent with the first transaction triggering conditions, the first participant and the N second participants are determined to successfully negotiate the preset transaction triggering conditions.
In the method, the first participant determines the first transaction triggering condition according to the first ciphertext and the N second ciphertexts, so that if the N second transaction triggering conditions are also determined according to the first ciphertext and the N second ciphertexts, the N second transaction triggering conditions are consistent with the first transaction triggering condition, and therefore, when each participant generates according to the first ciphertext and the N second ciphertexts, the same transaction triggering condition is obtained, and therefore, each participant is required to participate in the negotiation of the preset transaction triggering condition, and the correct ciphertext is provided, so that the preset transaction triggering condition is more reliable.
Optionally, the preset encryption algorithm is a first encryption algorithm; the preset transaction triggering conditions are specifically as follows:
For each of the n+1 participants, the transaction triggering parameters of the participants satisfy: and the encryption value obtained by the transaction triggering parameter according to the first encryption algorithm is equal to a preset value stated by the participant during the negotiation of the preset transaction triggering condition.
In the above method, the encryption value of the preset transaction triggering parameter, which is required to be obtained according to the first encryption algorithm, in the preset transaction triggering condition is equal to the preset value declared by the participants during the negotiation of the preset transaction triggering condition, so as to respectively check the encryption value and the preset value of each participant, and indirectly check whether each participant sends the transaction triggering parameter correctly used during the negotiation of the preset transaction triggering condition as if it is, thereby providing a method for decentralized judgment.
Optionally, the preset encryption algorithm is a second encryption algorithm; the preset transaction triggering conditions are specifically as follows:
the first operation result is equal to the second operation result;
The first operation result is: the N+1 operation results are obtained according to the conversion operation of the preset operation under the second encryption algorithm; the N+1 operation results are operation results obtained by transaction triggering parameters submitted when the N+1 participants call the target intelligent contract according to the second encryption algorithm;
The second operation result is: presetting an operation result obtained by encrypting the operation result according to the second encryption algorithm; the preset operation result is an operation result obtained by the transaction triggering parameters submitted when the N+1 participants call the target intelligent contract according to the preset operation.
In the above manner, during negotiation, the first operation result may be obtained through the n+1 operation results and the conversion operation of the preset operation under the second encryption algorithm, and when the target intelligent contract is invoked, the operation result obtained by the submitted transaction triggering parameter according to the preset operation is obtained, and the second operation result is obtained by encrypting according to the second encryption algorithm, so that whether each participant sends the transaction triggering parameter correctly used during negotiation of the preset transaction triggering condition as usual is indirectly checked, thereby providing a method for overall judgment.
Optionally, if the first participant determines that the transaction triggering parameters of the n+1 participants are not completely acquired on the first blockchain and a second transaction triggering transaction has been performed on a second blockchain, the first participant acquires the transaction triggering parameters lacking on the first blockchain from the second blockchain; and the first participant invokes the target intelligent contract of the first blockchain according to the missing transaction triggering parameters and the transaction triggering parameters existing on the first blockchain.
In the above manner, even if the missing transaction triggering parameters are not received due to the transmission problems such as the network, the missing transaction triggering parameters can be obtained through the second blockchain, so that the target intelligent contract of the first blockchain is called, and the fault tolerance of the cross-chain transaction processing is improved.
Optionally, if the first participant determines that any transaction trigger condition of the cross-chain transfer transaction on the m+1 blockchains is not the preset transaction trigger condition, the first participant and the N second participants renegotiate the preset transaction trigger condition.
In the above manner, if the first party determines that the transaction triggering condition of the cross-chain transfer transaction on the m+1 blockchains is not the preset transaction triggering condition, it indicates that the transaction triggering conditions on the m+1 blockchains are not uniform, so that the preset transaction triggering condition is renegotiated so as to avoid a loss of one party.
Optionally, each time the target intelligent contract obtains a transaction triggering parameter submitted by a participant, it is judged whether the preset transaction triggering condition is met once.
Under the method, each time the target intelligent contract acquires the transaction triggering parameters submitted by one party, whether the preset transaction triggering conditions are met or not is judged, so that the number of the secret participants of the blockchain can be kept secret in the whole process, and the blockchain can complete verification of the preset transaction triggering conditions under the condition that the number of the participants is not needed to be known.
In a second aspect, the present invention provides a cross-chain transaction processing apparatus comprising: the device is suitable for cross-chain transactions of N+1 participants on M+1 blockchains, wherein N and M are positive integers, and N is greater than or equal to M, and the device comprises:
The determining module is used for determining whether transaction triggering conditions of transaction triggering transactions to be executed on the M+1 blockchains of the cross-chain transfer transaction are all preset transaction triggering conditions;
if the determining module determines that the transaction trigger conditions are the preset transaction trigger conditions, the processing module is configured to:
for each of the m+1 blockchains, invoking a target smart contract on the blockchain according to a first transaction triggering parameter of a first transaction triggering transaction;
The first participant is any one of the n+1 participants; the first transaction triggering transaction is a transaction triggering transaction to be executed on a first blockchain in the cross-chain transfer transaction; the cross-chain transfer transaction has transaction triggering transactions to be executed on all M+1 blockchains; the preset transaction triggering conditions and transaction triggering transactions on the M+1 blockchains are pre-negotiated by the first participant and N second participants; the preset transaction triggering conditions are obtained based on preset transaction triggering parameters of the n+1 participants;
And after the target intelligent contract is successfully called, executing the transaction triggering transaction corresponding to the preset transaction triggering condition on the blockchain.
Optionally, the determining module is further configured to:
Generating a first transaction triggering parameter; encrypting the first transaction triggering parameter according to a preset encryption algorithm according to the first transaction triggering parameter to obtain a first ciphertext;
acquiring N second ciphertexts from the N second participants; the second ciphertext of any second participant is obtained by encrypting according to a second transaction triggering parameter of the second participant and a preset encryption algorithm;
determining the first transaction triggering condition according to the first ciphertext and the N second ciphertexts;
And acquiring N second transaction triggering conditions from the N second participants, and if the N second transaction triggering conditions are consistent with the first transaction triggering conditions, determining that the first participant and the N second participants successfully negotiate the preset transaction triggering conditions.
Optionally, the preset encryption algorithm is a first encryption algorithm; the preset transaction triggering conditions are specifically as follows: for each of the n+1 participants, the transaction triggering parameters of the participants satisfy: and the encryption value obtained by the transaction triggering parameter according to the first encryption algorithm is equal to a preset value stated by the participant during the negotiation of the preset transaction triggering condition.
Optionally, the preset encryption algorithm is a second encryption algorithm; the preset transaction triggering conditions are specifically as follows: the first operation result is equal to the second operation result; the first operation result is: the N+1 operation results are obtained according to the conversion operation of the preset operation under the second encryption algorithm; the N+1 operation results are ciphertext declared by the N+1 participants during the preset transaction triggering condition negotiation; the second operation result is: presetting an operation result obtained by encrypting the operation result according to the second encryption algorithm; the preset operation result is an operation result obtained by the transaction triggering parameters submitted when the N+1 participants call the target intelligent contract according to the preset operation.
Optionally, the determining module is further configured to: if it is determined that the transaction triggering parameters of the n+1 participants are not completely acquired on the first blockchain and a second transaction triggering transaction is executed on a second blockchain, acquiring the transaction triggering parameters lacking on the first blockchain from the second blockchain; the processing module is further configured to: and calling the target intelligent contract of the first blockchain according to the missing transaction triggering parameters and the transaction triggering parameters existing on the first blockchain.
Optionally, the determining module is further configured to: and if determining that any transaction triggering condition of the cross-chain transfer transaction on the M+1 blockchains is not the preset transaction triggering condition, renegotiating the preset transaction triggering condition by the first participant and the N second participants.
Optionally, each time the target intelligent contract obtains a transaction triggering parameter submitted by a participant, it is judged whether the preset transaction triggering condition is met once.
The advantages of the foregoing second aspect and the advantages of the foregoing optional apparatuses of the second aspect may refer to the advantages of the foregoing first aspect and the advantages of the foregoing optional methods of the first aspect, and will not be described herein.
In a third aspect, the present invention provides a computer device comprising a program or instructions which, when executed, is operable to perform the above-described first aspect and the respective alternative methods of the first aspect.
In a fourth aspect, the present invention provides a storage medium comprising a program or instructions which, when executed, is adapted to carry out the above-described first aspect and the respective alternative methods of the first aspect.
These and other aspects of the invention will be more readily apparent from the following description of the embodiments.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings that are needed in the description of the embodiments will be briefly described below, it will be apparent that the drawings in the following description are only some embodiments of the present invention, and that other drawings can be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a schematic flow diagram corresponding to a cross-link transaction processing method according to an embodiment of the present invention;
FIG. 2 is a schematic diagram of a specific flow corresponding to a cross-link transaction processing method according to an embodiment of the present invention;
Fig. 3 is a schematic structural diagram of a cross-link transaction processing device according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention will be described in further detail below with reference to the accompanying drawings, and it is apparent that the described embodiments are only some embodiments of the present invention, not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
In the course of a financial institution (banking institution, insurance institution or securities institution) operating in a business (e.g., loan business, deposit business, etc. of a bank), it is often combined with a blockchain (blockchain). Cross-chain transactions are a common scenario for blockchains, requiring operations on multiple blockchains, and ensuring that they can succeed at the same time. The current cross-chain transaction mechanism is a 2PC mechanism, and in the 2PC mechanism, a plurality of blockchains related to the cross-chain transaction are controlled by an intermediate party. However, if the intermediary and a certain participant act in series, the other party may suffer a loss. The current cross-chain transaction mechanism relies on the intermediary and has a credibility problem. This situation does not meet the requirements of financial institutions such as banks, and cannot guarantee efficient operation of various businesses of the financial institutions. To this end, as shown in FIG. 1, the present application provides a cross-chain transaction method.
The method shown in fig. 1 is applicable to cross-chain transactions of n+1 participants on m+1 blockchains, where N and M are positive integers, and N is greater than or equal to M, and the method specifically includes:
Step 101: the first party determines whether the transaction triggering conditions of the transaction triggering transactions to be executed by the cross-chain transfer transaction on the M+1 blockchains are all preset transaction triggering conditions.
Step 102: and if the first participant determines that the first participant is the preset transaction triggering condition, invoking a target intelligent contract on each block chain in the M+1 block chains according to a first transaction triggering parameter of a first transaction triggering transaction.
The first participant is any one of the n+1 participants; the first transaction triggering transaction is a transaction triggering transaction to be executed on a first blockchain in the cross-chain transfer transaction; the cross-chain transfer transaction has transaction triggering transactions to be executed on all M+1 blockchains; the preset transaction triggering conditions and transaction triggering transactions on the M+1 blockchains are pre-negotiated by the first participant and N second participants; the preset transaction triggering condition is obtained based on preset transaction triggering parameters of the n+1 participants.
And after the target intelligent contract is successfully called, executing the transaction triggering transaction corresponding to the preset transaction triggering condition on the blockchain.
It should be noted that, in the method from step 101 to step 102, the core of the method from step 101 to step 102 is the preset transaction triggering condition. When the cross-chain transfer transaction is to be executed, a plurality of participants participating in the cross-chain transfer transaction negotiate in advance with the first participant and the N second participants, and the preset transaction triggering condition is set.
And (3) the preset transaction triggering conditions are all uplink on the M+1 block chains, and transaction triggering transactions on the M+1 block chains are set at the same time, namely, the preset transaction triggering conditions meet the post-triggering transaction operation. And after the N+1 participants mutually confirm the preset transaction triggering conditions and the transaction triggering transactions meet the self expectation, sending the transaction triggering transactions. When all the participants send the transaction triggering transaction, the transaction operation is triggered when the preset transaction triggering condition is reached. And because the preset transaction triggering conditions on all chains are the same, the cross-chain transaction operation is triggered on a plurality of chains at the same time, and the cross-chain transfer transaction is realized.
In an alternative embodiment, the first party negotiates the preset transaction triggering conditions with N second parties according to the following manner:
The first participant generates a first transaction triggering parameter; and the first participant encrypts the first transaction triggering parameter according to a preset encryption algorithm and the first transaction triggering parameter to obtain a first ciphertext.
The first party obtains N second ciphertexts from the N second parties.
The second ciphertext of any second party is obtained by encrypting according to a second transaction triggering parameter of the second party and a preset encryption algorithm.
The first participant determines the first transaction triggering condition according to the first ciphertext and the N second ciphertexts.
And the first participant acquires N second transaction triggering conditions from the N second participants, and if the N second transaction triggering conditions are determined to be consistent with the first transaction triggering conditions, the first participant and the N second participants are determined to successfully negotiate the preset transaction triggering conditions.
It should be noted that, the first participant and the N second participants successfully negotiate the preset transaction triggering condition means that the first participant and the N second participants all uniformly determine the preset transaction triggering condition, that is, the n+1 participants determine that the transaction triggering condition of themselves is the same as the transaction triggering condition of other participants.
In the method, the first participant determines the first transaction triggering condition according to the first ciphertext and the N second ciphertexts, so that if the N second transaction triggering conditions are also determined according to the first ciphertext and the N second ciphertexts, the N second transaction triggering conditions are consistent with the first transaction triggering condition, and therefore, when each participant generates according to the first ciphertext and the N second ciphertexts, the same transaction triggering condition is obtained, and therefore, each participant is required to participate in the negotiation of the preset transaction triggering condition, and the correct ciphertext is provided, so that the preset transaction triggering condition is more reliable.
The preset transaction triggering condition has various implementation modes, and the specific implementation method of the preset transaction triggering condition is not limited in the application, so long as the following conditions are satisfied:
Uniqueness: each cross-chain transfer transaction corresponds to a unique preset transaction triggering condition.
Integrity: triggering of the preset transaction triggering condition must be participated by all the participators, and the triggering cannot be performed in the absence of any operation of the participators.
Peer-to-peer: the preset transaction triggering conditions on each chain are the same, and the operation data triggering the preset transaction triggering conditions on any chain can be used for triggering the preset transaction triggering conditions of other chains, wherein one party triggers and is equivalent to all parties.
In an alternative embodiment, the preset encryption algorithm is a first encryption algorithm; the preset transaction triggering conditions are specifically as follows:
For each of the n+1 participants, the transaction triggering parameters of the participants satisfy: and the encryption value obtained by the transaction triggering parameter according to the first encryption algorithm is equal to a preset value stated by the participant during the negotiation of the preset transaction triggering condition.
For example, the first encryption algorithm is Ha Xisuo encryption algorithms, and three parties X, Y, Z are provided. The three parties each privately generate a respective Hash key SX, SY, SZ, calculate a respective Ha Xisuo, lx=hash (SX), ly=hash (SY), lz=hash (LZ), and each disclose Ha Xisuo. The preset transaction triggering condition is:
The transaction triggering parameters a, b, c are provided such that lx=hash (a) and ly=hash (b) and lz=hash (c).
Under the method, SX, SY and SZ generated for each cross-chain transfer transaction are different and accord with uniqueness. When SX, SY and SZ are disclosed, the preset transaction triggering condition can be reached, and the integrity is met. The preset transaction triggering condition can ensure the equality by judging whether LX, LY and LZ on a plurality of chains are consistent.
In the above method, the encryption value of the preset transaction triggering parameter, which is required to be obtained according to the first encryption algorithm, in the preset transaction triggering condition is equal to the preset value declared by the participants during the negotiation of the preset transaction triggering condition, so as to respectively check the encryption value and the preset value of each participant, and indirectly check whether each participant sends the transaction triggering parameter correctly used during the negotiation of the preset transaction triggering condition as if it is, thereby providing a method for decentralized judgment.
In an alternative embodiment, the preset encryption algorithm is a second encryption algorithm; the preset transaction triggering conditions are specifically as follows:
the first operation result is equal to the second operation result;
The first operation result is: the N+1 operation results are obtained according to the conversion operation of the preset operation under the second encryption algorithm; the N+1 operation results are operation results obtained by transaction triggering parameters submitted when the N+1 participants call the target intelligent contract according to the second encryption algorithm;
The second operation result is: presetting an operation result obtained by encrypting the operation result according to the second encryption algorithm; the preset operation result is an operation result obtained by the transaction triggering parameters submitted when the N+1 participants call the target intelligent contract according to the preset operation.
For example, the second encryption algorithm is a homomorphic encryption method.
The participants X, Y and Z are provided. Three parties each privately generate random numbers RX, RY, RZ and each calculate homomorphically encrypted ciphertext cx=e (RX), cy=e (RY), cz=e (RZ), each disclosing the ciphertext. The preset transaction triggering condition is:
Providing transaction triggering parameters a, b, c such that CXYZ =e (a+b+c), wherein CXYZ =cx+cy+cz; under this approach, each time a cross-chain transfer transaction is processed, the RX, RY, RZ generated by X, Y, Z is random, consistent with uniqueness. When RX, RY, RZ are disclosed, a trigger condition may be reached that satisfies the integrity, and the condition may be to ensure peering by determining whether CXYZ on the multiple chains are consistent.
In the above manner, during negotiation, the first operation result may be obtained through the n+1 operation results and the conversion operation of the preset operation under the second encryption algorithm, and when the target intelligent contract is invoked, the operation result obtained by the submitted transaction triggering parameter according to the preset operation is obtained, and the second operation result is obtained by encrypting according to the second encryption algorithm, so that whether each participant sends the transaction triggering parameter correctly used during negotiation of the preset transaction triggering condition as usual is indirectly checked, thereby providing a method for overall judgment.
In an alternative embodiment, if the first participant determines that the transaction triggering parameters of the n+1 participants are not fully acquired on the first blockchain and a second transaction triggering transaction has been performed on a second blockchain, the first participant acquires the transaction triggering parameters missing on the first blockchain from the second blockchain; and the first participant invokes the target intelligent contract of the first blockchain according to the missing transaction triggering parameters and the transaction triggering parameters existing on the first blockchain.
For example, there are a total of 3 participants, X, Y and Z; the first party X determines that the transaction triggering parameters on the first blockchain are only the transaction triggering parameters X of the party X and the transaction triggering parameters Y of the party Y, that is, the first blockchain does not receive the transaction triggering parameters Z of the party Z, or the party Z does not send the transaction triggering parameters to the first blockchain, or the party Z sends the transaction triggering parameters to the first blockchain, but the first blockchain does not receive the transaction triggering parameters Z of the party Z due to network transmission problems.
If party X finds z on the second blockchain, in either case, party X may retrieve z, submit it to the first blockchain, and invoke the target smart contract.
In the above manner, even if the missing transaction triggering parameters are not received due to the transmission problems such as the network, the missing transaction triggering parameters can be obtained through the second blockchain, so that the target intelligent contract of the first blockchain is called, and the fault tolerance of the cross-chain transaction processing is improved.
In an alternative embodiment, if the first participant determines that any transaction triggering condition of the cross-chain transfer transaction on the m+1 blockchains is not the preset transaction triggering condition, the first participant and the N second participants renegotiate the preset transaction triggering condition.
In the above manner, if the first party determines that the transaction triggering condition of the cross-chain transfer transaction on the m+1 blockchains is not the preset transaction triggering condition, it indicates that the transaction triggering conditions on the m+1 blockchains are not uniform, so that the preset transaction triggering condition is renegotiated so as to avoid a loss of one party.
In an alternative implementation manner, each time the target intelligent contract obtains a transaction triggering parameter submitted by a participant, whether the preset transaction triggering condition is met is judged.
Under the method, each time the target intelligent contract acquires the transaction triggering parameters submitted by one party, whether the preset transaction triggering conditions are met or not is judged, so that the number of the secret participants of the blockchain can be kept secret in the whole process, and the blockchain can complete verification of the preset transaction triggering conditions under the condition that the number of the participants is not needed to be known.
The following describes in detail a cross-chain transaction processing method provided by the present application with reference to fig. 2.
Let the participants be X, Y, Z, be A, B, C users of three chains respectively, to make triangle transfer, the transaction to be performed on the three chains of A, B, C is as follows. Three transaction operations belong to a cross-chain transfer transaction, and the transaction operations on the blockchain are realized by executing a transaction triggering transaction. The transaction operations to be performed on the three chains of A, B, C are specifically:
chain A: x gives Y100A coins;
Chain B: y gives Z100B coins;
c chain: z gives X100C coins.
Step (1): the participants X, Y, Z negotiate online, generating preset transaction trigger conditions, for example:
X, Y, Z each generate a random number RX, RY, RZ:
X: rx=111 (private preservation); cx=e (RX) =e (111) =698d51a1, i.e., the first ciphertext (public);
Y: ry=222 (preservation under privacy); cy=e (RY) =e (222) = BCBE3365, i.e. the second ciphertext of Y (disclosure);
Z: rz=333 (private preservation); cz=e (RZ) =e (333) =310 DCBBF (public), i.e. the second ciphertext of Z.
X calculates a first transaction trigger condition:
CXYZ =cx+cy+cz=698d51a1+bcbe3365+310dcbbf= 1575950c5; the first transaction trigger condition is: a, b, C are provided such that E (a+b+c) = 1575950C5, and if the second transaction triggering conditions of the other two second participants Y, Z are the same as the first transaction triggering conditions, the first transaction triggering conditions are determined to be the preset transaction triggering conditions.
Step (2): the participants respectively uplink the transaction triggering conditions in own blockchain, and set the transaction operation after triggering, namely: the transaction triggering condition and the transaction triggering operation are written into the smart contract.
Examples:
chain a uplink content: when E (a+b+c) = 1575950c5 is satisfied, a transaction operation is performed: x gives Y100A coins;
Chain B uplink content: when E (a+b+c) = 1575950c5 is satisfied, a transaction operation is performed: y gives Z100B coins;
chain C uplink content: when E (a+b+c) = 1575950c5 is satisfied, a transaction operation is performed: z gives X100C coins.
Step (3): the participation initiates inquiry operation to the block chain of other participants, inquires the data on the opposite side chain, judges whether the transaction triggering condition on the other participant chains is the same as that on the own chain, goes to the step (4), if not, returns to the step (1), and renegotiates. For example:
and (3) judging X: whether the B chain is 1575950C5 and whether the C chain is 1575950C5;
And Y judgment: whether the A chain is 1575950C5 and whether the C chain is 1575950C5;
and Z judgment: whether the A chain is 1575950C5 and whether the B chain is 1575950C5.
Step (4): the participation initiates inquiry operation to other block chains, inquires data on other block chains, judges whether the transaction operation triggered on other participant chains is the transaction operation declared during the negotiation of the preset transaction triggering condition, if so, goes to the step (5), otherwise, returns to the step (1), and renegotiates the preset transaction triggering condition.
And (3) judging X: after the C chain is triggered, Z gives 100C coins to the user (X);
and Y judgment: after the A chain is triggered, X gives 100A coins to the user (Y);
And Z judgment: after the B chain is triggered, Y gives itself (Z) 100B coins.
Step (5): each participation transmits transaction triggering transaction to the blockchains of all the participants, invokes the interface of the target intelligent contract and writes the transaction triggering parameters;
The X-way A, B, C chain sends the transaction, the transaction trigger parameters: rx=111;
y-direction A, B, C chain sends transaction, transaction trigger parameters: ry=222;
z-direction A, B, C chain sends transaction, transaction trigger parameters: rz=333;
Step (6): and receiving the transaction triggering transaction by the called target intelligent contract, and recording triggering parameters contained in the transaction.
Step (7): the target intelligent contract judges whether the received transaction triggering parameters reach preset triggering conditions or not, if yes, the step (10) is carried out; otherwise, go to step (8).
The chain a receives 111, 222, 333, starts to determine whether a preset transaction triggering condition is met, calculates E (111+222+333) = 1575950c5, and if yes, goes to step (10) to trigger a transaction operation: x gives Y100A coins.
Step (8): the participant judges whether the transaction triggering conditions on other chains are triggered, if so, the step (9) is carried out, otherwise, the step (6) is carried out, and the receiving of the triggering data is continued to be waited.
Step (9): the participants get all trigger data from the corresponding triggered chains for triggering their own blockchain.
And the B chain only receives 111 and 222, starts to judge whether the preset transaction triggering condition is met or not, and judges whether other chains are triggered or not by X if the preset transaction triggering condition is not met. When the A chain is found to be triggered, the triggering data 111, 222 and 333 of the A chain are retrieved, and the step (10) is entered to trigger the transaction triggering transaction of the B chain: y gives Z100B coins.
The situation of the C-chain is the same as that of the a-chain or the B-chain, which are not described in detail herein, and finally the transaction operation is performed: z gives X100C coins. As long as X, Y, Z reaches one party trigger, multiple parties may trigger.
Step (10): if the target intelligent contract of any blockchain determines that the preset transaction triggering condition is met, executing corresponding transaction triggering transaction, and triggering transaction operation.
Step (11): the X, Y and Z three parties take the respective assets, and the process is ended.
As shown in fig. 3, the present invention provides a cross-chain transaction processing apparatus, including: the device is suitable for cross-chain transactions of N+1 participants on M+1 blockchains, wherein N and M are positive integers, and N is greater than or equal to M, and the device comprises:
A determining module 301, configured to determine whether transaction triggering conditions of transaction triggering transactions to be executed by a cross-chain transfer transaction on the m+1 blockchains are all preset transaction triggering conditions;
if the determining module 301 determines that the predetermined transaction triggering conditions are all the preset transaction triggering conditions, the processing module 302 is configured to:
for each of the m+1 blockchains, invoking a target smart contract on the blockchain according to a first transaction triggering parameter of a first transaction triggering transaction;
The first participant is any one of the n+1 participants; the first transaction triggering transaction is a transaction triggering transaction to be executed on a first blockchain in the cross-chain transfer transaction; the cross-chain transfer transaction has transaction triggering transactions to be executed on all M+1 blockchains; the preset transaction triggering conditions and transaction triggering transactions on the M+1 blockchains are pre-negotiated by the first participant and N second participants; the preset transaction triggering conditions are obtained based on preset transaction triggering parameters of the n+1 participants;
And after the target intelligent contract is successfully called, executing the transaction triggering transaction corresponding to the preset transaction triggering condition on the blockchain.
Optionally, the determining module 301 is further configured to:
Generating a first transaction triggering parameter; encrypting the first transaction triggering parameter according to a preset encryption algorithm according to the first transaction triggering parameter to obtain a first ciphertext;
acquiring N second ciphertexts from the N second participants; the second ciphertext of any second participant is obtained by encrypting according to a second transaction triggering parameter of the second participant and a preset encryption algorithm;
determining the first transaction triggering condition according to the first ciphertext and the N second ciphertexts;
And acquiring N second transaction triggering conditions from the N second participants, and if the N second transaction triggering conditions are consistent with the first transaction triggering conditions, determining that the first participant and the N second participants successfully negotiate the preset transaction triggering conditions.
Optionally, the preset encryption algorithm is a first encryption algorithm; the preset transaction triggering conditions are specifically as follows: for each of the n+1 participants, the transaction triggering parameters of the participants satisfy: and the encryption value obtained by the transaction triggering parameter according to the first encryption algorithm is equal to a preset value stated by the participant during the negotiation of the preset transaction triggering condition.
Optionally, the preset encryption algorithm is a second encryption algorithm; the preset transaction triggering conditions are specifically as follows: the first operation result is equal to the second operation result; the first operation result is: the N+1 operation results are obtained according to the conversion operation of the preset operation under the second encryption algorithm; the N+1 operation results are ciphertext declared by the N+1 participants during the preset transaction triggering condition negotiation; the second operation result is: presetting an operation result obtained by encrypting the operation result according to the second encryption algorithm; the preset operation result is an operation result obtained by the transaction triggering parameters submitted when the N+1 participants call the target intelligent contract according to the preset operation.
Optionally, the determining module 301 is further configured to: if it is determined that the transaction triggering parameters of the n+1 participants are not completely acquired on the first blockchain and a second transaction triggering transaction is executed on a second blockchain, acquiring the transaction triggering parameters lacking on the first blockchain from the second blockchain; the processing module 302 is further configured to: and calling the target intelligent contract of the first blockchain according to the missing transaction triggering parameters and the transaction triggering parameters existing on the first blockchain.
Optionally, the determining module 301 is further configured to: and if determining that any transaction triggering condition of the cross-chain transfer transaction on the M+1 blockchains is not the preset transaction triggering condition, renegotiating the preset transaction triggering condition by the first participant and the N second participants.
Optionally, each time the target intelligent contract obtains a transaction triggering parameter submitted by a participant, it is judged whether the preset transaction triggering condition is met once.
Based on the same inventive concept, the embodiments of the present invention also provide a computer device, including a program or an instruction, when the program or the instruction is executed, the cross-chain transaction processing method and any optional method provided by the embodiments of the present invention are executed.
Based on the same inventive concept, the embodiments of the present invention also provide a computer readable storage medium including a program or an instruction, when the program or the instruction is executed, the cross-chain transaction processing method and any optional method provided by the embodiments of the present invention are executed.
While preferred embodiments of the present invention have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. It is therefore intended that the following claims be interpreted as including the preferred embodiments and all such alterations and modifications as fall within the scope of the invention.
It will be apparent to those skilled in the art that various modifications and variations can be made to the present invention without departing from the spirit or scope of the invention. Thus, it is intended that the present invention also include such modifications and alterations insofar as they come within the scope of the appended claims or the equivalents thereof.

Claims (10)

1. A method for cross-chain transaction processing, suitable for cross-chain transactions of n+1 participants on m+1 blockchains, where N and M are positive integers and N is greater than or equal to M, the method comprising:
The first participant determines whether transaction triggering conditions of transaction triggering transactions to be executed by the cross-chain transfer transaction on the M+1 blockchains are all preset transaction triggering conditions;
if the first participant determines that the first participant is the preset transaction triggering condition, invoking a target intelligent contract on each of the M+1 blockchains according to a first transaction triggering parameter of a first transaction triggering transaction;
The first participant is any one of the n+1 participants; the first transaction triggering transaction is a transaction triggering transaction to be executed on a first blockchain in the cross-chain transfer transaction; the cross-chain transfer transaction has transaction triggering transactions to be executed on all M+1 blockchains; the preset transaction triggering conditions and transaction triggering transactions on the M+1 blockchains are pre-negotiated by the first participant and N second participants; the preset transaction triggering conditions are obtained based on preset transaction triggering parameters of the n+1 participants;
And after the target intelligent contract is successfully called, executing the transaction triggering transaction corresponding to the preset transaction triggering condition on the blockchain.
2. The method of claim 1, wherein the first party negotiates the preset transaction triggering conditions with N second parties in the following manner:
The first participant generates a first transaction triggering parameter; the first participant encrypts the first transaction triggering parameter according to a preset encryption algorithm and the first transaction triggering parameter to obtain a first ciphertext;
the first participant obtains N second ciphertexts from the N second participants; the second ciphertext of any second participant is obtained by encrypting according to a second transaction triggering parameter of the second participant and a preset encryption algorithm;
The first participant determines a first transaction triggering condition according to the first ciphertext and the N second ciphertexts;
And the first participant acquires N second transaction triggering conditions from the N second participants, and if the N second transaction triggering conditions are determined to be consistent with the first transaction triggering conditions, the first participant and the N second participants are determined to successfully negotiate the preset transaction triggering conditions.
3. The method of claim 2, wherein the predetermined encryption algorithm is a first encryption algorithm; the preset transaction triggering conditions are specifically as follows:
For each of the n+1 participants, the transaction triggering parameters of the participants satisfy: and the encryption value obtained by the transaction triggering parameter according to the first encryption algorithm is equal to a preset value stated by the participant during the negotiation of the preset transaction triggering condition.
4. The method of claim 2, wherein the predetermined encryption algorithm is a second encryption algorithm; the preset transaction triggering conditions are specifically as follows:
the first operation result is equal to the second operation result;
The first operation result is: the N+1 operation results are obtained according to the conversion operation of the preset operation under the second encryption algorithm; the N+1 operation results are ciphertext declared by the N+1 participants during the preset transaction triggering condition negotiation;
The second operation result is: presetting an operation result obtained by encrypting the operation result according to the second encryption algorithm; the preset operation result is an operation result obtained by the transaction triggering parameters submitted when the N+1 participants call the target intelligent contract according to the preset operation.
5. The method of any one of claims 1 to 4, further comprising:
If the first party determines that the transaction triggering parameters of the n+1 parties are not completely acquired on the first blockchain and a second transaction triggering transaction is executed on a second blockchain, the first party acquires the transaction triggering parameters which are lack on the first blockchain from the second blockchain;
and the first participant invokes the target intelligent contract of the first blockchain according to the missing transaction triggering parameters and the transaction triggering parameters existing on the first blockchain.
6. The method of any one of claims 1 to 4, further comprising:
and if the first participant determines that any transaction triggering condition of the cross-chain transfer transaction on the M+1 blockchains is not the preset transaction triggering condition, the first participant and the N second participants renegotiate the preset transaction triggering condition.
7. The method of any of claims 1 to 4, wherein each time the target smart contract obtains a transaction triggering parameter submitted by a participant, a determination is made as to whether the preset transaction triggering condition is met.
8. A cross-chain transaction processing device, suitable for cross-chain transactions of n+1 participants on m+1 blockchains, where N, M are positive integers, and N is greater than or equal to M, the device comprising:
The determining module is used for determining whether transaction triggering conditions of transaction triggering transactions to be executed on the M+1 blockchains of the cross-chain transfer transaction are all preset transaction triggering conditions;
if the determining module determines that the transaction trigger conditions are the preset transaction trigger conditions, the processing module is configured to:
for each of the m+1 blockchains, invoking a target smart contract on the blockchain according to a first transaction triggering parameter of a first transaction triggering transaction;
The first participant is any one of the n+1 participants; the first transaction triggering transaction is a transaction triggering transaction to be executed on a first blockchain in the cross-chain transfer transaction; the cross-chain transfer transaction has transaction triggering transactions to be executed on all M+1 blockchains; the preset transaction triggering conditions and transaction triggering transactions on the M+1 blockchains are pre-negotiated by the first participant and N second participants; the preset transaction triggering conditions are obtained based on preset transaction triggering parameters of the n+1 participants;
And after the target intelligent contract is successfully called, executing the transaction triggering transaction corresponding to the preset transaction triggering condition on the blockchain.
9. A computer device comprising a program or instructions which, when executed, performs the method of any of claims 1 to 7.
10. A computer readable storage medium comprising a program or instructions which, when executed, performs the method of any of claims 1 to 7.
CN202011471245.4A 2020-12-14 2020-12-14 Cross-chain transaction processing method and device Active CN112579700B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011471245.4A CN112579700B (en) 2020-12-14 2020-12-14 Cross-chain transaction processing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011471245.4A CN112579700B (en) 2020-12-14 2020-12-14 Cross-chain transaction processing method and device

Publications (2)

Publication Number Publication Date
CN112579700A CN112579700A (en) 2021-03-30
CN112579700B true CN112579700B (en) 2024-05-28

Family

ID=75135283

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011471245.4A Active CN112579700B (en) 2020-12-14 2020-12-14 Cross-chain transaction processing method and device

Country Status (1)

Country Link
CN (1) CN112579700B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113315832B (en) * 2021-05-26 2022-07-12 杭州云象网络技术有限公司 Cross-chain information synchronization method, system and device based on cloud cross-chain transfer protocol
CN114363335B (en) * 2021-12-31 2024-03-15 支付宝(杭州)信息技术有限公司 Cross-chain interaction method and device
CN114185996B (en) * 2022-02-15 2022-05-13 北京溪塔科技有限公司 Cross-chain transaction processing method and device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108062671A (en) * 2017-11-03 2018-05-22 深圳市轱辘车联数据技术有限公司 Data trade method, block chain node server and data submit terminal
CN109087080A (en) * 2018-07-13 2018-12-25 杭州复杂美科技有限公司 Across chain method of commerce, equipment and storage medium
CN110472974A (en) * 2019-07-16 2019-11-19 阿里巴巴集团控股有限公司 Assets transfer method, apparatus and system based on block chain intelligence contract
CN111310216A (en) * 2020-02-26 2020-06-19 百度在线网络技术(北京)有限公司 Block chain data processing method and device, electronic equipment and medium
CN111399993A (en) * 2020-03-25 2020-07-10 百度国际科技(深圳)有限公司 Cross-chain implementation method, device, equipment and medium for associated transaction request

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11030217B2 (en) * 2018-05-01 2021-06-08 International Business Machines Corporation Blockchain implementing cross-chain transactions
US11194837B2 (en) * 2018-05-01 2021-12-07 International Business Machines Corporation Blockchain implementing cross-chain transactions
CN110471984B (en) * 2019-07-15 2020-08-25 阿里巴巴集团控股有限公司 Service processing method and device based on block chain and electronic equipment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108062671A (en) * 2017-11-03 2018-05-22 深圳市轱辘车联数据技术有限公司 Data trade method, block chain node server and data submit terminal
CN109087080A (en) * 2018-07-13 2018-12-25 杭州复杂美科技有限公司 Across chain method of commerce, equipment and storage medium
CN110472974A (en) * 2019-07-16 2019-11-19 阿里巴巴集团控股有限公司 Assets transfer method, apparatus and system based on block chain intelligence contract
CN111310216A (en) * 2020-02-26 2020-06-19 百度在线网络技术(北京)有限公司 Block chain data processing method and device, electronic equipment and medium
CN111399993A (en) * 2020-03-25 2020-07-10 百度国际科技(深圳)有限公司 Cross-chain implementation method, device, equipment and medium for associated transaction request

Also Published As

Publication number Publication date
CN112579700A (en) 2021-03-30

Similar Documents

Publication Publication Date Title
CN112579700B (en) Cross-chain transaction processing method and device
CN109685489B (en) Cross-chain transaction method for assets between block chains
CN107301600B (en) Core construction method of block chain Internet model for cross-chain transaction
Woo et al. A lesson on authentication protocol design
CN111640017A (en) Transaction correctness verification method and device applied to alliance chain cross-chain transfer
CN111861477A (en) Block chain-based post-transaction data processing method and device and computer equipment
CN112330326A (en) Business processing method and device applied to bank transaction block chain system
CN112488682B (en) Three-party transfer method and device for block chain
CN108009818B (en) Online payment method and system based on distributed network
CN109274573A (en) A kind of immediate news systems, method and application for merging block chain technology
CN113556339B (en) Privacy computing method supporting interaction of TEE computing power nodes in heterogeneous trusted execution environment
US20230368195A1 (en) System and method for transferring resources using a blockchain
CN111507839A (en) Data processing method and device based on block chain, storage medium and equipment
CN111951005A (en) Block chain-based fund storage and management method, device and system
WO2022206433A1 (en) Method and apparatus for pre-executing chaincode in fabric blockchain
Ye et al. Garou: An efficient and secure off-blockchain multi-party payment hub
CN110096511B (en) Data consistency verification method, device, equipment and medium based on private chain
KR20220045025A (en) Method and system for communication protocol of decentralized transaction
CN111915133A (en) Power grid regulation and control operation method and system based on block chain weighted consensus
CN111598556A (en) Digital currency exchange method, device, equipment and medium
CN116342249A (en) Loan risk assessment method and device based on blockchain
CN115526629A (en) Receipt transaction method and device based on block chain network and identity authentication device
CN113411338A (en) Resource transaction method based on-chain-down cooperation of state channel
CN113205346A (en) Depocenter encryption authentication and authentication method capable of canceling bill
CN112911018A (en) Block chain-based network community credit investigation management method

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant