I. Introduction
With the user terminals of 5G networks grows, more emerging smart devices and internet applications such as augmented reality (AR) /virtual reality (VR), cloud VR/AR, internet of vehicles, ultra-high definition video transmission and so on are being chosen by users [1]. But this will make the user terminals generate a large amount of task data. If the data is transferred to the cloud for processing, this will greatly increase the load of the cloud servers and the latency of users. Mobile edge computing (MEC), an emerging technology in 5G networks, is receiving attentions from more and more people, where servers are placed at the edge of the network and users can offload tasks to MEC servers for processing, thereby significantly reducing energy consumption and delay. For traditional terrestrial networks, placing MEC servers at the ground increases signal attenuation due to multipath effects and blocking caused by non-line-of-sight (NLoS) paths, which severely affects communication quality. Due to the high flexibility and easy deployment of the Unmanned Aerial Vehicle (UAV), UAV-assisted communication system has been widely noticed and studied. The MEC server is integrated with the UAV of the UAV-assisted MEC system, which can greatly reduce the energy consumption and latency of the system since the communication link established between the UAV and the ground user can be considered as a line-of-sight (LoS) path.