Block-chain transaction processing method, device and apparatus and medium
A transaction processing and block chain technology, applied in data processing applications, instruments, finance, etc., can solve problems such as time-consuming and occupying system resources, and achieve the effects of improving processing efficiency, saving system resources, and optimizing account balance calculation methods
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0030] Figure 1A It is a flowchart of a blockchain transaction processing method in Embodiment 1 of the present invention. The embodiment of the present invention is applicable to the case of calculating the account balance based on the unspent transaction output model, the method is executed by a block chain transaction processing device, the device is implemented by software and / or hardware, and is specifically configured to carry a block in the electronics of the chain nodes.
[0031] like Figure 1A The blockchain transaction processing method shown includes:
[0032] S110. When the set trigger condition is met, select at least two unspent transaction outputs from at least two unspent transaction outputs associated with the target account as unspent transaction outputs to be combined.
[0033] Among them, the transaction output can be understood as the transaction amount of the corresponding transaction element transferred to the target account when other accounts transf...
Embodiment 2
[0051] figure 2 It is a flowchart of a blockchain transaction processing method in Embodiment 2 of the present invention. The embodiments of the present invention perform subdivision optimization on the basis of the technical solutions of the foregoing embodiments.
[0052] Further, the "combined transfer transaction" is limited to "the number of bytes of the combined transfer transaction, which is less than or equal to the upper limit of the block byte number"; correspondingly, the operation "from at least two unspent transactions associated with the target account Among the transaction outputs, select at least two unspent transaction outputs as unspent transaction outputs to be merged. Candidate unspent transaction outputs; generate a combined transfer transaction according to each candidate unspent transaction output; adjust the number of candidate unspent transaction outputs according to the size relationship between the combined transfer transaction and the upper limit ...
Embodiment 3
[0073] Figure 3A It is a flowchart of a blockchain transaction processing method in Embodiment 3 of the present invention. The embodiments of the present invention perform additional optimization on the basis of the technical solutions of the foregoing embodiments.
[0074] Further, after the operation "send the merged transfer transaction to the blockchain network as a transaction request", add "if the remaining unspent transaction outputs associated with the target account do not meet the conditions for stopping the merge, then determine to generate Set trigger conditions to trigger the generation of the next merged transfer transaction, and determine the unspent transaction output corresponding to the previous merged transfer transaction as a new unspent transaction output "to achieve multi-level merger of unspent transaction outputs .
[0075] like Figure 3A A blockchain transaction processing method shown includes:
[0076] S310. When the set trigger condition is me...
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