Enable Fair Proof-of-Work (PoW) Consensus for Blockchains in IoT by Miner Twins (MinT)
Abstract
:1. Introduction
- (1)
- A secure-by-design MinT architecture is introduced to allow for fair-mining-as-a-service (FMaaS) in heterogeneous IoT environments;
- (2)
- We propose a novel miner twin-enabled fair-mining mechanism, which can monitor the computing resources usage at miners and can regularly apply anomaly detection to deter misbehaved nodes from unfairly overwhelming honest peers using extra computing power;
- (3)
- A lightweight SSA Singular Spectrum Analysis (SSA)-based detection is designed to identify individual misbehaved miners that violate fair mining policies, while a Proof-of-Behavior consensus algorithm is designed to detect multiple Byzantine miners that collude to compromise a fair mining network; and
- (4)
- A proof-of-concept prototype is implemented and tested on a small-scale private PoW mining network, and experimental results verified that the MinT is feasible and effective to ensure a fair mining system.
2. Related Work
2.1. Blockchain and Nakamoto Consensus Protocol
2.2. Digital Twins
3. MinT: Rationale and Architecture
4. Miner Twin-Enabled Fair-Mining Mechanism
4.1. MinT Workflow for Fair Mining
4.2. Miner Twin Process
4.3. Fast Anomaly Detection for Fair Mining
4.4. Proof-of-Behavior Consensus Algorithm for Fair Mining Enforcement
5. Experimental Study
5.1. Experimental Setup
5.2. Experimental Results
5.2.1. SSA-Based Detection on Static Single Miner Violation
5.2.2. SSA Detection on Adaptive Single Miner Violation
5.2.3. PoB-Based Fair Mining Detection Effectiveness
5.2.4. Fair Mining Violation Detection Performance Analysis
5.3. Discussions
- Although experimental results verify feasibility of SSA-based fair-mining violation detection, there still need investigation on SSA performance and accuracy given the impact of parameters, such as optimal/sub-optimal threshold selection and detection latency as scaling up miners.
- The PoB consensus is promising to guarantee byzantine fault tolerance in mining violation detection; however, the threat model based on attack scenarios in SSA detection needs more investigation, such as communication security between miner and twin and container’s robustness given failed or compromised conditions. Therefore, the security mechanisms for communication between PO and LO, and container management are among the tasks of top priority.
- It is inevitable that extra overheads are incurred by security enforcement and data synchronization in fair-mining mechanism. Therefore, a comprehensive performance evaluation of the twinning process is necessary, such as computation and communication cost, network latency and storage requirement, etc.
- Furthermore, we also need to tackle scalability and heterogeneity issues such as as applying MinT into large-scale IoT networks. A hierarchical federated network framework is promising to handle the trilemma in blockchain solutions that decentralization, security and scalability cannot perfectly co-exist [4].
6. Conclusions and Future Work
- We will conduct a comprehensive evaluation on SSA method in anomaly detection, especially for detection accuracy and performance, and the impact of parameter selection. Moreover, AI/ML-based algorithms will be investigated to improve anomaly detection accuracy and to support efficient dynamic resources management in the fair mining network.
- To apply MinT in a large-scale application scenario such as a smart surveillance system [48], we will implement a fully function prototype based on edge-fog-cloud architecture, in which physical containerized miners are on edge devices while digital twins are in the fog or cloud. Then, we will make a comprehensive performance analysis and assessment of security features.
- Furthermore, MinT relies on microservices that encapsulate a fair PoW mining algorithm into independent containers running on host machines. Thus, the security and privacy of containers and data reliability are among the top concerns. We will investigate the security of the container running environment, and data audition and integrity in microservice-to-microservice communication.
Author Contributions
Funding
Data Availability Statement
Acknowledgments
Conflicts of Interest
Abbreviations
AI | Artificial Intelligence |
AR | Augmented Reality |
BFT | Byzantine Fault Tolerant |
CUSUM | Cumulative Sum |
DDDAS | Dynamic Data-Driven Applications Systems |
DLT | Distributed Ledger Technology |
DT | Digital Twins |
FMaaS | Fair Mining as a Service |
EPDS | Electric Propulsion Drive Systems |
ICT | Information and Communication Technology |
IoT | Internet of Things |
LAN | Local Area Network |
LO | Logical Object |
MinT | Miner Twins |
ML | Machine Learning |
MoA | Microservice-Oriented Architecture |
P2P | Peer-to-Peer |
PBFT | Practical Byzantine Fault Tolerance |
PO | Physical Object |
PoB | Proof-of-Behavior |
PoS | Proof-of-Stake |
PoW | Proof-of-Work |
SBC | Single Board Computer |
SSA | Singular Spectrum Analysis |
VR | Virtual Reality |
References
- Novo, O. Blockchain meets IoT: An architecture for scalable access management in IoT. IEEE Internet Things J. 2018, 5, 1184–1195. [Google Scholar] [CrossRef]
- Nikouei, S.Y.; Xu, R.; Nagothu, D.; Chen, Y.; Aved, A.; Blasch, E. Real-time index authentication for event-oriented surveillance video query using blockchain. In Proceedings of the 2018 IEEE International Smart Cities Conference (ISC2), Kansas City, MO, USA, 16–19 September 2018; pp. 1–8. [Google Scholar]
- Fitwi, A.; Chen, Y. Secure and Privacy-Preserving Stored Surveillance Video Sharing atop Permissioned Blockchain. arXiv 2021, arXiv:2104.05617. [Google Scholar]
- Xu, R.; Chen, Y. Fed-DDM: A Federated Ledgers based Framework for Hierarchical Decentralized Data Marketplaces. arXiv 2021, arXiv:2104.05583. [Google Scholar]
- Xu, R.; Zhai, Z.; Chen, Y.; Lum, J.K. BIT: A blockchain integrated time banking system for community exchange economy. In Proceedings of the 2020 IEEE International Smart Cities Conference (ISC2), Piscataway, NJ, USA, 28 September–1 October 2020; pp. 1–8. [Google Scholar]
- Xu, R.; Chen, Y.; Blasch, E.; Chen, G. Exploration of blockchain-enabled decentralized capability-based access control strategy for space situation awareness. Opt. Eng. 2019, 58, 041609. [Google Scholar] [CrossRef] [Green Version]
- Xu, R.; Chen, Y.; Blasch, E.; Chen, G. Blendcac: A blockchain-enabled decentralized capability-based access control for iots. In Proceedings of the 2018 IEEE International Conference on Internet of Things (iThings) and IEEE Green Computing and Communications (GreenCom) and IEEE Cyber, Physical and Social Computing (CPSCom) and IEEE Smart Data (SmartData), Halifax, NS, Canada, 30 July–3 August 2018; pp. 1027–1034. [Google Scholar]
- Xu, R.; Chen, Y.; Blasch, E.; Chen, G. Blendcac: A smart contract enabled decentralized capability-based access control mechanism for the iot. Computers 2018, 7, 39. [Google Scholar] [CrossRef] [Green Version]
- Barricelli, B.R.; Casiraghi, E.; Fogli, D. A survey on digital twin: Definitions, characteristics, applications, and design implications. IEEE Access 2019, 7, 167653–167671. [Google Scholar] [CrossRef]
- Blasch, E.; Ravela, S.; Aved, A. Handbook of Dynamic Data Driven Applications Systems; Springer, 2018; Available online: https://link.springer.com/book/10.1007/978-3-319-95504-9#about (accessed on 15 November 2021).
- Yaqoob, I.; Salah, K.; Uddin, M.; Jayaraman, R.; Omar, M.; Imran, M. Blockchain for digital twins: Recent advances and future research challenges. IEEE Netw. 2020, 34, 290–298. [Google Scholar] [CrossRef]
- Xu, R.; Chen, Y.; Blasch, E. Microchain: A Light Hierarchical Consensus Protocol for IoT System. In Blockchain Applications in IoT: Principles and Practices; 2021; Available online: https://link.springer.com/chapter/10.1007/978-3-030-65691-1_9 (accessed on 15 November 2021).
- Castro, M.; Liskov, B. Practical Byzantine fault tolerance. OSDI 1999, 99, 173–186. [Google Scholar]
- Alsabah, H.; Capponi, A. Pitfalls of Bitcoin’s Proof-of-Work: R&D Arms Race and Mining Centralization. SSRN 3273982. 2020. Available online: https://papers.ssrn.com/sol3/papers.cfm?abstract_id=3273982 (accessed on 15 November 2021).
- Nakamoto, S. Bitcoin: A Peer-to-Peer Electronic Cash System; Technical Report; Manubot, 2019; Available online: https://bitcoin.org/bitcoin.pdf (accessed on 15 November 2021).
- Wang, W.; Hoang, D.T.; Hu, P.; Xiong, Z.; Niyato, D.; Wang, P.; Wen, Y.; Kim, D.I. A survey on consensus mechanisms and mining strategy management in blockchain networks. IEEE Access 2019, 7, 22328–22370. [Google Scholar] [CrossRef]
- King, S.; Nadal, S. Ppcoin: Peer-to-peer crypto-currency with proof-of-stake. Self-Publ. Pap. August 2012, 19. Available online: https://decred.org/research/king2012.pdf (accessed on 15 November 2021).
- Grieves, M. Digital twin: Manufacturing excellence through virtual factory replication. White Pap. 2014, 1, 1–7. [Google Scholar]
- Erkoyuncu, J.A.; Butala, P.; Roy, R. Digital twins: Understanding the added value of integrated models for through-life engineering services. Procedia Manuf. 2018, 16, 139–146. [Google Scholar]
- Van Schalkwyk, P. The Ultimate Guide to Digital Twins. 2019. Available online: https://xmpro.com/digital-twins-the-ultimate-guide// (accessed on 15 November 2021).
- Khan, L.U.; Saad, W.; Niyato, D.; Han, Z.; Hong, C.S. Digital-Twin-Enabled 6G: Vision, Architectural Trends, and Future Directions. arXiv 2021, arXiv:2102.12169. [Google Scholar]
- Blasch, E.; Lambert, D.A. High-Level Information Fusion Management and Systems Design; Artech House, 2012; Available online: http://www.cs.utah.edu/~tch/notes/BRECCIA/refs/BOOK12_High-Level%20Information%20Fusion%20Management%20and%20Systems%20Design_BLASCH.pdf (accessed on 15 November 2021).
- Bilberg, A.; Malik, A.A. Digital twin driven human–robot collaborative assembly. CIRP Ann. 2019, 68, 499–502. [Google Scholar] [CrossRef]
- Sun, X.; Bao, J.; Li, J.; Zhang, Y.; Liu, S.; Zhou, B. A digital twin-driven approach for the assembly-commissioning of high precision products. Robot. Comput.-Integr. Manuf. 2020, 61, 101839. [Google Scholar] [CrossRef]
- Karadeniz, A.M.; Arif, İ.; Kanak, A.; Ergün, S. Digital twin of egastronomic things: A case study for ice cream machines. In Proceedings of the 2019 IEEE International Symposium on Circuits and Systems (ISCAS), Sapporo, Japan, 26–29 May 2019; pp. 1–4. [Google Scholar]
- Rassõlkin, A.; Vaimann, T.; Kallaste, A.; Kuts, V. Digital twin for propulsion drive of autonomous electric vehicle. In Proceedings of the 2019 IEEE 60th International Scientific Conference on Power and Electrical Engineering of Riga Technical University (RTUCON), Riga, Latvia, 7–9 October 2019; pp. 1–4. [Google Scholar]
- Chen, X.; Kang, E.; Shiraishi, S.; Preciado, V.M.; Jiang, Z. Digital behavioral twins for safe connected cars. In Proceedings of the 21th ACM/IEEE International Conference on Model Driven Engineering Languages and Systems, Copenhagen, Denmark, 14–19 October 2018; pp. 144–153. [Google Scholar]
- Kapteyn, M.G.; Knezevic, D.J.; Willcox, K. Toward predictive digital twins via component-based reduced-order models and interpretable machine learning. In Proceedings of the AIAA Scitech 2020 Forum, Orlando, FL, USA, 6–10 January 2020; p. 0418. Available online: https://arc.aiaa.org/doi/10.2514/6.2020-0418 (accessed on 15 November 2021).
- Pargmann, H.; Euhausen, D.; Faber, R. Intelligent big data processing for wind farm monitoring and analysis based on cloud-technologies and digital twins: A quantitative approach. In Proceedings of the 2018 IEEE 3rd International Conference on Cloud Computing and Big Data Analysis (ICCCBDA), Chengdu, China, 20–22 April 2018; pp. 233–237. [Google Scholar]
- El Saddik, A. Digital twins: The convergence of multimedia technologies. IEEE Multimed. 2018, 25, 87–92. [Google Scholar] [CrossRef]
- Liu, Y.; Zhang, L.; Yang, Y.; Zhou, L.; Ren, L.; Wang, F.; Liu, R.; Pang, Z.; Deen, M.J. A novel cloud-based framework for the elderly healthcare services using digital twin. IEEE Access 2019, 7, 49088–49101. [Google Scholar] [CrossRef]
- Laaki, H.; Miche, Y.; Tammi, K. Prototyping a digital twin for real time remote control over mobile networks: Application of remote surgery. IEEE Access 2019, 7, 20325–20336. [Google Scholar] [CrossRef]
- Saad, W.; Bennis, M.; Chen, M. A vision of 6G wireless systems: Applications, trends, technologies, and open research problems. IEEE Netw. 2019, 34, 134–142. [Google Scholar] [CrossRef] [Green Version]
- Nguyen, H.X.; Trestian, R.; To, D.; Tatipamula, M. Digital twin for 5G and beyond. IEEE Commun. Mag. 2021, 59, 10–15. [Google Scholar] [CrossRef]
- Suhail, S.; Hussain, R.; Jurdak, R.; Oracevic, A.; Salah, K.; Hong, C.S. Blockchain-based Digital Twins: Research Trends, Issues, and Future Challenges. arXiv 2021, arXiv:2103.11585. [Google Scholar]
- Hassani, H. Singular Spectrum Analysis: Methodology and Comparison; 2007; Available online: https://mpra.ub.uni-muenchen.de/4991/ (accessed on 15 November 2021).
- Dong, Q.; Yang, Z.; Chen, Y.; Li, X.; Zeng, K. Anomaly detection in cognitive radio networks exploiting singular spectrum analysis. In International Conference on Mathematical Methods, Models, and Architectures for Computer Network Security; Springer: New York, NY, USA, 2017; pp. 247–259. [Google Scholar]
- Xu, R.; Chen, Y.; Blasch, E.; Chen, G. A federated capability-based access control mechanism for internet of things (iots). In Sensors and Systems for Space Applications XI; International Society for Optics and Photonics: Bellingham, WA, USA, 2018; Volume 10641, p. 106410U. [Google Scholar]
- Polunchenko, A.S.; Sokolov, G.; Du, W. Quickest change-point detection: A bird’s eye view. arXiv 2013, arXiv:1310.3285. [Google Scholar]
- Yang, Z.; Chen, N.; Chen, Y.; Zhou, N. A novel PMU fog based early anomaly detection for an efficient wide area PMU network. In Proceedings of the 2018 IEEE 2nd International Conference on Fog and Edge Computing (ICFEC), Washington, DC, USA, 1–3 May 2018; pp. 1–10. [Google Scholar]
- Moskvina, V.; Zhigljavsky, A. An algorithm based on singular spectrum analysis for change-point detection. Commun. Stat.-Simul. Comput. 2003, 32, 319–352. [Google Scholar] [CrossRef]
- Hoecker, A.; Kartvelishvili, V. SVD approach to data unfolding. Nucl. Instruments Methods Phys. Res. Sect. A Accel. Spectrometers Detect. Assoc. Equip. 1996, 372, 469–481. [Google Scholar] [CrossRef] [Green Version]
- Moskvina, V.; Zhigljavsky, A. Application of the Singular Spectrum Analysis for Change-Point Detection in Time Series. Ph.D. Thesis, Cardiff University, Cardiff, UK, 2001. [Google Scholar]
- Nagothu, D.; Xu, R.; Chen, Y.; Blasch, E.; Aved, A. DeFake: Decentralized ENF-Consensus Based DeepFake Detection in Video Conferencing. In Proceedings of the IEEE 23rd International Workshop on Multimedia Signal Processing, Tampere, Finland, 6–8 October 2021. [Google Scholar]
- Xu, R.; Nagothu, D.; Chen, Y. EconLedger: A Proof-of-ENF Consensus Based Lightweight Distributed Ledger for IoVT Networks. Future Internet 2021, 13, 248. [Google Scholar] [CrossRef]
- Merkel, D. Docker: Lightweight linux containers for consistent development and deployment. Linux J. 2014, 2014, 2. [Google Scholar]
- Golyandina, N.; Nekrutkin, V.; Zhigljavsky, A.A. Analysis of Time Series Structure: SSA and Related Techniques; CRC Press: Boca Raton, FL, USA, 2001. [Google Scholar]
- Xu, R.; Nikouei, S.Y.; Nagothu, D.; Fitwi, A.; Chen, Y. BlendSPS: A BLockchain-ENabled Decentralized Smart Public Safety System. Smart Cities 2020, 3, 928–951. [Google Scholar] [CrossRef]
Symbol | Descriptions | Symbol | Descriptions |
---|---|---|---|
parameter vector of miner | parameter vector of twin | ||
cpu usage | gpu usage | ||
memory usage | I/O bandwidth | ||
target time series | X | trajectory matrix | |
N | target series length | L | SSA window length |
lagged vectors | K | numbers of lagged vectors | |
eigenvalues | U | left singular matrix | |
V | right singular matrix | I | subset indices |
reconstructed matrix | reconstructed time series | ||
test matrix | vectors of test matrix | ||
p | starting point of test matrix | q | ending point of test matrix |
Q | window length of test matrix | sum of the squared distances | |
normalized sum | CUSUM of squared distances | ||
estimator | constant of | ||
h | threshold for | quantile of the standard normal distribution | |
mining network | miners | ||
dishonest miners | f | fraction of dishonest | |
behavior vector | G | global view of | |
benchmark of | consensus score | ||
ground truth of | d | POB window length |
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations. |
© 2021 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 (https://creativecommons.org/licenses/by/4.0/).
Share and Cite
Qu, Q.; Xu, R.; Chen, Y.; Blasch, E.; Aved, A. Enable Fair Proof-of-Work (PoW) Consensus for Blockchains in IoT by Miner Twins (MinT). Future Internet 2021, 13, 291. https://doi.org/10.3390/fi13110291
Qu Q, Xu R, Chen Y, Blasch E, Aved A. Enable Fair Proof-of-Work (PoW) Consensus for Blockchains in IoT by Miner Twins (MinT). Future Internet. 2021; 13(11):291. https://doi.org/10.3390/fi13110291
Chicago/Turabian StyleQu, Qian, Ronghua Xu, Yu Chen, Erik Blasch, and Alexander Aved. 2021. "Enable Fair Proof-of-Work (PoW) Consensus for Blockchains in IoT by Miner Twins (MinT)" Future Internet 13, no. 11: 291. https://doi.org/10.3390/fi13110291
APA StyleQu, Q., Xu, R., Chen, Y., Blasch, E., & Aved, A. (2021). Enable Fair Proof-of-Work (PoW) Consensus for Blockchains in IoT by Miner Twins (MinT). Future Internet, 13(11), 291. https://doi.org/10.3390/fi13110291