Publications-Theses

Article View/Open

Publication Export

Google ScholarTM

NCCU Library

Citation Infomation

Related Publications in TAIR

題名 Hyperledger Fabric 部署工具之設計與實作
Design and Implementation of a Hyperledger Fabric Deployment Tool
作者 張沛心
Chang, Pei-Hsin
貢獻者 陳恭
Chen, Kung
張沛心
Chang, Pei-Hsin
關鍵詞 Hyperledger Fabric
區塊鏈
部署工具
Blockchain
Hyperledger Fabric
Deployment
日期 2022
上傳時間 1-Aug-2022 17:22:23 (UTC+8)
摘要 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.
參考文獻 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)
描述 碩士
國立政治大學
資訊管理學系
109356022
資料來源 http://thesis.lib.nccu.edu.tw/record/#G0109356022
資料類型 thesis
dc.contributor.advisor 陳恭zh_TW
dc.contributor.advisor Chen, Kungen_US
dc.contributor.author (Authors) 張沛心zh_TW
dc.contributor.author (Authors) Chang, Pei-Hsinen_US
dc.creator (作者) 張沛心zh_TW
dc.creator (作者) Chang, Pei-Hsinen_US
dc.date (日期) 2022en_US
dc.date.accessioned 1-Aug-2022 17:22:23 (UTC+8)-
dc.date.available 1-Aug-2022 17:22:23 (UTC+8)-
dc.date.issued (上傳時間) 1-Aug-2022 17:22:23 (UTC+8)-
dc.identifier (Other Identifiers) G0109356022en_US
dc.identifier.uri (URI) http://nccur.lib.nccu.edu.tw/handle/140.119/141036-
dc.description (描述) 碩士zh_TW
dc.description (描述) 國立政治大學zh_TW
dc.description (描述) 資訊管理學系zh_TW
dc.description (描述) 109356022zh_TW
dc.description.abstract (摘要) Hyperledger Fabric(以下簡稱HLF)是一種專為企業打造的區塊鏈平台,不同於其他公開形式的區塊鏈,其特色為可以保有資料的隱私性,僅經過授權許可加入該區塊鏈的使用者可存取到特定資料。因此特性,讓諸如金融業、醫療業、供應鏈產業及製造業等各家企業開始投入該平台。
然而如以官方的部署方式來部署一個HLF網路需耗費龐大的時間去撰寫及修改繁冗的部署腳本,雖是相同的參數,卻會散佈在各個腳本及配置檔當中,不僅會提升部署的時間成本,也可能提升部署時的失敗機率。
在部署不易的情形下,目前已公開的HLF部署工具卻寥寥可數,且部署工具在部署時的便利與部署後的細節之間的平衡十分難掌握,有時為達部署之便,便需犧牲掉一些設定上的彈性與自由度。
本研究所設計之部署工具致力於在兩者之間取平衡點,著重在保障部署的便利性,並提升現有之部署工具無法達到的設定彈性,提供相當的客製化支援。使用者僅需致力於單一份配置檔的開發即可部署HLF網路,並且本部署工具能夠檢測幾項常見的參數錯誤,能夠有效節省除錯的時間。
zh_TW
dc.description.abstract (摘要) 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.
en_US
dc.description.tableofcontents 第一章 緒論 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
zh_TW
dc.format.extent 1469047 bytes-
dc.format.mimetype application/pdf-
dc.source.uri (資料來源) http://thesis.lib.nccu.edu.tw/record/#G0109356022en_US
dc.subject (關鍵詞) Hyperledger Fabriczh_TW
dc.subject (關鍵詞) 區塊鏈zh_TW
dc.subject (關鍵詞) 部署工具zh_TW
dc.subject (關鍵詞) Blockchainen_US
dc.subject (關鍵詞) Hyperledger Fabricen_US
dc.subject (關鍵詞) Deploymenten_US
dc.title (題名) Hyperledger Fabric 部署工具之設計與實作zh_TW
dc.title (題名) Design and Implementation of a Hyperledger Fabric Deployment Toolen_US
dc.type (資料類型) thesisen_US
dc.relation.reference (參考文獻) 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)
zh_TW
dc.identifier.doi (DOI) 10.6814/NCCU202201121en_US