BLOCK GENERATION METHOD, device, APPARATUS, AND STORAGE MEDIUM
A block and new block technology, applied in the blockchain field, can solve the problems of transaction data rollback, business layer troubles, poor business performance, etc., to reduce the probability of blockchain forks and avoid being discarded.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0024] figure 1 It is a flow chart of a block generation method provided by Embodiment 1 of the present invention. This embodiment can be applied to the consensus mechanism where at least two nodes generate blocks in turn according to the set rules. The method is executed by the block generation node. It can be executed by a block generation device configured in the block generation node. The method specifically includes the following steps:
[0025] S110. Obtain the initial block generation time of the local node in this block generation cycle.
[0026] In a specific embodiment of the present invention, the blockchain network can enable at least two nodes in the blockchain network to enjoy transaction processing rights through elections and other means according to the consensus mechanism and deployed parameters, and take turns as the current block The generation node processes the transaction processing request in the blockchain network, and finally generates a new block r...
Embodiment 2
[0036] On the basis of the first embodiment above, this embodiment provides a preferred implementation of the block generation method, which can improve the timeliness of block generation and the system performance of the block chain. figure 2 It is a flow chart of a block generation method provided by Embodiment 2 of the present invention, such as figure 2 As shown, the method includes the following specific steps:
[0037] S210. Acquire the inter-node transition time from the consensus mechanism data deployed locally.
[0038] In a specific embodiment of the present invention, the blockchain network can enable at least two nodes in the blockchain network to enjoy transaction processing rights through elections and other means according to the consensus mechanism and deployed parameters, and the transition time between nodes is The time interval when the node is switched, takes turns as the current block generation node to process the transaction processing request in the ...
Embodiment 3
[0064] image 3 It is a schematic structural diagram of a block generation device provided by Embodiment 3 of the present invention. This embodiment can be applied to the consensus mechanism where at least two nodes generate blocks in turn according to the set rules. The device is configured in the block generation node , the block generation method described in any embodiment of the present invention can be implemented. Specifically, the device includes:
[0065] The initial block generation time acquisition module 310 is used to obtain the initial block generation time of the local node in this block generation cycle, wherein the initial block generation time is based on the block generation cycle of the previous block generation node and the transition time between nodes is determined;
[0066] The block generation module 320 is configured to generate a new block according to the block generation rules within the node after detecting the initial block generation time of t...
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