Please use this identifier to cite or link to this item:

Title: 基於區塊鏈的工廠軟體自動更新監控修復系統
A Blockchain-Based Software Always-On System
Authors: 陳映孜
Chen, Ying Tzu
Contributors: 張宏慶
Chen, Ying Tzu
Keywords: 區塊鏈
Software update
Byzantine Agreement
Software monitor
Date: 2020
Issue Date: 2021-03-02 14:56:34 (UTC+8)
Abstract: 在現今將進入工業4.0甚或是5.0的時代,工業物聯網是當中一個不可或缺的角色。工業物聯網設備可以幫助工廠偵測各種生產的狀況,從而達到增加生產效率的目標。而雖然工業物聯網設備能幫助工廠,受限於它的功能與資源,要在這些設備上落實高强度安全性計劃變成了一個棘手的挑戰。也因此,在談論工業物聯網時,其中一個大議題即是,如何將一個可通用於各工廠之間,又安全又具可擴充性的系統放置於工業物聯網的設備上。在此篇研究中,我們爲了這個議題,提出了一個基於區塊鏈的系統架構,以求達到幫助工業物聯網設備能自動更新軟體,同時也能自動偵測軟體變異後自動修復。爲求避免軟體受到未授權的篡改,首先我們提出將軟體狀態以快照的方式儲存為區塊鏈賬本,而同時爲了追蹤自動更新與自動修復的過程,我們也提出了利用此帳本模擬區塊鏈合約的方法。在本篇的實驗結果中顯示,我們所提出的系統架構也可運用在更大規模的工業物聯網裝置上,而我們的更新與修復系統也可被保證是通過認證的,以及任何未受認可的軟體修改攻擊也可被我們的監控系統偵測到。
Moving towards Industry 5.0, the Industrial Internet of Things (IIoT) becomes an indispensable role. IIoT devices could help manufacturing companies to observe various production statuses hence improving production efficiency. However, IIoT's limitation on resources and features makes the robust security implementation a big challenge. To implement a secure, general and scalable system to adopt across industries is one of the most critical topics for IIoT. This paper proposes a blockchain-based system architecture to auto-update, auto monitor, and auto fix the IIoT devices' software. To protect the software's integrity and protect the software from unauthorized modification, we take the software status snapshots and store them as a blockchain ledger. To achieve auto-update and auto fix, we also simulate the concept of blockchain contract in our proposal, to create the ledger whenever there are changes in a result, the changes could always be tracked. The performance and scalability are also evaluated. The result shows that the system could also be deployed in larger-scale IIoT devices. The software update and fix could be guaranteed as authenticated, and the unauthorized software could be monitored and detected.
Reference: 1. Ahmad-Reza Sadeghi, Christian Wachsmann, and Michael Waidner, “Security and privacy challenges in industrial internet of things,” in Design Automation Conference (DAC), 2015 52nd ACM/EDAC/IEEE. IEEE, 2015.
2. Aleksandar Subic, Yang Xiang, Sudhir Pai, and Erwann de La Serve, “Blockchain and Industry 4.0,” Capgemini and Swinburne University of Technology, May 2018.
3. BigchainDB/ BEPs, “Transaction Components: Transaction ID,” September 26 2018. [Online]. Available:
4. BigChainDB Server, “BigchainDB Contributors Revision 2accca9f- How to Set Up a BigchainDB Network,” 2020. [Online]. Available:
5. BigchainDB GmbH, Berlin, Germany, “BigchainDB2.0, the Blockchain Database,” Paper version 1.0, May 2018.
6. Divya Arora ; Srivaths Ravi ; Anand Raghunathan ; Niraj K. Jha, “Hardware-Assisted Run-Time Monitoring for Secure Program Execution on Embedded Processors,” IEEE Transactions on Very Large Scale Integration (VLSI) Systems, vol. 14, no. 12, 2006.
7. Duisberg, attorney-at-law (Bird & Bird), Philipp Haas, attorney-at-law (Robert Bosch), Nils Hullen (IBM Germany), Thomas Kriesel (Bitkom), Ted Kroke, attorney-at-law (Jones Day), Martin Schweinoch, attorney-at-law (SKW Schwarz Rechtsanwälte), and Nick Wittek, attorney-at-law (Jones Day,) “Blockchain and the Law in the Context of Industrie 4.0,” Federal Ministry for Economic Affairs and Energy (BMWi,) February 2019.
8. Gronau, Norbert, Marcus Grum, and Benedict Bender. "Determining the optimal level of autonomy in cyber-physical production systems." 2016 IEEE 14th International Conference on Industrial Informatics (INDIN). IEEE, 2016. DOI:10.1109/INDIN.2016.7819367.
9. Hans-Dieter Wehle, “How Blockchain and the industry go together,” IBM Research & Development GmbH, Germany, July, 2020.
10. Jianing Chen, Jun Wu, Haoran Liang, Shahid Mumtaz, Jianhua Li, Kostromitin Konstantin, Ali Kashif Bashir and Raheel Nawaz, “Collaborative Trust Blockchain based Unbiased Control Transfer Mechanism for Industrial Automation,” IEEE Transactions on Industry Applications, DOI 10.1109/TIA.2019.2959550.
11. Junqin Huang , Linghe Kong , Guihai Chen, Min-You Wu, Xue Liu, and Peng Zeng, “Towards Secure Industrial IoT: Blockchain System With Credit-Based Consensus Mechanism,” IEEE TRANSACTIONS ON INDUSTRIAL INFORMATICS, VOL. 15, NO. 6, JUNE 2019.
12. Konstantinos Christidis, Michael Devetsikiotis, “Blockchains and Smart Contracts for the Internet of Things”, in IEEE Access, vol. 4, pp. 2292-2303, May 2016.

13. Lodovica Marchesi, Michele Marchesi, Roberto Tonelli, “A Blockchain Architecture for Industrial Applications,” IEEE Computer Society, May/June 2020.
14. Mario Hermann, Tobias Pentek, Boris Otto, “Design Principles for Industrie 4.0 Scenarios,” 10 March 2016.
15. Marr Bernard. "What Everyone Must Know About Industry 4.0". Forbes. Retrieved 27 September 2020. [Online]. Available:
16. Mike Bonner, “What is Industry 4.0 and What Does it Mean for My Manufacturing?, ” Mar. 2, 2017. [Online]. Available:
17. Mohammad Ahmad Munawar, and Paul Ward, “Leveraging Many Simple Statistical Models to Adaptively Monitor Software Systems,” International Journal of High Performance Computing and Networking 7(1):457-470, January 2007.
18. Sabrina Sicari, Alessandra Rizzardi, Luigi Alfredo Grieco, and Alberto Coen Porisini, “Security, privacy and trust in internet of things: The road ahead,” Computer networks, vol. 76, 2015s.
19. Sabbir Ahmed, Razib Hayat Khan, “Blockchain and Industry 4.0,” Department of Computer ScienceAmerican International University-Bangladesh, January 2020.
20. Sen He, Wei Ren, Tianqing Zhu, and Kim-Kwang Raymond Choo, “BoSMoS: A Blockchain-based Status Monitoring System for Defending against Unauthorized Software Updating in Industrial Internet of Things,” IEEE Internet of Things Journal, Feb 1, 2019.
21. Suttawee Achawapong, “Blockchain-Based Firmware Update Framework for Internet of Things Environment,” NTUST Department of Information Management, January 24 2018.
22. TIAGO M. FERNÁNDEZ-CARAMÉS, PAULA FRAGA-LAMAS, “A Review on the Application of Blockchain for the Next Generation of Cybersecure Industry 4.0 Smart Factories,” IEEE Access Volume 2, 2019.
23. TIAGO M. FERNÁNDEZ-CARAMÉS, PAULA FRAGA-LAMAS, “A Review on the Use of Blockchain for the Internet of Things”, in IEEE Access, vol. 6, pp. 32979–33001, 2018.
24. Tomaso Aste, Paolo Tasca, and Tiziana Di Matteo, “Blockchain Technologies: The Foreseeable Impact on Society and Industry”, IEEE COMPUTER Vol. 50, No. 9, 22.09.2017, p. 18-28. , January 2017.
25. Vishal Chawla, “What Are The Top Blockchain Consensus Algorithms?” January 20 2020. [Online]. Available:
26. Xiaowan Huang, Justin Seyster, Sean Callanan, Ketan Dixit, Radu Grosu, Scott A. Smolka, Scott D. Stoller and Erez Zadok, “Software monitoring with controllable overhead,” International Journal on Software Tools for Technology Transfer 14(3):1-21, June 2012.
27. ZeroMQ, “ZeroMQ Documentation,” 2020. [Online]. Available:
Description: 碩士
Source URI:
Data Type: thesis
Appears in Collections:[資訊科學系碩士在職專班] 學位論文

Files in This Item:

File Description SizeFormat
101201.pdf1258KbAdobe PDF0View/Open

All items in 學術集成 are protected by copyright, with all rights reserved.

社群 sharing