Transaction request parallel processing method and device, equipment and medium
A parallel processing and transaction technology, applied in the field of blockchain, can solve problems such as lack of versatility, inability to solve concurrency problems, and inability to apply blockchain networks to achieve the effect of parallel processing and speeding up processing
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0053] figure 2 It is a flow chart of a method for parallel processing of transaction requests based on smart contracts provided by Embodiment 1 of the present invention. This embodiment is applicable to how to process transaction requests generated based on smart contracts. It is especially applicable to how to effectively identify the dependencies between transaction requests based on smart contracts in order to realize concurrent processing of transaction requests when the initiating node of the transaction request uses the aforementioned smart contract-based transaction request processing scheme to process the transaction request scene. The solution of the embodiment of the present invention can be applied to the transaction request processing of the block generation node in the block generation process, and can also be applied to the processing of the transaction request in the verification process of the block by other blockchain nodes. The method can be executed by a ...
Embodiment 2
[0081] image 3 It is a flow chart of a smart contract-based parallel processing method for transaction requests provided by Embodiment 2 of the present invention. On the basis of the above embodiments, this embodiment further analyzes the input dependent data set and output change data set according to each transaction request. , to determine the dependencies among the various transaction requests for explanation. see image 3 , the method may specifically include:
[0082] S310. Obtain at least two smart contract-based transaction requests transmitted in the blockchain network.
[0083] S320. Extract two transaction requests, and determine a dependency relationship between the two transaction requests according to the input dependency data set and the output change data set of the two transaction requests.
[0084] Specifically, after the local node obtains at least two transaction requests based on smart contracts from the blockchain network, it can judge the dependency ...
Embodiment 3
[0092] Figure 4 It is a flow chart of a method for parallel processing of transaction requests based on smart contracts provided by Embodiment 3 of the present invention. On the basis of the above embodiments, this embodiment further includes input dependent data sets and output change data according to each transaction request. Set, determine the dependency relationship between each transaction request and explain it. see Figure 4 , the method may specifically include:
[0093] S410. Obtain at least two smart contract-based transaction requests transmitted in the blockchain network.
[0094] S420. Determine a first transaction request from the transaction requests whose dependencies are to be identified.
[0095] In this embodiment, the first transaction request may be any one of the transaction requests whose dependencies are to be identified; it may also be the transaction request first obtained by the local node among the transaction requests whose dependencies are to...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com