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

Cross-chain implementation method, device and equipment for associated transaction requests, and medium

An implementation method and transaction technology, applied in the field of blockchain technology, can solve the problem of not providing a decentralized operation plan, and achieve the effect of improving convenience and preventing leakage

Active Publication Date: 2020-07-10
BAIDU INT TECH (SHENZHEN) CO LTD
View PDF6 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The problems with these solutions are centralized methods to coordinate associated transaction requests, and can only be used for currency exchange, without providing decentralized, general-purpose associated transaction requests to ensure atomic operation schemes

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 implementation method, device and equipment for associated transaction requests, and medium
  • Cross-chain implementation method, device and equipment for associated transaction requests, and medium
  • Cross-chain implementation method, device and equipment for associated transaction requests, and medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0080] figure 1 It is a flow chart of the cross-chain implementation method for associated transaction requests provided by Embodiment 1 of this application. This embodiment is applicable to the cross-chain operation situation in which associated transaction requests are respectively initiated in multiple blockchains to jointly realize a certain requirement. This embodiment can be executed by the cross-chain implementation device of the associated transaction request configured in the blockchain node, the device can be realized by software and / or hardware, and integrated in the electronic device as the blockchain node.

[0081] Such as figure 1 As shown, the method includes:

[0082] S110. Acquire a first transaction request initiated by a user.

[0083] Wherein, the first transaction request is initiated by the user in the current blockchain network based on a certain business requirement. It can be in the form of UTXO (unspent transaction output) or a transaction request...

Embodiment 2

[0112] Figure 2A A flow chart of the cross-chain implementation method for associated transaction requests provided in Embodiment 2 of this application; Figure 2B It is a schematic diagram of the calculation principle of the Merkle tree root provided in the second embodiment of the present application. This embodiment is further optimized on the basis of the above-mentioned embodiments, and provides that the correlation between the first transaction request and the second transaction request is verified according to the answer string in the chain-up certificate, and The specific situation of verifying the validity of the chain-up of the second transaction request according to the chain-up information in the chain-up certificate is introduced. Such as Figure 2A-2B As shown, the method may specifically include:

[0113] S201. Obtain a first transaction request initiated by a user.

[0114] S202. If it is determined that the first transaction request has an associated flag...

Embodiment 3

[0139] Figure 3A-3B It is a flow chart of the cross-chain implementation method of the associated transaction request provided by Embodiment 3 of this application. This embodiment is further optimized on the basis of the above-mentioned embodiments, and introduces two situations in which the pre-validation data set becomes invalid after the pre-validation write data set is set to a locked state.

[0140] Optionally, as shown in 3A, it is determined whether the pre-validation data set is invalid according to the set expiration threshold. This situation may specifically include:

[0141] S301. Obtain a first transaction request initiated by a user.

[0142] S302. If it is determined that the first transaction request has an associated flag, execute the first transaction request to generate corresponding first transaction data for uplink storage.

[0143] Wherein, the association mark is generated based on the answer string set by the user.

[0144] S303. Update the local wr...

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 discloses a cross-chain implementation method, device and equipment for associated transaction requests, and a medium, and relates to the technical field of blockchain. According to thespecific implementation scheme, the method comprises the steps: acquiring a first transaction request initiated by a user; if it is determined that the first transaction request has the association mark, executing the first transaction request to generate corresponding first transaction data for uplink storage; updating a local write data set according to the first transaction data, taking the local write data set updated by the first transaction data as a pre-valid write data set, and setting the pre-valid write data set to be in a locked state; obtaining an uplink certificate of the second transaction request on other blockchains; verifying the relevance between the first transaction request and the second transaction request according to the riddle character string in the uplink certificate, and verifying the uplink validity of the second transaction request according to the uplink information in the uplink certificate; if the verification is passed, unlocking the locking state of the pre-valid write data set of the first transaction data. And the atomicity of transaction processing is ensured by adopting a deneutralized mode.

Description

technical field [0001] The embodiment of the present application relates to the field of computer technology, and specifically to blockchain technology. Background technique [0002] In the blockchain system, the demand for cross-chain collaborative business processing gradually emerges. That is, it is necessary to initiate transaction requests in the two blockchains for processing, for example, to perform cross-chain digital currency exchange business. Transactions processed through cross-chain collaboration require the atomicity of transaction processing. The so-called atomicity means that the associated transaction requests need to be effective or invalid at the same time. [0003] In the existing technology, the associated transaction request processing can be coordinated in the exchange, or coordinated through the relay chain. The problem with these solutions is that there is a centralized way to coordinate associated transaction requests, and it can only be used for...

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): G06F9/46G06F16/23G06F16/27G06F21/62G06F21/64
CPCG06F9/466G06F16/23G06F16/27G06F21/6218G06F21/64
Inventor 孙君意肖伟
Owner BAIDU INT TECH (SHENZHEN) 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