A block chain consensus device and algorithm
A blockchain and consensus technology, applied in secure communication devices, computing, transmission systems, etc., can solve problems such as little improvement in security, slow processing speed, weak security, etc., to increase the cost of doing evil, improve effectiveness, The effect of enhancing security
- 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 blockchain consensus device includes a contract module 1, a voting module 2, a block generation module 3, and a storage module 4. The contract module 1 is used to execute smart contracts. Through smart contracts, ordinary nodes can become consensus nodes. Module 2 is used to elect a leader node from the nodes participating in the consensus by voting. Block generation module 3 means that the leader node packs block unit data and puts the block unit data into the blockchain. Storage module 4 It is used to store the data information placed in the area chain.
[0035] It should be noted that ordinary nodes become consensus nodes through the smart contract in contract module 1, and then consensus nodes select the leader node from all participating consensus nodes through voting module 2. The leader node is responsible for generating block units, and then the leader node The block generation module 3 is used to package the generated block unit data, ...
Embodiment 2
[0038] Such as figure 2 As shown, a blockchain consensus algorithm includes the following steps:
[0039] (1) The creation of consensus nodes: there are smart contracts in the blockchain, and ordinary nodes can become consensus nodes through smart contracts;
[0040] (2) Select the leader node: adopt the Raft algorithm to select the leader node from the consensus nodes;
[0041] (3) The leader node packs the transaction request in the transaction queue into a block unit to form a block unit;
[0042] (4) The leader node sends the formed block unit to several other consensus nodes for confirmation and signature. If the number of confirmed signatures is less than half of the total number of consensus nodes, a new block unit cannot be formed. If the number of confirmed signatures is greater than the total number of consensus nodes Half of that, then a new block unit can be formed;
[0043] (5) The leader node packs the new block unit and puts it in the regional chain, and broadcasts it o...
Embodiment 3
[0049] Such as image 3 As shown, the specific steps for ordinary nodes to become consensus nodes through smart contracts are:
[0050] a. Ordinary nodes send asset mortgage tokens to contract module 1;
[0051] b. After the contract module 1 receives the asset mortgage token, it will review it;
[0052] c. If the audited asset mortgage certificate meets the requirements, the ordinary node will be awarded as a consensus node. If the audited asset mortgage certificate does not meet the requirements, the ordinary node will not be awarded the consensus node.
[0053] The nodes participating in the consensus need to mortgage certain assets, which increases the cost of doing evil and prompts the consensus nodes to take responsibility when voting in consensus, thereby improving 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