计算机科学 ›› 2024, Vol. 51 ›› Issue (2): 300-310.doi: 10.11896/jsjkx.230600128
赵晓焱1,2, 赵斌1, 张俊娜1,2, 袁培燕1
ZHAO Xiaoyan1,2, ZHAO Bin1, ZHANG Junna1,2, YUAN Peiyan1
摘要: 边缘网络中不断出现的计算密集和延迟敏感型业务推动了任务迁移技术的快速发展。然而,任务迁移过程中存在应用场景复杂多变、问题建模难度高等技术瓶颈。尤其是考虑用户移动时,如何保证用户服务的稳定性和连续性,设计合理的任务迁移策略仍是一个值得深入探讨的问题。因此,提出了一种移动感知的服务预缓存模型和任务预迁移策略,将任务迁移问题转化为最优分簇与边缘服务预缓存的组合优化问题。首先,基于用户的移动轨迹对当前执行任务状态进行预测,引入动态协作簇和迁移预测半径的概念,提出了一种面向移动和负载两种任务场景的预迁移模型,解决了何时何地迁移的问题。然后,针对需要迁移的任务,基于最大容忍时延约束分析协作簇半径和簇内目标服务器数量的极限值,提出了以用户为中心的分布式多服务器间动态协作分簇算法(Distributed Dynamic Multi-server Cooperative Clustering Algorithm,DDMC)以及面向服务缓存的深度强化学习算法(Cache Based Double Deep Q Network,C-DDQN),解决了最优分簇和服务缓存问题。最后,利用服务缓存的因果关系,设计了一种低复杂度的交替最小化服务缓存位置更新算法,求解出了最佳迁移目标服务器集合,实现了任务迁移中的服务器协作及网络负载均衡。实验结果表明,提出的迁移选择算法具有良好的鲁棒性和系统性能,相比其他迁移算法所消耗的总成本降低了至少12.06%,所消耗的总时延降低了至少31.92%。
中图分类号:
[1]ZHANG J,HU X,NING Z,et al.Joint resource allocation for latency-sensitive services over mobile edge computing networks with caching [J].IEEE Internet of Things Journal,2018,6(3):4283-4294. [2]MIAO Y,WU G,LI M,et al.Intelligent task prediction andcomputation offloading based on mobile-edge cloud computing [J].Future Generation Computer Systems,2020,102:925-931. [3]ZHANG N,GUO S,DONG Y,et al.Joint task offloading and data caching in mobile edge computing networks [J].Computer Networks,2020,182:107446. [4]PENG K,NIE J,KUMAR N,et al.Joint optimization of service chain caching and task offloading in mobile edge computing [J].Applied Soft Computing,2021,103:107142. [5]LI C,ZHANG Y,GAO X,et al.Energy-latency tradeoffs for edge caching and dynamic service migration based on DQN in mobile edge computing [J].Journal of Parallel and Distributed Computing,2022,166:15-31. [6]TANG F,LIU C,LI K,et al.Task migration optimization forguaranteeing delay deadline with mobility consideration in mobile edge computing [J].Journal of Systems Architecture,2020,112(8):101849. [7]LI C,ZHU L,LI W,et al.Joint edge caching and dynamic service migration in SDN based mobile edge computing [J].Journal of Network and Computer Applications,2021,177:102966. [8]OUYANG T,ZHOU Z,CHEN X.Follow me at the edge:Mo-bility-aware dynamic service placement for mobile edge computing [J].IEEE Journal on Selected Areas in Communications,2018,36(10):2333-2345. [9]GE S,CHENG M,HE X,et al.A two-stage service migration algorithm in parked vehicle edge computing for internet of things [J].Sensors,2020,20(10):2786. [10]YIN L,LI P,LUO J.Smart contract service migration mechanism based on container in edge computing [J].Journal of Pa-rallel and Distributed Computing,2021,152:157-166. [11]WANG S,URGAONKAR R,ZAFER M,et al.Dynamic service migration in mobile edge computing based on Markov decision process [J].IEEE/ACM Transactions on Networking,2019,27(3):1272-1288. [12]BI S,HUANG L,ZHANG Y J A.Joint optimization of service caching placement and computation offloading in mobile edge computing systems [J].IEEE Transactions on Wireless Communications,2020,19(7):4947-4963. [13]XIE Q,WANG Q,YU N,et al.Dynamic service caching in mobile edge networks[C]//2018 IEEE 15th International Confe-rence on Mobile Ad Hoc and Sensor Systems(MASS).IEEE,2018:73-79. [14]ZHAO T,HOU I H,WANG S,et al.Red/led:An asymptotically optimal and scalable online algorithm for service caching at the edge [J].IEEE Journal on Selected Areas in Communications,2018,36(8):1857-1870. [15]CHEN L,XU J,REN S,et al.Spatio-temporal edge service placement:A bandit learning approach [J].IEEE Transactions on Wireless Communications,2018,17(12):8388-8401. [16]ZHANG T,FAN H,LOO J,et al.User preference aware caching deployment for device-to-device caching networks [J].IEEE Systems Journal,2017,13(1):226-237. [17]PENG T,WANG H,LIANG C,et al.Value-aware cache re-placement in edge networks for Internet of Things [J].Transactions on Emerging Telecommunications Technologies,2021,32(9):e4261. [18]ZHANG W,WU D,YANG W,et al.Caching on the move:A user interest-driven caching strategy for D2D content sharing [J].IEEE Transactions on Vehicular Technology,2019,68(3):2958-2971. [19]NAIR V,HINTON G E.Rectified linear units improve restric-ted boltzmann machines[C]//Proceedings of the 27th international conference on machine learning(ICML-10).2010:807-814. [20]TALEB T,KSENTINI A,FRANGOUDIS P A.Follow-mecloud:When cloud services follow mobile users[J].IEEE Transactions on Cloud Computing,2016,7(2):369-382. [21]MICHAEL M M,SCOTT M L.Nonblocking algorithms andpreemption-safe locking on multiprogrammed shared memory multiprocessors[J].Journal of parallel and distributed computing,1998,51(1):1-26. [22]MEIZHEN W,YANLEI S,YUE T.The design and implementation of LRU-based web cache[C]//2013 8th International Conference on Communications and Networking in China(CHINACOM).IEEE,2013:400-404. [23]SOKOLINSKY L B.LFU-K:An effective buffer managementreplacement algorithm[C]//Database Systems for Advanced Applications:9th International Conference(DASFAA 2004).Berlin Heidelberg:Springer,2004:670-681. [24]CAO P,IRANI S.Cost-aware www proxy caching algorithms[C]//Usenix Symposium on Internet Technologies and Systems.1997:193-206. [25]MNIH V,KAVUKCUOGLU K,SILVER D,et al.Human-level control through deep reinforcement learning [J].Nature,2015,518(7540):529-533. [26]LI C,SONG M,ZHANG M,et al.Effective replica management for improving reliability and availability in edge-cloud computing environment [J].Journal of Parallel and Distributed Computing,2020,143:107-128. [27]LI C,CAI Q,LOU Y.Optimal data placement strategy considering capacity limitation and load balancing in geographically distributed cloud [J].Future Generation Computer Systems,2022,127:142-159. |
|