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

當(dāng)前位置:主頁(yè) > 科技論文 > 軟件論文 >

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

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

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


【摘要】:隨著社會(huì)的進(jìn)步,經(jīng)濟(jì)的快速發(fā)展,投票調(diào)查、意見采集在社會(huì)生活中起了越來(lái)越重要的作用。網(wǎng)上投票系統(tǒng)以高效率、節(jié)省資源、易傳播等特性替代了線下投票活動(dòng)。但是由于網(wǎng)上投票系統(tǒng)的數(shù)據(jù)存儲(chǔ)在中心化服務(wù)器中,存在許多弊端。例如:(1)用戶的投票信息有被泄漏的風(fēng)險(xiǎn);(2)選民投票以后,普通的選民無(wú)法驗(yàn)證投票結(jié)果是否正確;(3)投票數(shù)據(jù)、結(jié)果可能會(huì)被惡意篡改。本論文利用區(qū)塊鏈技術(shù)的去中心化、信息不可篡改、公開透明的特性,構(gòu)建了公平、公正、公開透明的投票系統(tǒng)。本文旨在通過(guò)利用區(qū)塊鏈中的轉(zhuǎn)賬交易替代投票過(guò)程,以解決現(xiàn)有網(wǎng)上投票系統(tǒng)存在的問(wèn)題。系統(tǒng)為每個(gè)用戶和投票選項(xiàng)生成一個(gè)區(qū)塊鏈賬號(hào),并且為每個(gè)投票活動(dòng)發(fā)行一種投票代幣。系統(tǒng)中每個(gè)用戶只能領(lǐng)取一次投票代幣,用戶把自己擁有的投票代幣轉(zhuǎn)賬給投票選項(xiàng)的區(qū)塊鏈賬號(hào)。最后,系統(tǒng)統(tǒng)計(jì)各投票選項(xiàng)擁有的投票代幣數(shù)量,把它記為投票選項(xiàng)所得票數(shù),公示投票結(jié)果。本論文主要成果如下:(1)完成了基于區(qū)塊鏈技術(shù)的投票系統(tǒng)的設(shè)計(jì)。本系統(tǒng)分為三層組織結(jié)構(gòu),分別是布比區(qū)塊鏈作為底層、SDK工具作為中間件層和投票系統(tǒng)的業(yè)務(wù)作為實(shí)現(xiàn)層。設(shè)計(jì)封裝了 SDK工具,方便系統(tǒng)后臺(tái)業(yè)務(wù)靈活調(diào)用底層區(qū)塊鏈。設(shè)計(jì)了本系統(tǒng)的系統(tǒng)業(yè)務(wù)總體模塊結(jié)構(gòu),對(duì)系統(tǒng)中的管理員子系統(tǒng)、用戶子系統(tǒng)中的各個(gè)功能模塊進(jìn)行詳細(xì)設(shè)計(jì)。最后,根據(jù)系統(tǒng)的功能模塊,抽象出系統(tǒng)數(shù)據(jù)庫(kù)中的實(shí)體對(duì)象,進(jìn)而設(shè)計(jì)了本系統(tǒng)數(shù)據(jù)庫(kù)中的表結(jié)構(gòu)。(2)完成了基于區(qū)塊鏈技術(shù)的投票系統(tǒng)的實(shí)現(xiàn)。首先,實(shí)現(xiàn)了底層區(qū)塊鏈的安裝部署,安裝了四個(gè)Ubuntu服務(wù)器作為區(qū)塊鏈中的節(jié)點(diǎn),使四個(gè)節(jié)點(diǎn)達(dá)成共識(shí),保證底層區(qū)塊鏈正常運(yùn)行。其次,按照設(shè)計(jì)部分實(shí)現(xiàn)完成數(shù)據(jù)庫(kù)部署建立,以保證投票系統(tǒng)的上層業(yè)務(wù)實(shí)現(xiàn)。再次,完成了投票系統(tǒng)業(yè)務(wù)實(shí)現(xiàn),采用Spring+SpringMVC+Mybatis框架開發(fā)實(shí)現(xiàn)了基于區(qū)塊鏈的投票系統(tǒng)的業(yè)務(wù)功能。最后,對(duì)系統(tǒng)的各個(gè)模塊進(jìn)行功能測(cè)試,保證了系統(tǒng)正常穩(wěn)定運(yù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.
【學(xué)位授予單位】:內(nèi)蒙古大學(xué)
【學(xué)位級(jí)別】:碩士
【學(xué)位授予年份】:2017
【分類號(hào)】:TP311.52;TP311.13

【參考文獻(xiàn)】

相關(guān)期刊論文 前10條

1 李董;魏進(jìn)武;;區(qū)塊鏈技術(shù)原理、應(yīng)用領(lǐng)域及挑戰(zhàn)[J];電信科學(xué);2016年12期

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

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

4 ,

本文編號(hào):1646166


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

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


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

版權(quán)申明:資料由用戶ff8ca***提供,本站僅收錄摘要或目錄,作者需要?jiǎng)h除請(qǐng)E-mail郵箱bigeng88@qq.com