Font Size: a A A

Design And Implementation Of Voting System Based On Blockchain Technology

Posted on:2018-06-08Degree:MasterType:Thesis
Country:ChinaCandidate:J L LiuFull Text:PDF
GTID:2348330515455334Subject:Software engineering
Abstract/Summary:PDF Full Text Request
With the progress of society and the rapid economic development,polls and opinion collection in the social life has played an increasingly important role in the online voting system to high efficiency.Online voting systems replace traditional voting activities with high efficiency,resource saving and easy dissemination.However,due to online voting system's data is stored in the central server,there are many drawbacks.For example,(1)the user's voting information has the risk of being leaked;(2)After voters vote,ordinary voters can not verify that the voting results are correct;(3)Vote data and the results probably be maliciously tampered.This paper constructs a fair,open and transparent voting system by using the blockchain technology.Use the transfer transactions in the blockchain to refer to the traditional voting process.The system generates a blockchain account for each user and voting item.It issues a voting tokens for each vote.Each user can only receive a vote tokens in each voting.The user transfers the voting token that he owns to the block chain account of the voting option.Finally,voting system counts the number of vote tokens as votes of voting option.The main contributions are as follows:(1)Completed the design of the voting system based on the blockchain technology.The system is divided into three layers of organizational structure.Respectively,there are the Bubi blockchain as the bottom layer,the SDK tool as the middleware layer and the voting system business as the implementation layer.For the flexibility of the system using the underlying blockchain,we designed and packaged a SDK tool.The overall system architecture of the system is designed.Detailed design of the system administrator subsystem,the user subsystem in the various functional modules.Finally,according to the function module of the system,the database entity object in the system is planned,and the table structure in the database of the system is designed.(2)Completed the implementation of the voting system based on the block chain technology.First,the installation of the underlying blockchain is deployed.Installed four Ubuntu server as a node in the blockchain.And made the four nodes to reach a consensus.Then blockchain was running normally.Second,we completed the voting system code.The Spring+SpringMVC+Mybatis framework is used to develop the business functions of the blockchain-based voting system.Database in accordance with the design part of the realization of the voting system to ensure the perfect realization of the upper business.Then,the functional modules of the voting system based on the blockchain technology are realized.Finally,we completed the functional testing of the various modules of the system.We confirmed that the various functional modules of the system can be used normally.
Keywords/Search Tags:voting system, blockchain, SDK, vote tokens, consensus
PDF Full Text Request
Related items