Author Login Editor-in-Chief Peer Review Editor Work Office Work

Computer Engineering ›› 2022, Vol. 48 ›› Issue (12): 156-164. doi: 10.19678/j.issn.1000-3428.0063739

• Mobile Internet and Communication Technology • Previous Articles     Next Articles

Edge-Cloud Collaborative Task Offloading Mechanism Based on DDQN in Vehicular Networks

YU Jing1, LU Lingyun2, LI Xiang1   

  1. 1. School of Computer and Information Technology, Beijing Jiaotong University, Beijing 100044, China;
    2. School of Software Engineering, Beijing Jiaotong University, Beijing 100044, China
  • Received:2022-01-11 Revised:2022-02-14 Published:2022-07-18

车联网中基于DDQN的边云协作任务卸载机制

于晶1, 鲁凌云2, 李翔1   

  1. 1. 北京交通大学 计算机与信息技术学院, 北京 100044;
    2. 北京交通大学 软件学院, 北京 100044
  • 作者简介:于晶(1997—),女,硕士研究生,主研方向为移动边缘计算;鲁凌云,教授、博士;李翔,博士研究生。
  • 基金资助:
    国家自然科学基金面上项目(61771002);赛尔网络新一代IPv6创新项目(NGII20170636);中央高校基本科研业务费专项资金(2021CZ102)。

Abstract: Computation offloading is a promising scheme to alleviate the shortage of vehicle resources facing the explosive growth trend of data computation.Compared with studying cloud computing or edge computing separately, integrating with each other can realize the complementary advantages and improve the overall quality of service.In vehicular networks, a primary challenge is to make offloading decisions, which can adapt to the dynamic environment.During this process, the urgency of tasks cannot be ignored.This paper constructs a collaborative edge-cloud task offloading architecture based on Software Defined Network (SDN), where the metrics of task priority is given.The task offloading problem is then formulated as a Markov Decision Process (MDP), which aims to maximize the utility composed of delay and cost.To solve task offloading decisions, this paper puts forward a task offloading decision algorithm based on Double Deep Q Network(DDQN)and a priority-based resource allocation scheme successively.On this basis, this paper designs a method of computing offloading ratio, which aims to minimize the task processing delay while ensuring that the part of tasks can be uploaded completely within the communication time.Simulation results show that the performance of delay and utility of the proposed algorithm is more than doubled compared to other fixed offloading algorithms such as All Local, All Offloading and Allocating Resources Evenly.Under the condition of moderate numbers of vehicles, the success rate of tasks can be maintained at 100%.

Key words: vehicular networks, edge-cloud collaboration, task offloading, Deep Reinforcement Learning(DRL), priority, resource allocation

摘要: 面对车载终端数据计算量的爆炸式增长,计算卸载是缓解车辆资源不足的有效手段。相比于单独研究云计算或边缘计算,让两者相互协作可以实现优势互补,提高系统的整体服务质量。在车联网中,制定适应环境动态性的卸载决策存在较大困难,其中任务的紧急程度也是一个不容忽视的因素。构建一个基于软件定义网络的边云协作任务卸载架构,并设计任务优先级的度量标准,将动态环境中的任务卸载决策问题建模为马尔可夫决策过程,从而最大化由时延和成本构成的任务平均效用。为了求解任务卸载决策,提出基于双深度Q网络的任务卸载决策算法以及基于优先级的资源分配方案,并设计一种卸载比例计算方法,以保障卸载的任务量能够在通信时间内上传完成的同时最小化任务处理时延。实验结果表明,相比于全部本地、全部卸载和平均分配资源3种固定的卸载算法,该算法时延和效用性能提高了2倍以上,在车辆数目适中的情况下,任务的完成比例可以稳定保持在100%。

关键词: 车联网, 边云协作, 任务卸载, 深度强化学习, 优先级, 资源分配

CLC Number: