CN111080449A - Block chain cross-chain transaction method, management node and block chain network - Google Patents

Block chain cross-chain transaction method, management node and block chain network Download PDF

Info

Publication number
CN111080449A
CN111080449A CN201911220363.5A CN201911220363A CN111080449A CN 111080449 A CN111080449 A CN 111080449A CN 201911220363 A CN201911220363 A CN 201911220363A CN 111080449 A CN111080449 A CN 111080449A
Authority
CN
China
Prior art keywords
instruction
block chain
management node
blockchain network
network
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.)
Granted
Application number
CN201911220363.5A
Other languages
Chinese (zh)
Other versions
CN111080449B (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

Images

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)
  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention relates to the field of financial technology (Fintech), and discloses a block chain cross-chain transaction method, a management node and a block chain network in the field of block chains, wherein the method comprises the following steps: the method comprises the steps that a management node receives a transaction to be executed sent by a client, N preparation instructions corresponding to N blockchain networks are generated according to the transaction to be executed, each preparation instruction is sent to the blockchain network corresponding to each preparation instruction, the blockchain networks execute the respective preparation instructions and send execution results to the management node, and if the management node determines that the N execution results received within a preset time period are successful in execution, a submission instruction is generated and sent to each blockchain network. The technical scheme is used for realizing the consistency of transaction execution of a plurality of blockchain networks.

Description

Block chain cross-chain transaction method, management node and block chain network
Technical Field
The embodiment of the invention relates to the field of financial technology (Fintech), in particular to a Block Chain cross-Chain transaction method, a management node and a Block Chain network in the field of Block chains (Block Chain).
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 (Finteh), but due to the requirements of the financial industry on safety and real-time performance, higher requirements are also put forward on the technologies.
In some service scenarios, a client needs to operate multiple blockchain networks at the same time, that is, send transactions to the multiple blockchain networks at the same time, but due to different execution resources in different blockchain networks, in the multiple blockchain networks where the client sends transactions, there may be some blockchain networks that fail to execute transactions, some blockchain networks that succeed in executing transactions and submit result data of executing transactions, and consistency of executing transactions by the multiple blockchain networks cannot be achieved.
Disclosure of Invention
The embodiment of the invention provides a block chain cross-chain transaction method, a management node and a block chain network, which are used for realizing the consistency of transaction execution of a plurality of block chain networks.
In a first aspect, an embodiment of the present invention provides a method for performing a cross-chain transaction on a blockchain, including:
the method comprises the steps that a management node receives a transaction to be executed sent by a client, and N preparation instructions corresponding to N block chain networks are generated according to the transaction to be executed; n is greater than 1;
the management node sends each preparation instruction to a block chain network corresponding to each preparation instruction; the preparation instruction is used for instructing the 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 block chain network sending the execution result executes a preparation instruction;
if the management node determines that the N execution results received in the preset time period are all successful in execution, a submission instruction is generated and sent to each block chain network; the commit instruction is for instructing each blockchain network to update the respective state to a state after the preparation instruction is executed.
In the above technical solution, the management node generates a preparation instruction to be 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 networks execute according to the respective preparation instruction, but the blockchain networks do not submit the data after the preparation instruction is executed, but submit the data after the management node sends a submission instruction, and the management node needs to generate a submission instruction to be sent to each blockchain network after receiving the result of successful execution sent by all the blockchain networks so that each blockchain network can submit the data, that is, the management node controls each blockchain network to submit the data after the preparation instruction is executed, thereby implementing the consistency of the transaction executed by all the blockchain networks, and avoiding the occurrence of one transaction to be executed in a plurality of blockchain networks corresponding to each blockchain network, a successful transaction (updating blockchain network status) performed by a blockchain network occurs while a successful transaction (not updating blockchain network status) performed by a blockchain network does not occur, resulting in inconsistencies in transactions performed by blockchain networks.
Optionally, the sending, by the management node, the preparation instruction to the blockchain network corresponding to the preparation instruction includes:
the management node sends the preparation instruction to the blockchain network through an agent node of the blockchain network; the proxy node is used for packaging the preparation instruction and signing the packaged preparation instruction according to a signature algorithm of the block chain network;
the management node sends the submission instruction to a blockchain network, and the steps include:
the management node sends the submission instruction to the blockchain network through an agent node of the blockchain network; and the agent node is used for packaging the submission instruction and signing the packaged submission instruction according to the signature algorithm of the block chain network.
In the technical scheme, the proxy node performs packing and signature on the instruction sent by the management node, so that the block chain network performs consensus verification on the received instruction, and the correctness of the received instruction can be guaranteed.
Optionally, after the management node sends the commit instruction to each blockchain network, the method further includes:
the management node receives feedback of successful submission sent by each block chain network;
and the management node sends a successful transaction execution result 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 result, so that the complexity of the client is reduced.
Optionally, the method further includes:
if the management node determines that execution failure exists in the N execution results received in the preset time period or the number of the execution results received by the management node in the preset time period is less than N, generating a revocation instruction and sending the revocation instruction to each block chain network; the revocation instruction is used for instructing each blockchain network to restore the respective state to the state before the preparation instruction is executed.
In the above technical solution, once the management node finds that there is a blockchain network that is not successfully executed or does not return an execution result within a preset time period, the management node sends a revocation instruction to each blockchain network so that each blockchain network can rollback data, that is, the management node controls each blockchain network to not submit data after executing a preparation instruction, thereby implementing consistency of transactions executed by all blockchain networks, and avoiding inconsistency of transactions executed by each blockchain network due to occurrence of a successful transaction executed by a blockchain network (updating blockchain network state) and an unsuccessful transaction executed by a blockchain network (not updating blockchain network state) in a plurality of blockchain networks corresponding to one transaction to be executed.
In a second aspect, an embodiment of the present invention provides a method for performing a cross-chain transaction on a blockchain, including:
the block chain network receives a preparation instruction sent by a management node, and executes the preparation instruction to obtain an execution result; the preparation instruction is an instruction corresponding to the block chain network generated by the management node according to a to-be-executed transaction sent by a client, and the block chain network is any one of N block chain networks corresponding to the to-be-executed transaction; n is greater than 1;
if the block chain network determines that the execution result is successful, generating a first log; the first log is used for recording the state of the blockchain network after the preparation instruction is executed;
the block chain network sends the execution result to the management node;
if the block chain network receives a submitting instruction sent by the management node, updating the state of the block chain network to the state after the preparation instruction is executed according to the first log; the commit instruction is generated after the management node determines that the N execution results fed back by the N blockchain networks received within the preset time period are all successfully executed.
In the above technical solution, the management node generates a preparation instruction to be 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 networks execute according to the respective preparation instruction, but the blockchain networks do not submit the data after the preparation instruction is executed, but submit the data after the management node sends a submission instruction, and the management node needs to generate a submission instruction to be sent to each blockchain network after receiving the result of successful execution sent by all the blockchain networks so that each blockchain network can submit the data, that is, the management node controls each blockchain network to submit the data after the preparation instruction is executed, thereby implementing the consistency of the transaction executed by all the blockchain networks, and avoiding the occurrence of one transaction to be executed in a plurality of blockchain networks corresponding to each blockchain network, a successful transaction (updating blockchain network status) performed by a blockchain network occurs while a successful transaction (not updating blockchain network status) performed by a blockchain network does not occur, resulting in inconsistencies in transactions performed by blockchain networks.
Optionally, the preparation instruction is sent by the management node through an agent node of the blockchain network; the proxy node is used for packaging the preparation instruction and signing the packaged preparation instruction according to a signature algorithm of the block chain network;
the submitting instruction is sent by the management node through the agent node; the agent node is also used for packaging the submission instruction and signing the packaged submission instruction according to a signature algorithm of the block chain network;
before the block chain network executes the preparation instruction, the method further comprises:
the block chain network confirms that the signed preparation instruction passes the consensus verification of the block chain network;
before the block chain network executes the commit instruction, the method further comprises:
and the block chain network determines that the signed submission instruction passes the consensus verification of the block chain network.
In the technical scheme, the proxy node performs packing and signature on the instruction sent by the management node, so that the block chain network performs consensus verification on the received instruction, and the correctness of the received instruction can be guaranteed.
Optionally, the method further includes:
and if the block chain network determines that the execution result is execution failure, the block chain network sends the execution result to the management node.
Optionally, the method further includes:
if the block chain network determines that the execution result is successful, generating a second log; the second log is used for recording the state of the blockchain network before the preparation instruction is executed;
the method further comprises the following steps:
if the block chain network receives a revocation instruction sent by the management node, restoring the state of the block chain network 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 an execution failure exists in N execution results fed back by the N blockchain networks received within the preset time period or that the number of the execution results received by the management node within the preset time period is less than N.
In the above technical solution, once the management node finds that there is a blockchain network that is not successfully executed or does not return an execution result within a preset time period, the management node sends a revocation instruction to each blockchain network so that each blockchain network can rollback data, that is, the management node controls each blockchain network to not submit data after executing a preparation instruction, thereby implementing consistency of transactions executed by all blockchain networks, and avoiding inconsistency of transactions executed by each blockchain network due to occurrence of a successful transaction executed by a blockchain network (updating blockchain network state) and an unsuccessful transaction executed by a blockchain network (not updating blockchain network state) in a plurality of blockchain networks corresponding to one transaction to be executed.
In a third aspect, an embodiment of the present invention further provides a management node of a block chain, where the management node includes:
a transceiving unit and a processing unit;
the receiving and sending unit is used for receiving a transaction to be executed sent by a client and generating N preparation instructions corresponding to N block chain networks according to the transaction to be executed; n is greater than 1;
the transceiver unit is further configured to send each preparation instruction to a block chain network corresponding to each preparation instruction; the preparation instruction is used for instructing the blockchain network corresponding to the preparation instruction to execute the preparation instruction;
the receiving and sending unit is further configured to receive an execution result sent by each blockchain network; the execution result is determined after the block chain 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 within the preset time period are all successful in execution, and control the transceiver unit to send the commit instruction to each blockchain network; the commit instruction is for instructing each blockchain network to update the respective state to a state after the preparation instruction is executed.
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 proxy node is used for packaging the preparation instruction and signing the packaged preparation instruction according to a signature algorithm of the block chain network;
the transceiver unit is specifically configured to:
sending the submission instruction to the blockchain network through an agent node of the blockchain network; and the agent node is used for packaging the submission instruction and signing the packaged submission instruction according to the signature algorithm of the block chain network.
Optionally, the transceiver unit is further configured to:
after the submission instruction is sent to each block chain network, feedback of success of submission sent by each block chain network is received; and sending a result of successful transaction execution to the client.
Optionally, the processing unit is further configured to:
if it is determined that execution failure exists in the N execution results received in the preset time period, or the number of the execution results received in the preset time period is less than N, generating a cancellation instruction and controlling the transceiver unit to send to each block chain network; the revocation instruction is used for instructing each blockchain network to restore the respective state to the state before the preparation instruction is executed.
In a fourth aspect, an embodiment of the present invention further provides a blockchain network, including:
a transceiving unit and a processing unit;
the receiving and sending 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 block chain network generated by the management node according to a to-be-executed transaction sent by a client, and the block chain network is any one of N block chain 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 it is determined that the execution result is successful; the first log is used for recording the state of the blockchain network after the preparation instruction is executed;
the transceiver unit is further configured to send the execution result to the management node;
the processing unit is further configured to update the state of the blockchain network to a state after the preparation instruction is executed according to the first log if the transceiving unit receives a commit instruction sent by the management node; the commit instruction is generated after the management node determines that the N execution results fed back by the N blockchain networks received within the preset time period are all successfully executed.
Optionally, the preparation instruction is sent by the management node through an agent node of the blockchain network; the proxy node is used for packaging the preparation instruction and signing the packaged preparation instruction according to a signature algorithm of the block chain network;
the submitting instruction is sent by the management node through the agent node; the agent node is also used for packaging the submission instruction and signing the packaged submission instruction according to a signature algorithm of the block chain 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 passes consensus verification of the blockchain network.
Optionally, the transceiver unit is further configured to:
and if the processing unit determines that the execution result is 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, generating a second log; the second log is used for recording the state of the blockchain network before the preparation instruction is executed;
the processing unit is further configured to:
if the receiving and sending unit receives a revocation instruction sent by the management node, restoring the state of the block chain network 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 an execution failure exists in N execution results fed back by the N blockchain networks received within the preset time period or that the number of the execution results received by the management node within the preset time period is less than N.
In a fifth aspect, 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 instruction stored in the memory and executing the cross-chain transaction method of the block chain according to the obtained program.
In a sixth aspect, an embodiment of the present invention further provides a computer-readable non-volatile storage medium, which includes computer-readable instructions, and when the computer reads and executes the computer-readable instructions, the computer is caused to execute the above method for cross-chain transaction of a blockchain.
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 creative efforts.
Fig. 1 is a schematic diagram of a system architecture according to an embodiment of the present invention;
FIG. 2 is a schematic diagram of a class diagram definition provided by an embodiment of the present invention;
FIG. 3 is a flowchart illustrating a first cross-chain transaction method according to an embodiment of the present invention;
FIG. 4 is a flowchart illustrating a second cross-chain transaction method according to an embodiment of the present invention;
FIG. 5 is a flowchart illustrating a third method for cross-chain transaction 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 block chain 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 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.
Fig. 1 exemplarily shows a system architecture to which the method for providing a cross-chain transaction of a blockchain according to an embodiment of the present invention is applicable, where the system architecture may include N blockchain networks, a management node, and a client. Wherein N is greater than 1.
The management node is equivalent to a coordinator of the whole system, and can also be called as a cross-link relay, and plays a role of relaying between 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, the management node may be understood as a management server, a management terminal, a management system, a management device, or the like.
And if the management node determines that at least one block chain network in all the block chain networks fails to execute the transaction, the management node commands each block chain network not to submit the result data of the executed transaction. The management node can ensure that all the blockchain networks submit execution result data or do not submit the execution result data when the client sends transactions to the blockchain networks, so that the consistency of transaction execution of 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. The transaction resource, which may also be referred to as an execution resource, is a resource abstraction for implementing a transaction function, and exemplarily, the transaction resource includes an asset resource, an intelligent contract resource, and the like. These resources implement an atomic interface for transactions that are invoked by external (e.g., management nodes, proxy nodes).
In the embodiment of the present invention, the transaction resource may at least provide a prepare interface (prepare interface), a commit interface (commit interface), and a rollback interface (rollback interface). The class diagram definition is shown in figure 2.
Based on the above description, fig. 3 exemplarily illustrates a flow of a method for cross-chain transaction of a blockchain according to an embodiment of the present invention, where the flow may be performed by a management node of the blockchain.
As shown in fig. 3, the process specifically includes:
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 block chain 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, a commit instruction is generated and sent 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 locally in the management node for realizing fault recovery. The preparation instruction sent by the management node to each blockchain network is generated by the management node according to the received transaction to be executed, and the preparation instruction is used for indicating the blockchain network corresponding to the preparation instruction to execute the preparation instruction. For example, the transaction to be executed is "transfer asset 100 of the first account of the blockchain network 1 to the second account of the blockchain network 2", in practical implementation, that is, asset of the first account in the blockchain network 1 is subtracted by 100, and asset of the second account in the blockchain network 2 is added by 100, that is, the management node generates two preparation instructions to be respectively sent to the two blockchain networks, that is, generates a first preparation instruction "asset of the first account in the blockchain network 1 is subtracted by 100" to be sent to the blockchain network 1, and generates a second preparation instruction "asset of the second account in the blockchain network 2 is added by 100" to be sent to the blockchain network 2.
And each blockchain network executes after receiving the preparation instruction corresponding to the blockchain network, determines an execution result after the execution, and sends the determined execution result to the management node. Taking one of the blockchain networks as an example, after receiving a preparation instruction, the blockchain network executes the preparation instruction, and in the execution process, if the blockchain network is successfully executed, a first log and a second log are generated, and an execution result of the successful execution is sent to the management node, wherein the first log is used for recording a state after the blockchain network executes the preparation instruction; the second log is used for recording the state before the block chain network executes the preparation instruction; and if the execution of the block chain network is unsuccessful, the execution result of the execution failure is sent to the management node. In other words, the management node receives the execution result sent by each blockchain network, where the execution result is determined after the blockchain network sending the execution result executes the preparation instruction.
In one implementation, if the management node receives that all the N execution results sent by the N blockchain networks are successfully executed within a preset time period, a commit instruction is generated and sent to each blockchain network, where the commit instruction is used to instruct each blockchain network to update its respective state to a state after the execution preparation instruction.
In another implementation manner, if the number of execution results received by the management node in the preset time period is less than N, or if the execution failure exists in the N execution results sent by the N blockchain networks received by the management node in the preset time period, a revocation instruction is generated and sent to each blockchain network, where the revocation instruction is used to instruct each blockchain network to restore its respective state to the state before the preparation instruction is executed.
It should be noted that, after the corresponding preparation instruction is successfully executed by the blockchain network, the data generated after the preparation instruction is executed is not submitted, that is, the state of the blockchain network is not updated, but after the blockchain network receives the submit instruction or the cancel instruction sent by the management node, the state of the blockchain network is updated to the state after the preparation instruction is executed or the state of the blockchain network is restored to the state before the preparation instruction is executed.
Still continuing with the above example, assuming that the asset of the first account in the blockchain network 1 is 50, the asset of the second account in the blockchain network 2 is 150, and the blockchain network 1 executes subtracting 100 from the asset of the first account after receiving the first preparation instruction, but at this time, the asset of the first account is less than 100, and the blockchain network 1 cannot successfully execute the first preparation instruction, that is, generates a result of execution failure; after receiving the second preparation instruction, the blockchain network 2 performs adding 100 to the asset of the second account, and then generates a first log and a second log, where the first log records that "the asset of the second account in the blockchain network 2 is 250", the second log records that "the asset of the second account in the blockchain network 2 is 150", and status data that the asset of the second account in the blockchain network 2 is 250 is 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 result of the execution failure exists in the received execution result, and then sends a cancel instruction to the blockchain network 1 and the blockchain network 2, because the blockchain network 1 does not successfully execute the first preparation instruction, the state of the blockchain network 1 does not change, 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, that is, "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 further correspond to a proxy node, and when the management node sends an instruction to any blockchain network, the instruction may be sent to the blockchain network by the proxy node of the blockchain network, and the proxy node is configured to perform a package signature on the instruction sent by the management node. Specifically, the management node may send the preparation instruction to the blockchain network through an agent node of the blockchain network, where the agent 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 submission instruction to the block chain network through an agent node of the block chain network, and the agent node is used for packaging the submission instruction and signing the packaged submission instruction according to a signature algorithm of the block chain network; the management node can also send the revocation instruction to the block chain network through an agent node of the block chain network, and the agent node is used for packaging the revocation instruction and signing the packaged revocation instruction according to a signature algorithm of the block chain network.
In the embodiment of the invention, after the management node sends the submission instruction to each blockchain network, each blockchain network executes the submission instruction and feeds back the successful submission result to the management node, and after the management node receives the successful submission feedback sent by each blockchain network, the management node can send the successful transaction execution result to the client. The successful execution of the transaction here refers to that all blockchain networks execute the respective transaction successfully and submit the data after the successful execution of the transaction.
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 successful revocation to the management node, and after receiving the feedback of 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 perform a transaction here means that all blockchain networks do not submit data for the respective performed transaction.
In the above embodiment, the management node generates the preparation instructions distributed to the blockchain networks according to the to-be-executed transaction, and sends the preparation instructions to the corresponding blockchain networks, so that the blockchain networks execute according to the respective preparation instructions, but the blockchain networks do not submit the executed data after executing the preparation instructions, but submit the data after the management node sends the submission instructions, and the management node needs to generate the submission instructions and send the submission instructions to the blockchain networks after receiving the results of successful execution sent by all the blockchain networks so that the blockchain networks can submit the data, and correspondingly, once the management node finds that the blockchain networks are not successfully executed or the execution results are not returned within the preset time period, the management node sends the revocation instructions to the blockchain networks so that the blockchain networks can rollback the data, that is, whether each blockchain network submits the data after executing the preparation instruction is controlled by the management node, or all blockchain networks submit the data, or all blockchain networks do not submit the data, so that the consistency of transaction execution of all blockchain networks is realized, and the inconsistency of transaction execution of each blockchain network caused by the fact that a certain blockchain network executes a successful transaction (updates the state of the blockchain network) and a certain blockchain network does not execute a successful transaction (does not update the state of the blockchain network) in a plurality of blockchain networks corresponding to one transaction to be executed is avoided.
Based on the above description, fig. 4 exemplarily shows a flow of another method for a blockchain cross-chain transaction according to an embodiment of the present invention, where the flow 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 block chain network determines that the execution result is successful, generating a first log;
step 403, the block chain network sends the execution result to the management node;
in step 404, if the blockchain network receives a commit instruction sent by the management node, the state of the blockchain network is updated to the state after the preparation instruction is executed according to the first log.
In the embodiment of the invention, the preparation instruction is a corresponding instruction of the block chain network generated by the management node according to the transaction to be executed sent by the client, the transaction to be executed sent by the client corresponds to N block chain networks, and N is greater than 1; the blockchain network here 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 successfully executed, a first log is generated and the execution result of the successful execution is sent 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 the 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 the second log so as to guarantee the correctness of the first log and the second log.
In addition, if the execution of the blockchain network is unsuccessful, the execution result of the execution failure is sent to the management node.
In the embodiment of the present invention, the preparation instruction may be sent by the management node through an agent node of the blockchain network, the agent node is configured to package the preparation instruction and sign the packaged preparation instruction according to a signature algorithm of the blockchain network, the blockchain network performs consensus verification on the signed preparation instruction after receiving the signed preparation instruction, and if the consensus verification passes, executes the signed preparation instruction. Similarly, the submission instruction may also be sent by the management node through an agent node, where the agent node is configured to package the submission instruction and sign the packaged submission instruction according to a signature algorithm of the blockchain network, and after receiving the signed submission instruction, the blockchain network performs consensus verification on the signed submission instruction, and if the consensus verification passes, executes the signed submission instruction. Similarly, the revocation instruction may also be sent by the management node through an agent node, where the agent node is configured to package the revocation instruction and sign the packaged revocation instruction according to a signature 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 present invention, the proxy node may also perform a package signature on another instruction sent by the management node. The block chain network performs consensus verification on the received instruction, and can guarantee the correctness of the received instruction.
To better explain the embodiment of the present invention, the interaction among the client, the management node, the blockchain network 1, the agent node 1 of the blockchain network 1, the blockchain network 2, and the agent node 2 of the blockchain network 2 during cross-chain asset transaction is detailed in the flowchart shown in fig. 5. Here, assume that the first account has 150 assets in blockchain network 1 and the second account has 150 assets 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 to the local management node, and then generates a first preparation instruction and a second preparation instruction which are respectively sent to the blockchain network 1 and the blockchain network 2.
After receiving the first preparation instruction, the blockchain network 1 invokes a 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 to generate a first log and a second log of the blockchain network 1, wherein assets of the first account in the blockchain network 1 are locked by 150 and 50, respectively, since the currently executed data "asset 50" is not submitted, the asset of the first account in the blockchain network 1 is still 150, and the blockchain network 1 sends a result of successful execution to the management node.
After receiving the second preparation instruction, the blockchain network 2 invokes a consensus module of the blockchain network 2 to perform consensus verification on the second preparation instruction, and executes the second preparation instruction after the verification is passed to generate a first log and a second log of the blockchain network 2, where assets of the second account in the blockchain network 2 that are locked are 150 and 250, respectively, and since the currently executed data "asset 250" is not submitted, the asset of the second account in the blockchain network 2 is still 150, and the blockchain network 2 sends a result of successful execution to the management node.
And the management node receives the result of successful execution sent by the blockchain network 1 and the result of successful execution sent by the blockchain network 2, and generates a submission instruction to be sent to the blockchain network 1 and the blockchain network 2 when the management node determines that both the blockchain network 1 and the blockchain network 2 corresponding to the asset transfer request are successfully executed.
The blockchain network 1 executes a submission instruction, submits the asset 50, releases the asset 150 and updates the asset of the first account in the blockchain network 1 to 50; the blockchain network 2 executes the commit command, commits "assets 250", releases "assets 150", and updates the assets of the second account in the blockchain network 2 to 250.
And after receiving the feedback of successful submission sent by the blockchain network 1 and the feedback of successful submission sent by the blockchain network 2, the management node sends a notice of completion of asset transfer to the client.
In the above example, if it is assumed that the assets of the first account in the blockchain network 1 are 50, the assets of the second account in the blockchain network 2 are 150. If yes, after receiving the first preparation instruction, the blockchain network 1 calls a 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 cannot be deducted by 100, the blockchain network 1 cannot successfully execute the first preparation instruction, and the blockchain network 1 sends a result of execution failure to the management node.
The step of the blockchain network 2 executing the second preparation instruction is consistent with the above example, and is not described in detail.
And 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 generates a revocation instruction to send to the blockchain network 1 and the blockchain network 2 when the management node determines that the blockchain network 1 and the blockchain network 2 corresponding to the asset transfer request are not executed successfully.
The block chain network 1 receives the cancel instruction without any operation; the blockchain network 2 executes the revocation instruction to release the "asset 250" and the asset of the second account in the blockchain network 2 is still 150.
And after receiving the feedback of successful revocation sent by the blockchain network 1 and the feedback of successful revocation sent by the blockchain network 2, the management node sends a notice of asset transfer failure to the client.
In the above embodiment, the management node generates the preparation instructions distributed to the blockchain networks according to the to-be-executed transaction, and sends the preparation instructions to the corresponding blockchain networks, so that the blockchain networks execute according to the respective preparation instructions, but the blockchain networks do not submit the executed data after executing the preparation instructions, but submit the data after the management node sends the submission instructions, and the management node needs to generate the submission instructions and send the submission instructions to the blockchain networks after receiving the results of successful execution sent by all the blockchain networks so that the blockchain networks can submit the data, and correspondingly, once the management node finds that the blockchain networks are not successfully executed or the execution results are not returned within the preset time period, the management node sends the revocation instructions to the blockchain networks so that the blockchain networks can rollback the data, that is, whether each blockchain network submits the data after executing the preparation instruction is controlled by the management node, or all blockchain networks submit the data, or all blockchain networks do not submit the data, so that the consistency of transaction execution of all blockchain networks is realized, and the inconsistency of transaction execution of each blockchain network caused by the fact that a certain blockchain network executes a successful transaction (updates the state of the blockchain network) and a certain blockchain network does not execute a successful transaction (does not update the state of the blockchain network) in a plurality of blockchain networks corresponding to one transaction to be executed is avoided.
Based on the same inventive concept, fig. 6 exemplarily shows a structure of a management node of a blockchain provided by an embodiment of the present invention, where the management node of the blockchain may execute a flow of a cross-chain transaction method of the blockchain.
The management node comprises:
a transceiver 601 and a processor 602;
the receiving and sending unit 601 is configured to receive a to-be-executed transaction sent by a client, and generate N preparation instructions corresponding to N blockchain networks according to the to-be-executed transaction; n is greater than 1;
the transceiver 601 is further configured to send each preparation instruction to a blockchain network corresponding to each preparation instruction; the preparation instruction is used for instructing the blockchain network corresponding to the preparation instruction to execute the preparation instruction;
the transceiver 601 is further configured to receive an execution result sent by each blockchain network; the execution result is determined after the block chain 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 time period are successful, and control the transceiver unit 601 to send the commit instruction to each blockchain network; the commit instruction is for instructing each blockchain network to update the respective state to a state after the preparation instruction is executed.
Optionally, the transceiver 601 is specifically configured to:
sending the preparation instruction to the blockchain network through a proxy node of the blockchain network; the proxy node is used for packaging the preparation instruction and signing the packaged preparation instruction according to a signature algorithm of the block chain network;
the transceiver 601 is specifically configured to:
sending the submission instruction to the blockchain network through an agent node of the blockchain network; and the agent node is used for packaging the submission instruction and signing the packaged submission instruction according to the signature algorithm of the block chain network.
Optionally, the transceiver 601 is further configured to:
after the submission instruction is sent to each block chain network, feedback of success of submission sent by each block chain network is received; and sending a result of successful transaction execution to the client.
Optionally, the processing unit 602 is further configured to:
if it is determined that an execution failure exists in the N execution results received in the preset time period, or the number of the execution results received by the management node in the preset time period is less than N, a cancel instruction is generated and the transceiver 601 is controlled to be sent to each blockchain network; the revocation instruction is used for instructing each blockchain network to restore the respective state to the state before the preparation instruction is executed.
Based on the same inventive concept, fig. 7 exemplarily shows a structure of a blockchain network provided by an embodiment of the present invention, and the blockchain network may perform a flow of a cross-chain transaction method of a blockchain.
The blockchain network comprises:
a transceiver 701 and a processor 702;
the transceiver 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 block chain network generated by the management node according to a to-be-executed transaction sent by a client, and the block chain network is any one of N block chain 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 successful; the first log is used for recording the state of the blockchain network after the preparation instruction is executed;
the transceiver 701 is further configured to send the execution result to the management node;
the processing unit 702 is further configured to update the state of the blockchain network to a state after the preparation instruction is executed according to the first log if the transceiving unit 701 receives a commit instruction sent by the management node; the commit instruction is generated after the management node determines that the N execution results fed back by the N blockchain networks received within the preset time period are all successfully executed.
Optionally, the preparation instruction is sent by the management node through an agent node of the blockchain network; the proxy node is used for packaging the preparation instruction and signing the packaged preparation instruction according to a signature algorithm of the block chain network;
the submitting instruction is sent by the management node through the agent node; the agent node is also used for packaging the submission instruction and signing the packaged submission instruction according to a signature algorithm of the block chain 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 passes consensus verification of the blockchain network.
Optionally, the transceiver 701 is further configured to:
if the processing unit 702 determines that the execution result is an execution failure, the execution result is sent to the management node.
Optionally, the processing unit 702 is further configured to:
if the execution result is determined to be successful, generating a second log; the second log is used for recording the state of the blockchain network before the preparation instruction is executed;
the processing unit 702 is further configured to:
if the transceiver unit 701 receives a revocation instruction sent by the management node, restoring the state of the block chain network 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 an execution failure exists in N execution results fed back by the N blockchain networks received within the preset time period or that the number of the execution results received by the management node within the preset time period is less 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 present invention further provides a computer-readable non-volatile storage medium, which includes computer-readable instructions, and when the computer reads and executes the computer-readable instructions, the computer is enabled to execute the 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 flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
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 (12)

1. A method for cross-chain transaction of a blockchain is characterized by comprising the following steps:
the method comprises the steps that a management node receives a transaction to be executed sent by a client, and N preparation instructions corresponding to N block chain networks are generated according to the transaction to be executed; n is greater than 1;
the management node sends each preparation instruction to a block chain network corresponding to each preparation instruction; the preparation instruction is used for instructing the 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 block chain network sending the execution result executes a preparation instruction;
if the management node determines that the N execution results received in the preset time period are all successful in execution, a submission instruction is generated and sent to each block chain network; the commit instruction is for instructing each blockchain network to update the respective state to a state after the preparation instruction is executed.
2. The method of claim 1, wherein the management node sending a preparation instruction into a blockchain network corresponding to the preparation instruction comprises:
the management node sends the preparation instruction to the blockchain network through an agent node of the blockchain network; the proxy node is used for packaging the preparation instruction and signing the packaged preparation instruction according to a signature algorithm of the block chain network;
the management node sends the submission instruction to a blockchain network, and the steps include:
the management node sends the submission instruction to the blockchain network through an agent node of the blockchain network; and the agent node is used for packaging the submission instruction and signing the packaged submission instruction according to the signature algorithm of the block chain network.
3. 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 a successful transaction execution result to the client.
4. The method of any of claims 1 to 3, further comprising:
if the management node determines that execution failure exists in the N execution results received in the preset time period or the number of the execution results received by the management node in the preset time period is less than N, generating a revocation instruction and sending the revocation instruction to each block chain network; the revocation instruction is used for instructing each blockchain network to restore the respective state to the state before the preparation instruction is executed.
5. A method for cross-chain transaction of a blockchain is characterized by comprising the following steps:
the block chain network receives a preparation instruction sent by a management node, and executes the preparation instruction to obtain an execution result; the preparation instruction is an instruction corresponding to the block chain network generated by the management node according to a to-be-executed transaction sent by a client, and the block chain network is any one of N block chain networks corresponding to the to-be-executed transaction; n is greater than 1;
if the block chain network determines that the execution result is successful, generating a first log; the first log is used for recording the state of the blockchain network after the preparation instruction is executed;
the block chain network sends the execution result to the management node;
if the block chain network receives a submitting instruction sent by the management node, updating the state of the block chain network to the state after the preparation instruction is executed according to the first log; the commit instruction is generated after the management node determines that the N execution results fed back by the N blockchain networks received within the preset time period are all successfully executed.
6. The method of claim 5, wherein the preparation instruction is sent by the management node through a proxy node of the blockchain network; the proxy node is used for packaging the preparation instruction and signing the packaged preparation instruction according to a signature algorithm of the block chain network;
the submitting instruction is sent by the management node through the agent node; the agent node is also used for packaging the submission instruction and signing the packaged submission instruction according to a signature algorithm of the block chain network;
before the block chain network executes the preparation instruction, the method further comprises:
the block chain network confirms that the signed preparation instruction passes the consensus verification of the block chain network;
before the block chain network executes the commit instruction, the method further comprises:
and the block chain network determines that the signed submission instruction passes the consensus verification of the block chain network.
7. The method of claim 5, wherein the method further comprises:
and if the block chain network determines that the execution result is execution failure, the block chain network sends the execution result to the management node.
8. The method of any of claims 5 to 7, further comprising:
if the block chain network determines that the execution result is successful, generating a second log; the second log is used for recording the state of the blockchain network before the preparation instruction is executed;
the method further comprises the following steps:
if the block chain network receives a revocation instruction sent by the management node, restoring the state of the block chain network 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 an execution failure exists in N execution results fed back by the N blockchain networks received within the preset time period or that the number of the execution results received by the management node within the preset time period is less than N.
9. A management node of a blockchain, comprising:
a transceiving unit and a processing unit;
the receiving and sending unit is used for receiving a transaction to be executed sent by a client and generating N preparation instructions corresponding to N block chain networks according to the transaction to be executed; n is greater than 1;
the transceiver unit is further configured to send each preparation instruction to a block chain network corresponding to each preparation instruction; the preparation instruction is used for instructing the blockchain network corresponding to the preparation instruction to execute the preparation instruction;
the receiving and sending unit is further configured to receive an execution result sent by each blockchain network; the execution result is determined after the block chain 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 within the preset time period are all successful in execution, and control the transceiver unit to send the commit instruction to each blockchain network; the commit instruction is for instructing each blockchain network to update the respective state to a state after the preparation instruction is executed.
10. A blockchain network, comprising:
a transceiving unit and a processing unit;
the receiving and sending 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 block chain network generated by the management node according to a to-be-executed transaction sent by a client, and the block chain network is any one of N block chain 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 it is determined that the execution result is successful; the first log is used for recording the state of the blockchain network after the preparation instruction is executed;
the transceiver unit is further configured to send the execution result to the management node;
the processing unit is further configured to update the state of the blockchain network to a state after the preparation instruction is executed according to the first log if the transceiving unit receives a commit instruction sent by the management node; the commit instruction is generated after the management node determines that the N execution results fed back by the N blockchain networks received within the preset time period are all successfully executed.
11. A computing device, comprising:
a memory for storing program instructions;
a processor for calling program instructions stored in said memory to perform the method of any one of claims 1 to 4 or 5 to 8 in accordance with the obtained program.
12. A computer readable non-transitory storage medium including computer readable instructions which, when read and executed by a computer, cause the computer to perform the method of any one of claims 1 to 4 or 5 to 8.
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 true CN111080449A (en) 2020-04-28
CN111080449B 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)

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111526211A (en) * 2020-05-06 2020-08-11 杭州复杂美科技有限公司 Asset transfer method, device and storage medium
CN111640017A (en) * 2020-05-06 2020-09-08 深圳前海微众银行股份有限公司 Transaction correctness verification method and device applied to alliance chain cross-chain transfer
CN111652728A (en) * 2020-06-17 2020-09-11 深圳前海微众银行股份有限公司 Transaction processing method and device
CN111953754A (en) * 2020-07-31 2020-11-17 成都质数斯达克科技有限公司 Cross-chain transaction method, electronic device and readable storage medium
CN112162760A (en) * 2020-09-30 2021-01-01 深圳前海微众银行股份有限公司 Block consensus transformation method and device
CN112202863A (en) * 2020-09-24 2021-01-08 成都质数斯达克科技有限公司 Data synchronization method and device, electronic equipment and readable storage medium
CN112232822A (en) * 2020-12-08 2021-01-15 腾讯科技(深圳)有限公司 Transaction processing method, node, device and storage medium of block chain network
CN112491846A (en) * 2020-11-18 2021-03-12 深圳前海微众银行股份有限公司 Cross-chain block chain communication method and device
CN112927073A (en) * 2021-02-23 2021-06-08 网易(杭州)网络有限公司 Cross-link data interchange method, system, device and electronic equipment
CN113610520A (en) * 2021-07-21 2021-11-05 上海浦东发展银行股份有限公司 Data processing method, system, device, computer equipment and storage medium
CN113783949A (en) * 2021-08-26 2021-12-10 浙商银行股份有限公司 Cross-chain decentralized method based on contract management
CN113850600A (en) * 2021-12-01 2021-12-28 深圳前海微众银行股份有限公司 Transaction consensus method, device, equipment and storage medium based on block chain
CN115277110A (en) * 2022-07-04 2022-11-01 河北嘉朗科技有限公司 Method for solving inter-network communication problem of block chain nodes in cloud native environment
US12020241B1 (en) * 2020-08-06 2024-06-25 Citibank, N.A. Systems and methods for multi-entity blockchain-based event break prevention
US12051063B2 (en) 2020-08-06 2024-07-30 Citibank, N.A. Systems and methods for blockchain-based transaction break prevention

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

Cited By (23)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111526211B (en) * 2020-05-06 2023-04-14 杭州复杂美科技有限公司 Asset transfer method, device and storage medium
CN111640017A (en) * 2020-05-06 2020-09-08 深圳前海微众银行股份有限公司 Transaction correctness verification method and device applied to alliance chain cross-chain transfer
CN111526211A (en) * 2020-05-06 2020-08-11 杭州复杂美科技有限公司 Asset transfer method, device and storage medium
CN111640017B (en) * 2020-05-06 2024-05-28 深圳前海微众银行股份有限公司 Transaction correctness verification method and device applied to alliance chain cross-chain transfer
CN111652728A (en) * 2020-06-17 2020-09-11 深圳前海微众银行股份有限公司 Transaction processing method and device
CN111652728B (en) * 2020-06-17 2024-06-28 深圳前海微众银行股份有限公司 Transaction processing method and device
CN111953754A (en) * 2020-07-31 2020-11-17 成都质数斯达克科技有限公司 Cross-chain transaction method, electronic device and readable storage medium
US12051063B2 (en) 2020-08-06 2024-07-30 Citibank, N.A. Systems and methods for blockchain-based transaction break prevention
US20240211939A1 (en) * 2020-08-06 2024-06-27 Citibank, N.A. Systems and methods for multi-entity blockchain-based event break prevention
US12020241B1 (en) * 2020-08-06 2024-06-25 Citibank, N.A. Systems and methods for multi-entity blockchain-based event break prevention
CN112202863A (en) * 2020-09-24 2021-01-08 成都质数斯达克科技有限公司 Data synchronization method and device, electronic equipment and readable storage medium
CN112202863B (en) * 2020-09-24 2022-09-20 成都质数斯达克科技有限公司 Data synchronization method and device, electronic equipment and readable storage medium
CN112162760A (en) * 2020-09-30 2021-01-01 深圳前海微众银行股份有限公司 Block consensus transformation method and device
CN112491846B (en) * 2020-11-18 2023-04-18 深圳前海微众银行股份有限公司 Cross-chain block chain communication method and device
CN112491846A (en) * 2020-11-18 2021-03-12 深圳前海微众银行股份有限公司 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
CN112232822A (en) * 2020-12-08 2021-01-15 腾讯科技(深圳)有限公司 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
CN113610520A (en) * 2021-07-21 2021-11-05 上海浦东发展银行股份有限公司 Data processing method, system, device, computer equipment and storage medium
CN113783949A (en) * 2021-08-26 2021-12-10 浙商银行股份有限公司 Cross-chain decentralized method based on contract management
CN113850600A (en) * 2021-12-01 2021-12-28 深圳前海微众银行股份有限公司 Transaction consensus method, device, equipment and storage medium based on block chain
CN115277110A (en) * 2022-07-04 2022-11-01 河北嘉朗科技有限公司 Method for solving inter-network communication problem of block chain nodes in cloud native environment
CN115277110B (en) * 2022-07-04 2023-07-28 河北嘉朗科技有限公司 Method for solving block chain node cross-network communication problem in cloud native environment

Also Published As

Publication number Publication date
CN111080449B (en) 2023-12-19

Similar Documents

Publication Publication Date Title
CN111080449B (en) Cross-chain transaction method of blockchain, management node and blockchain network
CN111367628B (en) Distributed transaction processing method and device, message producer and consumer system
CN110413304B (en) Intelligent contract hot upgrading method and device based on block chain network
CN106899648B (en) Data processing method and equipment
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
CN112995262B (en) Distributed transaction submission method, system and computing equipment
CN111008827A (en) Cross-chain transaction signature method and device
EP2715526B1 (en) Episodic coordination model for distributed applications
US20150319036A1 (en) Network transaction control method and executing method, network controller, and forwarding device
CN113377798A (en) Block chain consistency processing method, block chain node and block chain system
CN112596801B (en) Transaction processing method, device, equipment, storage medium and database
CN111897826A (en) Parameter information updating method and device, electronic equipment and readable storage medium
CN107038025B (en) SOA architecture-based system calling method and device
JP6613315B2 (en) Transaction processing system and transaction control method
CN113505021B (en) Fault tolerance method and system based on multi-master-node master-slave distributed architecture
CN110287267A (en) A kind of data processing method and device of cross-node
US20210149709A1 (en) Method and apparatus for processing transaction
KR20210046187A (en) Method for associating data between a plurality of blockchain networks and apparatus thereof
CN114266665B (en) Contract multi-main chain crossing method, equipment and storage medium
CN104699799A (en) Data transmission method based on cross system
CN113065967A (en) Multi-mode service processing method, device and equipment
CN109144597B (en) Method and device for obtaining callback information of download interface
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