[go: up one dir, main page]

CN107742210A - A cross-chain transfer system and method between different blockchains - Google Patents

A cross-chain transfer system and method between different blockchains Download PDF

Info

Publication number
CN107742210A
CN107742210A CN201710950842.7A CN201710950842A CN107742210A CN 107742210 A CN107742210 A CN 107742210A CN 201710950842 A CN201710950842 A CN 201710950842A CN 107742210 A CN107742210 A CN 107742210A
Authority
CN
China
Prior art keywords
parachain
transaction request
chain
transaction
transfer
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201710950842.7A
Other languages
Chinese (zh)
Inventor
孙毅
张珺
李忠诚
李军
蒋海
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Bubbe (beijing) Network Technology Co Ltd
Original Assignee
Bubbe (beijing) Network Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Bubbe (beijing) Network Technology Co Ltd filed Critical Bubbe (beijing) Network Technology Co Ltd
Priority to CN201710950842.7A priority Critical patent/CN107742210A/en
Publication of CN107742210A publication Critical patent/CN107742210A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/50Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols using hash chains, e.g. blockchains or hash trees
    • 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
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/08Payment architectures
    • G06Q20/10Payment architectures specially adapted for electronic funds transfer [EFT] systems; specially adapted for home banking systems
    • 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
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof
    • G06Q20/40Authorisation, e.g. identification of payer or payee, verification of customer or shop credentials; Review and approval of payers, e.g. check credit lines or negative lists
    • G06Q20/401Transaction verification

Landscapes

  • Business, Economics & Management (AREA)
  • Engineering & Computer Science (AREA)
  • Accounting & Taxation (AREA)
  • Finance (AREA)
  • Physics & Mathematics (AREA)
  • Strategic Management (AREA)
  • Computer Security & Cryptography (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Development Economics (AREA)
  • Economics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)

Abstract

本发明公开了一种不同区块链间的跨链转账系统和方法,所述方法包括:接收第一交易请求,其中,所述第一交易请求中请求将第一平行链中的第一代币转账到第二平行链;在订单表中查找与所述第一交易请求相符的至少一个订单,根据所述至少一个订单生成订单组合并冻结所述订单组合中的订单;生成包括所述订单组合的第二交易请求,通过互联链向所述第一平行链发布所述第二交易请求;接收第三交易请求,其中,所述第三交易请求是根据所述第二交易请求在所述第一平行链中的执行结果生成的;在所述第三交易请求通过验证时,确认所述第一交易请求和所述订单组合中的订单完成,记录全部交易记录。本发明具备良好的可扩展性,在转账的过程中能够保证原子性。

The present invention discloses a cross-chain transfer system and method between different blockchains. The method includes: receiving a first transaction request, wherein the first transaction request requests to transfer the first-generation currency transfer to the second parachain; look up at least one order that matches the first transaction request in the order table, generate an order combination according to the at least one order and freeze the orders in the order combination; generate Combining the second transaction request, issuing the second transaction request to the first parachain through the interconnection chain; receiving the third transaction request, wherein the third transaction request is based on the second transaction request in the Generated by the execution result in the first parachain; when the third transaction request passes the verification, confirm the completion of the first transaction request and the order in the order combination, and record all transaction records. The present invention has good scalability and can guarantee atomicity in the transfer process.

Description

一种不同区块链间的跨链转账系统和方法A cross-chain transfer system and method between different blockchains

技术领域technical field

本发明涉及区块链技术领域,尤其涉及一种不同区块链间的跨链转账系统和方法。The invention relates to the technical field of block chains, in particular to a cross-chain transfer system and method between different block chains.

背景技术Background technique

随着区块链技术及应用的快速发展,当前已经出现了各种各样的相互独立的区块链,而实现跨区块链的交易已经成为当今区块链应用的迫切需求。例如,当前最普遍的需求是跨区块链的货币交易,即由一条区块链向另一条区块链执行虚拟货币的转账,从而实现各区块链间的价值流通。With the rapid development of blockchain technology and applications, various independent blockchains have emerged, and the realization of cross-blockchain transactions has become an urgent need for today's blockchain applications. For example, the most common demand at present is cross-blockchain currency transactions, that is, the transfer of virtual currency from one blockchain to another, so as to realize the value circulation between various blockchains.

针对跨链转账的需求,工业界和学术界提出了一些初步的解决方案。In response to the needs of cross-chain transfers, industry and academia have proposed some preliminary solutions.

BTCRelay和BTC-Market实现了一对一的跨链转账。在这一方案中,部署在以太坊上的智能合约能够接收比特币的区块头和SPV(Simplified Payment Verification)验证信息,从而能够验证比特币上发生的交易。但是,当涉及多条链之间的转账时,此类一对一方案将导致严重的扩展性问题。这是因为,部署在其中一条区块链上的智能合约需要有能力验证所有其他区块链的交易,这显然是难以做到的。此外,每一个运行智能合约的节点需要存储其他所有区块链的区块头,从而给节点造成存储上的负担。BTCRelay and BTC-Market realize one-to-one cross-chain transfer. In this scheme, the smart contract deployed on Ethereum can receive Bitcoin's block header and SPV (Simplified Payment Verification) verification information, thereby being able to verify transactions that occur on Bitcoin. However, when transfers between multiple chains are involved, such one-to-one schemes cause serious scalability issues. This is because a smart contract deployed on one of the blockchains needs to be able to verify the transactions of all other blockchains, which is obviously difficult to do. In addition, each node running a smart contract needs to store the block headers of all other blockchains, which imposes a storage burden on the node.

Interledger是Ripple公司提出的跨链转账系统和方法。在这一方案中,资金的发送方需要寻找到一组合适的连接者,从而组成一条通往接收方的路径。资金将以接力的方式,通过连接者,从发送方转移到接收方。在接收方签发了有效的接收证明后,连接者和接收方都能拿到属于自己的资金。该方案的不足之处在于,发送方在转移资金之前,必须找到一组合适的连接者。一旦没有此类连接者,转账将无法进行。此外,在转账过程中,接收方必须全程在线,以便及时签发接收证明。一旦在规定的时间之内未签发接收证明,转账交易就会被撤销。Interledger is a cross-chain transfer system and method proposed by Ripple. In this scheme, the sender of funds needs to find a group of suitable connectors to form a path to the receiver. Funds will be transferred from the sender to the receiver through the connectors in a relay manner. After the receiving party issues a valid proof of acceptance, both the connecter and the receiving party can get their own funds. The disadvantage of this scheme is that the sender must find a suitable set of connectors before transferring funds. Once there is no such connector, the transfer will not be possible. In addition, during the transfer process, the recipient must be online throughout the entire process, so that the proof of receipt can be issued in a timely manner. Once the proof of receipt is not issued within the stipulated time, the transfer transaction will be cancelled.

Cosmos是新近提出的一种跨链转账系统和方法。在Cosmos中,一个被称作“Hub”的区块链管理其他众多被称作“Zone”的区块链。Hub和Zone均使用被称作“Tendermint”的共识机制。每个Zone的区块头均被提交至Hub,所以,Hub能够维护每个Zone的实时状态。当源Zone上的某个账户向目的Zone的某个账户转账时,来自源Zone的交易和相关验证信息,将被打包发送至Hub。随后,Hub再将数据包发送至目的Zone。但是,在Cosmos中,Hub和Zone均需要使用Tendermint共识,如果某条区块链不采用Tendermint共识,必须借助一个桥接Zone,才能够成接入Cosmos。这无疑限制了系统的可扩展性。此外,该方案并未详细地提出转账流程,也没有解释转账过程中如何保证原子性。Cosmos is a newly proposed cross-chain transfer system and method. In Cosmos, one blockchain called "Hub" manages many other blockchains called "Zones". Both Hub and Zone use a consensus mechanism called "Tendermint". The block header of each Zone is submitted to the Hub, so the Hub can maintain the real-time status of each Zone. When an account in the source Zone transfers money to an account in the destination Zone, the transaction and related verification information from the source Zone will be packaged and sent to the Hub. Subsequently, the Hub sends the data packet to the destination Zone. However, in Cosmos, both Hub and Zone need to use the Tendermint consensus. If a certain blockchain does not adopt the Tendermint consensus, it must use a bridging Zone to successfully access Cosmos. This undoubtedly limits the scalability of the system. In addition, the proposal does not propose the transfer process in detail, nor does it explain how to ensure atomicity in the transfer process.

此外,以太坊基金会提出了Polkadot,用以提高区块链系统的可扩展性。在该系统中,交易等任务被分配到多个区块链中。多个区块链可以并行运行,因而,这一系统提高了交易的处理速度。但是,该方案只是一个初步的草案,并没有提供跨区块链交易的详细细节。In addition, the Ethereum Foundation proposed Polkadot to improve the scalability of the blockchain system. In this system, tasks such as transactions are distributed among multiple blockchains. Multiple blockchains can run in parallel, thus, this system increases the processing speed of transactions. However, the proposal is only a preliminary draft and does not provide detailed details of cross-blockchain transactions.

发明内容Contents of the invention

为解决以上问题,本发明的目的是通过以下技术方案实现的。在本发明中,接入互联链的区块链称作平行链。In order to solve the above problems, the object of the present invention is achieved through the following technical solutions. In the present invention, the blockchain connected to the interconnected chain is called a parallel chain.

具体的,根据本发明的一个方面,本发明提供了一种不同区块链间的跨链转账系统,所述系统包括至少一个互联链和多个平行链,每个所述平行链均接入互联链。每个平行链中各包含一个或多个数据收发节点和若干个网络节点,所述数据收发节点与所述网络节点中的一个或多个连接;所述互联链中包含多个验证节点,所述验证节点分别与上述数据收发节点中的一个或多个连接;其中,所述平行链还包含一兑换模块,所述兑换模块根据源平行链与目的平行链之间双向的币种转换数量确定转账是否成功。Specifically, according to one aspect of the present invention, the present invention provides a cross-chain transfer system between different blockchains, the system includes at least one interconnected chain and multiple parallel chains, each of which is connected to Interchain. Each parallel chain contains one or more data transceiver nodes and several network nodes, and the data transceiver nodes are connected to one or more of the network nodes; the interconnection chain contains multiple verification nodes, so The verification nodes are respectively connected to one or more of the above-mentioned data sending and receiving nodes; wherein, the parachain also includes an exchange module, and the exchange module is determined according to the two-way currency conversion quantity between the source parachain and the destination parachain Whether the transfer was successful.

所述互联链用于多个区块链间的交易转发。任何区块链均可以接入互联链,通过互联链完成跨链交易。平行链上的每个节点均维护了该平行链的完整副本。The interconnected chain is used for transaction forwarding between multiple blockchains. Any blockchain can be connected to the Internet chain, and cross-chain transactions can be completed through the Internet chain. Every node on a parachain maintains a complete copy of that parachain.

每个平行链网络中各包含一个或多个数据收发节点。每个数据收发节点均保存了自身所在平行链的完整副本;同时,每个数据收发节点都持有所在平行链的账户,从而能够接收和签发所在平行链中的交易数据。Each parachain network contains one or more data sending and receiving nodes. Each data sending and receiving node keeps a complete copy of its own parachain; at the same time, each data sending and receiving node holds an account in the parallel chain, so that it can receive and issue transaction data in the parallel chain.

每个数据收发节点也持有互联链上的账户,从而能够接收和签发互联链上的交易数据;另外,数据收发节点能够获悉互联链的实时状态,其中包括被写入互联链的交易数据。Each data sending and receiving node also holds an account on the interconnected chain, so that it can receive and issue transaction data on the interconnected chain; in addition, the data sending and receiving node can learn the real-time status of the interconnected chain, including the transaction data written into the interconnected chain.

互联链网络中包含多个验证节点,验证节点一方面同步各条平行链的区块头,进而验证来自各条平行链的交易请求;另一方面,维护互联链的完整副本,并参与互联链的共识过程。The interchain network contains multiple verification nodes. On the one hand, the verification nodes synchronize the block headers of each parachain, and then verify the transaction requests from each parachain; on the other hand, they maintain a complete copy of the interchain and participate in the interchain consensus process.

当某条平行链接入互联链之后,该平行链的数据收发节点会向互联链网络发送一条交易请求,交易请求中包含对该平行链的交易进行SPV验证的方式。因而,互联链中的验证节点能够验证来自该平行链交易请求的有效性。When a parachain is connected to the Internet chain, the data sending and receiving node of the parachain will send a transaction request to the Internet chain network, and the transaction request includes the SPV verification method for the transaction of the parachain. Therefore, the verification nodes in the interconnected chain can verify the validity of the transaction request from the parachain.

每条平行链包含:发送模块,验证模块,以及兑换模块。其中包括:Each parachain contains: sending module, verification module, and exchange module. These include:

当用户发起一笔跨链交易请求时,需要先构造一笔交易,将要转移的资金暂存至发送模块。When a user initiates a cross-chain transaction request, a transaction needs to be constructed first, and the funds to be transferred are temporarily stored in the sending module.

兑换模块可以把自身所在区块链发行的代币兑换为另一条区块链发行的代币。The exchange module can exchange tokens issued by its own blockchain for tokens issued by another blockchain.

验证模块实时同步互联链的区块头,因而能够验证互联链中交易信息的有效性;发送模块和兑换模块均能调用验证模块。The verification module synchronizes the block header of the interconnected chain in real time, so it can verify the validity of the transaction information in the interconnected chain; both the sending module and the exchange module can call the verification module.

用户将要转移的资金暂存至发送模块,还包括:The user temporarily deposits the funds to be transferred to the sending module, including:

发送模块为每笔暂存的资金的设置一个定时器,在定时器超时之前,暂存的资金将不能被撤回。The sending module sets a timer for each temporarily deposited fund, and the temporarily deposited funds cannot be withdrawn before the timer expires.

兑换模块的代币兑换功能,还包括:The token exchange function of the exchange module also includes:

1.需要进行代币兑换的用户同时持有兑换模块所属平行链,以及目标平行链上的账户;1. Users who need to exchange tokens hold accounts on the parachain to which the exchange module belongs and the target parachain;

2.用户将一笔代币寄存至兑换模块;2. The user deposits a token to the exchange module;

3.用户向兑换模块发送一笔订单,所述订单包括但不限于:用户在兑换模块所属平行链上的账户,用户在目的平行链上的账户,用户寄存至兑换模块的代币金额,以及用户预期兑换到的代币金额;3. The user sends an order to the exchange module, which includes but is not limited to: the user's account on the parachain to which the exchange module belongs, the user's account on the target parachain, the amount of tokens deposited by the user to the exchange module, and The amount of tokens that the user expects to exchange;

4.兑换模块维护一张订单表,其中包含各个用户提交的订单。4. The exchange module maintains an order table, which contains the orders submitted by each user.

根据本发明的另一个方面,本发明还包括一种不同区块链间的跨链转账方法,该方法使用上述的系统,所述方法包括如下步骤:According to another aspect of the present invention, the present invention also includes a cross-chain transfer method between different blockchains, the method uses the above-mentioned system, and the method includes the following steps:

(1)发送方在源平行链中发起一笔交易请求,把要发送的代币转移至源平行链的发送模块;(1) The sender initiates a transaction request in the source parachain, and transfers the tokens to be sent to the sending module of the source parachain;

(2)源平行链上的各数据收发节点监听发送模块,在监听到发送方发起的交易请求后,数据收发节点各自向互联链网络中广播一笔交易请求;(2) Each data sending and receiving node on the source parachain listens to the sending module, and after listening to the transaction request initiated by the sender, the data sending and receiving nodes each broadcast a transaction request to the Internet chain network;

(3)通过互联链的共识过程,只有来自其中一个源平行链数据收发节点的交易被写入互联链的区块链,之后,目的平行链上的数据收发节点在目的平行链网络中广播一笔交易请求,该交易请求的目的交易方是目的平行链的兑换模块,并携带有源平行链数据收发节点在步骤(2)中发布的互联链交易请求以及互联链交易请求的SPV验证信息;(3) Through the consensus process of the interconnection chain, only the transaction from one of the source parachain data sending and receiving nodes is written into the blockchain of the interconnecting chain, and then the data sending and receiving node on the destination parachain broadcasts a A transaction request, the target transaction party of the transaction request is the exchange module of the target parachain, and carries the interchain transaction request issued by the active parachain data sending and receiving node in step (2) and the SPV verification information of the interchain transaction request;

(4)兑换模块调用目的平行链上的验证模块,验证目的平行链数据收发节点发布的交易请求的有效性,验证过程包括:验证模块通过SPV验证方式,验证该交易中携带的互联链交易请求的有效性,如果互联链交易请求有效,则可以认为目的平行链数据收发节点发送的交易请求是有效的;(4) The exchange module calls the verification module on the destination parachain to verify the validity of the transaction request issued by the data sending and receiving node of the destination parachain. The verification process includes: the verification module verifies the interchain transaction request carried in the transaction through the SPV verification method validity, if the interchain transaction request is valid, it can be considered that the transaction request sent by the destination parachain data sending and receiving node is valid;

(5)兑换模块在订单表中找到和转账过程相符合的订单组合,订单组合中的若干订单将被冻结,之后,这些订单将不能被其他跨链转账过程选中,也不能被提交方撤回;(5) The exchange module finds the order combination that matches the transfer process in the order table, and several orders in the order combination will be frozen. After that, these orders will not be selected by other cross-chain transfer processes, nor can they be withdrawn by the submitter;

(6)目的平行链上的数据收发节点监听兑换模块,然后各自向互联链网络广播一笔交易请求,该交易请求中包含订单组合信息,订单组合信息包括每个订单提交方在源平行链上的账户,以及每个提交方预期获取的源平行链代币金额;(6) The data sending and receiving nodes on the destination parachain monitor the exchange module, and then each broadcast a transaction request to the interchain network. The transaction request contains order combination information, and the order combination information includes account, and the amount of source parachain tokens expected to be obtained by each submitter;

(7)通过互联链的共识过程,只有来自一个目的平行链数据收发节点的交易被写入互联链的区块链;之后,源平行链的数据收发节点在源平行链中发布一笔交易请求,该交易请求的目的交易方是源平行链的发送模块,同时,也携带了目的平行链数据收发节点在步骤(6)中发布的互联链交易请求以及互联链交易请求的SPV验证信息;(7) Through the consensus process of the interconnection chain, only the transaction from a destination parachain data sending and receiving node is written into the blockchain of the interconnecting chain; after that, the data sending and receiving node of the source parachain issues a transaction request in the source parachain , the destination transaction party of the transaction request is the sending module of the source parachain, and at the same time, it also carries the interchain transaction request issued by the destination parachain data sending and receiving node in step (6) and the SPV verification information of the interchain transaction request;

(8)源平行链的发送模块调用验证模块,进而验证源平行链数据收发节点发布的交易请求的有效性,验证过程和第(4)步相同;(8) The sending module of the source parachain calls the verification module, and then verifies the validity of the transaction request issued by the source parachain data sending and receiving node. The verification process is the same as step (4);

(9)如果交易请求有效,发送模块将交易发送方寄存的代币,按照每个订单提交方预期获取的代币金额,转移至各个提交方在源平行链上的账户;(9) If the transaction request is valid, the sending module will transfer the token deposited by the transaction sender to the account of each submitter on the source parachain according to the token amount expected to be obtained by each order submitter;

(10)源平行链的数据收发节点各自向互联链网络广播一笔交易请求,其中包含订单组合信息;(10) The data sending and receiving nodes of the source parallel chain each broadcast a transaction request to the Internet chain network, which contains order combination information;

(11)目的平行链上的各个数据收发节点分别在目的平行链中广播一笔交易请求,该交易请求的目的交易方是目的平行链的兑换模块,同时,也携带了源平行链的数据收发节点在步骤(10)中发布的互联链交易请求以及互联链交易请求的验证信息;(11) Each data sending and receiving node on the destination parachain broadcasts a transaction request in the destination parachain respectively. The destination transaction party of the transaction request is the exchange module of the destination parachain, and at the same time, it also carries the data sending and receiving of the source parachain The interchain transaction request issued by the node in step (10) and the verification information of the interchain transaction request;

(12)兑换模块调用目的平行链上的验证模块,利用和步骤(4)、步骤(8)中相同的验证过程,验证目的平行链数据收发节点发布的交易请求的有效性,如果交易请求有效,就将发送方寄存的代币转移至接收方在目的平行链上的账户。(12) The exchange module calls the verification module on the destination parachain, and uses the same verification process as in steps (4) and (8) to verify the validity of the transaction request issued by the destination parachain data sending and receiving node. If the transaction request is valid , transfer the token deposited by the sender to the account of the receiver on the destination parachain.

优选地,本发明还包括如下步骤:Preferably, the present invention also includes the following steps:

如果在上述步骤(7)中,源平行链的数据收发节点未能获悉目的平行链数据收发节点发布的互联链交易请求,这时,源平行链发送模块的定时器将会超时,随后,执行以下步骤:If in the above step (7), the data sending and receiving node of the source parachain fails to learn the interchain transaction request issued by the data sending and receiving node of the destination parachain, at this time, the timer of the sending module of the source parachain will time out, and then, execute The following steps:

1.源平行链的发送模块把发送方寄存的代币退回到发送方的账户;1. The sending module of the source parachain returns the token deposited by the sender to the sender's account;

2.源平行链的数据收发节点在检测到发送模块的退款行为后,各自向互联链网络广播一笔交易请求,其中包含发送模块的退款信息;2. After the data sending and receiving nodes of the source parachain detect the refund behavior of the sending module, they each broadcast a transaction request to the Internet chain network, which includes the refund information of the sending module;

3.经过互联链的共识过程,仅有来自其中一个源平行链数据收发节点的交易请求被写入互联链的区块链,目的平行链的数据收发节点据此构造一笔交易请求,该交易请求的目的交易方是目的平行链的兑换模块,并且该交易请求携带有源平行链数据收发节点在步骤2中发布的互联链交易请求以及互联链交易请求的SPV验证信息,再将这笔交易请求发布至目的平行链网络;3. After the consensus process of the interconnection chain, only the transaction request from one of the source parachain data sending and receiving nodes is written into the blockchain of the interconnecting chain, and the data sending and receiving nodes of the destination parachain construct a transaction request accordingly. The target transaction party of the request is the exchange module of the target parachain, and the transaction request carries the interchain transaction request issued by the active parachain data sending and receiving node in step 2 and the SPV verification information of the interchain transaction request, and then the transaction Request to publish to the target parachain network;

4.目的平行链上的兑换模块调用验证模块,验证来自目的平行链数据收发节点的交易请求的有效性,如果此交易请求有效,则依据退款信息,把订单组合中的各条订单解冻,之后,这些订单可以被其他跨链转账过程选中,也可以被提交方撤回。4. The exchange module on the target parachain calls the verification module to verify the validity of the transaction request from the data sending and receiving node of the target parachain. If the transaction request is valid, each order in the order combination will be unfrozen according to the refund information. These orders can then be picked up by other cross-chain transfer processes or withdrawn by the submitting party.

本发明具有如下优势:任意数量的区块链都能够接入互联链,进而参与跨链交易。所以,本发明具备良好的可扩展性。在转账的过程中能够保证原子性,即使在转账过程中,某一环节失败,转账过程也可以被整体撤销,从而保证交易的参与方不会有经济损失。The present invention has the following advantages: any number of blockchains can be connected to the interconnected chain, and then participate in cross-chain transactions. Therefore, the present invention has good scalability. Atomicity can be guaranteed during the transfer process. Even if a certain link fails during the transfer process, the transfer process can be canceled as a whole, thereby ensuring that the participants in the transaction will not suffer economic losses.

附图说明Description of drawings

通过阅读下文优选实施方式的详细描述,各种其他的优点和益处对于本领域普通技术人员将变得清楚明了。附图仅用于示出优选实施方式的目的,而并不认为是对本发明的限制。而且在整个附图中,用相同的参考符号表示相同的部件。在附图中:Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiment. The drawings are only for the purpose of illustrating a preferred embodiment and are not to be considered as limiting the invention. Also throughout the drawings, the same reference numerals are used to designate the same parts. In the attached picture:

图1是互联链的架构图。Figure 1 is the architecture diagram of the interconnection chain.

图2是每条平行链的模块图。Figure 2 is a block diagram of each parachain.

图3是兑换模块中的订单表。Figure 3 is the order table in the exchange module.

图4展示了互联链架构中,跨区块链转账的流程。Figure 4 shows the flow of cross-blockchain transfers in the interconnected chain architecture.

图5展示了在转账过程失败时,本发明的处理流程。Fig. 5 shows the processing flow of the present invention when the transfer process fails.

具体实施方式detailed description

下面将参照附图更详细地描述本公开的示例性实施方式。虽然附图中显示了本公开的示例性实施方式,然而应当理解,可以以各种形式实现本公开而不应被这里阐述的实施方式所限制。相反,提供这些实施方式是为了能够更透彻地理解本公开,并且能够将本公开的范围完整的传达给本领域的技术人员。Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited by the embodiments set forth herein. Rather, these embodiments are provided for more thorough understanding of the present disclosure and to fully convey the scope of the present disclosure to those skilled in the art.

值得说明的是,本发明所述的“转账”的含义是:第一平行链上的一个账户通过某种方式,把自身的一部分资产转化为价值对等的第二平行链代币,并把转化后的资产转移到第二平行链上另一个账户的过程。在本发明中,这一过程采用兑换模块实现。It is worth noting that the meaning of "transfer" in this invention is: an account on the first parachain converts part of its own assets into tokens of the second parachain with equal value in a certain way, and transfers The process of transferring converted assets to another account on the second parachain. In the present invention, this process is realized by the exchange module.

第一实施例first embodiment

图1是互联链的架构图。互联链是一种区块链,用于不同区块链间的交易转发。任何区块链均可以接入互联链101,并借助互联链101完成跨链交易。接入互联链101的区块链称作平行链。图1中,平行链网络102中的每个节点(平行链网络节点和数据收发节点)均维护了平行链102的完整副本,类似地,平行链网络103中的每个节点均维护了平行链103的完整副本,平行链网络104中的每个节点均维护了平行链104的完整副本。Figure 1 is the architecture diagram of the interconnection chain. Interchain is a blockchain used for transaction forwarding between different blockchains. Any blockchain can be connected to the Internet chain 101, and complete cross-chain transactions with the help of the Internet chain 101. The blockchain connected to the interconnected chain 101 is called a parallel chain. In Figure 1, each node in the parachain network 102 (parachain network nodes and data sending and receiving nodes) maintains a complete copy of the parachain 102, similarly, each node in the parachain network 103 maintains a parachain 103, each node in the parachain network 104 maintains a complete copy of the parachain 104.

每个平行链网络中各包含一个或多个数据收发节点。每个数据收发节点均保存了自身所在平行链的完整副本。同时,每个数据收发节点都持有所在平行链的账户,因而,能够接收和签发所在平行链的交易信息。Each parachain network contains one or more data sending and receiving nodes. Each data sending and receiving node keeps a complete copy of its own parachain. At the same time, each data sending and receiving node holds the account of the parallel chain, so it can receive and issue the transaction information of the parallel chain.

此外,每个数据收发节点也持有互联链上的账户,从而能够接收和签发互联链上的交易信息。另外,数据收发节点能够获悉互联链的实时状态,例如被写入互联链的交易信息等。In addition, each data sending and receiving node also holds an account on the interconnection chain, so that it can receive and issue transaction information on the interconnection chain. In addition, data sending and receiving nodes can learn the real-time status of the interconnected chain, such as transaction information written into the interconnected chain.

互联链网络中包含多个验证节点,验证节点一方面同步各条平行链的区块头,进而验证来自各条平行链的交易请求。另一方面,维护互联链的完整副本,并参与互联链的共识过程。The interchain network contains multiple verification nodes. On the one hand, the verification nodes synchronize the block headers of each parallel chain, and then verify the transaction requests from each parallel chain. On the other hand, maintain a complete copy of the interconnected chain and participate in the consensus process of the interconnected chain.

当某条平行链接入互联链之后,数据收发节点会向互联链网络发送一条请求,请求中包含对该平行链的交易请求进行SPV验证的方式。因而,本领域的技术人员应当明白,在给定平行链中的交易请求,以及其验证信息(Merkle树的验证分支)后,验证节点能够验证平行链交易请求的有效性。When a parallel link is connected to the Internet chain, the data sending and receiving node will send a request to the Internet chain network, and the request includes the SPV verification method for the transaction request of the parallel chain. Therefore, those skilled in the art should understand that, given the transaction request in the parachain and its verification information (the verification branch of the Merkle tree), the verification node can verify the validity of the parachain transaction request.

值得阐明的是,本发明实施例中所述的平行链中的数据收发节点、网络节点、互联链中的验证节点,既可以由计算机、路由、网关等硬件来实现,又可以由纯软件来实现,也可以是软硬结合的方式实现,只要能够实现上述实施例中阐述的各个节点应该具有的功能即可。It is worth clarifying that the data sending and receiving nodes, network nodes, and verification nodes in the interconnection chain described in the embodiments of the present invention can be implemented by hardware such as computers, routers, and gateways, or by pure software. The implementation may also be implemented in a combination of software and hardware, as long as the functions that each node described in the above embodiments should have can be realized.

图2介绍了每条平行链上应该包含的模块。每条平行链205包含如图2所示的三个模块:发送模块201,验证模块202,以及兑换模块203。现将三个模块的作用做简要介绍。Figure 2 introduces the modules that should be included on each parachain. Each parachain 205 includes three modules as shown in FIG. 2 : sending module 201 , verification module 202 , and exchange module 203 . The functions of the three modules are briefly introduced.

首先,值得阐明的是,本发明实施例中所述的平行链中的发送模块、验证模块、兑换模块既可以由计算机、路由、网关等硬件来实现,又可以由纯软件来实现,也可以是软硬结合的方式实现,只要能够实现下述实施例中阐述的各个节点应该具有的功能即可。First of all, it is worth clarifying that the sending module, verification module, and redemption module in the parachain described in the embodiment of the present invention can be implemented by hardware such as computers, routers, and gateways, and can also be implemented by pure software. It is implemented in a combination of software and hardware, as long as the functions that each node should have as described in the following embodiments can be realized.

当用户需要将一笔资金转移到另一条区块链上的某个账户时,用户需要先构造一笔交易,将要转移的资金暂存至发送模块201。发送模块201为每笔暂存的资金设置一个定时器,在定时器超时之前,暂存的资金将不能被撤回。When a user needs to transfer a sum of funds to an account on another blockchain, the user needs to first construct a transaction and temporarily store the funds to be transferred to the sending module 201 . The sending module 201 sets a timer for each temporarily deposited fund, and the temporarily deposited funds cannot be withdrawn before the timer expires.

验证模块202用于实时同步互联链的区块头206。因而,在给定在互联链中的交易请求,以及其验证信息(Merkle树的验证分支)后,验证模块202能够验证互联链中交易请求的有效性。发送模块201和兑换模块203均能调用验证模块202,从而验证互联链中的交易请求。The verification module 202 is used to synchronize the block header 206 of the interconnected chain in real time. Therefore, given the transaction request in the interconnected chain and its verification information (the verification branch of the Merkle tree), the verification module 202 can verify the validity of the transaction request in the interconnected chain. Both the sending module 201 and the exchange module 203 can call the verification module 202 to verify the transaction request in the interconnected chain.

通过兑换模块203,用户可以通过提交订单的方式,把自身所在区块链发行的代币兑换为另一条区块链发行的代币。例如,平行链X发行名为XCoin的代币,平行链Y发行名为YCoin的代币。用户Carol在平行链X上持有账户XC,在平行链Y上持有账户YC。Carol如果希望利用5YCoin兑换10XCoin,就需要通过账户YC,向兑换模块203发送5YCoin。Carol提交的5YCoin将被暂时存储在兑换模块中。从平行链Y的角度看,平行链X是“目标平行链”,XCoin是“目标货币”。与此同时,Carol向兑换模块203发送一条订单。所述订单中包含目标平行链X,Carol在平行链Y上的账户YC,在平行链X上的账户XC,Carol提交的YCoin金额(5YCoin),以及预期兑换到的XCoin金额(10XCoin)。所有用户提交的订单均被保存在订单表204中。Through the exchange module 203, users can exchange tokens issued by their own blockchain for tokens issued by another blockchain by submitting an order. For example, parachain X issues tokens named XCoin, and parachain Y issues tokens named YCoin. User Carol holds account X C on parachain X and account Y C on parachain Y. If Carol wants to exchange 5YCoin for 10XCoin, she needs to send 5YCoin to the exchange module 203 through the account Y C . The 5YCoin submitted by Carol will be temporarily stored in the exchange module. From the perspective of parachain Y, parachain X is the "target parachain" and XCoin is the "target currency". At the same time, Carol sends an order to the exchange module 203 . The order includes the target parachain X, Carol's account Y C on the parachain Y, the account X C on the parachain X, the amount of YCoin submitted by Carol (5YCoin), and the amount of XCoin expected to be exchanged (10XCoin) . All orders submitted by users are stored in the order table 204 .

某些区块链,如以太坊等,提供了图灵完备的智能合约。在这种情况下,上述发送模块201,验证模块202,以及兑换模块203可以用智能合约来实现。但是,也可以采用区块链中的其他技术实现。此外,上述三个模块可以相互合并,也可以是三个独立的模块。例如,在使用智能合约实现三个模块时,发送模块201,验证模块202,以及兑换模块203可以是一个智能合约的三个组成部分,也可以是三个相互独立的智能合约。Certain blockchains, such as Ethereum, provide Turing-complete smart contracts. In this case, the above-mentioned sending module 201, verification module 202, and exchange module 203 can be implemented with smart contracts. However, it can also be implemented using other technologies in the blockchain. In addition, the above three modules can be combined with each other, or can be three independent modules. For example, when using a smart contract to implement three modules, the sending module 201, the verification module 202, and the exchange module 203 may be three components of a smart contract, or three independent smart contracts.

值得阐明的是,本发明实施例中所述的平行链中的发送模块、验证模块、兑换模块既可以均位于数据收发节点中,也可以均位于网络节点中,也可以分散的分布于数据收发节点或者网络节点之中,还可以既独立于数据收发节点也独立于网络节点,由单独的硬件或者软件来实现,只要能够实现上述实施例中阐述的各个模块应该具有的功能即可。It is worth clarifying that the sending module, verification module, and redemption module in the parachain described in the embodiment of the present invention can be located in the data sending and receiving nodes, or in the network nodes, or distributed in data sending and receiving nodes. Among the nodes or network nodes, independent hardware or software may also be independent of both data transmitting and receiving nodes and network nodes, as long as the functions that each module described in the above embodiments should have can be realized.

图3展示了平行链Y的订单表。图3的每一行代表一个订单。其中,第二行的订单301由Carol提交。Figure 3 shows the order table of parachain Y. Each row in Figure 3 represents an order. Among them, the order 301 in the second line is submitted by Carol.

下面结合一个实例,介绍使用互联链架构进行转账的过程。The following is an example to introduce the process of transferring funds using the interconnected chain architecture.

假设Alice在平行链X上持有账户Xa,Bob在平行链Y上持有账户Yb。Alice希望向Bob转移价值10XCoin的资产。平行链X是源平行链,平行链Y是目的平行链。由于Yb只能接受以YCoin为形式的资产,所以,来自Alice的10XCoin必须转换为一定量的YCoin,才能够被Yb接收。在本实施例中,接收方收到的资产金额由发送方指定。假设Alice希望Bob接收到5YCoin。这里,设平行链X上发送模块的账户是Xsc,验证模块的账户是XVA;平行链Y上兑换模块的账户是YEX,验证模块的账户YVASuppose Alice holds account X a on parachain X, and Bob holds account Y b on parachain Y. Alice wishes to transfer assets worth 10XCoin to Bob. Parachain X is the source parachain, and parachain Y is the destination parachain. Since Y b can only accept assets in the form of YCoin, the 10XCoin from Alice must be converted into a certain amount of YCoin before it can be accepted by Y b . In this embodiment, the amount of assets received by the recipient is specified by the sender. Suppose Alice wants Bob to receive 5YCoin. Here, it is assumed that the account of the sending module on parachain X is X sc , the account of the verification module is X VA ; the account of the exchange module on parachain Y is Y EX , and the account of the verification module is Y VA .

在接下来的叙述中,一笔交易请求用t(源账户,目的交易方)来描述。本领域的技术人员应当明白,采用这种形式仅仅是为了叙述上的方便,而不是作为交易格式的限制。In the following description, a transaction request is described by t (source account, destination transaction party). It should be understood by those skilled in the art that this format is only used for convenience of description, rather than as a limitation of the transaction format.

图4展示了本实例的转账流程。Figure 4 shows the transfer process of this example.

在步骤S401中,Alice通过自身的账户Xa401,发起一笔交易请求t(Xa,Xsc),借此向平行链X的发送模块402转移10XCoin。通过这种方式,来自Alice的10XCoin将被寄存在发送模块402中。在预设的定时器超时之前,Alice将无法撤回寄存的10XCoin。In step S401, Alice initiates a transaction request t(X a , X sc ) through her own account X a 401 to transfer 10XCoin to the sending module 402 of the parachain X. In this way, 10XCoin from Alice will be registered in the sending module 402. Alice will not be able to withdraw the deposited 10XCoin before the preset timer expires.

在步骤S402中,平行链X上的各数据收发节点403a至403c监听发送模块402。在监听到交易请求t(Xa,Xsc)之后,403a至403c各自向互联链广播交易请求t(Xgi,Yg)。交易请求t(Xgi,Yg)表示本交易请求由平行链X中任意的数据收发节点Xgi发出,且目的平行链Y中的任意数据收发节点Yg均能够获悉这笔交易请求。In step S402 , each data transceiving node 403 a to 403 c on the parachain X listens to the sending module 402 . After listening to the transaction request t(X a , X sc ), 403a to 403c each broadcast the transaction request t(X gi , Y g ) to the interconnected chain. The transaction request t(X gi , Y g ) means that the transaction request is sent by any data sending and receiving node X gi in the parachain X, and any data sending and receiving node Y g in the destination parachain Y can know the transaction request.

原有的交易请求t(Xa,Xsc),以及t(Xa,Xsc)的SPV验证信息,均被附加在t(Xgi,Yg)之后。这里,t(Xa,Xsc)的SPV验证信息为本交易请求在Merkle树上的验证分支。本领域的技术人员应当明白,在给定区块头和Merkle树上的验证分支后,互联链中的验证节点404a至404d就能够采用SPV验证方式,验证t(Xa,Xsc)的有效性。由于t(Xgi,Yg)是依据t(Xa,Xsc)创建的,t(Xgi,Yg)的有效性能够被间接地验证。The original transaction request t(X a , X sc ) and the SPV verification information of t(X a , X sc ) are appended after t(X gi , Y g ). Here, the SPV verification information of t(X a , X sc ) is the verification branch of this transaction request on the Merkle tree. Those skilled in the art should understand that, given the block header and the verification branch on the Merkle tree, the verification nodes 404a to 404d in the interconnected chain can use the SPV verification method to verify the validity of t(X a , X sc ) . Since t(X gi , Y g ) is created from t(X a , X sc ), the validity of t(X gi , Y g ) can be verified indirectly.

虽然互联链网络中会出现分别由403a至403c签名的多个版本的t(Xgi,Yg),但是,所述验证节点能够识别出其代表同一笔跨链交易请求,这是因为t(Xgi,Yg)携带了相同的t(Xa,Xsc)。经过互联链内部的共识机制,只有一个版本的t(Xgi,Yg)被写入互联链的区块链。Although there will be multiple versions of t(X gi , Y g ) signed by 403a to 403c in the interchain network, the verification node can recognize that they represent the same cross-chain transaction request, because t( X gi , Y g ) carry the same t(X a , X sc ). Through the internal consensus mechanism of the interconnected chain, only one version of t(X gi , Y g ) is written into the blockchain of the interconnected chain.

在步骤S403中,平行链Y上的数据收发节点405a至405b获悉交易请求t(Xgi,Yg)已被写入互联链的区块链之后,各自在平行链Y中广播一笔交易请求t(Ygj,YEX)。所述交易请求的目的交易方是平行链Y上的兑换模块YEX 406。与此同时,已经被写入互联链的t(Xgi,Yg),以及t(Xgi,Yg)的SPV验证信息,也将被附加至t(Ygj,YEX),从而和t(Ygj,YEX)一起广播。In step S403, after the data sending and receiving nodes 405a to 405b on the parachain Y learn that the transaction request t(X gi , Y g ) has been written into the blockchain of the interconnected chain, they each broadcast a transaction request in the parachain Y t(Y gj ,Y EX ). The destination transaction party of the transaction request is the exchange module Y EX 406 on the parachain Y. At the same time, the t(X gi ,Y g ) that has been written into the interconnection chain, and the SPV verification information of t(X gi ,Y g ), will also be attached to t(Y gj ,Y EX ), thus being compatible with t(Y gj , Y EX ) broadcast together.

在步骤S404中,兑换模块406调用平行链Y上的验证模块407,从而判定t(Ygj,YEX)的有效性。虽然平行链Y中存在由不同数据收发节点签发的多笔t(Ygj,YEX),但是,因为其均代表相同的转账操作,所以,验证模块将只处理其中一笔t(Ygj,YEX)。In step S404, the exchange module 406 invokes the verification module 407 on the parachain Y to determine the validity of t(Y gj , Y EX ). Although there are multiple t(Y gj ,Y EX ) issued by different data sending and receiving nodes in the parallel chain Y, since they all represent the same transfer operation, the verification module will only process one of the t(Y gj , Y EX ).

由于验证模块407能够实时同步互联链的区块头,所以,验证模块407能够利用SPV验证方式,验证t(Ygj,YEX)中携带的t(Xgi,Yg)的有效性。因为t(Xgi,YEX)是根据t(Xgi,Yg)创建的,所以,验证模块407能够间接验证t(Ygj,YEX)的有效性。如果t(Ygj,YEX)有效,验证模块407将返回真,否则,返回假。Since the verification module 407 can synchronize the block headers of the interconnected chain in real time, the verification module 407 can use the SPV verification method to verify the validity of t(X gi , Y g ) carried in t(Y gj , Y EX ). Since t(X gi , Y EX ) is created according to t(X gi , Y g ), the verification module 407 can indirectly verify the validity of t(Y gj , Y EX ). The verification module 407 will return true if t(Y gj , Y EX ) is valid, otherwise, return false.

在验证模块407返回真之后,在步骤S405中,兑换模块406依据Alice寄存的XCoin的数量(10XCoin),和Alice希望Bob收到的YCoin的数量(5YCoin),利用匹配算法,从自身保存的订单列表中找到与交易请求t(Ygj,YEX)相匹配的订单组合。本发明对兑换模块406采用的匹配算法不作要求。After the verification module 407 returns true, in step S405, the redemption module 406 uses the matching algorithm based on the amount of XCoin deposited by Alice (10XCoin) and the amount of YCoin (5YCoin) that Alice expects Bob to receive, from the order saved by itself Find the order combination matching the transaction request t(Y gj , Y EX ) in the list. The present invention does not require the matching algorithm adopted by the exchange module 406 .

假设兑换模块406采用图3中的订单表,并且选择了第二条订单order2,即Carol提交的订单,作为和交易请求t(Ygj,YEX)相匹配的订单。本领域的技术人员应当明白,本实施例中与t(Ygj,YEX)相匹配的订单组合只包含一条订单,但是,在实际应用中,所述订单组合可以包含多条订单。Assume that the exchange module 406 uses the order table in FIG. 3 and selects the second order order2, which is the order submitted by Carol, as the order matching the transaction request t(Y gj , Y EX ). Those skilled in the art should understand that the order combination matching t(Y gj , Y EX ) in this embodiment only includes one order, but in practical applications, the order combination may include multiple orders.

一旦order2被选中,这笔订单将会被冻结。也就是说,order2将暂时不能被撤回,也不会被其他跨链转账操作选中。Once order2 is selected, the order will be frozen. In other words, order2 will not be able to be withdrawn temporarily, nor will it be selected by other cross-chain transfer operations.

随后,在步骤S406中,平行链Y上的数据收发节点405a至405b各自向互联链网络广播一笔交易请求t(Ygj,Xg)。平行链Y的交易请求t(Ygj,YEX),t(Ygj,YEX)的相关验证信息,以及订单order2中保存的信息,均被附加在t(Ygj,Xg)之后。Subsequently, in step S406, the data sending and receiving nodes 405a to 405b on the parachain Y each broadcast a transaction request t(Y gj , X g ) to the interchain network. The transaction request t(Y gj , Y EX ) of parachain Y, the relevant verification information of t(Y gj , Y EX ), and the information stored in order2 are all appended after t(Y gj , X g ).

由于平行链Y上存在多个数据收发节点,由不同数据收发节点签名的多个t(Ygj,Xg)将被发布至互联链中。但是,由于其携带了相同的t(Ygj,YEX)以及订单信息,经过互联链的共识过程,只有一个版本的t(Ygj,Xg)被写入互联链的区块链中。Since there are multiple data sending and receiving nodes on the parallel chain Y, multiple t(Y gj , X g ) signed by different data sending and receiving nodes will be released to the interconnection chain. However, because it carries the same t(Y gj , Y EX ) and order information, only one version of t(Y gj , X g ) is written into the blockchain of the interconnected chain through the consensus process of the interconnected chain.

当交易请求被写入互联链的区块链之后,在步骤S407中,平行链X上的数据收发节点403a至403c都能够获悉t(Ygj,Xg)的内容。随后,数据收发节点403a至403c在平行链X中广播交易请求t(Xgi,XSC)。交易请求t(Xgi,XSC)的目的交易方是发送模块402。同时,互联链中的交易请求t(Ygj,Xg),t(Ygj,Xg)的SPV验证信息,以及订单order2中保存的信息,均被附加在交易请求t(Xgi,XSC)之后。After the transaction request is written into the blockchain of the interconnected chain, in step S407, the data sending and receiving nodes 403a to 403c on the parachain X can all learn the content of t(Y gj , X g ). Subsequently, the data transceiving nodes 403a to 403c broadcast the transaction request t(X gi , X SC ) in the parachain X. The destination transaction party of the transaction request t(X gi , X SC ) is the sending module 402 . At the same time, the transaction request t(Y gj ,X g ) in the Internet chain, the SPV verification information of t(Y gj ,X g ), and the information saved in order2 are all attached to the transaction request t(X gi ,X SC ).

在步骤S408中,发送模块402调用平行链X上的验证模块XVA408,以便验证交易请求t(Xgi,XSC)的有效性。由于验证模块408实时同步互联链的区块头,所以能够利用SPV验证方式,验证附带的交易请求t(Ygj,Xg)的有效性。由于t(Xgi,XSC)是依据t(Ygj,Xg)创建的,所以,如果t(Ygj,Xg)有效,则可以认为携带它的t(Xgi,XSC)有效。In step S408, the sending module 402 calls the verification module X VA 408 on the parachain X to verify the validity of the transaction request t(X gi , X SC ). Since the verification module 408 synchronizes the block header of the interconnected chain in real time, it can use the SPV verification method to verify the validity of the attached transaction request t(Y gj , X g ). Since t(X gi ,X SC ) is created according to t(Y gj ,X g ), if t(Y gj ,X g ) is valid, then t(X gi ,X SC ) carrying it can be considered valid .

如果t(Xgi,XSC)有效,验证模块408返回真,进入步骤S409。此时,发送模块402通过order2中保存的信息,获悉Carol提交的订单能够满足Alice的转账需求,于是,发送模块将Alice寄存的10XCoin发往Carol在平行链X上的账户XC。通过这种方式,Carol获得了自身希望兑换的10XCoin。If t(X gi , X SC ) is valid, the verification module 408 returns true and enters step S409. At this time, the sending module 402 learns that the order submitted by Carol can meet Alice's transfer demand through the information saved in order2, so the sending module sends the 10XCoin deposited by Alice to Carol's account X C on the parachain X. In this way, Carol obtained the 10XCoin that she wished to exchange.

本领域的技术人员应该知道,如果订单组合中包含多条订单,发送模块会把Alice寄存的10XCoin分割为多份,按照每个订单提交方预期兑换到的金额,分别发送到各订单提交方在平行链X上的账户。Those skilled in the art should know that if the order combination contains multiple orders, the sending module will divide the 10XCoin deposited by Alice into multiple copies, and send them to each order submitter according to the amount expected to be exchanged by each order submitter. Account on parachain X.

在步骤S410中,平行链X中的各数据收发节点403a至403c各自向互联链网络发送一条经过签名的交易请求t`(Xgi,Yg),作为Carol已经完成货币兑换的证明。与步骤S402类似,最终,只有一个版本的t`(Xgi,Yg)被写入互联链的区块链中。In step S410, each data sending and receiving node 403a to 403c in the parachain X sends a signed transaction request t`(X gi , Y g ) to the interchain network as a proof that Carol has completed the currency exchange. Similar to step S402, in the end, only one version of t`(X gi , Y g ) is written into the blockchain of the interconnected chain.

在步骤S411中,平行链Y上的各数据收发节点405a和405b均能够获悉写入互联链的交易请求t`(Xgi,Yg)。随后,405a至405b分别在平行链Y的网络中广播一笔交易请求t`(Ygj,YEX)。其中,t`(Xgi,Yg)及其SPV验证信息会被附在t`(Ygj,YEX)之后。In step S411, each data transceiving node 405a and 405b on the parachain Y can learn the transaction request t`(X gi , Y g ) written into the interconnected chain. Subsequently, 405a to 405b respectively broadcast a transaction request t`(Y gj , Y EX ) in the network of the parachain Y. Among them, t`(X gi ,Y g ) and its SPV verification information will be appended to t`(Y gj ,Y EX ).

在平行链Y的各网络节点接收到交易请求t`(Ygj,YEX)之后,进入步骤S412。After each network node of the parachain Y receives the transaction request t`(Y gj , Y EX ), enter step S412.

兑换模块406先调用平行链Y上的验证模块407,验证交易请求t`(Ygj,YEX)的有效性。验证模块407利用和步骤S404中相同的方式,间接地验证交易请求t`(Ygj,YEX)的有效性。The exchange module 406 first calls the verification module 407 on the parachain Y to verify the validity of the transaction request t`(Y gj , Y EX ). The verification module 407 indirectly verifies the validity of the transaction request t`(Y gj , Y EX ) in the same manner as in step S404.

如果交易请求t`(Ygj,YEX)有效,那么所述兑换模块406可以确信Carol已经在平行链X上收到了10XCoin,此时,兑换模块406将Carol寄存的5YCoin转至Bob在平行链Y上的账户Yb 409。通过这种方式,Bob接收到了Alice希望转给他的5YCoin。转账过程结束。If the transaction request t`(Y gj , Y EX ) is valid, then the exchange module 406 can be sure that Carol has received 10XCoin on the parachain X. At this time, the exchange module 406 transfers the 5YCoin deposited by Carol to Bob on the parachain Account Y b 409 on Y. In this way, Bob received the 5YCoin that Alice wanted to transfer to him. The transfer process is over.

从微观上看,Alice通过账户Xa,将10XCoin寄存到了平行链X上的发送模块402中,然后再将其转移至Carol在平行链X上的账户XC上。与此同时,Carol通过账户Yc,将5YCoin转移到了平行链Y上的兑换模块406中,然后再将其转移到了Bob在平行链Y的账户Yb上。但是,从宏观上看,来自账户Xa上的10XCoin,被转化为了5YCoin,然后转移到了账户Yb上。因而,本发明实现了跨链转账。From a microscopic point of view, Alice deposits 10XCoin in the sending module 402 on the parachain X through the account X a , and then transfers it to Carol’s account X C on the parachain X. At the same time, Carol transferred 5YCoin to the exchange module 406 on the parachain Y through the account Y c , and then transferred it to Bob's account Y b on the parachain Y. However, from a macro point of view, 10XCoin from account X a was converted into 5YCoin and then transferred to account Y b . Therefore, the present invention realizes cross-chain transfer.

下面介绍本发明的另一种情形。平行链X上的数据收发节点403a至403c在步骤S407中,没有获悉有效的交易请求t(Ygj,Xg)。因而,也无法据此构造出有效的t(Xgi,XSC)。Another situation of the present invention is described below. The data sending and receiving nodes 403a to 403c on the parachain X do not know the valid transaction request t(Y gj , X g ) in step S407. Therefore, an effective t(X gi , X SC ) cannot be constructed accordingly.

在这种情况下,平行链X上发送模块402的定时器会超时。随后,执行图5所示的步骤。In this case, the timer of the sending module 402 on the parachain X will time out. Subsequently, the steps shown in FIG. 5 are executed.

在步骤S501中,平行链X上的发送模块将Alice寄存的10XCoin退回到账户XaIn step S501, the sending module on the parachain X returns the 10XCoin deposited by Alice to the account X a .

在步骤S502中,平行链X上的各数据收发节点在监测到发送模块的退款行为后,各自构造一笔交易请求t``(Xgi,Yg),其中包含发送模块的退款信息。然后,将t``(Xgi,Yg)发送至互联链网络。经过互联链的共识过程,只有来自一个数据收发节点的t``(Xgi,Yg)被写入互联链的区块链中。In step S502, after monitoring the refund behavior of the sending module, each data sending and receiving node on the parachain X constructs a transaction request t``(X gi , Y g ), which contains the refund information of the sending module . Then, send t``(X gi , Y g ) to the interchain network. After the consensus process of the interconnected chain, only t``(X gi , Y g ) from a data sending and receiving node is written into the blockchain of the interconnected chain.

在t``(Xgi,Yg)被写入互联链后,在步骤S503中,平行链Y上的各数据收发节点各自构造一笔交易请求t``(Ygj,YEX)。交易请求的目的交易方是平行链Y上的兑换模块。同时,交易请求t``(Xgi,Yg)及其验证信息也被附加在t``(Ygj,YEX)之后。接着,各数据收发节点将自己构造的交易请求t``(Ygj,YEX)广播至平行链Y的网络中。After t``(X gi , Y g ) is written into the interconnected chain, in step S503, each data sending and receiving node on the parachain Y constructs a transaction request t``(Y gj , Y EX ). The destination transaction party of the transaction request is the exchange module on the parachain Y. At the same time, the transaction request t``(X gi ,Y g ) and its verification information are also appended to t``(Y gj ,Y EX ). Next, each data sending and receiving node broadcasts the transaction request t``(Y gj , Y EX ) constructed by itself to the network of the parachain Y.

在步骤504中,平行链Y上的兑换模块调用验证模块,检测t``(Ygj,YEX)的有效性。如果t``(Ygj,YEX)有效,兑换模块能够从t``(Ygj,YEX)中获悉退款信息,于是,将自身Carol提交的订单order2解冻。之后,order2又能够重新被其他跨链交易选中,Carol也能够撤回这笔订单。流程结束。In step 504, the exchange module on the parachain Y invokes the verification module to check the validity of t``(Y gj , Y EX ). If t``(Y gj , Y EX ) is valid, the redemption module can learn the refund information from t``(Y gj , Y EX ), so it unfreezes the order2 submitted by Carol. After that, order2 can be re-selected by other cross-chain transactions, and Carol can also withdraw this order. The process ends.

通过这种方式,本发明能够保证跨链交易的原子性。即使交易被中断,交易的参与方也不会有经济损失。In this way, the present invention can guarantee the atomicity of cross-chain transactions. Even if the transaction is interrupted, the participants in the transaction will have no economic loss.

第二实施例second embodiment

本实施例的发明思想和主要实施步骤与第一实施例类似,相同之处不再赘述。与实施例一不同之处在于,本实施例中使用了处理器、存储器,具体的方法步骤由分布在上述处理器和/或存储器上的平行链和/或互联链实现。The inventive idea and main implementation steps of this embodiment are similar to those of the first embodiment, and the similarities will not be repeated here. The difference from Embodiment 1 is that processors and memories are used in this embodiment, and the specific method steps are implemented by parallel chains and/or interconnection chains distributed on the above-mentioned processors and/or memories.

值得阐明的是,本发明实施例中所述的平行链中的发送模块、验证模块、兑换模块既可以由计算机、路由、网关等硬件来实现,又可以由纯软件来实现,也可以是软硬结合的方式实现,只要能够实现下述实施例中阐述的各个节点应该具有的功能即可。It is worth clarifying that the sending module, verification module, and redemption module in the parachain described in the embodiment of the present invention can be implemented by hardware such as computers, routers, and gateways, or by pure software, or by software It can be implemented in a hard-bonded manner, as long as the functions that each node should have in the following embodiments can be realized.

值得阐明的是,本发明实施例中所述的平行链中的发送模块、验证模块、兑换模块既可以均位于数据收发节点中,也可以均位于网络节点中,也可以分散的分布于数据收发节点或者网络节点之中,还可以既独立于数据收发节点也独立于网络节点,由单独的硬件或者软件来实现,只要能够实现上述实施例中阐述的各个模块应该具有的功能即可。It is worth clarifying that the sending module, verification module, and redemption module in the parachain described in the embodiment of the present invention can be located in the data sending and receiving nodes, or in the network nodes, or distributed in data sending and receiving nodes. Among the nodes or network nodes, independent hardware or software may also be independent of both data transmitting and receiving nodes and network nodes, as long as the functions that each module described in the above embodiments should have can be realized.

值得阐明的是,本发明实施例中所述的平行链中的发送模块、验证模块、兑换模块既可以均位于处理器中,也可以均位于存储器中,也可以分散的分布于处理器或者存储器之中,还可以既独立于处理器也独立于存储器,由单独的硬件或者软件来实现,只要能够实现上述实施例中阐述的各个模块应该具有的功能即可。It is worth clarifying that the sending module, verification module, and redemption module in the parachain described in the embodiment of the present invention can all be located in the processor, or they can all be located in the memory, or they can be dispersedly distributed in the processor or memory Among them, it can also be independent of both the processor and the memory, and be implemented by independent hardware or software, as long as the functions that each module described in the above-mentioned embodiments should have can be realized.

第三实施例third embodiment

本实施例的发明思想和主要实施步骤与第一实施例类似,相同之处不再赘述。与实施例一不同之处在于,本实施例中使用了存储介质,具体的方法步骤由分布在上述存储介质上的计算机程序实现。The inventive idea and main implementation steps of this embodiment are similar to those of the first embodiment, and the similarities will not be repeated here. The difference from Embodiment 1 is that a storage medium is used in this embodiment, and specific method steps are implemented by computer programs distributed on the storage medium.

值得阐明的是,本发明实施例中所述的平行链中的发送模块、验证模块、兑换模块既可以均位于数据收发节点中,也可以均位于网络节点中,也可以分散的分布于数据收发节点或者网络节点之中,还可以既独立于数据收发节点也独立于网络节点,由单独的程序来实现,只要能够实现上述实施例中阐述的各个模块应该具有的功能即可。It is worth clarifying that the sending module, verification module, and redemption module in the parachain described in the embodiment of the present invention can be located in the data sending and receiving nodes, or in the network nodes, or distributed in data sending and receiving nodes. Among the nodes or network nodes, it can also be independent of both the data transmitting and receiving nodes and the network nodes, and be implemented by a separate program, as long as the functions that each module described in the above embodiments should have can be realized.

本领域的技术人员应当明白,上述实施例仅仅是示意性的。例如,上述平行链、账户、交易的变量名仅仅是为了叙述方便,而不是对保护范围的限制。Those skilled in the art should understand that the above-mentioned embodiments are only illustrative. For example, the variable names of the above-mentioned parachains, accounts, and transactions are only for the convenience of description, rather than limiting the scope of protection.

以上所述,仅为本发明较佳的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到的变化或替换,都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应以所述权利要求的保护范围为准。The above is only a preferred embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Any person skilled in the art can easily conceive of changes or modifications within the technical scope disclosed in the present invention. Replacement should be covered within the protection scope of the present invention. Therefore, the protection scope of the present invention should be determined by the protection scope of the claims.

Claims (20)

1.一种不同区块链间的跨链转账系统,所述系统包括至少一个互联链和多个平行链,每个所述平行链均接入互联链;其特征在于:1. A cross-chain transfer system between different blockchains, the system includes at least one interconnected chain and a plurality of parallel chains, each of which is connected to the interconnected chain; it is characterized in that: 每个所述平行链中各包含一个或多个数据收发节点和至少一个其它网络节点,所述数据收发节点与所述网络节点中的一个或多个连接;所述互联链中包含多个验证节点,所述验证节点分别与所述数据收发节点中的一个或多个连接;Each of the parallel chains includes one or more data sending and receiving nodes and at least one other network node, and the data sending and receiving nodes are connected to one or more of the network nodes; the interconnection chain includes multiple verification nodes, the verification nodes are respectively connected to one or more of the data sending and receiving nodes; 其中,所述平行链还包含一兑换模块,所述兑换模块至少根据源平行链与目的平行链之间双向的币种转换数量确定是否满足转账条件。Wherein, the parachain further includes an exchange module, and the exchange module at least determines whether the transfer condition is met according to the two-way currency conversion quantity between the source parachain and the destination parachain. 2.如权利要求1所述的一种不同区块链间的跨链转账系统,其特征在于:2. A cross-chain transfer system between different blockchains as claimed in claim 1, characterized in that: 所述转账条件包括转账数量和/或转账时间。The transfer conditions include transfer quantity and/or transfer time. 3.如权利要求1所述的一种不同区块链间的跨链转账系统,其特征在于:3. A cross-chain transfer system between different blockchains as claimed in claim 1, characterized in that: 每个所述数据收发节点均保存了自身所在平行链的完整交易副本并具有所在平行链中的账户,能够接收所在平行链中的交易信息;每个所述数据收发节点也保存有互联链上具有的账户,能够接收和签发互联链上的交易信息并获取互联链的实时状态;Each of the data sending and receiving nodes has kept a complete transaction copy of its own parachain and has an account in the parallel chain, and can receive transaction information in the parallel chain; each of the data sending and receiving nodes also keeps a Have an account, be able to receive and issue transaction information on the interconnection chain and obtain the real-time status of the interconnection chain; 所述验证节点同步各条平行链的区块头以验证来自各条平行链的交易请求,并且维护互联链的完整副本和参与互联链的共识过程。The verification node synchronizes the block headers of each parallel chain to verify the transaction request from each parallel chain, maintains a complete copy of the interconnected chain and participates in the consensus process of the interconnected chain. 4.如权利要求3所述的一种不同区块链间的跨链转账系统,其特征在于:4. A cross-chain transfer system between different blockchains as claimed in claim 3, characterized in that: 所述实时状态包括被写入互联链的交易信息。The real-time status includes transaction information written into the interconnected chain. 5.如权利要求1或2所述的一种不同区块链间的跨链转账系统,其特征在于:5. A cross-chain transfer system between different blockchains as claimed in claim 1 or 2, characterized in that: 所述兑换模块进一步用于把自身所在平行链发行的代币兑换为另一条平行链发行的代币,在一定时间内,如果两个平行链互相间币种数量兑换平衡则转账成功。The exchange module is further used to exchange the token issued by its own parachain for the token issued by another parachain. Within a certain period of time, if the amount of currency exchange between the two parachains is balanced, the transfer is successful. 6.如权利要求1或2所述的一种不同区块链间的跨链转账系统,其特征在于:其中,每条所述平行链还包含如下模块:6. A cross-chain transfer system between different blockchains according to claim 1 or 2, wherein, each of the parallel chains also includes the following modules: 发送模块,用于暂存跨链交易中要转移的资金;The sending module is used to temporarily store funds to be transferred in cross-chain transactions; 验证模块,用于实时同步所述互联链的区块头,验证互联链中交易的有效性;所述发送模块和兑换模块均能调用验证模块。The verification module is used to synchronize the block header of the interconnected chain in real time, and verify the validity of transactions in the interconnected chain; both the sending module and the exchange module can call the verification module. 7.如权利要求6所述的一种不同区块链间的跨链转账系统,其特征在于:7. A cross-chain transfer system between different blockchains as claimed in claim 6, characterized in that: 所述发送模块为每笔暂存的资金的设置一个定时器,在定时器超时之前,冻结暂存的资金。The sending module sets a timer for each temporarily stored fund, and freezes the temporarily stored funds before the timer expires. 8.如权利要求6所述的一种不同区块链间的跨链转账系统,其特征在于:8. A cross-chain transfer system between different blockchains as claimed in claim 6, characterized in that: 所述兑换模块维护一张订单表,其中包含各个用户提交的订单,所述订单至少包括以下信息中的一种:用户在兑换模块所属平行链上的账户,用户在第二平行链上的账户,用户寄存至兑换模块的代币金额,以及用户预期兑换到的代币金额。The exchange module maintains an order table, which contains the orders submitted by each user, and the order includes at least one of the following information: the user's account on the parachain to which the exchange module belongs, the user's account on the second parachain , the amount of tokens deposited by the user to the exchange module, and the amount of tokens that the user expects to exchange. 9.一种不同区块链间的跨链转账方法,其特征在于:9. A cross-chain transfer method between different blockchains, characterized in that: 第一平行链通过一个互联链进行跨链转账到第二平行链;The first parallel chain transfers money across chains to the second parallel chain through an interconnected chain; 其中,第一平行链根据自身与第二平行链之间双向的币种转换数量确定转账是否成功,在一定时间内,当两个所述平行链互相间币种兑换平衡时,转账可以成功,否则转账失败。Among them, the first parachain determines whether the transfer is successful according to the amount of two-way currency conversion between itself and the second parachain. Within a certain period of time, when the currency conversion between the two parachains is balanced, the transfer can be successful. Otherwise the transfer fails. 10.一种不同区块链间的跨链转账方法,其特征在于所述方法具体包括如下步骤:10. A cross-chain transfer method between different blockchains, characterized in that the method specifically includes the following steps: (1)第一平行链向互联链网络中广播一笔第一交易请求;(1) The first parachain broadcasts a first transaction request to the Internet chain network; (2)所述第一交易请求被写入互联链的区块链,然后第二平行链中广播一笔第二交易请求,该第二交易请求的目的交易方是第二平行链的兑换模块;(2) The first transaction request is written into the blockchain of the interconnected chain, and then a second transaction request is broadcast in the second parachain, and the target transaction party of the second transaction request is the exchange module of the second parachain ; (3)第二平行链验证第二交易请求的有效性,找到和转账过程相符合的订单组合,并冻结所述订单组合中的若干订单;(3) The second parachain verifies the validity of the second transaction request, finds an order combination that matches the transfer process, and freezes several orders in the order combination; (4)第二平行链向互联链网络广播一笔第三交易请求,该第三交易请求中包含订单组合信息;(4) The second parachain broadcasts a third transaction request to the Internet chain network, and the third transaction request contains order combination information; (5)所述第三交易请求被写入互联链的区块链,然后第一平行链中发布一笔第四交易请求,该第四交易请求的目的交易方是第一平行链的发送模块;(5) The third transaction request is written into the blockchain of the interconnected chain, and then a fourth transaction request is issued in the first parachain, and the destination transaction party of the fourth transaction request is the sending module of the first parachain ; (6)第一平行链验证第四交易请求的有效性,将交易发送方寄存的代币,按照每个订单提交方预期获取的代币金额,转移至各个提交方在第一平行链上的账户;(6) The first parachain verifies the validity of the fourth transaction request, and transfers the token deposited by the transaction sender to the token amount expected to be obtained by each order submitter to each submitter on the first parachain. account; (7)第一平行链向互联链网络广播一笔第五交易请求,其中包含订单组合信息;(7) The first parachain broadcasts a fifth transaction request to the Internet chain network, which contains order combination information; (8)所述第五交易请求被写入互联链的区块链,然后第二平行链中广播一笔第六交易请求,该第六交易请求的目的交易方是第二平行链的兑换模块;(8) The fifth transaction request is written into the blockchain of the interconnected chain, and then a sixth transaction request is broadcast in the second parachain, and the destination transaction party of the sixth transaction request is the exchange module of the second parachain ; (9)第二平行链验证第六交易请求的有效性,将发送方寄存的代币转移至接收方在第二平行链上的账户。(9) The second parachain verifies the validity of the sixth transaction request, and transfers the token deposited by the sender to the receiver's account on the second parachain. 11.如权利要求10所述的一种不同区块链间的跨链转账方法,其特征在于:11. A cross-chain transfer method between different blockchains as claimed in claim 10, characterized in that: 所述步骤(3)中的验证过程包括:验证模块通过SPV验证方式,验证该第二交易请求中携带的第一交易请求的有效性,如果第一交易请求有效,则第二交易请求是有效的。The verification process in the step (3) includes: the verification module verifies the validity of the first transaction request carried in the second transaction request through the SPV verification method, if the first transaction request is valid, then the second transaction request is valid of. 12.如权利要求10所述的一种不同区块链间的跨链转账方法,其特征在于:12. A cross-chain transfer method between different blockchains as claimed in claim 10, characterized in that: 所述步骤(6)中的验证过程包括:验证模块通过SPV验证方式,验证该第四交易请求中携带的第三交易请求的有效性,如果第三交易请求有效,则可以认为第四交易请求是有效的。The verification process in the step (6) includes: the verification module verifies the validity of the third transaction request carried in the fourth transaction request through the SPV verification method, if the third transaction request is valid, then the fourth transaction request can be considered It is vaild. 13.如权利要求10所述的一种不同区块链间的跨链转账方法,其特征在于:13. A cross-chain transfer method between different blockchains as claimed in claim 10, characterized in that: 在上述步骤(5)中,如果第一平行链的数据收发节点未能获悉第二平行链数据收发节点发布的互联链交易请求,则第一平行链发送模块的定时器将会超时,交易失败。In the above step (5), if the data transceiver node of the first parachain fails to learn the interchain transaction request issued by the data transceiver node of the second parachain, the timer of the first parachain sending module will time out and the transaction will fail . 14.如权利要求10所述的一种不同区块链间的跨链转账方法,其特征在于:14. A cross-chain transfer method between different blockchains as claimed in claim 10, characterized in that: 所述交易失败后不再执行步骤(6)到步骤(9),而是直接执行以下步骤:After the transaction fails, steps (6) to (9) are no longer performed, but the following steps are directly performed: (a)第一平行链的发送模块把发送方寄存的代币退回到发送方的账户;(a) The sending module of the first parachain returns the token deposited by the sender to the sender's account; (b)第一平行链的数据收发节点在检测到发送模块的退款行为后,各自向互联链网络广播一笔交易请求,其中包含发送模块的退款信息;(b) After detecting the refund behavior of the sending module, the data sending and receiving nodes of the first parachain broadcast a transaction request to the Internet chain network, which includes the refund information of the sending module; (c)经过互联链的共识过程,仅有来自其中一个第一平行链数据收发节点的交易请求被写入互联链的区块链,然后第二平行链的数据收发节点据此构造一笔交易请求,该交易请求的目的交易方是第二平行链的兑换模块,并且该交易请求携带有第一平行链数据收发节点发布的互联链交易请求以及互联链交易请求的SPV验证信息,再将这笔交易请求发布至第二平行链网络;(c) After the consensus process of the interconnection chain, only the transaction request from one of the first parachain data sending and receiving nodes is written into the blockchain of the interconnecting chain, and then the data sending and receiving nodes of the second parachain construct a transaction accordingly request, the target transaction party of the transaction request is the exchange module of the second parachain, and the transaction request carries the interchain transaction request issued by the first parachain data sending and receiving node and the SPV verification information of the interchain transaction request, and then the A transaction request is issued to the second parachain network; (d)第二平行链上的兑换模块调用验证模块,验证来自第二平行链数据收发节点的交易请求的有效性,如果此交易请求有效,则依据退款信息,把订单组合中的各条订单解冻。(d) The exchange module on the second parachain invokes the verification module to verify the validity of the transaction request from the data sending and receiving node of the second parachain. If the transaction request is valid, each item in the order combination will be The order is unfrozen. 15.一种跨区块链转账方法,其特征在于,所述方法包括:15. A cross-blockchain transfer method, characterized in that the method comprises: 接收第一交易请求,其中,所述第一交易请求中请求将第一平行链中的第一代币转账到第二平行链;Receive a first transaction request, wherein the first transaction request requests to transfer the first token in the first parachain to the second parachain; 在订单表中查找与所述第一交易请求匹配的至少一个订单,根据所述至少一个订单生成订单组合并冻结所述订单组合中的订单;Find at least one order matching the first transaction request in the order table, generate an order combination according to the at least one order, and freeze the orders in the order combination; 生成包括所述订单组合的第二交易请求,通过互联链向所述第一平行链发布所述第二交易请求;Generate a second transaction request including the order combination, and issue the second transaction request to the first parachain through the interconnection chain; 接收第三交易请求,其中,所述第三交易请求是根据所述第二交易请求在所述第一平行链中的转账结果生成的;receiving a third transaction request, wherein the third transaction request is generated according to the transfer result of the second transaction request in the first parachain; 在所述第三交易请求通过验证时,确认所述第一交易请求和所述订单组合中的订单完成,记录全部交易记录。When the third transaction request is verified, it is confirmed that the first transaction request and the order in the order combination are completed, and all transaction records are recorded. 16.一种跨区块链转账方法,其特征在于,所述方法包括:16. A cross-blockchain transfer method, characterized in that the method comprises: 发送第一交易请求,其中,所述第一交易请求中请求将第一平行链中的第一代币转账到第二平行链;Sending a first transaction request, wherein the first transaction request requests to transfer the first token in the first parachain to the second parachain; 接收互联链向所述第一平行链发布的第二交易请求,所述第二交易请求包括根据所述第一交易请求生成的订单组合;所述订单至少包括以下信息中的一种:用户在兑换模块所属平行链上的账户,用户在第二平行链上的账户,用户寄存至兑换模块的代币金额,以及用户预期兑换到的代币金额;Receive the second transaction request issued by the interconnection chain to the first parachain, the second transaction request includes the order combination generated according to the first transaction request; the order includes at least one of the following information: The account on the parachain to which the exchange module belongs, the user's account on the second parachain, the amount of tokens deposited by the user to the exchange module, and the amount of tokens that the user expects to exchange; 验证所述第二交易请求的有效性,如果无效则终止转账,如有有效则根据上述订单组合完成转账;Verify the validity of the second transaction request, if it is invalid, terminate the transfer, and if it is valid, complete the transfer according to the above order combination; 发送第三交易请求,其中,所述第三交易请求是根据所述第二交易请求在所述第一平行链中的转账结果生成的。Sending a third transaction request, wherein the third transaction request is generated according to the transfer result of the second transaction request in the first parachain. 17.如权利要求16所述的一种不同区块链间的跨链转账方法,其特征在于:17. A cross-chain transfer method between different blockchains as claimed in claim 16, characterized in that: 所述订单组合的生成方法是:第二平行链的兑换模块利用匹配算法,从自身保存的订单列表中找到与所述第一交易请求相匹配的订单组合。The method for generating the order combination is as follows: the exchange module of the second parachain uses a matching algorithm to find the order combination that matches the first transaction request from the order list stored by itself. 18.一种跨区块链转账方法,其特征在于,所述方法包括:18. A cross-blockchain transfer method, characterized in that the method comprises: 接收一个或多个第一交易请求,其中,所述第一交易请求中请求将第一平行链中的第一代币转账到第二平行链;receiving one or more first transaction requests, wherein the first transaction request requests to transfer the first token in the first parachain to the second parachain; 通过共识机制,将所述第一交易请求写入互联链的区块链;Writing the first transaction request into the blockchain of the interconnected chain through a consensus mechanism; 接收一个或多个第二交易请求,所述第二交易请求包括根据所述第一交易请求生成的订单组合;所述订单至少包括以下信息中的一种:用户在兑换模块所属平行链上的账户,用户在第二平行链上的账户,用户寄存至兑换模块的代币金额,以及用户预期兑换到的代币金额;Receive one or more second transaction requests, the second transaction request includes the order combination generated according to the first transaction request; the order includes at least one of the following information: Account, the user's account on the second parachain, the amount of tokens deposited by the user to the exchange module, and the amount of tokens that the user expects to exchange; 通过共识机制,将所述第二交易请求写入互联链的区块链;Writing the second transaction request into the blockchain of the interconnected chain through a consensus mechanism; 接收一个或多个第三交易请求,所述第三交易请求是根据所述第二交易请求在所述第一平行链中的转账结果生成的;Receive one or more third transaction requests, the third transaction requests are generated according to the transfer results of the second transaction requests in the first parachain; 通过共识机制,将所述第三交易请求写入互联链的区块链。Through a consensus mechanism, write the third transaction request into the blockchain of the interconnected chain. 19.如权利要求18所述的一种不同区块链间的跨链转账方法,其特征在于:19. A cross-chain transfer method between different blockchains as claimed in claim 18, characterized in that: 所述订单组合的生成方法是:第二平行链的兑换模块利用匹配算法,从自身保存的订单列表中找到与所述第一交易请求相匹配的订单组合。The method for generating the order combination is as follows: the exchange module of the second parachain uses a matching algorithm to find the order combination that matches the first transaction request from the order list stored by itself. 20.如权利要求18所述的一种不同区块链间的跨链转账方法,其特征在于:20. A cross-chain transfer method between different blockchains as claimed in claim 18, characterized in that: 所述第三交易请求是由第一平行链中的各数据收发节点生成的,作为转账结果的证明。The third transaction request is generated by each data sending and receiving node in the first parachain as proof of the transfer result.
CN201710950842.7A 2017-10-13 2017-10-13 A cross-chain transfer system and method between different blockchains Pending CN107742210A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710950842.7A CN107742210A (en) 2017-10-13 2017-10-13 A cross-chain transfer system and method between different blockchains

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710950842.7A CN107742210A (en) 2017-10-13 2017-10-13 A cross-chain transfer system and method between different blockchains

Publications (1)

Publication Number Publication Date
CN107742210A true CN107742210A (en) 2018-02-27

Family

ID=61237550

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710950842.7A Pending CN107742210A (en) 2017-10-13 2017-10-13 A cross-chain transfer system and method between different blockchains

Country Status (1)

Country Link
CN (1) CN107742210A (en)

Cited By (68)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108288159A (en) * 2018-03-07 2018-07-17 物数(上海)信息科技有限公司 Across chain method of commerce, system, equipment and storage medium based on multi-tiling chain
CN108492108A (en) * 2018-03-29 2018-09-04 深圳前海微众银行股份有限公司 Across the chain communication means of block chain, system and computer readable storage medium
CN108600301A (en) * 2018-03-08 2018-09-28 青岛墨客区块链有限公司 A kind of across chain method between block chain and main block chain
CN108650289A (en) * 2018-03-19 2018-10-12 青岛创金链科技有限公司 A kind of method and apparatus of the management data based on block chain
CN108647965A (en) * 2018-05-07 2018-10-12 北京柏链基石科技有限公司 Across chain method of commerce, device, storage medium and electronic equipment
CN108683630A (en) * 2018-04-03 2018-10-19 阿里巴巴集团控股有限公司 The authentication method and device, electronic equipment of transregional piece of chain
CN108768659A (en) * 2018-05-24 2018-11-06 深圳前海益链网络科技有限公司 Across the chain tra nsfer system of Token assets between a kind of different blocks chain network
CN108765129A (en) * 2018-05-17 2018-11-06 北京众享比特科技有限公司 Traditional bank assets distribution based on block chain and system for settling account and method
CN108805712A (en) * 2018-05-29 2018-11-13 阿里巴巴集团控股有限公司 Backspacing processing method of extensive makeup and device, the electronic equipment of assets transfer
CN108848119A (en) * 2018-04-03 2018-11-20 阿里巴巴集团控股有限公司 The exchange method and device, system, electronic equipment of transregional piece of chain
CN108876607A (en) * 2018-05-29 2018-11-23 阿里巴巴集团控股有限公司 Assets transfer method and device, electronic equipment
CN108876369A (en) * 2018-06-05 2018-11-23 上海和数软件有限公司 Data communications method, device and computer readable storage medium based on block chain
CN108924175A (en) * 2018-05-02 2018-11-30 北京链链信息技术有限公司 A kind of communication means and device of block interchain
CN109035012A (en) * 2018-06-11 2018-12-18 西安纸贵互联网科技有限公司 A kind of across the chain processing method and computer readable storage medium of block catenary system
CN109064167A (en) * 2018-07-27 2018-12-21 烨链(上海)科技有限公司 Data processing method and device based on block chain
CN109146448A (en) * 2018-07-13 2019-01-04 杭州复杂美科技有限公司 Across chain assets transfer method, equipment and storage medium
CN109242456A (en) * 2018-09-04 2019-01-18 湖南宸瀚信息科技有限责任公司 Across the chain method of commerce of block chain, system and storage medium
CN109257342A (en) * 2018-09-04 2019-01-22 阿里巴巴集团控股有限公司 Authentication method, system, server and readable storage medium storing program for executing of the block chain across chain
CN109286685A (en) * 2018-11-21 2019-01-29 北京蓝石环球区块链科技有限公司 The system architecture of the more subchains of main chain adduction row of subchain can be expanded
CN109325762A (en) * 2018-08-30 2019-02-12 杭州复杂美科技有限公司 Across the chain method of commerce of parallel chain, equipment and storage medium
CN109360096A (en) * 2018-09-27 2019-02-19 中国联合网络通信集团有限公司 An accounting method and system for a private chain based on a public chain
CN109377365A (en) * 2018-10-18 2019-02-22 杭州复杂美科技有限公司 A kind of assets transfer method, equipment and storage medium
CN109391619A (en) * 2018-10-22 2019-02-26 昧来网络科技(上海)有限公司 Lead to card exchange method and computer-readable medium across chain based on permission
CN109395392A (en) * 2018-09-29 2019-03-01 杭州复杂美科技有限公司 Predict guessing game dispositions method and method for gaming, equipment and storage medium
CN109410045A (en) * 2018-08-30 2019-03-01 杭州复杂美科技有限公司 A kind of parallel chain common recognition method, equipment and storage medium
CN109447605A (en) * 2018-10-24 2019-03-08 百度在线网络技术(北京)有限公司 A kind of chain currency conversion method, apparatus, equipment and medium based on block chain
CN109472572A (en) * 2018-11-21 2019-03-15 北京蓝石环球区块链科技有限公司 Contract deployment and transaction based on the more subchains of block chain main chain adduction row
CN109508565A (en) * 2018-12-29 2019-03-22 莆田市烛火信息技术有限公司 A kind of account book bookkeeping methods of the shared block chain network for calculating power of multichain
CN109558454A (en) * 2018-11-28 2019-04-02 杭州复杂美科技有限公司 Parallel chain digs mine common recognition method, equipment and storage medium
CN109670802A (en) * 2018-12-21 2019-04-23 百度在线网络技术(北京)有限公司 A kind of chain currency conversion method, apparatus, equipment and medium based on block chain
CN109727040A (en) * 2019-01-28 2019-05-07 杭州复杂美科技有限公司 Data publication method, data calling method, equipment and storage medium
CN109831514A (en) * 2019-03-02 2019-05-31 杭州复杂美科技有限公司 Parallel chain common recognition method, data exception processing method, equipment and storage medium
CN109886661A (en) * 2019-01-16 2019-06-14 深圳壹账通智能科技有限公司 Across chain digital cash exchanging method, device, computer system and storage medium
CN110084601A (en) * 2019-04-30 2019-08-02 杭州复杂美科技有限公司 Parallel chain main chain stateful transaction synchronous method, equipment and storage medium
CN110213266A (en) * 2019-05-31 2019-09-06 联想(北京)有限公司 A kind of information processing method and electronic equipment of the block chain across chain
CN110443708A (en) * 2019-07-29 2019-11-12 杭州复杂美科技有限公司 Parallel chain method of commerce, equipment and storage medium
CN110473093A (en) * 2019-07-29 2019-11-19 杭州复杂美科技有限公司 Parallel chain assets transfer method, equipment and storage medium
CN110555765A (en) * 2018-06-01 2019-12-10 厦门本能管家科技有限公司 Method and system for carrying out asset circulation among various block chains
CN110570576A (en) * 2019-09-06 2019-12-13 杭州复杂美科技有限公司 Lottery system, construction method, operation method, equipment and storage medium thereof
CN110601902A (en) * 2019-09-24 2019-12-20 腾讯科技(深圳)有限公司 Interactive data processing method and device based on block chain network
WO2019242508A1 (en) * 2018-06-20 2019-12-26 深圳市红砖坊技术有限公司 Blockchain system and routing method of routing node applied to blockchain system
CN110740044A (en) * 2019-10-30 2020-01-31 北京海益同展信息科技有限公司 Data processing method, device, system and storage medium
WO2020042931A1 (en) * 2018-08-28 2020-03-05 白杰 Public chain-based transaction method and blockchain system
WO2020042930A1 (en) * 2018-08-28 2020-03-05 白杰 Parallel-chain-based transaction method and blockchain system
WO2020042937A1 (en) * 2018-08-28 2020-03-05 白杰 Maintenance method for blockchain parachain, and blockchain parachain
WO2020042934A1 (en) * 2018-08-28 2020-03-05 白杰 Non-repudiation cross-chain transaction method and blockchain system
CN110866824A (en) * 2018-08-28 2020-03-06 傲为信息技术(江苏)有限公司 A parachain-based cross-chain transaction method, device and blockchain system
NL2024367A (en) * 2018-12-07 2020-06-03 Aowei Information Tech Jiangsu Co Ltd Public chain-based token exchange method and blockchain system
WO2020147715A1 (en) * 2019-01-15 2020-07-23 加拿大辉莱广告公司 Information promotion system, and exchange method for blockchain tokens
CN111507730A (en) * 2020-05-12 2020-08-07 北京俩撇科技有限公司 Block chain cross-chain method and device
CN111598553A (en) * 2020-05-29 2020-08-28 北京俩撇科技有限公司 Method and device for creating block chain, data cross-chain and sales block chain and personal block chain
US10789598B2 (en) 2018-05-29 2020-09-29 Alibaba Group Holding Limited Blockchain transaction reconciliation method and apparatus, and electronic device
CN111815309A (en) * 2020-08-28 2020-10-23 支付宝(杭州)信息技术有限公司 Block chain-based cross-currency settlement method and device and electronic equipment
WO2021023200A1 (en) * 2019-08-07 2021-02-11 阿里巴巴集团控股有限公司 Cross-chain transaction method and apparatus, multi-blockchain system, and computing device
CN112448936A (en) * 2019-09-03 2021-03-05 致信互链(北京)科技有限公司 Method and system for migrating general certificates in block chain
CN112765595A (en) * 2018-11-16 2021-05-07 创新先进技术有限公司 Cross-block-chain data processing method and device, client and block chain system
CN112822180A (en) * 2020-12-30 2021-05-18 广东电网有限责任公司 Intranet and extranet cross-link communication method and device, computer equipment and storage medium
US20210150512A1 (en) * 2018-04-13 2021-05-20 Nexon Korea Corporation Method and device for providing transaction service for cryptocurrencies based on different blockchains
US11032083B2 (en) 2018-11-06 2021-06-08 International Business Machines Corporation Atomic transactional processing
US20210272111A1 (en) * 2018-06-28 2021-09-02 Jiangsu Fuzamei Technology Co.,Ltd. Multi-Chain Concurrent Transaction Method
CN113377864A (en) * 2020-03-10 2021-09-10 本无链科技(深圳)有限公司 Synchronous relay block output system and method for block chain
CN113409145A (en) * 2021-06-18 2021-09-17 支付宝(杭州)信息技术有限公司 Cross-block-chain transaction synchronization method and device
CN113661683A (en) * 2019-02-03 2021-11-16 比特飞翔区块链株式会社 Method for storing transaction representing asset transfer in distributed network and program thereof
TWI752284B (en) * 2018-05-29 2022-01-11 開曼群島商創新先進技術有限公司 Release and exchange method of blockchain assets and its device and electronic equipment
US11328303B2 (en) 2018-05-29 2022-05-10 Advanced New Technologies Co., Ltd. Asset transfer method and apparatus, and electronic device
CN114493879A (en) * 2022-01-28 2022-05-13 重庆邮电大学 A cross-blockchain interaction method based on relay chain
EP4010818A4 (en) * 2019-08-06 2023-08-23 ZeU Technologies, Inc. Distributed blockchain transaction system
TWI820124B (en) * 2018-04-27 2023-11-01 安地卡及巴布達商區塊鏈控股有限公司 Computer-implemented method, computing system and non-transitory computer-readable storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150326646A1 (en) * 2014-05-07 2015-11-12 TreSensa Inc. Coordinating services across multiple providers
CN106960388A (en) * 2017-03-01 2017-07-18 中钞信用卡产业发展有限公司北京智能卡技术研究院 The method and apparatus of the digital asset circulation of transregional piece of chain
CN107147735A (en) * 2017-05-12 2017-09-08 北京博晨技术有限公司 A kind of distributed account book system based on hierarchy
CN107231299A (en) * 2017-06-07 2017-10-03 众安信息技术服务有限公司 A kind of chain route and realized the system that block chain communicates across chain
CN107239940A (en) * 2017-05-11 2017-10-10 北京博晨技术有限公司 Network trading method and device based on block catenary system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150326646A1 (en) * 2014-05-07 2015-11-12 TreSensa Inc. Coordinating services across multiple providers
CN106960388A (en) * 2017-03-01 2017-07-18 中钞信用卡产业发展有限公司北京智能卡技术研究院 The method and apparatus of the digital asset circulation of transregional piece of chain
CN107239940A (en) * 2017-05-11 2017-10-10 北京博晨技术有限公司 Network trading method and device based on block catenary system
CN107147735A (en) * 2017-05-12 2017-09-08 北京博晨技术有限公司 A kind of distributed account book system based on hierarchy
CN107231299A (en) * 2017-06-07 2017-10-03 众安信息技术服务有限公司 A kind of chain route and realized the system that block chain communicates across chain

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
DR. GAVIN WOOD ET.AL: "Polkadot:vision for a heterogeneous multi-chain framework", 《HTTPS://POLKADOT.NETWORK/POLKADOTPAPER.PDF》 *

Cited By (121)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108288159A (en) * 2018-03-07 2018-07-17 物数(上海)信息科技有限公司 Across chain method of commerce, system, equipment and storage medium based on multi-tiling chain
CN108600301A (en) * 2018-03-08 2018-09-28 青岛墨客区块链有限公司 A kind of across chain method between block chain and main block chain
CN108600301B (en) * 2018-03-08 2021-05-18 青岛墨一客区块链有限公司 Cross-link method between block chains and main block chain
CN108650289A (en) * 2018-03-19 2018-10-12 青岛创金链科技有限公司 A kind of method and apparatus of the management data based on block chain
CN108492108B (en) * 2018-03-29 2021-04-23 深圳前海微众银行股份有限公司 Blockchain cross-chain communication method, system and computer-readable storage medium
CN108492108A (en) * 2018-03-29 2018-09-04 深圳前海微众银行股份有限公司 Across the chain communication means of block chain, system and computer readable storage medium
JP7199466B2 (en) 2018-04-03 2023-01-05 アドバンスド ニュー テクノロジーズ カンパニー リミテッド Cross-blockchain authentication method and device
CN108683630A (en) * 2018-04-03 2018-10-19 阿里巴巴集团控股有限公司 The authentication method and device, electronic equipment of transregional piece of chain
US10554413B2 (en) * 2018-04-03 2020-02-04 Alibaba Group Holding Limited Cross-blockchain authentication method and apparatus, and electronic device
CN108848119A (en) * 2018-04-03 2018-11-20 阿里巴巴集团控股有限公司 The exchange method and device, system, electronic equipment of transregional piece of chain
CN108683630B (en) * 2018-04-03 2020-05-29 阿里巴巴集团控股有限公司 Cross-block-chain authentication method and device and electronic equipment
US10693630B1 (en) 2018-04-03 2020-06-23 Alibaba Group Holding Limited Cross-blockchain interaction method, apparatus, system, and electronic device
US10615964B2 (en) 2018-04-03 2020-04-07 Alibaba Group Holding Limited Cross-blockchain interaction method, apparatus, system, and electronic device
CN111901121B (en) * 2018-04-03 2023-09-29 创新先进技术有限公司 Cross-blockchain authentication method and device and electronic equipment
JP2021131870A (en) * 2018-04-03 2021-09-09 アドバンスド ニュー テクノロジーズ カンパニー リミテッド Cross-blockchain authentication method and apparatus
AU2019248542B2 (en) * 2018-04-03 2020-11-05 Advanced New Technologies Co., Ltd. Cross-blockchain authentication method and apparatus
CN111901121A (en) * 2018-04-03 2020-11-06 创新先进技术有限公司 Cross-block-chain authentication method and device and electronic equipment
JP2021507557A (en) * 2018-04-03 2021-02-22 アリババ・グループ・ホールディング・リミテッドAlibaba Group Holding Limited Cross blockchain authentication method and equipment
US11887107B2 (en) * 2018-04-13 2024-01-30 Nexon Korea Corporation Method and device for providing transaction service for cryptocurrencies based on different blockchains
US20210150512A1 (en) * 2018-04-13 2021-05-20 Nexon Korea Corporation Method and device for providing transaction service for cryptocurrencies based on different blockchains
TWI820124B (en) * 2018-04-27 2023-11-01 安地卡及巴布達商區塊鏈控股有限公司 Computer-implemented method, computing system and non-transitory computer-readable storage medium
CN108924175A (en) * 2018-05-02 2018-11-30 北京链链信息技术有限公司 A kind of communication means and device of block interchain
CN108647965A (en) * 2018-05-07 2018-10-12 北京柏链基石科技有限公司 Across chain method of commerce, device, storage medium and electronic equipment
CN108765129A (en) * 2018-05-17 2018-11-06 北京众享比特科技有限公司 Traditional bank assets distribution based on block chain and system for settling account and method
CN108768659A (en) * 2018-05-24 2018-11-06 深圳前海益链网络科技有限公司 Across the chain tra nsfer system of Token assets between a kind of different blocks chain network
CN108768659B (en) * 2018-05-24 2021-05-04 深圳前海益链网络科技有限公司 Token asset cross-chain transfer system between different block chain networks
US10789598B2 (en) 2018-05-29 2020-09-29 Alibaba Group Holding Limited Blockchain transaction reconciliation method and apparatus, and electronic device
US11328303B2 (en) 2018-05-29 2022-05-10 Advanced New Technologies Co., Ltd. Asset transfer method and apparatus, and electronic device
US11216820B2 (en) 2018-05-29 2022-01-04 Advanced New Technologies Co., Ltd. Asset transfer reversal method and apparatus, and electronic device
CN108805712A (en) * 2018-05-29 2018-11-13 阿里巴巴集团控股有限公司 Backspacing processing method of extensive makeup and device, the electronic equipment of assets transfer
CN108805712B (en) * 2018-05-29 2021-03-23 创新先进技术有限公司 Asset transfer rollback processing method and device and electronic equipment
CN108876607A (en) * 2018-05-29 2018-11-23 阿里巴巴集团控股有限公司 Assets transfer method and device, electronic equipment
TWI699725B (en) * 2018-05-29 2020-07-21 香港商阿里巴巴集團服務有限公司 Asset transfer method and device, electronic equipment
TWI756498B (en) * 2018-05-29 2022-03-01 開曼群島商創新先進技術有限公司 Fallback processing method and device for asset transfer, and electronic equipment
CN113283988A (en) * 2018-05-29 2021-08-20 创新先进技术有限公司 Asset transfer method and device and electronic equipment
US11449873B2 (en) 2018-05-29 2022-09-20 Advanced New Technologies Co., Ltd. Blockchain transaction reconciliation method and apparatus, and electronic device
CN108876607B (en) * 2018-05-29 2021-03-23 创新先进技术有限公司 Asset transfer method and device and electronic equipment
CN113283988B (en) * 2018-05-29 2024-12-03 蚂蚁链技术有限公司 Asset transfer method and device, electronic equipment
TWI752284B (en) * 2018-05-29 2022-01-11 開曼群島商創新先進技術有限公司 Release and exchange method of blockchain assets and its device and electronic equipment
CN110555765A (en) * 2018-06-01 2019-12-10 厦门本能管家科技有限公司 Method and system for carrying out asset circulation among various block chains
CN110555765B (en) * 2018-06-01 2021-12-28 本无链科技(深圳)有限公司 Method and system for carrying out asset circulation among various block chains
CN108876369A (en) * 2018-06-05 2018-11-23 上海和数软件有限公司 Data communications method, device and computer readable storage medium based on block chain
CN109035012B (en) * 2018-06-11 2020-11-17 西安纸贵互联网科技有限公司 Cross-chain processing method of block chain system and computer readable storage medium
CN109035012A (en) * 2018-06-11 2018-12-18 西安纸贵互联网科技有限公司 A kind of across the chain processing method and computer readable storage medium of block catenary system
WO2019242508A1 (en) * 2018-06-20 2019-12-26 深圳市红砖坊技术有限公司 Blockchain system and routing method of routing node applied to blockchain system
CN110619520A (en) * 2018-06-20 2019-12-27 深圳市红砖坊技术有限公司 Block chain system and routing method of routing node applied to block chain system
CN110619520B (en) * 2018-06-20 2023-05-02 深圳市红砖坊技术有限公司 Block chain system and routing method applied to routing nodes of block chain system
US20210272111A1 (en) * 2018-06-28 2021-09-02 Jiangsu Fuzamei Technology Co.,Ltd. Multi-Chain Concurrent Transaction Method
CN109146448A (en) * 2018-07-13 2019-01-04 杭州复杂美科技有限公司 Across chain assets transfer method, equipment and storage medium
CN109146448B (en) * 2018-07-13 2021-02-09 杭州复杂美科技有限公司 Cross-chain asset transfer method, device and storage medium
CN109064167A (en) * 2018-07-27 2018-12-21 烨链(上海)科技有限公司 Data processing method and device based on block chain
CN110866824B (en) * 2018-08-28 2022-09-09 傲为有限公司 Cross-chain transaction method and device based on parallel chain and block chain system
CN110866824A (en) * 2018-08-28 2020-03-06 傲为信息技术(江苏)有限公司 A parachain-based cross-chain transaction method, device and blockchain system
WO2020042930A1 (en) * 2018-08-28 2020-03-05 白杰 Parallel-chain-based transaction method and blockchain system
WO2020042931A1 (en) * 2018-08-28 2020-03-05 白杰 Public chain-based transaction method and blockchain system
CN110866826A (en) * 2018-08-28 2020-03-06 傲为信息技术(江苏)有限公司 Transaction method and blockchain system based on parachain
CN110866750B (en) * 2018-08-28 2022-09-09 傲为有限公司 Non-repudiation cross-chain transaction method and blockchain system
CN110866750A (en) * 2018-08-28 2020-03-06 傲为信息技术(江苏)有限公司 Anti-repudiation cross-chain transaction method and block chain system
WO2020042937A1 (en) * 2018-08-28 2020-03-05 白杰 Maintenance method for blockchain parachain, and blockchain parachain
CN110866826B (en) * 2018-08-28 2022-10-11 傲为有限公司 Transaction method based on parallel chain and block chain system
WO2020042934A1 (en) * 2018-08-28 2020-03-05 白杰 Non-repudiation cross-chain transaction method and blockchain system
WO2020043046A1 (en) * 2018-08-30 2020-03-05 杭州复杂美科技有限公司 Parallel chain cross-chain transaction method, device and storage medium
CN109325762B (en) * 2018-08-30 2020-07-10 杭州复杂美科技有限公司 Parallel chain cross-chain transaction method, equipment and storage medium
CN109410045A (en) * 2018-08-30 2019-03-01 杭州复杂美科技有限公司 A kind of parallel chain common recognition method, equipment and storage medium
CN109325762A (en) * 2018-08-30 2019-02-12 杭州复杂美科技有限公司 Across the chain method of commerce of parallel chain, equipment and storage medium
US10979231B2 (en) 2018-09-04 2021-04-13 Advanced New Technologies Co., Ltd. Cross-chain authentication method, system, server, and computer-readable storage medium
CN109257342B (en) * 2018-09-04 2020-05-26 阿里巴巴集团控股有限公司 Block chain cross-chain authentication method, system, server and readable storage medium
CN109242456A (en) * 2018-09-04 2019-01-18 湖南宸瀚信息科技有限责任公司 Across the chain method of commerce of block chain, system and storage medium
CN109257342A (en) * 2018-09-04 2019-01-22 阿里巴巴集团控股有限公司 Authentication method, system, server and readable storage medium storing program for executing of the block chain across chain
CN109360096A (en) * 2018-09-27 2019-02-19 中国联合网络通信集团有限公司 An accounting method and system for a private chain based on a public chain
CN109395392B (en) * 2018-09-29 2022-03-04 杭州复杂美科技有限公司 Forecast guess game deployment method and game method, equipment and storage medium
CN109395392A (en) * 2018-09-29 2019-03-01 杭州复杂美科技有限公司 Predict guessing game dispositions method and method for gaming, equipment and storage medium
CN109377365A (en) * 2018-10-18 2019-02-22 杭州复杂美科技有限公司 A kind of assets transfer method, equipment and storage medium
CN109391619B (en) * 2018-10-22 2021-08-03 上海幼鸢网络科技有限公司 Cross-link certificate exchange method based on authority and computer readable medium
CN109391619A (en) * 2018-10-22 2019-02-26 昧来网络科技(上海)有限公司 Lead to card exchange method and computer-readable medium across chain based on permission
CN109447605A (en) * 2018-10-24 2019-03-08 百度在线网络技术(北京)有限公司 A kind of chain currency conversion method, apparatus, equipment and medium based on block chain
US11032083B2 (en) 2018-11-06 2021-06-08 International Business Machines Corporation Atomic transactional processing
CN112765595B (en) * 2018-11-16 2024-05-10 创新先进技术有限公司 Cross-blockchain data processing method, device, client and blockchain system
CN112765595A (en) * 2018-11-16 2021-05-07 创新先进技术有限公司 Cross-block-chain data processing method and device, client and block chain system
CN109472572B (en) * 2018-11-21 2021-08-03 北京蓝石环球区块链科技有限公司 Contract system based on block chain main chain and parallel multiple sub-chains
CN109286685A (en) * 2018-11-21 2019-01-29 北京蓝石环球区块链科技有限公司 The system architecture of the more subchains of main chain adduction row of subchain can be expanded
CN109472572A (en) * 2018-11-21 2019-03-15 北京蓝石环球区块链科技有限公司 Contract deployment and transaction based on the more subchains of block chain main chain adduction row
CN109558454B (en) * 2018-11-28 2020-07-10 杭州复杂美科技有限公司 Parallel chain mining consensus method, apparatus and storage medium
CN109558454A (en) * 2018-11-28 2019-04-02 杭州复杂美科技有限公司 Parallel chain digs mine common recognition method, equipment and storage medium
NL2024367A (en) * 2018-12-07 2020-06-03 Aowei Information Tech Jiangsu Co Ltd Public chain-based token exchange method and blockchain system
CN109670802A (en) * 2018-12-21 2019-04-23 百度在线网络技术(北京)有限公司 A kind of chain currency conversion method, apparatus, equipment and medium based on block chain
CN109508565A (en) * 2018-12-29 2019-03-22 莆田市烛火信息技术有限公司 A kind of account book bookkeeping methods of the shared block chain network for calculating power of multichain
CN109508565B (en) * 2018-12-29 2021-04-09 西安纸贵互联网科技有限公司 A ledger accounting method for a blockchain network with multi-chain sharing computing power
WO2020147715A1 (en) * 2019-01-15 2020-07-23 加拿大辉莱广告公司 Information promotion system, and exchange method for blockchain tokens
CN109886661A (en) * 2019-01-16 2019-06-14 深圳壹账通智能科技有限公司 Across chain digital cash exchanging method, device, computer system and storage medium
CN109727040A (en) * 2019-01-28 2019-05-07 杭州复杂美科技有限公司 Data publication method, data calling method, equipment and storage medium
CN113661683A (en) * 2019-02-03 2021-11-16 比特飞翔区块链株式会社 Method for storing transaction representing asset transfer in distributed network and program thereof
CN109831514A (en) * 2019-03-02 2019-05-31 杭州复杂美科技有限公司 Parallel chain common recognition method, data exception processing method, equipment and storage medium
CN109831514B (en) * 2019-03-02 2020-06-09 杭州复杂美科技有限公司 Parallel chain consensus method, data exception handling method, device and storage medium
CN110084601B (en) * 2019-04-30 2021-03-16 杭州复杂美科技有限公司 Parallel chain main chain transaction state synchronization method, equipment and storage medium
CN110084601A (en) * 2019-04-30 2019-08-02 杭州复杂美科技有限公司 Parallel chain main chain stateful transaction synchronous method, equipment and storage medium
CN110213266A (en) * 2019-05-31 2019-09-06 联想(北京)有限公司 A kind of information processing method and electronic equipment of the block chain across chain
CN110213266B (en) * 2019-05-31 2021-10-22 联想(北京)有限公司 Block chain cross-chain information processing method and electronic equipment
CN110473093A (en) * 2019-07-29 2019-11-19 杭州复杂美科技有限公司 Parallel chain assets transfer method, equipment and storage medium
CN110443708B (en) * 2019-07-29 2022-03-04 杭州复杂美科技有限公司 Parallel chain transaction method, device and storage medium
CN110443708A (en) * 2019-07-29 2019-11-12 杭州复杂美科技有限公司 Parallel chain method of commerce, equipment and storage medium
WO2021017693A1 (en) * 2019-07-29 2021-02-04 杭州复杂美科技有限公司 Method for asset transfer between parachains, and device and storage medium
EP4010818A4 (en) * 2019-08-06 2023-08-23 ZeU Technologies, Inc. Distributed blockchain transaction system
WO2021023200A1 (en) * 2019-08-07 2021-02-11 阿里巴巴集团控股有限公司 Cross-chain transaction method and apparatus, multi-blockchain system, and computing device
CN112448936A (en) * 2019-09-03 2021-03-05 致信互链(北京)科技有限公司 Method and system for migrating general certificates in block chain
CN110570576A (en) * 2019-09-06 2019-12-13 杭州复杂美科技有限公司 Lottery system, construction method, operation method, equipment and storage medium thereof
CN110570576B (en) * 2019-09-06 2021-05-11 杭州复杂美科技有限公司 Lottery system, construction method, operation method, equipment and storage medium thereof
CN110601902A (en) * 2019-09-24 2019-12-20 腾讯科技(深圳)有限公司 Interactive data processing method and device based on block chain network
CN110601902B (en) * 2019-09-24 2021-07-27 腾讯科技(深圳)有限公司 Interactive data processing method and device based on block chain network
CN110740044A (en) * 2019-10-30 2020-01-31 北京海益同展信息科技有限公司 Data processing method, device, system and storage medium
CN110740044B (en) * 2019-10-30 2021-10-12 北京海益同展信息科技有限公司 Data processing method, device, system and storage medium
CN113377864A (en) * 2020-03-10 2021-09-10 本无链科技(深圳)有限公司 Synchronous relay block output system and method for block chain
CN111507730A (en) * 2020-05-12 2020-08-07 北京俩撇科技有限公司 Block chain cross-chain method and device
CN111598553A (en) * 2020-05-29 2020-08-28 北京俩撇科技有限公司 Method and device for creating block chain, data cross-chain and sales block chain and personal block chain
CN111815309A (en) * 2020-08-28 2020-10-23 支付宝(杭州)信息技术有限公司 Block chain-based cross-currency settlement method and device and electronic equipment
US11354744B2 (en) 2020-08-28 2022-06-07 Alipay (Hangzhou) Information Technology Co., Ltd. Blockchain-based cross-currency settlement methods, apparatuses, and devices
CN112822180B (en) * 2020-12-30 2022-07-29 广东电网有限责任公司 Internal and external network cross-chain communication method, device, computer equipment and storage medium
CN112822180A (en) * 2020-12-30 2021-05-18 广东电网有限责任公司 Intranet and extranet cross-link communication method and device, computer equipment and storage medium
CN113409145B (en) * 2021-06-18 2022-04-22 支付宝(杭州)信息技术有限公司 Cross-block-chain transaction synchronization method and device
CN113409145A (en) * 2021-06-18 2021-09-17 支付宝(杭州)信息技术有限公司 Cross-block-chain transaction synchronization method and device
CN114493879A (en) * 2022-01-28 2022-05-13 重庆邮电大学 A cross-blockchain interaction method based on relay chain

Similar Documents

Publication Publication Date Title
CN107742210A (en) A cross-chain transfer system and method between different blockchains
US12301660B2 (en) Fast propagation of recent transactions over a blockchain network
JP7208164B2 (en) Computer-implemented system and method for managing large blocks in a blockchain network
JP7021747B2 (en) Payment system, payment method, user device, payment program
US11481375B2 (en) Point-to-point distributed decentralized system
US20200034834A1 (en) Blockchain-based asset transfer method and apparatus, and electronic device
CN111770102B (en) Block chain cross-chain method and device, computer equipment and storage medium
US20200092084A1 (en) System and methods for operating a blockchain network
WO2023045620A1 (en) Transaction data processing method and apparatus, computer device and storage medium
US12177356B2 (en) Methods and systems for a consistent distributed memory pool in a blockchain network
Lin et al. Overview of block chain cross chain technology
TWI729518B (en) Block chain-based event processing method and device, and electronic equipment
Zhang et al. Boros: Secure and efficient off-blockchain transactions via payment channel hub
CN110955724B (en) Blockchain-based data processing method, device, node device and storage medium
JP2022544321A (en) Method and system for decentralized transaction communication protocol
WO2022183518A1 (en) Cloud-computing-oriented high-performance blockchain architecture method
Aumayr et al. Donner: UTXO-Based Virtual Channels Across Multiple Hops.
Constantinescu et al. A fair and resilient decentralized clock network for transaction ordering
KR20200086402A (en) Block chain system and method thereof
CN116029825A (en) Block chain transaction method, device and system, electronic equipment and storage medium
Vilaça et al. N-party BAR transfer
Guo et al. Improving transaction succeed ratio in payment channel networks via enhanced node connectivity and balanced channel capacity
CN113761068A (en) A method to improve the concurrent processing capability of the blockchain network
JP6971127B2 (en) Terminal and blockchain system
Turing Consensus in Blockchain

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
EE01 Entry into force of recordation of patent licensing contract
EE01 Entry into force of recordation of patent licensing contract

Application publication date: 20180227

Assignee: Cedar golden Services Technology (Guangzhou) Co.,Ltd.

Assignor: BUBI (BEIJING) NETWORK TECHNOLOGY Co.,Ltd.

Contract record no.: X2021990000108

Denomination of invention: A cross chain transfer system and method between different blockchains

License type: Common License

Record date: 20210218

RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20180227