CN112070499A - Asset and data chain crossing method and system based on block chain - Google Patents

Asset and data chain crossing method and system based on block chain Download PDF

Info

Publication number
CN112070499A
CN112070499A CN202010960604.6A CN202010960604A CN112070499A CN 112070499 A CN112070499 A CN 112070499A CN 202010960604 A CN202010960604 A CN 202010960604A CN 112070499 A CN112070499 A CN 112070499A
Authority
CN
China
Prior art keywords
chain
transaction
data
asset
transaction information
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
CN202010960604.6A
Other languages
Chinese (zh)
Other versions
CN112070499B (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.)
Wealedger Network Technologies Co ltd
Tianjin Polytechnic University
Tianjin University of Technology
Original Assignee
Wealedger Network Technologies Co ltd
Tianjin Polytechnic University
Tianjin University of Technology
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 Wealedger Network Technologies Co ltd, Tianjin Polytechnic University, Tianjin University of Technology filed Critical Wealedger Network Technologies Co ltd
Priority to CN202010960604.6A priority Critical patent/CN112070499B/en
Publication of CN112070499A publication Critical patent/CN112070499A/en
Application granted granted Critical
Publication of CN112070499B publication Critical patent/CN112070499B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof
    • G06Q20/382Payment protocols; Details thereof insuring higher security of transaction
    • G06Q20/3825Use of electronic signatures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/04Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange

Landscapes

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

Abstract

The invention discloses an asset and data cross-link method and system based on a block chain. The asset cross-chain method based on the block chain comprises the following steps: the relay link acquires asset transaction information; adding asset transaction information by a plurality of nodes in a relay chain according to a cross-chain contract, and determining a node which is firstly added with successful asset transaction information as a first execution trigger node; the first execution trigger node creates an address for conducting an asset transaction to the second blockchain; performing asset transaction signature operation on other nodes except the first execution trigger node in the relay chain according to the address for performing asset transaction on the second blockchain to obtain a first multi-signature address; the first execution trigger node conducts transaction broadcasting to the second blockchain according to the first multi-signature address and the asset transaction information, and meanwhile receives an instruction of completing transaction confirmation of the second blockchain, so that asset transfer can be safely and conveniently achieved. By adopting the method and the system, the asset transfer, the data transfer and the mutual access among chains can be safely and conveniently realized.

Description

Asset and data chain crossing method and system based on block chain
Technical Field
The invention relates to the technical field of block chains, in particular to an asset and data cross-chain method and system based on a block chain.
Background
The block chain is a general digital account book, the account book circulates in a decentralized network and plays a core role, and the block chain is an innovative application mode of a new generation technology in the internet era. Among the problems faced by blockchains, the interoperability between blockchains greatly limits the application space of blockchains. No matter for public chain or private chain, the cross-chain technology is the key for realizing value internet, and is a good medicine for saving the block chain from a dispersed island, and is a bridge for outwards expanding and connecting the block chain.
At present, the existing chain-crossing technology simultaneously realizes asset chain crossing, data chain crossing and mutual calling among chains, and is extremely difficult. For example: the assets cannot be transferred to the chain B when the assets cross the chain; the data of the A chain cannot be transferred to the B chain when the data is across the chain; the B-chain related data cannot be accessed from the a-chain when called between chains. Therefore, how to implement the resource and data cross-linking of the blockchain is an urgent problem to be solved.
Disclosure of Invention
The invention aims to provide an asset and data cross-link method and system based on a block chain, which can safely and conveniently realize asset transfer, data transfer and mutual access among chains.
In order to achieve the purpose, the invention provides the following scheme:
a blockchain-based asset chaining method comprising:
the relay link acquires asset transaction information; the asset transaction information is the asset transaction information to be transferred from the first blockchain to the second blockchain;
adding the asset transaction information by a plurality of nodes in the relay chain according to a cross-chain contract, and determining a node which is firstly added with the asset transaction information successfully as a first execution trigger node;
the first execution trigger node creates an address for conducting an asset transaction to the second blockchain;
performing asset transaction signature operation on other nodes except the first execution trigger node in the relay chain according to the address for performing asset transaction on the second blockchain to obtain a first multi-signature address;
and the first execution trigger node broadcasts the transaction to the second blockchain according to the first multi-signature address and the asset transaction information, and receives an instruction of confirming that the transaction is completed by the second blockchain.
Optionally, the adding, by a plurality of nodes in the relay chain, the asset transaction information according to a cross-link contract, and determining a node to which the asset transaction information is added first as a first execution trigger node, before further including:
and the node of the relay chain sequentially filters the asset transaction information and judges whether the asset transaction information accords with a cross-chain rule, so that the filtered asset transaction information which accords with the cross-chain rule is obtained.
The invention also provides an asset chain-crossing system based on the block chain, which comprises the following components:
the asset transaction information acquisition module is used for realizing the acquisition of asset transaction information by the relay link; the asset transaction information is the asset transaction information to be transferred from the first blockchain to the second blockchain;
the first execution trigger node determining module is used for adding the asset transaction information to a plurality of nodes in the relay chain according to a cross-chain contract and determining the node which is added with the asset transaction information successfully firstly as a first execution trigger node;
a first address creation module, configured to enable the first execution trigger node to create an address for performing an asset transaction to the second blockchain;
the first signature module is used for realizing that other nodes except the first execution trigger node in the relay chain carry out asset transaction signature operation according to the address for carrying out asset transaction to the second block chain to obtain a first multi-signature address;
and the first transaction broadcasting module is used for realizing that the first execution trigger node performs transaction broadcasting to the second blockchain according to the first multi-signature address and the asset transaction information, and receiving a command for confirming that the second blockchain completes transaction.
Optionally, the method further includes:
and the first preprocessing module is used for sequentially filtering the asset transaction information by the node of the relay link and judging whether the asset transaction information accords with a cross-link rule, so as to obtain the filtered asset transaction information which accords with the cross-link rule.
The invention also provides a data cross-link method based on the block chain, which comprises the following steps:
the relay link acquires data transaction information; the data transaction information is to be transferred from the first block chain to the second block chain;
adding the data transaction information by a plurality of nodes in the relay chain according to a cross-chain contract, and determining a node which is firstly added with the data transaction information successfully as a second execution trigger node;
the second execution trigger node creates an address for data transaction to the second blockchain;
performing data transaction signature operation on other nodes except the second execution trigger node in the relay chain according to the address for performing data transaction on the second block chain to obtain a second multi-signature address;
and the second execution trigger node carries out transaction broadcasting to the second blockchain according to the second multi-signature address and the data transaction information, and simultaneously receives an instruction of completing transaction confirmation of the second blockchain.
Optionally, the adding, by a plurality of nodes in the relay chain, the data transaction information according to a cross-link contract, and determining a node to which the data transaction information is successfully added first as a second execution trigger node, before further including:
and the node of the relay chain sequentially filters the data transaction information and judges whether the data transaction information accords with a cross-chain rule, so that the filtered data transaction information which accords with the cross-chain rule is obtained.
The invention also provides a data cross-chain system based on the block chain, which comprises the following steps:
the data transaction information acquisition module is used for realizing the acquisition of data transaction information by the relay link; the data transaction information is to be transferred from the first block chain to the second block chain;
a second execution trigger node determination module, configured to add the data transaction information according to a cross-link contract by a plurality of nodes in the relay chain, and determine a node to which the data transaction information is successfully added first as a second execution trigger node;
a second address creating module, configured to enable the second execution trigger node to create an address for performing data transaction to the second blockchain;
the second signature module is used for realizing that other nodes except the second execution trigger node in the relay chain carry out data transaction signature operation according to the address for carrying out data transaction to the second block chain to obtain a second multi-signature address;
and the second transaction broadcasting module is used for realizing that the second execution trigger node performs transaction broadcasting to the second blockchain according to the second multi-signature address and the data transaction information, and receiving a command for completing transaction confirmation of the second blockchain.
Optionally, the method further includes:
and the second preprocessing module is used for sequentially filtering the data transaction information and judging whether the data transaction information conforms to a cross-link rule by the node of the relay link to obtain the filtered data transaction information conforming to the cross-link rule.
The invention also provides a data access method based on the block chain, which comprises the following steps:
the relay link acquires data access information; the data access information is data information of a first block chain to be accessed by a second block chain;
adding the data access information by a plurality of nodes in the relay chain according to a cross-link contract, and determining a node which is firstly added with the data access information successfully as a third execution trigger node;
the third execution trigger node acquires appointed transaction information corresponding to the data access information in the first block chain, and creates second data access information according to the appointed transaction information;
performing data transaction signature operation on other nodes except the third execution trigger node in the relay chain according to the second data access information to obtain a third multi-signature address;
and the third execution trigger node broadcasts the transaction to the second blockchain according to the third multi-signature address and the data access information, and receives an instruction of confirming the transaction completed by the second blockchain.
The invention also provides a data access system based on the block chain, which comprises:
the data access information acquisition module is used for realizing the acquisition of data access information by the relay link; the data access information is data information of a first block chain to be accessed by a second block chain;
a third execution trigger node determining module, configured to add the data access information according to a cross-link contract by a plurality of nodes in the relay chain, and determine a node to which the data access information is successfully added first as a third execution trigger node;
the second data access information creating module is used for enabling the third execution trigger node to acquire appointed transaction information corresponding to the data access information in the first block chain and creating second data access information according to the appointed transaction information;
a third address creating module, configured to implement that other nodes in the relay chain except the third execution trigger node perform data transaction signature operation according to the second data access information, so as to obtain a third multi-signature address;
and the third transaction broadcasting module is configured to implement that the third execution trigger node performs transaction broadcasting to the second blockchain according to the third multi-signature address and the data access information, and simultaneously receives a command for completing transaction confirmation by the second blockchain.
Compared with the prior art, the invention has the beneficial effects that:
the invention provides an asset cross-link method and system based on a block chain, wherein a relay chain acquires asset transaction information; adding asset transaction information by a plurality of nodes in a relay chain according to a cross-chain contract, and determining a node which is firstly added with successful asset transaction information as a first execution trigger node; the first execution trigger node creates an address for conducting an asset transaction to the second blockchain; performing asset transaction signature operation on other nodes except the first execution trigger node in the relay chain according to the address for performing asset transaction on the second blockchain to obtain a first multi-signature address; the first execution trigger node conducts transaction broadcasting to the second blockchain according to the first multi-signature address and the asset transaction information, and meanwhile receives an instruction of completing transaction confirmation of the second blockchain, so that asset transfer can be safely and conveniently achieved.
The invention provides a data cross-link method and a data cross-link system based on a block chain, wherein a relay chain acquires data transaction information; adding data transaction information by a plurality of nodes in the relay chain according to a cross-chain contract, and determining a node which is firstly added with successful data transaction information as a second execution trigger node; the second execution trigger node creates an address for data transaction to the second blockchain; performing data transaction signature operation on other nodes except the second execution trigger node in the relay chain according to the address for performing data transaction on the second block chain to obtain a second multi-signature address; and the second execution trigger node carries out transaction broadcasting to the second blockchain according to the second multi-signature address and the data transaction information, and simultaneously receives an instruction for completing transaction confirmation by the second blockchain, so that data transfer can be safely and conveniently realized.
The invention provides a data access method and a system based on a block chain, wherein a relay chain acquires data access information; adding data access information by a plurality of nodes in the relay chain according to the cross-chain contract, and determining the node which is firstly added with successful data access information as a third execution trigger node; the third execution trigger node acquires appointed transaction information corresponding to the data access information in the first block chain, and creates second data access information according to the appointed transaction information; performing data transaction signature operation on other nodes except the third execution trigger node in the relay chain according to the second data access information to obtain a third multi-signature address; and the third execution trigger node carries out transaction broadcasting to the second blockchain according to the third multi-signature address and the data access information, and simultaneously receives an instruction for completing transaction confirmation by the second blockchain, so that mutual access among the blockchains can be safely and conveniently realized.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings needed to be used in the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings without inventive exercise.
Fig. 1 is a schematic diagram of a relay chain cross-link scheme networking architecture in an embodiment of the present invention;
FIG. 2 is a flowchart of a block chain-based asset chaining method according to an embodiment of the present invention;
FIG. 3 is a block chain-based asset cross-chain system architecture diagram according to an embodiment of the present invention;
FIG. 4 is a flowchart of a block chain-based data chaining method according to a second embodiment of the present invention;
FIG. 5 is a block chain-based data cross-chain system structure diagram according to a second embodiment of the present invention;
fig. 6 is a flowchart of a data access method based on a block chain according to a third embodiment of the present invention;
fig. 7 is a block chain-based data access system structure diagram in the third embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The invention aims to provide an asset and data cross-link method and system based on a block chain, which can safely and conveniently realize asset transfer, data transfer and mutual access among chains.
In order to make the aforementioned objects, features and advantages of the present invention comprehensible, embodiments accompanied with figures are described in further detail below.
Example 1
Fig. 2 is a flowchart of a block chain-based asset chaining method in an embodiment of the present invention, and as shown in fig. 2, a block chain-based asset chaining method includes:
step 101: the relay link acquires asset transaction information; the asset transaction information is the asset transaction information to be transferred from the first blockchain to the second blockchain.
Step 102: and the node of the relay chain sequentially filters the asset transaction information and judges whether the asset transaction information accords with the cross-chain rule, so that the filtered asset transaction information which accords with the cross-chain rule is obtained.
Step 103: and adding asset transaction information by a plurality of nodes in the relay chain according to the cross-chain contract, and determining the node which is firstly added with successful asset transaction information as a first execution trigger node.
Step 104: the first execution triggers the node to create an address for conducting an asset transaction to the second blockchain.
Step 105: and other nodes except the first execution trigger node in the relay chain perform asset transaction signature operation according to the address for performing asset transaction to the second block chain to obtain a first multi-signature address.
Step 106: and the first execution trigger node broadcasts the transaction to the second blockchain according to the first multi-signature address and the asset transaction information, and receives an instruction of confirming that the transaction is completed by the second blockchain.
FIG. 3 is a block chain-based asset cross-chain system architecture diagram in an embodiment of the present invention. As shown in fig. 3, a blockchain-based asset cross-chain system includes:
an asset transaction information acquisition module 201, configured to implement a relay link to acquire asset transaction information; the asset transaction information is the asset transaction information to be transferred from the first blockchain to the second blockchain.
The first preprocessing module 202 is configured to filter the asset transaction information in sequence by the node of the relay link and determine whether the asset transaction information meets the cross-link rule, so as to obtain the filtered asset transaction information meeting the cross-link rule.
The first execution trigger node determining module 203 is configured to add asset transaction information according to a cross-link contract by a plurality of nodes in the relay chain, and determine a node to which successful asset transaction information is added first as a first execution trigger node.
A first address creation module 204, configured to enable the first execution trigger node to create an address for conducting an asset transaction to the second blockchain.
The first signature module 205 is configured to implement that other nodes in the relay chain except the first execution trigger node perform asset transaction signature operation according to an address for performing asset transaction to the second blockchain, so as to obtain a first multi-signature address.
The first transaction broadcasting module 206 is configured to implement that the first execution trigger node performs transaction broadcasting to the second blockchain according to the first multi-signature address and the asset transaction information, and simultaneously receives an instruction for completing transaction confirmation by the second blockchain.
Specifically, as shown in fig. 1:
someone transfers 30 token-xs to the mAddrA multi-signature address of the relay chain in the a chain, with the transfer specified in transaction Ta to the B chain YYYYYYYYYYY address.
Any node of the relay chain participating in generation of the multi-signature address mADDrA receives the transaction Ta (the transaction is confirmed by the network), the transaction Ta is submitted to a cross-chain rule engine for filtering, the cross-chain rule is met, the engine drives the relay chain node to call a cross-chain service contract (a source chain + a source transaction id + a source address, a destination chain, a destination address and the like), and the relay chain node participates in cross-chain trigger node competition.
Multiple relay chain nodes can compete to execute cross-chain transaction, and the execution serial characteristic is called by using a relay chain cross-chain service contract, so that only one node can be ensured to become a cross-chain (the node which adds the cross-chain transaction to the cross-chain contract state at first) transaction execution trigger node (exeNode).
The node exeNode confirmed as the transaction execution trigger node firstly creates a transaction Tb in which the mAddrB address in a B chain transfers 30 tokens-X (cross-chain transfer transaction commission may be charged in actual operation, and the tokens-X of the B chain can be generated in a pre-generation/temporary generation mode) to the B chain YYYYYYYYYYY address, and sequentially calls signature contracts of other 4 nodes to complete the multi-signature action of the transaction Tb.
And after the transaction trigger node exeNode obtains the transfer transaction Tb of the multi-signature address which finishes the signature, broadcasting the transaction to the B chain.
After the transaction Tb is confirmed by the B chain, the transaction trigger node exeNode calls a cross-chain service contract, and writes transaction information (chain information, transaction id, blocks and the like) in the B chain into the cross-chain service contract to complete the whole cross-chain service.
Example 2
Fig. 4 is a flowchart of a block chain-based data chaining method in an embodiment of the present invention, and as shown in fig. 4, a block chain-based data chaining method includes:
step 301: the relay link acquires data transaction information; the data transaction information is data transaction information to be transferred from the first blockchain to the second blockchain.
Step 302: and the node of the relay chain sequentially filters the data transaction information and judges whether the data transaction information accords with the cross-chain rule, so that the filtered data transaction information which accords with the cross-chain rule is obtained.
Step 303: and adding data transaction information by a plurality of nodes in the relay chain according to the cross-chain contract, and determining the node which is firstly added with successful data transaction information as a second execution trigger node.
Step 304: the second execution triggers the node to create an address for data traffic to the second blockchain.
Step 305: and other nodes except the second execution trigger node in the relay chain carry out data transaction signature operation according to the address for carrying out data transaction to the second block chain, so as to obtain a second multi-signature address.
Step 306: and the second execution trigger node carries out transaction broadcasting to the second blockchain according to the second multi-signature address and the data transaction information, and simultaneously receives an instruction for completing transaction confirmation of the second blockchain.
FIG. 5 is a block chain-based data cross-chain system structure diagram according to an embodiment of the present invention. As shown in fig. 5, a block chain based data cross-chain system includes:
a data transaction information obtaining module 401, configured to implement that the relay link obtains data transaction information; the data transaction information is data transaction information to be transferred from the first blockchain to the second blockchain.
The second preprocessing module 402 is configured to filter the data transaction information in sequence by the node of the relay link and determine whether the data transaction information meets the cross-link rule, so as to obtain filtered data transaction information meeting the cross-link rule.
A second execution trigger node determining module 403, configured to add data transaction information according to a cross-link contract by multiple nodes in the relay chain, and determine a node to which successful data transaction information is added first as a second execution trigger node.
A second address creating module 404, configured to enable the second execution trigger node to create an address for performing data transaction to the second blockchain.
The second signature module 405 is configured to implement that other nodes in the relay chain except the second execution trigger node perform data transaction signature operation according to the address for performing data transaction to the second blockchain, so as to obtain a second multi-signature address.
And a second transaction broadcasting module 406, configured to implement that the second execution trigger node performs transaction broadcasting to the second blockchain according to the second multi-signature address and the data transaction information, and simultaneously receives an instruction that the second blockchain completes transaction confirmation.
Specifically, as shown in fig. 1:
before the evidence storing data is linked up, the data is determined to be cross-link data, the mADDrA address is added into the output address when the write transaction Ta is established, and the transaction Ta is broadcasted in the A link.
Any node of the relay chain participating in generation of the multi-signature address mADDrA receives the transaction Ta (the transaction is confirmed by the network), the transaction Ta is submitted to a cross-chain rule engine for filtering, the cross-chain rule is met, the engine drives the relay chain node to call a cross-chain service contract (source chain + source transaction id + source address, data information is written in and the like), and the relay chain node participates in cross-chain trigger node competition.
Multiple relay chain nodes can compete to execute cross-chain transaction, and the execution serial characteristic is called by using a relay chain cross-chain service contract, so that only one node can be ensured to become a cross-chain (the node which adds the cross-chain transaction to the cross-chain contract state at first) transaction execution trigger node (exeNode).
The node exeNode confirmed as the transaction execution trigger node firstly creates a transaction Tb (Tb contains all key contents of the transaction Ta) in which the mAddrB address in a B chain writes data into the B chain, and sequentially calls signature contracts of other 4 nodes to complete multi-signature action of the transaction Tb.
And after the transaction trigger node exeNode obtains the transfer transaction Tb of the multi-signature address which finishes the signature, broadcasting the transaction to the B chain.
After the transaction Tb is confirmed by the B chain, the transaction trigger node exeNode calls a cross-chain service contract, and writes transaction information (chain information, transaction id, blocks and the like) in the B chain into the cross-chain service contract to complete the whole cross-chain service.
Example 3
Fig. 6 is a flowchart of a data access method based on a block chain in an embodiment of the present invention, and as shown in fig. 6, a data access method based on a block chain includes:
step 501: the relay link acquires data access information; the data access information is data information to be accessed by the second blockchain to the first blockchain.
Step 502: and adding data access information by a plurality of nodes in the relay chain according to the cross-chain contract, and determining the node which is firstly added with successful data access information as a third execution trigger node.
Step 503: and the third execution trigger node acquires the appointed transaction information corresponding to the data access information in the first block chain and creates second data access information according to the appointed transaction information.
Step 504: and performing data transaction signature operation on other nodes except the third execution trigger node in the relay chain according to the second data access information to obtain a third multi-signature address.
Step 505: and the third execution trigger node carries out transaction broadcasting to the second blockchain according to the third multi-signature address and the data access information, and simultaneously receives an instruction for completing transaction confirmation of the second blockchain.
Fig. 7 is a block chain-based data access system structure diagram in an embodiment of the present invention. As shown in fig. 7, a block chain based data access system includes:
a data access information obtaining module 601, configured to implement a relay link to obtain data access information; the data access information is data information to be accessed by the second blockchain to the first blockchain.
A third execution trigger node determining module 602, configured to add data access information according to a cross-link contract by multiple nodes in a relay chain, and determine a node to which successful data access information is first added as a third execution trigger node.
The second data access information creating module 603 is configured to enable the third execution trigger node to obtain, in the first block chain, the designated transaction information corresponding to the data access information, and create, according to the designated transaction information, the second data access information.
And a third address creating module 604, configured to implement that other nodes in the relay chain except the third execution trigger node perform data transaction signature operation according to the second data access information, so as to obtain a third multi-signature address.
And a third transaction broadcasting module 605, configured to implement that the third execution trigger node performs transaction broadcasting to the second blockchain according to the third multi-signature address and the data access information, and simultaneously receives an instruction that the second blockchain completes transaction confirmation.
In particular, as shown in figure 1,
the B-chain user creates a cross-chain access transaction Tb (containing the necessary information to access the destination chain block height/transaction id/objectID) and broadcasts the transaction within the B-chain network.
Any node of the relay chain participating in generation of the multi-signature address mADDrA receives a transaction Tb (the transaction is confirmed by the network), and submits to a cross-chain rule engine for filtering, so that the cross-chain rule is met, the engine drives a relay chain node to call a cross-chain service contract (a source chain + a source transaction id + a source address, data information to be accessed) and participate in cross-chain trigger node competition.
Multiple relay chain nodes can compete to execute cross-chain transaction, and the execution serial characteristic is called by using a relay chain cross-chain service contract, so that only one node can be ensured to become a cross-chain (the node which adds the cross-chain transaction to the cross-chain contract state at first) transaction execution trigger node (exeNode).
And the rule engine drives the A chain node to acquire a designated transaction Ta in the A chain, creates a transaction Tb' according to the acquired key information in the transaction Ta, and sequentially calls the rest cross-link nodes to finish multi-signature transaction signature.
And after the transaction trigger node exeNode obtains the transfer transaction Tb' of the multi-signature address which finishes the signature, broadcasting the transaction to the B chain.
After the transaction Tb' is confirmed by the B-chain, the transaction trigger node exenal invokes a cross-chain service contract, writes transaction information (chain information, transaction id, block, etc.) in the B-chain into the cross-chain service contract, and completes the whole cross-chain service.
The invention realizes the asset transfer, data transfer and mutual access between chains. The relay chain is a block chain network which can participate in operation by multiple parties, and both interest-related parties can participate in deployment and operation of the relay chain network; competition is realized, centralization and multiple nodes are avoided, and single-point accidents are avoided; various cross-chain services can be automatically completed without manual intervention; the safety is strong: the cross-chain rule engine plays a role of a firewall and can adopt a black and white list to control cross-chain services; the cross-link transaction mapping relation is permanently managed in the cross-link contract, so that the problem of data loss possibly existing in centralization is avoided; the expansibility is good, one relay chain can be connected with N service chains, and the cross-chain requirement is supported.
The principles and embodiments of the present invention have been described herein using specific examples, which are provided only to help understand the method and the core concept of the present invention; meanwhile, for a person skilled in the art, according to the idea of the present invention, the specific embodiments and the application range may be changed. In summary, this summary should not be construed to limit the present invention.

Claims (10)

1. A block chain-based asset cross-chain method is characterized by comprising the following steps:
the relay link acquires asset transaction information; the asset transaction information is the asset transaction information to be transferred from the first blockchain to the second blockchain;
adding the asset transaction information by a plurality of nodes in the relay chain according to a cross-chain contract, and determining a node which is firstly added with the asset transaction information successfully as a first execution trigger node;
the first execution trigger node creates an address for conducting an asset transaction to the second blockchain;
performing asset transaction signature operation on other nodes except the first execution trigger node in the relay chain according to the address for performing asset transaction on the second blockchain to obtain a first multi-signature address;
and the first execution trigger node broadcasts the transaction to the second blockchain according to the first multi-signature address and the asset transaction information, and receives an instruction of confirming that the transaction is completed by the second blockchain.
2. The blockchain-based asset chaining method of claim 1, wherein a plurality of nodes in the relay chain add the asset transaction information according to a chaining contract and determine a node that first adds the asset transaction information successfully as a first execution trigger node, and wherein the method further comprises:
and the node of the relay chain sequentially filters the asset transaction information and judges whether the asset transaction information accords with a cross-chain rule, so that the filtered asset transaction information which accords with the cross-chain rule is obtained.
3. A blockchain-based asset cross-chain system, comprising:
the asset transaction information acquisition module is used for realizing the acquisition of asset transaction information by the relay link; the asset transaction information is the asset transaction information to be transferred from the first blockchain to the second blockchain;
the first execution trigger node determining module is used for adding the asset transaction information to a plurality of nodes in the relay chain according to a cross-chain contract and determining the node which is added with the asset transaction information successfully firstly as a first execution trigger node;
a first address creation module, configured to enable the first execution trigger node to create an address for performing an asset transaction to the second blockchain;
the first signature module is used for realizing that other nodes except the first execution trigger node in the relay chain carry out asset transaction signature operation according to the address for carrying out asset transaction to the second block chain to obtain a first multi-signature address;
and the first transaction broadcasting module is used for realizing that the first execution trigger node performs transaction broadcasting to the second blockchain according to the first multi-signature address and the asset transaction information, and receiving a command for confirming that the second blockchain completes transaction.
4. The blockchain-based asset cross-chain system of claim 3, further comprising:
and the first preprocessing module is used for sequentially filtering the asset transaction information by the node of the relay link and judging whether the asset transaction information accords with a cross-link rule, so as to obtain the filtered asset transaction information which accords with the cross-link rule.
5. A data cross-linking method based on a block chain is characterized by comprising the following steps:
the relay link acquires data transaction information; the data transaction information is to be transferred from the first block chain to the second block chain;
adding the data transaction information by a plurality of nodes in the relay chain according to a cross-chain contract, and determining a node which is firstly added with the data transaction information successfully as a second execution trigger node;
the second execution trigger node creates an address for data transaction to the second blockchain;
performing data transaction signature operation on other nodes except the second execution trigger node in the relay chain according to the address for performing data transaction on the second block chain to obtain a second multi-signature address;
and the second execution trigger node carries out transaction broadcasting to the second blockchain according to the second multi-signature address and the data transaction information, and simultaneously receives an instruction of completing transaction confirmation of the second blockchain.
6. The block chain-based data chaining method according to claim 5, wherein a plurality of nodes in the relay chain add the data transaction information according to a chaining contract, and determine a node which is added with the data transaction information successfully first as a second execution trigger node, and before further comprising:
and the node of the relay chain sequentially filters the data transaction information and judges whether the data transaction information accords with a cross-chain rule, so that the filtered data transaction information which accords with the cross-chain rule is obtained.
7. A block chain based data cross-chain system, comprising:
the data transaction information acquisition module is used for realizing the acquisition of data transaction information by the relay link; the data transaction information is to be transferred from the first block chain to the second block chain;
a second execution trigger node determination module, configured to add the data transaction information according to a cross-link contract by a plurality of nodes in the relay chain, and determine a node to which the data transaction information is successfully added first as a second execution trigger node;
a second address creating module, configured to enable the second execution trigger node to create an address for performing data transaction to the second blockchain;
the second signature module is used for realizing that other nodes except the second execution trigger node in the relay chain carry out data transaction signature operation according to the address for carrying out data transaction to the second block chain to obtain a second multi-signature address;
and the second transaction broadcasting module is used for realizing that the second execution trigger node performs transaction broadcasting to the second blockchain according to the second multi-signature address and the data transaction information, and receiving a command for completing transaction confirmation of the second blockchain.
8. The blockchain-based data chaining system of claim 7, further comprising:
and the second preprocessing module is used for sequentially filtering the data transaction information and judging whether the data transaction information conforms to a cross-link rule by the node of the relay link to obtain the filtered data transaction information conforming to the cross-link rule.
9. A data access method based on a block chain is characterized by comprising the following steps:
the relay link acquires data access information; the data access information is data information of a first block chain to be accessed by a second block chain;
adding the data access information by a plurality of nodes in the relay chain according to a cross-link contract, and determining a node which is firstly added with the data access information successfully as a third execution trigger node;
the third execution trigger node acquires appointed transaction information corresponding to the data access information in the first block chain, and creates second data access information according to the appointed transaction information;
performing data transaction signature operation on other nodes except the third execution trigger node in the relay chain according to the second data access information to obtain a third multi-signature address;
and the third execution trigger node broadcasts the transaction to the second blockchain according to the third multi-signature address and the data access information, and receives an instruction of confirming the transaction completed by the second blockchain.
10. A blockchain-based data access system, comprising:
the data access information acquisition module is used for realizing the acquisition of data access information by the relay link; the data access information is data information of a first block chain to be accessed by a second block chain;
a third execution trigger node determining module, configured to add the data access information according to a cross-link contract by a plurality of nodes in the relay chain, and determine a node to which the data access information is successfully added first as a third execution trigger node;
the second data access information creating module is used for enabling the third execution trigger node to acquire appointed transaction information corresponding to the data access information in the first block chain and creating second data access information according to the appointed transaction information;
a third address creating module, configured to implement that other nodes in the relay chain except the third execution trigger node perform data transaction signature operation according to the second data access information, so as to obtain a third multi-signature address;
and the third transaction broadcasting module is configured to implement that the third execution trigger node performs transaction broadcasting to the second blockchain according to the third multi-signature address and the data access information, and simultaneously receives a command for completing transaction confirmation by the second blockchain.
CN202010960604.6A 2020-09-14 2020-09-14 Asset and data cross-chain method and system based on blockchain Active CN112070499B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010960604.6A CN112070499B (en) 2020-09-14 2020-09-14 Asset and data cross-chain method and system based on blockchain

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010960604.6A CN112070499B (en) 2020-09-14 2020-09-14 Asset and data cross-chain method and system based on blockchain

Publications (2)

Publication Number Publication Date
CN112070499A true CN112070499A (en) 2020-12-11
CN112070499B CN112070499B (en) 2023-08-11

Family

ID=73695549

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010960604.6A Active CN112070499B (en) 2020-09-14 2020-09-14 Asset and data cross-chain method and system based on blockchain

Country Status (1)

Country Link
CN (1) CN112070499B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112738243A (en) * 2020-12-29 2021-04-30 合肥达朴汇联科技有限公司 Block chain information cross-chain interaction system
CN112910946A (en) * 2020-12-29 2021-06-04 合肥达朴汇联科技有限公司 Block chain information cross-chain interaction method, system and equipment applied to t2 node
CN113191756A (en) * 2021-06-04 2021-07-30 杭州复杂美科技有限公司 Cross-chain asset security management method, computer device and storage medium
CN114422520A (en) * 2021-12-31 2022-04-29 支付宝(杭州)信息技术有限公司 Cross-chain interaction method and device
CN115955317A (en) * 2023-03-03 2023-04-11 鲜明技术(北京)有限公司 Cross-block-chain resource storage method and device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20200019923A1 (en) * 2018-07-12 2020-01-16 International Business Machines Corporation Perishable asset tracking for blockchain
CN110766408A (en) * 2019-10-24 2020-02-07 杭州趣链科技有限公司 Cross-chain transaction verification method, engine, equipment and storage medium for heterogeneous block chain
CN111107136A (en) * 2019-12-05 2020-05-05 上海中信信息发展股份有限公司 Block chain cross-chain relay method based on IPFS
CN111598566A (en) * 2020-04-30 2020-08-28 厦门潭宏信息科技有限公司 Network payment system based on mixed cross-chain

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20200019923A1 (en) * 2018-07-12 2020-01-16 International Business Machines Corporation Perishable asset tracking for blockchain
CN110766408A (en) * 2019-10-24 2020-02-07 杭州趣链科技有限公司 Cross-chain transaction verification method, engine, equipment and storage medium for heterogeneous block chain
CN111107136A (en) * 2019-12-05 2020-05-05 上海中信信息发展股份有限公司 Block chain cross-chain relay method based on IPFS
CN111598566A (en) * 2020-04-30 2020-08-28 厦门潭宏信息科技有限公司 Network payment system based on mixed cross-chain

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112738243A (en) * 2020-12-29 2021-04-30 合肥达朴汇联科技有限公司 Block chain information cross-chain interaction system
CN112910946A (en) * 2020-12-29 2021-06-04 合肥达朴汇联科技有限公司 Block chain information cross-chain interaction method, system and equipment applied to t2 node
CN112738243B (en) * 2020-12-29 2022-06-24 合肥达朴汇联科技有限公司 Block chain information cross-chain interaction system
CN113191756A (en) * 2021-06-04 2021-07-30 杭州复杂美科技有限公司 Cross-chain asset security management method, computer device and storage medium
CN113191756B (en) * 2021-06-04 2022-07-19 杭州复杂美科技有限公司 Cross-chain asset security management method, computer device and storage medium
CN114422520A (en) * 2021-12-31 2022-04-29 支付宝(杭州)信息技术有限公司 Cross-chain interaction method and device
CN114422520B (en) * 2021-12-31 2024-04-02 支付宝(杭州)信息技术有限公司 Cross-chain interaction method and device
CN115955317A (en) * 2023-03-03 2023-04-11 鲜明技术(北京)有限公司 Cross-block-chain resource storage method and device

Also Published As

Publication number Publication date
CN112070499B (en) 2023-08-11

Similar Documents

Publication Publication Date Title
CN112070499A (en) Asset and data chain crossing method and system based on block chain
CN107733855B (en) A kind of block catenary system and application method that can support publicly-owned chain, alliance's chain and privately owned chain simultaneously
Bekkers Mobile Telecommunications Standards: Gsm, Umts, Tetra, and Ermes
CN110868438A (en) Block chain network system
CN109493072B (en) Privacy contract protection method based on alliance block chain
CN104216912A (en) Method and device for achieving non-intrusive service form workflow
CN111861482B (en) Block chain account checking method and system
CN111240732B (en) Method, device, equipment and storage medium for distributing distributed microservice
CN107145673B (en) Joint simulation system and method
CN113792347B (en) Federal learning method, device, equipment and storage medium based on block chain
CN112926033A (en) Task process tracing system based on block chain cross-chain cooperation
CN116661766A (en) Software low-code development method based on artificial intelligence
CN110276462A (en) About vehicle, about vehicle order processing method and device
CN114926163A (en) Resource cross-chain transfer method and device
CN113239056B (en) Data checking method and system based on block chain
CN110099068A (en) The method, device and equipment of interaction between open platform based on block chain
CN113111125A (en) Business evidence storage method based on block chain
CN114978686B (en) Digital asset chaining method and device
WO2022052091A1 (en) Asset and data cross-chain method and system based on blockchain
CN116339798A (en) Online consumption financial service platform architecture method, storage medium and electronic equipment
CN114707663B (en) Distributed machine learning method, device, electronic equipment and storage medium
CN114356606A (en) Block chain cross-chain method, device, equipment and product
CN115689506A (en) Cross-system physical interface management method in three-dimensional design of ship
JP2001014400A (en) Integrated operation system
CN111724260B (en) Multi-scene configuration data storage method and system based on configuration block

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant