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

Active Publication Date: 2018-11-06
中钞信用卡产业发展有限公司杭州区块链技术研究院
View PDF9 Cites 47 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] In the current electronic voting system, since the vote counting process of the vote counting nodes is not open, it is difficult to ensure the fairness of the vote counting nodes when counting votes
In addition, when voting is implemented based on ring signature technology, each voting node needs to interact with other voting nodes to generate its own ring signature. Therefore, when the number of voting nodes is large, the process of generating ring signatures for each voting node is complicated. , the amount of calculation is large, it is difficult to guarantee the overall voting efficiency, and it will affect the usability of the electronic voting system

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Voting method, device and equipment based on Blockchain, and medium
  • Voting method, device and equipment based on Blockchain, and medium
  • Voting method, device and equipment based on Blockchain, and medium

Examples

Experimental program
Comparison scheme
Effect test

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...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses a voting method, a voting device and voting equipment based on Blockchain, and a medium. The method comprises the steps of: obtaining voting values representing a voting intention in each voting node; encrypting each voting value according to the homomorphic public key of the counting nodes generated by a homomorphic encryption algorithm to generate encrypted values; transmitting each encrypted value to a consensus node running a blockchain smart contract, and controlling the consensus node to perform a summation operation on each encrypted value to obtain an encryptedvoting result; decrypting the encrypted voting result by controlling the homomorphic private key of the counting nodes generated by the homomorphic encryption algorithm to obtain an original voting result, and recording the original voting result in the blockchain through the blockchain smart contract for publicity for each node in the blockchain network. This method ensures the fairness of the counting process and the overall voting efficiency. In addition, the invention also provides a voting device and voting equipment based on Blockchain, and a medium, having the beneficial effects the same as described above.

Description

technical field [0001] The present invention relates to the technical field of block chain, in particular to a voting method, device, equipment and medium based on block chain. Background technique [0002] Current electronic voting (e-voting) systems are often centralized systems based on blind signatures and ring signatures. During the voting process, voting nodes either interact with vote counting nodes to generate voting blind signatures, or generate voting ring signatures through the public keys of other voting nodes to achieve anonymous voting. Finally, voting nodes send blind signatures or ring signatures to The vote counting node counts the votes and publicizes the results. [0003] In the current electronic voting system, since the vote counting process of the vote counting nodes is not disclosed, it is also difficult to ensure the fairness of the vote counting nodes when counting votes. In addition, when voting is implemented based on ring signature technology, e...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): H04L9/00H04L9/06H04L9/30H04L9/32
CPCH04L9/008H04L9/0643H04L9/3006H04L9/3247H04L9/3255H04L9/3257
Inventor 张亮轩张一锋
Owner 中钞信用卡产业发展有限公司杭州区块链技术研究院
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products