跳到主要內容

簡易檢索 / 詳目顯示

研究生: 張沛心
Chang, Pei-Hsin
論文名稱: Hyperledger Fabric 部署工具之設計與實作
Design and Implementation of a Hyperledger Fabric Deployment Tool
指導教授: 陳恭
Chen, Kung
口試委員: 黃世禎
Huang, Sun-Jen
廖峻鋒
Liao, Chun-Feng
學位類別: 碩士
Master
系所名稱: 商學院 - 資訊管理學系
Department of Management Information System
論文出版年: 2022
畢業學年度: 110
語文別: 中文
論文頁數: 40
中文關鍵詞: Hyperledger Fabric區塊鏈部署工具
外文關鍵詞: Blockchain, Hyperledger Fabric, Deployment
DOI URL: http://doi.org/10.6814/NCCU202201121
相關次數: 點閱:56下載:2
分享至:
查詢本校圖書館目錄 查詢臺灣博碩士論文知識加值系統 勘誤回報
  • Hyperledger Fabric(以下簡稱HLF)是一種專為企業打造的區塊鏈平台,不同於其他公開形式的區塊鏈,其特色為可以保有資料的隱私性,僅經過授權許可加入該區塊鏈的使用者可存取到特定資料。因此特性,讓諸如金融業、醫療業、供應鏈產業及製造業等各家企業開始投入該平台。
    然而如以官方的部署方式來部署一個HLF網路需耗費龐大的時間去撰寫及修改繁冗的部署腳本,雖是相同的參數,卻會散佈在各個腳本及配置檔當中,不僅會提升部署的時間成本,也可能提升部署時的失敗機率。
    在部署不易的情形下,目前已公開的HLF部署工具卻寥寥可數,且部署工具在部署時的便利與部署後的細節之間的平衡十分難掌握,有時為達部署之便,便需犧牲掉一些設定上的彈性與自由度。
    本研究所設計之部署工具致力於在兩者之間取平衡點,著重在保障部署的便利性,並提升現有之部署工具無法達到的設定彈性,提供相當的客製化支援。使用者僅需致力於單一份配置檔的開發即可部署HLF網路,並且本部署工具能夠檢測幾項常見的參數錯誤,能夠有效節省除錯的時間。


    Hyperledger Fabric (hereinafter referred to as HLF) is a blockchain platform built for enterprises. It is different from other public blockchains, as it is permissioned and has mechanism for can protecting user data from unauthorized. Therefore, various companies such as the financial, medical, supply chain, and manufacturing industries have begun to adopt the HLF platform.
    However, if the HLF network is deployed by following the official deployment instructions, it will take a lot of time to write or update the cumbersome scripts. Although many of the system parameters are the same, they will be scattered in various scripts and configuration files, which will not only increase the cost of deployment time, and may also increase the possibility of failure during deployment.
    There are very few HLF deployment tools published so far, and it is challenging to get the balance between the convenience of deployment tools and the customization capability of deployment tools. Often one has to sacrifice the flexibility of customization to get a faster deployment.
    The deployment tool designed by this research aims to get a proper balance between convenience and flexibility, focusing on ensuring the convenience of deployment and improving the flexibility of settings that cannot be achieved by existing deployment tools. Users of our tool can focus on only a configuration file for the deployment task. Besides, our tool also analyzes the configuration file to detect many common errors before starting the deployment, thus saving users’ time and efforts.

    第一章 緒論 p.3
    1.1 研究背景 p.3
    1.2 研究動機 p.3
    1.3 研究貢獻 p.4
    1.4 論文組織 p.4
    第二章 相關研究與技術背景 p.6
    2.1 Hyperledger Fabric p.6
    2.1.1 網路(Network) p.6
    2.1.2 元件架構 p.7
    2.1.3 政策(Policy) p.11
    2.1.4 交易流程(Transaction Flow) p.14
    2.2 部署工具 p.15
    2.2.1 Minifabric p.15
    2.2.2 Blockchain Deployment Kit p.15
    2.2.3 工具比較 p.16
    第三章 部署工具設計理念 p.18
    3.1 流程設計與理念 p.18
    3.1.1 解析配置檔 p.18
    3.1.2 檢查配置檔 p.18
    3.1.3 產生配置檔及部署腳本 p.22
    3.1.4 建置與部署 p.22
    3.2運作流程 p.22
    3.2.1 建立配置文件 p.22
    3.2.2 以指令檢查配置檔並產生部署所需之配置檔與腳本 p.28
    3.2.3 以指令進行部署 p.28
    3.2.3 以指令運行可監控HLF之UI p.28
    3.3 部署工具指令集 p.28
    第四章 系統實作方法 p.30
    4.1 系統實作語言、技術與平台 p.30
    4.2 系統實作流程 p.30
    4.3 測試資料 p.32
    第五章 結論與未來研究 p.34
    5.1 結論 p.34
    5.2 未來研究 p.34
    參考文獻 p.35
    附錄 p.36

    1. Hyperledger Fabric Peers官方網站,Peer概念介紹(2020年)。檢自 https://hyperledger-fabric.readthedocs.io/en/release-2.2/peers/peers.html#phase-1-proposal(May. 20, 2022)
    2. Hyperledger Fabric Peers官方網站,交易流程介紹(2020年)。檢自 https://hyperledger-fabric.readthedocs.io/en/release-2.2/txflow.html(May. 20, 2022)
    3. GitHub,Minifabric(2021年5月27日)。檢自https://github.com/litong01/minifabric(May. 20, 2022)
    4. GitHub,BDK(2022年3月9日)。檢自https://github.com/cathayddt/bdk(May. 20, 2022)
    5. GitHub,fabric-samples(2022年5月18日)。檢自https://github.com/hyperledger/fabric-samples (May. 20, 2022)

    QR CODE
    :::