跳到主要內容

簡易檢索 / 詳目顯示

研究生: 陳莉芯
Li-Sin Chen
論文名稱: 區塊鏈應用於電力收費系統之實作
Implementation of Power Charging System by Using Blockchain
指導教授: 陳彥文
Yen-Wen Chen
口試委員:
學位類別: 碩士
Master
系所名稱: 資訊電機學院 - 通訊工程學系
Department of Communication Engineering
論文出版年: 2023
畢業學年度: 111
語文別: 中文
論文頁數: 59
中文關鍵詞: 區塊鏈SHA-256IPFS
外文關鍵詞: Blockchain, SHA-256, IPFS
相關次數: 點閱:13下載:0
分享至:
查詢本校圖書館目錄 查詢臺灣博碩士論文知識加值系統 勘誤回報
  • 區塊鏈技術是近年來備受關注的創新技術,以去中心化、安全性和透明性等特點而廣受推崇。區塊鏈已經廣泛應用於金融、供應鏈、健康醫療等多個領域,並在這些領域中帶來了許多顯著的改變和創新。
    本論文的研究目標在於探討區塊鏈技術在電力收費系統中的應用架構。目前在台灣,智慧電表的部署數量不斷增加,這些智慧電表能夠自動收集及傳輸用電資料。然而,在資料的傳輸過程中存在著資料竄改和未經授權使用的風險。為了解決這些問題,本論文提出了一個基於區塊鏈和IPFS星際檔案系統的架構,旨在提供更安全的解決方案,確保資料完整性並防止竄改。該架構中,智慧電表端將文件進行非對稱式的加密,保障文件的安全性,並將加密後的文件儲存到IPFS系統中。電力營運商通過區塊鏈獲取所需的資料,從而產生電費。為了評估系統的性能,在智慧電表端進行了一次多筆文件上傳測試,記錄了不同數量文件上傳的處理時間,在測試結果中發現影響時間的主要因素包括IPFS上傳所帶來的延遲以及區塊鏈的交互時間,透過這些測試結果更好地了解系統的效能表現。


    Blockchain technology has been a highly regarded innovation in recent years, valued for its decentralized, secure, and transparent characteristics. It has been widely adopted in various sectors such as finance, supply chain, healthcare, and has brought significant changes and innovations in these fields.
    The research objective of this paper is to explore the application architecture of blockchain technology in the electricity billing system. In Taiwan, the deployment of smart meters is increasing, enabling the automatic collection and transmission of electricity usage data. However, there are risks of data tampering and unauthorized use during the data transmission process. To address these issues, this paper proposes an architecture based on blockchain and IPFS (InterPlanetary File System) to provide a more secure solution, ensuring data integrity and preventing tampering.In this architecture, the documents at the smart meter end are encrypted using an asymmetric encryption method to ensure their security, and the encrypted files are stored in the IPFS system. The power operator obtains the required data from the blockchain to generate electricity bills.To assess the system's performance, a multi-file upload test was conducted at the smart meter end, recording the processing time for uploading different quantities of files. The test results revealed that the main factors affecting the time were the delays caused by IPFS uploads and the interaction time with the blockchain, providing a better understanding of the system's performance.

    摘要 I Abstract II 致謝 III 目錄 IV 圖目錄 VI 表目錄 VIII 第一章 緒論 1 1.1. 研究背景 1 1.2. 研究動機與目的 1 1.3. 章節摘要 2 第二章 相關研究背景 3 2.1. 區塊鏈 3 2.1.1. 以太坊 5 2.1.2. Ganache 7 2.2. 區塊鏈的其他應用與相關論文 8 2.2.1. 區塊鏈相關應用 8 2.2.2. 實作相關應用 11 2.3. 實作相關技術 13 2.3.1. IPFS 13 2.3.2. GnuPG 15 2.3.3. SHA-256 16 第三章 區塊鏈應用於電力收費系統之架構 17 3.1. 系統架構 18 3.2. 系統流程 19 3.2.1. 智慧電表電力資料上傳流程 22 3.2.2. 電力營運商電力資料下載流程 23 3.2.3. 電力營運商電費資料上傳流程 25 3.2.4. 使用者電費資料下載流程 26 第四章 實作結果 28 4.1. 實作環境 28 4.2. 公私鑰 29 4.3. 智慧電表端 30 4.3.1. 智慧電表端使用電力營運商公開金鑰加密 30 4.3.2. 將文件儲存到IPFS 30 4.3.3. 將文件使用SHA-256 31 4.3.4. 儲存到區塊鏈鏈上 31 4.4. 電力營運商端 33 4.4.1. 下載電力文件 33 4.4.2. 上傳包含電費文件 35 4.4.3. 查看已產生電費文件 36 4.5. 使用者端 37 4.6. 模擬智慧電表端多筆電力文件上傳時間 39 第五章 結論與未來工作 44 參考文獻 46

    [1] NakamotoSatoshi. (2008). Bitcoin: A Peer-to-Peer Electronic Cash System.
    [2] [Online].Available : https://www.ithome.com.tw/news/105375. [Access by 9 July 2023].
    [3] "Ganache", [Online].Available : https://trufflesuite.com/ganache/. [Access by 9 July 2023].
    [4] Hao Guo, Wanxin Li, Mark Nejad, Chien-Chung Shen, "Access Control for Electronic Health Records with Hybrid Blockchain-Edge Architecture", IEEE International Conference on Blockchain (Blockchain), Atlanta GA USA, 14-17 July 2019.
    [5] Xiaolong Xu, Xuyun Zhang, Honghao Gao, Yuan Xue, Lianyong Qi, Wanchun Dou, "BeCome: Blockchain-Enabled Computation Offloading for IoT in Mobile Edge Computing", IEEE Transactions on Industrial Informatics ( Volume: 16, Issue: 6, June 2020), pp. 4187 - 4195, 23 August 2019.
    [6] Ronghua Xu, Seyed Yahya Nikouei, Yu Chen, Erik Blasch, Alexander Aved, "BlendMAS: A Blockchain-Enabled Decentralized Microservices Architecture for Smart Public Safety", 2019 IEEE International Conference on Blockchain (Blockchain) , Atlanta GA USA, 14-17 July 2019.
    [7] Saha Reno, Shovan Bhowmik, Mamun Ahmed, Utilizing IPFS and Private "Blockchain to Secure Forensic Information", 2021 International Conference on Automation, Control and Mechatronics for Industry 4.0 (ACMI), Rajshahi Bangladesh, 08-09 July 2021.
    [8] Pearl Alisha Lobo, V Sarasvathi, "Distributed File Storage Model using IPFS and Blockchain", 2021 2nd Global Conference for Advancement in Technology (GCAT), Bangalore India , 01-03 October 2021.
    [9] "IPFS", [Online].Available : https://ipfs.tech/. [Access by 9 July 2023].
    [10] "What Is a Distributed Hash Table?", [Online].Available : https://hazelcast.com/glossary/distributed-hash-table/. [Access by 9 July 2023].
    [11] "A Closer Look at the InterPlanetary File System (IPFS)", [Online].Available : https://medium.com/mvp-workshop/a-closer-look-to-the-inter-planetary-file-system-b3f3af31a3c7. [Access by 9 July 2023].
    [12] "Directed Acyclic Graph (DAG)", [Online].Available : https://hazelcast.com/glossary/directed-acyclic-graph/. [Access by 9 July 2023].
    [13] "GnuPG", [Online].Available : https://www.gnupg.org/index.html. [Access by 9 July 2023].
    [14] [Online].Available : https://wiki.utshop.tw/doku.php/linux:encrypt:gpg. [Access by 9 July 2023].
    [15] [Online].Available : https://ami-meter.taipower.com.tw/views/home.php. [Access by 9 July 2023].

    QR CODE
    :::