Anonymous social network voting system based on block chain

By adopting blockchain technology, multi-party security computing and data obfuscation mechanisms in the social network voting system, an anonymous voting system based on multi-party security computing is designed, which solves the problems of security and anonymity of voting data in the existing system, and realizes the security and immutability of voting data.

CN119625878APending Publication Date: 2025-03-14张宏
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411967571.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-30
Publication Date
2025-03-14

AI Technical Summary

Technical Problem

The existing social network voting system has the risk of single-point attacks, it is difficult to ensure the anonymity of voters, lack of transparency and insufficient data privacy protection.

Method used

Using blockchain technology, multi-party security computing and data obfuscation mechanisms, an anonymous voting system based on multi-party security computing is designed. The system includes a blockchain storage layer, a multi-party computing layer, a data obfuscation layer and a weight computing layer. The voting weight is calculated through the entropy weight method, and the Shamir threshold scheme is used for key sharing, so as to realize secure calculations based on homomorphic encryption, and verify the correctness of the calculation through zero-knowledge.

Benefits of technology

It realizes complete anonymity of voters, ensures the security and immutability of voting data, and improves the credibility of voting results and the scalability of the system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119625878A_ABST
    Figure CN119625878A_ABST
Patent Text Reader

Abstract

The invention discloses an anonymous social network voting system based on a block chain and an implementation method thereof. According to the system, a multi-party security computing technology is adopted, and anonymity protection of a voting process is realized through data confusion and homomorphic encryption. The system comprises a block chain storage module, a multi-party computing node, a data confusion module and an intelligent contract management module. In the voting process, tracking of the identity of a voter is prevented through a social data confusion technology, voting data is encrypted and stored by adopting a threshold encryption scheme, and voting effectiveness is ensured by using zero-knowledge proof. Before voting is stopped, all voting data are stored in a block chain network in an encrypted form, and the identity of a voter and a voting object cannot be traced. After the voting is finished, the voting result is decrypted and counted through a multi-party security computing protocol, and meanwhile, the authenticity and non-tampering property of the voting data are ensured. According to the method, the problem of privacy disclosure in traditional social network voting is solved, a real anonymous voting mechanism is realized, and safe and reliable technical support is provided for democratic decisions in the social network.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the intersection of blockchain technology, cryptography and social networks, and specifically relates to an anonymous voting system based on multi-party secure computing and an implementation method thereof. Background Art

[0002] With the popularity of social networks, online voting has become an important democratic decision-making tool. However, existing social network voting systems have the following problems:

[0003] 1. The traditional centralized voting system is vulnerable to single-point attacks, and the security of voting data is difficult to guarantee;

[0004] 2. The existing voting system cannot guarantee the true anonymity of voters, and it is easy to track their identities through social networks; 3. The voting process lacks transparency, and the results are easy to be tampered with;

[0005] 3. The privacy protection mechanism for voting data is imperfect, which can easily lead to information leakage.

[0006] The current solutions mainly include:

[0007] 1. Use simple data encryption technology

[0008] 2. Use basic anonymization

[0009] 3. Centralized server storage

[0010] These solutions still have security risks and insufficient privacy protection. Summary of the invention

[0011] Technical issues

[0012] The technical problem to be solved by the present invention is: how to achieve complete anonymity of voters while ensuring the authenticity of the votes, and ensure the security and non-tamperability of the voting data.

[0013] The core technical problem to be solved by the present invention is:

[0014] 1. How to achieve complete anonymity of voters while ensuring the authenticity of the vote;

[0015] 2. How to allocate voting weights scientifically and reasonably;

[0016] 3. How to ensure the security and immutability of voting data.

[0017] Technical Solution

[0018] The technical solution provided by the present invention mainly includes:

[0019] 1. System architecture design

[0020] Blockchain storage layer: responsible for distributed storage and consensus mechanism of data

[0021] Multi-party computing layer: achieving secure computing and zero-knowledge proof

[0022] Data obfuscation layer: handles social data obfuscation and anonymization

[0023] Weight calculation layer: Calculate voting weights based on entropy weight method

[0024] 2. Voting weight calculation based on entropy weight method

[0025] The entropy weight method is used to calculate the voting weight. The specific steps are as follows:

[0026] (1) Constructing the evaluation index matrix:

[0027] X = ( )m×n, where Represents the jth evaluation index value of the i-th voter

[0028] (2) Standardization:

[0029] For positive indicators:

[0030] For negative indicators:

[0031] (3) Calculate information entropy:

[0032] ,in ,

[0033] (4) Calculate weight:

[0034]

[0035] 3. Multi-party secure computing protocol

[0036] 1. Use Shamir threshold scheme for key sharing

[0037] 2. Implement secure computing based on homomorphic encryption

[0038] 3. Use zero-knowledge proof to verify the correctness of calculations

[0039] 4. Data obfuscation mechanism

[0040] 1. Anonymization of social network

[0041] 2. Voting data shard storage

[0042] 3. Data processing mechanism for time-space decoupling

[0043] Beneficial Effects

[0044] The present invention has the following advantages:

[0045] Achieve truly anonymous voting and prevent identity tracking through multi-level data obfuscation mechanisms

[0046] Use the entropy weight method to scientifically allocate voting weights and improve the credibility of voting results

[0047] Ensure the security of data processing based on multi-party secure computing

[0048] Using blockchain technology to ensure the immutability of voting data

[0049] Reduce system operation and maintenance costs and improve the scalability of the voting system BRIEF DESCRIPTION OF THE DRAWINGS

[0050] Figure 1 is a system architecture diagram of the present invention;

[0051] Figure 2 A flowchart for anonymous voting;

[0052] Figure 3 This is a flowchart for data obfuscation processing;

[0053] Figure 4 The following is a flowchart of the statistical results. DETAILED DESCRIPTION

[0054] The present invention relates to an anonymous social network voting system based on blockchain, and its purpose is to provide a system that ensures the security, transparency and non-tamperability of voting data while ensuring the anonymity of voters. To this end, the present invention adopts a technical solution based on blockchain technology, multi-party secure computing and data obfuscation mechanism. The implementation method and steps of the present invention are described in detail below in conjunction with specific embodiments.

[0055] 1. System initialization steps

[0056] Step 1.1 Deploy smart contract

[0057] In the voting system of the present invention, the system first needs to deploy smart contracts to ensure the transparency and immutability of the voting process. Smart contracts are a piece of automatically executed code in the blockchain that is used to manage the voting process, including tasks such as voting qualification verification, storage of voting records, and statistics and publication of voting results. The deployment process of smart contracts includes the following specific steps:

[0058] 1. Create a voting smart contract on the blockchain platform, which includes logical functions such as voting data storage, voting rules, and voting results release.

[0059] 2. Deploy the smart contract and confirm the correctness of the contract. After deployment, the smart contract will be executed automatically without human intervention.

[0060] 3. Set access rights for the contract to ensure that only authorized nodes can read and write data to prevent malicious attacks and tampering.

[0061] Step 1.2 Initialize the node network

[0062] The node network initialization of the blockchain is the basis for ensuring the security of voting data storage and transmission. In the present invention, the node network includes multiple blockchain nodes, and the nodes are interconnected through a point-to-point communication protocol. The node initialization process is as follows:

[0063] 1. Initialize and configure the corresponding blockchain platform, and then configure the nodes according to the characteristics of the platform.

[0064] 2. Initialize voting nodes and verification nodes. Voting nodes are mainly used to store and verify voting data, and verification nodes are used to ensure the correctness of the voting process.

[0065] 3. Configure the consensus mechanism between nodes to ensure that each node can consistently maintain the consistency and immutability of blockchain data.

[0066] Step 1.3 Generate system parameters

[0067] System parameters include data encryption parameters, voting weight calculation parameters, etc., to ensure the security and accuracy of the system. In the present invention, the parameter generation process includes:

[0068] 1. Generate the evaluation index system required for voting weight calculation, such as social activity, historical voting credibility, account duration, etc.

[0069] 2. Configure the public and private key pairs required by the encryption algorithm to ensure that data transmission and storage during the voting process are encrypted.

[0070] 3. Set up the key distribution and sharing mechanism required for multi-party secure computing to ensure that each computing participant can only obtain part of the calculation results and does not leak other information.

[0071] 2. Voting weight calculation steps

[0072] Step 2.1 Determine the evaluation indicators

[0073] In order to reasonably allocate voting weights, this paper uses the entropy weight method to scientifically calculate the influence of voters. First, the evaluation index system needs to be determined, mainly including:

[0074] 1. Social activity: refers to the level of activity of voters in social networks, which can usually be measured by indicators such as the frequency of posts and the amount of comment interactions of voters.

[0075] 2. Historical voting credibility: indicates the voters’ compliance with the rules and voting integrity in historical voting, reflecting the voters’ credibility.

[0076] 3. Account duration: indicates the length of time the voter’s account has existed. Generally, the longer the account is, the more credible it is.

[0077] 4. Social influence: refers to the influence of the voter in the social network, which can usually be evaluated by indicators such as the number of friends, number of fans, and number of reposts.

[0078] Step 2.2 Data standardization

[0079] In order to eliminate the dimensional differences between different evaluation indicators, the present invention uses standardization processing to normalize each indicator. The specific processing method is as follows:

[0080] 1. For positive indicators, the following formula is used for standardization:

[0081]

[0082] in, is the jth normalized index of the ith voter, is the jth original index value of the ith voter.

[0083] 2. For negative indicators, the following formula is used for standardization:

[0084]

[0085] Through standardization, the range of each indicator value is compressed to [0, 1], eliminating the impact of dimension and facilitating subsequent calculations.

[0086] Step 2.3 Calculate information entropy

[0087] According to the principle of entropy weight method, it is necessary to evaluate the effectiveness of each indicator and obtain the weight coefficient of each indicator by calculating the information entropy value of each indicator. The specific steps are as follows:

[0088] 1. Calculate information entropy , used to measure the disorder degree of the jth index, the formula is as follows:

[0089]

[0090] in, is the normalized value of the ith voter, , m is the number of voters.

[0091] 2. Calculate weight: Calculate weight based on information entropy, the formula is:

[0092]

[0093] Through this step, the weight coefficient of each indicator is obtained to ensure the scientific and reasonable distribution of voting weights.

[0094] 3. Voting process implementation steps

[0095] Step 3.1 Voting eligibility verification

[0096] Voting qualification verification ensures that only users who meet certain conditions can participate in voting. The specific process is as follows:

[0097] 1. Users register and log in through the identity authentication mechanism, and the system verifies the user's account information, such as whether they are a legitimate user and whether they meet the conditions for participating in the voting.

[0098] 2. Use blockchain technology to record each user’s registration information and qualification information to ensure data transparency and immutability.

[0099] Step 3.2 Data obfuscation

[0100] Under the premise of ensuring the confidentiality of the voter's identity, data obfuscation is performed to prevent the voter's identity and social relationships from being tracked. This step mainly includes the following:

[0101] 1. Use homomorphic encryption to encrypt voting data so that the data can still be processed and calculated in an encrypted state.

[0102] 2. Shard the voting data, and store the sharded data in different blockchain nodes to enhance data security.

[0103] 3. Use a time-space decoupling mechanism to store and calculate voting data in a decentralized manner, ensuring that the identity of the voter cannot be restored through time and space information.

[0104] Step 3.3 Multi-party computation process

[0105] In order to ensure the privacy and security of voting data, multi-party secure computing technology is used to process voting data. The specific steps are as follows:

[0106] 1. Key sharing is performed through the Shamir threshold scheme. Each participant only has a part of the key and cannot disclose the calculation results of other participants.

[0107] 2. Each participant calculates the encrypted voting data through homomorphic encryption technology and verifies the correctness of the calculation through zero-knowledge proof to ensure the fairness of the voting process.

[0108] Step 3.4 Blockchain storage

[0109] Both voting data and voting results will be stored through blockchain technology. The specific steps are as follows:

[0110] 1. After the voting is over, all voting data will be processed and recorded through smart contracts to ensure that the data cannot be tampered with.

[0111] 2. The result data is published through the encrypted blockchain, and all users can verify the voting results to ensure data transparency.

[0112] 4. Results statistics and publication steps

[0113] Step 4.1 Result statistics

[0114] After the voting is over, the system will perform weighted statistics based on the voting data and the weight of each voter. The specific steps are as follows:

[0115] 1. Collect all encrypted voting data and decrypt the data through a multi-party decryption protocol.

[0116] 2. The voting results are weighted according to the weight coefficient of each voter to obtain the final voting result.

[0117] Step 4.2 Result verification and publication

[0118] The voting results will be publicly released through the blockchain to ensure the transparency and immutability of the results. The specific steps are as follows:

[0119] 1. The voting results are recorded on the blockchain through smart contracts, and all nodes can verify the correctness of the results.

[0120] 2. Make voting results public and provide verification tools to allow users to view and confirm them.

[0121] 5. Security Mechanism

[0122] The voting system of the present invention also includes the following security mechanisms to ensure data security and privacy protection:

[0123] Threshold signature scheme: Use tn threshold signature and distributed key generation technology to ensure the security of key management.

[0124] Zero-knowledge proof: The privacy of the calculation process is ensured through zero-knowledge proof to avoid leakage of voting data.

[0125] Homomorphic encryption: The voting data is encrypted using the Paillier encryption scheme to ensure data confidentiality.

[0126] in conclusion

[0127] The present invention realizes a safe and reliable anonymous social network voting system by combining blockchain technology, multi-party secure computing and data obfuscation technology. The system can effectively protect the privacy of voters, ensure the fairness and transparency of the voting process, and has broad application prospects.

Claims

1. An anonymous social network voting system based on blockchain, characterized in that: include: (1) Multi-party secure computing module (2) Data obfuscation module (3) Blockchain storage module (4) Smart contract management module.

2. The voting system as claimed in claim 1, characterized in that: Threshold encryption scheme is used to protect voting data.

3. The voting system as claimed in claim 1, characterized in that: Use zero-knowledge proof to verify the validity of the vote.