天堂国产午夜亚洲专区-少妇人妻综合久久蜜臀-国产成人户外露出视频在线-国产91传媒一区二区三区

當前位置:主頁 > 科技論文 > 軟件論文 >

基于區(qū)塊鏈技術的投票系統(tǒng)的設計與實現(xiàn)

發(fā)布時間:2018-03-22 00:08

  本文選題:投票系統(tǒng) 切入點:區(qū)塊鏈 出處:《內(nèi)蒙古大學》2017年碩士論文 論文類型:學位論文


【摘要】:隨著社會的進步,經(jīng)濟的快速發(fā)展,投票調(diào)查、意見采集在社會生活中起了越來越重要的作用。網(wǎng)上投票系統(tǒng)以高效率、節(jié)省資源、易傳播等特性替代了線下投票活動。但是由于網(wǎng)上投票系統(tǒng)的數(shù)據(jù)存儲在中心化服務器中,存在許多弊端。例如:(1)用戶的投票信息有被泄漏的風險;(2)選民投票以后,普通的選民無法驗證投票結果是否正確;(3)投票數(shù)據(jù)、結果可能會被惡意篡改。本論文利用區(qū)塊鏈技術的去中心化、信息不可篡改、公開透明的特性,構建了公平、公正、公開透明的投票系統(tǒng)。本文旨在通過利用區(qū)塊鏈中的轉賬交易替代投票過程,以解決現(xiàn)有網(wǎng)上投票系統(tǒng)存在的問題。系統(tǒng)為每個用戶和投票選項生成一個區(qū)塊鏈賬號,并且為每個投票活動發(fā)行一種投票代幣。系統(tǒng)中每個用戶只能領取一次投票代幣,用戶把自己擁有的投票代幣轉賬給投票選項的區(qū)塊鏈賬號。最后,系統(tǒng)統(tǒng)計各投票選項擁有的投票代幣數(shù)量,把它記為投票選項所得票數(shù),公示投票結果。本論文主要成果如下:(1)完成了基于區(qū)塊鏈技術的投票系統(tǒng)的設計。本系統(tǒng)分為三層組織結構,分別是布比區(qū)塊鏈作為底層、SDK工具作為中間件層和投票系統(tǒng)的業(yè)務作為實現(xiàn)層。設計封裝了 SDK工具,方便系統(tǒng)后臺業(yè)務靈活調(diào)用底層區(qū)塊鏈。設計了本系統(tǒng)的系統(tǒng)業(yè)務總體模塊結構,對系統(tǒng)中的管理員子系統(tǒng)、用戶子系統(tǒng)中的各個功能模塊進行詳細設計。最后,根據(jù)系統(tǒng)的功能模塊,抽象出系統(tǒng)數(shù)據(jù)庫中的實體對象,進而設計了本系統(tǒng)數(shù)據(jù)庫中的表結構。(2)完成了基于區(qū)塊鏈技術的投票系統(tǒng)的實現(xiàn)。首先,實現(xiàn)了底層區(qū)塊鏈的安裝部署,安裝了四個Ubuntu服務器作為區(qū)塊鏈中的節(jié)點,使四個節(jié)點達成共識,保證底層區(qū)塊鏈正常運行。其次,按照設計部分實現(xiàn)完成數(shù)據(jù)庫部署建立,以保證投票系統(tǒng)的上層業(yè)務實現(xiàn)。再次,完成了投票系統(tǒng)業(yè)務實現(xiàn),采用Spring+SpringMVC+Mybatis框架開發(fā)實現(xiàn)了基于區(qū)塊鏈的投票系統(tǒng)的業(yè)務功能。最后,對系統(tǒng)的各個模塊進行功能測試,保證了系統(tǒng)正常穩(wěn)定運行。
[Abstract]:With the progress of society and the rapid development of economy, voting survey and opinion collection have played an increasingly important role in social life. Features such as ease of dissemination replace offline voting. But because the data of the online voting system is stored in a centralized server, there are many drawbacks. For example, the voting information of a user is at risk of being leaked. Ordinary voters can not verify whether the voting results are correct or not, and the results may be maliciously tampered with. Open and transparent voting system. This paper aims to solve the problems of the existing online voting system by using the transfer transaction in the block chain instead of the voting process. The system generates a block chain account for each user and voting option. And issue a vote token for each voting activity. In the system, each user can only receive one vote token, and the user transfers the voting token he owns to the block chain account of the voting option. Finally, The system counts the number of tokens for each voting option and counts it as the number of votes obtained by the voting option. The main results of this paper are as follows: 1) the design of the voting system based on block chain technology is completed. The system is divided into three layers. The Buby block chain is used as the bottom layer of the SDK tool as the middleware layer and the voting system as the implementation layer. The SDK tool is designed and encapsulated. It is convenient for the system background business to call the bottom block chain flexibly. The overall system business module structure is designed. The administrator subsystem and the user subsystem are designed in detail. Finally, According to the function module of the system, the entity objects in the system database are abstracted, and then the table structure in the database of the system is designed. The installation and deployment of the underlying block chain is realized, and four Ubuntu servers are installed as nodes in the block chain, so that the four nodes reach a consensus and ensure that the underlying block chain runs normally. Secondly, the database deployment is completed according to the design part. In order to ensure the implementation of the upper layer business of the voting system. Thirdly, the realization of the voting system business is completed, and the business function of the voting system based on the block chain is developed by using the Spring SpringMVC Mybatis framework. Finally, the function of each module of the system is tested. It ensures the normal and stable operation of the system.
【學位授予單位】:內(nèi)蒙古大學
【學位級別】:碩士
【學位授予年份】:2017
【分類號】:TP311.52;TP311.13

【參考文獻】

相關期刊論文 前10條

1 李董;魏進武;;區(qū)塊鏈技術原理、應用領域及挑戰(zhàn)[J];電信科學;2016年12期

2 未央;;區(qū)塊鏈能代表信用標準的最高水平嗎?[J];互聯(lián)網(wǎng)周刊;2016年24期

3 朱巖;甘國華;鄧迪;姬菲菲;陳愛平;;區(qū)塊鏈關鍵技術中的安全性研究[J];信息安全研究;2016年12期

4 ,

本文編號:1646166


資料下載
論文發(fā)表

本文鏈接:http://sikaile.net/kejilunwen/ruanjiangongchenglunwen/1646166.html


Copyright(c)文論論文網(wǎng)All Rights Reserved | 網(wǎng)站地圖 |

版權申明:資料由用戶ff8ca***提供,本站僅收錄摘要或目錄,作者需要刪除請E-mail郵箱bigeng88@qq.com