Digital Twin-Assisted Intelligent Secure Task Offloading and Caching in Blockchain-Based Vehicular Edge Computing Networks
Chi Xu,Peifeng Zhang,Xiaofang Xia,Linghe Kong,Peng Zeng,Haibin Yu
DOI: https://doi.org/10.1109/jiot.2024.3482870
IF: 10.6
2024-01-01
IEEE Internet of Things Journal
Abstract:Blockchain-based vehicular edge computing (VEC) is regarded as a promising computing paradigm that can enhance the computing capabilities of mobile vehicles while ensuring security during task offloading. However, the blockchain consensus for secure task offloading inevitably increases the communication and computation resource consumption. More importantly, the frequent handover among roadside units during the fast movement of vehicles also raises the communication cost for blockchain consensus. To address these issues, this paper proposes intelligent secure task offloading and caching (ISTOC) scheme for VEC networks. Specifically, we first establish a digital twin-assisted VEC network that migrates the blockchain consensus process from the physical space to the cyber space, supporting the dynamic handover of vehicles. Correspondingly, we propose a lightweight blockchain scheme named diffused delegated Byzantine fault tolerance (d2BFT). Then, aiming at simultaneously reducing the task processing latency and improving the blockchain transaction throughput, we formulate the joint blockchain, communication, computation, and caching (B3C) optimization problem subject to task division, communication bandwidth, computing frequency, cache storage, task deadline, and blockchain stability. Due to the non-convexity of B3C, we transform it into a Markov decision process, and propose a multi-agent double actor-critic (MADAC) algorithm in light of the distributed characteristic of blockchain. Through offline training and online execution, we jointly optimize the task division, communication bandwidth, computing frequency and cache storage allocation, block size, and block generation interval for ISTOC. Experimental results show that the proposed MADAC-based ISTOC scheme can stably converge with a much higher reward than the benchmark schemes based on MADDPG, SAC, DDPG, and TD3. The improvement of MADAC-ISTOC over SAC-ISTOC is more than 25.93%.