Submitted:
26 October 2023
Posted:
28 October 2023
You are already at the latest version
Abstract
Keywords:
1. Introduction
- Security: Cloud-based maintenance systems are vulnerable to cyber threats that could disrupt the manufacturing process or compromise data privacy. Permissioned blockchain could enhance security by providing an immutable and tamper-resistant platform, ensuring that only authorized users can access the data [18].
- Data Integrity: Permissioned blockchain ensures that every transaction or change in the system is recorded in a distributed ledger, which is virtually impossible to modify or delete. This provides an automatic safeguard for data integrity [19].
- Transparency and Traceability: Blockchain technology creates a transparent system where every transaction can be tracked and audited. This promotes trust among participants and improves the traceability of actions, which is crucial for effective maintenance and process [16].
- Streamlined Processes: Permissioned blockchains can automate manual processes, which not only saves time but also reduces the likelihood of human error. Through the use of smart contracts, routine maintenance tasks can be automatically triggered when certain conditions are met. This streamlining effect can improve the efficiency and effectiveness of maintenance systems in smart manufacturing [20].
- Interoperability: Permissioned blockchains can facilitate interoperability between different systems and stakeholders. In a smart manufacturing environment, where numerous entities are interacting, it is important to have a system in place that can communicate with various parties [21].
- We design an integrated framework for maintenance systems in smart manufacturing that defines the interactions of various stakeholders within it.
- We create a maintenance system prototype that can be used as a reference for real-world implementation.
- We demonstrate the feasibility of permissioned blockchain technology for the maintenance system in the manufacturing industry.
2. Related Works
3. Materials and Methods
3.1. Groundwork
3.1.1. Equipment Maintenance
- Preventive Maintenance: Regularly scheduled maintenance performed to prevent machine breakdowns and minimize downtime.
- Predictive Maintenance: Maintenance performed based on the analysis of machine data and performance indicators, to identify potential issues before they cause breakdowns.
- Corrective Maintenance: Maintenance performed to fix a machine that has already broken down.
- Emergency Maintenance: Maintenance performed in response to an unexpected machine breakdown.
- Condition-Based Maintenance: Maintenance performed based on the actual condition of the machine, rather than a predetermined schedule.
- Scheduled Maintenance: Regularly scheduled maintenance, often performed during scheduled downtime.
- Unscheduled Maintenance: Maintenance performed outside of regular scheduled downtime, often in response to a machine breakdown.
- Predetermined Maintenance: Maintenance performed at predetermined intervals, regardless of the machine’s actual condition.
- CNC Machines: Computer Numerical Control (CNC) machines are a staple in smart manufacturing. They use computer-aided design (CAD) and computer-aided manufacturing (CAM) to control and automate the machining process.
- Industrial Robots: Industrial robots, including collaborative robots (cobots), are used to automate tasks such as assembly, welding, material handling, and packaging.
- 3D Printers: Additive manufacturing or 3D printing is used for creating prototypes, tools, and even end-use products. In smart manufacturing, 3D printers can be connected to networks and are often automated.
- Sensors and IoT Devices: These devices are used to collect data from the manufacturing process. This includes data about machine performance, environmental conditions, and product quality.
- Smart Conveyors and AGVs: Automated guided vehicles (AGVs) and smart conveyors are used for the transportation of materials and products within the facility. They can adapt to the manufacturing process dynamically.
- Vision Systems: Cameras and vision systems are used for quality control, inspection, and guiding robots. They can detect defects and ensure the precision of the manufacturing process.
- PLCs and PACs: Programmable Logic Controllers (PLCs) and Programmable Automation Controllers (PACs) are used to control machinery and processes in response to the data received from sensors and other input devices.
- Add-on Technologies: This includes equipment that can be added to existing machinery to make them smarter, like retrofit kits with sensors or small processors.
- Process Control Equipment: This includes various controllers and instruments that monitor and control process variables such as temperature, pressure, flow, etc., to ensure that the process operates within desired parameters.
- Augmented Reality (AR) Equipment: AR glasses and devices can help workers by providing real-time information, instructions, and insights during assembly, maintenance, and training processes.
3.1.2. Permissioned Blockchain
3.1.3. Hyperledger Fabric
3.1.4. Hyperledger Caliper
3.2. System Architecture
- (1)
-
Internal Stakeholders (Smart Manufacturing Company):
- Operator. The role of an operator is crucial for ensuring the efficient operation and maintenance of the equipment. Operators play a key role in managing and monitoring the equipment, facilitating the maintenance process, and ensuring the integrity and security of the blockchain network. Operators also act as intermediaries between the equipment and the blockchain network. They are responsible for recording maintenance-related data, such as maintenance schedules, tasks performed, spare parts used, and any other relevant information, onto the blockchain.
- Finance. The finance division is important in the maintenance system since smart contracts can be used for automating payments and other transactions with external stakeholders. The finance division should manage these smart contracts to ensure that payment terms, conditions, and timelines are met as per agreements.
- Smart Manufacturing Equipment. Equipment in smart manufacturing that does not have networking features must go through an operator to be able to convey its data to the blockchain network. However, networkable smart devices can automatically send the required data to the blockchain by themselves. Operators only need to configure what data types and schedules when data should be sent.
- (2)
-
External Stakeholders (Vendors):
- Maintenance Service Provider. A service provider plays a key role in ensuring that manufacturing equipment is properly maintained and that all maintenance activities are recorded securely and transparently on the blockchain. This can lead to improved operational efficiency, reduced downtime, and enhanced compliance with regulations and standards.
- Equipment Manufacturer. An equipment manufacturer typically refers to a company or entity that designs and produces the physical equipment being used in the manufacturing process. The equipment manufacturer can interact with the blockchain to provide, monitor, and enhance the maintenance and performance of the equipment they produce.
3.3. System Workflow
| Algorithm 1: Maintenance System Smart Contract |
|
1.35
|
| Algorithm 2: Chaincode for Inventory Management in Golang |
|
1.35
|
| Algorithm 3: Smart Contract for Payment Process in Golang |
|
1.35
|
3.4. Technology Stack
- Ubuntu 22.04 LTS, an open-source operating system from Canonical Ltd;
- Hyperledger Fabric 2.1.0, a permissioned blockchain platform from The Linux Foundation;
- Docker 20.10.21, a container platform to run nodes of Hyperledger fabric;
- Docker Compose 1.25.0, a tool to manage of Docker multi-container applications;
- CouchDB 2.3, an open-source database in JSON format to store transactions in the blockchain network;
- Node.js 16.13.0, an open-source cross-platform JavaScript runtime environment from The OpenJS Foundation;
- Golang 1.17.3, an open-source programming language supported by Google to run Chaincode smart contracts in Hyperledger Fabric;
- PHP 7.4.3, a general-purpose scripting language for web application to develop blockchain client;
- MetroUI 4.5.1, a frontend toolkit with Fluent design;
- Nginx 1.18.0, an open-source web server to present blockchain client application;
- Hyperledger Caliper 0.4.0, a blockchain network benchmarking tool from The Linux Foundation.
3.5. Development and Simulation Environment
4. Results and Analysis
4.1. Client Prototype
- Equipment: This menu is for managing equipment including viewing equipment data, as well as adding, editing, and deleting equipment.
- Maintenance: For manufacturing companies, this menu is for submitting maintenance requests to vendors. Meanwhile for vendors, this menu is used to receive and carry out maintenance activities.
- Payment: For vendors, this menu is for submitting payment requests. Meanwhile for manufacturing companies, this menu is used to review, accept, or reject payment requests. In case a maintenance service activity is contained in a smart contract, payment can be processed automatically.
4.2. Performance Analysis


4.3. Security Analysis
- Smart Contract Vulnerabilities: PBEMS utilizes smart contracts for automating and enforcing business logic. Common smart contract vulnerabilities, such as reentrancy, integer overflow, or unauthorized access, should be addressed during development. Smart contracts should undergo rigorous testing and security auditing to minimize the risk of exploitation.
- Node and Peer Security: The security of nodes and peers within the Hyperledger Fabric network is critical. Adequate measures should be implemented to protect against unauthorized access to nodes, compromised peers, or Denial-of-Service (DoS) attacks. Regular monitoring and patching of software vulnerabilities are crucial to maintain a secure network.
- User Authentication and Authorization: The security of nodes and peers within the PBEMS relies on proper user authentication and authorization mechanisms to ensure the integrity and confidentiality of data. However, vulnerabilities can emerge if weak or easily guessable passwords are used, if users share their login credentials, or if adequate access controls are not implemented. Insider threats also pose a risk if an authorized user intentionally or unintentionally abuses their privileges or grants access to unauthorized individuals.
- System Administration: The security of PBEMS heavily depends on the effective management and administration of the system. Weak system administration practices, such as not promptly revoking access rights for former employees, inadequate monitoring and logging, or insufficient patch management, can introduce vulnerabilities. If these aspects are not addressed, unauthorized access, data leaks, or malicious activities can occur.
- External Integration Points: PBEMS may integrate with external systems, such as enterprise resource planning (ERP) software, asset management tools, or supply chain systems. These integrations may introduce security risks if proper security controls are not implemented. Unauthorized access, data leakage, or system compromise can occur if the integrated systems are not adequately protected or if the integration mechanisms themselves are flawed.
- Human Error and Training: The effectiveness of PBEMS relies heavily on the competence and awareness of its users. Human error, such as misconfiguration or unintentional exposure of sensitive information, can result in security breaches. Insufficient training on security best practices, inadequate user documentation, or lack of awareness campaigns can amplify this vulnerability. Regular training programs, clear user guidelines, and continuous monitoring of user activities can help reduce the impact of human error.
5. Conclusion
Author Contributions
Funding
Data Availability Statement
Conflicts of Interest
Appendix A
Appendix A.1


References
- Lee, J.; Bagheri, B.; Kao, H.A. A cyber-physical systems architecture for industry 4.0-based manufacturing systems. Manufacturing letters 2015, 3, 18–23. [Google Scholar] [CrossRef]
- Mobley, R.K. An introduction to predictive maintenance; Elsevier, 2002.
- Lee, J.; Wu, F.; Zhao, W.; Ghaffari, M.; Liao, L.; Siegel, D. Prognostics and health management design for rotary machinery systems—Reviews, methodology and applications. Mechanical systems and signal processing 2014, 42, 314–334. [Google Scholar] [CrossRef]
- Jardine, A.K.; Lin, D.; Banjevic, D. A review on machinery diagnostics and prognostics implementing condition-based maintenance. Mechanical systems and signal processing 2006, 20, 1483–1510. [Google Scholar] [CrossRef]
- Muchiri, P.; Pintelon, L.; Gelders, L.; Martin, H. Development of maintenance function performance measurement framework and indicators. International Journal of Production Economics 2011, 131, 295–302. [Google Scholar] [CrossRef]
- Susto, G.A.; Schirru, A.; Pampuri, S.; McLoone, S.; Beghi, A. Machine learning for predictive maintenance: A multiple classifier approach. IEEE transactions on industrial informatics 2014, 11, 812–820. [Google Scholar] [CrossRef]
- Lu, Y. Industry 4.0: A survey on technologies, applications and open research issues. Journal of industrial information integration 2017, 6, 1–10. [Google Scholar] [CrossRef]
- Rittinghouse, J.W.; Ransome, J.F. Cloud Computing; CRC Press, 2017.
- Osman, A.M.; Dafa-Allah, A.; Elhag, A.A.M. Proposed security model for web based applications and services. In Proceedings of the 2017 International Conference on Communication, Control, Computing and Electronics Engineering (ICCCCEE). IEEE; 2017; pp. 1–6. [Google Scholar]
- Mendling, J.; Weber, I.; Aalst, W.V.D.; Brocke, J.V.; Cabanillas, C.; Daniel, F.; Debois, S.; Ciccio, C.D.; Dumas, M.; Dustdar, S.; et al. Blockchains for business process management-challenges and opportunities. ACM Transactions on Management Information Systems (TMIS) 2018, 9, 1–16. [Google Scholar] [CrossRef]
- Kieseberg, P.; Hobel, H.; Schrittwieser, S.; Weippl, E.; Holzinger, A. Protecting anonymity in data-driven biomedical science. Interactive Knowledge Discovery and Data Mining in Biomedical Informatics: State-of-the-Art and Future Challenges 2014, pp. 301–316.
- Wollschlaeger, M.; Sauter, T.; Jasperneite, J. The future of industrial communication: Automation networks in the era of the internet of things and industry 4.0. IEEE industrial electronics magazine 2017, 11, 17–27. [Google Scholar] [CrossRef]
- Solyman, A.M.; Ibrahim, O.A.; Elhag, A.A.M. Project management and software quality control method for small and medium enterprise. In Proceedings of the 2015 International Conference on Computing; 2015; pp. 123–128. [Google Scholar]
- Mahmoud, Z.; Solyman, A.; Elhag, A.A.M. Harmonized software quality improvement models for Sudanese SME based on CMMI. In Proceedings of the 2019 International Conference on Computer, Control, Electrical, and Electronics Engineering (ICCCEEE). IEEE; 2019; pp. 1–6. [Google Scholar]
- Faniyi, F.; Bahsoon, R. A systematic review of service level management in the cloud. ACM Computing Surveys (CSUR) 2015, 48, 1–27. [Google Scholar] [CrossRef]
- Casino, F.; Dasaklis, T.K.; Patsakis, C. A systematic literature review of blockchain-based applications: Current status, classification and open issues. Telematics and informatics 2019, 36, 55–81. [Google Scholar] [CrossRef]
- Androulaki, E.; Barger, A.; Bortnikov, V.; Cachin, C.; Christidis, K.; De Caro, A.; Enyeart, D.; Ferris, C.; Laventman, G.; Manevich, Y.; et al. Hyperledger fabric: a distributed operating system for permissioned blockchains. In Proceedings of the Proceedings of the thirteenth EuroSys conference; 2018; pp. 1–15. [Google Scholar]
- Ferrag, M.A.; Maglaras, L.; Ahmim, A. Privacy-preserving schemes for ad hoc social networks: A survey. IEEE Communications Surveys & Tutorials 2017, 19, 3015–3045. [Google Scholar]
- Xu, X.; Weber, I.; Staples, M.; Zhu, L.; Bosch, J.; Bass, L.; Pautasso, C.; Rimba, P. A taxonomy of blockchain-based systems for architecture design. In Proceedings of the 2017 IEEE international conference on software architecture (ICSA). IEEE; 2017; pp. 243–252. [Google Scholar]
- Wang, Y.; Singgih, M.; Wang, J.; Rit, M. Making sense of blockchain technology: How will it transform supply chains? International Journal of Production Economics 2019, 211, 221–236. [Google Scholar] [CrossRef]
- Hawlitschek, F.; Teubner, T.; Weinhardt, C. Trust in the sharing economy. Die Unternehmung 2016, 70, 26–44. [Google Scholar] [CrossRef]
- Stodt, J.; Jastremskoj, E.; Reich, C.; Welte, D.; Sikora, A. Formal description of use cases for industry 4. In 0 maintenance processes using blockchain technology. In Proceedings of the 2019 10th IEEE International Conference on Intelligent Data Acquisition and Advanced Computing Systems: Technology and Applications (IDAACS). IEEE; 2019; Vol. 2, pp. 1136–1141. [Google Scholar]
- Welte, D.; Sikora, A.; Schönle, D.; Stodt, J.; Reich, C. Blockchain at the shop floor for maintenance. In Proceedings of the 2020 International Conference on Cyber-Enabled Distributed Computing and Knowledge Discovery (CyberC). IEEE; 2020; pp. 15–22. [Google Scholar]
- Bai, L.; Hu, M.; Liu, M.; Wang, J. BPIIoT: A light-weighted blockchain-based platform for industrial IoT. IEEE Access 2019, 7, 58381–58393. [Google Scholar] [CrossRef]
- Chen, Q.; Zhu, Z.; Si, S.; Cai, Z. Intelligent maintenance of complex equipment based on blockchain and digital twin technologies. In Proceedings of the 2020 IEEE International Conference on Industrial Engineering and Engineering Management (IEEM). IEEE; 2020; pp. 908–912. [Google Scholar]
- Tran, V.H.; Lenssens, B.; Kassab, A.; Laks, A.; Rivière, E.; Rosinosky, G.; Sadre, R. Machine-as-a-Service: Blockchain-based management and maintenance of industrial appliances. Engineering Reports; 2022; p. e12567. [Google Scholar]
- Miehle, D.; Meyer, M.M.; Luckow, A.; Bruegge, B.; Essig, M. Toward a decentralized marketplace for self-maintaining machines. In Proceedings of the 2019 IEEE International Conference on Blockchain (Blockchain). IEEE; 2019; pp. 431–438. [Google Scholar]
- Hasan, H.R.; Salah, K.; Jayaraman, R.; Ahmad, R.W.; Yaqoob, I.; Omar, M. Blockchain-based solution for the traceability of spare parts in manufacturing. IEEE Access 2020, 8, 100308–100322. [Google Scholar] [CrossRef]
- Aleshi, A.; Seker, R.; Babiceanu, R.F. Blockchain model for enhancing aircraft maintenance records security. In Proceedings of the 2019 IEEE International Symposium on Technologies for Homeland Security (HST). IEEE; 2019; pp. 1–7. [Google Scholar]
- Jensen, W.L.; Jessing, S.; Chiu, W.Y.; Meng, W. AirChain-towards blockchain-based aircraft maintenance record system. In Proceedings of the 2022 IEEE International Conference on Blockchain and Cryptocurrency (ICBC). IEEE; 2022; pp. 1–3. [Google Scholar]
- Jensen, W.L.; Jessing, S.; Chiu, W.Y.; Meng, W. A practical blockchain-based maintenance record system for better aircraft security. In Proceedings of the International Conference on Science of Cyber Security. Springer; 2022; pp. 51–67. [Google Scholar]
- Andrei, A.; Balasa, R.; Costea, M.; Semenescu, A. Building a blockchain for aviation maintenance records. In Proceedings of the Journal of Physics: Conference Series. IOP Publishing; 2021; Vol. 1781, p. 012067. [Google Scholar]
- Ahmad, R.W.; Salah, K.; Jayaraman, R.; Hasan, H.R.; Yaqoob, I.; Omar, M. The role of blockchain technology in aviation industry. IEEE Aerospace and Electronic Systems Magazine 2021, 36, 4–15. [Google Scholar] [CrossRef]
- Schyga, J.; Hinckeldeyn, J.; Kreutzfeldt, J. Prototype for a permissioned blockchain in aircraft MRO. In Proceedings of the Hamburg International Conference of Logistics (HICL) 2019. epubli GmbH; 2019; pp. 469–505. [Google Scholar]
- Mohril, R.S.; Solanki, B.S.; Lad, B.K.; Kulkarni, M.S. Blockchain enabled maintenance management framework for military equipment. IEEE Transactions on Engineering Management 2021, 69, 3938–3951. [Google Scholar] [CrossRef]
- Mohamed, E.R.; MABROUKI, M. Critical Study of the Different Types of Maintenance Used in Industry. Research Journal of Applied Sciences, Engineering and Technology 2018, 15, 91–97. [Google Scholar]
- Nakamoto, S. Bitcoin: A peer-to-peer electronic cash system. Decentralized business review 2008. [Google Scholar]
- Yusoff, J.; Mohamad, Z.; Anuar, M. A Review: Consensus Algorithms on Blockchain. Journal of Computer and Communications 2022, 10, 37–50. [Google Scholar] [CrossRef]
- Zheng, Z.; Xie, S.; Dai, H.N.; Chen, W.; Chen, X.; Weng, J.; Imran, M. An overview on smart contracts: Challenges, advances and platforms. Future Generation Computer Systems 2020, 105, 475–491. [Google Scholar] [CrossRef]
- Assaqty, M.I.S.; Gao, Y.; Hu, X.; Ning, Z.; Leung, V.C.; Wen, Q.; Chen, Y. Private-blockchain-based industrial IoT for material and product tracking in smart manufacturing. IEEE Network 2020, 34, 91–97. [Google Scholar] [CrossRef]
- Mohamed, N.; Al-Jaroodi, J. Applying blockchain in industry 4.0 applications. In Proceedings of the 2019 IEEE 9th annual computing and communication workshop and conference (CCWC). IEEE; 2019; pp. 0852–0858. [Google Scholar]
- Aggarwal, S.; Kumar, N. Hyperledger. In Advances in computers; Elsevier, 2021; Vol. 121, pp. 323–343.
- Nasir, Q.; Qasse, I.A.; Abu Talib, M.; Nassif, A.B.; et al. Performance analysis of hyperledger fabric platforms. Security and Communication Networks 2018, 2018. [Google Scholar] [CrossRef]
- Krstić, M.; Krstić, L. Hyperledger frameworks with a special focus on hyperledger fabric. Vojnotehnički glasnik/Military Technical Courier 2020, 68, 639–663. [Google Scholar] [CrossRef]
- Kuzlu, M.; Pipattanasomporn, M.; Gurses, L.; Rahman, S. Performance analysis of a hyperledger fabric blockchain framework: throughput, latency and scalability. In Proceedings of the 2019 IEEE international conference on blockchain (Blockchain). IEEE; 2019; pp. 536–540. [Google Scholar]
- Shuaib, M.; Hassan, N.H.; Usman, S.; Alam, S.; Bakar, N.A.A.; Maarop, N. Performance evaluation of DLT systems based on hyper ledger fabric. In Proceedings of the 2022 4th International Conference on Smart Sensors and Application (ICSSA). IEEE; 2022; pp. 70–75. [Google Scholar]
- Al-Sumaidaee, G.; Alkhudary, R.; Zilic, Z.; Swidan, A. Performance analysis of a private blockchain network built on Hyperledger Fabric for healthcare. Information Processing & Management 2023, 60, 103160. [Google Scholar]

| Step | Description |
|---|---|
| Initialize the system | 1. Create a network of nodes that will participate in the consensus process. |
| 2. Establish communication channels between the nodes. | |
| 3. Choose a leader node that will initiate the consensus process. | |
| Create a maintenance request | 1. When an equipment requires maintenance, a request is created and sent to the network. |
| 2. The request contains the equipment’s ID, description of the problem, and other relevant details. | |
| Pre-prepare phase | 1. The leader node broadcasts the request to all other nodes. |
| 2. Each node verifies the request’s authenticity and checks if it meets the required criteria. | |
| Prepare phase | 1. Nodes that validate the request send a "prepare" message to all other nodes. |
| 2. Each node waits for a sufficient number of prepare messages before proceeding to the next phase. | |
| Commit phase | 1. Nodes that received enough prepare messages send a "commit" message to all other nodes. |
| 2. Each node waits for a sufficient number of commit messages before proceeding to the next phase. | |
| Response phase | 1. The leader node broadcasts the response to all other nodes. |
| 2. Each node verifies the response’s authenticity and checks if it meets the required criteria. | |
| Finalize phase | 1. Nodes that validate the response send a "finalize" message to all other nodes. |
| 2. Each node waits for a sufficient number of finalize messages before the request is considered complete. | |
| Update the ledger | 1. Once the request is complete, the system updates the blockchain ledger with the maintenance details. |
| 2. The ledger is immutable and tamper-proof, ensuring the request’s authenticity and accuracy. | |
| 3. Repeat. | |
| 4. The system repeats this process for each maintenance request, ensuring that all nodes agree on the validity of each request. |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2023 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (http://creativecommons.org/licenses/by/4.0/).