CN111080449B - Cross-chain transaction method of blockchain, management node and blockchain network - Google Patents

Cross-chain transaction method of blockchain, management node and blockchain network Download PDF

Info

Publication number
CN111080449B
CN111080449B CN201911220363.5A CN201911220363A CN111080449B CN 111080449 B CN111080449 B CN 111080449B CN 201911220363 A CN201911220363 A CN 201911220363A CN 111080449 B CN111080449 B CN 111080449B
Authority
CN
China
Prior art keywords
blockchain network
instruction
management node
preparation
blockchain
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
CN201911220363.5A
Other languages
Chinese (zh)
Other versions
CN111080449A (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 CN201911220363.5A priority Critical patent/CN111080449B/en
Publication of CN111080449A publication Critical patent/CN111080449A/en
Application granted granted Critical
Publication of CN111080449B publication Critical patent/CN111080449B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • 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

  • Business, Economics & Management (AREA)
  • Accounting & Taxation (AREA)
  • Finance (AREA)
  • Engineering & Computer Science (AREA)
  • Development Economics (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • Strategic Management (AREA)
  • Technology Law (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)

Abstract

The invention relates to the field of financial science and technology (Fintech), and discloses a block chain crossing transaction method, a management node and a block chain network in the block chain field, wherein the method comprises the following steps: the management node receives a transaction to be executed sent by a client, generates N preparation instructions corresponding to N blockchain networks according to the transaction to be executed, sends each preparation instruction to the blockchain network corresponding to each preparation instruction, executes the respective preparation instruction by the blockchain network, sends an execution result to the management node, and generates a commit instruction and sends the commit instruction to each blockchain network if the management node determines that the N execution results received in the preset period are all successfully executed. The technical scheme is used for realizing the consistency of executing transactions by a plurality of blockchain networks.

Description

Cross-chain transaction method of blockchain, management node and blockchain network
Technical Field
The embodiment of the invention relates to the field of financial science (Fintech), in particular to a cross-Chain transaction method, a management node and a Block Chain network of a Block Chain in the field of Block chains.
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 into 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.
In some business scenarios, the client needs to operate multiple blockchain networks at the same time, that is, send transactions to multiple blockchain networks at the same time, but due to different execution resources in different blockchain networks, some blockchain networks may fail to execute transactions, some blockchain networks execute transactions successfully and submit the result data of executing transactions, and consistency of executing transactions by multiple blockchain networks cannot be achieved.
Disclosure of Invention
The embodiment of the invention provides a cross-chain transaction method of a blockchain, a management node and a blockchain network, which are used for realizing the consistency of executing transactions by a plurality of blockchain networks.
In a first aspect, an embodiment of the present invention provides a blockchain cross-chain transaction method, including:
the method comprises the steps that a management node receives a transaction to be executed sent by a client, and generates N preparation instructions corresponding to N blockchain networks according to the transaction to be executed; n is greater than 1;
the management node sends each preparation instruction to a blockchain network corresponding to each preparation instruction; the preparation instruction is used for indicating a blockchain network corresponding to the preparation instruction to execute the preparation instruction;
The management node receives an execution result sent by each block chain network; the execution result is determined after the blockchain network sending the execution result executes a preparation instruction;
if the management node determines that the N execution results received in the preset period are all successful in execution, generating a commit instruction and sending the commit instruction to each blockchain network; the commit instruction is to instruct each blockchain network to update the respective state to a state after execution of the prepare instruction.
In the above technical solution, the management node generates the preparation instruction distributed to each blockchain network according to the transaction to be executed, and sends each preparation instruction to the corresponding blockchain network, so that the blockchain network executes according to each preparation instruction, but the blockchain network does not submit the data after completing execution of the preparation instruction, but waits until the management node sends the submission instruction, and the management node needs to generate the submission instruction to send to each blockchain network after receiving the successful execution result sent by all the blockchain networks, so that each blockchain network can submit data, that is, the management node controls each blockchain network to submit the data after executing the preparation instruction, thereby realizing consistency of executing transactions by all the blockchain networks, avoiding non-consistency of executing transactions by each blockchain network due to successful execution of a certain blockchain network (updated blockchain network state) and non-successful execution of a certain blockchain network (un-updated blockchain network state).
Optionally, the management node sends a preparation instruction to a blockchain network corresponding to the preparation instruction, including:
the management node sends the preparation instruction to the blockchain network through a proxy node of the blockchain network; the agent node is used for packaging the preparation instructions and signing the packaged preparation instructions according to a signing algorithm of the blockchain network;
the management node sends the commit instruction into a blockchain network, including:
the management node sends the submitting instruction to the blockchain network through a proxy node of the blockchain network; the proxy node is used for packaging the commit instruction and signing the packaged commit instruction according to a signing algorithm of the blockchain network.
In the technical scheme, the proxy node packages and signs the instruction sent by the management node, so that the blockchain network performs consensus verification on the received instruction, and the correctness of the received instruction can be ensured.
Optionally, after the management node sends the commit instruction into each blockchain network, the management node further includes:
the management node receives feedback of successful submission sent by each block chain network;
And the management node sends the successful result of executing the transaction to the client.
In the technical scheme, after determining that each blockchain network submits the execution result, the management node sends the successful transaction result to the client, and the client is only responsible for sending and receiving the transaction, so that the complexity of the client is reduced.
Optionally, the method further comprises:
if the management node determines that the execution failure exists in the N execution results received in the preset period, or the number of the execution results received in the preset period by the management node is smaller than N, generating a revocation instruction and sending the revocation instruction to each blockchain network; the undo instruction is to instruct each blockchain network to restore the respective state to the state prior to executing the ready instruction.
In the above technical solution, once the management node finds that the blockchain network fails to execute successfully or does not return an execution result within a preset period, the management node sends a cancel instruction to each blockchain network so that each blockchain network can roll back data, that is, the management node controls each blockchain network to not submit the data after executing the preparation instruction, thereby realizing consistency of executing transactions of all blockchain networks, and avoiding inconsistency of executing transactions of each blockchain network caused by successful transactions (updating the blockchain network state) executed by one blockchain network and unsuccessful transactions (not updating the blockchain network state) executed by one blockchain network among a plurality of blockchain networks corresponding to the transaction to be executed.
In a second aspect, an embodiment of the present invention provides a blockchain cross-chain transaction method, including:
the block chain network receives a preparation instruction sent by the management node and executes the preparation instruction to obtain an execution result; the preparation instruction is an instruction corresponding to the blockchain network generated by the management node according to the to-be-executed transaction sent by the client, and the blockchain network is any one of N blockchain networks corresponding to the to-be-executed transaction; n is greater than 1;
if the block chain network determines that the execution result is that the execution is successful, a first log is generated; the first log is used for recording the state of the blockchain network after the preparation instruction is executed;
the blockchain network sends the execution result to the management node;
if the blockchain network receives a commit instruction sent by the management node, updating the state of the blockchain network into a state after executing the preparation instruction according to the first log; the commit instruction is generated after the management node determines that all the N execution results fed back by the N blockchain networks received in the preset period are successfully executed.
In the above technical solution, the management node generates the preparation instruction distributed to each blockchain network according to the transaction to be executed, and sends each preparation instruction to the corresponding blockchain network, so that the blockchain network executes according to each preparation instruction, but the blockchain network does not submit the data after completing execution of the preparation instruction, but waits until the management node sends the submission instruction, and the management node needs to generate the submission instruction to send to each blockchain network after receiving the successful execution result sent by all the blockchain networks, so that each blockchain network can submit data, that is, the management node controls each blockchain network to submit the data after executing the preparation instruction, thereby realizing consistency of executing transactions by all the blockchain networks, avoiding non-consistency of executing transactions by each blockchain network due to successful execution of a certain blockchain network (updated blockchain network state) and non-successful execution of a certain blockchain network (un-updated blockchain network state).
Optionally, the preparation instruction is sent by the management node through a proxy node of the blockchain network; the agent node is used for packaging the preparation instructions and signing the packaged preparation instructions according to a signing algorithm of the blockchain network;
The commit instruction is sent by the management node through the proxy node; the agent node is also used for packaging the submitted instructions and signing the packaged submitted instructions according to a signing algorithm of the blockchain network;
before the blockchain network executes the preparation instruction, the method further comprises:
the blockchain network determines that the signed preparation instruction passes the consensus verification of the blockchain network;
before the blockchain network executes the commit instruction, the blockchain network further includes:
the blockchain network determines that the signed commit instruction is verified by a consensus of the blockchain network.
In the technical scheme, the proxy node packages and signs the instruction sent by the management node, so that the blockchain network performs consensus verification on the received instruction, and the correctness of the received instruction can be ensured.
Optionally, the method further comprises:
and if the block chain network determines that the execution result is the execution failure, the block chain network sends the execution result to the management node.
Optionally, the method further comprises:
if the block chain network determines that the execution result is that the execution is successful, generating a second log; the second log is used for recording the state before the blockchain network executes the preparation instruction;
The method further comprises the steps of:
if the blockchain network receives the revocation instruction sent by the management node, the state of the blockchain network is restored to the state before the preparation instruction is executed according to the second log; the revocation instruction is generated after the management node determines that the execution failure exists in the N execution results fed back by the N blockchain networks received in the preset period or the number of the execution results received in the preset period is smaller than N.
In the above technical solution, once the management node finds that the blockchain network fails to execute successfully or does not return an execution result within a preset period, the management node sends a cancel instruction to each blockchain network so that each blockchain network can roll back data, that is, the management node controls each blockchain network to not submit the data after executing the preparation instruction, thereby realizing consistency of executing transactions of all blockchain networks, and avoiding inconsistency of executing transactions of each blockchain network caused by successful transactions (updating the blockchain network state) executed by one blockchain network and unsuccessful transactions (not updating the blockchain network state) executed by one blockchain network among a plurality of blockchain networks corresponding to the transaction to be executed.
In a third aspect, an embodiment of the present invention further provides a management node of a blockchain, including:
a transmitting-receiving unit and a processing unit;
the receiving and transmitting unit is used for receiving a transaction to be executed sent by a client, and generating N preparation instructions corresponding to N blockchain networks according to the transaction to be executed; n is greater than 1;
the receiving and transmitting unit is further used for transmitting each preparation instruction to a blockchain network corresponding to each preparation instruction; the preparation instruction is used for indicating a blockchain network corresponding to the preparation instruction to execute the preparation instruction;
the receiving and transmitting unit is further used for receiving an execution result sent by each block chain network; the execution result is determined after the blockchain network sending the execution result executes a preparation instruction;
the processing unit is further configured to generate a commit instruction if it is determined that the N execution results received in the preset period are all successful in execution, and control the transceiver unit to send the commit instruction to each blockchain network; the commit instruction is to instruct each blockchain network to update the respective state to a state after execution of the prepare instruction.
Optionally, the transceiver unit is specifically configured to:
Sending the preparation instruction to the blockchain network through a proxy node of the blockchain network; the agent node is used for packaging the preparation instructions and signing the packaged preparation instructions according to a signing algorithm of the blockchain network;
the transceiver unit is specifically configured to:
transmitting the commit instruction to the blockchain network through a proxy node of the blockchain network; the proxy node is used for packaging the commit instruction and signing the packaged commit instruction according to a signing algorithm of the blockchain network.
Optionally, the transceiver unit is further configured to:
after the commit instruction is sent to each blockchain network, receiving feedback of success in commit sent by each blockchain network; and sending the successful result of executing the transaction to the client.
Optionally, the processing unit is further configured to:
if the fact that the N execution results received in the preset time period have execution failures is determined, or the number of the execution results received in the preset time period is smaller than N, generating a revocation instruction and controlling the transceiver unit to send the revocation instruction to each blockchain network; the undo instruction is to instruct each blockchain network to restore the respective state to the state prior to executing the ready instruction.
In a fourth aspect, an embodiment of the present invention further provides a blockchain network, including:
a transmitting-receiving unit and a processing unit;
the receiving and transmitting unit is used for receiving a preparation instruction sent by the management node;
the processing unit is used for executing the preparation instruction to obtain an execution result; the preparation instruction is an instruction corresponding to a blockchain network generated by the management node according to a to-be-executed transaction sent by a client, wherein the blockchain network is any one of N blockchain networks corresponding to the to-be-executed transaction; n is greater than 1;
the processing unit is further configured to generate a first log if the execution result is determined to be that the execution is successful; the first log is used for recording the state of the blockchain network after the preparation instruction is executed;
the receiving and transmitting unit is further configured to send the execution result to the management node;
the processing unit is further configured to update, if the transceiver unit receives a commit instruction sent by the management node, a state of the blockchain network to a state after the preparation instruction is executed according to the first log; the commit instruction is generated after the management node determines that all the N execution results fed back by the N blockchain networks received in the preset period are successfully executed.
Optionally, the preparation instruction is sent by the management node through a proxy node of the blockchain network; the agent node is used for packaging the preparation instructions and signing the packaged preparation instructions according to a signing algorithm of the blockchain network;
the commit instruction is sent by the management node through the proxy node; the agent node is also used for packaging the submitted instructions and signing the packaged submitted instructions according to a signing algorithm of the blockchain network;
the processing unit is further configured to:
before executing the preparation instruction, determining that the signed preparation instruction passes the consensus verification of the blockchain network;
the processing unit is further configured to:
before executing the commit instruction, determining that the signed commit instruction is validated by a consensus of the blockchain network.
Optionally, the transceiver unit is further configured to:
and if the processing unit determines that the execution result is the execution failure, the execution result is sent to the management node.
Optionally, the processing unit is further configured to:
if the execution result is determined to be successful, a second log is generated; the second log is used for recording the state before the blockchain network executes the preparation instruction;
The processing unit is further configured to:
if the receiving and transmitting unit receives the withdrawal instruction sent by the management node, restoring the state of the blockchain network to the state before executing the preparation instruction according to the second log; the revocation instruction is generated after the management node determines that the execution failure exists in the N execution results fed back by the N blockchain networks received in the preset period or the number of the execution results received in the preset period is smaller than N.
In a fifth aspect, embodiments of the present invention also provide a computing device, including:
a memory for storing program instructions;
and the processor is used for calling the program instructions stored in the memory and executing the cross-chain transaction method of the blockchain according to the obtained program.
In a sixth aspect, embodiments of the present invention further provide a computer-readable non-volatile storage medium, including computer-readable instructions, which when read and executed by a computer, cause the computer to perform the blockchain cross-chain transaction method described above.
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, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a schematic diagram of a system architecture according to an embodiment of the present invention;
FIG. 2 is a schematic illustration of a class diagram definition provided by an embodiment of the present invention;
FIG. 3 is a flowchart of a first cross-link transaction method according to an embodiment of the present invention;
FIG. 4 is a flowchart of a second cross-chain transaction method according to an embodiment of the present invention;
FIG. 5 is a flowchart of a third cross-chain transaction method according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of a management node according to an embodiment of the present invention;
fig. 7 is a schematic structural diagram of a blockchain network 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.
FIG. 1 illustrates a system architecture, which may include N blockchain networks, management nodes, and clients, to which embodiments of the present invention provide a blockchain cross-chain transaction method. Wherein N is greater than 1.
The management node is equivalent to a coordinator of the whole system, and can be called as a cross-chain relay, and plays a role of relaying the client and each blockchain network. Specifically, the management node is configured to distribute the transaction sent by the client to each blockchain network, and receive the result of executing the transaction sent by each blockchain network. In an actual system, a management node may be understood as a management server, a management terminal, a management system, a management device, etc.
And if the management node determines that the execution transaction of at least one blockchain network in all the blockchain networks fails, the management node instructs each blockchain network not to submit the result data of the execution transaction. Through the management node, when the client sends the transaction to the plurality of blockchain networks, all the blockchain networks either submit the execution result data or do not submit the execution result data, so that the consistency of the execution of the transaction by the blockchain networks is realized.
The blockchain network is equivalent to a participant of the whole system and is used for receiving the transaction sent by the management node and calling the transaction resource in the blockchain network to execute. Transaction resources, which may also be referred to as execution resources, are resource abstractions for implementing transaction functions, and exemplary transaction resources include asset resources, smart contract resources, and the like. These resources may implement an atomic interface to the transaction for external (e.g., management node, proxy node) calls.
In the embodiment of the invention, the transaction resource can at least provide a preparation interface (preparation interface), a commit interface (commit interface) and a rollback interface (rollback interface). Class diagram definitions are shown in fig. 2.
Based on the above description, fig. 3 illustrates a flow of a blockchain cross-chain transaction method provided by an embodiment of the present invention, where the flow may be performed by a blockchain management node.
As shown in fig. 3, the process specifically includes:
in step 301, the management node receives a transaction to be executed sent by the client, and generates N preparation instructions corresponding to the N blockchain networks according to the transaction to be executed.
Step 302, the management node sends each preparation instruction to a blockchain network corresponding to each preparation instruction;
step 303, the management node receives the execution result sent by each blockchain network;
in step 304, if the management node determines that the N execution results are all successful, the management node generates a commit instruction and sends the commit instruction to each blockchain network.
In the embodiment of the invention, after receiving the transaction to be executed sent by the client, the management node stores the transaction to be executed in the local management node for realizing fault recovery. The preparation instructions sent to each blockchain network by the management node are generated by the management node according to the received transaction to be executed, and the preparation instructions are used for indicating the blockchain network corresponding to the preparation instructions to execute the preparation instructions. For example, the transaction to be performed is "transfer asset 100 of the first account of blockchain network 1 into the second account of blockchain network 2", in an actual implementation, i.e. the asset of the first account in blockchain network 1 is subtracted by 100, the asset of the second account in blockchain network 2 is added by 100, i.e. the management node generates two preparation instructions to be sent to the two blockchain networks respectively, the first preparation instruction is generated "the asset of the first account in blockchain network 1 is subtracted by 100" to be sent to blockchain network 1, and the second preparation instruction is generated "the asset of the second account in blockchain network 2 is added by 100" to be sent to blockchain network 2.
Each blockchain network executes after receiving the preparation instruction corresponding to the blockchain network, determines an execution result after executing, and sends the determined execution result to the management node. Taking one blockchain network as an example, after receiving a preparation instruction, the blockchain network executes the preparation instruction, and in the execution process, if the blockchain network executes the preparation instruction successfully, the blockchain network generates a first log and a second log and sends an execution result of the successful execution to a management node, wherein the first log is used for recording the state of the blockchain network after executing the preparation instruction; the second log is used for recording the state before the blockchain network executes the preparation instruction; if the execution is unsuccessful, the blockchain network sends the execution result of the execution failure to the management node. In another aspect, the management node receives an execution result sent by each blockchain network, wherein the execution result is determined after the blockchain network that sent the execution result executes the preparation instruction.
In one implementation manner, the management node receives that all of N execution results sent by the N blockchain networks are successfully executed within a preset period, generates a commit instruction and sends the commit instruction to each blockchain network, where the commit instruction is used to instruct each blockchain network to update the respective state to a state after the execution of the preparation instruction.
In another implementation manner, the number of execution results received by the management node in the preset period is smaller than N, or if there is an execution failure in the N execution results received by the management node in the preset period and sent by the N blockchain networks, a revocation instruction is generated and sent to each blockchain network, where the revocation instruction is used to instruct each blockchain network to restore the respective state to the state before the preparation instruction is executed.
It should be noted that, after the blockchain network executes the preparation instruction corresponding to the success, the data generated after the execution of the preparation instruction is not submitted, that is, the state of the blockchain network is not updated, but after the blockchain network receives the submitted instruction or the cancel instruction sent by the management node, the state of the blockchain network is updated to the state after the execution of the preparation instruction or the state of the blockchain network is restored to the state before the execution of the preparation instruction.
Continuing with the above example, assuming that the first account has an asset of 50 in the blockchain network 1 and the second account has an asset of 150 in the blockchain network 2, the blockchain network 1 receives the first preparation instruction and then performs subtracting 100 from the asset of the first account, but at this time, the asset of the first account is less than 100, the blockchain network 1 cannot successfully perform the first preparation instruction, that is, generates a result of failure in execution; after the blockchain network 2 receives the second preparation instruction and then performs 100-degree addition of the assets of the second account, a first log and a second log are generated, wherein the first log records that the assets of the second account in the blockchain network 2 are 250, the second log records that the assets of the second account in the blockchain network 2 are 150, and state data of the assets of the second account in the blockchain network 2 are not submitted; the blockchain network 1 sends the result of the execution failure to the management node, the blockchain network 2 sends the result of the execution success to the management node, the management node determines that the received execution result has the result of the execution failure, and then sends a cancel instruction to the blockchain network 1 and the blockchain network 2, and since the blockchain network 1 does not successfully execute the first preparation instruction, the state of the blockchain network 1 is not changed, and the blockchain network 2 restores the state of the blockchain network 1 to the state before the second preparation instruction is executed according to the second log, namely, "the asset of the second account in the blockchain network 2 is 150".
In the system architecture shown in fig. 1, each blockchain network may also correspond to an agent node, where when the management node sends an instruction to any blockchain network, the agent node may send the instruction to the blockchain network through the agent node of the blockchain network, where the agent node is configured to package and sign the instruction sent by the management node. Specifically, the management node may send the preparation instruction to the blockchain network through a proxy node of the blockchain network, where the proxy node is configured to package the preparation instruction and sign the packaged preparation instruction according to a signature algorithm of the blockchain network; the management node can also send the commit instruction to the blockchain network through an agent node of the blockchain network, and the agent node is used for packaging the commit instruction and signing the packaged commit instruction according to a signing algorithm of the blockchain network; the management node can also send the revocation instruction to the blockchain network through a proxy node of the blockchain network, and the proxy node is used for packaging the revocation instruction and signing the packaged revocation instruction according to a signing algorithm of the blockchain network.
In the embodiment of the invention, after the management node sends the commit instruction to each blockchain network, each blockchain network executes the commit instruction and feeds back the successful commit result to the management node, and after receiving the successful commit feedback sent by each blockchain network, the management node can send the successful commit result to the client. Executing a transaction successfully refers herein to all blockchain networks submitting data after the respective transaction has been executed successfully and the executing transaction has been executed successfully.
In addition, after the management node sends the revocation instruction to each blockchain network, each blockchain network executes the revocation instruction and feeds back the result of the successful revocation to the management node, and after receiving the feedback of the successful revocation sent by each blockchain network, the management node can send the result of failure in executing the transaction to the client. Failure to execute a transaction herein refers to all blockchain networks not submitting data for the respective executing transaction.
In the above embodiment, the management node generates the preparation instruction distributed to each blockchain network according to the transaction to be executed, and sends each preparation instruction to the corresponding blockchain network, so that the blockchain network executes according to each preparation instruction, but the blockchain network does not submit the data after executing the preparation instruction, but waits until the management node sends the submission instruction, and the management node needs to generate the submission instruction to send to each blockchain network after receiving the successful execution result sent by all the blockchain networks, so that each blockchain network can submit data, and correspondingly, once the management node finds that the blockchain network fails to execute or does not return the execution result within a preset period, the management node sends the revocation instruction to each blockchain network so that each blockchain network can rollback the data, that is, whether the blockchain network submits the data after executing the preparation instruction or not is controlled by the management node, or not all the blockchain network submits the data, so that consistency of the execution transaction of all the blockchain networks is realized, and that a plurality of blockchain networks corresponding to be executed are prevented from being updated, and a state of the corresponding blockchain network (that a blockchain network fails to execute a state of a corresponding to a blockchain network does not execute a successful transaction) appears.
Based on the above description, fig. 4 illustrates a flowchart of another blockchain cross-chain transaction method provided by an embodiment of the present invention, which may be performed by a blockchain network.
As shown in fig. 4, the process specifically includes:
step 401, the blockchain network receives a preparation instruction sent by a management node and executes the preparation instruction to obtain an execution result;
step 402, if the blockchain network determines that the execution result is that the execution is successful, generating a first log;
step 403, the blockchain network sends the execution result to the management node;
in step 404, if the blockchain network receives the commit instruction sent by the management node, the blockchain network updates the state of the blockchain network to the state after executing the prepare instruction according to the first log.
In the embodiment of the invention, the preparation instruction is a corresponding instruction of the blockchain network generated by the management node according to the transaction to be executed sent by the client, and N is greater than 1; the blockchain network herein is any one of the N blockchain networks corresponding to the transaction to be executed.
After receiving the preparation instruction, the blockchain network executes the preparation instruction, and in the execution process, if the blockchain network is executed successfully, the blockchain network generates a first log and sends an execution result of the execution success to the management node, wherein the first log is used for recording the state of the blockchain network after the preparation instruction is executed. When the blockchain network receives a commit instruction sent by the management node, the state of the blockchain network can be updated to a state after the preparation instruction is executed according to the first log.
In the process of executing the preparation instruction, if the execution is successful, the blockchain network also generates a second log, and the second log is used for recording the state before the blockchain network executes the preparation instruction. When the blockchain network receives the revocation instruction sent by the management node, the state of the blockchain network can be restored to the state before the preparation instruction is executed according to the second log.
The blockchain network performs consensus verification on the generated first log and second log to ensure the correctness of the first log and the second log.
In addition, if the execution is unsuccessful, the blockchain network sends the execution result of the execution failure to the management node.
In the embodiment of the invention, the preparation instruction may be sent by the management node through a proxy node of the blockchain network, where the proxy node is configured to package the preparation instruction and sign the packaged preparation instruction according to a signing algorithm of the blockchain network, and after receiving the signed preparation instruction, the blockchain network performs consensus verification on the signed preparation instruction, and if the consensus verification passes, the signed preparation instruction is executed. Similarly, the submitted instruction may be sent by the management node through the proxy node, where the proxy node is configured to package the submitted instruction and sign the packaged submitted instruction according to a signing algorithm of the blockchain network, and after receiving the signed submitted instruction, the blockchain network performs consensus verification on the signed submitted instruction, and if the consensus verification passes, executes the signed submitted instruction. Similarly, the revocation instruction may be sent by the management node through the proxy node, where the proxy node is configured to package the revocation instruction and sign the packaged revocation instruction according to a signing algorithm of the blockchain network, and after receiving the signed revocation instruction, the blockchain network performs consensus verification on the signed revocation instruction, and if the consensus verification passes, executes the signed revocation instruction.
In the embodiment of the invention, the proxy node can also carry out package signature on other instructions sent by the management node. The block chain network performs consensus verification on the received instruction, so that the correctness of the received instruction can be ensured.
For a better explanation of the embodiments of the present invention, interactions between clients, management nodes, blockchain network 1, agent node 1 of blockchain network 1, blockchain network 2, agent node 2 of blockchain network 2 are illustrated in detail in the flow diagram shown in fig. 5. Here, assume that the first account has an asset of 150 in blockchain network 1 and the second account has an asset of 150 in blockchain network 2.
The client sends an asset transfer request to the management node, the asset transfer request being "transfer asset 100 of the first account of blockchain network 1 into the second account of blockchain network 2".
The management node records the asset transfer request locally to the management node, and then generates a first preparation instruction and a second preparation instruction to send to the blockchain network 1 and the blockchain network 2, respectively.
After the blockchain network 1 receives the first preparation instruction, invoking a consensus module of the blockchain network 1 to perform consensus verification on the first preparation instruction, and executing the first preparation instruction after verification is passed to generate a first log and a second log of the blockchain network 1, wherein the first account has locked assets 150 and 50 in the blockchain network 1, and the asset of the first account in the blockchain network 1 is still 150 because the currently executed data asset 50 is not submitted, and the blockchain network 1 sends a successful execution result to the management node.
After the blockchain network 2 receives the second preparation instruction, the consensus module of the blockchain network 2 is called to perform consensus verification on the second preparation instruction, and after the verification is passed, the second preparation instruction is executed to generate a first log and a second log of the blockchain network 2, the second account has locked assets 150 and 250 in the blockchain network 2, and the asset of the second account in the blockchain network 2 is still 150 because the currently executed data asset 250 is not submitted, and the blockchain network 2 sends a successful execution result to the management node.
And when the management node receives the successful execution result sent by the blockchain network 1 and the successful execution result sent by the blockchain network 2, and the management node determines that the blockchain network 1 and the blockchain network 2 corresponding to the asset transfer request are successfully executed, generating a commit instruction and sending the commit instruction to the blockchain network 1 and the blockchain network 2.
The blockchain network 1 executes a commit instruction to commit the asset 50 and release the asset 150, and the asset of the first account in the blockchain network 1 is updated to 50; the blockchain network 2 executes the commit instruction, commits the "asset 250," releases the "asset 150," and updates the asset of the second account in the blockchain network 2 to 250.
The management node, upon receiving feedback of successful commit sent by the blockchain network 1 and feedback of successful commit sent by the blockchain network 2, sends a notification of completion of asset transfer to the client.
In the above example, if it is assumed that the first account has an asset of 50 in the blockchain network 1 and the second account has an asset of 150 in the blockchain network 2. Then, after receiving the first preparation instruction, the blockchain network 1 invokes the consensus module of the blockchain network 1 to perform consensus verification on the first preparation instruction, and executes the first preparation instruction after the verification is passed, and since the asset of the first account in the blockchain network 1 is 50 and 100 is not deducted enough, the blockchain network 1 cannot successfully execute the first preparation instruction, and the blockchain network 1 sends the result of the execution failure to the management node.
The steps of the blockchain network 2 executing the second preparation instruction are identical to the above examples and are not described in detail.
And when the management node receives the result of the execution failure sent by the blockchain network 1 and the result of the execution success sent by the blockchain network 2, and the management node determines that the blockchain network 1 and the blockchain network 2 corresponding to the asset transfer request are not executed successfully, generating a revocation instruction and sending the revocation instruction to the blockchain network 1 and the blockchain network 2.
The block chain network 1 receives the revocation instruction and does not do any operation; blockchain network 2 executes the undo instruction, freeing "asset 250" and the asset of the second account in blockchain network 2 remains 150.
The management node, upon receiving the feedback of the revocation success sent by the blockchain network 1 and the feedback of the revocation success sent by the blockchain network 2, sends a notification of the asset transfer failure to the client.
In the above embodiment, the management node generates the preparation instruction distributed to each blockchain network according to the transaction to be executed, and sends each preparation instruction to the corresponding blockchain network, so that the blockchain network executes according to each preparation instruction, but the blockchain network does not submit the data after executing the preparation instruction, but waits until the management node sends the submission instruction, and the management node needs to generate the submission instruction to send to each blockchain network after receiving the successful execution result sent by all the blockchain networks, so that each blockchain network can submit data, and correspondingly, once the management node finds that the blockchain network fails to execute or does not return the execution result within a preset period, the management node sends the revocation instruction to each blockchain network so that each blockchain network can rollback the data, that is, whether the blockchain network submits the data after executing the preparation instruction or not is controlled by the management node, or not all the blockchain network submits the data, so that consistency of the execution transaction of all the blockchain networks is realized, and that a plurality of blockchain networks corresponding to be executed are prevented from being updated, and a state of the corresponding blockchain network (that a blockchain network fails to execute a state of a corresponding to a blockchain network does not execute a successful transaction) appears.
Based on the same inventive concept, fig. 6 illustrates an exemplary structure of a management node of a blockchain, which may perform a flow of a blockchain cross-chain transaction method according to an embodiment of the present invention.
The management node comprises:
a transceiver unit 601 and a processing unit 602;
the transceiver 601 is configured to receive a transaction to be executed sent by a client, and generate N preparation instructions corresponding to N blockchain networks according to the transaction to be executed; n is greater than 1;
the transceiver unit 601 is further configured to send each preparation instruction to a blockchain network corresponding to each preparation instruction; the preparation instruction is used for indicating a blockchain network corresponding to the preparation instruction to execute the preparation instruction;
the transceiver unit 601 is further configured to receive an execution result sent by each blockchain network; the execution result is determined after the blockchain network sending the execution result executes a preparation instruction;
the processing unit 602 is further configured to generate a commit instruction if it is determined that all of the N execution results received within the preset period of time are successful in execution, and control the transceiver unit 601 to send the commit instruction to each blockchain network; the commit instruction is to instruct each blockchain network to update the respective state to a state after execution of the prepare instruction.
Optionally, the transceiver unit 601 is specifically configured to:
sending the preparation instruction to the blockchain network through a proxy node of the blockchain network; the agent node is used for packaging the preparation instructions and signing the packaged preparation instructions according to a signing algorithm of the blockchain network;
the transceiver unit 601 is specifically configured to:
transmitting the commit instruction to the blockchain network through a proxy node of the blockchain network; the proxy node is used for packaging the commit instruction and signing the packaged commit instruction according to a signing algorithm of the blockchain network.
Optionally, the transceiver unit 601 is further configured to:
after the commit instruction is sent to each blockchain network, receiving feedback of success in commit sent by each blockchain network; and sending the successful result of executing the transaction to the client.
Optionally, the processing unit 602 is further configured to:
if it is determined that there is an execution failure in the N execution results received in the preset period, or the number of the execution results received by the management node in the preset period is smaller than N, generating a revocation instruction and controlling the transceiver unit 601 to send the revocation instruction to each blockchain network; the undo instruction is to instruct each blockchain network to restore the respective state to the state prior to executing the ready instruction.
Based on the same inventive concept, fig. 7 illustrates an exemplary architecture of a blockchain network provided by an embodiment of the present invention, where the blockchain network may perform a flow of a blockchain cross-chain transaction method.
The blockchain network includes:
a transceiver unit 701 and a processing unit 702;
the transceiver unit 701 is configured to receive a preparation instruction sent by a management node;
the processing unit 702 is configured to execute the preparation instruction to obtain an execution result; the preparation instruction is an instruction corresponding to a blockchain network generated by the management node according to a to-be-executed transaction sent by a client, wherein the blockchain network is any one of N blockchain networks corresponding to the to-be-executed transaction; n is greater than 1;
the processing unit 702 is further configured to generate a first log if it is determined that the execution result is that the execution is successful; the first log is used for recording the state of the blockchain network after the preparation instruction is executed;
the transceiver unit 701 is further configured to send the execution result to the management node;
the processing unit 702 is further configured to update, if the transceiver unit 701 receives a commit instruction sent by the management node, a state of the blockchain network to a state after the preparation instruction is executed according to the first log; the commit instruction is generated after the management node determines that all the N execution results fed back by the N blockchain networks received in the preset period are successfully executed.
Optionally, the preparation instruction is sent by the management node through a proxy node of the blockchain network; the agent node is used for packaging the preparation instructions and signing the packaged preparation instructions according to a signing algorithm of the blockchain network;
the commit instruction is sent by the management node through the proxy node; the agent node is also used for packaging the submitted instructions and signing the packaged submitted instructions according to a signing algorithm of the blockchain network;
the processing unit 702 is further configured to:
before executing the preparation instruction, determining that the signed preparation instruction passes the consensus verification of the blockchain network;
the processing unit 702 is further configured to:
before executing the commit instruction, determining that the signed commit instruction is validated by a consensus of the blockchain network.
Optionally, the transceiver unit 701 is further configured to:
and if the processing unit 702 determines that the execution result is the execution failure, sending the execution result to the management node.
Optionally, the processing unit 702 is further configured to:
if the execution result is determined to be successful, a second log is generated; the second log is used for recording the state before the blockchain network executes the preparation instruction;
The processing unit 702 is further configured to:
if the transceiver 701 receives the revocation instruction sent by the management node, restoring the state of the blockchain network to the state before executing the preparation instruction according to the second log; the revocation instruction is generated after the management node determines that the execution failure exists in the N execution results fed back by the N blockchain networks received in the preset period or the number of the execution results received in the preset period is smaller than N.
Based on the same inventive concept, an embodiment of the present invention further provides a computing device, including:
a memory for storing program instructions;
and the processor is used for calling the program instructions stored in the memory and executing the cross-chain transaction method according to the obtained program.
Based on the same inventive concept, the embodiment of the invention also provides a computer readable nonvolatile storage medium, which comprises computer readable instructions, when the computer reads and executes the computer readable instructions, the computer is caused to execute the above-mentioned cross-chain transaction method.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
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 of cross-chain transaction of a blockchain, comprising:
the method comprises the steps that a management node receives a transaction to be executed sent by a client, and generates N preparation instructions corresponding to N blockchain networks according to the transaction to be executed; n is greater than 1;
the management node sends each preparation instruction to a blockchain network corresponding to each preparation instruction; the preparation instruction is used for indicating a blockchain network corresponding to the preparation instruction to execute the preparation instruction;
the management node receives an execution result sent by each block chain network; the execution result is determined after the blockchain network sending the execution result executes a preparation instruction;
if the management node determines that the N execution results received in the preset period are all successful in execution, generating a commit instruction and sending the commit instruction to each blockchain network; the commit instruction is used for indicating each blockchain network to update the respective state to the state after the preparation instruction is executed;
The management node sends a preparation instruction to a blockchain network corresponding to the preparation instruction, and the preparation instruction comprises the following steps: the management node sends the preparation instruction to the blockchain network through a proxy node of the blockchain network; the agent node is used for packaging the preparation instructions and signing the packaged preparation instructions according to a signing algorithm of the blockchain network;
the management node sends the commit instruction into a blockchain network, including: the management node sends the submitting instruction to the blockchain network through a proxy node of the blockchain network; the proxy node is used for packaging the commit instruction and signing the packaged commit instruction according to a signing algorithm of the blockchain network.
2. The method of claim 1, wherein after the management node sends the commit instruction into each blockchain network, further comprising:
the management node receives feedback of successful submission sent by each block chain network;
and the management node sends the successful result of executing the transaction to the client.
3. The method of claim 1 or 2, wherein the method further comprises:
If the management node determines that the execution failure exists in the N execution results received in the preset period, or the number of the execution results received in the preset period by the management node is smaller than N, generating a revocation instruction and sending the revocation instruction to each blockchain network; the undo instruction is to instruct each blockchain network to restore the respective state to the state prior to executing the ready instruction.
4. A method of cross-chain transaction of a blockchain, comprising:
the block chain network receives a preparation instruction sent by the management node and executes the preparation instruction to obtain an execution result; the preparation instruction is an instruction corresponding to the blockchain network generated by the management node according to the to-be-executed transaction sent by the client, and the blockchain network is any one of N blockchain networks corresponding to the to-be-executed transaction; n is greater than 1;
if the block chain network determines that the execution result is that the execution is successful, a first log is generated; the first log is used for recording the state of the blockchain network after the preparation instruction is executed;
the blockchain network sends the execution result to the management node;
If the blockchain network receives a commit instruction sent by the management node, updating the state of the blockchain network into a state after executing the preparation instruction according to the first log; the submitting instruction is generated after the N execution results fed back by the N blockchain networks received by the management node in a preset period are all successfully executed;
the preparation instruction is sent by the management node through a proxy node of the blockchain network; the agent node is used for packaging the preparation instructions and signing the packaged preparation instructions according to a signing algorithm of the blockchain network;
the commit instruction is sent by the management node through the proxy node; the agent node is also used for packaging the submitted instructions and signing the packaged submitted instructions according to a signing algorithm of the blockchain network;
before the blockchain network executes the preparation instruction, the method further comprises: the blockchain network determines that the signed preparation instruction passes the consensus verification of the blockchain network;
before the blockchain network executes the commit instruction, the blockchain network further includes: the blockchain network determines that the signed commit instruction is verified by a consensus of the blockchain network.
5. The method of claim 4, wherein the method further comprises:
and if the block chain network determines that the execution result is the execution failure, the block chain network sends the execution result to the management node.
6. The method of claim 4 or 5, wherein the method further comprises:
if the block chain network determines that the execution result is that the execution is successful, generating a second log; the second log is used for recording the state before the blockchain network executes the preparation instruction;
the method further comprises the steps of:
if the blockchain network receives the revocation instruction sent by the management node, the state of the blockchain network is restored to the state before the preparation instruction is executed according to the second log; the revocation instruction is generated after the management node determines that the execution failure exists in the N execution results fed back by the N blockchain networks received in the preset period or the number of the execution results received in the preset period is smaller than N.
7. A blockchain management node, comprising:
a transmitting-receiving unit and a processing unit;
The receiving and transmitting unit is used for receiving a transaction to be executed sent by a client, and generating N preparation instructions corresponding to N blockchain networks according to the transaction to be executed; n is greater than 1;
the receiving and transmitting unit is further used for transmitting each preparation instruction to a blockchain network corresponding to each preparation instruction; the preparation instruction is used for indicating a blockchain network corresponding to the preparation instruction to execute the preparation instruction;
the receiving and transmitting unit is further used for receiving an execution result sent by each block chain network; the execution result is determined after the blockchain network sending the execution result executes a preparation instruction;
the processing unit is further configured to generate a commit instruction if it is determined that the N execution results received in the preset period are all successful in execution, and control the transceiver unit to send the commit instruction to each blockchain network; the commit instruction is used for indicating each blockchain network to update the respective state to the state after the preparation instruction is executed;
the receiving and transmitting unit is specifically configured to: sending the preparation instruction to the blockchain network through a proxy node of the blockchain network; the agent node is used for packaging the preparation instructions and signing the packaged preparation instructions according to a signing algorithm of the blockchain network;
The receiving and transmitting unit is specifically configured to: transmitting the commit instruction to the blockchain network through a proxy node of the blockchain network; the proxy node is used for packaging the commit instruction and signing the packaged commit instruction according to a signing algorithm of the blockchain network.
8. A blockchain network, comprising:
a transmitting-receiving unit and a processing unit;
the receiving and transmitting unit is used for receiving a preparation instruction sent by the management node;
the processing unit is used for executing the preparation instruction to obtain an execution result; the preparation instruction is an instruction corresponding to a blockchain network generated by the management node according to a to-be-executed transaction sent by a client, wherein the blockchain network is any one of N blockchain networks corresponding to the to-be-executed transaction; n is greater than 1;
the processing unit is further configured to generate a first log if the execution result is determined to be that the execution is successful; the first log is used for recording the state of the blockchain network after the preparation instruction is executed;
the receiving and transmitting unit is further configured to send the execution result to the management node;
the processing unit is further configured to update, if the transceiver unit receives a commit instruction sent by the management node, a state of the blockchain network to a state after the preparation instruction is executed according to the first log; the submitting instruction is generated after the N execution results fed back by the N blockchain networks received by the management node in a preset period are all successfully executed;
The preparation instruction is sent by the management node through a proxy node of the blockchain network; the agent node is used for packaging the preparation instructions and signing the packaged preparation instructions according to a signing algorithm of the blockchain network;
the commit instruction is sent by the management node through the proxy node; the agent node is also used for packaging the submitted instructions and signing the packaged submitted instructions according to a signing algorithm of the blockchain network;
the processing unit, prior to executing the prepare instruction, is further configured to: determining that the signed preparation instruction passes the consensus verification of the blockchain network;
the processing unit, prior to executing the commit instruction, is further to: and determining that the signed commit instruction passes the consensus verification of the blockchain network.
9. A computing device, comprising:
a memory for storing program instructions;
a processor for invoking program instructions stored in said memory to perform the method of any of claims 1 to 6 in accordance with the obtained program.
10. A computer readable non-transitory storage medium comprising computer readable instructions which, when read and executed by a computer, cause the computer to perform the method of any of claims 1 to 6.
CN201911220363.5A 2019-12-03 2019-12-03 Cross-chain transaction method of blockchain, management node and blockchain network Active CN111080449B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911220363.5A CN111080449B (en) 2019-12-03 2019-12-03 Cross-chain transaction method of blockchain, management node and blockchain network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911220363.5A CN111080449B (en) 2019-12-03 2019-12-03 Cross-chain transaction method of blockchain, management node and blockchain network

Publications (2)

Publication Number Publication Date
CN111080449A CN111080449A (en) 2020-04-28
CN111080449B true CN111080449B (en) 2023-12-19

Family

ID=70312573

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911220363.5A Active CN111080449B (en) 2019-12-03 2019-12-03 Cross-chain transaction method of blockchain, management node and blockchain network

Country Status (1)

Country Link
CN (1) CN111080449B (en)

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111640017B (en) * 2020-05-06 2024-05-28 深圳前海微众银行股份有限公司 Transaction correctness verification method and device applied to alliance chain cross-chain transfer
CN111526211B (en) * 2020-05-06 2023-04-14 杭州复杂美科技有限公司 Asset transfer method, device and storage medium
CN111953754B (en) * 2020-07-31 2021-06-08 成都质数斯达克科技有限公司 Cross-chain transaction method, electronic device and readable storage medium
CN112202863B (en) * 2020-09-24 2022-09-20 成都质数斯达克科技有限公司 Data synchronization method and device, electronic equipment and readable storage medium
CN112491846B (en) * 2020-11-18 2023-04-18 深圳前海微众银行股份有限公司 Cross-chain block chain communication method and device
CN112232822B (en) * 2020-12-08 2022-02-08 腾讯科技(深圳)有限公司 Transaction processing method, node, device and storage medium of block chain network
CN112927073A (en) * 2021-02-23 2021-06-08 网易(杭州)网络有限公司 Cross-link data interchange method, system, device and electronic equipment
CN113783949A (en) * 2021-08-26 2021-12-10 浙商银行股份有限公司 Cross-chain decentralized method based on contract management
CN113850600B (en) * 2021-12-01 2022-04-26 深圳前海微众银行股份有限公司 Transaction consensus method, device, equipment and storage medium based on block chain
CN115277110B (en) * 2022-07-04 2023-07-28 河北嘉朗科技有限公司 Method for solving block chain node cross-network communication problem in cloud native environment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108876380A (en) * 2018-08-07 2018-11-23 阿里巴巴集团控股有限公司 A kind of method of commerce and system for depositing card based on centralization clearing and block chain
CN109544171A (en) * 2018-11-30 2019-03-29 众安信息技术服务有限公司 For realizing the method and apparatus of the consistency of transregional piece of chain transaction
CN110349029A (en) * 2019-07-17 2019-10-18 中国银行股份有限公司 A kind of processing method, equipment and the system of the trade identity based on block chain

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108876380A (en) * 2018-08-07 2018-11-23 阿里巴巴集团控股有限公司 A kind of method of commerce and system for depositing card based on centralization clearing and block chain
CN109544171A (en) * 2018-11-30 2019-03-29 众安信息技术服务有限公司 For realizing the method and apparatus of the consistency of transregional piece of chain transaction
CN110349029A (en) * 2019-07-17 2019-10-18 中国银行股份有限公司 A kind of processing method, equipment and the system of the trade identity based on block chain

Also Published As

Publication number Publication date
CN111080449A (en) 2020-04-28

Similar Documents

Publication Publication Date Title
CN111080449B (en) Cross-chain transaction method of blockchain, management node and blockchain network
CN111314479B (en) Data processing method and equipment
CN111784518B (en) Block chain cross-chain processing method and device, computer equipment and storage medium
CN109377365B (en) Asset transfer method, device and storage medium
CN110502319B (en) Distributed transaction processing method and device, electronic equipment and storage medium
CN112650764A (en) Cross-chain data processing method, device, equipment and storage medium
CN110611707B (en) Task scheduling method and device
US9553929B2 (en) Episodic coordination model for distributed applications
CN111008827A (en) Cross-chain transaction signature method and device
CN111008206A (en) Method and device for storing state data of cross-chain transaction and storage medium
CN113377798A (en) Block chain consistency processing method, block chain node and block chain system
WO2014182310A1 (en) Tuple recovery
CN112995262B (en) Distributed transaction submission method, system and computing equipment
CN112927073A (en) Cross-link data interchange method, system, device and electronic equipment
CN107038025B (en) SOA architecture-based system calling method and device
CN107465725B (en) Heterogeneous long transaction processing system and method based on client information control system
CN112825525B (en) Method and apparatus for processing transactions
CN111897826A (en) Parameter information updating method and device, electronic equipment and readable storage medium
CN115374098A (en) High concurrent payment order anti-duplication method, apparatus, system, device, medium, and program product
CN104699799A (en) Data transmission method based on cross system
CN115643271A (en) Method, device, server and medium for synchronizing multi-application data on cloud
JP6613315B2 (en) Transaction processing system and transaction control method
CN109559225B (en) Transaction method and device
CN113628052A (en) Block chain asset and contract processing method, system and device based on prediction machine
CN113641498A (en) Data checking method, system, 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
GR01 Patent grant
GR01 Patent grant