APP下载

边缘计算中动态服务器部署与任务卸载联合优化算法

2025-08-03白文超卢先领

计算机应用研究 2025年6期
关键词:时隙时延边缘

中图分类号:TP393 文献标志码:A 文章编号:1001-3695(2025)06-031-1830-08

doi: 10.19734/j. issn.1001-3695.2024.11.0462

Joint optimization algorithm for dynamic server deployment and task offloading in edge computing

BaiWenchao,Lu Xianling† (SchoolofInternetofThings,JiangnanUniversity,WuxiJiangsu214122,China)

Abstract:Inmobileedgecomputing,thefixedlocations of edgeserverdeploymentscanleadtoimbalancedresourceutilizationof edgeservers,resultinginincreasedlatencyandenergyconsumptionduringthetask ofloading process.Toaddressthis issue,thispaperproposedaierarchicalreiforcementlearing-basedjointoptimizationalgorithm.Firstly,itdecomposedthe problemofedge serverplacementand task ofloading and transformedthemintoabi-Markovdecision processThen,itconstructedaglobalintellgentagentmodelforhigher-leveledgeserverdeploymentusingthedeepQ-network,andaccelerated modelconvergencebyintroducingthe K-means algorithmtoprovide high-qualitysamplesforthehigher-layer policy.Itbuilta lower-layer multi-agentmodelfortaskofloadingusingthemulti-agentproximalpolicyoptimizationalgorithm,andimproved trainingstabilitybyintroducingstatenormalizationtoreducethestatesfeaturescalediferencesinthelower-layerpolicy.Finally,itachievedtheultimateoptimizationgoaltroughalternatingoptimizationofthehigher-layerandlower-layerpolicies. Simulationresults indicatethattheproposedalgorithmcanachieveoptimal serverdeploymentandtask ofloading strategies, comparedtorandomstrategiesandotherreinforcementlearningalgorithm,and itdemonstratesgreater benefitsintermsof model training efficiency,target rewards,and load balancing metrics.

Key words:edge computing;task ofloading;edge server deployment;hierarchical reinforcement learning

0 引言

随着5G和6G技术的高速发展,越来越多的计算密集型应用出现[1],如虚拟现实和面部识别等。然而,由于资源的限制,大多数移动终端用户很难处理这些计算密集型任务[2]。在这种情况下,移动边缘计算(mobileedgecomputing,MEC)将计算和存储资源带到移动网络的边缘,利用MEC可以使终端运行计算密集型和资源密集型的应用程序,从而减少任务处理延迟和能耗[3]。因此,用户可以将计算密集型任务卸载到附近的MEC服务器进行计算,也称为任务卸载,从而减轻繁重的计算工作量[4]。在MEC场景中,边缘服务器(edge server,ES)是一个至关重要的部分,位于网络边缘,靠近终端设备和数据源,负责处理数据和执行计算任务[5]。通常,ES与基站(basestation,BS)或无线接入点集成在一起,这样可以降低放置成本并提高可靠性。然而,由于建设成本和实际需求,不可能为每个BS配置一个ES。在包含数百或数千个BS的智能城市中,移动设备通过BS访问边缘服务器。由于通信网络规模庞大,低效的ES部署和不合理的任务卸载将导致长时间的传输延迟和ES工作负载的不平衡,造成边缘服务器资源利用不充分[6]。所以,合理部署ES和优化任务卸载策略,对提高MEC系统的整体性能以及提升用户体验和服务质量至关重要。关于ES部署与任务卸载的问题,大多数现有的工作都假设ES已经部署在BS或其他确定位置,通过设计任务卸载方案或计算资源分配方案,以优化处理延迟[7,8]能耗[9,10]用户体验[11]和系统成本[12]。而有些工作集中在确定任务处理方式下ES的部署问题。……

登录APP查看全文

猜你喜欢

时隙时延边缘
卫星通信网络拥塞控制算法的研究
车联网业务特性模型下卸载反馈策略的设计与评估
车联网业务特性模型下卸载反馈策略的设计与评估
海棠花开
基于5G网络的车联网系统架构与性能优化研究
图像自动增强与注意力机制深度学习的MIG焊缝跟踪系统
基于混合深度强化学习的云制造云边协同联合卸载策略
衰落信道下模糊神经网络的有限域 H∞ 调度状态估计
基于边缘计算的动态任务调度方法研究
奖励回溯DQN驱动的多QoS工业网络时隙调度方法