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

Cross-chain transaction processing method and device Download PDF

Info

Publication number
CN112579700A
CN112579700A CN202011471245.4A CN202011471245A CN112579700A CN 112579700 A CN112579700 A CN 112579700A CN 202011471245 A CN202011471245 A CN 202011471245A CN 112579700 A CN112579700 A CN 112579700A
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.)
Pending
Application number
CN202011471245.4A
Other languages
Chinese (zh)
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/CN112579700A/en
Publication of CN112579700A publication Critical patent/CN112579700A/en
Pending legal-status Critical Current

Links

Images

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

Abstract

The invention discloses a method and a device for processing cross-chain transactions, wherein the method is suitable for the cross-chain transactions of N +1 participants on M +1 block chains, 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 participant determines that the transaction triggering conditions of the transaction triggering transactions to be executed on the M +1 block chains of the cross-chain transfer transaction are all preset transaction triggering conditions, then for each block chain in the M +1 block chains, calling a target intelligent contract on the block chain according to a first transaction triggering parameter of the first transaction triggering transaction; and after the target intelligent contract is successfully called, executing the corresponding transaction triggering transaction of the preset transaction triggering condition on the block chain. When the method is applied to financial technology (Fintech), as long as one block chain is successful, the preset transaction triggering conditions on other block chains are met, and the credibility problem does not exist.

Description

Cross-chain transaction processing method and device
Technical Field
The invention relates to the field of block chains (blockchain) in the field of financial 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 changing to financial technology (Fintech), but due to the requirements of the financial industry on safety and real-time performance, higher requirements are also put forward on the technologies. Currently, financial technology (Fintech) is often combined with block chaining (blockchain). A cross-chain transaction is a common scenario for blockchains, i.e., operations on multiple blockchains are required and guaranteed to succeed simultaneously. For example, cross-chain asset interchange scenarios. X, Y two users have accounts on A, B two blockchains, respectively. X exchanges Y for 80B coins on B chain from 100A coins on A chain, and the following operations are respectively carried out on A, B chains, wherein: x gives Y100A coins; on the B chain: y gives X80B coins. If only one of the two operations on the A, B chain is successful, the other will suffer a penalty.
To ensure that both operations on the A, B chain described above succeed simultaneously, a cross-chain transaction mechanism needs to be employed. The current mechanism of cross-chain transaction is 2PC mechanism, in which multiple blockchains related to cross-chain transaction are controlled by the intermediary. The intermediary parties send transactions to multiple chains, respectively, to conduct cross-chain transactions. Under the control of the middle part, the multiple chains respectively execute relevant pre-operations. And the intermediate party confirms again, and after the pre-operation of all the block chains is successfully executed, the intermediate party sends confirmation transaction to the block chains. And receiving the confirmation transaction by the block chain, and writing the result of the pre-operation into the real data to realize the transaction consistency. However, if the intermediary party and one of the participants collude to act badly, the other party may suffer loss. If X does not actually give Y100A coins in the A chain, but the intermediary does send an acknowledgment transaction to blockchain B, asking Y for X80B coins, Y suffers a loss. Therefore, the existing cross-chain transaction mechanism depends on an intermediate party, and has a credibility problem, which needs to be solved urgently.
Disclosure of Invention
The invention provides a cross-chain transaction processing method and device, which solve the problem that the existing cross-chain transaction mechanism depends on an intermediate party and has credibility risk in the prior art.
In a first aspect, the present invention provides a method for processing a cross-chain transaction, which is applicable to a cross-chain transaction of N +1 participants on M +1 blockchains, where N and M are positive integers, and N is greater than or equal to M, where the method includes:
the method comprises the steps that a first participant determines whether transaction triggering conditions of transaction triggering transactions to be executed on M +1 block chains of a cross-chain transfer transaction are all preset transaction triggering conditions;
if the first participant determines that the preset transaction triggering conditions are all the preset transaction triggering conditions, then for each block chain in the M +1 block chains, calling a target intelligent contract on the block chain 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 which needs to be executed on a first block chain in the cross-chain transfer transaction; the cross-chain transfer transaction has transaction triggering transactions needing to be executed on the M +1 block chains; the preset transaction triggering condition and the transaction triggering transaction on the M +1 blockchains are pre-negotiated by the first participant and the 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 corresponding transaction triggering transaction of the preset transaction triggering condition on the block chain.
In the above method, after a first participant determines that transaction trigger conditions of N second participants on M +1 blockchains are all preset transaction trigger conditions, it indicates that the transaction trigger conditions of the transaction trigger transactions on M +1 blockchains are all exactly the same and are all preset transaction trigger conditions, on this basis, for each blockchain in the M +1 blockchains, the first participant invokes a target intelligent contract on the blockchain according to a first transaction trigger parameter of the first transaction trigger transaction, and the target intelligent contract is invoked successfully after receiving a negotiation transaction trigger parameter of the N +1 participants, the N +1 participants disclose a preset transaction trigger parameter to the blockchain, and after the target intelligent contract is successfully invoked, the transaction trigger transaction corresponding to the preset transaction trigger condition on the blockchain is further executed, if only one blockchain is successful, it means that all participants disclose the preset transaction triggering parameters, and the preset transaction triggering conditions on other blockchains are met, so that the transaction triggering transactions on the M +1 blockchains can be executed in due time, and thus the above method has no credibility problem and will not cause a certain participant to suffer loss.
Optionally, the first party negotiates the preset transaction triggering condition with the N second parties according to the following method:
the first party generating a first transaction triggering parameter; the first participant encrypts the first transaction triggering parameter according to a preset encryption algorithm according to the first transaction triggering parameter to obtain a first ciphertext;
the first participant acquires N second ciphertexts from the N second participants; the second ciphertext of any second party is obtained by encrypting according to a preset encryption algorithm according to a second transaction triggering parameter of the second party;
the first participant determines the first transaction triggering condition according to the first ciphertext and the N second ciphertexts;
the first participant acquires N second transaction trigger conditions from the N second participants, and if the N second transaction trigger conditions are determined to be consistent with the first transaction trigger conditions, the first participant and the N second participants are determined to successfully negotiate the preset transaction trigger conditions.
In the above method, the first party 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 party generates the same transaction triggering condition according to the first ciphertext and the N second ciphertexts, the same transaction triggering condition is obtained, and thus, negotiation of the preset transaction triggering condition requires participation of each party and a 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 participant each satisfy: and the encrypted value of the transaction triggering parameter obtained according to the first encryption algorithm is equal to the preset value stated by the participant during the negotiation of the preset transaction triggering condition.
In the method, the encrypted value required by the transaction trigger parameter according to the first encryption algorithm in the preset transaction trigger condition is equal to the preset value declared by the participant during the negotiation of the preset transaction trigger condition, so that whether the transaction trigger parameter correctly used during the negotiation of the preset transaction trigger condition is sent by each participant as usual is indirectly checked against the encrypted value and the preset value of each participant, thereby providing a method for dispersion 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 conversion operation of preset operation under the second encryption algorithm; the N +1 operation results are operation results obtained by the 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; and the preset operation result is an operation result obtained by the N +1 participants according to the preset operation and the transaction trigger parameters submitted when the target intelligent contract is called.
In this way, during negotiation, the first operation result may be obtained through the N +1 operation results and a conversion operation of a preset operation under the second encryption algorithm, and when the target intelligent contract is called, the operation result obtained by the submitted transaction trigger parameter according to the preset operation may be obtained, and the second operation result may be obtained through encryption according to the second encryption algorithm, so that it is indirectly checked whether each participant sends the transaction trigger parameter correctly used during negotiation of the preset transaction trigger condition as it is, thereby providing a method for overall judgment.
Optionally, if the first participant determines that the transaction trigger parameters of the N +1 participants are not completely acquired on the first blockchain and a second transaction trigger transaction is executed on a second blockchain, the first participant acquires the transaction trigger parameters lacking on the first blockchain from the second blockchain; and the first participant calls a target intelligent contract of the first block chain according to the missing transaction trigger parameter and the existing transaction trigger parameter on the first block chain.
In the above manner, even if the missing transaction triggering parameter is not received due to a transmission problem of a network or the like, the missing transaction triggering parameter can be obtained through the second blockchain, so that the target intelligent contract of the first blockchain is called, and the fault tolerance of cross-chain transaction processing is improved.
Optionally, if the first party 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 party and the N second parties renegotiate the preset transaction triggering condition.
In the above manner, if the first party determines that any 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 to avoid a loss on one party.
Optionally, 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 once.
In the method, the target intelligent contract judges whether the preset transaction triggering condition is met or not once every time when acquiring a transaction triggering parameter submitted by a participant, so that the number of the participants can be kept secret in the whole process, and the block chain can finish the verification of the preset transaction triggering condition without knowing the number of the participants.
In a second aspect, the present invention provides a cross-chain transaction processing apparatus, including: the device is suitable for chain crossing 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 block chains of the cross-chain transfer transaction are preset transaction triggering conditions;
if the determining module determines that the preset transaction triggering conditions are all the preset transaction triggering conditions, the processing module is used for:
for each block chain in the M +1 block chains, calling a target intelligent contract on the block chain 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 which needs to be executed on a first block chain in the cross-chain transfer transaction; the cross-chain transfer transaction has transaction triggering transactions needing to be executed on the M +1 block chains; the preset transaction triggering condition and the transaction triggering transaction on the M +1 blockchains are pre-negotiated by the first participant and the 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 corresponding transaction triggering transaction of the preset transaction triggering condition on the block chain.
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 party is obtained by encrypting according to a preset encryption algorithm according to a second transaction triggering parameter of the second party;
determining the first transaction triggering condition according to the first ciphertext and the N second ciphertexts;
acquiring N second transaction trigger conditions from the N second participants, and if the N second transaction trigger conditions are determined to be consistent with the first transaction trigger conditions, determining that the first participant and the N second participants successfully negotiate the preset transaction trigger 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 participant each satisfy: and the encrypted value of the transaction triggering parameter obtained according to the first encryption algorithm is equal to the 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 conversion operation of preset operation under the second encryption algorithm; the N +1 operation results are cryptographs declared by the N +1 participants during the negotiation of the preset transaction triggering condition; the second operation result is: presetting an operation result obtained by encrypting the operation result according to the second encryption algorithm; and the preset operation result is an operation result obtained by the N +1 participants according to the preset operation and the transaction trigger parameters submitted when the target intelligent contract is called.
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 a target intelligent contract of the first block chain according to the missing transaction triggering parameters and the existing transaction triggering parameters on the first block chain.
Optionally, the determining module is further configured to: if it is determined that any transaction triggering condition of the cross-chain transfer transaction on the M +1 block chains is not the preset transaction triggering condition, the first participant and the N second participants renegotiate the preset transaction triggering condition.
Optionally, 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 once.
The advantageous effects of the second aspect and the various optional apparatuses of the second aspect may refer to the advantageous effects of the first aspect and the various optional methods of the first aspect, and are not described herein again.
In a third aspect, the present invention provides a computer device comprising a program or instructions for performing the method of the first aspect and the alternatives of the first aspect when the program or instructions are executed.
In a fourth aspect, the present invention provides a storage medium comprising a program or instructions which, when executed, is adapted to perform the method of the first aspect and the alternatives of the first aspect.
These and other aspects of the invention are apparent from and will be elucidated with reference to the embodiments described hereinafter.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without inventive exercise.
Fig. 1 is a flowchart illustrating a cross-chain transaction processing method according to an embodiment of the present invention;
fig. 2 is a schematic specific flowchart corresponding to a cross-chain transaction processing method according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of a cross-chain transaction processing apparatus according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention clearer, the present invention will be described in further detail with reference to the accompanying drawings, and it is apparent that the described embodiments are only a part of the embodiments of the present invention, 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.
In the course of operation of financial institutions (banking, insurance or securities) for carrying out transactions (such as loan transactions, deposit transactions, etc. of banks), it is often combined with block chains (blockchain). A cross-chain transaction is a common scenario for blockchains, i.e., operations on multiple blockchains are required and guaranteed to succeed simultaneously. The current mechanism of cross-chain transaction is 2PC mechanism, in which multiple blockchains related to cross-chain transaction are controlled by the intermediary. However, if the intermediary party and one of the participants collude to act badly, the other party may suffer loss. The existing cross-chain transaction mechanism depends on an intermediate party and has the problem of credibility. This situation does not meet the requirements of financial institutions such as banks, and the efficient operation of various services of the financial institutions cannot be ensured. To this end, as shown in fig. 1, the present application provides a cross-chain transaction processing method.
The method shown in fig. 1 is applicable to a chain crossing transaction 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: and the first participant determines whether the transaction triggering conditions of the transaction triggering transaction to be executed on the M +1 blockchains by the cross-chain transfer transaction are all preset transaction triggering conditions.
Step 102: and if the first participant determines that the preset transaction triggering conditions are all the preset transaction triggering conditions, calling a target intelligent contract on the block chain according to a first transaction triggering parameter of a first transaction triggering transaction aiming at each block chain in the M +1 block chains.
The first participant is any one of the N +1 participants; the first transaction triggering transaction is a transaction triggering transaction which needs to be executed on a first block chain in the cross-chain transfer transaction; the cross-chain transfer transaction has transaction triggering transactions needing to be executed on the M +1 block chains; the preset transaction triggering condition and the transaction triggering transaction on the M +1 blockchains are pre-negotiated by the first participant and the N second participants; the preset transaction triggering condition is obtained based on the preset transaction triggering parameters of the N +1 participants.
And after the target intelligent contract is successfully called, executing the corresponding transaction triggering transaction of the preset transaction triggering condition on the block chain.
It should be noted that, in the methods of step 101 to step 102, the core of the methods of step 101 to step 102 is the preset transaction triggering condition. When the cross-chain transfer transaction is to be executed, the multiple participants participating in the cross-chain transfer transaction negotiate with the N second participants in advance, and the transaction triggering conditions are preset.
And uniformly chaining the preset transaction triggering conditions on the M +1 block chains, and simultaneously setting transaction triggering transactions on the M +1 block chains, namely, triggering transaction operations after the preset transaction triggering conditions are met. And after the N +1 participants mutually confirm the preset transaction triggering conditions of each other and the transaction triggering transaction conforms to self-preset conditions, sending the transaction triggering transaction. When all the participants send transaction triggering transactions and reach the preset transaction triggering condition, the transaction operation is triggered. Because the preset transaction triggering conditions on all chains are the same, cross-chain transaction operation can be triggered on a plurality of chains at the same time, and cross-chain transfer transaction is realized.
It should be noted that, in an optional implementation manner, the first party negotiates the preset transaction triggering condition with the N second parties according to the following manner:
the first party generating a first transaction triggering parameter; and the first participant encrypts the first transaction triggering parameter according to a preset encryption algorithm according to the first transaction triggering parameter to obtain a first ciphertext.
The first party obtains N second ciphertexts from the N second parties.
And the second ciphertext of any second party is obtained by encrypting according to a preset encryption algorithm according to the second transaction triggering parameter of the second party.
The first participant determines the first transaction triggering condition according to the first ciphertext and the N second ciphertexts.
The first participant acquires N second transaction trigger conditions from the N second participants, and if the N second transaction trigger conditions are determined to be consistent with the first transaction trigger conditions, the first participant and the N second participants are determined to successfully negotiate the preset transaction trigger 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 uniformly determine the preset transaction triggering condition, that is, the N +1 participants determine that the transaction triggering condition of the first participant is the same as the transaction triggering condition of the other participants.
In the above method, the first party 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 party generates the same transaction triggering condition according to the first ciphertext and the N second ciphertexts, the same transaction triggering condition is obtained, and thus, negotiation of the preset transaction triggering condition requires participation of each party and a correct ciphertext is provided, so that the preset transaction triggering condition is more reliable.
The preset transaction triggering condition has multiple implementation modes, and the specific implementation method of the preset transaction triggering condition is not limited in the application, as long as the following conditions are met:
uniqueness: each chain transfer transaction corresponds to a unique preset transaction triggering condition.
Integrity: the triggering of the preset transaction triggering condition must be participated by all the participants, and the triggering cannot be realized without the operation of any participant.
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, and the triggering of one participant is equivalent to the triggering of all participants.
In an optional 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 participant each satisfy: and the encrypted value of the transaction triggering parameter obtained according to the first encryption algorithm is equal to the preset value stated by the participant during the negotiation of the preset transaction triggering condition.
For example, the first encryption algorithm is a hash lock encryption algorithm, and a total of three parties X, Y, and Z are assumed. The three parties respectively generate respective hash lock keys SX, SY and SZ privately, calculate respective hash locks, LX ═ hash (SX), LY ═ hash (SY), LZ ═ hash (LZ), and respectively disclose the hash locks. The preset transaction triggering conditions are as follows:
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, for each chain-crossing transfer transaction, SX, SY and SZ generated by X, Y and Z are different and accord with uniqueness. When SX, SY and SZ are all disclosed, the preset transaction triggering condition can be reached, and the completeness is met. The preset transaction triggering condition can ensure the peer-to-peer performance by judging whether the LX, LY and LZ on the multiple chains are consistent or not.
In the method, the encrypted value required by the transaction trigger parameter according to the first encryption algorithm in the preset transaction trigger condition is equal to the preset value declared by the participant during the negotiation of the preset transaction trigger condition, so that whether the transaction trigger parameter correctly used during the negotiation of the preset transaction trigger condition is sent by each participant as usual is indirectly checked against the encrypted value and the preset value of each participant, thereby providing a method for dispersion judgment.
In an optional implementation manner, 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 conversion operation of preset operation under the second encryption algorithm; the N +1 operation results are operation results obtained by the 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; and the preset operation result is an operation result obtained by the N +1 participants according to the preset operation and the transaction trigger parameters submitted when the target intelligent contract is called.
For example, the second encryption algorithm is a homomorphic encryption method.
And setting the participating parties X, Y and Z. The three parties respectively generate random numbers RX, RY and RZ in private, and respectively calculate ciphertexts CX ═ E (RX), CY ═ E (RY) and CZ ═ E (RZ) encrypted in a homomorphic mode, and respectively disclose the ciphertexts. The preset transaction triggering conditions are as follows:
providing transaction triggering parameters a, b, c such that CXYZ is E (a + b + c), wherein CXYZ is 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 published, the trigger condition can be reached, the integrity is met, and the condition can guarantee peering by judging whether CXYZ on multiple chains is consistent.
In this way, during negotiation, the first operation result may be obtained through the N +1 operation results and a conversion operation of a preset operation under the second encryption algorithm, and when the target intelligent contract is called, the operation result obtained by the submitted transaction trigger parameter according to the preset operation may be obtained, and the second operation result may be obtained through encryption according to the second encryption algorithm, so that it is indirectly checked whether each participant sends the transaction trigger parameter correctly used during negotiation of the preset transaction trigger condition as it is, thereby providing a method for overall judgment.
In an optional implementation, if the first participant determines that the transaction trigger parameters of the N +1 participants are not completely acquired on the first blockchain and a second transaction trigger transaction is executed on a second blockchain, the first participant acquires the transaction trigger parameters lacking on the first blockchain from the second blockchain; and the first participant calls a target intelligent contract of the first block chain according to the missing transaction trigger parameter and the existing transaction trigger parameter on the first block chain.
For example, there are 3 participants, X, Y and Z; the first party X determines that the transaction triggering parameter on the first blockchain only includes the transaction triggering parameter X of the party X and the transaction triggering parameter Y of the party Y, that is, the first blockchain does not receive the transaction triggering parameter Z of the party Z, or the party Z does not send the transaction triggering parameter Z to the first blockchain, or the party Z sends the transaction triggering parameter Z to the first blockchain, but the first blockchain does not receive the transaction triggering parameter X due to a network transmission problem.
If the participant X finds z on the second blockchain, under any condition, the participant X can acquire the z, submit the z to the first blockchain and call a target intelligent contract.
In the above manner, even if the missing transaction triggering parameter is not received due to a transmission problem of a network or the like, the missing transaction triggering parameter can be obtained through the second blockchain, so that the target intelligent contract of the first blockchain is called, and the fault tolerance of cross-chain transaction processing is improved.
In an optional implementation manner, if the first party 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 party and the N second parties renegotiate the preset transaction trigger condition.
In the above manner, if the first party determines that any 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 to avoid a loss on one party.
In an optional implementation manner, each time the target intelligent contract acquires a transaction triggering parameter submitted by one participant, whether the preset transaction triggering condition is met is determined.
In the method, the target intelligent contract judges whether the preset transaction triggering condition is met or not once every time when acquiring a transaction triggering parameter submitted by a participant, so that the number of the participants can be kept secret in the whole process, and the block chain can finish the verification of the preset transaction triggering condition without knowing the number of the participants.
A cross-chain transaction processing method provided in the present application is described in detail below with reference to fig. 2.
Assuming that participants are X, Y, and Z, and A, B, C users of three chains, respectively, to perform a triangle transfer, the transaction operations to be performed on A, B, C of the three chains are as follows. Three transaction operations belong to a cross-chain transfer transaction and need to be successful at the same time, and the implementation form of the transaction operation on the blockchain is to execute a transaction triggering transaction. The transaction operations to be executed in 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 participating parties X, Y, Z negotiate on-line to generate a preset transaction trigger condition, for example:
x, Y, Z each generate a random number RX, RY, RZ:
x: RX 111 (private save); CX ═ E (rx) ═ E (111) ═ 698D51a1, i.e., the first ciphertext (public);
y: RY 222 (private preservation); CY (E) (ry) (222) BCBE3365, i.e., the second ciphertext (public) of Y;
z: RZ 333 (private preservation); CZ ═ E (rz) ═ E (333) ═ 310DCBBF (public), i.e., the second ciphertext of Z.
X calculates a first transaction trigger condition:
CXYZ + CX + CZ-698D 51a1+ BCBE3365+310 DCBBF-1575950C 5; the first transaction triggering condition is then: a, b, and C are provided such that E (a + b + C) ═ 1575950C5, and if the second transaction trigger condition of the other two second parties Y, Z is the same as the first transaction trigger condition, the first transaction trigger condition is determined to be the predetermined transaction trigger condition.
Step (2): the participants respectively uplink the transaction triggering conditions on their block chains and set the triggered transaction operation, namely: and writing the transaction triggering condition and the transaction triggering operation into the intelligent contract.
Examples are:
chain a uplink content: when E (a + b + C) — 1575950C5 is satisfied, the transaction operation is performed: x gives Y100A coins;
chain B uplink content: when E (a + b + C) — 1575950C5 is satisfied, the transaction operation is performed: y gives Z100B coins;
chain C uplink content: when E (a + b + C) — 1575950C5 is satisfied, the transaction operation is performed: z gives X100C coins.
And (3): and (4) initiating a query operation by the participating party to the block chain to which the other participating party belongs, querying data on the opposite party chain, judging whether the transaction triggering conditions on the other participating party chain are the same as those on the self chain, if so, returning to the step (1), and re-negotiating. For example:
and (4) judging by X: whether the B chain is 1575950C5 and whether the C chain is 1575950C 5;
and Y judgment: whether the A chain is 1575950C5 and whether the C chain is 1575950C 5;
and Z judgment: whether the A chain is 1575950C5 and the B chain is 1575950C 5.
And (4): and (5) initiating query operation to other block chains by the participating party, querying data on other block chains, judging whether the transaction operation triggered on other participating party chains is the transaction operation declared during the negotiation of the preset transaction triggering condition, if so, going to the step (5), otherwise, returning to the step (1), and renegotiating the preset transaction triggering condition.
And (4) judging by X: after the C chain is triggered, Z gives 100C coins to the Z;
and Y judgment: after the chain A is triggered, X gives 100 coins A to the X (Y);
and Z judgment: after the B chain is triggered, Y gives itself 100B coins.
And (5): each participant sends a transaction trigger transaction to the block chains of all participants, calls an interface of a target intelligent contract and writes in a transaction trigger parameter;
x sends the transaction to chain A, B, C, transaction trigger parameter: RX ═ 111;
y sends a transaction to chain A, B, C, transaction trigger parameter: RY 222;
z sends the transaction to chain A, B, C, transaction trigger parameter: RZ is 333;
and (6): the called target intelligent contract receives the transaction triggering transaction and records the triggering parameters contained in the transaction.
And (7): the target intelligent contract judges whether the received multiple transaction triggering parameters reach preset triggering conditions or not, and if yes, the step (10) is carried out; otherwise, go to step (8).
The chain a receives 111, 222 and 333, starts to judge whether a preset transaction triggering condition is met, and by calculating that E (111+222+333) is 1575950C5, if so, the step (10) is executed to trigger the transaction operation: x gives Y100A coins.
And (8): and (4) judging whether the transaction triggering conditions on other chains are triggered or not by the participator, if so, going to the step (9), otherwise, returning to the step (6) and continuously waiting for receiving triggering data.
And (9): the participating party fetches all trigger data from the corresponding triggered chain for triggering its own blockchain.
And the chain B only receives the data 111 and 222, starts to judge whether the preset transaction triggering conditions are met, and judges whether other chains are triggered by the chain X if the preset transaction triggering conditions are not met. Finding that the a chain has been triggered, the trigger data 111, 222, 333 of the a chain is retrieved, and step (10) is entered to trigger the transaction-triggered transaction of the B chain: and Y gives Z100B coins.
The condition of the chain C is the same as that of the chain a or the chain B, which is not described herein, and the transaction operation is finally executed: z gives X100C coins. As long as X, Y, Z reaches one participant trigger, multiple participants can trigger.
Step (10): and if the target intelligent contract of any block chain determines that the preset transaction triggering condition is met, executing corresponding transaction triggering transaction so as to trigger transaction operation.
Step (11): and the three parties X, Y and Z take the assets of the three parties, and the process is finished.
As shown in fig. 3, the present invention provides a cross-chain transaction processing apparatus, including: the device is suitable for chain crossing 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 trigger conditions of transaction trigger transactions to be executed on the M +1 block chains by the cross-chain transfer transaction are preset transaction trigger conditions;
if the determining module 301 determines that the predetermined transaction triggering conditions are all the predetermined transaction triggering conditions, the processing module 302 is configured to:
for each block chain in the M +1 block chains, calling a target intelligent contract on the block chain 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 which needs to be executed on a first block chain in the cross-chain transfer transaction; the cross-chain transfer transaction has transaction triggering transactions needing to be executed on the M +1 block chains; the preset transaction triggering condition and the transaction triggering transaction on the M +1 blockchains are pre-negotiated by the first participant and the 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 corresponding transaction triggering transaction of the preset transaction triggering condition on the block chain.
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 party is obtained by encrypting according to a preset encryption algorithm according to a second transaction triggering parameter of the second party;
determining the first transaction triggering condition according to the first ciphertext and the N second ciphertexts;
acquiring N second transaction trigger conditions from the N second participants, and if the N second transaction trigger conditions are determined to be consistent with the first transaction trigger conditions, determining that the first participant and the N second participants successfully negotiate the preset transaction trigger 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 participant each satisfy: and the encrypted value of the transaction triggering parameter obtained according to the first encryption algorithm is equal to the 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 conversion operation of preset operation under the second encryption algorithm; the N +1 operation results are cryptographs declared by the N +1 participants during the negotiation of the preset transaction triggering condition; the second operation result is: presetting an operation result obtained by encrypting the operation result according to the second encryption algorithm; and the preset operation result is an operation result obtained by the N +1 participants according to the preset operation and the transaction trigger parameters submitted when the target intelligent contract is called.
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 a target intelligent contract of the first block chain according to the missing transaction triggering parameters and the existing transaction triggering parameters on the first block chain.
Optionally, the determining module 301 is further configured to: if it is determined that any transaction triggering condition of the cross-chain transfer transaction on the M +1 block chains is not the preset transaction triggering condition, the first participant and the N second participants renegotiate the preset transaction triggering condition.
Optionally, 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 once.
Based on the same inventive concept, the embodiment of the present invention also provides a computer device, which includes a program or an instruction, and when the program or the instruction is executed, the cross-chain transaction processing method and any optional method provided by the embodiment of the present invention are executed.
Based on the same inventive concept, the embodiment of the present invention also provides a computer-readable storage medium, which includes a program or instructions, and when the program or instructions are executed, the cross-chain transaction processing method and any optional method provided by the embodiment 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. Therefore, it is intended that the appended claims be interpreted as including 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 changes and modifications may be made in the present invention without departing from the spirit and scope of the invention. Thus, if such modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include such modifications and variations.

Claims (10)

1. A method for processing a cross-chain transaction is applicable to the cross-chain transaction 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 method comprises the following steps:
the method comprises the steps that a first participant determines whether transaction triggering conditions of transaction triggering transactions to be executed on M +1 block chains of a cross-chain transfer transaction are all preset transaction triggering conditions;
if the first participant determines that the preset transaction triggering conditions are all the preset transaction triggering conditions, then for each block chain in the M +1 block chains, calling a target intelligent contract on the block chain 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 which needs to be executed on a first block chain in the cross-chain transfer transaction; the cross-chain transfer transaction has transaction triggering transactions needing to be executed on the M +1 block chains; the preset transaction triggering condition and the transaction triggering transaction on the M +1 blockchains are pre-negotiated by the first participant and the 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 corresponding transaction triggering transaction of the preset transaction triggering condition on the block chain.
2. The method of claim 1, wherein the first participant negotiates the preset transaction triggering condition with N second participants in the following manner:
the first party generating a first transaction triggering parameter; the first participant encrypts the first transaction triggering parameter according to a preset encryption algorithm according to the first transaction triggering parameter to obtain a first ciphertext;
the first participant acquires N second ciphertexts from the N second participants; the second ciphertext of any second party is obtained by encrypting according to a preset encryption algorithm according to a second transaction triggering parameter of the second party;
the first participant determines the first transaction triggering condition according to the first ciphertext and the N second ciphertexts;
the first participant acquires N second transaction trigger conditions from the N second participants, and if the N second transaction trigger conditions are determined to be consistent with the first transaction trigger conditions, the first participant and the N second participants are determined to successfully negotiate the preset transaction trigger 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 participant each satisfy: and the encrypted value of the transaction triggering parameter obtained according to the first encryption algorithm is equal to the 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 conversion operation of preset operation under the second encryption algorithm; the N +1 operation results are cryptographs declared by the N +1 participants during the negotiation of the preset transaction triggering condition;
the second operation result is: presetting an operation result obtained by encrypting the operation result according to the second encryption algorithm; and the preset operation result is an operation result obtained by the N +1 participants according to the preset operation and the transaction trigger parameters submitted when the target intelligent contract is called.
5. The method of any of claims 1 to 4, further comprising:
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 is executed 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 calls a target intelligent contract of the first block chain according to the missing transaction trigger parameter and the existing transaction trigger parameter on the first block chain.
6. The method of any of claims 1 to 4, further comprising:
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 one of claims 1 to 4, wherein the target intelligent contract determines whether the preset transaction triggering condition is satisfied once every time a transaction triggering parameter submitted by a participant is acquired.
8. A cross-chain transaction processing apparatus, adapted to a cross-chain transaction 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 apparatus comprising:
the determining module is used for determining whether transaction triggering conditions of transaction triggering transactions to be executed on the M +1 block chains of the cross-chain transfer transaction are preset transaction triggering conditions;
if the determining module determines that the preset transaction triggering conditions are all the preset transaction triggering conditions, the processing module is used for:
for each block chain in the M +1 block chains, calling a target intelligent contract on the block chain 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 which needs to be executed on a first block chain in the cross-chain transfer transaction; the cross-chain transfer transaction has transaction triggering transactions needing to be executed on the M +1 block chains; the preset transaction triggering condition and the transaction triggering transaction on the M +1 blockchains are pre-negotiated by the first participant and the 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 corresponding transaction triggering transaction of the preset transaction triggering condition on the block chain.
9. A computer device comprising a program or instructions that, when executed, perform the method of any of claims 1 to 7.
10. A computer-readable storage medium comprising a program or instructions which, when executed, perform the method of any of claims 1 to 7.
CN202011471245.4A 2020-12-14 2020-12-14 Cross-chain transaction processing method and device Pending CN112579700A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011471245.4A CN112579700A (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 CN112579700A (en) 2020-12-14 2020-12-14 Cross-chain transaction processing method and device

Publications (1)

Publication Number Publication Date
CN112579700A true CN112579700A (en) 2021-03-30

Family

ID=75135283

Family Applications (1)

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

Country Status (1)

Country Link
CN (1) CN112579700A (en)

Cited By (3)

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

Citations (4)

* 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

Patent Citations (4)

* 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

Cited By (6)

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

Similar Documents

Publication Publication Date Title
CN112579700A (en) Cross-chain transaction processing method and device
CN110263908B (en) Federal learning model training method, apparatus, system and storage medium
Woo et al. A lesson on authentication protocol design
CN108282334B (en) Multi-party key negotiation device, method and system based on block chain
CN111640017A (en) Transaction correctness verification method and device applied to alliance chain cross-chain transfer
CN112907252B (en) Block chain transaction method and system based on multi-person chain lower channel
CN112488682B (en) Three-party transfer method and device for block chain
CN113746858B (en) Cross-chain communication method based on verifiable random function
CN111861477A (en) Block chain-based post-transaction data processing method and device and computer equipment
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
WO2022206433A1 (en) Method and apparatus for pre-executing chaincode in fabric blockchain
CN113987526A (en) Resource exchange method, device and equipment based on block chain and readable storage medium
CN113014379A (en) Three-party authentication and key agreement method, system and computer storage medium supporting cross-cloud domain data sharing
CN110413649B (en) Financial big data processing method based on block chain and system platform thereof
Ye et al. Garou: An efficient and secure off-blockchain multi-party payment hub
CN111915133A (en) Power grid regulation and control operation method and system based on block chain weighted consensus
CN112235110B (en) Cross-chain service processing method and device of block chain and electronic equipment
CN114022150A (en) Resource transfer method, device, electronic equipment and storage medium
CN112383392A (en) Video conference alternate encryption method and device and computer readable storage medium
CN111583002A (en) Data processing method, data processing device, electronic equipment and storage medium
CN116743377B (en) Data processing method, device, equipment and storage medium based on blockchain key
CN117236961B (en) Multi-party transaction safety supervision method under chain
CN117252676B (en) Service processing method, device, electronic equipment and index policy system
CN117057921B (en) Method, device and system for transaction of calculation force, electronic equipment and storage medium

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