WO2020042936A1 - Procédé et appareil de transaction en chaîne croisée basée sur des chaînes parallèles, et système de chaîne de blocs - Google Patents

Procédé et appareil de transaction en chaîne croisée basée sur des chaînes parallèles, et système de chaîne de blocs Download PDF

Info

Publication number
WO2020042936A1
WO2020042936A1 PCT/CN2019/101057 CN2019101057W WO2020042936A1 WO 2020042936 A1 WO2020042936 A1 WO 2020042936A1 CN 2019101057 W CN2019101057 W CN 2019101057W WO 2020042936 A1 WO2020042936 A1 WO 2020042936A1
Authority
WO
WIPO (PCT)
Prior art keywords
transaction
chain
cross
initiation
target
Prior art date
Application number
PCT/CN2019/101057
Other languages
English (en)
Chinese (zh)
Inventor
白杰
吴先锋
李冬云
Original Assignee
白杰
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Priority claimed from CN201811496870.7A external-priority patent/CN110866824B/zh
Application filed by 白杰 filed Critical 白杰
Publication of WO2020042936A1 publication Critical patent/WO2020042936A1/fr

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/04Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange

Definitions

  • This application relates to the field of blockchain technology, and in particular, to a cross-chain-based cross-chain transaction method, device, and blockchain system.
  • Blockchain provides a decentralized system idea. The most fundamental principle of this idea is to create a relatively objective anti-repudiation digital environment through public consensus.
  • Blockchain technology can make network information immutable once it is released. For example, a transaction occurs in the blockchain network. Nodes in the blockchain network will record the transaction in the generated block, and then add the block. Go to the blockchain and broadcast it throughout the network to form an unchangeable blockchain. Therefore, the blockchain is essentially a distributed public ledger.
  • This public ledger consists of multiple data blocks and is jointly maintained by each node.
  • the nodes that maintain the same blockchain form a physical chain, such as public, private, and alliance chains. These nodes together form a peer-to-peer blockchain network.
  • the above-mentioned transactions not only refer to transactions in the traditional sense, such as the purchase and sale of goods and the exchange of goods, but also the results of data operations or data exchange.
  • node A in a public chain initiates a transaction request, and the transaction content of the transaction request is to pay 10 tokens for node A to query the weather.
  • Node B in the public chain provides weather query services. Then, node A pays 10 securities exchanges to the account corresponding to node B, and node B sends the weather conditions inquired to node A, and then node A and node B jointly complete the transaction request initiated by node A.
  • the payment of 10 Zentong and sending weather conditions can be recorded as the transaction information of the transaction in the blockchain of the public chain.
  • This application provides a cross-chain-based cross-chain transaction method, device, and blockchain system, which can be used to solve the problem that cross-chain transactions cannot be performed between different blockchain networks in the prior art, resulting in blockchain-based transactions being blocked. Problems confined to a single blockchain network.
  • the present application provides a cross-chain-based cross-chain transaction method, which includes:
  • the transaction initiation chain is instructed to pay the transaction content required by the transaction target chain in the cross-chain transaction.
  • the transaction content that instructs the transaction target chain to pay for the transaction initiation chain requirement in the cross-chain transaction includes:
  • the transaction content that instructs the transaction initiation chain to pay for the transaction target chain demand in the cross-chain transaction includes:
  • the determining a cross-chain transaction to be completed between the transaction initiation chain and the transaction target chain includes:
  • cross-chain blockchain does not record the cross-chain transaction, it is determined that the cross-chain transaction is a pending cross-chain transaction.
  • the method further includes:
  • the updating the parachain blockchain includes:
  • the present application provides a parachain-based blockchain cross-chain transaction device, which is deployed in a parachain node and includes:
  • a transaction determination module for determining a cross-chain transaction to be completed between a transaction initiation chain and a transaction target chain
  • a transaction instruction module configured to instruct a transaction target chain to pay the transaction content required by the transaction initiation chain in the cross-chain transaction according to the cross-chain transaction; and when the transaction target chain is detected to complete the payment, instruct the transaction to initiate The transaction content required by the transaction target chain in the cross-chain transaction.
  • the present application provides a blockchain system based on a parallel chain.
  • the blockchain system includes a transaction initiation chain, a parallel chain, and a transaction target chain.
  • the common node composition of the transaction target chain is described;
  • the parallel chain is used to determine a cross-chain transaction to be completed between the transaction initiation chain and the transaction target chain; and according to the cross-chain transaction, instruct the transaction target chain to pay for the transaction initiation in the cross-chain transaction Transaction content required by the chain; when it is detected that the transaction target chain completes payment, instruct the transaction initiation chain to pay the transaction content required by the transaction target chain in the cross-chain transaction;
  • the transaction target chain is configured to pay the transaction content required by the transaction initiation chain in the cross-chain transaction according to an instruction of the parallel chain;
  • the transaction initiation chain is configured to pay for transaction content required by the transaction target chain in the cross-chain transaction according to an instruction of the parallel chain.
  • the parallel chain instructs the transaction initiation chain and the transaction target chain to pay the transaction contents that need to be paid according to the cross-chain transaction, thereby completing the cross-chain transaction.
  • the parachain node is a common node of the transaction initiation chain and the transaction target chain
  • the parachain can participate in both the transaction of the transaction initiation chain and the transaction of the transaction target chain.
  • Parachain uses this feature to centrally regulate and connect the transaction initiation chain and the transaction target chain during the transaction process, overcoming the differences between the two parties, achieving cross-chain transactions between different chains, and making blockchain transactions no longer Limited to a single blockchain network.
  • FIG. 1 is a schematic diagram showing a network architecture between a transaction initiation chain, a transaction target chain, and a parallel chain;
  • Fig. 2 is a schematic flowchart of a cross-chain-based cross-chain transaction according to an exemplary embodiment
  • Fig. 3 is a flow chart showing a parachain determining a cross-chain transaction to be completed according to an exemplary embodiment
  • Fig. 4 is a schematic flowchart of a parallel chain instruction transaction target chain payment transaction content according to an exemplary embodiment
  • Fig. 5 is a schematic flow chart showing the contents of a parallel chain instruction transaction initiation chain payment transaction according to an exemplary embodiment
  • Fig. 6 is a block diagram showing a parachain-based cross-chain transaction device according to an exemplary embodiment.
  • the blockchain network refers to a point-to-point network formed by blockchain nodes.
  • the blockchain network can perform distributed storage, public consensus, digital encryption, transaction accounting, and verification.
  • the data information in the blockchain or blockchain block is the transaction information of the nodes of the blockchain according to the transaction records when a transaction occurs in the blockchain network.
  • one block includes transaction information of multiple transactions, and multiple blocks form a block chain.
  • Each node in the blockchain network can be a physical node, such as a terminal, a server, or a virtual node. Nodes in the same blockchain network communicate and maintain the operation of the blockchain network based on the same consensus mechanism.
  • the transaction initiation chain, transaction target chain, and parachain refer to different blockchain networks that conform to the blockchain technology.
  • the transaction initiation chain refers to the blockchain network that initiated the cross-chain transaction
  • the transaction target chain is the blockchain network where the transaction object of the cross-chain transaction is located.
  • the transaction initiation chain and the transaction target chain are independent blockchain networks, such as Bitcoin and Ethereum, or industry and alliance chains developed by different industries, or even different private or public chains. Due to the differences between these independent blockchain networks, such as different consensus mechanisms, they cannot communicate or trade with each other. Therefore, in the technical solution provided in this application, the transaction initiation chain and the transaction target chain are connected by a parallel chain.
  • the parachain is composed of the common nodes of the transaction initiation chain and the transaction target chain. Because the parachain node is a common node of the transaction initiation chain and the transaction target chain, the parachain has both the function of the transaction initiation chain and the transaction target chain, and stores both parties' blockchains. Therefore, the parallel chain can transform the information in the blockchain network on one side and then transfer it to the blockchain network on the other side. Through the bridging effect in the parallel chain, communication or transaction can be performed between the transaction initiation chain and the transaction target chain.
  • FIG. 1 shows a schematic diagram of a network architecture between a transaction initiation chain, a transaction target chain, and a parallel chain.
  • the parallel chain node 101 can both communicate with the transaction initiation chain node 111 and communicate with the transaction target chain node 121.
  • FIG. 2 a schematic flowchart of a cross-chain-based cross-chain transaction method according to the present application is exemplarily shown. The method includes the following steps.
  • S20 Determine a cross-chain transaction to be completed between the transaction initiation chain and the transaction target chain.
  • a pending cross-chain transaction refers to a cross-chain transaction that has been sent to a parallel chain but has not yet been completed. It includes transaction-related information, such as the address information of the two parties to the transaction, the transaction conditions, and the transaction content that both parties need to pay.
  • a transaction refers to the transaction content of both parties in accordance with the transaction conditions. Therefore, a cross-chain transaction actually includes two sub-transactions.
  • a sub-transaction is the transaction content of the transaction initiation chain and the transaction target chain to pay for the transaction target chain.
  • Another sub-transaction is the transaction content that the transaction target chain pays to the transaction initiation chain. Therefore, to complete a cross-chain transaction, two sub-transactions in the cross-chain transaction need to be completed.
  • the cross-chain transaction between the transaction initiation chain A and the transaction target chain B is: 50 transactions initiating the Zhengtong a of the chain A, in exchange for 5 transactions in the trading target chain B.
  • the two sub-transactions actually included in this cross-chain transaction are: the transaction initiation chain pays 50 STOs A to the transaction target chain, and the transaction target chain pays 5 STOs b to the transaction initiation chain.
  • the parallel chain determines the cross-chain transaction to be completed between the transaction initiation chain and the transaction target chain, including the following sub-steps.
  • the parallel chain needs to obtain the cross-chain transaction first.
  • the nodes that initiate transactions are called transaction nodes.
  • the transaction nodes in the transaction initiation chain initiate a cross-chain transaction and broadcast the cross-chain transaction in the transaction initiation chain.
  • the parachain node receives the cross-chain transaction, the parachain obtains the cross-chain transaction initiated by the transaction initiation chain.
  • the transaction initiation chain initiates a transaction request to initiate a cross-chain transaction.
  • the transaction request only includes information related to cross-chain transactions, such as transaction conditions, address information of both parties to the transaction, and so on.
  • the transaction node sends the transaction request to the parachain. Accordingly, the parallel chain determines the corresponding cross-chain transaction according to the information in the transaction request.
  • the transaction initiation chain initiates a trigger transaction to initiate a cross-chain transaction.
  • This trigger transaction is a special transaction.
  • the transaction form is the same as the ordinary transaction form in the transaction initiation chain, but it requires a specific agreement on the specific transaction method, such as a transaction with an agreed number of STOs to be transferred.
  • the transaction initiation chain initiates the trigger transaction, and the transaction object is a cross-chain transaction smart contract.
  • the node that completes the triggered transaction generates a transaction result by triggering a cross-chain transaction smart contract.
  • the transaction results include information related to cross-chain transactions.
  • the transaction initiation chain node generates a block containing the result of the transaction, adds it to the blockchain, and broadcasts it.
  • the parallel chain obtains the transaction results in the block, it determines the cross-chain transaction initiated by the transaction initiation chain.
  • the transaction initiation chain initiates a trigger transaction, and the trigger transaction is to pay 1 Zhengtong to the cross-chain transaction smart contract; and the trigger transaction includes information related to the cross-chain transaction.
  • the node that completes the triggered transaction executes a cross-chain transaction smart contract, generates a block containing the transaction result, adds it to the blockchain, and broadcasts it.
  • one token pass paid to the cross-chain transaction smart contract in the triggered transaction is obtained as a reward token pass.
  • the blockchains stored in the parallel chain include the blockchain of the transaction initiation chain and the transaction target chain.
  • the transaction initiation chain and the transaction target chain have their respective completed transactions recorded. Therefore, the parachain can detect whether the cross-chain transaction is recorded in the parachain blockchain to determine whether the cross-chain transaction is completed; if the cross-chain transaction is recorded in the parachain blockchain, it is determined that the cross-chain transaction has been completed; if Cross-chain transactions are not recorded in the parachain blockchain, and it is determined that the cross-chain transaction is to be completed.
  • cross-chain transactions are recorded in the parallel chain blockchain, which means that two sub-transactions in the cross-chain transaction have been recorded in the parallel chain blockchain.
  • the cross-chain transaction between the transaction initiation chain A and the transaction target chain B is: 50 transactions initiating the Zhengtong a of the chain A, in exchange for 5 transactions in the trading target chain B. Then, in the parachain blockchain, parachain detects whether the transaction initiation chain A has paid 50 tokens a to the transaction target chain B, and whether the transaction target chain B has paid 5 tokens b to the transaction initiation chain A. .
  • the parallel chain may determine a cross-chain transaction to be completed by calling a query smart contract. Because cross-chain transactions include two sub-transactions, the parallel chain can query the two smart transactions through the transaction initiation chain and the transaction target chain respectively. For the sub-transactions that need to be completed in the transaction initiation chain, the parallel chain calls the query smart contract in the transaction initiation chain to check whether the sub-transaction is completed; for the sub-transactions that the transaction target chain needs to complete, the parallel chain calls the query smart contract in the transaction target chain Query whether the sub-transaction is completed.
  • a transaction node before a transaction node initiates a cross-chain transaction, it first initiates a query transaction.
  • the query transaction includes the transaction content required by the transaction initiation chain and the transaction content that the transaction initiation chain can pay.
  • the parallel chain determines whether the transaction target chain can reach a transaction with the transaction initiation chain. If there is a target node in the transaction target chain that can reach a transaction with the transaction node, the parallel chain sends the relevant information of the target node to the transaction node, such as the address information and transaction conditions of the target node.
  • the transaction node initiates cross-chain transactions according to the relevant information of the target node.
  • the transaction node A1 hopes to initiate Zentong a of chain A with 50 transactions in exchange for Zentong b of 5 transaction target chains B. Therefore, transaction node A1 initiates a query transaction.
  • Parallel chain determines the transaction according to the query transaction. Node A1 needs 5 STOs A and can pay 50 STOs b.
  • the parallel chain queries whether the transaction target chain B has a target node B1 that can reach a transaction with the transaction node A1.
  • One node in the transaction target chain B requires 50 STOs A and is willing to pay up to 7 STOs b.
  • the parallel chain uses the node as a target node, and sends related information of the target node to the transaction node A1.
  • the transaction node A1 initiates a cross-chain transaction according to the relevant information of the target node B1.
  • the transaction node directly initiates a cross-chain transaction.
  • Cross-chain transactions also include the transaction content required by the transaction initiation chain and the transaction content that the transaction initiation chain can pay, but it does not specify the target node that is the most transaction target.
  • the parallel chain determines whether the transaction target chain can reach a transaction with the transaction initiation chain. If there is a target node in the transaction target chain that can reach a transaction with the transaction node, the parallel chain directly performs the subsequent cross-chain transaction steps; if there is no target node in the transaction target chain that can reach a transaction with the transaction node, the parallel chain notifies the transaction node transaction failed.
  • the transaction target chain is first instructed to pay for the transaction content of the transaction initiation chain demand in the cross-chain transaction.
  • the parachain node is also a node in the transaction target chain
  • the parachain has the full function of the transaction target chain, and can directly call the execution of the smart contract of the transaction target chain to instruct the transaction target chain to pay for transaction initiation in the cross-chain transaction
  • the transaction content of the chain demand The parallel chain invokes the execution of the smart contract of the transaction target chain, and the maintainer node in the transaction target chain completes the corresponding sub-transactions, that is, the transaction content required by the transaction initiation chain in the payment of cross-chain transactions.
  • the maintainer node is the node responsible for maintaining the blockchain in the blockchain network and has the right to keep accounts. After the maintainer node in the transaction target chain completes the corresponding sub-transaction, it will record the sub-transaction in the generated block.
  • the transaction target chain is synchronized with the parallel chain block, that is, the parallel chain synchronizes the block chain of the transaction target chain.
  • the parallel chain instructs the transaction target chain to pay the transaction content of the transaction initiation chain demand in the cross-chain transaction, including the following sub-steps.
  • the parallel chain invokes the execution of the smart contract of the transaction target chain to generate a first transaction instruction.
  • the parallel chain sends the first transaction instruction to the transaction target chain.
  • S213 The transaction content of the transaction initiation chain demand in the transaction target chain payment cross-chain transaction.
  • the parachain calls the execution of the smart contract of the transaction target chain to generate a first transaction instruction. Since the first transaction instruction is used to notify the transaction target chain of the transaction content of the transaction initiation chain demand in the cross-chain transaction, the first transaction instruction includes payment-related information, such as address information and specific transaction content to be paid.
  • the parallel chain sends the first transaction instruction to the transaction target chain, that is, the first transaction instruction is broadcast in the transaction target chain.
  • the maintainer node in the transaction initiation chain receives the first transaction instruction, it verifies the first transaction instruction, pays for the transaction content required by the transaction initiation chain in the cross-chain transaction, and records it in the generated block.
  • the block generated by the transaction initiation chain broadcasts a consensus among the nodes in the transaction initiation chain and confirms that the payment is complete.
  • cross-chain transactions generally include two types: exchange of information exchange and information services.
  • the STO exchange refers to the use of the STO of the transaction initiation chain to exchange the STO of the transaction target chain;
  • the information service means that the transaction initiation chain pays a certain amount of STO to the transaction target chain, and the purchase of the transaction target chain sends the corresponding Or the transaction initiation chain sends the information data to the transaction target chain in exchange for a certain amount of securities.
  • it is a stock exchange or an information service, it is a data operation or the result of a data operation.
  • the maintainer node when the transaction initiation chain pays a certain number of transactions in the transaction initiation chain to the transaction target chain, the maintainer node actually transfers a certain number of securities in the transaction to the account corresponding to the target node. Because the payment is made through the transaction initiation chain, the transfer operation is completed in the transaction initiation chain and does not involve cross-chain operations between the transaction initiation chain and the transaction target chain. Therefore, after the maintainer node determines the address information and transaction conditions of the respective accounts of the transaction node and the target node, it can complete the payment of the transaction content between the transaction node and the target node.
  • the cross-chain transaction is an information service
  • the transaction initiation chain A pays 50 transaction initiation chains A of the transaction initiation chain A to the transaction target chain B to purchase weather information provided by the transaction target chain B.
  • the transaction content paid by the transaction target chain B is specific weather information.
  • the maintainer node B2 in the transaction target chain B sends specific weather information to the account corresponding to the transaction node A1 in the transaction initiation chain A according to the address information of the transaction node A1.
  • the parallel chain instructs the transaction target chain to pay for the transaction content required by the transaction initiation chain, it is necessary to check whether the transaction target chain has completed the payment. Only when the transaction target chain completes the payment, the parallel chain can indicate the transaction content required by the transaction target chain in the transaction initiation chain payment cross-chain transaction. Because the maintainer node in the transaction target chain will record the paid transaction content in the generated block and broadcast the blockchain in the transaction target chain, the parallel chain can be based on the synchronized transaction target chain area in the parallel chain blockchain Block chain, to check whether the transaction target chain has completed the payment.
  • the parallel chain may detect whether the transaction target chain has completed the payment by invoking the transaction target chain to query the smart contract. Because the method of detecting whether the transaction target chain has completed the payment according to the parallel chain blockchain, the parallel chain needs to synchronize the blockchain of the transaction target chain first. When the transaction target chain has paid for the transaction content, but the parallel chain has not synchronized the transaction target chain's blockchain, the parallel chain cannot know that the transaction target chain has completed the payment. However, the parallel chain can be queried by calling the query smart contract, which can more quickly determine that the transaction target chain has completed payment, and improve the efficiency of cross-chain transactions.
  • the parallel chain has the full function of the transaction initiation chain, and can directly call the transaction initiation chain to execute the smart contract.
  • the parallel chain invokes the execution of the smart contract of the transaction initiation chain, and the maintainer node in the transaction initiation chain completes the corresponding sub-transaction, that is, the transaction content required to pay the transaction target chain.
  • the maintainer node in the transaction initiation chain will record in the generated block after completing the corresponding sub-transaction.
  • the transaction initiation chain is synchronized with the parallel chain block, that is, the parallel chain synchronizes the transaction initiation chain block chain.
  • the parallel chain can determine whether the transaction initiation chain has completed the payment by detecting the parallel chain blockchain or invoking the smart contract of the transaction initiation chain to query the completion of cross-chain transactions.
  • the parallel chain instructs the transaction content of the transaction target chain demand in the transaction initiation chain payment cross-chain transaction, including the following sub-steps.
  • the parallel chain invokes the execution of the smart contract of the transaction initiation chain to generate a second transaction instruction.
  • the parallel chain sends the second transaction instruction to the transaction initiation chain.
  • S223 The transaction content of the transaction target chain demand in the transaction initiation chain payment cross-chain transaction.
  • the parallel chain invokes the execution of the smart contract of the transaction initiation chain to generate a second transaction instruction. Because the second transaction instruction is used to notify the transaction content of the transaction initiation chain payment transaction target chain requirement, the second transaction instruction includes payment-related transaction information, such as address information, and specific transaction content that needs to be paid.
  • the parallel chain sends the second transaction instruction to the transaction target chain, that is, the second transaction instruction is broadcast in the transaction target chain.
  • the maintainer node in the transaction initiation chain receives the second transaction instruction, it verifies the second transaction instruction, pays for the transaction content required by the transaction initiation chain, and records the transaction in the generated block.
  • the transaction target chain broadcasts the generated block, and a consensus is reached among the nodes of the transaction target chain to confirm that the payment is completed.
  • the cross-chain transaction is an information service
  • the transaction initiation chain A pays 50 transaction initiation chains A of the transaction initiation chain A to the transaction target chain B to purchase weather information provided by the transaction target chain B.
  • the transaction content of the transaction initiation chain A payment is 50 Zhengtong a.
  • the maintainer node in the transaction initiation chain A according to the address information in the second transaction instruction, pays 50 tokens a to the target node B1 in the transaction target chain B.
  • the transaction target chain locks the transaction content when the transaction content required by the transaction initiation chain is paid.
  • the parallel chain determines that the transaction initiation chain has completed the payment, it sends the information that the transaction initiation chain has completed the payment to the transaction target chain.
  • the transaction target chain unlocks the transaction content of its own payment. By locking the transaction content, it prevents the transaction initiation chain from paying the corresponding transaction content, which causes losses to the transaction initiation chain and achieves the effect of anti-repudiation.
  • the parallel chain instructs the transaction initiation chain and the transaction target chain to pay the transaction contents that need to be paid according to the cross-chain transaction, thereby completing the cross-chain transaction.
  • the parachain node is a common node of the transaction initiation chain and the transaction target chain
  • the parachain can participate in both the transaction of the transaction initiation chain and the transaction of the transaction target chain.
  • Parachain uses this feature to centrally regulate and connect the transaction initiation chain and the transaction target chain during the transaction process, overcoming the differences between the two parties, achieving cross-chain transactions between different chains, and making blockchain transactions no longer Limited to a single blockchain network.
  • the parallel chain in the process of cross-chain transactions, the parallel chain will synchronize the blockchain of the transaction initiation chain and the transaction target chain to update the parallel chain blockchain. Since the parachain node is a common node of the transaction initiation chain and the transaction target chain, the parachain can directly obtain the blockchain of the transaction initiation chain or the transaction target chain and update the parachain blockchain. Specifically, in the technical solution provided in this application, there are two update modes of the parallel chain blockchain.
  • the parallel chain uses the same consensus mechanism as the blockchain network to synchronize and update the parallel chain blockchain.
  • the parallel chain blockchain is the same as the blockchain of the blockchain network.
  • the parallel chain After acquiring the blockchain of the transaction initiation chain or the transaction target chain, the parallel chain generates summary information according to the blockchain of the transaction initiation chain or the transaction target chain.
  • the summary information is used to indicate transactions recorded in the blockchain of the corresponding blockchain network.
  • Parachain generates blocks that include summary information, and adds the block to the parachain blockchain to achieve the update of the parachain blockchain.
  • Fig. 6 is a block diagram of a parachain-based cross-chain transaction device according to an exemplary embodiment.
  • the device can be deployed at a parachain node and has a function for implementing the above method example, and the function can be implemented by hardware, or can be implemented by hardware executing corresponding software.
  • the apparatus may include a transaction determination module 601 and a transaction instruction module 602.
  • the transaction determination module 601 is configured to determine a cross-chain transaction to be completed between a transaction initiation chain and a transaction target chain.
  • the transaction instruction module 602 is configured to instruct the transaction target chain to pay the transaction content required by the transaction initiation chain in the cross-chain transaction according to the cross-chain transaction; and when the transaction target chain is detected to complete the payment, instruct the transaction.
  • the initiation chain pays for the transaction content required by the transaction target chain in the cross-chain transaction.
  • the parallel chain instructs the transaction initiation chain and the transaction target chain to pay the transaction contents that need to be paid according to the cross-chain transaction, thereby completing the cross-chain transaction.
  • the parachain node is a common node of the transaction initiation chain and the transaction target chain
  • the parachain can participate in both the transaction of the transaction initiation chain and the transaction of the transaction target chain.
  • Parachain uses this feature to centrally regulate and connect the transaction initiation chain and the transaction target chain during the transaction process, overcoming the differences between the two parties, achieving cross-chain transactions between different chains, and making blockchain transactions no longer Limited to a single blockchain network.
  • the transaction instruction module 602 is specifically configured to: call the execution of the smart contract of the transaction target chain to generate a first transaction instruction, and the first transaction instruction is used to notify the transaction target chain to pay the cross-chain transaction The transaction content required by the transaction initiation chain; sending the first transaction instruction to the transaction target chain, so that the transaction target chain verifies the first transaction instruction and pays for the transaction required by the transaction initiation chain content.
  • the transaction instruction module 602 is specifically configured to: call the execution of the smart contract of the transaction initiation chain to generate a second transaction instruction, and the second transaction instruction is used to notify the transaction initiation chain to pay the cross-chain transaction The transaction content required by the transaction target chain; sending the second transaction instruction to the transaction target chain, so that the transaction initiation chain verifies the second transaction instruction and pays for the transaction required by the transaction target chain content.
  • the transaction determination module 601 is specifically configured to: obtain cross-chain transactions initiated by the transaction initiation chain; detect whether the cross-chain transactions are recorded in a parallel chain blockchain; and when detecting the parallel chain blockchain When the cross-chain transaction is not recorded, it is determined that the cross-chain transaction is a pending cross-chain transaction.
  • the apparatus further includes: a block update module.
  • the block update module is configured to obtain the block chain of the transaction initiation chain or the transaction target chain; and update the parallel chain block chain according to the block chain of the transaction initiation chain or the transaction target chain.
  • the block update module is specifically configured to generate summary information according to the block chain of the transaction initiation chain or the transaction target chain, and the summary information is used to instruct the transaction initiation chain or Generate a block including the summary information, and add the block to the parachain blockchain.
  • this application also provides a parallel chain-based blockchain system.
  • the system includes a transaction initiation chain, a parallel chain, and a transaction target chain.
  • the parallel chain is composed of the transaction initiation chain and the transaction chain. Composition of common nodes of the transaction target chain;
  • the parallel chain is used to determine a cross-chain transaction to be completed between the transaction initiation chain and the transaction target chain; and according to the cross-chain transaction, instruct the transaction target chain to pay for the transaction initiation in the cross-chain transaction Transaction content required by the chain; when it is detected that the transaction target chain completes payment, instruct the transaction initiation chain to pay the transaction content required by the transaction target chain in the cross-chain transaction;
  • the transaction target chain is configured to pay the transaction content required by the transaction initiation chain in the cross-chain transaction according to an instruction of the parallel chain;
  • the transaction initiation chain is configured to pay for transaction content required by the transaction target chain in the cross-chain transaction according to an instruction of the parallel chain.
  • the transaction initiation chain and the transaction target chain are connected through a parallel chain, and the transaction content that needs to be paid is paid according to the instructions of the parallel chain to complete the cross-chain transaction.
  • the parachain node is a common node of the transaction initiation chain and the transaction target chain, the parachain can participate in both the transaction of the transaction initiation chain and the transaction of the transaction target chain.
  • Parachain uses this feature to centrally regulate and connect the transaction initiation chain and the transaction target chain during the transaction process, overcoming the differences between the two parties, achieving cross-chain transactions between different chains, and making blockchain transactions no longer Limited to a single blockchain network.
  • the technology in the embodiment of the present invention can be implemented by means of software plus a necessary universal hardware platform. Based on such an understanding, the technical solutions in the embodiments of the present invention can be embodied in the form of software products that are essentially or contribute to the existing technology.
  • the computer software product can be stored in a storage medium, such as ROM / RAM. , Magnetic disks, optical disks, etc., including a number of instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to perform the methods described in various embodiments of the present invention or certain parts of the embodiments.

Landscapes

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

Abstract

Procédé et appareil de transaction en chaîne croisée basée sur des chaînes parallèles, et système de chaîne de blocs. Ledit procédé consiste à : déterminer une transaction en chaîne croisée à réaliser entre une chaîne d'initiation de transaction et une chaîne cible de transaction ; selon ladite transaction en chaîne croisée, donner à la chaîne cible de transaction l'ordre de payer le contenu de transaction requis par la chaîne d'initiation de transaction dans la transaction en chaîne croisée ; et lors de la détection que la chaîne cible de transaction a terminé le paiement, donner à la chaîne d'initiation de transaction l'ordre de payer le contenu de transaction requis par la chaîne cible de transaction dans ladite transaction en chaîne croisée. Selon la présente invention, une chaîne parallèle donner à une chaîne d'initiation de transaction et à une chaîne cible de transaction l'ordre de payer le contenu de transaction ainsi requis, ce qui permet de réaliser une transaction en chaîne croisée. Lorsqu'un noeud de chaîne parallèle est un noeud commun de la chaîne d'initiation de transaction et de la chaîne cible de transaction, la chaîne parallèle peut participer à la fois à une transaction de la chaîne d'initiation de transaction et à une transaction de la chaîne cible de transaction. À l'aide de cette caractéristique, la chaîne parallèle peut effectuer une coordination et une commande pendant une transaction, et connecter la chaîne d'initiation de transaction et la chaîne cible de transaction, réalisant une transaction en chaîne croisée entre différentes chaînes, de telle sorte que les transactions de chaîne de blocs ne sont plus limitées dans un seul réseau de chaîne de blocs.
PCT/CN2019/101057 2018-08-28 2019-08-16 Procédé et appareil de transaction en chaîne croisée basée sur des chaînes parallèles, et système de chaîne de blocs WO2020042936A1 (fr)

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
CN201810986825.3 2018-08-28
CN201810986825 2018-08-28
CN201811496870.7A CN110866824B (zh) 2018-08-28 2018-12-07 一种基于平行链的跨链交易方法、装置及区块链系统
CN201811496870.7 2018-12-07

Publications (1)

Publication Number Publication Date
WO2020042936A1 true WO2020042936A1 (fr) 2020-03-05

Family

ID=69645010

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/101057 WO2020042936A1 (fr) 2018-08-28 2019-08-16 Procédé et appareil de transaction en chaîne croisée basée sur des chaînes parallèles, et système de chaîne de blocs

Country Status (1)

Country Link
WO (1) WO2020042936A1 (fr)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111639925A (zh) * 2020-06-01 2020-09-08 上海旺链信息科技有限公司 一种基于区块链的密封式拍卖方法及系统
CN112598514A (zh) * 2020-12-09 2021-04-02 杭州趣链科技有限公司 基于区块链的跨链交易管理方法、跨链平台及介质

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106228446A (zh) * 2016-05-12 2016-12-14 北京众享比特科技有限公司 基于私有区块链的资产交易平台系统及方法
CN107301600A (zh) * 2017-06-23 2017-10-27 北京天德科技有限公司 一种跨链交易的区块链互联网模型的核心算法
US20180197155A1 (en) * 2016-12-12 2018-07-12 Topl, Llc Method and Apparatus for Processing Mobile Payment Using Blockchain Techniques

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106228446A (zh) * 2016-05-12 2016-12-14 北京众享比特科技有限公司 基于私有区块链的资产交易平台系统及方法
US20180197155A1 (en) * 2016-12-12 2018-07-12 Topl, Llc Method and Apparatus for Processing Mobile Payment Using Blockchain Techniques
CN107301600A (zh) * 2017-06-23 2017-10-27 北京天德科技有限公司 一种跨链交易的区块链互联网模型的核心算法

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
BAI, JIE ET AL.: "The Standard of Blockchain Applications Model Publication and Deployment Technologies Research", INFORMATION AND NETWORK SECURITY, vol. 7, no. 8, 10 August 2018 (2018-08-10), pages 13 - 18 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111639925A (zh) * 2020-06-01 2020-09-08 上海旺链信息科技有限公司 一种基于区块链的密封式拍卖方法及系统
CN112598514A (zh) * 2020-12-09 2021-04-02 杭州趣链科技有限公司 基于区块链的跨链交易管理方法、跨链平台及介质

Similar Documents

Publication Publication Date Title
CN110866824B (zh) 一种基于平行链的跨链交易方法、装置及区块链系统
WO2020042934A1 (fr) Procédé de transaction inter-chaîne de non-répudiation et système de chaîne de blocs
TW201935383A (zh) 資產管理方法及裝置、電子設備
WO2020258848A1 (fr) Procédé et appareil de transmission de ressources entre chaînes
TW201935375A (zh) 資產管理方法及裝置、電子設備
TWI734088B (zh) 基於區塊鏈的交易處理方法及裝置、電子設備
TW201935377A (zh) 資產管理方法及裝置、電子設備
RU2744496C2 (ru) Система и способ для повышения безопасности смарт-контракта в цепочке блоков
TWI771604B (zh) 基於區塊鏈的商品購置方法和裝置
US20210326813A1 (en) Parallel Chain Cross-Chain Transaction Method, Device and Storage Medium
WO2020215824A1 (fr) Procédé et dispositif d'attribution de ressources virtuelles basés sur une chaîne de blocs
TWI754133B (zh) 基於中心化與去中心化的雙重交易方法及系統
CN111144883B (zh) 一种区块链网络的处理性能分析方法及装置
KR20200066254A (ko) 스마트 계약을 사용하여 다자간 트랜잭션을 실행하는 방법
TW202022857A (zh) 基於區塊鏈的發票創建方法及裝置、電子設備
TW202036328A (zh) 基於區塊鏈的資源分配方法和裝置
WO2020173500A1 (fr) Système commercial de sous-chaîne fondé sur une chaîne publique
GB2593096A (en) Tokenized commodity for multipart transactions validated by a peer-to-peer network of nodes
WO2020042936A1 (fr) Procédé et appareil de transaction en chaîne croisée basée sur des chaînes parallèles, et système de chaîne de blocs
JP2016219014A (ja) リソース転送システム
WO2020207093A1 (fr) Procédé et appareil de location basés sur une chaîne de blocs
TWI772654B (zh) 跨區塊鏈第三方仲裁履約保證系統及其方法
CN108389080A (zh) 交易处理方法及平台
CN107909440B (zh) 一种分布式总账系统交易同步清算方法及系统
WO2023078124A1 (fr) Versement transfrontalier basé sur une chaîne de blocs

Legal Events

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

Ref document number: 19853695

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 19853695

Country of ref document: EP

Kind code of ref document: A1