Cross-chain transaction method and device

A transaction method and transaction technology, applied in the Internet field, can solve problems such as irrevocability
CN112308713APending Publication Date: 2021-02-02HUAWEI TECH CO LTD

Patent Information

Authority / Receiving Office
CN Β· China
Patent Type
Applications(China)
Current Assignee / Owner
HUAWEI TECH CO LTD
Publication Date
2021-02-02

Smart Images

  • Figure 1
    Figure 1
  • Figure 2
    Figure 2
  • Figure 3
    Figure 3
Patent Text Reader

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.
Need to check novelty before this filing date? Find Prior Art

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