Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Cross-chain transaction method and device

A transaction method and transaction technology, applied in the Internet field, can solve problems such as irrevocability

Pending Publication Date: 2021-02-02
HUAWEI TECH CO LTD
View PDF3 Cites 6 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The implementation scheme in the prior art is: determine an intermediate chain to play the role of an intermediary, user A initiates a transaction in blockchain 1, and when the intermediate chain determines that the first transaction is successfully executed on blockchain 1, it sends a transaction to the block chain 1. Chain 2 initiates a transaction to execute the second transaction on blockchain 2. If the second transaction fails for some reason, the successful transaction (first transaction) needs to be revoked. However, the successful transaction may not be revoked , and then there are interrelated cross-chain transactions, only part of which is successfully executed, while the other part is not successfully executed

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
  • Cross-chain transaction method and device
  • Cross-chain transaction method and device
  • Cross-chain transaction method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0118] The embodiment of the present application provides a cross-chain transaction method and device, which can enable cross-chain transactions to be executed atomically on multiple blockchains.

[0119] The terms "first", "second", "third", "fourth", etc. (if any) in the specification and claims of the present application and the above drawings are used to distinguish similar objects, and not necessarily Used to describe a specific sequence or sequence. It is to be understood that the data so used are interchangeable under appropriate circumstances such that the embodiments of the application described herein, for example, can be practiced in sequences other than those illustrated or described herein. Furthermore, the terms "comprising" and "having", as well as any variations thereof, are intended to cover a non-exclusive inclusion, for example, a process, method, system, product, or device comprising a series of steps or elements that is not necessarily limited to the expre...

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 embodiment of the invention provides a cross-chain transaction method and device, and the method comprises the steps that a first node determines that the transaction state of a first transactionis a first state, wherein the first state represents that the transaction passes the consensus verification; the first node acquires a transaction state of the second transaction; and when the transaction state of the second transaction is the first state, the first node modifies target data according to the transaction data of the first transaction, and the target data is data related to the first transaction in a state machine of the first node. According to the method and device, whether the cross-chain sub-transaction is executed or not is not only dependent on the consensus verification result of the first transaction, and consensus verification results of other associated cross-chain transactions need to be considered, so that the situation that only one part of the associated cross-chain transactions is successfully executed and the other part of the associated cross-chain transactions is not successfully executed is avoided; atomic execution of the cross-chain transaction on aplurality of block chains is achieved.

Description

[0001] This application claims the priority of the Chinese patent application with the application number 201910683735.1 and the title of the invention "a cross-chain transaction method and device" submitted to the China Patent Office on July 26, 2019, the entire contents of which are incorporated by reference in this application middle. technical field [0002] The present application relates to the field of Internet technology, in particular to a cross-chain transaction method and device. Background technique [0003] In the blockchain (Blockchain) system, data is stored in blocks, and newly written data forms new blocks, which are added at the end of the current blockchain. While saving data, each block also saves a unique number corresponding to all recorded data in the previous block (often the hash value of all recorded data), thus forming a chain. Therefore, the blockchain system can be considered as a system in which computers on a distributed network that do not fu...

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): G06Q40/04
CPCG06Q40/04
Inventor 罗玉龙赵振龙李会峰
Owner HUAWEI TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products