TWM568414U - Blockchain counting system based on digital currency - Google Patents

Blockchain counting system based on digital currency Download PDF

Info

Publication number
TWM568414U
TWM568414U TW107208972U TW107208972U TWM568414U TW M568414 U TWM568414 U TW M568414U TW 107208972 U TW107208972 U TW 107208972U TW 107208972 U TW107208972 U TW 107208972U TW M568414 U TWM568414 U TW M568414U
Authority
TW
Taiwan
Prior art keywords
current
voting
data block
votes
data
Prior art date
Application number
TW107208972U
Other languages
Chinese (zh)
Inventor
陳繼誠
洪士鈞
Original Assignee
萬福資訊股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 萬福資訊股份有限公司 filed Critical 萬福資訊股份有限公司
Priority to TW107208972U priority Critical patent/TWM568414U/en
Publication of TWM568414U publication Critical patent/TWM568414U/en

Links

Landscapes

  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

於一種基於數位貨幣的區塊鏈計票系統,多個電腦節點其中每一者在接收到指示出所欲票選物件及數位貨幣金額的當前投票資料時,根據由該數位貨幣金額及第一權重值所獲得的新增票數、及已儲存且對應於該所欲票選物件的歷史累積得票數,產生對應於該所欲票選物件的當前累積得票數,且將根據該數位貨幣金額及該筆當前累積得票數所產生的資料區塊加密後作為相關於該當前投票資料及該所欲票選物件的當前資料區塊,並將該筆當前資料區塊傳送至其他電腦節點以供其驗證後新增地儲存。In a blockchain counting system based on digital currency, each of the plurality of computer nodes receives the current voting data indicating the amount of the selected object and the digital currency, based on the digital currency amount and the first weight value. The number of new votes obtained, and the number of historically accumulated votes that have been stored and corresponding to the selected object, generate the current cumulative number of votes corresponding to the selected object, and will be based on the digital currency amount and the current The data block generated by the accumulated number of votes is encrypted as the current data block related to the current voting data and the selected object, and the current data block is transmitted to other computer nodes for verification. Stored in place.

Description

基於數位貨幣的區塊鏈計票系統Blockchain counting system based on digital currency

本新型是有關於一種計票系統,特別是指一種基於數位貨幣的區塊鏈計票系統。The present invention relates to a counting system, and more particularly to a blockchain counting system based on digital currency.

現有以紙張選票來進行投票的方式通常需以人工方式進行諸如驗票、唱票及計票等程序,如此不僅耗時且無法完全確保計票結果的公正性。然而,若計票結果遭受質疑而必須重新驗票時,此重新驗票工作必須投入額外人力,如此將更增加人力成本,另一方面,對於為數不少(需經重新驗票)的選票在保管及蒐集上也頗為麻煩。The current method of voting by paper ballot usually requires manual procedures such as ticket inspection, ticketing, and counting, which is not only time-consuming but also impossible to fully guarantee the fairness of the counting result. However, if the result of the counting of the votes is questioned and the ticket must be re-inspected, the re-inspection work must be carried out with additional manpower, which will increase the labor cost. On the other hand, for a large number of votes (requiring re-inspection) It is also very troublesome to keep and collect.

為解決上述問題,遂提出了利用電子系統來實施的電子投票(e-voting)方式。然而,此電子投票方式仍無法有效避免人為錯誤、硬體或軟體遭受攻擊、計票程式中出現錯誤等問題,如此將無法確保計票結果的公正性。In order to solve the above problems, an electronic voting (e-voting) method using an electronic system has been proposed. However, this electronic voting method is still unable to effectively avoid human error, hardware or software attack, errors in the counting program, etc., so that the fairness of the counting result cannot be ensured.

因此,現有計票方式仍有很大的改良空間。Therefore, there is still much room for improvement in the existing counting method.

因此,本新型之目的,即在提供一種基於數位貨幣的區塊鏈計票系統,其能克服習知技藝的缺點。Accordingly, it is an object of the present invention to provide a blockchain counting system based on digital currency that overcomes the shortcomings of the prior art.

於是,本新型提供了一種基於數位貨幣的區塊鏈計票系統,其用於計算於一預定投票期間內多個票選物件其中每一者所獲得的一累積得票數。該區塊鏈計票系統包括多個經由一通訊網路相互連接的電腦節點。每一區塊鏈計票系統之電腦節點包含一通訊模組、一儲存模組及一電連接該通訊模組及該儲存模組的處理模組,其中該儲存模組配置有多個分別對應於該等票選物件之儲存單元,每一儲存單元儲存有至少一個歷史資料區塊,其中每一者至少包含指示出一對應歷史數位貨幣金額的金額資料、及指示出該等票選物件其中一對應者的歷史累積得票數的得票資料。Thus, the present invention provides a block currency counting system based on digital currency for calculating a cumulative number of votes obtained by each of a plurality of selected items during a predetermined voting period. The blockchain counting system includes a plurality of computer nodes interconnected via a communication network. The computer node of each blockchain counting system includes a communication module, a storage module, and a processing module electrically connected to the communication module and the storage module, wherein the storage module is configured with a plurality of corresponding Each of the storage units stores at least one historical data block, wherein each of the storage units includes at least one amount of money indicating a corresponding historical digit currency amount, and indicating one of the voting objects. The history of the person accumulates the votes of the votes.

對於每一電腦節點,當該通訊模組在該預定投票期間內接收到至少指示出一所欲票選物件及一筆數位貨幣金額的當前投票資料時,該處理模組至少根據來自於該通訊模組的該當前投票資料所指示的該筆數位貨幣金額、及一相關於該通訊模組接收到該當前投票資料之日期的第一權重值,獲得一筆對應於該所欲票選物件的新增票數。該處理模組根據該筆新增票數、及該等儲存單元其中一個對應於該所欲票選物件且作為一目標儲存單元的儲存單元所儲存的該至少一歷史資料區塊其中一個最近歷史資料區塊所含的該得票資料所指示的該歷史累積得票數,產生一筆對應於該所欲票選物件的當前累積得票數。該處理模組至少根據該筆數位貨幣金額及該筆當前累積得票數,產生一資料區塊,該資料區塊至少含有指示出該筆數位貨幣金額的金額資料、及指示出該筆當前累積得票數的得票資料,並將加密後的該資料區塊新增地儲存於該目標儲存單元作為一相關於該當前投票資料及該所欲票選物件的當前資料區塊。該處理模組利用該通訊模組將該筆當前資料區塊傳送至其他電腦節點,以使得其他電腦節點經成功驗證該筆當前資料區塊後將該筆當前資料區塊新增於該目標儲存單元。For each computer node, when the communication module receives the current voting data indicating at least one selected object and one digital currency amount during the predetermined voting period, the processing module is based at least on the communication module. The digital currency amount indicated by the current voting data, and a first weight value related to the date the communication module receives the current voting data, obtaining a new number of votes corresponding to the selected object . The processing module stores one of the most recent historical data of the at least one historical data block stored according to the number of new tickets and one of the storage units corresponding to the selected object and the storage unit as a target storage unit The historical accumulated votes indicated by the block of the ticket information contained in the block, resulting in a current cumulative number of votes corresponding to the selected object. The processing module generates a data block according to at least the digital currency amount of the pen and the current accumulated number of votes of the pen, the data block at least containing the amount of money indicating the amount of the digital currency of the pen, and indicating the current accumulated ticket of the pen The number of votes obtained, and the encrypted data block is newly stored in the target storage unit as a current data block related to the current voting data and the selected object. The processing module uses the communication module to transmit the current data block of the pen to other computer nodes, so that the other computer node adds the current data block to the target storage after successfully verifying the current data block. unit.

本新型之功效在於:該區塊鏈計票系統的每一電腦節點利用區塊鏈技術已儲存有對應於每一票選物件的所有歷史資料區塊,並在接收到相關於數位貨幣的該當前投票資料時,產生對應於該當前投票資料的該筆當前資料區塊,且利用區塊鏈技術儲存該筆當前資料區塊,並且傳送該筆當前資料區塊至其他電腦節點,藉此可使所有電腦節點對於該筆當前資料區塊的同步更新。於是,若未經所有電腦節點的資料驗證,任一電腦節點所儲存的所有歷史資料區塊將難以被擅自篡改或刪除,因此確實能確保計票結果的公正性。The effect of the novel is that each computer node of the blockchain counting system has stored all the historical data blocks corresponding to each of the voting objects by using the blockchain technology, and receives the current data related to the digital currency. When voting data, the current data block corresponding to the current voting data is generated, and the current data block is stored by using the blockchain technology, and the current data block is transmitted to other computer nodes, thereby All computer nodes update the current data block synchronously. Therefore, if the data of all computer nodes is not verified, all the historical data blocks stored in any computer node will be difficult to be tampered with or deleted, thus ensuring the fairness of the counting results.

參閱圖1,本新型基於數位貨幣的區塊鏈(Blockchain)計票系統100的實施例,適用於計算於一預定投票期間內多個票選物件其中每一者所獲得的一累積得票數。該數位貨幣可為加密貨幣,如乙太幣(Ether)、但不在此限,該數位貨幣亦可為其他加密貨幣、虛擬貨幣或代幣(token)。為了清楚說明,本實施例僅以三個票選物件為例(以下分別稱作第一票選物件、第二票選物件及第三票選物件),但在實際使用時,不以此例為限。此外,該第一至第三票選物件可隨不同的票選活動主題而不同。舉例來說,若所應用的票選活動主題是要票選出網路人氣明星時,則該第一至第三票選物件可分別代表三位不同的網路明星。然而,在其他不同票選活動主題的應用中,該等票選物件亦可為對應的現實/虛擬人物、商品/物品、或是相關於公眾事務之政策/議題等等。Referring to Figure 1, an embodiment of the novel bitcoin-based blockchain counting system 100 is adapted to calculate a cumulative number of votes obtained by each of a plurality of selected items during a predetermined voting period. The digit currency can be a cryptocurrency, such as Ether, but not limited to this, and the digit currency can also be other cryptocurrency, virtual currency or token. For the sake of clarity, the present embodiment only takes three voting items as an example (hereinafter referred to as a first voting item, a second voting item, and a third voting item, respectively), but in actual use, it is not limited to this example. In addition, the first to third voting items may differ depending on the subject matter of the different voting activities. For example, if the subject of the voting activity applied is to vote for a popular online star, the first to third voting objects may respectively represent three different online stars. However, in the application of other different voting campaign topics, the voting objects may also be corresponding real/virtual characters, goods/items, or policies/topics related to public affairs, and the like.

該區塊鏈計票系統100包括多個透過例如網際網路或乙太網路的一通訊網路200相互連接的電腦節點10,10’(圖1僅繪出三個)。在本實施例中,每一電腦節點10/10’可被實施為例如桌上型電腦、筆電、平板電腦或智慧型手機的電腦裝置,並可包含一儲存模組1、一通訊模組3、及一電連接該儲存模組1與該通訊模組3的處理模組2。The blockchain counting system 100 includes a plurality of computer nodes 10, 10' (only three are depicted in Figure 1) interconnected by a communication network 200, such as the Internet or an Ethernet network. In this embodiment, each computer node 10/10 ′ can be implemented as a computer device such as a desktop computer, a laptop, a tablet computer, or a smart phone, and can include a storage module 1 and a communication module. 3. A processing module 2 electrically connected to the storage module 1 and the communication module 3.

舉例來說,如圖2所示,對於每一電腦節點10/10’,該儲存模組1可配置有例如三個分別對應於該第一至第三票選物件的儲存單元11,12,13,且該儲存模組1的歷史配置情況如下:對應於該第一票選物件的該儲存單元11例如僅儲存有一個歷史資料區塊111(亦作為最近歷史資料區塊);對應於該第二票選物件的該儲存單元12例如儲存有三個歷史資料區塊121~123(其中該歷史資料區塊123亦作為最近歷史資料區塊);及對應於該第三票選物件的該儲存單元13儲存有五個歷史資料區塊131~135(其中該歷史資料區塊135亦作為最近歷史資料區塊),但不以此例為限。該等歷史資料區塊111,121~123,131~135其中每一者例如可包含指示出一對應歷史數位貨幣金額的金額資料、指示出該第一至第三票選物件其中一對應者的歷史累積得票數的得票資料、及指示出該電腦節點10/10’接收到對應之歷史投票資料之時的日期與時間的日期時間資料。For example, as shown in FIG. 2, for each computer node 10/10', the storage module 1 can be configured with, for example, three storage units 11, 12, 13 respectively corresponding to the first to third voting objects. And the historical configuration of the storage module 1 is as follows: the storage unit 11 corresponding to the first voting object stores, for example, only one historical data block 111 (also as a recent historical data block); corresponding to the second The storage unit 12 of the voting object stores, for example, three historical data blocks 121-123 (where the historical data block 123 also serves as the most recent historical data block); and the storage unit 13 corresponding to the third voting object is stored with The five historical data blocks 131 to 135 (where the historical data block 135 is also used as the recent historical data block), but not limited to this example. Each of the historical data blocks 111, 121-123, 131-135 may include, for example, an amount of money indicating a corresponding historical digit currency amount, and a history indicating one of the first to third voting objects. The ticket information of the accumulated number of votes, and the date and time data indicating the date and time when the computer node 10/10' received the corresponding historical voting data.

再參閱圖1及圖2,在使用時,當一查詢者想要查詢該區塊鏈計票系統100所儲存之對應於一個或多個所欲票選物件(例如該第一及第三票選物件,但不以此例為限)的相關得票資料時,該查詢者可利用例如電腦裝置或智慧型手機的一使用端(圖未示)將對於該第一及第三票選物件的得票查詢透過該網際網路200傳送至該等電腦節點10其中的任一者。舉例來說,若該使用端將該得票查詢傳送至該電腦節點10’時,對於該電腦節點10’而言,該處理模組2在經由該通訊模組3接收到來自該使用端的該得票查詢時,回應於該得票查詢而將儲存於該儲存單元11的該(最近)歷史資料區塊111所含的該得票資料(作為該第一票選物件的查詢得票資料)以及儲存於該儲存單元13的該(最近)歷史資料區塊1所含的該得票資料(作為該第三票選物件的查詢得票資料)藉由該通訊模組3傳送至該使用端以供其顯示,以致該查詢者可藉由顯示於該使用端的該第一票選物件的該查詢得票資料及該第三票選物件的該查詢得票資料獲得該第一及第三票選物件各自的當前累積得票數。Referring again to FIGS. 1 and 2, in use, when a queryer wants to query the blockchain counting system 100 for storage corresponding to one or more selected items (eg, the first and third voting items, If the relevant ticket information is not limited to this example, the inquirer can use a user terminal such as a computer device or a smart phone (not shown) to query the votes of the first and third voting objects. The Internet 200 is transmitted to any of the computer nodes 10. For example, if the user sends the ticket query to the computer node 10', the processing module 2 receives the ticket from the user terminal via the communication module 3 for the computer node 10'. In the inquiry, the ticket information (as the inquiry ticket information of the first vote object) contained in the (recent) history data block 111 stored in the storage unit 11 and stored in the storage unit in response to the ticket inquiry The ticket information contained in the (recent) historical data block 1 of 13 (the polling information as the third vote object) is transmitted to the user terminal by the communication module 3 for display, so that the queryer The current accumulated number of votes of the first and third voting objects may be obtained by the inquiring ticket information of the first voting object displayed on the using end and the inquiring ticket information of the third voting object.

在沿用上述網路人氣明星之票選活動例子的情況下,當一投票者於該預定投票期間內想要參與該票選活動時,在本實施例中,該投票者可利用一連接該通訊網路200的電腦裝置(圖未示)將當前投票資料傳送至該等電腦節點10,10’其中的任一者。在本實施例中,該當前投票資料可指示出一所欲票選物件、一筆數位貨幣金額、及該投票者的投票者屬性,其中對應於該網路人氣明星之票選活動例子的該投票者屬性可包含該投票者的職稱位階(例如代表普通民眾的第一位階或是代表專業評審的第二位階),但不在此限。然而,在其他實施態樣中,該當前投票資料亦可僅指示出一所欲票選物件與一筆數位貨幣金額。In the case of using the voting example of the above-mentioned Internet popular star, when a voter wants to participate in the voting activity during the predetermined voting period, in the present embodiment, the voter can utilize a connection to the communication network 200. The computer device (not shown) transmits the current voting data to any of the computer nodes 10, 10'. In this embodiment, the current voting data may indicate an object to be voted, a digital currency amount, and a voter attribute of the voter, wherein the voter attribute corresponding to the voting activity example of the popular star of the Internet This may include the rank of the voter's title (for example, the first rank representing the general public or the second rank representing the professional review), but not limited to this. However, in other implementations, the current voting material may also indicate only a selected item and a digital currency amount.

以下,將參閱圖1至圖4來示例地詳細說明在上述電腦裝置傳送該當前投票資料至例如該電腦節點10’的情況下,在本實施例中,該點腦節點10’如何對於該當前投票資料執行一計票程序。該計票程序包含以下步驟S31~S35。Hereinafter, with reference to FIG. 1 to FIG. 4, in detail, in the case where the above-mentioned computer device transmits the current voting data to, for example, the computer node 10', in the present embodiment, how the point brain node 10' is for the current The voting data is executed by a counting procedure. The counting procedure includes the following steps S31 to S35.

在步驟S31中,該處理模組2藉由該通訊模組3接收來自於該電腦裝置的該當前投票資料。舉例來說,該當前投票資料所指示出的該所欲票選物件及該數位貨幣金額分為該第二票選物件及一筆乙太幣金額,並且該當前投票資料所指示出的該投票者屬性包含代表專業評審的第二位階,但不以此例為限。In step S31, the processing module 2 receives the current voting data from the computer device by the communication module 3. For example, the desired voting object indicated by the current voting material and the digital currency amount are divided into the second voting object and an ethyl currency amount, and the voter attribute indicated by the current voting material includes Represents the second rank of professional review, but not limited to this example.

接著,在步驟S32中,該處理模組2根據該當前投票資料所指示的該筆乙太幣金額、一相關於該通訊模組3接收到該當前投票資料時的日期的第一權重值、及一相關於該當前投票資料所指示的該投票者屬性的第二權重值,獲得一筆對應於該所欲票選物件的新增票數。值得注意的是,在本實施例中,該第一權重值可正相關於該預定投票期間的一投票截止日與該當前投票資料的接收日之間的日數差,且該第二權重值係正相關於該職稱位階。舉例來說,如在以下所規範的條件下:乙太幣金額40可代表一票,該第一權重值=(該投票截止日與該當前投票資料的接收日之間的日數差)´0.1,對應於該投票者屬性所包含的該第一位階的該第二權重值為1,且對應於該投票者屬性所包含的該第二位階的該第二權重值為2(但不以此例為限,且不同種類的數位貨幣與票數之間兌換關係可以不同,舉例來說,當該數位貨幣為比特幣時,比特幣金額10可代表一票),若該當前投票資料所指示的該筆乙太幣金額為800且該投票截止日與該當前投票資料的接收日之間的日數差為4日時,該處理模組2所獲得的該筆對應於該第二票選物件的新增票數=(800/40)´第一權重值´第二權重值=(800/40)´(4´0.1)´2=16。Then, in step S32, the processing module 2 is based on the amount of the Etoken currency indicated by the current voting data, a first weight value related to the date when the communication module 3 receives the current voting data, And a second weight value related to the voter attribute indicated by the current voting material, obtaining a new number of votes corresponding to the selected object. It should be noted that, in this embodiment, the first weight value may be positively correlated with a day difference between a voting deadline of the predetermined voting period and a receiving date of the current voting data, and the second weight value The system is positively related to the title level. For example, as in the conditions specified below: the Ethylene Amount 40 can represent a vote, and the first weight value = (the difference between the date of the vote and the date of receipt of the current voting material) ́ 0.1, the second weight value corresponding to the first level included in the voter attribute is 1, and the second weight value corresponding to the second level included in the voter attribute is 2 (but not This example is limited, and the exchange relationship between different types of digital currency and the number of votes may be different. For example, when the digital currency is bitcoin, the bitcoin amount 10 may represent one vote), if the current voting material is When the indicated amount of the Ethereum is 800 and the difference between the date of the voting and the date of receipt of the current voting data is 4 days, the pen obtained by the processing module 2 corresponds to the second selected object. Number of new votes = (800/40) ́ first weight value ́ second weight value = (800/40) ́(4 ́0.1) ́2=16.

於是,從上述的規範條件可歸納出,投票日越接近該投票截止日將導致越小的得票數,反之亦然,此外,針對網路人氣明星之票選活動,由於代表專業評審的第二位階對應有較大的第二權重值,如此將導致得票結果較能反映出專業性,也就是說,專業投票者對於得票結果具有較大影響力。此外,另一實施例中,該新增票數亦可為該處理模組2根據該當前投票資料所指示的該筆乙太幣金額及相關於該通訊模組3接收到該當前投票資料時的日期的第一權重值計算下獲得。Therefore, it can be concluded from the above-mentioned normative conditions that the closer the voting day is to the voting deadline, the smaller the number of votes will be, and vice versa. In addition, the vote for the popular star of the Internet is due to the second rank of the professional review. Corresponding to a larger second weight value, this will result in a more accurate result of the vote, which means that professional voters have a greater influence on the results of the vote. In addition, in another embodiment, the number of the new votes may be the amount of the E-coin indicated by the processing module 2 according to the current voting data and related to when the communication module 3 receives the current voting data. The date of the first weight value is calculated under the calculation.

然後,在步驟S33中,該處理模組2根據該筆新增票數、及該儲存模組11中對應於該第二票選物件的該儲存單元12(以下亦稱作目標儲存單元12)所儲存的該(最近)歷史資料區塊123所含的該得票資料所指示的該歷史累積得票數,產生一筆對應於該所欲票選物件的當前累積得票數。舉例來說,在沿用上述步驟S32之例子的情況下,若該(最近)歷史資料區塊123所含的該得票資料所指示的該歷史累積得票數為3200,則該處理模組2所產生的該當前累積票數為3216(=3200+16)。Then, in step S33, the processing module 2 is based on the number of new tickets and the storage unit 12 (hereinafter also referred to as the target storage unit 12) corresponding to the second voting object in the storage module 11. The stored accumulated number of votes indicated by the received ticket data contained in the (recent) historical data block 123 generates a current cumulative number of votes corresponding to the desired selected item. For example, in the case of the example of the above step S32, if the historical accumulated ticket number indicated by the (recent) historical data block 123 is 3200, the processing module 2 generates The current cumulative number of votes is 3216 (= 3200 + 16).

之後,在步驟S34中,該處理模組2根據該筆數位貨幣金額、該筆當前累積得票數及該電腦節點10’接收到該當前投票資料時的該日期及時間來產生一資料區塊,該資料區塊不僅含有指示出該筆數位貨幣金額的金額資料、指示出該筆當前累積得票數的得票資料,還含有指示出該當前投票資料被接收時的該日期及該時間的日期時間資料,並利用現有區塊鏈加密技術,例如雜湊(Hash)演算法、PKI公私鑰加密技術、UTXO(Unspent Transaction Outputs)機制等,加密所產生的該資料區塊,而且將加密後的該資料區塊新增地儲存於該目標儲存單元12作為一相關於該當前投票資料及該所欲票選物件的當前資料區塊124(見圖4)。Then, in step S34, the processing module 2 generates a data block according to the pen currency amount, the current accumulated number of pens, and the date and time when the computer node 10' receives the current voting data. The data block not only contains the amount information indicating the amount of the digital currency, the ticket information indicating the current accumulated number of votes, but also the date and time information indicating the date when the current voting data is received and the time. And using existing blockchain encryption techniques, such as hash algorithm, PKI public-private key encryption technology, UTXO (Unspent Transaction Outputs) mechanism, etc., to encrypt the generated data block, and the encrypted data area The block is newly stored in the target storage unit 12 as a current data block 124 (see FIG. 4) related to the current voting data and the desired voting object.

最後,在步驟S35中,該處理模組2藉由該通訊模組3將該筆當前資料區塊124傳送至其他電腦節點10,以使得其他電腦節點10在利用現有區塊鏈解密技術而成功驗證該筆當前資料區塊12後將該筆當前資料區塊124新增於其他電腦節點10對應於該第二票選物件的一目標儲存單元12。於是,該等電腦節點10、10’的該等儲存模組1可達到同步更新,如圖4所示。至此,該計票程序被完成。Finally, in step S35, the processing module 2 transmits the current data block 124 to the other computer nodes 10 by the communication module 3, so that the other computer nodes 10 succeed in utilizing the existing blockchain decryption technology. After verifying the current data block 12, the current data block 124 is added to a target storage unit 12 of the other computer node 10 corresponding to the second vote object. Thus, the storage modules 1 of the computer nodes 10, 10' can be synchronized, as shown in FIG. At this point, the counting procedure is completed.

值得一提的是,若該電腦節點10’因遭到惡意攻擊或入侵而導致該筆當前資料區塊被篡改,則此篡改的當前資料區塊將無法被其他電腦節點10成功驗證,因此可以確保計票結果之公正性。It is worth mentioning that if the current data block is tampered with by the malicious attack or invasion of the computer node 10', the falsified current data block cannot be successfully verified by other computer nodes 10, so Ensure the fairness of the counting results.

附帶一提的是,若該當前投票資料被傳送至另一電腦節點10時,此電腦節點10仍可依照上述步驟S31~S35達成所有電腦節點10,10’對於該當前資料區塊的同步更新。Incidentally, if the current voting data is transmitted to another computer node 10, the computer node 10 can still achieve the synchronization update of all the computer nodes 10, 10' for the current data block according to the above steps S31 to S35. .

綜上所述,本新型該區塊鏈計票系統100的每一電腦節點10利用區塊鏈技術已儲存有對應於每一票選物件的所有歷史資料區塊,並在接收到相關於數位貨幣的該當前投票資料時,產生對應於該當前投票資料的該筆當前資料區塊124,且利用區塊鏈技術儲存該筆當前資料區塊124,並且傳送該筆當前資料區塊124至其他電腦節點10,藉此可使所有電腦節點10,10’對於該筆當前資料區塊的同步更新。於是,若未經所有電腦節點10,10’的資料驗證,任一電腦節點10/10’所儲存的所有歷史資料區塊111/121~124/131~135將難以被擅自篡改或刪除,因此確實能確保計票結果的公正性,故確實能達成本新型之目的。In summary, each computer node 10 of the blockchain counting system 100 of the present invention has stored all historical data blocks corresponding to each of the voting objects using the blockchain technology, and receives the relevant digital currency. When the current voting material is generated, the current data block 124 corresponding to the current voting data is generated, and the current data block 124 is stored by the blockchain technology, and the current data block 124 is transmitted to other computers. Node 10, whereby all computer nodes 10, 10' can be synchronized for the current data block of the pen. Therefore, if all the data nodes 10, 10' are not verified, all the historical data blocks 111/121~124/131~135 stored in any computer node 10/10' will be difficult to be tampered with or deleted. It is indeed possible to ensure the fairness of the results of the counting of votes, so it is indeed possible to achieve the purpose of this new type.

惟以上所述者,僅為本新型之實施例而已,當不能以此限定本新型實施之範圍,凡是依本新型申請專利範圍及專利說明書內容所作之簡單的等效變化與修飾,皆仍屬本新型專利涵蓋之範圍內。However, the above is only the embodiment of the present invention, and when it is not possible to limit the scope of the present invention, all the simple equivalent changes and modifications according to the scope of the patent application and the contents of the patent specification are still This new patent covers the scope.

100‧‧‧區塊鏈計票系統100‧‧‧ blockchain counting system

10,10’‧‧‧電腦節點 10,10’‧‧‧ computer nodes

1‧‧‧儲存模組 1‧‧‧ storage module

11,13‧‧‧儲存單元 11,13‧‧‧ storage unit

12‧‧‧儲存單元、目標儲存單元 12‧‧‧Storage unit, target storage unit

111,121~123,131~135‧‧‧歷史資料區塊 111, 121~123, 131~135‧‧‧Historical data block

124‧‧‧當前資料區塊 124‧‧‧ Current data block

200‧‧‧通訊網路 200‧‧‧Communication network

2‧‧‧處理模組 2‧‧‧Processing module

3‧‧‧通訊模組 3‧‧‧Communication module

S31~S35‧‧‧步驟 S31~S35‧‧‧Steps

本新型之其他的特徵及功效,將於參照圖式的實施方式中清楚地呈現,其中: 圖1是一方塊圖,示例地說明本新型區塊鏈計票系統的一實施例; 圖2是一示意圖,示例地說明該實施例中的每一電腦節點的該儲存模組之歷史配置情況; 圖3是一流程圖,示例地說明該實施例如何對於當前投票資料執行一計票程序;及 圖4是一示意圖,示例地說明該實施例中在執行完該計票程序後每一電腦節點的該儲存模組之配置情況。Other features and advantages of the present invention will be apparent from the following description of the drawings, wherein: FIG. 1 is a block diagram illustrating an embodiment of the novel blockchain counting system; FIG. A schematic diagram illustrating the historical configuration of the storage module of each computer node in the embodiment; FIG. 3 is a flowchart illustrating an example of how the embodiment performs a ticket counting procedure for the current voting material; FIG. 4 is a schematic diagram showing the configuration of the storage module of each computer node after the counting procedure is executed in the embodiment.

Claims (6)

一種基於數位貨幣的區塊鏈計票系統,用於計算於一預定投票期間內多個票選物件其中每一者所獲得的一累積得票數,該區塊鏈計票系統包含: 多個電腦節點,經由一通訊網路彼此連接,其每一者包括 一通訊模組,連接該通訊網路, 一儲存模組,配置有多個分別對應於該等票選物件之儲存單元,每一儲存單元儲存有至少一個歷史資料區塊,其中每一歷史資料區塊至少包含指示出一對應歷史數位貨幣金額的金額資料、及指示出該等票選物件其中一對應者的歷史累積得票數的得票資料,及 一處理模組,電連接該通訊模組與該儲存模組; 其中,對於每一點腦節點,當該通訊模組在該預定投票期間內接收到至少指示出一所欲票選物件及一筆數位貨幣金額的當前投票資料時, 該處理模組至少根據來自於該通訊模組的該當前投票資料所指示的該筆數位貨幣金額、及一相關於該通訊模組接收到該當前投票資料之日期的第一權重值,獲得一筆對應於該所欲票選物件的新增票數, 該處理模組根據該筆新增票數、及該等儲存單元其中一個對應於該所欲票選物件且作為一目標儲存單元的儲存單元所儲存的該至少一歷史資料區塊其中一個最近歷史資料區塊所含的該得票資料所指示的該歷史累積得票數,產生一筆對應於該所欲票選物件的當前累積得票數, 該處理模組至少根據該筆數位貨幣金額及該筆當前累積得票數,產生一資料區塊,該資料區塊至少含有指示出該筆數位貨幣金額的金額資料、及指示出該筆當前累積得票數的得票資料,並將加密後的該資料區塊新增地儲存於該目標儲存單元作為一相關於該當前投票資料及該所欲票選物件的當前資料區塊,及 該處理模組藉由該通訊模組將該筆當前資料區塊傳送至其他電腦節點,以使得其他電腦節點經成功驗證該筆當前資料區塊後將該筆當前資料區塊新增於該目標儲存單元。A blockchain counting system based on digital currency, configured to calculate a cumulative number of votes obtained by each of a plurality of voting objects during a predetermined voting period, the blockchain counting system comprising: a plurality of computer nodes Connected to each other via a communication network, each of which includes a communication module, connected to the communication network, a storage module, and a plurality of storage units respectively corresponding to the selected items, each storage unit storing at least a historical data block, wherein each historical data block includes at least an amount of information indicating a corresponding historical digit currency amount, and a ticket information indicating a historical accumulated number of votes of one of the selected objects, and a processing a module, electrically connecting the communication module and the storage module; wherein, for each point brain node, when the communication module receives at least a selected object and a digital currency amount during the predetermined voting period The current processing data, the processing module is based at least on the digital currency indicated by the current voting material from the communication module And a first weight value associated with the date the communication module receives the current voting data, obtaining a new number of votes corresponding to the selected object, the processing module according to the number of new votes And one of the storage units, the one of the at least one historical data block stored in the storage unit of the at least one historical data block corresponding to the desired object and the storage unit of the target storage unit The history accumulates the number of votes, and generates a current cumulative number of votes corresponding to the selected object, and the processing module generates a data block according to the digit amount of the digit and the current accumulated number of votes of the pen, the data block. Having at least an amount of money indicating the amount of the digital currency of the pen, and a ticket data indicating the current accumulated number of votes, and storing the encrypted data block in the target storage unit as a relevant current The voting data and the current data block of the selected object, and the processing module transmits the current data block to the processing module by the communication module His computer node, so that other computer nodes will successfully verified by the sum of the current data block sum of the current new data block in the target storage unit. 如請求項1所述的區塊鏈計票系統,其中,該第一權重值係正相關於該預定投票期間的一投票截止日與該當前投票資料的接收日之間的日數差。The blockchain counting system of claim 1, wherein the first weight value is positively related to a difference in the number of days between a voting deadline of the predetermined voting period and a receiving date of the current voting material. 如請求項1所述的區塊鏈計票系統,其中,該當前投票資料還指示出投票者屬性,且該處理模組不僅根據該筆數位貨幣金額及該第一權重值,還根據相關於該當前投票資料所指示的該投票者屬性的一第二權重值,獲得該筆新增票數。The blockchain counting system of claim 1, wherein the current voting material further indicates a voter attribute, and the processing module is based not only on the digital currency amount and the first weight value, but also on the related A second weight value of the voter attribute indicated by the current voting material obtains the number of new votes. 如請求項3所述的區塊鏈計票系統,其中,該投票者屬性包含投票者的職稱位階,且該第二權重值係正相關於該職稱位階。The blockchain counting system of claim 3, wherein the voter attribute includes a voter's job title level, and the second weight value is positively related to the title level. 如請求項1所述的區塊鏈計票系統,其中,當該通訊模組接收到來自一使用端且對於該等票選物件其中的至少一所欲查詢者的得票查詢時,該處理模組利用該通訊模組,將該等儲存單元其中至少一對應於該至少一所欲查詢票選物件的儲存單元所儲存的該至少一歷史資料區塊其中一個最近歷史資料區塊所含的該得票資料傳送至該使用端。The blockchain counting system of claim 1, wherein the processing module receives the ticket query from a user terminal and for at least one of the inquiries of the voting objects, the processing module Using the communication module, at least one of the storage units corresponds to the ticket data included in one of the most recent historical data blocks of the at least one historical data block stored by the storage unit of the at least one selected ticket object. Transfer to the user. 如請求項1所述的區塊鏈計票系統,其中,對於每一電腦節點: 該儲存模組所配置的每一儲存單元還包含指示出該電腦節點接收到對應歷史投票資料時的日期與時間的日期時間資料;及 該處理模組不僅根據該筆數位貨幣金額及該筆當前累積得票數,還根據該電腦節點接收到該當前投票資料時的該日期及時間來產生該資料區塊,以致該資料區塊不僅含有指示出該筆數位貨幣金額的該金額資料、及指示出該筆當前累積得票數的該得票資料,還包含指示出該當前投票資料被接收時的該日期及該時間的日期時間資料。The blockchain counting system of claim 1, wherein, for each computer node: each storage unit configured by the storage module further includes a date indicating that the computer node receives the corresponding historical voting data The date and time data of the time; and the processing module generates the data block according to not only the digital currency amount of the pen and the current accumulated number of votes, but also the date and time when the computer node receives the current voting data. Therefore, the data block includes not only the amount information indicating the amount of the digital currency, but also the date of the ticket indicating the current accumulated number of votes, and the date and time when the current voting data is received. Date and time data.
TW107208972U 2018-07-03 2018-07-03 Blockchain counting system based on digital currency TWM568414U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW107208972U TWM568414U (en) 2018-07-03 2018-07-03 Blockchain counting system based on digital currency

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW107208972U TWM568414U (en) 2018-07-03 2018-07-03 Blockchain counting system based on digital currency

Publications (1)

Publication Number Publication Date
TWM568414U true TWM568414U (en) 2018-10-11

Family

ID=64871384

Family Applications (1)

Application Number Title Priority Date Filing Date
TW107208972U TWM568414U (en) 2018-07-03 2018-07-03 Blockchain counting system based on digital currency

Country Status (1)

Country Link
TW (1) TWM568414U (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI714868B (en) * 2018-07-03 2021-01-01 萬福資訊股份有限公司 Counting method based on digital currency and blockchain counting system
TWI759028B (en) * 2020-12-23 2022-03-21 鴻海精密工業股份有限公司 Block packaging method, block packaging device based on blockchain transaction, and electronic device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI714868B (en) * 2018-07-03 2021-01-01 萬福資訊股份有限公司 Counting method based on digital currency and blockchain counting system
TWI759028B (en) * 2020-12-23 2022-03-21 鴻海精密工業股份有限公司 Block packaging method, block packaging device based on blockchain transaction, and electronic device

Similar Documents

Publication Publication Date Title
CN109067541B (en) Data verification method and device based on block chain and electronic equipment
US10270600B2 (en) Secure revisioning auditing system for electronic document files
RU2652443C1 (en) Voters votes quantity collected by electronic voting determining system and method
US10164952B2 (en) Method and system for server based secure auditing for revisioning of electronic document files
CN108768665A (en) Block chain generation method, device, computer equipment and storage medium
Sun et al. Voting-based decentralized consensus design for improving the efficiency and security of consortium blockchain
US20200097950A1 (en) Privileged entity consensus for digital asset creation
CN108923909A (en) Block chain generation method, device, computer equipment and storage medium
JP7064947B2 (en) Electronic voting system and control method
CN106796708B (en) Electronic voting system and method
TWI714868B (en) Counting method based on digital currency and blockchain counting system
CN108924114A (en) Data are anchored method and device on a kind of chain
CN112330412A (en) Product recommendation method and device, computer equipment and storage medium
JP7064950B2 (en) Electronic voting system and control method
TWM568414U (en) Blockchain counting system based on digital currency
US11087578B2 (en) Voting booth, system, and methods of making and using same
EP4128655A1 (en) Deterministic sparse-tree based cryptographic proof of liabilities
Pouwelse et al. Laws for creating trust in the blockchain age
US11900455B1 (en) Method and apparatus for decentralized VC funds
CN112165383B (en) Encryption method, device, equipment and medium based on shared root key
CN112053058A (en) Index model generation method and device
US20220172203A1 (en) Blockchain-secured repository that authenticates actions between mutually unsecure entities
CN112950154B (en) Flow information matching method, device, equipment and storage medium
CN114119174A (en) Credit score generation method and device based on block chain
RU75083U1 (en) SYSTEM OF CONTROL AND ACCOUNTING OF AUTHENTICITY OF DOCUMENTS