Dynamic Task Migration Combining Energy Efficiency and Load Balancing Optimization in Three-Tier UAV-Enabled Mobile Edge Computing System
Abstract
:1. Introduction
- This paper combines dynamic edge servers (i.e., UAVs) with a static edge server (a BS) for the first time and establishes a three-layer MEC system consisting of SMDs, a UAV group, and a BS. Meanwhile, the communication model, delay model, and energy consumption model based on the MEC system are established.
- We designed the ABVI algorithm combining the PC algorithm, which can reduce the total number of value iterations, improve the efficiency of obtaining the optimal migration strategy, and further ensure the service quality of users.
- We establish the MDPUR model, in which the return function r is very innovative and dynamically adjusted according to the load state and residual energy state of the UAVs, which makes the ABVI algorithm very robust. In addition, each UAV in the MDPUR model is equivalent to a node on the migration path, and the state of the node is defined as dynamically changing, which is more in line with the UAV-enabled MEC scene. Meanwhile, the validity of the ABVI algorithm and its feasibility in actual scenes are proved.
- In the process of solving the optimal task migration strategy, we consider advantage vector. In a given initial state, each migration action will change the state of the UAVs. At the same time, in the iteration process of the ABVI algorithm, we will classify the value function vectors, which is beneficial to improve the accuracy of solving the optimal migration strategy. In particular, we are not limited to a single target node, but solve multiple migration strategies through the ABVI algorithm, which greatly enhanced the reliability of task migration.
2. Related Work
3. System Model
3.1. Overall Architecture
3.2. Communication Model
3.3. Delay Model
3.4. Energy Consumption Model
3.5. Problem Formulation
- Reduce the energy consumption of UAVs. Since the power of UAVs is limited, it is particularly important to reduce the energy consumption of UAVs. In the previous mathematical model, we have learned that the energy consumption of UAVs is mainly related to the three aspects of flight energy consumption, computing energy consumption, and migration energy consumption. Since the flying range of UAVs is fixed, we mainly extend the stagnation time of UAVs by reducing the computational energy consumption and migration energy consumption, to avoid some UAVs from leaving the UAV group early due to excessive energy consumption.
- Achieve the load balancing of the UAV group. When the MEC system needs to migrate SMD offload tasks, in addition to the migration energy consumption, we also need to pay close attention to the load status of each UAV in the UAV group. If load of a certain UAV is too high, we will not use it as an “endpoint edge server” to provide services to SMDs, so the MEC system will choose a UAV with a lower load to provide services to SMDs. In the end, we can make full use of the computing resources of the UAV group and achieve load balancing for the entire UAV group.
- Improve the service quality of the users. In addition to the above two points, user service quality cannot be ignored. In the process of dynamically migrating tasks offloaded by SMDs, it is inevitable that “service interruption” will occur. We believe that the shorter the service interruption time, the higher the service quality of the users. In this model, we will set a threshold. If the time required for task migration is higher than the threshold, we will not adopt this migration strategy and choose another migration strategy to complete the dynamic migration of tasks for SMDs until the migration time is less than the threshold, so as to ensure service quality of the users.
4. Dynamic Task Migration Strategy
4.1. Markov Decision Processes with Unknown Rewards (MDPUR)
- Consider the dominance vector. In the process of solving the optimal migration strategy, we considered the dominance vector. In a given initial state, each action will change the state of the UAVs. And we will classify the result of value iteration. The advantage of this is that it can improve the accuracy of solving the optimal task migration strategy.
- Improve the traditional value iteration method. The previous value iteration solution is too complicated, which will lead to high complexity of the algorithm, so we have improved on the traditional value iteration method. After each value iteration is completed, we will calculate the probability of each vector value function in the dominant vector set as the parent vector, and then select the two groups with the highest probability as the parent and perform the cross operation, and finally calculate the new descendant value function. If the result is better than all the previously calculated value functions, then use it to replace the optimal solution of the current iteration. Otherwise, give up the processing of the offspring. We call the above-mentioned value iteration method “parent crossover algorithm”, which can reduce the total number of MDPUR median iterations and increase the running speed of the MDPUR algorithm in the MEC system.
- Set dynamic UAV status. In the MDPUR algorithm, each UAV is equivalent to a node on the migration path. We define the state of the node as dynamically changing, which is more in line with the UAV-enabled MEC scenario and proves the feasibility of the algorithm. In the end, it is beneficial to apply the algorithm to real life.
4.2. Mathematical Model of the MDPUR Algorithm
4.2.1. State Space Set, Action Set, State Transition Probability
4.2.2. Reward Function
4.2.3. Value Function
4.3. Markov Decision Processes with Unknown Rewards (MDPUR) Algorithm
4.3.1. Advantage-Based Value Iteration (ABVI) Algorithm
Algorithm 1 The proposed ABVI algorithm |
Input: Output:
|
4.3.2. Parent Crossover (PC) Algorithm
Algorithm 2 The proposed PC algorithm |
Input: Output:
|
5. Experimental Results and Discussion
5.1. Setting of Experimental Parameters
5.2. Analysis of the Total Energy Consumption of the UAV Group
5.3. Analysis of Task Migration Time
5.4. Analysis of the Load Status of the UAV Group
5.5. Analysis of the Flight Time of the UAV Group
6. Conclusions
Author Contributions
Funding
Conflicts of Interest
Abbreviations
MEC | mobile edge computing |
SMD | smart mobile device |
UAV | unmanned aerial vehicle |
BS | base station |
MDP | Markov decision process |
MDPUR | Markov decision process with unknown rewards |
ABVI | advantage-based value iteration |
PC | parent-generation crossover |
ACO | ant colony optimization |
TVI | traditional value iteration |
MDP-SD | distance-based MDP |
References
- Mao, Y.; You, C.; Zhang, J.; Huang, K.; Letaief, K.B. A Survey on Mobile Edge Computing: The Communication Perspective. IEEE Commun. Surv. Tutorials. 2017, 99, 2322–2358. [Google Scholar] [CrossRef] [Green Version]
- Tran, T.X.; Hajisami, A.; Pandey, P.; Pompili, D. Collaborative Mobile Edge Computing in 5G Networks: New Paradigms, Scenarios, and Challenges. IEEE Commun. Mag. 2017, 55, 54–61. [Google Scholar] [CrossRef] [Green Version]
- Wang, S.; Urgaonkar, R.; Zafer, M.; He, T.; Chan, K.; Leung, K.K. Dynamic Service Migration in Mobile Edge Computing Based on Markov Decision Process. IEEE ACM Trans. Netw. 2019, 27, 1272–1288. [Google Scholar] [CrossRef] [Green Version]
- Wang, S.; Zhao, Y.; Huang, L.; Xu, J.; Hsu, C. QoS prediction for service recommendations in mobile edge computing. J. Parallel Distrib. Comput. 2019, 127, 134–144. [Google Scholar] [CrossRef]
- Lim, J.B.; Lee, D.W. A Load Balancing Algorithm for Mobile Devices in Edge Cloud Computing Environments. Electronics 2020, 9, 686. [Google Scholar] [CrossRef]
- Farhan, L.; Shukur, S.T.; Alissa, A.E.; Alrweg, M.; Raza, U.; Kharel, R. A survey on the challenges and opportunities of the Internet of Things (IoT). In Proceedings of the 2017 Eleventh International Conference on Sensing Technology (ICST), IEEE, Sydney, NSW, Australia, 4–6 December 2017. [Google Scholar]
- Zeng, Y.; Zhang, R. Energy-Efficient UAV Communication With Trajectory Optimization. IEEE Trans. Wirel. Commun. 2017, 16, 3747–3760. [Google Scholar] [CrossRef] [Green Version]
- Zhan, P.; Yu, K.; Swindlehurst, A.L. Wireless Relay Communications with Unmanned Aerial Vehicles: Performance and Optimization. Aerosp. Electron. Syst. IEEE Trans. 2011, 47, 2068–2085. [Google Scholar] [CrossRef]
- Huang, S.; Lv, B.; Wang, R. MDP-Based Scheduling Design for Mobile-Edge Computing Systems with Random User Arrival. In Proceedings of the 2019 IEEE Global Communications Conference (GLOBECOM), Waikoloa, HI, USA, 9–13 Dececember 2019. [Google Scholar]
- Ridhawi, I.A.; Aloqaily, M.; Kotb, Y.; Ridhawi, Y.A.; Jararweh, Y. A collaborative mobile edge computing and user solution for service composition in 5G systems. Trans. Emerg. Telecommun. Technol. 2018, 29, e3446. [Google Scholar] [CrossRef]
- Ksentini, A.; Taleb, T.; Chen, M. A Markov Decision Process-based Service Migration Procedure for Follow Me Cloud. In Proceedings of the IEEE International Conference on Communications, IEEE, Sydney, Australia, 10–14 June 2014; pp. 1350–1354. [Google Scholar]
- Wang, S.; Urgaonkar, R.; He, T.; Zafer, M.; Chan, K.S.; Leung, K.K. Mobility-Induced Service Migration in Mobile Micro-Clouds. In Proceedings of the 2014 IEEE Military Communications Conference (MILCOM), Baltimore, MD, USA, 6–8 October 2014. [Google Scholar]
- Wang, S.; Urgaonkar, R.; He, T.; Zafer, M.; Chan, K.; Leung, K.K. Dynamic Service Placement for Mobile Micro-Clouds with Predicted Future Costs. In Proceedings of the 2015 IEEE International Conference on Communications (ICC), Baltimore, MD, USA, 6–8 October 2014. [Google Scholar]
- Ceselli, A.; Premoli, M.; Secci, S. Mobile Edge Cloud Network Design Optimization. IEEE ACM Trans. Netw. 2017, 1818–1831. [Google Scholar] [CrossRef] [Green Version]
- Liu, J.; Mao, Y.; Zhang, J.; Letaief, K.B. Delay-Optimal Computation Task Scheduling for Mobile-Edge Computing Systems. In Proceedings of the 2016 IEEE International Symposium on Information Theory (ISIT), IEEE, Barcelona, Spain, 10–15 July 2016. [Google Scholar]
- Liu, C.F.; Bennis, M.; Poor, H.V. Latency and Reliability-Aware Task Offloading and Resource Allocation for Mobile Edge Computing. In Proceedings of the 2017 IEEE Globecom Workshops, Singapore, 4–8 December 2017. [Google Scholar]
- Liu, L.; Chang, Z.; Guo, X.; Ristaniemi, T. Multi-objective optimization for computation offloading in mobile-edge computing. In Proceedings of the 2017 IEEE Symposium on Computers and Communications (ISCC), Heraklion, Greece, 3–6 July 2017; pp. 832–837. [Google Scholar]
- Ahmed, A.; Ahmed, E. A Survey on Mobile Edge Computing. In Proceedings of the International Conference on Intelligent Systems & Control, Coimbatore, India, 7–8 January 2016. [Google Scholar]
- Chen, G. Mobile Research: Benefits, Applications, and Outlooks. In Proceedings of the Internationalization, Design & Global Development-International Conference, Idgd, Held As. DBLP, Orlando, FL, USA, 9–14 July 2011. [Google Scholar]
- Zhang, W.; Chen, J.; Zhang, Y.; Raychaudhuri, D. Towards Efficient Edge Cloud Augmentation for Virtual Reality MMOGs. In Proceedings of the The Second ACM/IEEE Symposium on Edge Computing (SEC 2017), San Jose, CA, USA, 12–14 October 2017. [Google Scholar]
- Chen, L.; Li, H. An MDP-based vertical handoff decision algorithm for heterogeneous wireless networks. In Proceedings of the Wireless Communications & Networking Conference, Doha, Qatar, 3–6 April 2016. [Google Scholar]
- Xie, S.; Chu, X.; Zheng, M.; Liu, C. A composite learning method for multi-ship collision avoidance based on reinforcement learning and inverse control. Neurocomputing 2020, 411. [Google Scholar] [CrossRef]
- Weng, P.; Zanuttini, B. Interactive Value Iteration for Markov Decision Processes with Unknown Rewards. In Proceedings of the Twenty-Third International Joint Conference on Artificial Intelligence, Beijing, China, 3–9 August 2013. [Google Scholar]
- Tetenov, A. Statistical treatment choice based on asymmetric minimax regret criteria. J. Econom. 2012, 166, 157–165. [Google Scholar] [CrossRef] [Green Version]
- Ruszczyński, A. Risk-averse dynamic programming for Markov decision processes. Math. Program. 2010, 125, 235–261. [Google Scholar] [CrossRef]
- Regan, K.; Boutilier, C. Robust Policy Computation in Reward-Uncertain MDPs Using Nondominated Policies. In Proceedings of the Twenty-fourth Aaai Conference on Artificial Intelligence, DBLP, Atlanta, GA, USA, 11–15 July 2011. [Google Scholar]
- Kong, L.; Ye, L.; Wu, F.; Tao, M.; Chen, G.; Vasilakos, A.V. Autonomous Relay for Millimeter-Wave Wireless Communications. IEEE J. Sel. Areas Commun. 2017, 35, 2127–2136. [Google Scholar] [CrossRef]
- Sharma, V.; You, I.; Kumar, R. Energy Efficient Data Dissemination in Multi-UAV Coordinated Wireless Sensor Networks. Mob. Inf. Syst. 2016, 2016, 8475820. [Google Scholar] [CrossRef] [Green Version]
- Gu, J.; Su, T.; Wang, Q.; Du, X.; Guizani, M. Multiple Moving Targets Surveillance Based on a Cooperative Network for Multi-UAV. IEEE Commun. Mag. 2018, 56, 82–89. [Google Scholar] [CrossRef]
- Guo, S.; Jiang, Q.; Dong, Y.; Wang, Q. TaskAlloc: Online Tasks Allocation for Offloading in Energy Harvesting Mobile Edge Computing. In Proceedings of the 2019 IEEE Intl Conf on Parallel & Distributed Processing with Applications, Big Data & Cloud Computing, Sustainable Computing & Communications, Social Computing & Networking (ISPA/BDCloud/SocialCom/SustainCom), Xiamen, China, 16–18 December 2019. [Google Scholar]
- Chen, X.; Jiao, L.; Li, W.; Fu, X. Efficient Multi-User Computation Offloading for Mobile-Edge Cloud Computing. IEEE ACM Trans. Netw. 2016, 2, 2795–2808. [Google Scholar] [CrossRef] [Green Version]
- Liu, T.; Zhu, Y.; Yang, Y.; Ye, F. Online task dispatching and pricing for quality-of-service-aware sensing data collection for mobile edge clouds. CCF Trans. Netw. 2019, 2, 28–42. [Google Scholar] [CrossRef]
- Jeong, S.; Simeone, O.; Kang, J. Mobile Edge Computing via a UAV-Mounted Cloudlet: Optimization of Bit Allocation and Path Planning. IEEE Trans. Veh. Technol. 2018, 3, 2049–2063. [Google Scholar] [CrossRef] [Green Version]
- Diao, X.; Zheng, J.; Wu, Y.; Cai, Y. Joint Trajectory Design, Task Data, and Computing Resource Allocations for NOMA-Based and UAV-Assisted Mobile Edge Computing. IEEE Access 2019. [Google Scholar] [CrossRef]
- Wang, L.; Huang, P.; Wang, K.; Zhang, G.; Zhang, L.; Aslam, N.; Yang, K. RL-Based User Association and Resource Allocation for Multi-UAV enabled MEC. In Proceedings of the 2019 15th International Wireless Communications and Mobile Computing Conference (IWCMC), IEEE, Tangier, Morocco, 24–28 June 2019. [Google Scholar]
- Durga, S.; Mohan, S.; Peter, J.D.; Surya, S. Context-aware adaptive resource provisioning for mobile clients in intra-cloud environment. Clust. Comput. 2019, 22, 9915–9928. [Google Scholar] [CrossRef]
Symbols | Definition |
---|---|
The set of SMDs | |
The set of UAVs | |
The set of time slots | |
The geographic location of the SMD i at time slot t | |
The geographic location of UAV j at time slot t | |
The geographic location of the base station in the current area of the system | |
The maximum service range of UAV j at time slot t | |
The flying height of UAV j at time slot t | |
The task offloaded from SMD i to the UAV group at | |
The total number of CPU cycles required by the computing task offloaded by SMD i | |
The size of tasks offloaded from SMD i to the UAV group | |
The maximum deadline for completing the migration of task offloaded by SMD i | |
The channel gains of SMD i and UAV j in time slot t | |
The distance between SMD i and UAV j in time slot t | |
The uplink transmission power of SMD i to offload tasks to UAV j in time slot t | |
The transmission power of SMD i offload task to UAV j in time slot t | |
The channel gain between UAV j and the BS in time slot t | |
The distance between SMD j and BS in time slot t | |
The transmission rate of UAV j transfer the task to the BS at time slot t | |
The transmission power of UAV j transfer the task to the BS at time slot t | |
The computing resources allocated to SMD i by UAV j | |
The time required by UAV j to process task | |
The time for UAV j to migrate task | |
The length of the task queue of UAV j at time slot t | |
The computed energy consumption of UAV j in time slot t | |
The energy consumption of UAV j migrate tasks to other UAVs or the BS in time slot t | |
The total energy consumption of UAV j in time slot t |
Parameters | Value |
---|---|
The number of UAV | |
The number of SMD | |
The bandwidth of the network | MHz |
The angle between UAVs’ directional antenna and vertical | |
The initial height of the UAVs | 50 m |
The maximum flying height of UAVs | m |
The maximum transmission power of SMDs | W |
The maximum transmission power of UAVs | W |
The noise power of SMDs | W |
The noise power of UAVs | W |
The maximum CPU cycle frequency of UAVs | GHz |
The maximum memory of UAVs | 10 T |
The density of UAV processing tasks | cycles/bit |
The UAV weight | kg |
The air density | = 1.313 kg/m |
The range of wind speed | [2.5 m/s, 7.1 m/s] |
The acceleration of gravity | g = 9.8 m/s |
The UAV propeller rotations per second | |
The maximum speed of UAV | = 13 m/s |
The maximum acceleration of UAV | = 7.5 m/s |
The CPU effective capacitance switch of UAV |
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations. |
© 2021 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (http://creativecommons.org/licenses/by/4.0/).
Share and Cite
Ouyang, W.; Chen, Z.; Wu, J.; Yu, G.; Zhang, H. Dynamic Task Migration Combining Energy Efficiency and Load Balancing Optimization in Three-Tier UAV-Enabled Mobile Edge Computing System. Electronics 2021, 10, 190. https://doi.org/10.3390/electronics10020190
Ouyang W, Chen Z, Wu J, Yu G, Zhang H. Dynamic Task Migration Combining Energy Efficiency and Load Balancing Optimization in Three-Tier UAV-Enabled Mobile Edge Computing System. Electronics. 2021; 10(2):190. https://doi.org/10.3390/electronics10020190
Chicago/Turabian StyleOuyang, Wu, Zhigang Chen, Jia Wu, Genghua Yu, and Heng Zhang. 2021. "Dynamic Task Migration Combining Energy Efficiency and Load Balancing Optimization in Three-Tier UAV-Enabled Mobile Edge Computing System" Electronics 10, no. 2: 190. https://doi.org/10.3390/electronics10020190
APA StyleOuyang, W., Chen, Z., Wu, J., Yu, G., & Zhang, H. (2021). Dynamic Task Migration Combining Energy Efficiency and Load Balancing Optimization in Three-Tier UAV-Enabled Mobile Edge Computing System. Electronics, 10(2), 190. https://doi.org/10.3390/electronics10020190