A cross-chain method between blockchains and a main blockchain

A technology of blockchain and main area, applied in the field of blockchain, can solve problems such as insider trading, troubles, embezzlement of funds, etc., and achieve the effect of realizing automation and expanding the scope of application

Active Publication Date: 2018-09-28
青岛墨一客区块链有限公司
View PDF7 Cites 60 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, this method has the following problems: the problem of the centralized trading platform is obvious. In the absence of supervision, the centralized exchange may have problems such as insider trading, forged transactions, and fund embezzlement. Moreover, the centralized trading platform are vulnerable to third-party control
However, the above solution has the following two problems: (1) Each chain that needs to be cross-chain must support Lightning Network, that is, it needs to have the function of hash lock and time lock
If it needs to be automated, it will be more troublesome and requires additional infrastructure support, such as the support of Byzantine fault tolerance mechanism

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • A cross-chain method between blockchains and a main blockchain
  • A cross-chain method between blockchains and a main blockchain
  • A cross-chain method between blockchains and a main blockchain

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0043] Such as figure 1 and figure 2 As shown, a cross-chain method between blockchains is used for cross-chain pass exchange. The pass is token. In a cross-chain operation, there is a main block chain and a target block chain. There is at least one sender in the main blockchain and the target blockchain, and the methods include:

[0044] S1: Find matching information: the sender of the main blockchain sends information I from address Am to address Bm, expecting that there is a sender in the target blockchain sending information II matching information I to address Ae from address Be; this The process is to find matching transactions in the network and ensure that there are tokens that can be traded in the network. The information I in this embodiment is several certificates B, and the information II is several certificates Y equivalent to the several certificates B. Address Am and address Ae are equivalent to two accounts of one user, and address Bm and address Be are equ...

Embodiment 2

[0056] Such as figure 1 and figure 2 As shown, a cross-chain method between blockchains, the difference between Embodiment 2 and Embodiment 1 is that Embodiment 1 is used for cross-chain token exchange, and Embodiment 2 is used for cross-chain information transfer. In a cross-chain operation, there is a main blockchain and a target blockchain, and there is at least one sender in the main blockchain and the target blockchain respectively. The methods include:

[0057] S1: Find matching information: the sender of the main blockchain sends information I from address Am to address Bm, expecting that there is a sender in the target blockchain sending information II matching information I to address Ae from address Be; this The process is to find matching transactions in the network and ensure that there are tokens that can be traded in the network. Information I in this embodiment is request information, and information II is reply information.

[0058] S2: Create a trigger tra...

Embodiment 3

[0068] Such as image 3 As shown, a main block chain, the main block chain 101 includes:

[0069] The smart contract module 102 is used to deterministically implement the triggered execution of the contract, and the smart contract module 102 is equipped with a smart contract;

[0070] The monitoring sub-chain module 103 is used to receive the transaction T' of the target blockchain 201 and determine whether to call the smart contract in the main blockchain to complete the transaction through logic. Both the main block chain 101 and the monitoring sub-chain module 103 are databases based on blockchain-based storage data, and the monitoring sub-chain module 103 includes multiple nodes, such as figure 2As shown, in this embodiment, it is represented as the node 104 on the monitoring sub-chain, and the nodes reach a consensus and provide Byzantine fault tolerance. The node of the monitoring sub-chain module 103 includes both the main block chain and the target block chain module...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention relates to the technical field of blockchains, in particular to a cross-chain method between blockchains and a main blockchain. According to the cross-chain method between blockchains, amain blockchain and a target blockchain exist in a cross-chain operation, and at least one sender exists in each of the main blockchain and the target blockchain. The method includes the following steps: searching of match information; establishment of a trigger transaction; monitoring of sub-chains to judge whether unlocking occurs; unlocking success; and unlocking failure. The invention also discloses the main blockchain, which includes an intelligent contract module and a monitoring sub-chain module. The cross-chain method has no special requirements for the target blockchain and can realize the cross-chain operation between the main blockchain and all other blockchains. An effect that a transaction T in the main blockchain and a transaction T' in the target blockchain are carried outsimultaneously or not is realized. Moreover, the monitoring sub-chain module of the main blockchain can automatically trigger an unlocking process of the transaction T in the main blockchain, thus realizing automation of the cross-chain operation.

Description

technical field [0001] The invention relates to the technical field of block chains, in particular to a cross-chain method between block chains and a main block chain. Background technique [0002] Blockchain is a new application model of computer technologies such as distributed data storage, point-to-point transmission, consensus mechanism, and encryption algorithm. The so-called consensus mechanism is a mathematical algorithm to establish trust and obtain rights and interests between different nodes in the blockchain system. Blockchain is essentially a decentralized database. The blockchain is a series of data blocks associated with each other using cryptographic methods. Each data block contains information about a blockchain network transaction, which is used to verify the validity of the information and generate the next block. [0003] Cross-chain operations refer to operations between multiple blockchains, and cross-chain operations are bridges that connect scatter...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): H04L29/08H04L29/12G06Q40/04G06Q20/40G06Q20/38
CPCG06Q20/3825G06Q20/3827G06Q20/401G06Q40/04H04L61/35H04L67/1059H04L67/1097
Inventor 陈小虎
Owner 青岛墨一客区块链有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products