A Lightweight Hash-Based Blockchain Architecture for Industrial IoT
Abstract
:1. Introduction
- We survey existing blockchain-based IoT solutions and summarize their primary considerations in the perspective of modifying the consensus protocol, constructing an architecture, using lightweight cryptography for performance.
- We analyze the considerations for blockchain-based IIoT in perspective of improving availability.
- We survey the lightweight hash functions and conduct a performance analysis. Finally, we propose a lightweight hash-based blockchain architecture for IIoT.
2. Related Work
2.1. Blockchain Based IoT
2.2. Hash Functions on Cryptocurrency
2.3. Considerations for Blockchain Based IIoT
- Computational resources:The consensus algorithms employed in the mining process of the blockchain (PoW) require significant computational resources that are far beyond the capabilities of most IoT devices. Resource requirements [29] depend on the particular type of consensus protocol in the blockchain network. Typically, solutions tend to delegate these tasks to gateways, or to any other unconstrained devices capable of providing this functionality. Although there are initiatives to incorporate blockchain full nodes into IoT devices [30]; mining is still a key challenge for IoT due to its limitations. To solve this challenge, we have to consider the computational burden of consensus algorithms. That is, we have to consider whether the devices on the network can adequately serve their functionality during the mining process. Therefore, we have to apply or design a lightweight consensus algorithm, especially in the industrial field.
- Latency: There is a significant latency associated with ensuring that transaction is confirmed by nodes which participating in the blockchain network. For example, in Bitcoin, it can take up to 30 min for a transaction to be confirmed. Most IoT applications have latency requirements, e.g., a service provider requesting data from a smart home sensor should not have to wait for several min. However, the latency requirements are stricter in the industrial field because IIoT can be used with huge manufacturing control systems or national infrastructures. For ensuring the latency, we have to use fast cryptographic functions and consensus algorithms for fast operation of the blockchain network.
- Scalability: In a typical blockchain implementation, the target block for updating is broadcast and verified by all nodes. It leads to significant scalability issues since the broadcast traffic and processing overheads would increase quadratically with the number of nodes in the network. Especially in the case of the industrial field, the devices are placed in a wide location. The associated overheads are intractable as most IoT devices have limited bandwidth connections (e.g., Low-Power Wide-Area Networks such as LoRa network which has a bandwidth under 1 GHz.) and processing capabilities. Therefore, the blockchain network has designed to broadcast efficiently.
3. Proposed Lightweight Hash Based Blockchain Architecture for IIoT
3.1. Overview of Proposed Lightweight Hash Based Blockchain Architecture
- Cell node: The cell node is a miner node in blockchain, and it consists of “LW Hash Manager, Device Manager, Traffic Analyzer, Mining Pool, Block Mining Manager, and Block Validation Manager”. The LW hash manager contains lightweight hash functions used in blockchain. The device manager is responsible for device registration required for participation in the cell area. The gathered data is stored in the mining pool as transactions that have yet to be processed. The traffic analyzer investigates the number of transactions. The calculated amount used to select a hash function from the lightweight hash list for block mining according to the predefined threshold. The hash list includes three hash functions—QUARK, PHOTON, and SPONGENT; please see the detailed description of the lightweight hash list in Section 3.2.1. The block mining manager operates block construction and searches the hash value, which satisfies the target difficulty. Last, the block validation manager operates the block validation process when other nodes request a block validation. Using these components, the cell node performs three functions (device management, block mining management, and block validation management) in the blockchain network. Please find the explanation and related component of each function in Table 3.
- Storage node: The storage node is a full node in blockchain, and it consists of LW Hash Manager, Block Validation Manager, and Shared Ledger Manager. The LW hash manager and the block validation manager have the same functions as the cell node. In contrast to the cell node, the storage node contains the shared ledger manager, and it manages the ledger, which contains all of the processed transactions. Also, the storage node does not operate block mining, and it performs just two functions (block validation management, block update management). After the block validation process, the shared ledger manager appends the validated block to the shared ledger. Please find the explanation and related component of each function in Table 4.
3.2. Key Features of Proposed Blockchain
3.2.1. Selection of Hash Functions: Lightweight Hash List
3.2.2. Flexible Hashchain: Hashchain Using Various Hash Function
3.3. Network Interaction Process
Algorithm 1: Device Management |
Input: Output: success or fail |
Algorithm 2: Block Mining Management |
Input: Output: success or fail |
Algorithm 3: Block Validation Manager |
Input: a requested block Output: true or false |
Algorithm 4: Block Update Management |
Input: a validated Output: a updated shared ledger L |
4. Analysis
4.1. Simulation Results
4.2. Availability of Proposed Architecture
- Lightweight hash for computational resources: IIoT network consists of IoT devices with limited resources, and the resource-constrained devices have a tiny area and low power. For reducing the computational burden of a consensus protocol, we selected the lightweight hash functions QUARK, PHOTON, and SPONGENT. These hash functions were implemented with a small area (GEs < 5000), and also consume little power (W < 10). It can be easily applied to resource-constrained devices, in contrast with existing hash functions such as SHA-256. Therefore, the consensus protocol using these lightweight hash function can be performed more lightly.
- Hash list for latency: The mining process in the typical blockchain is performed with a predefined hash function for searching the specific hash value. However, in the proposed architecture, the cell node is responsible for the mining process to select a hash function from the hash list according to the network traffic. The hash functions in the hash list have different performances in terms of throughput and security. In the case of throughput, they show good throughput, and are listed in descending order: QUARK, PHOTON, then SPONGENT. Oppositely, in the case of security, including pre-image resistance, second pre-image resistance, and collision resistance, they show good security in order SPONGENT, PHOTON, QUARK. If the transactions increase according to network traffic, the cell node changes the hash function to one that has better throughput. Even though this also means that the security level of hash function decreases, it does not mean these hash functions are not secure. This approach can reduce the latency of the mining and updating process.
- Composing cell node for scalability: In the industrial field, field devices can be spread in a wide location. The broadcasting for block validation can cause scalability issue because IoT devices have low bandwidth. To reduce the burden of broadcasting, we composed the cell nodes, which are nearby located to field devices and control devices. In the proposed architecture, each cell node gathers the transactions from the adjacent field devices, control devices. Also, it processes the mining process, and then broadcasts the block to other cell nodes participating in the blockchain.
5. Conclusions
Author Contributions
Funding
Conflicts of Interest
References
- Nakamoto, S. Bitcoin: A Peer-To-Peer Electronic Cash System. 2008. Available online: http://bitcoin.org/bitcoin.pdf (accessed on 6 September 2019).
- Sharma, P.K.; Moon, S.Y.; Park, J.H. Block-VN: A Distributed Blockchain Based Vehicular Network Architecture in Smart City. JIPS 2017, 13, 184–195. [Google Scholar]
- Nguyen, G.T.; Kim, K. A Survey about Consensus Algorithms Used in Blockchain. J. Inf. Process. Syst. 2018, 14, 101–128. [Google Scholar]
- Kim, H.W.; Jeong, Y.S. Secure authentication-management human-centric scheme for trusting personal resource information on mobile cloud computing with blockchain. Hum.-Cent. Comput. Inf. Sci. 2018, 8, 11. [Google Scholar] [CrossRef]
- Khan, M.A.; Salah, K. IoT security: Review, blockchain solutions, and open challenges. Future Gener. Comput. Syst. 2018, 82, 395–411. [Google Scholar] [CrossRef]
- Gilchrist, A. Industry 4.0: The Industrial Internet of Things; Apress: New York, NY, USA, 2016; pp. 8–9. [Google Scholar]
- Fortino, G.; Savaglio, C.; Zhou, M. Toward opportunistic services for the industrial Internet of Things. In Proceedings of the 2017 13th IEEE Conference on Automation Science and Engineering (CASE), Xi’an, China, 20–23 August 2017; pp. 825–830. [Google Scholar]
- Bahga, A.; Madisetti, V.K. Blockchain platform for industrial internet of things. J. Softw. Eng. Appl. 2016, 9, 533. [Google Scholar] [CrossRef]
- Sharma, P.K.; Ryu, J.H.; Park, K.Y.; Park, J.H.; Park, J.H. Li-Fi based on security cloud framework for future IT environment. Hum. Cent. Comput. Inf. Sci. 2018, 8, 23. [Google Scholar] [CrossRef]
- Wan, J.; Li, J.; Imran, M.; Li, D. A Blockchain-Based Solution for Enhancing Security and Privacy in Smart Factory. IEEE Trans. Ind. Inf. 2019, 15, 3652–3660. [Google Scholar] [CrossRef]
- Xu, H.; Yu, W.; Griffith, D.; Golmie, N. A Survey on Industrial Internet of Things: A Cyber-Physical Systems Perspective. IEEE Access 2018, 6, 78238–78259. [Google Scholar] [CrossRef]
- Fernández-Caramés, T.M.; Fraga-Lamas, P. A Review on the Use of Blockchain for the Internet of Things. IEEE Access 2018, 6, 32979–33001. [Google Scholar] [CrossRef]
- Novo, O. Blockchain meets IoT: An architecture for scalable access management in IoT. IEEE Int. Things J. 2018, 5, 1184–1195. [Google Scholar] [CrossRef]
- Dorri, A.; Kanhere, S.S.; Jurdak, R.; Gauravaram, P. Blockchain for IoT security and privacy: The case study of a smart home. In Proceedings of the 2017 IEEE International Conference on Pervasive Computing and Communications Workshops (PerCom Workshops), Hawaii, HI, USA, 13–17 March 2017; pp. 618–623. [Google Scholar]
- Dorri, A.; Kanhere, S.S.; Jurdak, R. Towards an optimized blockchain for IoT. In Proceedings of the Second International Conference on Internet-of-Things Design and Implementation, Pittsburgh, PA, USA, 18–21 April 2017; pp. 173–178. [Google Scholar]
- Biswas, K.; Muthukkumarasamy, V. Securing smart cities using blockchain technology. In Proceedings of the 2016 IEEE 18th International Conference on High Performance Computing and Communications; IEEE 14th International Conference on Smart City; IEEE 2nd International Conference on Data Science and Systems (HPCC/SmartCity/DSS), Sydney, Australia, 12–14 December 2016; pp. 1392–1393. [Google Scholar]
- Sukhwani, H.; Martínez, J.M.; Chang, X.; Trivedi, K.S.; Rindos, A. Performance modeling of pbft consensus process for permissioned blockchain network (hyperledger fabric). In Proceedings of the 2017 IEEE 36th Symposium on Reliable Distributed Systems (SRDS), Hong Kong, 26–29 September 2017; pp. 253–255. [Google Scholar]
- Boudguiga, A.; Bouzerna, N.; Granboulan, L.; Olivereau, A.; Quesnel, F.; Roger, A.; Sirdey, R. Towards better availability and accountability for iot updates by means of a blockchain. In Proceedings of the 2017 IEEE European Symposium on Security and Privacy Workshops (EuroS&PW), Paris, France, 26–28 April 2017; pp. 50–58. [Google Scholar]
- Li, R.; Song, T.; Mei, B.; Li, H.; Cheng, X.; Sun, L. Blockchain for large-scale internet of things data storage and protection. IEEE Trans. Serv. Comput. 2018. [Google Scholar] [CrossRef]
- Samaniego, M.; Deters, R. Hosting virtual iot resources on edge-hosts with blockchain. In Proceedings of the 2016 IEEE International Conference on Computer and Information Technology (CIT), Nadi, Fiji, 7–10 December 2016; pp. 116–119. [Google Scholar]
- Samaniego, M.; Deters, R. Using blockchain to push software-defined IoT components onto edge hosts. In Proceedings of the International Conference on Big Data and Advanced Wireless Technologies, Blagoevgrad, Bulgaria, 10–11 November 2016; ACM: New York, NY, USA, 2016; p. 58. [Google Scholar]
- Sharma, P.K.; Singh, S.; Jeong, Y.S.; Park, J.H. Distblocknet: A distributed blockchains-based secure sdn architecture for iot networks. IEEE Commun. Mag. 2017, 55, 78–85. [Google Scholar] [CrossRef]
- Liu, Y.; Wang, K.; Lin, Y.; Xu, W. LightChain: A Lightweight Blockchain System for Industrial Internet of Things. IEEE Trans. Ind. Inf. 2019, 15, 3571–3581. [Google Scholar] [CrossRef]
- Percival, C. Stronger Key Derivation via Sequential Memory-Hard Gunctions. 2009. Available online: https://www.tarsnap.com/scrypt/scrypt.pdf (accessed on 6 September 2019).
- Litecoin Project Community. About LiteCoin. 2018. Available online: https://litecoin.org/ (accessed on 6 September 2019).
- Ray, J. Ethereum (Whitepaper). 2018. Available online: https://github.com/ethereum/wiki/wiki/White-Paper (accessed on 6 September 2019).
- Bertoni, G.; Daemen, J.; Hoffert, S.; Peeters, M.; Van Assche, G.; Van Keer, R. Kessak. 2008. Available online: https://keccak.team/ (accessed on 6 September 2019).
- Cryptorival.com. Cryptocurrency Algorithms. 2019. Available online: https://cryptorival.com/algorithms (accessed on 6 September 2019).
- Choi, S.; Sun, K.; Eom, H. Resource-Efficient Multi-Source Authentication Utilizing Split-Join One-Way Key Chain. In Emerging Trends in ICT Security; Elsevier: Amsterdam, The Netherlands, 2014; pp. 267–279. [Google Scholar]
- Reyna, A.; Martín, C.; Chen, J.; Soler, E.; Díaz, M. On blockchain and its integration with IoT. Challenges and opportunities. Future Gener. Comput. Syst. 2018, 88, 173–190. [Google Scholar] [CrossRef]
- Williams, T.J. The Purdue enterprise reference architecture. Comput. Ind. 1994, 24, 141–158. [Google Scholar] [CrossRef]
- shattered.io. SHAttered. 2019. Available online: https://shattered.io/ (accessed on 6 September 2019).
- Guo, J.; Peyrin, T.; Poschmann, A. The PHOTON family of lightweight hash functions. In Proceedings of the 31st Annual Conference on Advances in Cryptologym, Santa Barbara, CA, USA, 14–18 August 2011; pp. 222–239. [Google Scholar]
- Cryptolux.org. Summary of the Main Characteristics of the Current Lightweight Hash Functions. 2019. Available online: https://www.cryptolux.org/index.php/Lightweight_Hash_Functions#cite_note-BKLT11-22 (accessed on 6 September 2019).
- Nikoukar, A.; Raza, S.; Poole, A.; Güneş, M.; Dezfouli, B. Low-power wireless for the internet of things: Standards and applications. IEEE Access 2018, 6, 67893–67926. [Google Scholar] [CrossRef]
Ref. | Description | Strategy for Lightweight | ||
---|---|---|---|---|
Architecture | Consensus | LW Cryptography | ||
Novo [13] | Decentralized access control architecture | ✔ | ||
Dorri et al. [14,15] | Three-layer blockchain architecture for smart home | ✔ | ✔ | |
Biswas et al. [16] | Using private blockchain and eliminate consensus | ✔ | ||
Sukhwani et al. [17] | Using SRN to improve PBFT consensus | ✔ | ||
Boudguiga et al. [18] | IoT software update architecture | ✔ | ||
Li et al. [19] | Decentralized data storage for IoT | ✔ | ✔ | |
M Samaniego et al. [20,21] | software-defined IoT architecture with blockchain | ✔ | ||
Sharma, P.K. et al. [22] | SDN based network using blockchain | ✔ | ||
Liu et al. [23] | Synergistic Multiple Proof and lightweight data structure | ✔ | ✔ |
Hash Function | Example Coins | Number of Coins |
---|---|---|
Scrypt | Auroracoin, Bitconnect, Bitcoin Gold, Coinye, Dogecoin, Gridcoin, Litecoin, PotCoin | 261 |
X11 | Dash, Petro | 106 |
SHA-256 | Bitcoin, Bitcoin Cash, Counterparty, MazaCoin, Namecoin, NeuCoin, Nxt, Peercoin, Titcoin | 99 |
Quark | PIVX, LockChain, DimeCoin | 35 |
CryptoNight | ByteCoin, Electroneum, Fantom | 30 |
X13 | Bitcoin Diamond, Straits, Navcoin | 27 |
Ethash | Ethereum, Ethereum Classic | 22 |
NeoScrypt | Red Pulse Pheonix | 22 |
Equihash | Zcash, Zcoin | 13 |
Keccak | SmartCash, Nexus, Maxcoin | 10 |
Function | Description | Related Component |
---|---|---|
Device management | Device registration for participating in the cell area | Device Manager |
Block mining management | Choosing the hash function used for block mining, Block construction and perform mining process | LW Hash Manager, Traffic Analyzer, Mining Pool, Block Mining Manager |
Block validation management | Validating the block requested from the other node and return the result of the validation process | Block Validation Manager |
Function | Description | Related Component |
---|---|---|
Block validation management | Validating the block requested from the other node and return the result of the validation process | Block Validation Manager |
Block update management | Appending the validated block to the stored ledger | Shared ledger manager |
Hash | Ref. | Security | Performance | ||||
---|---|---|---|---|---|---|---|
Pre | 2nd Pre | Col | Area (GE) | Throughput (kbps) | Power (W) | ||
QUARK | CHES 10 | 224 | 112 | 112 | 4640 | 50 | 8.39 |
PHOTON | CRYPTO 11 | 224 | 128 | 128 | 4362 | 20.51 | - |
SPONGENT | CHES 11 | 240 | 128 | 128 | 3281 | 11.43 | 6.62 |
© 2019 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/).
Share and Cite
Seok, B.; Park, J.; Park, J.H. A Lightweight Hash-Based Blockchain Architecture for Industrial IoT. Appl. Sci. 2019, 9, 3740. https://doi.org/10.3390/app9183740
Seok B, Park J, Park JH. A Lightweight Hash-Based Blockchain Architecture for Industrial IoT. Applied Sciences. 2019; 9(18):3740. https://doi.org/10.3390/app9183740
Chicago/Turabian StyleSeok, Byoungjin, Jinseong Park, and Jong Hyuk Park. 2019. "A Lightweight Hash-Based Blockchain Architecture for Industrial IoT" Applied Sciences 9, no. 18: 3740. https://doi.org/10.3390/app9183740
APA StyleSeok, B., Park, J., & Park, J. H. (2019). A Lightweight Hash-Based Blockchain Architecture for Industrial IoT. Applied Sciences, 9(18), 3740. https://doi.org/10.3390/app9183740