A Distributed Intelligent Service Trusted Provision Approach for IoT
Yuanyuan Qi, Sujie Shao, Shuang Wu, Xuesong Qiu, Song Guo, Shaoyong Guo · IEEE Internet of Things Journal · 2023
The traditional centralized resource scheduling method leads to trust issues among multiple subjects carrying microservices. At the same time, in the process of service provision, single-point failure problems also occur from time to time. In order to realize the trusted provision of services, we build a blockchain-based distributed intelligent service trusted provision architecture, which uses smart contracts to realize the on-chain registration of resource information and automatic orchestration of microservices. In order to break through the bottleneck of blockchain efficiency and improve scalability, we use sharding technology to expand the blockchain. And the Raft-practical Byzantine fault-tolerance two-level consensus mechanism combining the Boneh–Lynn–Sacham (BLS) threshold signature (B-RBFT) is designed for blockchain sharding, which greatly improves throughput and reduces consensus delay while taking security into account. To meet higher Quality-of-Service (QoS) requirements, we design the microservice orchestration algorithm based on the improved double deep$Q$network (DDQN) to support microservice deployment and migration. In particular, to make the neural network converge faster, we improve the traditional DDQN framework by using double replay buffers and weighted target values. Simulation results show that our proposed algorithm has advantages in convergence speed, resource usage cost, delay, and load balancing.