WO2023207085A1 - Système et procédé d'interaction entre chaînes de blocs - Google Patents

Système et procédé d'interaction entre chaînes de blocs Download PDF

Info

Publication number
WO2023207085A1
WO2023207085A1 PCT/CN2022/135558 CN2022135558W WO2023207085A1 WO 2023207085 A1 WO2023207085 A1 WO 2023207085A1 CN 2022135558 W CN2022135558 W CN 2022135558W WO 2023207085 A1 WO2023207085 A1 WO 2023207085A1
Authority
WO
WIPO (PCT)
Prior art keywords
blockchain network
routing node
layer
cross
node
Prior art date
Application number
PCT/CN2022/135558
Other languages
English (en)
Chinese (zh)
Inventor
徐文博
孙赫
曾超
焦梦洪
Original Assignee
蚂蚁区块链科技(上海)有限公司
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 蚂蚁区块链科技(上海)有限公司 filed Critical 蚂蚁区块链科技(上海)有限公司
Publication of WO2023207085A1 publication Critical patent/WO2023207085A1/fr

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/104Peer-to-peer [P2P] networks
    • H04L67/1059Inter-group management mechanisms, e.g. splitting, merging or interconnection of groups
    • 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

Definitions

  • One or more embodiments of the present disclosure relate to the field of blockchain technology, and more specifically, to a system, method, apparatus, computing device and storage medium for cross-blockchain interaction.
  • Blockchain is a new application model of computer technology such as distributed data storage, point-to-point transmission, consensus mechanism, and encryption algorithm.
  • blockchain is usually composed of several blocks. In these blocks, the timestamp corresponding to the creation moment of the block is recorded respectively. All blocks strictly follow the timestamp recorded in the block to form a time-ordered data chain.
  • the node devices in the blockchain will perform consensus processing on the received transactions. , and after reaching a consensus, the node device as the accounting node in the blockchain will package the transaction into a block and store it persistently in the blockchain. Due to the characteristics of blockchain, such as decentralization, non-tamperable information, and autonomy, blockchain has also received more and more attention and applications.
  • An object of one or more embodiments of the present disclosure is to provide a system, method, apparatus, computing device, and storage medium for cross-blockchain interaction.
  • a system for cross-blockchain interaction including: a first blockchain network, the first blockchain network including a first blockchain network communicating with each other. A routing node and a plurality of first consensus nodes; a second blockchain network, the second blockchain network includes a second routing node and a plurality of second consensus nodes that communicate with each other; and the first blockchain network and An upper-layer blockchain network of the second blockchain network, the upper-layer blockchain network includes a first upper-layer routing node that is trusted by the first blockchain network and communicates with the first routing node, and a first upper-layer routing node that is trusted by the second blockchain network.
  • the blockchain network is configured to manage the third blockchain network by uploading changes to the consensus node of each blockchain network in the first blockchain network and the second blockchain network into certificates in the upper layer blockchain network. Consensus nodes for each blockchain network in the first blockchain network and the second blockchain network.
  • a method for cross-blockchain interaction including: obtaining data from a first blockchain through a first routing node of the first blockchain network
  • the cross-chain transaction of the network is to be executed in the second blockchain network and the cross-chain transaction is transmitted to the first blockchain network and the upper blockchain network of the second blockchain network is the first blockchain network.
  • a trusted first upper-layer routing node transmitting the cross-chain transaction received from the first routing node to a second upper-layer routing node of the upper-layer blockchain network that is trusted by the second blockchain network through the first upper-layer routing node ;Transmit the cross-chain transaction received from the first upper-layer routing node to the second routing node of the second blockchain network through the second upper-layer routing node; and broadcast from the second routing node in the second blockchain network
  • the cross-chain transaction received by the second upper-layer routing node causes multiple second consensus nodes of the second blockchain network to receive and execute the cross-chain transaction, wherein the upper-layer blockchain network is configured to pass the first Changes in the consensus nodes of each blockchain network in the first blockchain network and the second blockchain network are uploaded and stored in the upper blockchain network to manage the first blockchain network and the second zone.
  • the consensus node of each blockchain network in the blockchain network is configured to pass the first Changes in the consensus nodes of each blockchain network in the first blockchain network and the second blockchain network are uploaded and stored in the upper blockchain network to
  • an apparatus for cross-blockchain interaction comprising: a collection module configured to pass through a first routing node of the first blockchain network Obtaining a cross-chain transaction from the first blockchain network to be executed in the second blockchain network; a transmission module configured to transmit the cross-chain transaction to the first blockchain network and the first routing node through the first routing node
  • the first upper-layer routing node of the upper-layer blockchain network of the second blockchain network that is trusted by the first blockchain network transmits the cross-chain transaction received from the first routing node to the upper layer through the first upper-layer routing node.
  • the second upper-layer routing node of the blockchain network that is trusted by the second blockchain network transmits the cross-chain transaction received from the first upper-layer routing node to the second node of the second blockchain network through the second upper-layer routing node.
  • a routing node and an execution module configured to broadcast the cross-chain transaction received from the second upper-layer routing node in the second blockchain network through the second routing node, so that multiple second nodes of the second blockchain network
  • the consensus node receives and executes the cross-chain transaction, wherein the upper blockchain network is configured to connect the consensus node of each blockchain network in the first blockchain network and the second blockchain network. Change the on-chain certificate in the upper-layer blockchain network to manage the consensus node of each blockchain network in the first blockchain network and the second blockchain network.
  • a computing device for cross-blockchain interaction including: one or more processors; and a memory storing computer-executable instructions, The computer-executable instructions, when executed by the one or more processors, cause the one or more processors to perform a method according to any embodiment of the present disclosure.
  • a non-transitory storage medium having computer-executable instructions stored thereon, the computer-executable instructions, when executed by a computer, cause the computer to perform according to the present disclosure.
  • FIG. 1 is a schematic diagram of a system for cross-blockchain interaction in accordance with one or more exemplary embodiments of the present disclosure
  • Figure 2 is a schematic diagram of a system for cross-blockchain interactions in accordance with one or more exemplary embodiments of the present disclosure
  • Figure 3 is a schematic diagram of a system for cross-blockchain interaction in accordance with one or more exemplary embodiments of the present disclosure
  • Figure 4 is a schematic diagram of a system for cross-blockchain interaction in accordance with one or more exemplary embodiments of the present disclosure
  • Figure 5 is a schematic diagram of a system for cross-blockchain interaction in accordance with one or more exemplary embodiments of the present disclosure
  • Figure 6 is a schematic diagram of a system for cross-blockchain interaction in accordance with one or more exemplary embodiments of the present disclosure
  • FIG. 7 is a schematic diagram of a system for cross-blockchain interaction in accordance with one or more exemplary embodiments of the present disclosure
  • Figure 8 is a schematic diagram of a system for cross-blockchain interaction in accordance with one or more exemplary embodiments of the present disclosure
  • Figure 9 is a schematic diagram of a system for cross-blockchain interaction in accordance with one or more exemplary embodiments of the present disclosure.
  • Figure 10 is a schematic diagram of a system for cross-blockchain interactions in accordance with one or more exemplary embodiments of the present disclosure
  • Figure 11 is a flowchart of a method for cross-blockchain interaction in accordance with one or more exemplary embodiments of the present disclosure
  • Figure 12 is a schematic block diagram of an apparatus for cross-blockchain interaction according to one or more exemplary embodiments of the present disclosure
  • Figure 13 is a schematic block diagram illustrating a computer system on which one or more exemplary embodiments of the present disclosure may be implemented;
  • FIG. 14 is a schematic block diagram of a computing device for cross-blockchain interaction in accordance with one or more exemplary embodiments of the present disclosure.
  • connection is intended to include a physical, electrical, and/or communicative connection of one feature to another feature, with or without intervening features.
  • connection is a communication connection, even if it is mentioned that A and B are "directly connected", it is only intended to emphasize that one or more features emphasized by one or more embodiments of the present disclosure do not exist between the connection of A and B, but it does not It means that A and B are connected without any components.
  • a and B can be connected through cables, routers, gateways, channels, links, networks, etc. It should be noted that in the drawings of one or more embodiments of the present disclosure, whether the direct connection or the indirect connection between A and B is represented by a straight line or other graphic elements connecting A and B.
  • a or B includes “A and B” as well as “A or B” and does not exclusively include only “A” or only “B” unless specifically stated otherwise.
  • the term "exemplary” means “serving as an example, instance, or illustration” rather than as a “model” that will be accurately reproduced. Any implementation illustratively described herein is not necessarily to be construed as preferred or advantageous over other implementations. Furthermore, the disclosure one or more embodiments is not to be bound by any expressed or implied theory presented in the above technical field, background, brief summary, or detailed description.
  • the term “substantially” is meant to include any minor variations resulting from design or manufacturing defects, device or component tolerances, environmental effects, and/or other factors.
  • the term “substantially” also allows for differences from the perfect or ideal situation due to parasitics, noise, and other practical considerations that may be present in actual implementations.
  • first”, “second” and similar terms may also be used herein for reference purposes only and are therefore not intended to be limiting.
  • the words “first,” “second,” and other such numerical words referring to structures or elements do not imply a sequence or order unless clearly indicated by the context.
  • Blockchain network A system in which multiple participants on a distributed network jointly maintain chained data based on blockchain technology through consensus rules.
  • Blockchain consensus node A network node in the blockchain network that has a complete copy of the ledger and the ability to participate in blockchain network consensus and ledger maintenance.
  • Blockchain routing node A network node in a blockchain network that has the ability to communicate across blockchains but does not have the ability to participate in blockchain network consensus and ledger maintenance. Sometimes it can be configured to have a complete ledger. copy.
  • Homogeneous blockchain can also be referred to as isomorphic chain in this article: a blockchain built on the same underlying blockchain technology platform, security mechanism, consensus algorithm, network topology, and block generation verification between isomorphic chains The logic is consistent, generally using the same set of protocols, request formats, verification methods, etc.
  • Heterogeneous blockchain can also be referred to as heterogeneous chain in this article: a blockchain built based on different blockchain underlying technology platforms, security mechanisms, consensus algorithms, network topology, and block generation verification between heterogeneous chains
  • the logic is inconsistent and generally uses different protocols, request formats, verification methods, etc.
  • Bitcoin uses the PoW consensus algorithm
  • the alliance chain Fabric uses the traditional deterministic consensus algorithm.
  • the block composition form and deterministic guarantee mechanism of the two are very different.
  • Cross-chain transactions During the execution process, a transaction in one blockchain needs to call a smart contract deployed in another blockchain (which may also be referred to as a contract in this article), or requires the execution result of another blockchain's contract as enter.
  • nodes belonging to different blockchain networks may have cross-blockchain (which may also be referred to as cross-chain in this article) interaction requirements to achieve business transactions. Since these nodes belong to different blockchain networks, there are mutual trust issues in cross-chain transactions between them.
  • the present disclosure provides, on the one hand, a system for cross-blockchain interaction, which constructs a multi-layer blockchain network architecture with high scalability, and can enable the Deploy multiple lower-layer blockchain networks to allow cross-chain interactions between lower-layer blockchain networks through a common upper-layer blockchain network, and to allow each lower-layer blockchain network to delegate trust representatives in the upper-layer blockchain network To achieve trust between the underlying blockchain networks.
  • the system 100 for cross-blockchain interaction according to various exemplary embodiments of the present disclosure will be described in detail below with reference to FIGS. 1 to 10 .
  • the system 100 may include a first blockchain network 1110, a second blockchain network 1120, and their upper blockchain network 1100.
  • the first blockchain network 1110 and the second blockchain network 1120 are lower blockchain networks of the upper blockchain network 1100 . Therefore, the first blockchain network 1110, the second blockchain network 1120 and the upper blockchain network 1100 form a two-layer blockchain network architecture.
  • the upper blockchain network 1100 can be a relay chain network, which is the main network of a large-scale blockchain network, and the first blockchain network 1110 and the second blockchain network 1120 can be relay chains. Different sub-networks of the chain network.
  • the upper blockchain network 1100 can be deployed at the relay layer, and the first blockchain network 1110 and the second blockchain network 1120 can be deployed at the network layer below the relay layer.
  • the upper blockchain network 1100, the first blockchain network 1110, and the second blockchain network 1120 are not limited to the above-mentioned relay chain network and its sub-networks, and can also be other two-layer blockchain network architectures.
  • the upper blockchain network and the lower blockchain network can also be deployed at the network layer, and the first blockchain network 1110 and the second blockchain network 1120 can be deployed at the service layer below the network layer.
  • the upper blockchain network 1100 and the first blockchain network 1110 and the second blockchain network 1120 can be deployed in any two adjacent layers in the multi-layer blockchain network architecture, as long as the upper blockchain network
  • the network 1100 can be the upper blockchain network common to the first blockchain network 1110 and the second blockchain network 1120.
  • the first blockchain network 1110 may include a first routing node BR11 and a plurality of first consensus nodes X1, X2, X3, and X4 that communicate with each other.
  • the first routing node BR11 can be used to communicate with the first upper routing node BR1 in the upper blockchain network 1100 that is trusted by the first blockchain network 1110, and is responsible for sending and receiving cross-chain messages. This can be achieved through a communication network dedicated to the blockchain, or through other communication networks such as the Internet.
  • the second blockchain network 1120 may include a second routing node BR21 and a plurality of second consensus nodes Y1, Y2, Y3, Y4 that communicate with each other.
  • the second consensus nodes Y1, Y2, Y3, and Y4 can be used to implement specific services of the second blockchain network 1120, and are responsible for verifying transactions and consensus on the chain.
  • the number of the second consensus nodes Y1, Y2, Y3, and Y4 is illustrated as four, this is only exemplary and not restrictive, and the actual second blockchain network 1120 may include any number of consensus nodes.
  • the second routing node BR21 can be used to communicate with the second upper routing node BR2 in the upper blockchain network 1100 that is trusted by the second blockchain network 1120, and is responsible for sending and receiving cross-chain messages. This can be achieved through a communication network dedicated to the blockchain, or through other communication networks such as the Internet.
  • the upper blockchain network 1100 may include a first upper routing node BR1 that is trusted by the first blockchain network 1110 and communicates with the first routing node BR11, and a first upper routing node BR1 that is trusted by the second blockchain network 1120 and communicates with the first routing node BR11.
  • the second upper layer routing node BR2 communicates with the second routing node BR21.
  • the upper-layer blockchain network 1100 may also include multiple upper-layer consensus nodes A1, A2, A3, and A4.
  • the upper-layer consensus nodes A1, A2, A3, and A4 can be used to implement specific services of the upper-layer blockchain network 1100, and are responsible for verifying transactions and consensus on the chain.
  • upper-layer consensus nodes A1, A2, A3, and A4 may include any number of consensus nodes.
  • the first upper layer routing node BR1, the second upper layer routing node BR2 and the upper layer consensus nodes A1, A2, A3 and A4 communicate with each other. This can be achieved through a communication network dedicated to the blockchain, or through other communication networks such as the Internet.
  • the upper routing nodes (such as BR1, BR2) of the upper blockchain network 1100 are the communication bridge between the upper blockchain network 1100 and its lower blockchain network, and can be responsible for forwarding cross-chain requests and responses between the lower blockchain networks. A request from the lower blockchain network to the upper blockchain network 1100.
  • Each of the first blockchain network 1110 and the second blockchain network 1120 may register with a corresponding one of the first upper layer routing node BR1 and the second upper layer routing node BR2 when accessing the upper layer blockchain network 1100 , and after the registration is successful, the network identifier allocated by the corresponding one of the first upper layer routing node BR1 and the second upper layer routing node BR2 is obtained. Since both the first blockchain network 1110 and the second blockchain network 1120 are registered under the upper blockchain network 1100, the first blockchain network 1110 and the second blockchain network 1120 are isomorphic.
  • the first byte can represent the node identification of the uppermost (first layer) blockchain network (such as the relay chain network), and subsequent bytes can represent the lower layer network.
  • Node identification for example, the second byte represents the second layer network node identification, the third byte represents the third layer network node identification, and the fourth byte represents the fourth layer network node identification. This identification method ensures the reliability of the network. Scalability.
  • the network identifier of the first blockchain network 1110 registered in the first upper-layer routing node BR1 can be 81000000
  • the network identifier of the second blockchain network 1110 registered in the second upper-layer routing node BR2 The network identifier of the blockchain network 1120 may be 82000000.
  • the first blockchain network 1110 corresponds to blockchain
  • the URI identifier of chain X is 81000000/X
  • the URI identifier of blockchain Y is 82000000/Y.
  • a service can also be represented by a URI (such as network identification/chain identification/service identification) , for example, blockchain Y publishes the URI identifier of contract C service in the upper blockchain network 1100 as 82000000/Y/C, and after the service is released, it is registered in any lower blockchain under the upper blockchain network 1100 Nodes in the network (for example, the first blockchain network 1110 and the second blockchain network 1120) can call the service through the URI identification of the service.
  • URI such as network identification/chain identification/service identification
  • the upper blockchain network 1100 is also configured to change the consensus node of each blockchain network in the first blockchain network 1110 and the second blockchain network 1120 in the upper blockchain network 1100
  • the on-chain certificate is used to manage the consensus nodes of each blockchain network in the first blockchain network 1110 and the second blockchain network 1120 .
  • the upper-layer blockchain network 1100 can manage the node member information of all lower-layer blockchain networks registered under it. Any changes (joining, exit) of nodes in the lower-layer blockchain network must be made in the upper-layer area.
  • the certificate is stored on the chain in the blockchain network 1100.
  • any node of the upper-layer blockchain network 1100 (for example, the first upper-layer routing node BR1, the second upper-layer routing node BR2, the upper-layer consensus nodes A1, A2, A3, and A4) all know that they are registered under the upper-layer blockchain network 1100 Node member information of each lower-layer blockchain network, and therefore can conduct Simple Payment Verification (SPV) verification of transactions in the lower-layer blockchain network by verifying signature sets or aggregating signatures, without the need to maintain the lower layer On-chain data on the blockchain network.
  • SPV Simple Payment Verification
  • each lower-layer blockchain network of the upper-layer blockchain network 1100 for example, for each blockchain in the first blockchain network 1110 and the second blockchain network 1120 in FIG. 1 Network:
  • the new node can be configured to obtain a certificate from the upper blockchain network 1100 and call the deployment in the blockchain network based on the obtained certificate.
  • the first method of the first joining contract in the blockchain network for requesting to join the blockchain network (at this time, the status of the new node can be marked as "pending", which does not count as the A formal consensus node of the blockchain network), the blockchain network may be configured to invoke a second join deployed in the upper blockchain network 1100 in the upper blockchain network 1100 in response to executing the first method. contract to request the upper-layer blockchain network 1100 to add the new node in the blockchain network.
  • the upper-layer blockchain network 1100 may be configured to add the second joining contract to the contract after executing the second joining contract.
  • the execution result is uploaded to the upper blockchain network 1100 and stored as a certificate (at this time, the node is marked as "joined” in the upper blockchain network 1100) and the uploaded certificate is transmitted to the blockchain network, and the area
  • the blockchain network may be configured to call the second method of the first joining contract in the blockchain network for confirming joining the blockchain network based on the on-chain proof to set the new node to Consensus node of the blockchain network (at this time, the status of the new node can be marked as "active” and become the official consensus node of the blockchain network).
  • the aforementioned certificate may refer to an identity certificate (for example, it may include the public key information of the node, or other information that can characterize the identity of the node, such as the node identification ID), which may be issued through a root of trust, for example.
  • a new node needs an identity certificate before the blockchain network can recognize it and decide whether to allow it to join.
  • the consensus node of the blockchain network wants to exit the blockchain network, the consensus node can be configured to call the first exit contract deployed in the blockchain network.
  • the blockchain network may be configured to invoke deployment in the upper blockchain network 1100 in response to executing the first exit contract.
  • the second exit contract in the upper blockchain network 1100 requests the upper blockchain network 1100 to cause the consensus node to exit the blockchain network.
  • the upper blockchain network 1100 may be configured to execute the second exit. After the contract, the execution result of the second withdrawal contract is uploaded to the upper blockchain network 1100 and stored as evidence (at this time, the node is marked as "exit" in the upper blockchain network 1100).
  • the first upper routing node BR1 is set in the upper blockchain network 1100 by the first blockchain network 1110, and the first routing node BR11 is set in the first blockchain network 1110 by the first blockchain network 1110. , therefore the first upper-layer routing node BR1 and the first routing node BR11 can be considered to have a strong trust relationship and will not do evil.
  • the second upper routing node BR2 is set in the upper blockchain network 1100 by the second blockchain network 1120, and the second routing node BR21 is set in the second blockchain network 1120 by the second blockchain network 1120. , therefore the second upper-layer routing node BR2 and the second routing node BR21 can be considered to have a strong trust relationship and will not do evil.
  • the upper blockchain network 1100 does not need to know the on-chain data of each of the first blockchain network 1110 and the second blockchain network 1120 but only needs to manage the first blockchain network 1110 and the second blockchain. Node membership information for each of the networks 1120. Since the first upper layer routing node BR1 knows both the node member information of the first blockchain network 1110 and the node member information of the second blockchain network 1120, and the second upper layer routing node BR2 knows both the second blockchain network 1120 The node member information of also knows the node member information of the first blockchain network 1110, so the cross-chain interaction between the first blockchain network 1110 and the second blockchain network 1120 can be through the first blockchain network 1110 Endorse with upper-layer routing nodes that are trusted by each of the second blockchain network 1120 to gain trust.
  • One of the first blockchain network 1110 and the second blockchain network 1120 does not need to know the on-chain data and node member information of the other of the first blockchain network 1110 and the second blockchain network 1120 They can interact with each other cross-chain.
  • trust transfer is achieved between the first blockchain network 1110 and the second blockchain network 1120 via the upper blockchain network 1100 without the need for the first blockchain network 1110 and the second blockchain network.
  • the first routing node BR11 may be configured to obtain data from the first blockchain network 1110 of the cross-chain transaction msg_req to be executed in the second blockchain network 1120 and transmit the cross-chain transaction msg_req to the first upper routing node BR1.
  • the cross-chain transaction may be sent by the first consensus node of the first blockchain network 1110 to the first routing node BR11.
  • the cross-chain transactions in the first blockchain network 1110 can also be collected by the first routing node BR11 itself.
  • the first routing node BR11 itself may also be a full node.
  • the cross-chain request is subject to consensus within this blockchain. After the consensus is completed, cross-chain transactions are generated and packaged into blocks. Therefore, the first routing node BR11 can query the cross-chain transactions in the block by monitoring the block.
  • the first routing node BR11 may also be configured to structure the cross-chain transaction into a specific cross-chain message format to facilitate cross-chain interaction.
  • the first upper-layer routing node BR1 may be configured to transmit the cross-chain transaction msg_req received from the first routing node BR11 to the second upper-layer routing node BR2.
  • the second upper layer routing node BR2 may be configured to transmit the cross-chain transaction msg_req received from the first upper layer routing node BR1 to the second routing node BR21.
  • the second routing node BR21 may be configured to broadcast the cross-chain transaction msg_req received from the second upper-layer routing node BR2 in the second blockchain network 1120, so that the plurality of second consensuses of the second blockchain network 1120 Nodes Y1, Y2, Y3, Y4 receive and execute the cross-chain transaction.
  • the cross-chain transaction may be received and executed by a master node among the plurality of second consensus nodes Y1, Y2, Y3, Y4 of the second blockchain network 1120, and the master node may be Determined by the specific consensus mechanism of the second blockchain network 1120.
  • the cross-chain transaction requested by the first blockchain network 1110 is executed in the second blockchain network 1120 .
  • neither the first consensus nodes of the first blockchain network 1110 are required to sign nor the passing ones.
  • Each routing node verifies cross-chain transactions and/or adds its own signature.
  • the node can call the smart contract or service in the second blockchain network 1120.
  • the cross-chain transaction may include the network identification of the first blockchain network 1110 as the sender and the network identification of the second blockchain network 1120 as the recipient.
  • the first upper-layer routing node BR1 may be configured to query the second upper-layer routing node trusted by the second blockchain network 1120 in the upper-layer blockchain network 1100 according to the network identification of the second blockchain network 1120 included in the cross-chain transaction. BR2, and transmits cross-chain transactions to the second upper-layer routing node BR2.
  • blockchain Y of the second blockchain network 1120 publishes the URI identifier of the contract C service in the upper blockchain network 1100 as 82000000/Y/C.
  • the network identifier in the URI identifier is determined based on the first byte 82 of the network identifier.
  • the upper routing node trusted by the target blockchain network that is, the second blockchain network 1120 is the second upper routing node BR2, and then the cross-chain transaction can be transmitted to The second upper layer routing node BR2.
  • the second upper-layer routing node BR2 may also be configured to search for its own locally registered second blockchain network 1120 according to the network identification (for example, subsequent bytes) of the second blockchain network 1120 included in the cross-chain transaction.
  • the second routing node BR21 and transmits the cross-chain transaction to the second routing node BR21.
  • the cross-chain transaction may include the URI identifier of the service that the first blockchain network 1110 wants to call, and the master node of the second blockchain network 1120 may execute the corresponding service based on the service identifier.
  • the execution result of the cross-chain transaction (for example, including but not limited to a receipt message) can also be transmitted from the second blockchain network 1120.
  • Figure 2 depicts an example process of cross-chain interaction from the second blockchain network 1120 to the first blockchain network 1110.
  • the second routing node BR21 may be configured to obtain an indication from the second blockchain network 1120 that the cross-chain transaction is executed.
  • the execution result and the uplink proof for the execution result are transmitted to the second upper layer routing node BR2.
  • the on-chain proof may refer to the signature of the second consensus node, which may be, for example, a collection of signatures or an aggregated signature.
  • the execution result and the on-chain proof may be sent to the second routing node BR21 by the second consensus node of the second blockchain network 1120.
  • the execution results and on-chain certificates in the second blockchain network 1120 can also be collected by the second routing node BR21 itself.
  • the second routing node BR21 itself may also be a full node. For example, after a cross-chain transaction is executed in the second blockchain network 1120, the execution result is consensus within this blockchain. After the consensus is completed, the execution results are packaged into blocks and the on-chain proof is generated. Therefore, the second routing node BR21 can query the execution results and on-chain proof by monitoring the block. In some embodiments, the second routing node BR21 may also be configured to construct the execution result into a specific cross-chain message format to facilitate cross-chain interaction.
  • the second routing node BR21 may also be configured to request the plurality of the second blockchain network 1120 after obtaining an execution result from the second blockchain network 1120 indicating that the cross-chain transaction is executed.
  • the second consensus nodes Y1, Y2, Y3, and Y4 sign the execution results, and when the number of received signatures of the second consensus nodes reaches the preset threshold, the execution results and the signatures including the received signatures of the second consensus nodes are The uplink proof is transmitted to the second upper layer routing node BR2.
  • This preset threshold is configurable. In this article, the preset threshold may be any quantity related to quantity, which may be expressed as a numerical value, or may be expressed as a ratio or a percentage, for example.
  • the second routing node BR21 may be required to send the execution results and on-chain certificates after receiving the signatures of all second consensus nodes Y1, Y2, Y3, and Y4 in the second blockchain network 1120. transmitted to the second upper-layer routing node BR2; in other embodiments, the second routing node BR21 may also be required to receive more than a preset proportion (for example, more than two-thirds, more than The execution result and the on-chain certificate will be transmitted to the second upper-layer routing node BR2 only after the signature of the second consensus node (one-half, etc.) is received; in other embodiments, the second routing node BR21 may also be required to receive the signature of the second consensus node.
  • a preset proportion for example, more than two-thirds, more than The execution result and the on-chain certificate will be transmitted to the second upper-layer routing node BR2 only after the signature of the second consensus node (one-half, etc.) is received; in other embodiments, the second routing node
  • the second routing node BR21 can only collect and forward the signatures of the second consensus node without verifying whether these signatures are correct or verifying the execution results.
  • the second routing node BR21 receives the on-chain certificate sign(Y1, Y2, Y3, Y4) including the signatures of all second consensus nodes Y1, Y2, Y3, Y4 and compares it with the execution result msg_resp are transmitted together to the second upper layer routing node BR2.
  • the second upper layer routing node BR2 may be configured to transmit the execution result and the uplink certificate received from the second routing node BR21 to the first upper layer routing node BR1.
  • the execution result may include the network identification of the second blockchain network 1120 as the sender and the network identification of the first blockchain network 1110 as the recipient, and the second upper routing node BR2 may be configured In order to query the first upper-layer routing node BR1 trusted by the first blockchain network 1110 in the upper-layer blockchain network 1100 according to the network identifier of the first blockchain network 1110 included in the execution result, and provide the execution result and the on-chain certificate Transmitted to the first upper layer routing node BR1.
  • blockchain X of the first blockchain network 1110 calls the contract C service, and blockchain Y executes the contract C service in response to this, then its execution result may include the area The URI identifier of block chain That is, the upper-layer routing node trusted by the first blockchain network 1110 is the first upper-layer routing node BR1, and then the execution result and the on-chain certificate can be transmitted to the first upper-layer routing node BR1.
  • the first upper layer routing node BR1 may be configured to verify whether the uplink certificate received from the second upper layer routing node BR2 is correct, and when the verification is passed, transmit the execution result and the signature of the first upper layer routing node BR1 to the first routing node BR11.
  • the second upper-layer routing node BR2 transmits the execution result msg_resp and the uplink certificate sign(Y1, Y2, Y3, Y4) to the first upper-layer routing node BR1. Since the node member information of the second blockchain network 1120 has been uploaded and certified in the upper-layer blockchain network 1100, the first upper-layer routing node BR1 knows all the second consensus nodes Y1 and Y1 of the second blockchain network 1120.
  • Specific trust policies can be configured to determine what conditions the received signature meets when it is verified. For example, when the on-chain certificate sign(Y1, Y2, Y3, Y4) is the set of signatures of the second consensus node Y1, Y2, Y3, Y4, the trust policy can require that the verification is passed when all the received signatures are correct, or It may be required that the verification is passed when the correct signatures among the received signatures account for more than a preset proportion (for example, more than two-thirds, more than one-half, etc.), which is not particularly limited here.
  • the first upper-layer routing node BR1 When the first upper-layer routing node BR1 passes the verification of the received uplink certificate, the first upper-layer routing node BR1 can add its own signature to the execution result. The first upper layer routing node BR1 does not need to verify the execution result itself. Moreover, the first upper-layer routing node BR1 does not need to transmit the on-chain proof to the first routing node BR11 because the first routing node BR11 and the first consensus node in the first blockchain network 1100 do not maintain the second blockchain. The node member information of the network 1120 therefore does not know the second consensus node in the second blockchain network 1120, so the first routing node BR11 and the first consensus node in the first blockchain network 1100 cannot directly verify the on-chain certificate.
  • the first upper routing node BR1 transmits its own signature sign(BR1) together with the execution result msg_resp to the first routing node BR11.
  • the first routing node BR11 may be configured to broadcast the execution result received from the first upper-layer routing node BR1 and the signature of the first upper-layer routing node BR1 in the first blockchain network 1110, so that the first blockchain network 1110
  • the plurality of first consensus nodes X1, X2, X3, and X4 verify whether the received signature of the first upper-layer routing node BR1 is correct, and trust the received execution result when the verification passes.
  • the first blockchain network 1110 can perform subsequent processing after trusting the execution results, for example, uploading the execution results to the first blockchain network 1110 for certificate storage and/or inputting them into subsequent contract operations.
  • the signature of the first upper-layer routing node BR1 can be verified by the master node among the plurality of first consensus nodes X1, X2, X3, and X4 of the first blockchain network 1110 and when the verification passes Perform subsequent processing on execution results.
  • the first routing node BR11 does not need to verify the signature of the first upper-layer routing node BR1 but only forwards it. This allows the first routing node BR11 to not need to maintain the identity and key information of the first upper-layer routing node BR1 so that the function is obtained. simplify.
  • the first routing node BR11 can also additionally verify whether the signature of the first upper-layer routing node BR1 is correct, and when the verification is passed, broadcast the signature from the first upper-layer routing node in the first blockchain network 1110 BR1 receives the execution result and the signature of the first upper-layer routing node BR1. In this way, it can help the first consensus node filter out invalid message forwarding in advance.
  • the first blockchain network 1110 is provided with one first routing node BR11 , but in other examples, the first blockchain network 1110 may also be provided with multiple first routing nodes.
  • Institution A and Institution B jointly participated in Blockchain X of the first blockchain network 1110.
  • Institution A and Institution B trust each other to a certain extent, they may not trust each other very much.
  • each of the first routing nodes may be configured to independently obtain the transaction from the first blockchain network 1110.
  • the cross-chain transaction is to be executed in the second blockchain network 1120 and the cross-chain transaction is transmitted to the first upper routing node BR1.
  • the first upper-layer routing node BR1 may be further configured to receive cross-chain transactions from each of the first routing nodes, and verify the hash value of the cross-chain transaction received from each of the first routing nodes. Whether they are consistent, and when the verification passes, the deduplicated cross-chain transaction will be transmitted to the second upper-layer routing node BR2.
  • the first upper-layer routing node BR1 may receive the same cross-chain transaction multiple times from multiple first routing nodes, but the first upper-layer routing node BR1 may deduplicate the received cross-chain transaction and convert the deduplicated Cross-chain transactions are transmitted to the second upper routing node BR2.
  • the first upper-layer routing node BR1 may send a request to the first upper-layer routing node BR1.
  • a routing node returns a failure message.
  • each of the first routing nodes may be configured to individually receive the execution result and the first upper-layer route from the first upper-layer routing node BR1 The signature of node BR1, and broadcasts the received execution result and the signature of the first upper layer routing node BR1 in the first blockchain network 1110.
  • the first consensus node may also be configured to further verify whether the hash values of the execution results received from each of the first routing nodes are consistent after verifying that the signature of the first upper routing node BR1 is passed, and Trust the deduplicated execution results when verification passes.
  • the first blockchain network 1110 is provided with two first routing nodes BR11 and BR12.
  • the first routing node BR11 and the first routing node BR12 each independently obtain the cross-chain transaction from the first blockchain network 1110 to be executed in the second blockchain network 1120 and transmit the cross-chain transaction to the first upper routing Node BR1, the first upper-layer routing node BR1 transmits the deduplicated cross-chain transaction to the second upper-layer routing node BR2 and then transmits it to the second routing node BR21.
  • the second routing node BR21 broadcasts the received cross-chain transaction in the second blockchain network 1120 so that the cross-chain transaction is executed and uploaded in the second blockchain network 1120 .
  • the second routing node BR21 obtains the execution result indicating that the cross-chain transaction was executed and the on-chain proof for the execution result from the second blockchain network 1120, and the execution result and the on-chain proof are sequentially transmitted to the second routing node BR21.
  • the upper layer routing node BR2 and the first upper layer routing node BR1, the first upper layer routing node BR1 transmits the execution result and the signature of the first upper layer routing node BR1 to each first routing node BR11 and BR12 when verifying that the uplink certificate is passed.
  • Each first routing node BR11 and BR12 may respectively broadcast the received execution result and the signature of the first upper-layer routing node BR1 in the first blockchain network 1110. If the second blockchain network 1120 is also provided with multiple second routing nodes, the second upper layer routing node BR2 can transmit the received cross-chain transaction to and from each second routing node. Receive the execution result and uplink certificate obtained by the second routing node respectively.
  • the second blockchain network 1120 is provided with one second routing node BR21 , but in other examples, the second blockchain network 1120 may also be provided with multiple second routing nodes.
  • institutions C and D jointly participate in blockchain Y of the second blockchain network 1120.
  • institutions C and D trust each other to a certain extent, they may not trust each other very much. Therefore, institutions C and D You can respectively set your own second routing node in the second blockchain network 1120 for communicating with the upper blockchain network 1100. Therefore, in some embodiments, the second blockchain network 1120 may include a plurality of the second routing nodes, and each second routing node may communicate with the second upper-layer routing node BR2.
  • each of the second routing nodes may be configured to individually receive the cross-chain transaction from the second upper routing node BR2. Transact and broadcast the received cross-chain transaction in the second blockchain network 1120.
  • the second consensus node may also be configured to verify whether the hash values of the cross-chain transactions received from each of the second routing nodes are consistent, and execute the deduplicated cross-chain transaction when the verification is passed. .
  • each of the second routing nodes may be configured to independently obtain an indication from the second blockchain network 1120 that the cross-chain transaction is executed.
  • the execution result of the execution and the uplink proof for the execution result are transmitted to the second upper layer routing node BR2.
  • the second upper layer routing node BR2 may be further configured to receive execution results and uplink certificates from each of the second routing nodes, and verify the hash of the execution results received from each of the second routing nodes. Check whether the hash value and the hash value of the uplink certificate are consistent, and when the verification is passed, the deduplicated execution result and the uplink certificate will be transmitted to the first upper routing node BR1.
  • the second upper-layer routing node BR2 may repeatedly receive the same execution result and uplink certificate from multiple second routing nodes, but the second upper-layer routing node BR2 may deduplicate the received execution result and uplink certificate.
  • the second upper layer routing node BR2 may return a failure message to the second routing node.
  • the second blockchain network 1120 is provided with two second routing nodes BR21 and BR22.
  • the first routing node BR1 obtains the cross-chain transaction to be executed in the second blockchain network 1120 from the first blockchain network 1110 and the cross-chain transaction is sequentially transmitted to the first upper-layer routing node BR1 and the second upper-layer routing node BR2.
  • the second upper-layer routing node BR2 transmits the received cross-chain transaction to each of the second routing nodes BR21 and BR22.
  • Each of the second routing nodes BR21 and BR22 respectively broadcasts the received cross-chain transaction in the second blockchain network 1120 so that the cross-chain transaction is executed and uploaded in the second blockchain network 1120 .
  • each second routing node BR21 and BR22 respectively obtains the execution result from the second blockchain network 1120 indicating that the cross-chain transaction is executed and the on-chain proof for the execution result and transmits the execution result and the on-chain proof.
  • the second upper-layer routing node BR2 transmits the deduplicated execution results and the uplink certificate to the first upper-layer routing node BR1.
  • the first upper-layer routing node BR1 transmits the execution results when verifying that the uplink certificate passes. and the signature of the first upper-layer routing node BR1 is transmitted to the first routing node BR11.
  • the first routing node BR11 broadcasts the received execution result and the signature of the first upper-layer routing node BR1 in the first blockchain network 1110. If the first blockchain network 1110 is also provided with multiple first routing nodes, the first upper layer routing node BR1 can receive the cross-chain transaction obtained by the first routing node from each first routing node and can receive the cross-chain transaction. The execution result and the signature of the first upper-layer routing node BR1 are transmitted to each first routing node.
  • the first blockchain network 1110 sets a trusted first upper-layer routing node BR1 in the upper-layer blockchain network 1100.
  • a first upper-layer routing node may have a single point of failure and is unreliable, this problem can be solved by setting up a cluster. That is to say, the first blockchain network 1110 can set a trust node set in the upper layer blockchain network 1100.
  • Such a trust node set can include a plurality of first upper layer routing nodes trusted by the first blockchain network 1110.
  • the upper-layer blockchain network 1100 may include a plurality of the first upper-layer routing nodes that are trusted by the first blockchain network 1110 and communicate with the first routing node BR11.
  • the first routing node BR11 may be configured to transmit the cross-chain transaction to each of the first upper-layer routing nodes , that is, each of the first upper-layer routing nodes may be configured to receive cross-chain transactions from the first routing node independently.
  • Each of the first upper-layer routing nodes may be configured to transmit the received cross-chain transaction to the second upper-layer routing node BR2.
  • the second upper-layer routing node BR2 may be configured to receive cross-chain transactions from each of the first upper-layer routing nodes, and verify the hash of the cross-chain transactions received from each of the first upper-layer routing nodes. Whether the values are consistent, and when the verification is passed, the deduplicated cross-chain transaction will be transmitted to the second routing node BR21.
  • the second upper-layer routing node BR2 may be configured to receive the execution result from the second routing node BR21 and the execution result for the execution result.
  • the uplink certificate is transmitted to each of the first upper layer routing nodes, that is, each of the first upper layer routing nodes is configured to receive the execution result and the uplink certificate individually from the second upper layer routing node BR2.
  • Each of the first upper-layer routing nodes may be configured to verify whether the received uplink certificate is correct, and when the verification is passed, transmit the execution result and the signature of the first upper-layer routing node to the first routing node.
  • the first routing node BR11 may be configured to broadcast the execution result received from each of the first upper-layer routing nodes and the signature of the first upper-layer routing node in the first blockchain network 1110, such that the The plurality of first consensus nodes of a blockchain network verify whether the received signature of each of the first upper-layer routing nodes is correct, and the one that passes the verification among the plurality of first upper-layer routing nodes When the number of first upper-layer routing nodes reaches a preset threshold, the execution result received is trusted.
  • the preset threshold is configurable and is not particularly limited here.
  • the first consensus node may also be configured to further verify whether the hash value of the received execution result is consistent after verifying the signature of the first upper-layer routing node BR1, and trust the deduplication when the verification passes. Results of the.
  • hash verification and deduplication of the execution results may be performed in advance by the first routing node BR11.
  • the upper blockchain network 1100 may include two first upper routing nodes BR1 and BR1' that are trusted by the first blockchain network 1110 and communicate with the first routing node BR11, and the first routing node BR11 may Transmit the cross-chain transaction to each first upper-layer routing node BR1, BR1', each first upper-layer routing node BR1, BR1' can transmit the received cross-chain transaction to the second upper-layer routing node BR2, and the second upper-layer routing node BR1, BR1' Routing node BR2 can send the deduplicated cross-chain transaction to the second routing node BR21.
  • the second routing node B21 can transmit the execution result and the on-chain proof to the second upper-layer routing node BR2 and then to each first upper-layer routing node BR1 and BR1', each first upper-layer routing node BR1 and BR1' respectively verifies whether the uplink certificate is correct and when the verification is passed, the execution result and the signature of the first upper-layer routing node are transmitted to the first routing node BR11 and then in the first area Broadcast in the blockchain network 1110.
  • each first upper layer routing node may not be Both the verification and the sending and receiving of data are performed separately, but one or more of the first upper-layer routing nodes may be made to perform the sending and receiving of data and the other one or more first upper-layer routing nodes may be made to perform the verification of data. This can prevent unreliable single points of failure and save computing resources.
  • the plurality of first upper-layer routing nodes trusted by the first blockchain network 1110 and communicating with the first routing node BR11 may include a first first upper-layer routing node and a second first upper-layer routing node. node.
  • the first routing node BR11 may be configured to transmit the cross-chain transaction to the first upper-layer routing node, that is, The first upper-layer routing node may be configured to receive cross-chain transactions from the first routing node BR11 and transmit the received cross-chain transactions to the second upper-layer routing node BR2.
  • the second upper-layer routing node BR2 may be configured to transmit the execution result and the on-chain proof for the execution result to the first first upper-layer routing
  • the node that is, the first first upper layer routing node may be configured to receive the execution result and the uplink certificate from the second upper layer routing node BR2 and transmit the received execution result and the uplink certificate to the second first upper layer routing node
  • the second first upper-layer routing node may be configured to verify whether the uplink certificate received from the first first upper-layer routing node is correct and to transmit the execution result and the signature of the second first upper-layer routing node to the first third upper-layer routing node when the verification is passed.
  • the first first upper layer routing node may also be configured to transmit the execution result and the signature of the second first upper layer routing node and the signature of the first first upper layer routing node to the first routing node BR11.
  • the first routing node BR11 may be further configured to broadcast in the first blockchain network 1110 the execution result received from the first upper-layer routing node and the signature of the second first upper-layer routing node and the second upper-layer routing node.
  • a signature of a first upper-layer routing node allowing the plurality of first consensus nodes X1, X2, X3, X4 (for example, master nodes) of the first blockchain network 1110 to verify the received second first upper-layer routing node Whether the signature and the signature of the first upper-layer routing node are correct, and trust the received execution result when the verification is passed.
  • first consensus nodes X1, X2, X3, X4 for example, master nodes
  • the upper blockchain network 1100 includes a first first upper routing node BR1 and a second first upper routing node BR1' that are trusted by the first blockchain network 1110 and communicate with the first routing node BR11.
  • the first routing node BR11 can transmit the cross-chain transaction to the first first upper-layer routing node BR1
  • the first first upper-layer routing node BR1 can transmit the cross-chain transaction to the second upper-layer routing node BR2 and then to the second routing node BR21. to broadcast in the second blockchain network 1120 and perform up-chaining.
  • the second routing node BR21 can transmit the execution result and the uplink certificate to the second upper layer routing node BR2 and then transmit it to the first first upper layer routing node BR1.
  • the first first upper layer routing node BR1 can forward the execution result and the uplink certificate. Give the second first upper layer routing node BR1' to verify whether the uplink certificate is correct.
  • the second first upper layer routing node BR1' can add its own signature to the execution result after passing the verification and combine the execution result with the second first upper layer
  • the signature of the routing node BR1' is transmitted to the first first upper layer routing node BR1.
  • the first first upper layer routing node BR1 can add its own signature after receiving it and combine the execution result with the signature of the second first upper layer routing node BR1'.
  • the signature is transmitted to the first routing node BR11 for broadcast in the first blockchain network 1110.
  • the first consensus node can verify whether the signature of the second first upper routing node BR1' and the signature of the first first upper routing node BR1 are correct and trust the execution result when the verification is passed.
  • the set of trusted nodes deployed by the first blockchain network 1110 in the upper-layer blockchain network 1100 can also include one or more groups of trusted upper-layer routing nodes, and each group includes one or more groups responsible for data transmission and reception.
  • the sending and receiving routing nodes and one or more verification routing nodes are responsible for data verification, and the data from the first routing node BR11 or the second upper routing node BR2 will be transmitted to one or more sending and receiving routing nodes in each group, and then each group Each sending and receiving routing node in the group will individually transmit the data to each verification routing node in the group for verification when data verification is required. Each verification routing node in the group will transmit the data to the group after passing the verification. Each transceiver routing node in each group then transmits data to the second upper-layer routing node BR2 or the first routing node BR11. Of course, if data verification is not required, each transceiver routing node in each group can directly transmit data to the second upper-layer routing node BR2 or the first routing node BR11.
  • the second blockchain network 1120 sets a trusted second upper-layer routing node BR2 in the upper-layer blockchain network 1200 .
  • a second upper-layer routing node may have a single point of failure and is unreliable
  • this problem can be solved by setting up a cluster. That is to say, the second blockchain network 1120 can set up a trust node set in the upper layer blockchain network 1100.
  • Such a trust node set can include a plurality of second upper layer routing nodes trusted by the second blockchain network 1120.
  • the upper blockchain network 1100 may include a plurality of second upper routing nodes that are trusted by the second blockchain network 1120 and communicate with the second routing node BR21.
  • the first upper-layer routing node BR1 may be configured to transmit the cross-chain transaction to each of the second upper-layer routing nodes.
  • Nodes, ie, each of the second upper-layer routing nodes may be configured to receive cross-chain transactions individually from the first upper-layer routing node.
  • Each of the second upper-layer routing nodes may be configured to transmit the received cross-chain transaction to the second routing node BR21.
  • the second routing node BR2 may be configured to broadcast cross-chain transactions received from each of the second upper-layer routing nodes in the second blockchain network 1120, and the second consensus node may be configured to verify Whether the hash values of the cross-chain transactions from each of the second upper-layer routing nodes are consistent, and when the verification is passed, the deduplicated cross-chain transactions are executed.
  • hash verification and deduplication of cross-chain transactions can be performed in advance by the second routing node BR21.
  • the second routing node BR21 may be configured to transmit the obtained execution result and the on-chain proof for the execution result to each The second upper layer routing node, that is, each of the second upper layer routing nodes is configured to receive the execution result and the uplink certificate individually from the second routing node BR21.
  • Each of the second upper-layer routing nodes may be configured to transmit the received execution results and the uplink certificate to the first upper-layer routing node BR1.
  • the first upper-layer routing node BR1 may be configured to receive execution results and uplink certificates from each of the second upper-layer routing nodes, and verify the uplink certificates received from each of the second upper-layer routing nodes.
  • the execution result and the signature of the first upper-layer routing node BR1 will be transmitted to the first route Node BR11.
  • the preset threshold is configurable and is not particularly limited here.
  • the first upper-layer routing node BR1 may also be configured to verify whether the hash values of the execution results received from each of the second upper-layer routing nodes are consistent, and perform deduplication when the verification is passed. The result and the signature of the first upper-layer routing node are transmitted to the first routing node BR11.
  • the upper blockchain network 1100 may include two second upper routing nodes BR2 and BR2' that are trusted by the second blockchain network 1120 and communicate with the second routing node BR21, and the first routing node BR11 may The cross-chain transaction is transmitted to the first upper-layer routing node BR1 and then to each second upper-layer routing node BR2 and BR2'. Each second upper-layer routing node BR2 and BR2' can transmit the received cross-chain transaction to the second upper-layer routing node BR2 and BR2'.
  • the routing node BR21 broadcasts in the second blockchain network 1120 and performs uplinking.
  • the second routing node B21 may transmit the execution result and the on-chain proof to each of the second upper-layer routing nodes BR2 and BR2'.
  • Each second upper layer routing node BR2 and BR2' can respectively transmit the execution result and the uplink certificate to the first upper layer routing node BR1, and the first upper layer routing node BR1 verifies the uplink from the second upper layer routing node BR2 and BR2'
  • the deduplicated execution result and the signature of the first upper-layer routing node BR1 can be transmitted to the first routing node BR11 and then broadcast in the first blockchain network 1110 .
  • each second upper routing node may not be Both the verification and the sending and receiving of the data are performed separately, but one or more of the second upper-layer routing nodes may be made to perform the sending and receiving of the data and the other one or more second upper-layer routing nodes may be made to perform the verification of the data. This can prevent unreliable single points of failure and save computing resources.
  • the plurality of second upper-layer routing nodes trusted by the second blockchain network 1120 and communicating with the second routing node BR21 may include a first second upper-layer routing node and a second second upper-layer routing node. node.
  • the first upper-layer routing node may be configured to transmit the cross-chain transaction to the first second upper-layer routing node, that is,
  • the first and second upper-layer routing nodes may be configured to receive cross-chain transactions from the first upper-layer routing node and transmit the received cross-chain transactions to the second routing node.
  • the second routing node BR21 may be configured to transmit the execution result and the on-chain proof for the execution result to the first second upper layer routing node , that is, the first and second upper-layer routing nodes are configured to receive the execution results and uplink certificates from the second routing node BR21 and transmit the received execution results and uplink certificates to the first upper-layer routing node BR1.
  • the upper blockchain network 1100 includes a first second upper routing node BR2 and a second second upper routing node BR2' that are trusted by the second blockchain network 1120 and communicate with the second routing node BR21.
  • the first routing node BR11 can transmit the cross-chain transaction to the first upper-layer routing node BR1
  • the first upper-layer routing node BR1 can transmit the cross-chain transaction to the first and second upper-layer routing node BR2 and then transmit it to the second routing node BR21 for further processing.
  • the second blockchain network 1120 broadcasts and performs uplinking.
  • the second routing node BR21 can transmit the execution result and the uplink certificate to the first and second upper layer routing node BR2 and then transmit it to the first upper layer routing node BR1.
  • the first upper layer routing node BR1 can transmit the execution result after verifying that the uplink certificate is passed. and the signature of the first upper routing node BR1 is transmitted to the first routing node BR11 for broadcast in the first blockchain network 1110.
  • the first consensus node can verify whether the signature of the first upper-layer routing node BR1 is correct and trust the execution result when the verification passes.
  • the first and second upper-layer routing nodes BR2 may be responsible for sending and receiving data, and the second and second upper-layer routing nodes BR2′ may be responsible for data verification.
  • the second upper-layer routing node BR2' can receive the execution result and the on-chain certificate from the first upper-layer routing node BR1 via the first and second upper-layer routing node BR2 and send the execution result when the verification of the on-chain certificate passes. and the signature of the second upper layer routing node BR2' are transmitted to the first and second upper layer routing node BR2, so that the first and second upper layer routing node BR2 transmits the execution result and the signature of the second and second upper layer routing node BR2' and the first and second upper layer routing node BR2.
  • a signature of a second upper-layer routing node BR2 is transmitted to the second routing node BR21 for broadcast in the second blockchain network 1120.
  • the set of trusted nodes deployed by the second blockchain network 1120 in the upper-layer blockchain network 1100 can also include one or more groups of trusted upper-layer routing nodes, and each group includes one or more groups responsible for data transmission and reception.
  • the sending and receiving routing nodes and one or more verification routing nodes are responsible for data verification, and the data from the first upper routing node BR1 or the second routing node BR21 will be transmitted to one or more sending and receiving routing nodes in each group, and then each group Each sending and receiving routing node in the group will individually transmit the data to each verification routing node in the group for verification when data verification is required. Each verification routing node in the group will transmit the data to the group after passing the verification. Each transceiver routing node in each group then transmits data to the second routing node BR21 or the first upper-layer routing node BR1. Of course, if data verification is not required, each transceiver routing node in each group can directly transmit data to the second routing node BR21 or the first upper-layer routing node BR1.
  • the number of the first routing node, the first upper layer routing node, the second upper layer routing node, and the second routing node is illustrated as one or two in the examples of FIGS. 1 to 8 , this is only exemplary.
  • the system 100 may include any suitable number of first routing nodes, first upper layer routing nodes, second upper layer routing nodes, and second routing nodes, and one or more of the foregoing embodiments may be arbitrarily combined accordingly, To achieve various alternative cross-chain interaction processes.
  • system 100 is illustrated as including two lower blockchain networks 1110 and 1120 under the same upper blockchain network 1100 in the examples of FIGS. 1 to 8 , this is only illustrative and not limiting.
  • system 100 is horizontally scalable and can register two or more lower blockchain networks under the same upper blockchain network 1100, and any two of these lower blockchain networks Cross-chain interaction can be achieved through the aforementioned process.
  • the system 100 is illustrated as a two-layer blockchain network architecture in the examples of FIGS. 1 to 8 , this is only illustrative and not limiting.
  • the system 100 is vertically scalable, and the system 100 can be deployed It is a two-layer or more-layer blockchain network architecture.
  • each of the first blockchain network 1110 and the second blockchain network 1120 can serve as an upper-layer blockchain for one or more other blockchain networks.
  • network, and any two lower blockchain networks (not necessarily on the same layer) of the upper blockchain network 1100 can similarly achieve cross-chain interaction through the aforementioned process.
  • system 100 is illustrated for cross-chain interaction between homogeneous chains in the examples of FIGS. 1 to 8 , this is only exemplary and not limiting, and the system 100 may be further configured for Used for cross-chain interactions between heterogeneous chains.
  • the system 100 for cross-heterogeneous chain interaction will be exemplarily described below with reference to FIGS. 9 and 10 .
  • the second blockchain network 1120 has been omitted, so that Figure 9 focuses on describing the cross-connection between the first blockchain network 1110 and the heterogeneous blockchain network. chain interaction.
  • the system 100 may also include a first transfer bridge network 1130 and a first heterogeneous blockchain network 1131.
  • the first transfer bridge network 1130 may be deployed at a lower layer of the upper blockchain network 1100, that is, on the same layer as the first blockchain network 1110 and the second blockchain network 1120.
  • the first transfer bridge network 1130 may include a first transfer bridge routing node BR31 and a plurality of first transfer bridge consensus nodes I1, I2, I3, I4 that communicate with each other.
  • the first transfer bridge routing node BR31 may communicate with the third upper layer routing node BR3 in the upper layer blockchain network 1100 that is trusted by the first transfer bridge network 1130.
  • the first transfer bridge network 1130 can register with the third upper layer routing node BR3 when accessing the upper layer blockchain network 1100, and obtain the network identity assigned by the third upper layer routing node BR3 after successful registration.
  • the first transfer bridge network 1130, the upper blockchain network 1100, the first blockchain network 1110, and the second blockchain network 1120 are all isomorphic.
  • first bridge network 1130 may be a blockchain network.
  • the first transfer bridge network 1130 may not form a blockchain network, but only perform signature voting.
  • a blockchain or blockchain network that is isomorphic with the upper blockchain network 1100 can be described as a homogeneous chain or a isomorphic chain network, and will be heterogeneous with the upper blockchain network 1100
  • the blockchain or blockchain network is described as a heterogeneous chain or heterogeneous chain network. Therefore, relative to the upper-layer blockchain network 1100, the first transfer bridge network 1130, the first blockchain network 1110, and the second blockchain network 1120 may be homogeneous chain networks.
  • the first heterogeneous blockchain network 1131 may be deployed at a lower layer of the first transfer bridge network 1130 and include a plurality of first heterogeneous consensus nodes P1, P2, P3, P4.
  • the first heterogeneous consensus nodes P1, P2, P3, and P4 can be used to implement specific services of the first heterogeneous blockchain network 1131, and are responsible for verifying transactions and consensus on the chain.
  • the number of first heterogeneous consensus nodes P1, P2, P3, and P4 is illustrated as 4, this is only illustrative and not limiting, and the actual first heterogeneous blockchain network 1131 may include any number. consensus node.
  • the first heterogeneous blockchain network 1131 is heterogeneous with the upper blockchain network 1100, the first blockchain network 1110 and the second blockchain network 1120. Therefore, relative to the upper blockchain network 1100, the A heterogeneous blockchain network 1131 may be a heterogeneous chain network.
  • the plurality of first heterogeneous consensus nodes P1, P2, P3, P4 of the first heterogeneous blockchain network 1131 communicate with the first transfer bridge consensus nodes I1, I2, I3, I4.
  • the different first transfer bridge consensus nodes I1, I2, I3, and I4 may be different lower-layer areas of the upper-layer blockchain network 1100 that need to conduct cross-chain transactions with the first heterogeneous blockchain network 1131.
  • the blockchain network is set up in the first transfer bridge network 1130.
  • the first transfer bridge consensus node I1 can be set up in the first transfer bridge network 1130 by the first blockchain network 1110 and the first transfer bridge network 1130 is set up in the first transfer bridge network 1130.
  • the bridge consensus node I2 may be provided by the second blockchain network 1120 in the first transfer bridge network 1130.
  • first heterogeneous blockchain network 1131 accesses the first transfer bridge network 1130, it can submit a registration request to the first transfer bridge consensus node to obtain the network identity, or alternatively, the first transfer bridge network 1130 can The network identity assigned in advance is provided to the first heterogeneous blockchain network 1131, and then the first heterogeneous blockchain network 1131 can use the obtained network identity to perform binding registration.
  • Each first transfer bridge consensus node among the plurality of first transfer bridge consensus nodes I1, I2, I3, I4 of the first transfer bridge network 1130 may be configured to have Simple Payment Verification (SPV) capability, To monitor and verify block behavior in the first heterogeneous blockchain network 1131.
  • SPV Simple Payment Verification
  • each first transfer bridge consensus node may be regarded as an upper-layer routing node of the first heterogeneous blockchain network 1131.
  • the cross-chain transaction can be packaged into blocks, and then the first transfer bridge consensus node can collect the blocks in the first heterogeneous blockchain network 1131 , verify the block in the first heterogeneous blockchain network 1131 and the signature of the first heterogeneous consensus node.
  • the upper blockchain network 1100 can be configured to change the consensus node of the first transfer bridge network 1130 in the upper blockchain network 1100
  • the certificate is stored in the middle and upper chain to manage the consensus node of the first transfer bridge network 1130. That is to say, any node in the upper blockchain network 1100 (such as the first upper routing node BR1, the second upper routing node BR2, and the third upper routing node BR3) knows the node member information of the first transfer bridge network 1130, There is no need to maintain other data of the first transfer bridge network 1130, let alone maintain the on-chain data and node member information of the first heterogeneous blockchain network 1131.
  • the first routing node BR11 may be configured to obtain data from the first block.
  • the cross-chain transaction of the chain network 1110 is to be executed in the first heterogeneous blockchain network 1131 and the cross-chain transaction is transmitted to the first upper routing node BR1.
  • the first upper layer routing node BR1 may be configured to transmit the cross-chain transaction received from the first routing node BR11 to the third upper layer routing node BR3.
  • the third upper layer routing node BR3 may be configured to transmit the cross-chain transaction received from the first upper layer routing node BR1 to the first transfer bridge routing node BR31.
  • the first transfer bridge routing node BR31 may be configured to broadcast the cross-chain transaction received from the third upper layer routing node BR3 in the first transfer bridge network 1130, so that the plurality of first transfer bridge network 1130
  • a transfer bridge consensus node I1, I2, I3, I4 receives and converts the cross-chain transaction into a format adapted to the first heterogeneous blockchain network 1131, and transmits the converted cross-chain transaction to the first
  • the heterogeneous blockchain network 1131 enables the plurality of first heterogeneous consensus nodes P1, P2, P3, P4 (for example, master nodes) of the first heterogeneous blockchain network 1131 to receive and execute the converted cross-chain trade.
  • the plurality of first transfer bridge consensus nodes I1, I2, I3, and I4 of the first transfer bridge network 1130 may also be configured to transfer the received cross-chain transactions to the first transfer bridge.
  • the certificate is uploaded to the network 1130 for future inquiry.
  • the plurality of first transfer bridge consensus nodes I1, I2 of the first transfer bridge network 1130 , I3 and I4 may be configured to obtain the execution result of the converted cross-chain transaction and upload the execution result to the first transfer bridge network 1130 for certificate storage.
  • the first transfer bridge consensus node may be configured to monitor and verify blocks in the first heterogeneous blockchain network 1131 to collect information about converted cross-chain transactions in the first heterogeneous blockchain network 1131 execution results.
  • the first transfer bridge routing node BR31 may be configured to obtain an uplink certificate for the execution result and transmit the uplink certificate to the third upper layer routing node BR3.
  • the third upper layer routing node BR3 may be configured to transmit the uplink certificate received from the first transfer bridge routing node BR31 to the first upper layer routing node BR1.
  • the first upper layer routing node BR1 may be configured to verify whether the uplink certificate received from the third upper layer routing node BR3 is correct, and when the verification is passed, transmit the uplink certificate and the signature of the first upper layer routing node BR1 to the first route Node BR11.
  • the first routing node BR11 may be configured to broadcast the on-chain certificate received from the first upper-layer routing node BR1 and the signature of the first upper-layer routing node BR1 in the first blockchain network 1110, so that the first blockchain network 1110
  • the multiple first consensus nodes X1, X2, X3, and X4 verify whether the received signature of the first upper-layer routing node BR1 is correct, and trust the received on-chain certificate when the verification passes.
  • the first blockchain network 1110 and the first heterogeneous blockchain network 1131 are heterogeneous, the plurality of first consensus nodes X1, X2, X3, and X4 of the first blockchain network 1110 cannot be viewed. Understand the execution results of cross-chain transactions generated in the first heterogeneous blockchain network 1131. Since the plurality of first consensus nodes X1, X2, X3, and It is believed that the cross-chain transaction initiated by it was successfully executed in the first heterogeneous blockchain network 1131. Therefore, the first blockchain network 1110 does not need to query the first heterogeneous blockchain network 1131, but performs trust endorsement through the first transfer bridge network 1130.
  • the first blockchain network 1110 can perform subsequent processing after trusting the received on-chain certificate, such as uploading the received on-chain certificate to the first blockchain network 1110 for certificate storage, or for Subsequent contract operations.
  • the process of the first heterogeneous blockchain network 1131 initiating cross-chain transactions in the first blockchain network 1110 is similar to the above and will not be described again.
  • the first heterogeneous blockchain network 1131 and the second blockchain network 1120 or other lower blockchain networks of the upper blockchain network 1100 (not limited to which layer below the upper blockchain network 1100 )'s cross-chain interaction is similar.
  • FIG 10 describes an example situation of accessing two heterogeneous blockchain networks in the system 100.
  • the first blockchain network 1110 and the second blockchain network 1120 have been omitted, so that Figure 10 focuses on describing the first heterogeneous blockchain network 1131 and the second heterogeneous blockchain network 1131.
  • the second heterogeneous blockchain network 1141 can also be connected with the first blockchain network 1110, the second blockchain network 1120 or other lower-layer blockchain networks (not the upper-layer blockchain network 1100) as described above. Limited to the layer below the upper blockchain network 1100) for cross-chain interaction.
  • the system 100 may also include a second transfer bridge network 1140 and a second heterogeneous blockchain network 1141.
  • the second transfer bridge network 1140 may be deployed at the lower layer of the upper blockchain network 1100, that is, on the same layer as the first blockchain network 1110, the second blockchain network 1120, and the first transfer bridge network 1130.
  • the second transfer bridge network 1140 may include a second transfer bridge routing node BR41 and a plurality of second transfer bridge consensus nodes J1, J2, J3, J4 that communicate with each other.
  • the second transfer bridge routing node BR41 may communicate with the fourth upper layer routing node BR4 in the upper layer blockchain network 1100 that is trusted by the second transfer bridge network 1140.
  • the second transfer bridge network 1140 can register with the fourth upper-layer routing node BR4 when accessing the upper-layer blockchain network 1100, and obtain the network identifier assigned by the fourth upper-layer routing node BR4 after successful registration.
  • the second transfer bridge network 1140, the upper blockchain network 1100, the first blockchain network 1110, the second blockchain network 1120, and the first transfer bridge network 1130 are all isomorphic.
  • the second bridge network 1140 may be a blockchain network.
  • the second transfer bridge network 1140 may not form a blockchain network, but only perform signature voting.
  • the second heterogeneous blockchain network 1141 may be deployed at a lower layer of the second transfer bridge network 1140 and include a plurality of second heterogeneous consensus nodes Q1, Q2, Q3, Q4.
  • the second heterogeneous consensus nodes Q1, Q2, Q3, and Q4 can be used to implement specific services of the second heterogeneous blockchain network 1141, and are responsible for verifying transactions and consensus on the chain.
  • the number of second heterogeneous consensus nodes Q1, Q2, Q3, and Q4 is illustrated as four, this is only illustrative and not limiting, and the actual second heterogeneous blockchain network 1141 may include any number. consensus node.
  • the second heterogeneous blockchain network 1141 is heterogeneous with the upper blockchain network 1100, the first blockchain network 1110 and the second blockchain network 1120.
  • the second heterogeneous blockchain network 1141 is heterogeneous with the first heterogeneous blockchain network 1131 .
  • the second heterogeneous blockchain network 1141 and the first heterogeneous blockchain network 1131 may be homogeneous, but in this case, it may be more preferable to make the second heterogeneous blockchain network 1131 homogeneous.
  • the blockchain network 1141 and the first heterogeneous blockchain network 1131 interact across homogeneous chains via their common upper blockchain network, for example, using the process described above in conjunction with Figures 1 to 8 .
  • the second heterogeneous blockchain network 1141 and the first heterogeneous blockchain network 1131 are heterogeneous to each other as an example.
  • the plurality of second heterogeneous consensus nodes Q1, Q2, Q3, Q4 of the second heterogeneous blockchain network 1141 communicate with the second transfer bridge consensus nodes J1, J2, J3, J4. It can be understood that in Figure 10, in order to keep the illustration simple, only the communication between the second heterogeneous consensus node Q1 and the second transfer bridge consensus node J1, J2, J3, J4 is depicted, but in fact, although not shown, The other second heterogeneous consensus nodes Q2, Q3, and Q4 also communicate with the second transfer bridge consensus nodes J1, J2, J3, and J4 respectively.
  • the different second transfer bridge consensus nodes J1, J2, J3, and J4 may be different lower-layer areas of the upper-layer blockchain network 1100 that need to conduct cross-chain transactions with the second heterogeneous blockchain network 1141.
  • the blockchain network is set in the second transfer bridge network 1140.
  • the second transfer bridge consensus node J1 can be set by the first blockchain network 1110 in the second transfer bridge network 1140.
  • the second transfer bridge The bridge consensus node J2 may be set in the second transfer bridge network 1140 by the second blockchain network 1120, and the third transfer bridge consensus node J3 may be set in the first heterogeneous blockchain network 1131.
  • Two transit bridges in network 1140 This is because different underlying blockchain networks (often behind them, for example, different institutions) may not trust each other, so it is expected to configure the second transfer bridge consensus node in the second transfer bridge network 1140 by itself.
  • the second heterogeneous blockchain network 1141 accesses the second transfer bridge network 1140, it can submit a registration request to the second transfer bridge consensus node to obtain the network identity, or alternatively, the second transfer bridge network 1140 can The network identity assigned in advance is provided to the second heterogeneous blockchain network 1141, and then the second heterogeneous blockchain network 1141 can use the obtained network identity to perform binding registration.
  • Each second transfer bridge consensus node among the plurality of second transfer bridge consensus nodes J1, J2, J3, J4 of the second transfer bridge network 1140 may be configured to have Simple Payment Verification (SPV) capability, To monitor and verify block behavior in the second heterogeneous blockchain network 1141.
  • SPV Simple Payment Verification
  • each second transfer bridge consensus node may be regarded as an upper layer routing node of the second heterogeneous blockchain network 1141.
  • the cross-chain transaction can be packaged into blocks, and then the second transfer bridge consensus node can collect the blocks in the second heterogeneous blockchain network 1141 , verify the block in the second heterogeneous blockchain network 1141 and the signature of the second heterogeneous consensus node.
  • the upper blockchain network 1100 can be configured by connecting the consensus nodes of the second transfer bridge network 1140 to Change the consensus node of the second transfer bridge network 1140 by uploading the certificate in the upper blockchain network 1100 to manage it.
  • any node of the upper layer blockchain network 1100 (such as the first upper layer routing node BR1, the second upper layer routing node BR2, the third upper layer routing node BR3, the fourth upper layer routing node BR4) all knows the second transfer bridge
  • the node member information of the network 1140 does not need to maintain other data of the second transfer bridge network 1140, let alone the on-chain data and node member information of the second heterogeneous blockchain network 1141.
  • the first transfer bridge consensus node may be configured to obtain the first One heterogeneous blockchain network 1131 wants to perform cross-chain transactions in the second heterogeneous blockchain network 1141.
  • the first transfer bridge consensus node may be configured to monitor and verify the blocks in the first heterogeneous blockchain network 1131 to collect the information that the first heterogeneous blockchain network 1131 wants in the second heterogeneous blockchain. Cross-chain transactions performed in network 1141.
  • the first transfer bridge routing node BR31 may be configured to transmit cross-chain transactions from the first heterogeneous blockchain network 1131 to be executed in the second heterogeneous blockchain network 1141 to the third upper routing node BR3,
  • the cross-chain transaction has been verified by the plurality of first transfer bridge consensus nodes I1, I2, I3, I4 of the first transfer bridge network 1130 and converted into a format adapted to the upper blockchain network 1100.
  • the third upper layer routing node BR3 may be configured to transmit the cross-chain transaction received from the first transfer bridge routing node BR31 to the fourth upper layer routing node BR4.
  • the fourth upper-layer routing node BR4 may be configured to transmit the cross-chain transaction received from the third upper-layer routing node BR3 to the second transfer bridge routing node BR41.
  • the second transfer bridge routing node BR41 may be configured to broadcast the cross-chain transaction received from the fourth upper layer routing node BR4 in the second transfer bridge network 1140, so that the plurality of second transfer bridge network 1140.
  • the two transfer bridge consensus nodes J1, J2, J3 and J4 receive and convert the cross-chain transaction into a format adapted to the second heterogeneous blockchain network 1141, and transmit the converted cross-chain transaction to the second
  • the heterogeneous blockchain network 1141 enables the plurality of second heterogeneous consensus nodes Q1, Q2, Q3, and Q4 of the second heterogeneous blockchain network 1141 to receive and execute the converted cross-chain transactions.
  • the second transfer bridge network 1140 may also be configured to upload the cross-chain transaction to the second transfer bridge network 1140 and store it as a certificate for future query.
  • the plurality of second transfer bridge consensus nodes J1, J2, J3 and J4 may be configured to obtain the execution result of the converted cross-chain transaction and upload the execution result to the second transfer bridge network 1140 for certificate storage.
  • the second transfer bridge consensus node may be configured to monitor and verify blocks in the second heterogeneous blockchain network 1141 to collect information about converted cross-chain transactions in the second heterogeneous blockchain network 1141 execution results.
  • the second transfer bridge routing node BR41 may be configured to obtain an uplink certificate for the execution result and transmit the uplink certificate to the fourth upper layer routing node BR4.
  • the fourth upper layer routing node BR4 may be configured to transmit the uplink certificate received from the second transfer bridge routing node BR41 to the third upper layer routing node BR3.
  • the third upper layer routing node BR3 may be configured to verify whether the uplink certificate received from the fourth upper layer routing node BR4 is correct, and when the verification is passed, transmit the uplink certificate and the signature of the third upper layer routing node BR3 to the first relay Connect to the bridge routing node BR31.
  • the first transfer bridge routing node BR31 may be configured to broadcast the uplink certificate received from the third upper layer routing node BR3 and the signature of the third upper layer routing node BR3 in the first transfer bridge network 1130, so that the first transfer bridge
  • the plurality of first transfer bridge consensus nodes I1, I2, I3, and I4 of the bridge network 1130 receive and verify whether the received signature of the third upper-layer routing node BR3 is correct, and trust the received uplink when the verification is passed. prove.
  • the first transfer bridge consensus node may also be configured to convert the on-chain proof into a format adapted to the first heterogeneous blockchain network 1131 after trusting the received on-chain proof, and convert the converted on-chain proof Transmitted to the first heterogeneous blockchain network 1131.
  • the plurality of first heterogeneous consensus nodes P1, P2, P3 and P4 cannot understand the execution results of cross-chain transactions generated in the second heterogeneous blockchain network 1141. Since the plurality of first heterogeneous consensus nodes P1, P2, P3, and P4 of the first heterogeneous blockchain network 1131 verify the signature of the third upper-layer routing node BR3 through the first transfer bridge consensus node and then trust the second transfer bridge, The on-chain proof of the bridge network 1140 thus believes that the cross-chain transaction initiated by it was successfully executed in the second heterogeneous blockchain network 1141.
  • the first heterogeneous blockchain network 1131 does not need to query the second heterogeneous blockchain network 1141, but performs trust endorsement through the second transfer bridge network 1140. Then, the first heterogeneous blockchain network 1131 can perform subsequent processing on the received on-chain certificate converted by the first transfer bridge network 1130 after trusting it, for example, the received on-chain certificate is stored in the first heterogeneous blockchain network 1131 .
  • the certificate is stored in the blockchain network 1131, or used for subsequent contract operations.
  • the process of the second heterogeneous blockchain network 1141 initiating cross-chain transactions in the first heterogeneous blockchain network 1131 is similar to the above and will not be described again.
  • the system for cross-blockchain interaction can be easily expanded horizontally and vertically, and can achieve cross-chain information isolation and alleviate the node's problems while solving the trust problem of cross-chain interaction.
  • the present disclosure provides a method 200 for cross-blockchain interaction.
  • the method 200 may include: at step S202, obtaining a cross-chain transaction from the first blockchain network to be executed in the second blockchain network through the first routing node of the first blockchain network and transferring the cross-chain transaction to the second blockchain network.
  • the cross-chain transaction received by the upper-layer routing node is transmitted to the second routing node of the second blockchain network; and at step S208, the received from the second upper-layer routing node is broadcast in the second blockchain network through the second routing node.
  • the embodiment of the method 200 is basically similar to the foregoing embodiment of the system for cross-blockchain interaction, so it will not be described in detail here. For relevant details, please refer to the description in the system embodiment section.
  • Apparatus 300 may include a collection module 302, a transmission module 304, and an execution module 306.
  • the collection module 302 may be configured to obtain cross-chain transactions from the first blockchain network to be executed in the second blockchain network through the first routing node of the first blockchain network.
  • the transmission module 304 may be configured to: transmit the cross-chain transaction to the upper blockchain network of the first blockchain network and the second blockchain network through the first routing node and is trusted by the first blockchain network.
  • the second upper-layer routing node transmits the cross-chain transaction received from the first upper-layer routing node to the second routing node of the second blockchain network.
  • the execution module 306 may be configured to broadcast the cross-chain transaction received from the second upper-layer routing node in the second blockchain network through the second routing node, so that multiple second consensus nodes of the second blockchain network receive and execute said cross-chain transactions.
  • the upper-layer blockchain network is configured to store changes in the consensus nodes of each blockchain network in the first blockchain network and the second blockchain network in the upper-layer blockchain network.
  • the certificate is used to manage the consensus nodes of each blockchain network in the first blockchain network and the second blockchain network.
  • the embodiments of the device 300 are basically similar to the aforementioned embodiments of the system and method for cross-blockchain interaction, so they will not be described again here. For relevant details, please refer to the descriptions in the system embodiments and method embodiments.
  • Computer system 600 includes a bus 602 or other communication mechanism for communicating information, and a processing device 604 coupled with bus 602 for processing information.
  • Computer system 600 also includes memory 606 coupled to bus 602 for storing instructions to be executed by processing device 604.
  • Memory 606 may be random access memory (RAM) or other dynamic storage device.
  • RAM random access memory
  • Memory 606 may also be used to store temporary variables or other intermediate information during execution of instructions to be executed by processing device 604 .
  • Computer system 600 also includes a read-only memory (ROM) 608 or other static storage device coupled to bus 602 for storing static information and instructions for processing device 604 .
  • ROM read-only memory
  • a storage device 610 such as a magnetic or optical disk, is provided and coupled to bus 602 for storing information and instructions.
  • Computer system 600 may be coupled via bus 602 to an output device 612 for providing output to a user, such as, but not limited to, a display (such as a cathode ray tube (CRT) or liquid crystal display (LCD)), speakers, and the like.
  • Input devices 614 such as a keyboard, mouse, microphone, etc., are coupled to bus 602 for communicating information and command selections to processing device 604 .
  • Computer system 600 can execute embodiments of the present disclosure.
  • results are provided by computer system 600 in response to processing device 604 executing one or more sequences of one or more instructions contained in memory 606 .
  • Such instructions may be read into memory 606 from another computer-readable medium, such as storage device 610 .
  • Execution of the sequences of instructions contained in memory 606 causes processing device 604 to perform the methods described herein.
  • hardwired circuitry may be used in place of or in combination with software instructions to implement the present teachings. Therefore, implementations of the present disclosure are not limited to any specific combination of hardware circuitry and software.
  • computer system 600 may be connected across a network to one or more other computer systems like computer system 600 via network interface 616 to form a networked system.
  • the network may include a private network or a public network such as the Internet.
  • one or more computer systems can store data and provide data to other computer systems.
  • the term "computer-readable medium” as used herein refers to any medium that participates in providing instructions to processing device 604 for execution. This media can take many forms, including, but not limited to, nonvolatile media, volatile media, and transmission media.
  • Non-volatile media include, for example, optical or magnetic disks such as storage device 610 .
  • Volatile media includes dynamic memory such as memory 606.
  • Transmission media include coaxial cable, copper wire, and fiber optics, including the wiring that includes bus 602.
  • Computer-readable media or computer program products include, for example, floppy disks, flexible disks, hard drives, magnetic tape, or any other magnetic media, CD-ROMs, digital video disks (DVDs), Blu-ray disks, any other optical media, thumb drives, Memory cards, RAM, PROM and EPROM, flash EPROM, any other memory chip or cartridge, or any other tangible medium from which a computer can read.
  • Various forms of computer-readable media may be involved in carrying one or more sequences of one or more instructions to processing device 604 for execution.
  • the instructions may be initially carried on the remote computer's disk.
  • the remote computer can load the instructions into its dynamic memory and use a modem to send the instructions over the phone line.
  • a modem local to computer system 600 can receive the data on the telephone line and use an infrared transmitter to convert the data into an infrared signal.
  • An infrared detector coupled to bus 602 can receive the data carried in the infrared signal and place the data on bus 602 .
  • Bus 602 carries data to memory 606, from which processing device 604 retrieves and executes the instructions. Alternatively, instructions received by memory 606 may be stored on storage device 610 before or after execution by processing device 604 .
  • instructions configured to be executed by a processing device to perform a method are stored on a computer-readable medium.
  • Computer-readable media may be devices that store digital information.
  • computer-readable media include compact disk read-only memory (CD-ROM) as is known in the art for storing software.
  • CD-ROM compact disk read-only memory
  • the computer-readable medium is accessed by a processor suitable for executing instructions configured to be executed.
  • the present disclosure may also provide a computing device that may include one or more processors and a memory storing computer-executable instructions that, when executed by the one or more processors, cause one or more A processor executes the method according to any of the preceding embodiments of the present disclosure.
  • computing device 700 may include processor(s) 701 and memory 702 storing computer-executable instructions that, when executed by processor(s) 701, cause (a (or more) processor 701 executes the method according to any of the foregoing embodiments of the present disclosure.
  • Processor(s) 701 may be, for example, a central processing unit (CPU) of computing device 700 .
  • Processor(s) 701 may be any type of general purpose processor, or may be a processor specifically designed for interaction across a blockchain, such as an application specific integrated circuit ("ASIC").
  • Memory 702 may include various computer-readable media accessible by processor(s) 701 .
  • memory 702 described herein may include volatile and nonvolatile media, removable and non-removable media.
  • memory 702 may include any combination of random access memory (“RAM”), dynamic RAM (“DRAM”), static RAM (“SRAM”), read-only memory (“ROM”), flash memory, cache memory and/or any other type of non-transitory computer-readable medium.
  • the memory 702 may store information that when executed by the processor 701 causes the processor 701 to perform a method according to any of the preceding embodiments of the present disclosure.
  • the present disclosure may also provide a non-transitory storage medium having computer-executable instructions stored thereon.
  • the computer-executable instructions when executed by a computer, cause the computer to perform the method according to any of the foregoing embodiments of the disclosure.
  • PLD Programmable Logic Device
  • FPGA Field Programmable Gate Array
  • HDL Hardware Description Language
  • HDL High-Speed Integrated Circuit Hardware Description Language
  • ABEL Advanced Boolean Expression Language
  • AHDL Altera Hardware Description Language
  • HDCal Joint CHDL
  • JHDL Java Hardware Description Language
  • Lava Lava
  • Lola MyHDL
  • PALASM RHDL
  • Verilog Verilog
  • the controller may be implemented in any suitable manner, for example, the controller may take the form of, for example, a microprocessor or processor and a computer readable medium storing computer readable program code (eg, software or firmware) executable by the (micro)processor. , logic gates, switches, Application Specific Integrated Circuit (ASIC), programmable logic controllers and embedded microcontrollers.
  • controllers include but are not limited to the following microcontrollers: ARC 625D, Atmel AT91SAM, For Microchip PIC18F26K20 and Silicone Labs C8051F320, the memory controller can also be implemented as part of the memory's control logic.
  • the controller in addition to implementing the controller in the form of pure computer-readable program code, the controller can be completely programmed with logic gates, switches, application-specific integrated circuits, programmable logic controllers and embedded logic by logically programming the method steps. Microcontroller, etc. to achieve the same function. Therefore, this controller can be considered as a hardware component, and the devices included therein for implementing various functions can also be considered as structures within the hardware component. Or even, the means for implementing various functions can be considered as structures within hardware components as well as software modules implementing the methods.
  • the systems, devices, modules or units described in the above embodiments may be implemented by computer chips or entities, or by products with certain functions.
  • a typical implementation device is a server system.
  • the computer that implements the functions of the above embodiments may be, for example, a personal computer, a laptop computer, a vehicle-mounted human-computer interaction device, a cellular phone, a camera phone, a smart phone, or a personal digital assistant. , media player, navigation device, email device, game console, tablet, wearable device, or a combination of any of these devices.
  • the functions are divided into various modules and described separately.
  • the functions of each module can be implemented in the same or multiple software and/or hardware, or the modules that implement the same function can be implemented by a combination of multiple sub-modules or sub-units, etc. .
  • the device embodiments described above are only illustrative.
  • the division of the units is only a logical function division. In actual implementation, there may be other division methods.
  • multiple units or components may be combined or integrated. to another system, or some features can be ignored, or not implemented.
  • the coupling or direct coupling or communication connection between each other shown or discussed may be through some interfaces, and the indirect coupling or communication connection of the devices or units may be in electrical, mechanical or other forms.
  • These computer program instructions may also be stored in a computer-readable memory that causes a computer or other programmable data processing apparatus to operate in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including the instruction means, the instructions
  • the device implements the functions specified in a process or processes of the flowchart and/or a block or blocks of the block diagram.
  • These computer program instructions may also be loaded onto a computer or other programmable data processing device, causing a series of operating steps to be performed on the computer or other programmable device to produce computer-implemented processing, thereby executing on the computer or other programmable device.
  • Instructions provide steps for implementing the functions specified in a process or processes of a flowchart diagram and/or a block or blocks of a block diagram.
  • a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
  • processors CPUs
  • input/output interfaces network interfaces
  • memory volatile and non-volatile memory
  • Memory may include non-permanent storage in computer-readable media, random access memory (RAM) and/or non-volatile memory in the form of read-only memory (ROM) or flash memory (flash RAM). Memory is an example of computer-readable media.
  • RAM random access memory
  • ROM read-only memory
  • flash RAM flash random access memory
  • Computer-readable media includes both persistent and non-volatile, removable and non-removable media that can be implemented by any method or technology for storage of information.
  • Information may be computer-readable instructions, data structures, modules of programs, or other data.
  • Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disc read-only memory (CD-ROM), digital versatile disc (DVD) or other optical storage, Magnetic tape cassettes, tape magnetic disk storage, graphene storage or other magnetic storage devices or any other non-transmission medium can be used to store information that can be accessed by a computing device.
  • computer-readable media does not include transient computer-readable media (transitory media), such as modulated data signals and carrier waves.
  • one or more embodiments of the present description may be provided as a method, system, or computer program product. Accordingly, one or more embodiments of the present description may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment that combines software and hardware aspects. Furthermore, one or more embodiments of the present description may employ a computer program implemented on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) having computer-usable program code embodied therein. Product form.
  • computer-usable storage media including, but not limited to, disk storage, CD-ROM, optical storage, etc.
  • program modules include routines, programs, objects, components, data structures, etc. that perform specific tasks or implement specific abstract data types.
  • program modules may also be practiced in distributed computing environments where tasks are performed by remote processing devices connected through a communications network.
  • program modules may be located in both local and remote computer storage media including storage devices.

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Accounting & Taxation (AREA)
  • Finance (AREA)
  • Marketing (AREA)
  • Physics & Mathematics (AREA)
  • Development Economics (AREA)
  • Economics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Strategic Management (AREA)
  • Technology Law (AREA)
  • Signal Processing (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Peptides Or Proteins (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)

Abstract

La présente invention concerne un système et un procédé d'interaction entre chaînes de blocs. Le système comprend un premier réseau de chaîne de blocs, un deuxième réseau de chaîne de blocs et un réseau de chaîne de blocs de couche supérieure du premier réseau de chaîne de blocs et du deuxième réseau de chaîne de blocs, dans lequel le réseau de chaîne de blocs de couche supérieure est configuré pour gérer les nœuds de consensus de chacun du premier réseau de chaîne de blocs et du deuxième réseau de chaîne de blocs au moyen de l'exécution, dans le réseau de chaîne de blocs de couche supérieure, de la préservation des preuves sur la chaîne sur un changement dans les nœuds de consensus de chacun du premier réseau de chaîne de blocs et du deuxième réseau de chaîne de blocs.
PCT/CN2022/135558 2022-04-29 2022-11-30 Système et procédé d'interaction entre chaînes de blocs WO2023207085A1 (fr)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202210466073.4 2022-04-29
CN202210466073.4A CN114793235B (zh) 2022-04-29 2022-04-29 用于跨区块链交互的系统及方法

Publications (1)

Publication Number Publication Date
WO2023207085A1 true WO2023207085A1 (fr) 2023-11-02

Family

ID=82461306

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/135558 WO2023207085A1 (fr) 2022-04-29 2022-11-30 Système et procédé d'interaction entre chaînes de blocs

Country Status (2)

Country Link
CN (1) CN114793235B (fr)
WO (1) WO2023207085A1 (fr)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114793235B (zh) * 2022-04-29 2024-03-29 蚂蚁区块链科技(上海)有限公司 用于跨区块链交互的系统及方法
CN114785804B (zh) * 2022-04-29 2024-03-29 蚂蚁区块链科技(上海)有限公司 用于跨区块链交互的系统及方法
CN116614320B (zh) * 2023-07-20 2023-09-12 北京交通大学 基于工业互联网三层通信架构的加密通信方法及相关设备

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107231299A (zh) * 2017-06-07 2017-10-03 众安信息技术服务有限公司 一种链路由及实现区块链跨链通信的系统
CN110266655A (zh) * 2019-05-30 2019-09-20 中国工商银行股份有限公司 一种基于区块链的跨链互联方法、设备以及系统
CN111800463A (zh) * 2020-05-29 2020-10-20 易联众信息技术股份有限公司 区块链间跨链信息交互方法、系统、介质、设备及应用
WO2021109735A1 (fr) * 2019-12-05 2021-06-10 深圳前海微众银行股份有限公司 Procédé de traitement de ressource basé sur un réseau inter-chaînes, et dispositif
CN114785804A (zh) * 2022-04-29 2022-07-22 蚂蚁区块链科技(上海)有限公司 用于跨区块链交互的系统及方法
CN114793235A (zh) * 2022-04-29 2022-07-26 蚂蚁区块链科技(上海)有限公司 用于跨区块链交互的系统及方法

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11194837B2 (en) * 2018-05-01 2021-12-07 International Business Machines Corporation Blockchain implementing cross-chain transactions
CN111181968B (zh) * 2019-12-30 2021-09-21 北京金山云网络技术有限公司 跨区块链通信方法、装置、跨链服务系统及跨链交易系统
CN111741114B (zh) * 2020-06-24 2023-05-16 陈鹏 基于区块链的可监管跨链交互系统、方法及设备

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107231299A (zh) * 2017-06-07 2017-10-03 众安信息技术服务有限公司 一种链路由及实现区块链跨链通信的系统
CN110266655A (zh) * 2019-05-30 2019-09-20 中国工商银行股份有限公司 一种基于区块链的跨链互联方法、设备以及系统
WO2021109735A1 (fr) * 2019-12-05 2021-06-10 深圳前海微众银行股份有限公司 Procédé de traitement de ressource basé sur un réseau inter-chaînes, et dispositif
CN111800463A (zh) * 2020-05-29 2020-10-20 易联众信息技术股份有限公司 区块链间跨链信息交互方法、系统、介质、设备及应用
CN114785804A (zh) * 2022-04-29 2022-07-22 蚂蚁区块链科技(上海)有限公司 用于跨区块链交互的系统及方法
CN114793235A (zh) * 2022-04-29 2022-07-26 蚂蚁区块链科技(上海)有限公司 用于跨区块链交互的系统及方法

Also Published As

Publication number Publication date
CN114793235A (zh) 2022-07-26
CN114793235B (zh) 2024-03-29

Similar Documents

Publication Publication Date Title
WO2023207085A1 (fr) Système et procédé d'interaction entre chaînes de blocs
WO2023207083A1 (fr) Système et procédé d'interaction entre chaînes de blocs
US10698738B1 (en) Implementing a blockchain-based workflow
WO2020029755A1 (fr) Procédé et appareil de vérification de transactions, support de stockage et dispositif électronique
WO2021203853A1 (fr) Procédé, dispositif, appareil et support de génération de clés
CN111541784B (zh) 一种基于区块链一体机的交易处理方法及装置
WO2022121538A1 (fr) Procédé et système de synchronisation de données basés sur une chaîne de blocs, et dispositif associé
WO2021082340A1 (fr) Procédé de traitement de données, appareil, système et support de stockage
CN113438219B (zh) 一种基于区块链一体机的重放交易识别方法及装置
WO2023246187A1 (fr) Procédé de gestion pour réseau de chaîne de blocs, et dispositif associé
JP2024505692A (ja) ブロックチェーンネットワークに基づくデータ処理方法、装置及びコンピュータ機器
WO2023160089A1 (fr) Procédé de diffusion de messages pour réseau de chaîne de blocs, et nœud de chaîne de blocs et système de chaîne de blocs
JP2023525973A (ja) マルチレイヤ通信ネットワーク
CN115174572B (zh) 区块链中的数据组播方法、区块链节点和存储介质
WO2021036583A1 (fr) Procédé, appareil et dispositif de compensation basés sur une chaîne de blocs, et support de stockage informatique
WO2024001022A1 (fr) Appel inter-sous-réseau
KR20170016281A (ko) 콘텐트 중심 네트워크 스택들에서의 상태 전달
WO2023207080A1 (fr) Procédé de traitement de données dans une chaîne de blocs, et nœud de chaîne de blocs
WO2023231335A1 (fr) Procédé d'exécution d'une transaction dans une chaîne de blocs, et nœud maître de chaîne de blocs
WO2023056713A1 (fr) Procédé et système de liaison de plateforme en nuage pour carte de l'internet des objets, et dispositif et support
JP2022539283A (ja) ブロックチェーンとは異なる形式のストレージに格納されるブロックチェーンデータを検証する方法およびシステム
CN114363335B (zh) 跨链交互方法及装置
CN114844904B (zh) 用于跨区块链交互的系统及方法
JP2023516466A (ja) ブロックチェーントランザクション二重使用証明
WO2023231343A1 (fr) Procédé d'exécution d'un réseau de chaînes de consortium, et réseau de chaînes de consortium et dispositif de nœud pour un réseau de chaînes de consortium

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 22939899

Country of ref document: EP

Kind code of ref document: A1