A block chain consensus device and algorithm
A blockchain and consensus technology, applied in secure communication devices, calculations, instruments, etc., can solve problems such as little improvement in security, slow processing speed, weak security, etc., to achieve increased cost of doing evil, balanced efficiency, and easy operation Effect
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0034] Such as figure 1 As shown, a block chain consensus apparatus, including contract module 1, voting module 2, block module 3, and storage module 4, contract module 1 for performing intelligent contracts, can make ordinary nodes a consensus node, vote through intelligent contracts Module 2 is an electing a Leader node in a node that participates in consensus. The outbound module 3 refers to the Leader node package unit data, and puts the block unit data into the block chain, and stores module 4. It is a data information for storing the placement in the regional chain.
[0035] It should be noted that the normal node becomes a consensus node through the intelligent contract in the contract module 1, and then the consensus node selects the Leader node from all participating consensus nodes by the voting module 2, the Leader node is responsible for generating block units, then the Leader node The generated block module 3 will be packaged, and the packaged block unit data is place...
Embodiment 2
[0038] Such as figure 2 As shown, a block chain consensus algorithm includes the following steps:
[0039] (1), the creation of consensus nodes: set a smart contract in the block chain, and the normal node can turn into a consensus node through the intelligent contract;
[0040] (2), select the Leader Node: Use the RAFT algorithm to select the Leader node from the consensus node;
[0041] (3), the Leader node packs the transaction request in the trading queue into block units to form a block unit;
[0042] (4) The Leader node sends the formed block unit to other consensus nodes to confirm the signature. If the number of signatures is less than half of the total number of consensus nodes, the new block unit cannot be formed. If the confirmation number is greater than the total number of consensus nodes In half, you can form a new block unit;
[0043] (5), the Leader node packs the new block unit and puts into the area chain while broadcasting all net;
[0044] (6), the storage modu...
Embodiment 3
[0049] Such as image 3 As shown, the specific steps that the normal node can become a consensus node through the intelligent contract:
[0050] a, send asset mortgage communications to the contract module 1;
[0051] b, the contract module 1 is reviewed after receiving the asset mortgage transfer;
[0052] c. If the asset mortgage communications meet the requirements, the normal node is granted to the consensus node. If the audit asset mortgage communications does not meet the requirements, the normal node is not granted to the consensus node.
[0053] The nodes involved in consensus need to mortgage certain assets, which improves the evil cost, and prompts consensus nodes to take responsibility when they are interview, thereby increasing the effectiveness of voting.
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