Voting method, device and equipment based on Blockchain, and medium
A blockchain and voting value technology, applied in the field of blockchain, can solve the problems of non-disclosure of vote counting nodes, difficulty in ensuring the fairness of vote counting nodes, and the impact of electronic voting system availability
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 2
[0049] On the basis of the above embodiments, the present invention also provides the following series of preferred implementation manners.
[0050] figure 2 It is a flow chart of another blockchain-based voting method provided by the embodiment of the present invention. figure 2 In steps S10-S13 and figure 1 Same, no more details here.
[0051] Such as figure 2 As shown, as a preferred implementation manner, after obtaining the voting value representing the voting intention in each voting node, the method further includes:
[0052] Step S20: Control each voting node to carry out a digest signature on the voting information including the voting value in itself through the preset digest algorithm and signature private key, and obtain the signature data.
[0053] Step S21: Record each signature data into the blockchain through the blockchain smart contract.
[0054] In order to avoid repeated voting or non-voting by voting nodes, each voting node can be controlled to per...
Embodiment 3
[0087] The following provides an embodiment in a specific application scenario:
[0088] For ease of understanding, please refer to image 3 The flow sequence diagram of the blockchain-based voting method shown.
[0089] The embodiment of this application scenario includes the following steps:
[0090] 1. The vote counting node generates a pair of EC-ElGamal encryption key pairs, publicizes the encrypted public key, and retains the encrypted private key;
[0091] 2. Voting nodes use SM2 / SM9 / ECDSA to generate signature public and private keys
[0092] 3. The voting node uses the EC-ElGamal encryption public key of the vote counting node to encrypt the voting value;
[0093] 4. The voting node uses the SM3 / SHA256 digest algorithm to generate a summary of the complete voting information, and uses its own SM2 / SM9 / ECDSA signature private key to sign it and send it to the blockchain;
[0094] 5. Consensus nodes running blockchain smart contracts perform homomorphic calculations ...
Embodiment 4
[0099] The embodiment of the blockchain-based voting method has been described in detail above, and the present invention also provides a blockchain-based voting device corresponding to the method. Due to the implementation of the embodiment of the device part and the method part The examples correspond to each other, so for the embodiments of the device part, please refer to the description of the embodiments of the method part, and details will not be repeated here.
[0100] Figure 4 A structural diagram of a blockchain-based voting device provided by an embodiment of the present invention. The blockchain-based voting device provided by the embodiment of the present invention includes:
[0101] The obtaining module 10 is configured to obtain the voting value representing the voting intention in each voting node.
[0102] The encryption module 11 is configured to encrypt each voting value according to the homomorphic public key generated by the vote counting node by a homo...
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