Block chain transaction method and device, terminal equipment and computer readable storage medium

A transaction method and blockchain technology, applied in computing, instruments, payment systems, etc., can solve the problems of transaction timeout, affecting the normal operation of the source chain business, slow receipts, etc., and achieve the effect of reducing the timeout rate

CN114298700APending Publication Date: 2022-04-08HANGZHOU QULIAN TECH CO LTD
0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Publication Date
2022-04-08

Smart Images

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

Abstract

The invention provides a block chain transaction method and device, terminal equipment and a computer readable storage medium, and the method comprises the steps: packaging a cross-chain transaction transaction into a cross-chain transaction event if a transaction start chain initiates the cross-chain transaction transaction, and transmitting the cross-chain transaction event to a preset relay chain; obtaining a first block height of a target block in the relay chain, wherein the target block is a block for processing a cross-chain transaction event in the relay chain; and processing the cross-chain transaction event according to the first block height. According to the block chain transaction method provided by the invention, the relay chain can be used as a processing bridge of the transaction starting chain and the transaction destination chain, so that the problem that other transactions cannot be processed due to overtime processing of the current transaction when the transaction starting chain and the transaction destination chain process a plurality of transactions is avoided. Meanwhile, according to the block height for processing the current transaction in the relay chain, timeout or non-timeout control is carried out on the current transaction, timeout cross-chain transactions can be returned to the transaction starting chain, and the timeout rate of the transaction is reduced.
Need to check novelty before this filing date? Find Prior Art

Description

technical field

[0001] The present application relates to the field of blockchain, in particular to a blockchain transaction method, device, terminal equipment, and computer-readable storage medium. Background technique

[0002] In the cross-chain transaction scenario of the blockchain, after the source chain (the starting chain of the transaction or the transaction initiation chain) initiates a cross-chain transaction for a business, it needs to wait for the destination chain (the receiving chain of the transaction) to execute the cross-chain transaction After returning the receipt to continue the business. If the destination chain TPS (Transactions Per Second, the number of transaction processing per second) is low, or the network between the source chain and the destination chain fails, it will cause the source link to receive the receipt of cross-chain transactions from the destination chain. Slow, affecting the normal operation of the business on the source chain, whic...

Examples

Embodiment Construction

[0060] The following will clearly and completely describe the technical solutions in the embodiments of the application with reference to the drawings in the embodiments of the application. Apparently, the described embodiments are only some of the embodiments of the application, not all of them. Based on the embodiments in this application, all other embodiments obtained by those skilled in the art without making creative efforts belong to the scope of protection of this application.

[0061] In the description of the present application, it should be understood that the terms "first" and "second" are used for description purposes only, and cannot be interpreted as indicating or implying relative importance or implicitly indicating the quantity of indicated technical features. Thus, a feature defined as "first" and "second" may explicitly or implicitly include one or more of these features. In the description of the present application, "plurality" means two or more, unless o...