CN110555765A - Method and system for carrying out asset circulation among various block chains - Google Patents

Method and system for carrying out asset circulation among various block chains Download PDF

Info

Publication number
CN110555765A
CN110555765A CN201810558436.0A CN201810558436A CN110555765A CN 110555765 A CN110555765 A CN 110555765A CN 201810558436 A CN201810558436 A CN 201810558436A CN 110555765 A CN110555765 A CN 110555765A
Authority
CN
China
Prior art keywords
chain
asset
transaction
assets
approver
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201810558436.0A
Other languages
Chinese (zh)
Other versions
CN110555765B (en
Inventor
杨税令
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Benchainless Technology (Shenzhen) Co.,Ltd.
Original Assignee
Xiamen Instinct Blockchain 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 Xiamen Instinct Blockchain Technology Co ltd filed Critical Xiamen Instinct Blockchain Technology Co ltd
Priority to CN201810558436.0A priority Critical patent/CN110555765B/en
Publication of CN110555765A publication Critical patent/CN110555765A/en
Application granted granted Critical
Publication of CN110555765B publication Critical patent/CN110555765B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

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

Abstract

the invention discloses a method for carrying out asset circulation among various block chains, which comprises the steps of carrying out cross-chain exchange on new assets, circulating transferred new assets in the chain and transferring the transferred new assets back to the original chain, wherein the cross-chain exchange on the new assets comprises the sub-steps of establishing connection, confirming transaction and asset effectiveness, and the transferring back of the new assets to the original chain also comprises the sub-steps of establishing connection, confirming transaction and asset effectiveness. The problem that the assets cannot be directly communicated between different block chains is solved.

Description

Method and system for carrying out asset circulation among various block chains
Technical Field
the invention belongs to the field of block chains, and particularly relates to a method and a system for carrying out asset circulation among various block chains.
background
digital assets are important components of block chains, different block chains often bear different digital assets, and in an actual service scene, assets among different block chains are often required to be exchanged, and the exchange often becomes a difficult problem; in order to reduce the asset exchange between chains as much as possible, the current common solution is to establish a third block chain, establish exchange relationships with each party needing to exchange assets respectively, and then perform asset exchange indirectly, in this exchange way, because the third chain is added, the exchange steps are added, the transaction time is prolonged, the complexity of related services is increased, the further development of upper-layer applications is prevented, and in the actual operation process, because the probability of the three chains working consistently and stably is far lower than the probability of the original two chains, almost no real application falls to the ground at present; later new chains are provided, and in order to avoid similar problems to the maximum extent, certain best practice standards are adopted, and the standards also result in a batch of chains with almost the same overall structure, and the assets on the chains should have better exchange circulation modes, but the new chains do not exist at present; how to design a third chain independent asset exchange between different blockchains becomes an urgent problem to be solved.
disclosure of Invention
in order to solve the above problems, the present invention provides a method for asset circulation between various block chains, comprising the steps of:
(1) The new asset cross-chain exchange specifically comprises the following steps:
(1.1) establishing connection: submitting a cross-chain asset transfer transaction through a transaction manager, checking whether an A chain has a B chain asset through an asset approver, adopting a processing flow of a third service scene when the A chain finds that the B chain asset exists, continuously checking whether the B chain configuration exists through the asset approver when the A chain finds that the B chain asset does not exist, filling the B chain configuration by a transaction initiator when the B chain configuration does not exist, analyzing the B chain configuration and initiating detection through a node sniffer by the A chain, finishing the cross-chain transfer transaction when the A chain cannot find the B chain or all nodes of the B chain fail, selecting a trusted node from the B chain nodes through a network adapter by the A chain, and establishing connection with the B chain after finding the trusted node of the B chain by the A chain;
(1.2) confirming the transaction: after the A chain is connected with the B chain, a B chain asset is created through an asset approver, the A chain checks whether the balance of an account and the handling fee are enough through a transaction manager, the A chain freezes own assets through a freezing destroyer and issues B chain temporary assets, the A chain forwards the transaction to the B chain through the transaction manager, the B chain receives the transaction through the transaction manager and checks the signature of the A chain transaction, the B chain checks whether the A chain asset exists through the asset approver, when the B chain finds that the A chain asset does not exist, the B chain acquires the access configuration of the A chain from the A chain through the asset approver, the B chain checks whether the transferred account is legal and the balance of the account and the handling fee are enough through the transaction manager, the B chain checks whether the transaction is confirmed on the A chain when the A chain finds that the A chain does not confirm the transaction through the transaction manager, finishing the transfer-in processing, after the chain B finds that the chain A confirms the transaction, freezing the assets of the chain B through a freezing destroyer, issuing the assets of the chain A, and sending the transaction confirmed by the chain B to the chain A through a transaction manager;
(1.3) asset validation: after the chain A receives the confirmation transaction, the frozen asset and the new asset are enabled to take effect through the freezing destroyer, when the chain A does not wait for the confirmation transaction sent by the chain B within a certain time period, the freezing destroyer actively initiates inquiry, when the chain A does not check the confirmation transaction on the chain B, the freezing destroyer cancels the temporarily frozen asset of the chain A, meanwhile, the chain B asset issued on the chain A generates the confirmation transaction when the chain A inquires data, and the chain A adds the received transaction or the transaction generated by the chain A into the block through the block forging device, so that the cross-chain exchange of the new asset is completed;
(2) the transferred new assets are circulated in the chain: submitting an asset transfer transaction through a transaction manager, checking whether the A chain has B chain assets through an asset approver, if so, further checking the legality of the B chain assets on the A chain through the asset approver, checking whether the residual quantity of the B chain assets on the A chain is enough and the self commission charge of the A chain is enough through the asset approver, recording the B chain assets into a new A chain address through the A chain through the asset approver, and driving the transaction into a block through a block forger by an A chain point to finish the circulation of transferred new assets in the chain;
(3) the transferred new assets are transferred back to the original chain again, and the method specifically comprises the following steps:
(3.1) establishing connection: by the transaction manager: submitting a cross-chain asset transfer transaction, checking whether the A chain has B chain assets through an asset approver, if so, further checking the legality of the B chain assets on the A chain through the asset approver, checking whether the residual quantity of the B chain assets on the A chain is enough and the self commission charge of the A chain is enough through the asset approver, configuring and accessing the B chain through a B chain network registered when the A chain is switched in for the first time through a network adapter, selecting a trusted node from B chain nodes through a node sniffer by the A chain, and establishing connection between the A chain and the B chain trusted node through the network adapter;
(3.2) confirming the transaction: the chain A temporarily destroys the chain B assets on the chain by a freezing destroyer, temporarily unfreezes the assets of the chain, after the chain A is destroyed and unfrozen, the transaction is forwarded to the chain B by a transaction manager, the chain B receives the transaction and analyzes the configuration by the transaction manager, and confirms the signature of the transaction sent by the chain A, the chain B confirms whether the chain A assets exist on the chain B by an asset approver, if yes, the chain A assets on the chain B are further checked by the asset approver to be sufficient, and the chain B self commission is sufficient, the chain B checks whether the transaction is confirmed on the chain A by initiating inquiry to the chain A by the transaction manager, when the chain B finds that the chain A does not confirm the transaction, the transfer processing is finished, and when the chain B finds that the chain A confirms the transaction, the processing is continued;
(3.3) asset validation: a chain B destroys assets of a chain A through a freezing destroyer and unfreezes assets of the chain B, the chain B sends transactions confirmed by transactions of the chain B to the chain A through the freezing destroyer, after the chain A receives the confirmed transactions, the temporarily unfrozen assets and the temporarily destroyed assets start to take effect through the freezing destroyer, when the chain A does not wait for the confirmed transactions sent by the chain B within a certain time period, inquiry is initiatively initiated, when the chain A does not check the confirmed transactions on the chain B, the chain A cancels the assets temporarily unfrozen by the freezing destroyer, simultaneously cancels the assets of the chain B destroyed on the chain A, when the chain A inquires data, the confirmed transactions are generated, and the chain A adds the received transactions or the transactions generated by the chain B into a block through a block forging device, so that cross-chain asset transfer is completed.
further, the transaction initiator in step (1.1) fills in the B-chain configuration including a B-chain asset code, a founder node address, a scanning mode, a scanning path, and a scanning port.
further, in the step (1.1), the chain a selects a trusted node from the chain B nodes by using a byzantine consensus algorithm through the network adapter.
Further, in the step (3.1), the chain A selects a credible node from the chain B link points through a node sniffer by using a Byzantine consensus algorithm.
The invention also provides a system for carrying out asset circulation among various block chains, which comprises a new asset cross-chain exchange module, wherein the transferred new asset is transferred back to the original chain module again in the chain circulation module and the transferred new asset, and the new asset cross-chain exchange module is further divided into an establishing connection sub-module, a transaction confirming sub-module and an asset taking-in sub-module;
the work flow of establishing the connection sub-module is as follows: submitting a cross-chain asset transfer transaction through a transaction manager, checking whether an A chain has a B chain asset through an asset approver, adopting a processing flow of a third service scene when the A chain finds that the B chain asset exists, continuously checking whether the B chain configuration exists through the asset approver when the A chain finds that the B chain asset does not exist, filling the B chain configuration by a transaction initiator when the B chain configuration does not exist, analyzing the B chain configuration and initiating detection through a node sniffer by the A chain, finishing the cross-chain transfer transaction when the A chain cannot find the B chain or all nodes of the B chain fail, selecting a trusted node from the B chain nodes through a network adapter by the A chain, and establishing connection with the B chain after finding the trusted node of the B chain by the A chain;
The work flow of the transaction confirming submodule is as follows: after the A chain is connected with the B chain, a B chain asset is created through an asset approver, the A chain checks whether the balance of an account and the handling fee are enough through a transaction manager, the A chain freezes own assets through a freezing destroyer and issues B chain temporary assets, the A chain forwards the transaction to the B chain through the transaction manager, the B chain receives the transaction through the transaction manager and checks the signature of the A chain transaction, the B chain checks whether the A chain asset exists through the asset approver, when the B chain finds that the A chain asset does not exist, the B chain acquires the access configuration of the A chain from the A chain through the asset approver, the B chain checks whether the transferred account is legal and the balance of the account and the handling fee are enough through the transaction manager, the B chain checks whether the transaction is confirmed on the A chain when the A chain finds that the A chain does not confirm the transaction through the transaction manager, finishing the transfer-in processing, after the chain B finds that the chain A confirms the transaction, freezing the assets of the chain B through a freezing destroyer, issuing the assets of the chain A, and sending the transaction confirmed by the chain B to the chain A through a transaction manager;
the workflow of the asset validation submodule is as follows: after the chain A receives the confirmation transaction, the frozen asset and the new asset are enabled to take effect through the freezing destroyer, when the chain A does not wait for the confirmation transaction sent by the chain B within a certain time period, the freezing destroyer actively initiates inquiry, when the chain A does not check the confirmation transaction on the chain B, the freezing destroyer cancels the temporarily frozen asset of the chain A, meanwhile, the chain B asset issued on the chain A generates the confirmation transaction when the chain A inquires data, and the chain A adds the received transaction or the transaction generated by the chain A into the block through the block forging device, so that the cross-chain exchange of the new asset is completed;
The work flow of the transferred new assets in the chain circulation module is as follows: submitting an asset transfer transaction through a transaction manager, checking whether the A chain has B chain assets through an asset approver, if so, further checking the legality of the B chain assets on the A chain through the asset approver, checking whether the residual quantity of the B chain assets on the A chain is enough and the self commission charge of the A chain is enough through the asset approver, logging the B chain assets into a new A chain address (or account) through the asset approver by the A chain, and driving the transaction into a block through a block forger by a block point of the A chain to finish the circulation of the transferred new assets in the chain;
the transferred new asset is transferred back to the original chain module again and is further divided into a connection establishing sub-module, a transaction confirming sub-module and an asset validation sub-module;
The work flow of establishing the connection sub-module is as follows: submitting a cross-link asset transfer transaction, checking whether the A link has B link assets through an asset approver, if so, further checking the legality of the B link assets on the A link through the asset approver, checking whether the residual quantity of the B link assets on the A link is enough through the asset approver and whether the self commission charge of the A link is enough, configuring and accessing the B link by the A link through a network adapter by using a B link network registered during first transfer, selecting a trusted node from B link nodes through a node sniffer by the A link, and establishing connection between the A link and the B link trusted node through the network adapter;
The work flow of the transaction confirming submodule is as follows: the chain A temporarily destroys the chain B assets on the chain by a freezing destroyer, temporarily unfreezes the assets of the chain, after the chain A is destroyed and unfrozen, the transaction is forwarded to the chain B by a transaction manager, the chain B receives the transaction and analyzes the configuration by the transaction manager, and confirms the signature of the transaction sent by the chain A, the chain B confirms whether the chain A assets exist on the chain B by an asset approver, if yes, the chain A assets on the chain B are further checked by the asset approver to be sufficient, and the chain B self commission is sufficient, the chain B checks whether the transaction is confirmed on the chain A by initiating inquiry to the chain A by the transaction manager, when the chain B finds that the chain A does not confirm the transaction, the transfer processing is finished, and when the chain B finds that the chain A confirms the transaction, the processing is continued;
The workflow of the asset validation submodule is as follows: a chain B destroys assets of a chain A through a freezing destroyer and unfreezes assets of the chain B, the chain B sends transactions confirmed by transactions of the chain B to the chain A through the freezing destroyer, after the chain A receives the confirmed transactions, the temporarily unfrozen assets and the temporarily destroyed assets start to take effect through the freezing destroyer, when the chain A does not wait for the confirmed transactions sent by the chain B within a certain time period, inquiry is initiatively initiated, when the chain A does not check the confirmed transactions on the chain B, the chain A cancels the assets temporarily unfrozen by the freezing destroyer, simultaneously cancels the assets of the chain B destroyed on the chain A, when the chain A inquires data, the confirmed transactions are generated, and the chain A adds the received transactions or the transactions generated by the chain B into a block through a block forging device, so that cross-chain asset transfer is completed.
furthermore, the transaction initiator in the connection establishing submodule of the new asset cross-link exchange module fills in the B-link configuration including a B-link asset code, a creating node address, a scanning mode, a scanning path and a scanning port.
Further, in the connection establishing submodule of the new asset cross-link switching module, the chain A selects a trusted node from the chain B nodes by using a Byzantine consensus algorithm through a network adapter.
The invention has the beneficial effects that: the method realizes the function of cross-chain circulation of the assets and solves the problem that the assets cannot be directly communicated among different block chains.
drawings
FIG. 1 is a schematic flow diagram of the process of the present invention;
Fig. 2 is a schematic diagram of the system of the present invention.
Detailed Description
The invention is further described with reference to the following figures and specific examples.
as shown in fig. 1, the present embodiment provides a method for asset circulation between various block chains, which is mainly used to solve the problem of asset exchange between different block chains, and the inventive main point of the present embodiment is to establish a micro asset distribution channel between different block chains. When cross-chain asset transaction is needed, the opponent asset is used as a new asset of the chain to be issued and the assets of the chain are frozen, so that the assets of other chains can be circulated in the original chain and in the new chain, the real cross-chain asset circulation is realized, and the total amount of the original assets can be ensured to be unchanged.
In this embodiment, the issued new asset is ensured to be valid by the asset approver, and the core role of the asset approver is to confirm the validity of the asset and manage the total amount of the asset. The asset approver comprises two core modules, an asset detection module and an asset accounting module. The asset detection module is used for verifying the availability and the authenticity of the assets according to local configuration; the asset accounting management module is used for managing all cross-chain assets of the chain and distributing the use condition.
in this embodiment, the problem of how two parties in a cross-chain agree that they have a portion of their assets on the other chain is solved by a transaction manager, which has the core role of helping the two chains to achieve a common asset cross-chain state. The transaction management comprises two core modules, an asset certificate management module and a transaction state synchronous management module. The asset certificate management module is used for confirming and keeping the cross-chain asset source; the transaction state membrane management module is used for cooperating with the two parties to jointly complete the issuance confirmation of the new asset.
in this embodiment, the destruction of the freezers ensures that the global volume of the asset can remain the same after the asset goes to another chain. The core effect of destroying the freezers is to keep the global total amount of the chain intact. The destroying freezer is provided with two core modules, namely an asset freezing module and an asset destroying module. The asset freezing module is used for freezing the assets of the chain when external new assets enter the chain, and ensuring that the total amount of the assets of the chain is maintained in an original state after the assets of the chain are removed; the asset destroying module is used for destroying the external assets when the external assets are transferred back, releasing the assets of the chain at the same time, and ensuring that the total amount of the assets of the chain is maintained as the original state when the external assets are transferred out.
the specific steps of this embodiment include the new asset cross-link exchange, the new asset transferred in circulation in this link, and the new asset transferred in transfer back to the original link, wherein the new asset cross-link exchange further includes the substeps of establishing a connection, confirming a transaction, and validating an asset, and the new asset transferred in transfer back to the original link also includes the substeps of establishing a connection, confirming a transaction, and validating an asset, which are specifically as follows:
(1) the new asset cross-chain exchange specifically comprises the following steps:
(1.1) establishing connection: submitting a cross-chain asset transfer transaction through a transaction manager, checking whether the A-chain has assets of the B-chain through an asset approver, when the A chain finds that the B chain assets exist, the processing flow of the third business scenario is adopted, when the A chain finds that the B chain assets do not exist, the A chain continuously checks whether the B chain configuration exists through the asset approver, when there is no B chain configuration, the initiator fills in the B chain configuration including the B chain asset code, the created node address, the scanning mode, the scanning path and the scanning port, the A chain analyzes the B chain configuration by the node sniffer with the Byzantine algorithm and initiates the detection, when the A chain can not find the B chain, or when all nodes of the B chain fail, ending the cross-chain transfer transaction, selecting a trusted node from the nodes of the B chain by the A chain through the network adapter, and establishing connection with the B chain after the trusted node of the B chain is found by the A chain;
(1.2) confirming the transaction: after the A chain is connected with the B chain, a B chain asset is created through an asset approver, the A chain checks whether the balance of an account and the handling fee are enough through a transaction manager, the A chain freezes own assets through a freezing destroyer and issues B chain temporary assets, the A chain forwards the transaction to the B chain through the transaction manager, the B chain receives the transaction through the transaction manager and checks the signature of the A chain transaction, the B chain checks whether the A chain asset exists through the asset approver, when the B chain finds that the A chain asset does not exist, the B chain acquires the access configuration of the A chain from the A chain through the asset approver, the B chain checks whether the transferred account is legal and the balance of the account and the handling fee are enough through the transaction manager, the B chain checks whether the transaction is confirmed on the A chain when the A chain finds that the A chain does not confirm the transaction through the transaction manager, finishing the transfer-in processing, after the chain B finds that the chain A confirms the transaction, freezing the assets of the chain B through a freezing destroyer, issuing the assets of the chain A, and sending the transaction confirmed by the chain B to the chain A through a transaction manager;
(1.3) asset validation: after the chain A receives the confirmation transaction, the frozen asset and the new asset are enabled to take effect through the freezing destroyer, when the chain A does not wait for the confirmation transaction sent by the chain B within a certain time period, the freezing destroyer actively initiates inquiry, when the chain A does not check the confirmation transaction on the chain B, the freezing destroyer cancels the temporarily frozen asset of the chain A, meanwhile, the chain B asset issued on the chain A generates the confirmation transaction when the chain A inquires data, and the chain A adds the received transaction or the transaction generated by the chain A into the block through the block forging device, so that the cross-chain exchange of the new asset is completed;
(2) the transferred new assets are circulated in the chain: submitting an asset transfer transaction through a transaction manager, checking whether the A chain has B chain assets through an asset approver, if so, further checking the legality of the B chain assets on the A chain through the asset approver, checking whether the residual quantity of the B chain assets on the A chain is enough and the self commission charge of the A chain is enough through the asset approver, logging the B chain assets into a new A chain address (or account) through the asset approver by the A chain, and driving the transaction into a block through a block forger by a block point of the A chain to finish the circulation of the transferred new assets in the chain;
(3) The transferred new assets are transferred back to the original chain again, and the method specifically comprises the following steps:
(3.1) establishing connection: by the transaction manager: submitting a cross-link asset transfer transaction, checking whether the A link has B link assets through an asset approver, if so, further checking the legality of the B link assets on the A link through the asset approver, checking whether the residual quantity of the B link assets on the A link is enough through the asset approver and whether the self commission charge of the A link is enough, configuring and accessing the B link by the B link network registered during the first transfer through a network adapter, selecting a trusted node from B link nodes through a node sniffer by a Byzantine algorithm, and establishing connection between the A link and the B link trusted node through the network adapter;
(3.2) confirming the transaction: the chain A temporarily destroys the chain B assets on the chain by a freezing destroyer, temporarily unfreezes the assets of the chain, after the chain A is destroyed and unfrozen, the transaction is forwarded to the chain B by a transaction manager, the chain B receives the transaction and analyzes the configuration by the transaction manager, and confirms the signature of the transaction sent by the chain A, the chain B confirms whether the chain A assets exist on the chain B by an asset approver, if yes, the chain A assets on the chain B are further checked by the asset approver to be sufficient, and the chain B self commission is sufficient, the chain B checks whether the transaction is confirmed on the chain A by initiating inquiry to the chain A by the transaction manager, when the chain B finds that the chain A does not confirm the transaction, the transfer processing is finished, and when the chain B finds that the chain A confirms the transaction, the processing is continued;
(3.3) asset validation: a chain B destroys assets of a chain A through a freezing destroyer and unfreezes assets of the chain B, the chain B sends transactions confirmed by transactions of the chain B to the chain A through the freezing destroyer, after the chain A receives the confirmed transactions, the temporarily unfrozen assets and the temporarily destroyed assets start to take effect through the freezing destroyer, when the chain A does not wait for the confirmed transactions sent by the chain B within a certain time period, inquiry is initiatively initiated, when the chain A does not check the confirmed transactions on the chain B, the chain A cancels the assets temporarily unfrozen by the freezing destroyer, simultaneously cancels the assets of the chain B destroyed on the chain A, when the chain A inquires data, the confirmed transactions are generated, and the chain A adds the received transactions or the transactions generated by the chain B into a block through a block forging device, so that cross-chain asset transfer is completed.
As shown in fig. 2, the system for performing asset circulation between various block chains includes a new asset cross-chain exchange module, in which a transferred new asset is transferred back to an original chain module again in the chain circulation module and the transferred new asset, and the new asset cross-chain exchange module is further divided into an establishment connection sub-module, a confirmation transaction sub-module and an asset validation sub-module;
the work flow of establishing the connection sub-module is as follows: submitting a cross-chain asset transfer transaction through a transaction manager, checking whether an A chain has a B chain asset through an asset approver, adopting a processing flow of a third middle service scene when the A chain finds that the B chain asset exists, continuously checking whether the B chain configuration exists through the asset approver when the A chain finds that the B chain asset does not exist, filling a B chain asset code, creating a node address, a scanning mode, a scanning path and a scanning port by a transaction initiator when the A chain finds that the B chain does not exist, analyzing the B chain configuration and initiating detection by a node sniffer through a Byzantine algorithm, finishing the cross-chain transfer transaction when the A chain cannot find the B chain or all nodes of the B chain fail, selecting a trusted node from the B chain nodes through a network adapter by the A chain, and establishing connection with the B chain after the trusted node of the B chain is found by the A chain;
The work flow of the transaction confirming submodule is as follows: after the A chain is connected with the B chain, a B chain asset is created through an asset approver, the A chain checks whether the balance of an account and the handling fee are enough through a transaction manager, the A chain freezes own assets through a freezing destroyer and issues B chain temporary assets, the A chain forwards the transaction to the B chain through the transaction manager, the B chain receives the transaction through the transaction manager and checks the signature of the A chain transaction, the B chain checks whether the A chain asset exists through the asset approver, when the B chain finds that the A chain asset does not exist, the B chain acquires the access configuration of the A chain from the A chain through the asset approver, the B chain checks whether the transferred account is legal and the balance of the account and the handling fee are enough through the transaction manager, the B chain checks whether the transaction is confirmed on the A chain when the A chain finds that the A chain does not confirm the transaction through the transaction manager, finishing the transfer-in processing, after the chain B finds that the chain A confirms the transaction, freezing the assets of the chain B through a freezing destroyer, issuing the assets of the chain A, and sending the transaction confirmed by the chain B to the chain A through a transaction manager;
the workflow of the asset validation submodule is as follows: after the chain A receives the confirmation transaction, the frozen asset and the new asset are enabled to take effect through the freezing destroyer, when the chain A does not wait for the confirmation transaction sent by the chain B within a certain time period, the freezing destroyer actively initiates inquiry, when the chain A does not check the confirmation transaction on the chain B, the freezing destroyer cancels the temporarily frozen asset of the chain A, meanwhile, the chain B asset issued on the chain A generates the confirmation transaction when the chain A inquires data, and the chain A adds the received transaction or the transaction generated by the chain A into the block through the block forging device, so that the cross-chain exchange of the new asset is completed;
The work flow of the transferred new assets in the chain circulation module is as follows: submitting an asset transfer transaction through a transaction manager, checking whether the A chain has B chain assets through an asset approver, if so, further checking the legality of the B chain assets on the A chain through the asset approver, checking whether the residual quantity of the B chain assets on the A chain is enough and the self commission charge of the A chain is enough through the asset approver, logging the B chain assets into a new A chain address (or account) through the asset approver by the A chain, and driving the transaction into a block through a block forger by a block point of the A chain to finish the circulation of the transferred new assets in the chain;
The transferred new asset is transferred back to the original chain module again and is further divided into a connection establishing sub-module, a transaction confirming sub-module and an asset validation sub-module;
the work flow of establishing the connection sub-module is as follows: submitting a cross-link asset transfer transaction, checking whether the A link has B link assets through an asset approver, if so, further checking the legality of the B link assets on the A link through the asset approver, checking whether the residual quantity of the B link assets on the A link is enough through the asset approver and whether the self commission charge of the A link is enough, configuring and accessing the B link by the B link network registered during the first transfer through a network adapter, selecting a trusted node from the B link nodes through a node sniffer by a Byzantine algorithm, and establishing connection between the A link and the B link trusted node through the network adapter;
The work flow of the transaction confirming submodule is as follows: the chain A temporarily destroys the chain B assets on the chain by a freezing destroyer, temporarily unfreezes the assets of the chain, after the chain A is destroyed and unfrozen, the transaction is forwarded to the chain B by a transaction manager, the chain B receives the transaction and analyzes the configuration by the transaction manager, and confirms the signature of the transaction sent by the chain A, the chain B confirms whether the chain A assets exist on the chain B by an asset approver, if yes, the chain A assets on the chain B are further checked by the asset approver to be sufficient, and the chain B self commission is sufficient, the chain B checks whether the transaction is confirmed on the chain A by initiating inquiry to the chain A by the transaction manager, when the chain B finds that the chain A does not confirm the transaction, the transfer processing is finished, and when the chain B finds that the chain A confirms the transaction, the processing is continued;
The workflow of the asset validation submodule is as follows: a chain B destroys assets of a chain A through a freezing destroyer and unfreezes assets of the chain B, the chain B sends transactions confirmed by transactions of the chain B to the chain A through the freezing destroyer, after the chain A receives the confirmed transactions, the temporarily unfrozen assets and the temporarily destroyed assets start to take effect through the freezing destroyer, when the chain A does not wait for the confirmed transactions sent by the chain B within a certain time period, inquiry is initiatively initiated, when the chain A does not check the confirmed transactions on the chain B, the chain A cancels the assets temporarily unfrozen by the freezing destroyer, simultaneously cancels the assets of the chain B destroyed on the chain A, when the chain A inquires data, the confirmed transactions are generated, and the chain A adds the received transactions or the transactions generated by the chain B into a block through a block forging device, so that cross-chain asset transfer is completed.

Claims (7)

1. A method of asset circulation between a plurality of blockchains, comprising the steps of:
(1) The new asset cross-chain exchange specifically comprises the following steps:
(1.1) establishing connection: submitting a cross-chain asset transfer transaction through a transaction manager, checking whether an A chain has a B chain asset through an asset approver, adopting a processing flow of a third service scene when the A chain finds that the B chain asset exists, continuously checking whether the B chain configuration exists through the asset approver when the A chain finds that the B chain asset does not exist, filling the B chain configuration by a transaction initiator when the B chain configuration does not exist, analyzing the B chain configuration and initiating detection through a node sniffer by the A chain, finishing the cross-chain transfer transaction when the A chain cannot find the B chain or all nodes of the B chain fail, selecting a trusted node from the B chain nodes through a network adapter by the A chain, and establishing connection with the B chain after finding the trusted node of the B chain by the A chain;
(1.2) confirming the transaction: after the A chain is connected with the B chain, a B chain asset is created through an asset approver, the A chain checks whether the balance of an account and the handling fee are enough through a transaction manager, the A chain freezes own assets through a freezing destroyer and issues B chain temporary assets, the A chain forwards the transaction to the B chain through the transaction manager, the B chain receives the transaction through the transaction manager and checks the signature of the A chain transaction, the B chain checks whether the A chain asset exists through the asset approver, when the B chain finds that the A chain asset does not exist, the B chain acquires the access configuration of the A chain from the A chain through the asset approver, the B chain checks whether the transferred account is legal and the balance of the account and the handling fee are enough through the transaction manager, the B chain checks whether the transaction is confirmed on the A chain when the A chain finds that the A chain does not confirm the transaction through the transaction manager, finishing the transfer-in processing, after the chain B finds that the chain A confirms the transaction, freezing the assets of the chain B through a freezing destroyer, issuing the assets of the chain A, and sending the transaction confirmed by the chain B to the chain A through a transaction manager;
(1.3) asset validation: after the chain A receives the confirmation transaction, the frozen asset and the new asset are enabled to take effect through the freezing destroyer, when the chain A does not wait for the confirmation transaction sent by the chain B within a certain time period, the freezing destroyer actively initiates inquiry, when the chain A does not check the confirmation transaction on the chain B, the freezing destroyer cancels the temporarily frozen asset of the chain A, meanwhile, the chain B asset issued on the chain A generates the confirmation transaction when the chain A inquires data, and the chain A adds the received transaction or the transaction generated by the chain A into the block through the block forging device, so that the cross-chain exchange of the new asset is completed;
(2) The transferred new assets are circulated in the chain: submitting an asset transfer transaction through a transaction manager, checking whether the A chain has B chain assets through an asset approver, if so, further checking the legality of the B chain assets on the A chain through the asset approver, checking whether the residual quantity of the B chain assets on the A chain is enough and the self commission charge of the A chain is enough through the asset approver, recording the B chain assets into a new A chain address through the A chain through the asset approver, and driving the transaction into a block through a block forger by an A chain point to finish the circulation of transferred new assets in the chain;
(3) the transferred new assets are transferred back to the original chain again, and the method specifically comprises the following steps:
(3.1) establishing connection: by the transaction manager: submitting a cross-chain asset transfer transaction, checking whether the A chain has B chain assets through an asset approver, if so, further checking the legality of the B chain assets on the A chain through the asset approver, checking whether the residual quantity of the B chain assets on the A chain is enough and the self commission charge of the A chain is enough through the asset approver, configuring and accessing the B chain through a B chain network registered when the A chain is switched in for the first time through a network adapter, selecting a trusted node from B chain nodes through a node sniffer by the A chain, and establishing connection between the A chain and the B chain trusted node through the network adapter;
(3.2) confirming the transaction: the chain A temporarily destroys the chain B assets on the chain by a freezing destroyer, temporarily unfreezes the assets of the chain, after the chain A is destroyed and unfrozen, the transaction is forwarded to the chain B by a transaction manager, the chain B receives the transaction and analyzes the configuration by the transaction manager, and confirms the signature of the transaction sent by the chain A, the chain B confirms whether the chain A assets exist on the chain B by an asset approver, if yes, the chain A assets on the chain B are further checked by the asset approver to be sufficient, and the chain B self commission is sufficient, the chain B checks whether the transaction is confirmed on the chain A by initiating inquiry to the chain A by the transaction manager, when the chain B finds that the chain A does not confirm the transaction, the transfer processing is finished, and when the chain B finds that the chain A confirms the transaction, the processing is continued;
(3.3) asset validation: a chain B destroys assets of a chain A through a freezing destroyer and unfreezes assets of the chain B, the chain B sends transactions confirmed by transactions of the chain B to the chain A through the freezing destroyer, after the chain A receives the confirmed transactions, the temporarily unfrozen assets and the temporarily destroyed assets start to take effect through the freezing destroyer, when the chain A does not wait for the confirmed transactions sent by the chain B within a certain time period, inquiry is initiatively initiated, when the chain A does not check the confirmed transactions on the chain B, the chain A cancels the assets temporarily unfrozen by the freezing destroyer, simultaneously cancels the assets of the chain B destroyed on the chain A, when the chain A inquires data, the confirmed transactions are generated, and the chain A adds the received transactions or the transactions generated by the chain B into a block through a block forging device, so that cross-chain asset transfer is completed.
2. the method as claimed in claim 1, wherein the transaction initiator fills in the B-chain configuration in step (1.1) including a B-chain asset code, a founder node address, a scan mode, a scan path, and a scan port.
3. the method of asset transition between block chains of claim, wherein in step (1.1) the A-chain uses a Byzantine consensus algorithm through the network adapter to select trusted nodes from the B-chain link points.
4. the method of asset communication between various blockchains according to claim, wherein in step (3.1) the A-chain uses a Byzantine consensus algorithm to select trusted nodes from the B-chain nodes by means of a node sniffer.
5. a system for carrying out asset circulation among various block chains comprises a new asset cross-chain exchange module, wherein a transferred new asset is transferred back to an original chain module again in the chain circulation module and the transferred new asset, and the new asset cross-chain exchange module is further divided into an establishing connection sub-module, a transaction confirming sub-module and an asset effectiveness sub-module;
The work flow of establishing the connection sub-module is as follows: submitting a cross-chain asset transfer transaction through a transaction manager, checking whether an A chain has a B chain asset through an asset approver, adopting a processing flow of a third medium service scene when the A chain finds that the B chain asset exists, continuously checking whether the B chain configuration exists through the asset approver when the A chain finds that the B chain asset does not exist, filling the B chain configuration by a transaction initiator when the B chain configuration does not exist, analyzing the B chain configuration and initiating detection through a node sniffer by the A chain, finishing the cross-chain transfer transaction when the A chain cannot find the B chain or all nodes of the B chain fail, selecting a trusted node from the B chain nodes through a network adapter by the A chain, and establishing connection with the B chain after the A chain finds the trusted node of the B chain;
the work flow of the transaction confirming submodule is as follows: after the A chain is connected with the B chain, a B chain asset is created through an asset approver, the A chain checks whether the balance of an account and the handling fee are enough through a transaction manager, the A chain freezes own assets through a freezing destroyer and issues B chain temporary assets, the A chain forwards the transaction to the B chain through the transaction manager, the B chain receives the transaction through the transaction manager and checks the signature of the A chain transaction, the B chain checks whether the A chain asset exists through the asset approver, when the B chain finds that the A chain asset does not exist, the B chain acquires the access configuration of the A chain from the A chain through the asset approver, the B chain checks whether the transferred account is legal and the balance of the account and the handling fee are enough through the transaction manager, the B chain checks whether the transaction is confirmed on the A chain when the A chain finds that the A chain does not confirm the transaction through the transaction manager, finishing the transfer-in processing, after the chain B finds that the chain A confirms the transaction, freezing the assets of the chain B through a freezing destroyer, issuing the assets of the chain A, and sending the transaction confirmed by the chain B to the chain A through a transaction manager;
the workflow of the asset validation submodule is as follows: after the chain A receives the confirmation transaction, the frozen asset and the new asset are enabled to take effect through the freezing destroyer, when the chain A does not wait for the confirmation transaction sent by the chain B within a certain time period, the freezing destroyer actively initiates inquiry, when the chain A does not check the confirmation transaction on the chain B, the freezing destroyer cancels the temporarily frozen asset of the chain A, meanwhile, the chain B asset issued on the chain A generates the confirmation transaction when the chain A inquires data, and the chain A adds the received transaction or the transaction generated by the chain A into the block through the block forging device, so that the cross-chain exchange of the new asset is completed;
The work flow of the transferred new assets in the chain circulation module is as follows: submitting an asset transfer transaction through a transaction manager, checking whether the A chain has B chain assets through an asset approver, if so, further checking the legality of the B chain assets on the A chain through the asset approver, checking whether the residual quantity of the B chain assets on the A chain is enough and the self commission charge of the A chain is enough through the asset approver, recording the B chain assets into a new A chain address through the A chain through the asset approver, and driving the transaction into a block through a block forger by an A chain point to finish the circulation of transferred new assets in the chain;
the transferred new asset is transferred back to the original chain module again and is further divided into a connection establishing sub-module, a transaction confirming sub-module and an asset validation sub-module;
The work flow of establishing the connection sub-module is as follows: submitting a cross-link asset transfer transaction, checking whether the A link has B link assets through an asset approver, if so, further checking the legality of the B link assets on the A link through the asset approver, checking whether the residual quantity of the B link assets on the A link is enough through the asset approver and whether the self commission charge of the A link is enough, configuring and accessing the B link by the A link through a network adapter by using a B link network registered during first transfer, selecting a trusted node from B link nodes through a node sniffer by the A link, and establishing connection between the A link and the B link trusted node through the network adapter;
the work flow of the transaction confirming submodule is as follows: the chain A temporarily destroys the chain B assets on the chain by a freezing destroyer, temporarily unfreezes the assets of the chain, after the chain A is destroyed and unfrozen, the transaction is forwarded to the chain B by a transaction manager, the chain B receives the transaction and analyzes the configuration by the transaction manager, and confirms the signature of the transaction sent by the chain A, the chain B confirms whether the chain A assets exist on the chain B by an asset approver, if yes, the chain A assets on the chain B are further checked by the asset approver to be sufficient, and the chain B self commission is sufficient, the chain B checks whether the transaction is confirmed on the chain A by initiating inquiry to the chain A by the transaction manager, when the chain B finds that the chain A does not confirm the transaction, the transfer processing is finished, and when the chain B finds that the chain A confirms the transaction, the processing is continued;
The workflow of the asset validation submodule is as follows: a chain B destroys assets of a chain A through a freezing destroyer and unfreezes assets of the chain B, the chain B sends transactions confirmed by transactions of the chain B to the chain A through the freezing destroyer, after the chain A receives the confirmed transactions, the temporarily unfrozen assets and the temporarily destroyed assets start to take effect through the freezing destroyer, when the chain A does not wait for the confirmed transactions sent by the chain B within a certain time period, inquiry is initiatively initiated, when the chain A does not check the confirmed transactions on the chain B, the chain A cancels the assets temporarily unfrozen by the freezing destroyer, simultaneously cancels the assets of the chain B destroyed on the chain A, when the chain A inquires data, the confirmed transactions are generated, and the chain A adds the received transactions or the transactions generated by the chain B into a block through a block forging device, so that cross-chain asset transfer is completed.
6. the system as claimed in claim 5, wherein the transaction initiator filling in the B-chain configuration in the connection-establishing submodule of the new asset cross-chain switching module includes a B-chain asset code, an authored node address, a scanning mode, a scanning path, and a scanning port.
7. The system according to claim 5, wherein the connection establishment submodule of the new asset cross-link switching module is configured to select a trusted node from the B-link nodes by the a-link through the network adaptor using a byzantine consensus algorithm.
CN201810558436.0A 2018-06-01 2018-06-01 Method and system for carrying out asset circulation among various block chains Active CN110555765B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810558436.0A CN110555765B (en) 2018-06-01 2018-06-01 Method and system for carrying out asset circulation among various block chains

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810558436.0A CN110555765B (en) 2018-06-01 2018-06-01 Method and system for carrying out asset circulation among various block chains

Publications (2)

Publication Number Publication Date
CN110555765A true CN110555765A (en) 2019-12-10
CN110555765B CN110555765B (en) 2021-12-28

Family

ID=68734798

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810558436.0A Active CN110555765B (en) 2018-06-01 2018-06-01 Method and system for carrying out asset circulation among various block chains

Country Status (1)

Country Link
CN (1) CN110555765B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111311209A (en) * 2020-02-03 2020-06-19 腾讯科技(深圳)有限公司 Cross-block-chain data processing method, device, equipment and computer storage medium
CN111464536A (en) * 2020-03-31 2020-07-28 中国联合网络通信集团有限公司 Block chain cross-chain method and device
CN112258184A (en) * 2020-10-28 2021-01-22 成都质数斯达克科技有限公司 Method and device for freezing area block chain network, electronic equipment and readable storage medium
CN113379423A (en) * 2020-03-10 2021-09-10 本无链科技(深圳)有限公司 Block chain evolution method and system

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106447309A (en) * 2016-11-13 2017-02-22 杭州复杂美科技有限公司 Across-chain transaction of source chain and lateral chain
CN106780032A (en) * 2016-12-16 2017-05-31 杭州云象网络技术有限公司 A kind of block chain interchain assets transfer method under multichain scene
WO2017145017A1 (en) * 2016-02-23 2017-08-31 nChain Holdings Limited Methods and systems for the efficient transfer of entities on a blockchain
CN107392608A (en) * 2017-07-11 2017-11-24 北京博晨技术有限公司 Digital asset method of commerce and block catenary system based on block catenary system
CN107679857A (en) * 2017-10-10 2018-02-09 马晶瑶 Across the chain method of commerce and storage medium of block chain
CN107742210A (en) * 2017-10-13 2018-02-27 布比(北京)网络技术有限公司 Across the chain fund transfer system and method for a kind of different blocks interchain
CN107909475A (en) * 2017-07-17 2018-04-13 杭州复杂美科技有限公司 A kind of across chain transaction between different license chains

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017145017A1 (en) * 2016-02-23 2017-08-31 nChain Holdings Limited Methods and systems for the efficient transfer of entities on a blockchain
CN106447309A (en) * 2016-11-13 2017-02-22 杭州复杂美科技有限公司 Across-chain transaction of source chain and lateral chain
CN106780032A (en) * 2016-12-16 2017-05-31 杭州云象网络技术有限公司 A kind of block chain interchain assets transfer method under multichain scene
CN107392608A (en) * 2017-07-11 2017-11-24 北京博晨技术有限公司 Digital asset method of commerce and block catenary system based on block catenary system
CN107909475A (en) * 2017-07-17 2018-04-13 杭州复杂美科技有限公司 A kind of across chain transaction between different license chains
CN107679857A (en) * 2017-10-10 2018-02-09 马晶瑶 Across the chain method of commerce and storage medium of block chain
CN107742210A (en) * 2017-10-13 2018-02-27 布比(北京)网络技术有限公司 Across the chain fund transfer system and method for a kind of different blocks interchain

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111311209A (en) * 2020-02-03 2020-06-19 腾讯科技(深圳)有限公司 Cross-block-chain data processing method, device, equipment and computer storage medium
CN113379423A (en) * 2020-03-10 2021-09-10 本无链科技(深圳)有限公司 Block chain evolution method and system
CN113379423B (en) * 2020-03-10 2024-02-13 本无链科技(深圳)有限公司 Block chain evolution method and system
CN111464536A (en) * 2020-03-31 2020-07-28 中国联合网络通信集团有限公司 Block chain cross-chain method and device
CN111464536B (en) * 2020-03-31 2022-06-07 中国联合网络通信集团有限公司 Block chain cross-chain method and device
CN112258184A (en) * 2020-10-28 2021-01-22 成都质数斯达克科技有限公司 Method and device for freezing area block chain network, electronic equipment and readable storage medium

Also Published As

Publication number Publication date
CN110555765B (en) 2021-12-28

Similar Documents

Publication Publication Date Title
CN110555765B (en) Method and system for carrying out asset circulation among various block chains
CN108776929A (en) Bill processing method, system based on block chain database and readable storage medium storing program for executing
CN108320228A (en) Transregional piece of chain transaction in assets method, platform, equipment and storage medium
CN112994892B (en) Cross-chain interaction method, device, system and electronic equipment
CN107301536A (en) Resource transfers method and device
CN111046437A (en) Block chain parallel transaction processing method and system based on isomorphic multi-chain and terminal
CN108475457A (en) Information trading infrastructure
CN102136967B (en) Method, device and system for managing service state
CN104348792A (en) Data processing method, device and system
CN108009818B (en) Online payment method and system based on distributed network
CN101964093B (en) Invoice Number method of payment, payment platform and payment system
CN108022090A (en) Virtual account management method, equipment, system and readable storage medium storing program for executing
EP4037347B1 (en) Communication methods and apparatuses for vehicle, and electronic device
CN110264169A (en) A kind of payment method for routing, device, equipment and readable storage medium storing program for executing
CN101383814B (en) Device and method implementing data access based on connection pool
CN109615509A (en) A kind of financial risks appraisal procedure and system
CN104899731A (en) Mobile payment data transmission method, mobile payment data transmission device and mobile payment data transmission system
CN106022773A (en) Method of binding IC card and bank card together
CN111478775A (en) Interactive aggregated signature method, equipment and storage medium
CN115310920A (en) Management method, device and storage medium for cross-chain interoperation management based on governance chain
Harris Improving telecom industry processes using ordered transactions in hyperledger fabric
CN112581130A (en) Cross-chain transaction method based on multi-chain interconnection
CN114912856B (en) Flight simulator maintenance method based on block chain
US20230030673A1 (en) Charging Authentication Method and Apparatus
CN115865705A (en) Multi-party federal learning system, method, equipment and medium based on supervision mechanism

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
TA01 Transfer of patent application right

Effective date of registration: 20210305

Address after: Room 2201, 703c, Desai science and technology building, 9789 Shennan Avenue, high tech Zone community, Yuehai street, Nanshan District, Shenzhen, Guangdong 518000

Applicant after: Benchainless Technology (Shenzhen) Co.,Ltd.

Address before: 361000 unit 11, 201, building B, 86 Haijing Road, Xiamen area, China (Fujian) pilot Free Trade Zone, Xiamen City, Fujian Province

Applicant before: XIAMEN INSTINCT BLOCKCHAIN TECHNOLOGY Co.,Ltd.

TA01 Transfer of patent application right
GR01 Patent grant
GR01 Patent grant