CN111222991A - Method and system for crossing chains between block chains - Google Patents

Method and system for crossing chains between block chains Download PDF

Info

Publication number
CN111222991A
CN111222991A CN202010034384.4A CN202010034384A CN111222991A CN 111222991 A CN111222991 A CN 111222991A CN 202010034384 A CN202010034384 A CN 202010034384A CN 111222991 A CN111222991 A CN 111222991A
Authority
CN
China
Prior art keywords
transaction
block chain
unlocking
information
address
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202010034384.4A
Other languages
Chinese (zh)
Inventor
于中阳
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanghai Wangchain Information Technology Co Ltd
Original Assignee
Shanghai Wangchain Information 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 Shanghai Wangchain Information Technology Co Ltd filed Critical Shanghai Wangchain Information Technology Co Ltd
Priority to CN202010034384.4A priority Critical patent/CN111222991A/en
Publication of CN111222991A publication Critical patent/CN111222991A/en
Pending legal-status Critical Current

Links

Images

Classifications

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

Landscapes

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

Abstract

The invention discloses a method and a system for crossing chains among block chains, wherein the method comprises the following steps: creating a transaction T which accords with an intelligent contract in a master block chain, and publishing the transaction T on a master block chain network; creating a transaction T 'matched with the transaction T in the target block chain, and publishing the transaction T' on the target block chain network; and acquiring a transaction T 'by monitoring the target block chain, judging whether the transaction T' meets an unlocking condition, if so, successfully unlocking, calling an intelligent contract of the main block chain, and executing the transaction T. The method realizes automatic cross-link operation between block chains.

Description

Method and system for crossing chains between block chains
Technical Field
The present invention relates to the field of block chain technology, and in particular, to a method and system for crossing chains between block chains.
Background
Currently, the blockchain technology includes novel applications of computer technologies such as distributed data storage, point-to-point transmission, consensus mechanism, and encryption algorithm. The consensus mechanism is a mathematical algorithm for establishing trust and obtaining rights and interests among different nodes in a blockchain system. The block chain is understood to be a decentralized database, and data chains are generated by using a cryptographic method, wherein each data block contains information of one block chain network transaction, and the information is also used for verifying the validity of the information and generating a next block.
A cross-chain operation refers to an operation performed between a plurality of blockchains, and a cross-chain operation is a bridge connecting isolated blockchain islands. Currently, a centralized exchange, i.e. a common digital currency exchange, may be used for the exchange between the two blockchain certificates. The user can add the own currency to the exchange, the exchange records the balance of each person in the system of the exchange, and then the conversion is carried out on the platform of the exchange until the user finishes the transaction and takes out the corresponding currency. This approach has the following problems: the centralized transaction platform has the problems of supervision and deficiency of the existing digital currency exchange, so that the problems of insider transaction, counterfeit transaction, fund appropriation and the like easily occur, and the centralized digital currency exchange is also easily controlled by a third party organization.
Researchers try to solve the problem from the depocenter perspective, and a typical method is to adopt a lightning network method to realize cross-linking between coins, specifically, hash locking and time locking of the lightning network are used to ensure the security of transaction information, and the hash locking means to realize certified atomic interchange in two different blockchains by locking a hash value of a common ciphertext.
However, the above solution has two main problems: firstly, each chain of a cross-chain needs to support a lightning network, and if the existing chain does not have the function, hard branching needs to be carried out, and the hard branching is unrealistic in most cases; secondly, the whole transaction process is an interactive manual process, and a user must wait until a ciphertext in another blockchain is published to unlock the transaction of the current blockchain, so that it is required to ensure that appropriate information is submitted in two blockchain networks.
Therefore, how to implement automatic inter-chain operation between block chains is a problem to be solved urgently.
Disclosure of Invention
The invention aims to provide a method and a system for crossing chains among block chains so as to realize automatic crossing operation among the block chains.
To solve the above technical problem, the present invention provides a method for crossing between block chains, comprising:
creating a transaction T which accords with an intelligent contract in a master block chain, and publishing the transaction T on a master block chain network;
creating a transaction T 'matched with the transaction T in the target block chain, and publishing the transaction T' on the target block chain network;
and acquiring a transaction T 'by monitoring the target block chain, judging whether the transaction T' meets an unlocking condition, if so, successfully unlocking, calling an intelligent contract of the main block chain, and executing the transaction T.
Preferably, before creating a transaction T conforming to an intelligent contract in the master block chain, the method further includes:
acquiring information X1 from an address A1 in a main block chain, and sending the information X1 to an address B1;
information X2 is obtained from address B2 in the target block chain, and information X2 is sent to address a 2.
Preferably, the determining whether the transaction T' satisfies the unlocking condition includes:
judging whether the unlocking process is finished within a preset transaction time T or not and whether the transaction T' contains a unique identification mark of the transaction T or not;
if the unlocking process is completed within the preset transaction time T and the transaction T' contains the unique identification mark of the transaction T, the unlocking is successful;
and if the unlocking process exceeds the preset transaction time T or the transaction T' does not have the unique identification mark of the transaction T, the unlocking is failed.
Preferably, the method further comprises:
and if the transaction T' does not meet the unlocking condition, unlocking fails, and canceling the transaction T.
The invention also provides a chain crossing system between the block chains, which is used for realizing the method and comprises the following steps:
the first establishing module is used for establishing a transaction T which accords with an intelligent contract in the master block chain and publishing the transaction T on the master block chain network;
the second establishing module is used for establishing a transaction T 'matched with the transaction T in the target blockchain and publishing the transaction T' on the target blockchain network;
and the communication sub-chain module is used for acquiring the transaction T 'by monitoring the target block chain, judging whether the transaction T' meets the unlocking condition, if so, successfully unlocking, calling the intelligent contract of the main block chain, and executing the transaction T.
Preferably, the system further comprises:
the first sending module is used for acquiring information X1 from an address A1 in a main block chain and sending the information X1 to an address B1;
and the second sending module is used for acquiring the information X2 from the address B2 in the target block chain and sending the information X2 to the address A2.
Preferably, the communication sub-chain module specifically includes:
the acquisition unit is used for acquiring the transaction T' by monitoring the target block chain;
the judging unit is used for judging whether the unlocking process is finished within the preset transaction time T and whether the transaction T' contains the unique identification mark of the transaction T; if the unlocking process is completed within the preset transaction time T and the transaction T' contains the unique identification mark of the transaction T, the unlocking is successful; if the unlocking process exceeds the preset transaction time T or the transaction T' does not have the unique identification mark of the transaction T, the unlocking is failed;
and the execution unit is used for calling the intelligent contract of the main block chain to execute the transaction T if the transaction T' meets the unlocking condition and the unlocking is successful.
Preferably, the communication sub-chain module further includes:
and the canceling unit is used for canceling the transaction T if the transaction T' does not meet the unlocking condition and the unlocking fails.
According to the chain crossing method and system between the blockchains, provided by the invention, a transaction T which accords with an intelligent contract is established in a main blockchain, and the transaction T is published on a main blockchain network; creating a transaction T 'matched with the transaction T in the target block chain, and publishing the transaction T' on the target block chain network; and acquiring a transaction T 'by monitoring the target block chain, judging whether the transaction T' meets an unlocking condition, if so, successfully unlocking, calling an intelligent contract of the main block chain, and executing the transaction T. Therefore, whether the transaction T in the master blockchain network is executed or not is determined through the transaction T' in the target blockchain network, the transaction unlocking process in the master blockchain can be automatically triggered, and the automation of cross-chain operation is completed, namely the automatic cross-chain operation among the blockchains is realized. In addition, the whole chain crossing mode has no special requirements on the target block chain, chain crossing operation between the main block chain and other block chains is completed, and the effect that the transaction in the main block chain and the transaction in the target block chain are executed simultaneously or are invalidated simultaneously is achieved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
FIG. 1 is a flowchart of a method for inter-blockchain inter-chaining according to the present invention;
FIG. 2 is a schematic diagram of interaction between a master blockchain and a target blockchain;
FIG. 3 is a detailed flow diagram of a cross-chain operation;
fig. 4 is a schematic structural diagram of a system for crossing chains between blockchains according to the present invention.
Detailed Description
The core of the invention is to provide a method and a system for crossing chains among block chains so as to realize automatic crossing chain operation among the block chains.
In order to make the technical solutions of the present invention better understood, 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.
Referring to fig. 1, fig. 1 is a flowchart of a method for inter-blockchain inter-chaining according to the present invention, the method including the following steps:
s11: creating a transaction T which accords with an intelligent contract in a master block chain, and publishing the transaction T on a master block chain network;
s12: creating a transaction T 'matched with the transaction T in the target block chain, and publishing the transaction T' on the target block chain network;
s13: and acquiring a transaction T 'by monitoring the target block chain, judging whether the transaction T' meets an unlocking condition, if so, successfully unlocking, calling an intelligent contract of the main block chain, and executing the transaction T.
Therefore, in the method, whether the transaction T in the master blockchain network is executed or not is determined through the transaction T' in the target blockchain network, the transaction unlocking process in the master blockchain can be automatically triggered, and the automation of the cross-chain operation is completed, namely the automatic cross-chain operation between the blockchains is realized. In addition, the whole chain crossing mode has no special requirements on the target block chain, chain crossing operation between the main block chain and other block chains is completed, and the effect that the transaction in the main block chain and the transaction in the target block chain are executed simultaneously or are invalidated simultaneously is achieved.
Based on the above method, further, in step S11, before creating a transaction T conforming to an intelligent contract in the master block chain, the method further includes the following steps:
s21: acquiring information X1 from an address A1 in a main block chain, and sending the information X1 to an address B1;
s22: information X2 is obtained from address B2 in the target block chain, and information X2 is sent to address a 2.
Here, the information X2 is information matching the information X1. The executor of step S21 is a sender in the first sending module, i.e., the master block chain, and the executor of step S22 is a sender in the second sending module, i.e., the target block chain. The sender of the master block chain sends information X1 from address a1 to address B1, this process is used to expect that there is a sender in the target block chain sending information X2 matching information X1 from address B2 to address a2, the process is a step of finding matching information, finding information X2 matching information X1 in the target block chain.
After completing the non-respecting S21 and S22, a trigger transaction creating step is carried out, a transaction T based on an intelligent contract is created in the master block chain and published to the master block chain network, and the transaction T is a timing trigger transaction. A transaction T' matching transaction T is sent in the target blockchain and published to the target blockchain network.
After the matching information is found, if both trading parties achieve a consensus of trading willingness, the main block chain information sender informs the unique identifier of the trading T to the information sender in the target block chain. The transaction T contains the information X1 and the unique identifier, and the T' contains the information X2 and the unique identifier in the T.
Specifically, in step S13, the process of determining whether the transaction T' satisfies the unlocking condition includes the following steps:
s31: judging whether the unlocking process is finished within a preset transaction time T or not and whether the transaction T' contains a unique identification mark of the transaction T or not;
s32: if the unlocking process is completed within the preset transaction time T and the transaction T' contains the unique identification mark of the transaction T, the unlocking is successful;
s33: and if the unlocking process exceeds the preset transaction time T or the transaction T' does not have the unique identification mark of the transaction T, the unlocking is failed.
Further, the method comprises the following steps:
s41: and if the transaction T' does not meet the unlocking condition, unlocking fails, and canceling the transaction T.
In detail, the executors in step S13 and step S41 are all communication sub-chain modules, and the communication sub-chain modules monitor the transaction T 'sent in the target block chain and determine whether T' satisfies the unlocking condition. The unlocking success indication means that the transaction T' is successfully verified within the appointed transaction time T, the intelligent contract in the main block chain is called by the communication sub-chain module and executes the transaction T, and the intelligent contract is stored in the intelligent contract module of the main block chain. The unlocking failure means that if the appointed transaction time is exceeded or the transaction T' fails to be verified, the transaction T is cancelled. Since transaction T 'matches transaction T, transaction T' will be executed at the same time when transaction T is executed; when transaction T is cancelled, transaction T' is cancelled at the same time and is not executed. Referring to fig. 2, fig. 2 is a schematic diagram of interaction between a master block chain and a target block chain.
Based on the method, a main block chain and a target block chain exist in a chain crossing operation, at least one sender exists between the main block chain and the target block chain, and the chain crossing process comprises the following steps: searching for information matching; creating a trigger transaction; the communication sub-chain module judges unlocking; unlocking in turn resolves lock success and unlock failure. The chain crossing method has no special requirements on the target blockchain, can realize chain crossing operation between the main blockchain and all other blockchains, realizes the effect that the transaction in the main blockchain and the transaction in the target blockchain are executed simultaneously or are invalidated simultaneously, and the communication sub-chain module of the main blockchain can automatically trigger the transaction unlocking process in the main blockchain, thereby realizing the automation of the chain crossing operation to a certain extent.
Based on the method, in more detail, the method is used for token interchange of inter-chain, referring to fig. 3, fig. 3 is a specific flowchart of inter-chain operation, one main blockchain and one target blockchain exist in one inter-chain operation, at least one information sender exists in each of the main blockchain and the target blockchain, and the specific process is as follows:
firstly, searching for matching information, the sender of the main block chain sends information X1 to address B1 from address a1, so that the sender in the target block chain sends information X2 matched with information X1 to address a2 from address B2, and this process is to find matching transaction in the network and ensure the evidence that the transaction is possible in the network.
Wherein, the information X1 is a plurality of certificates B, and the information X2 is a plurality of certificates C equivalent to the certificates B. Address A1 and Address A2 correspond to two accounts for one user, and Address B1 and Address B2 correspond to two accounts for another user.
Secondly, creating a trigger transaction, creating a transaction T based on an intelligent contract in the master block chain, publishing the transaction T to the master block chain network, wherein the transaction T is a timing trigger transaction, sending a transaction T 'matched with the transaction T in the target block chain, and publishing the transaction T to the target block chain network, the transaction T comprises information X1 and a unique identification mark, and the transaction T' comprises information X2 and the unique identification mark in the matched transaction T.
After the process of searching for the matching information, if the matching information is found, both transaction parties generate the transaction intention, and after a transaction consensus is achieved, the information sender of the main blockchain informs the information sender in the target blockchain of the unique identifier in the transaction T, so that the transaction T' sent by the target blockchain contains the unique identifier in the transaction T. The process is to create a triggerable transaction, namely, a transaction T based on an intelligent contract is created in the master blockchain, and a transaction T' which is matched with the transaction T and can trigger the transaction T is created in the target blockchain, so that preparation is made for subsequent triggering unlocking.
And adding transaction time t into the transaction, and if the transaction is not completed within the time t, determining that the unlocking is failed. The unique identifier in transaction T is the hash value of transaction T.
And thirdly, the communication sub-chain module judges whether to unlock, monitors and obtains the transaction T 'sent in the target block chain, and judges whether the transaction T' meets the intelligent contract condition in the main block chain.
The communication subchain module judges whether unlocking is successful or not according to the following steps: the method comprises the steps that a plurality of nodes of a communication sub-chain module acquire a transaction T ' sent by a target block chain, after the plurality of nodes of the communication sub-chain module achieve consensus, the communication sub-chain module takes information in the transaction T ' as a parameter to unlock and call an intelligent contract, and mainly takes a unique identifier contained in the T ' as a parameter to unlock and call the intelligent contract in a main block chain. The unlocking success must be satisfied: condition 1, the unlocking process is completed within the appointed transaction time t; the condition 2 and the transaction T' contain the unique identification of the transaction T, and the identification proves that the transaction is carried out on the basis of the two-party transaction hospitals, and is safe and reliable.
Finally, if the transaction T 'is successfully verified within the agreed transaction time, the intelligent contract in the main block chain is called by the communication sub-chain module and executes the transaction T, so that the transaction T in the main block chain and the transaction T' in the target block chain are executed simultaneously, and the transaction completion means that B1 in the main block chain obtains m passes B, an address a2 in the target block chain obtains n passes C, and the m passes B and the n passes C are equivalently exchangeable. If the agreed transaction time T is exceeded or the verification of the transaction T 'fails, the unlocking fails, and the transaction T is cancelled, so that the transactions T and T' of the main block chain and the target block chain are not executed, the transaction T is cancelled, and the m passes B return to the address A1.
Referring to fig. 4, fig. 4 is a schematic structural diagram of a system for cross-chaining between blockchains according to the present invention, the system is used for implementing the above method, and the system includes:
a first creating module 101, configured to create a transaction T that meets an intelligent contract in a master blockchain, and publish the transaction T on a master blockchain network;
a second creating module 102, configured to create a transaction T 'matching the transaction T in the target blockchain, and publish the transaction T' on the target blockchain network;
and the communication sub-chain module 103 is used for acquiring the transaction T 'by monitoring the target block chain, judging whether the transaction T' meets the unlocking condition, if so, successfully unlocking, calling the intelligent contract of the main block chain, and executing the transaction T.
Therefore, in the system, whether the transaction T in the main blockchain network is executed or not is determined through the transaction T' in the target blockchain network, so that the whole chain crossing mode has no special requirements on the target blockchain, chain crossing operation between the main blockchain and all other blockchains is completed, the effect that the transaction in the main blockchain and the transaction in the target blockchain are executed or are not executed when being invalidated at the same time is realized, the transaction unlocking process in the main blockchain can be automatically triggered, and automation of chain crossing operation is completed, namely automatic chain crossing operation between the blockchains is realized.
Based on the above system, further, the system further includes:
the first sending module is used for acquiring information X1 from an address A1 in a main block chain and sending the information X1 to an address B1;
and the second sending module is used for acquiring the information X2 from the address B2 in the target block chain and sending the information X2 to the address A2.
Specifically, the communication sub-chain module specifically includes:
the acquisition unit is used for acquiring the transaction T' by monitoring the target block chain;
the judging unit is used for judging whether the unlocking process is finished within the preset transaction time T and whether the transaction T' contains the unique identification mark of the transaction T; if the unlocking process is completed within the preset transaction time T and the transaction T' contains the unique identification mark of the transaction T, the unlocking is successful; if the unlocking process exceeds the preset transaction time T or the transaction T' does not have the unique identification mark of the transaction T, the unlocking is failed;
and the execution unit is used for calling the intelligent contract of the main block chain to execute the transaction T if the transaction T' meets the unlocking condition and the unlocking is successful.
Further, the communication sub-chain module further includes: and the canceling unit is used for canceling the transaction T if the transaction T' does not meet the unlocking condition and the unlocking fails.
The embodiments are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same or similar parts among the embodiments are referred to each other. For the system disclosed by the embodiment, the description is relatively simple because the system corresponds to the method disclosed by the embodiment, and the relevant points can be referred to the method part for description.
Those of skill would further appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both, and that the various illustrative components and steps have been described above generally in terms of their functionality in order to clearly illustrate this interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
The steps of a method or algorithm described in connection with the embodiments disclosed herein may be embodied directly in hardware, in a software module executed by a processor, or in a combination of the two. A software module may reside in Random Access Memory (RAM), memory, Read Only Memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
The method and system for inter-block chain inter-chain crossing provided by the present invention are described in detail above. The principles and embodiments of the present invention are explained herein using specific examples, which are presented only to assist in understanding the method and its core concepts. It should be noted that, for those skilled in the art, it is possible to make various improvements and modifications to the present invention without departing from the principle of the present invention, and those improvements and modifications also fall within the scope of the claims of the present invention.

Claims (8)

1. A method for crossing chains between block chains, comprising:
creating a transaction T which accords with an intelligent contract in a master block chain, and publishing the transaction T on a master block chain network;
creating a transaction T 'matched with the transaction T in the target block chain, and publishing the transaction T' on the target block chain network;
and acquiring a transaction T 'by monitoring the target block chain, judging whether the transaction T' meets an unlocking condition, if so, successfully unlocking, calling an intelligent contract of the main block chain, and executing the transaction T.
2. The method of claim 1, wherein prior to creating a transaction T in compliance with a smart contract in the master block chain, further comprising:
acquiring information X1 from an address A1 in a main block chain, and sending the information X1 to an address B1;
information X2 is obtained from address B2 in the target block chain, and information X2 is sent to address a 2.
3. The method of claim 1, wherein said determining whether transaction T' satisfies an unlocking condition comprises:
judging whether the unlocking process is finished within a preset transaction time T or not and whether the transaction T' contains a unique identification mark of the transaction T or not;
if the unlocking process is completed within the preset transaction time T and the transaction T' contains the unique identification mark of the transaction T, the unlocking is successful;
and if the unlocking process exceeds the preset transaction time T or the transaction T' does not have the unique identification mark of the transaction T, the unlocking is failed.
4. The method of claim 1, further comprising:
and if the transaction T' does not meet the unlocking condition, unlocking fails, and canceling the transaction T.
5. A system for cross-chaining between blockchains, for implementing the method of any one of claims 1 to 4, comprising:
the first establishing module is used for establishing a transaction T which accords with an intelligent contract in the master block chain and publishing the transaction T on the master block chain network;
the second establishing module is used for establishing a transaction T 'matched with the transaction T in the target blockchain and publishing the transaction T' on the target blockchain network;
and the communication sub-chain module is used for acquiring the transaction T 'by monitoring the target block chain, judging whether the transaction T' meets the unlocking condition, if so, successfully unlocking, calling the intelligent contract of the main block chain, and executing the transaction T.
6. The system of claim 5, further comprising:
the first sending module is used for acquiring information X1 from an address A1 in a main block chain and sending the information X1 to an address B1;
and the second sending module is used for acquiring the information X2 from the address B2 in the target block chain and sending the information X2 to the address A2.
7. The system of claim 5, wherein the communication subchain module specifically comprises:
the acquisition unit is used for acquiring the transaction T' by monitoring the target block chain;
the judging unit is used for judging whether the unlocking process is finished within the preset transaction time T and whether the transaction T' contains the unique identification mark of the transaction T; if the unlocking process is completed within the preset transaction time T and the transaction T' contains the unique identification mark of the transaction T, the unlocking is successful; if the unlocking process exceeds the preset transaction time T or the transaction T' does not have the unique identification mark of the transaction T, the unlocking is failed;
and the execution unit is used for calling the intelligent contract of the main block chain to execute the transaction T if the transaction T' meets the unlocking condition and the unlocking is successful.
8. The system of claim 5, wherein the communication subchain module further comprises:
and the canceling unit is used for canceling the transaction T if the transaction T' does not meet the unlocking condition and the unlocking fails.
CN202010034384.4A 2020-01-14 2020-01-14 Method and system for crossing chains between block chains Pending CN111222991A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010034384.4A CN111222991A (en) 2020-01-14 2020-01-14 Method and system for crossing chains between block chains

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010034384.4A CN111222991A (en) 2020-01-14 2020-01-14 Method and system for crossing chains between block chains

Publications (1)

Publication Number Publication Date
CN111222991A true CN111222991A (en) 2020-06-02

Family

ID=70828319

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010034384.4A Pending CN111222991A (en) 2020-01-14 2020-01-14 Method and system for crossing chains between block chains

Country Status (1)

Country Link
CN (1) CN111222991A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022140948A1 (en) * 2020-12-28 2022-07-07 杭州趣链科技有限公司 Account management method and system, and server and medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108600301A (en) * 2018-03-08 2018-09-28 青岛墨客区块链有限公司 A kind of across chain method between block chain and main block chain
WO2018177093A1 (en) * 2017-03-29 2018-10-04 中国移动通信有限公司研究院 Block chain processing method, accounting node, verification node and storage medium
CN109033422A (en) * 2018-08-08 2018-12-18 云南天之游科技股份有限公司 A kind of method, apparatus and block chain generating block chain

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018177093A1 (en) * 2017-03-29 2018-10-04 中国移动通信有限公司研究院 Block chain processing method, accounting node, verification node and storage medium
CN108600301A (en) * 2018-03-08 2018-09-28 青岛墨客区块链有限公司 A kind of across chain method between block chain and main block chain
CN109033422A (en) * 2018-08-08 2018-12-18 云南天之游科技股份有限公司 A kind of method, apparatus and block chain generating block chain

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022140948A1 (en) * 2020-12-28 2022-07-07 杭州趣链科技有限公司 Account management method and system, and server and medium

Similar Documents

Publication Publication Date Title
CN108600301B (en) Cross-link method between block chains and main block chain
CN110443704B (en) Method and device for sending resources in cross-link mode
CN110011996B (en) Application authorization method and device based on block chain and electronic equipment
Zhu et al. Hybrid blockchain design for privacy preserving crowdsourcing platform
CN111145023A (en) Cross-chain exchange method, system and medium based on trusted prediction machine
CN111383114A (en) Asset information management method and device based on block chain
CN112422341B (en) Fault detection method of block chain network and related equipment
CN112613877B (en) Intelligent contract triggering method and device applied to block chain network and related equipment
WO2022105600A1 (en) Blockchain cross-chain transaction method and apparatus based on internet-of-things
CN111402033A (en) Asset information management method and device based on block chain
CN112738139B (en) Cross-link access control method and device
CN115277122A (en) Cross-border data flow and supervision system based on block chain
CN111612452A (en) Intellectual property management system and method based on block chain
CN112232828A (en) Power grid data transaction method and system
CN113689216A (en) Cross-chain transaction processing method and device, equipment, storage medium and program product
CN111222991A (en) Method and system for crossing chains between block chains
CN110635915B (en) High-concurrency digital certificate registration management method based on multiple CA
CN116777397A (en) Electronic bill management method, device, terminal and storage medium based on block chain
CN115701078B (en) Cross-chain transaction processing method, device, electronic equipment and storage medium
WO2023019903A1 (en) Cross-chain transaction system and method, and device and storage medium
CN111369246B (en) Calling authentication method and device of intelligent contract, electronic equipment and storage medium
CN115913734A (en) User authority management method, device and equipment applied to alliance chain
CN112968772B (en) Cross-chain decoupling method and system for block chain data
CN115511633A (en) Method, device, terminal and storage medium for recovering block chain assets
CN112700327A (en) User confirmation method, device and system in financial scene

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20200602