CN114500533B - Unmanned aerial vehicle auxiliary mobile edge computing system optimization method based on user cooperation - Google Patents

Unmanned aerial vehicle auxiliary mobile edge computing system optimization method based on user cooperation Download PDF

Info

Publication number
CN114500533B
CN114500533B CN202210054248.0A CN202210054248A CN114500533B CN 114500533 B CN114500533 B CN 114500533B CN 202210054248 A CN202210054248 A CN 202210054248A CN 114500533 B CN114500533 B CN 114500533B
Authority
CN
China
Prior art keywords
user
aerial vehicle
unmanned aerial
processed
time slot
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202210054248.0A
Other languages
Chinese (zh)
Other versions
CN114500533A (en
Inventor
徐鼎
徐大虎
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nanjing University of Posts and Telecommunications
Original Assignee
Nanjing University of Posts and Telecommunications
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nanjing University of Posts and Telecommunications filed Critical Nanjing University of Posts and Telecommunications
Priority to CN202210054248.0A priority Critical patent/CN114500533B/en
Publication of CN114500533A publication Critical patent/CN114500533A/en
Application granted granted Critical
Publication of CN114500533B publication Critical patent/CN114500533B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • H04W52/0209Power saving arrangements in terminal devices
    • H04W52/0261Power saving arrangements in terminal devices managing power supply demand, e.g. depending on battery level
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Control Of Position, Course, Altitude, Or Attitude Of Moving Bodies (AREA)
  • Traffic Control Systems (AREA)

Abstract

The invention discloses an unmanned aerial vehicle auxiliary mobile edge computing system optimizing method based on user cooperation, which comprises an unmanned aerial vehicle computing node and a plurality of ground users, wherein the ground users comprise near users and far users, and the ground users have a certain amount of computing tasks to be processed. Due to the limitation of unmanned aerial vehicle battery energy, ground user cooperation offloads computing tasks to the unmanned aerial vehicle in order to reduce unmanned aerial vehicle flight energy consumption. The to-be-processed computing task of the far user is relayed to the near user, and the near user then unloads the to-be-processed computing task of the far user to the unmanned aerial vehicle for computing. The invention aims at minimizing the weighted total energy consumption of the unmanned aerial vehicle and the ground user on the basis of meeting the service quality of the user, and realizes the joint optimization of the flight track of the unmanned aerial vehicle, the data quantity of the task to be processed, which is relayed and unloaded by the ground user, and the CPU calculation frequency of the ground user and the unmanned aerial vehicle based on a two-step iterative algorithm.

Description

Unmanned aerial vehicle auxiliary mobile edge computing system optimization method based on user cooperation
Technical Field
The invention relates to an unmanned aerial vehicle auxiliary mobile edge computing system optimization method based on user cooperation, and belongs to the technical field of wireless communication and Internet of things.
Background
With the rapid development of the internet of things and 5G communication technologies, applications such as smart home, face recognition and augmented reality have appeared in our lives. This has also prompted the mobile communication devices to move toward low latency, low power consumption, high reliability, and high density connections. However, existing communication systems are challenging in performing computationally intensive and delay sensitive tasks due to limitations in the battery and computing power of their mobile devices. To address this problem, mobile edge computing (Mobile Edge Computing System, MEC) is an effective technique, meaning that servers deployed at the edge of the network can provide services to users. Since edge servers are located near the user, they can provide computing services to the user at lower energy costs and low latency. However, the deployment of edge servers at fixed locations suffers from inflexible and difficult service coverage adjustment, subject to complex terrain and uncertainty requirements.
Disclosure of Invention
The invention aims to overcome the defects of the prior art and provide an unmanned aerial vehicle auxiliary mobile edge computing system optimization method based on user cooperation.
In order to achieve the above object, the present invention provides an unmanned aerial vehicle assisted mobile edge computing system optimization method based on user cooperation, comprising:
among the ground users, the far user m i Pairing with near user i, m i ∈[1,M],i∈R,R={1,…,I},M=I;
Based on unmanned aerial vehicle auxiliary mobile edge computing system model, optimal number of remote users m i Relaying the calculation task to be processed to a near user i;
based on unmanned aerial vehicle auxiliary mobile edge computing system model, optimal number of remote users m i And unloading the to-be-processed calculation tasks relayed to the near user i and the optimal number of to-be-processed calculation tasks of the near user i to the unmanned aerial vehicle for calculation.
Preferentially, 1) constructing an initial model of an unmanned aerial vehicle auxiliary mobile edge computing system of user cooperation;
2) Setting iteration number variable ζ=1, and ending the iteration
Figure GDA0004237044740000011
Giving a flight path U of the unmanned aerial vehicle;
3) Under the condition of a given unmanned aerial vehicle flight trajectory, optimizing an initial model of an unmanned aerial vehicle auxiliary mobile edge computing system until a sub-problem meets a convergence condition, stopping iteration, and obtaining an optimal ground user, a CPU computing frequency F of the unmanned aerial vehicle and the total number L of to-be-processed computing tasks relayed and unloaded by the ground user;
4) Inputting and optimizing an initial model of an unmanned aerial vehicle auxiliary moving edge computing system by using the optimal ground user, the CPU computing frequency F of the unmanned aerial vehicle and the total number L of the to-be-processed computing tasks relayed and unloaded by the ground user until the set convergence condition is met, and outputting an optimal unmanned aerial vehicle flight track U;
5) Inputting the optimal F, L and U obtained in the step 3) and the step 4) into a minimum objective function of an initial model of an unmanned aerial vehicle auxiliary moving edge computing system to obtain a value E ζ
6) Updating the iteration number variable ζ=ζ+1;
7) Optimal unmanned aerial vehicle flight railSubstituting the trace U into the step 3), and repeating the steps 3) to 6) until the initial model of the unmanned aerial vehicle auxiliary mobile edge computing system meets the convergence condition
Figure GDA0004237044740000021
And (5) ending the iteration to obtain the unmanned aerial vehicle auxiliary mobile edge computing system model.
Preferably, during the task completion time T, the drone flies at a fixed altitude H, the far user m i And the height of the near user i is 0 m, the position is fixed, and the coordinate of the near user i is s i =(x i ,y i ) Far user m i Is the coordinates of (a)
Figure GDA0004237044740000022
The near user and the unmanned aerial vehicle communicate in a time division multiplexing mode;
dividing task completion time T into N slots, N e {1, …, N }, width δ=t/N of each slot;
within the task completion time T, the unmanned aerial vehicle starts from the starting point u I Fly to destination u F
The speed of the unmanned plane in the nth time slot is as follows:
v[n]=||u[n]-u[n-1]||/δ;
the initial model of the unmanned aerial vehicle auxiliary mobile edge computing system is as follows:
Figure GDA0004237044740000023
s.t.C1:
Figure GDA0004237044740000024
C2:
Figure GDA0004237044740000025
C3:
Figure GDA0004237044740000026
C4:
Figure GDA0004237044740000027
C5
Figure GDA0004237044740000028
C6:
Figure GDA0004237044740000029
C7:
Figure GDA0004237044740000031
C8:u[0]=u I ,u[N]=u F
C9:
Figure GDA0004237044740000032
C10:
Figure GDA0004237044740000033
C11:
Figure GDA0004237044740000034
Figure GDA0004237044740000035
C12:
Figure GDA0004237044740000036
in the minimum objective function, u= { U [ n ]]Is the unmanned plane from the initial point u I Fly to the end point u F Is a flying trace of (a);
Figure GDA0004237044740000037
the total number of tasks to be processed is calculated for the ground user to relay and offload,
Figure GDA0004237044740000038
For far user m i The number of calculation tasks to be processed relayed to the near user i in the nth time slot,/-, is->
Figure GDA0004237044740000039
For near user i to far user m in nth time slot i The number of pending calculation tasks offloaded to the unmanned plane u +.>
Figure GDA00042370447400000310
Unloading the number of the self to-be-processed calculation tasks for the near user i in the nth time slot;
Figure GDA00042370447400000311
calculating frequency for ground users and CPU of unmanned aerial vehicle, f i [n]Calculating the frequency for the CPU of the near user, +.>
Figure GDA00042370447400000312
For far user m i CPU calculation frequency f i,u [n]CPU calculation frequency for processing the to-be-processed calculation task of the near user i for the unmanned aerial vehicle,/for the unmanned aerial vehicle>
Figure GDA00042370447400000313
Handling near user i offloaded from far user m for drone i CPU computing frequency of the computing task to be processed;
θ 1 weighting coefficient, θ, for total energy consumption of ground users 2 A weighting coefficient for the total energy consumption of the unmanned aerial vehicle;
Figure GDA00042370447400000314
Figure GDA00042370447400000315
Figure GDA00042370447400000316
wherein, c 1 And c 2 Two preset parameters related to the weight, wing area, wingspan efficiency and air density of the unmanned aerial vehicle; e (E) i [n]Calculating the number L of the completed calculation tasks to be processed in the nth time slot for the near user i i [n]The required energy consumption:
E i [n]=δκ i f i 3 [n],
wherein, kappa i An effective capacitance coefficient for near user i;
Figure GDA0004237044740000041
for far user m i Calculating the number of completed calculation tasks to be processed in the nth time slot +.>
Figure GDA0004237044740000042
The required energy consumption:
Figure GDA0004237044740000043
in the method, in the process of the invention,
Figure GDA0004237044740000044
Representing far user m i Effective capacitance coefficient of (a);
Figure GDA0004237044740000045
to accomplish->
Figure GDA0004237044740000046
The required energy consumption:
Figure GDA0004237044740000047
in the far user m i When the pending computing task of (a) is relayed to near user iWidth of space, near user i will far user m i The time width of unloading the calculation task to be processed to the unmanned plane u and the time width of unloading the calculation task to be processed to the unmanned plane u by the near user i are delta 0 =δ/3I;
Figure GDA0004237044740000048
For far user m i Transmit power of>
Figure GDA0004237044740000049
For the received noise power of near user i, +.>
Figure GDA00042370447400000410
For near user i and far user m i The channel gain of the link between the two, B is the communication bandwidth;
Figure GDA00042370447400000411
to accomplish->
Figure GDA00042370447400000412
The required energy consumption:
Figure GDA00042370447400000413
in the method, in the process of the invention,
Figure GDA00042370447400000414
will come from far user m for near user i i Is offloaded to the transmit power of unmanned plane u, +.>
Figure GDA00042370447400000415
For receiving noise power of the unmanned aerial vehicle, a free space path loss model is adopted for a channel between the unmanned aerial vehicle and a near user, and the unmanned aerial vehicle is in a +.>
Figure GDA00042370447400000416
For the channel gain between the near user i and the unmanned plane u, d i [n]Gamma is the distance between the near user i and the unmanned plane u 0 For reference distance d 0 Channel gain at=1m;
Figure GDA00042370447400000417
to accomplish->
Figure GDA00042370447400000418
The required energy consumption:
Figure GDA00042370447400000419
in the method, in the process of the invention,
Figure GDA00042370447400000420
unloading the self calculation task to be processed to the transmitting power of the unmanned plane u for the near user i;
E i,u [n]the number L of completed tasks to be processed from the near user i is calculated for the unmanned aerial vehicle in the nth time slot i,u [n]The required energy consumption:
Figure GDA0004237044740000051
wherein, kappa u Is the effective capacitance coefficient of the unmanned aerial vehicle;
E mi,u [n]offloaded from far user m for near user i completed for drone computation in nth time slot i Number of computing tasks to be processed
Figure GDA0004237044740000052
The required energy consumption:
Figure GDA0004237044740000053
in the method, in the process of the invention,
Figure GDA0004237044740000054
handling far user m for unmanned aerial vehicle i The CPU calculation frequency of (2);
equation C1 ensures that near user i completely offloads from far user m during each time slot i N, N 1 = {1,..n-1 }; equation C2 is an information causal randomness limit, the drone can only calculate the pending calculation task that has been received in the last time slot, and the processing delay is one time slot,
Figure GDA0004237044740000055
for the near user i to offload its own number of computational tasks to be processed in the kth time slot, k= {1, …, n-1}, L i,u [k]For the unmanned u to calculate the number of completed self-pending calculation tasks offloaded from the near user i in the kth time slot, N 2 ={2,...,N};
Equation C3 is the information causal random limit,
Figure GDA0004237044740000056
for near user i to far user m in kth time slot i The number of pending calculation tasks offloaded to the unmanned plane u +.>
Figure GDA0004237044740000057
Offloaded from far user m for near user i completed by drone computation in kth slot i The number of computing tasks to be processed;
Equation C4 ensures that the calculation tasks to be processed of the near user i self unloaded in the nth time slot can be all calculated by the unmanned plane, L i,u [n]Calculating the number of completed tasks to be processed from the near user i per se for the unmanned plane u in the nth time slot;
equation C5 ensures that near user i is offloaded to drone u from far user m in the nth time slot i Can be calculated and completed by the unmanned aerial vehicle,
Figure GDA0004237044740000058
indicating that the unmanned plane u is counted in the nth time slotOffloaded from far user m for near user i after completion of calculation i The number of computing tasks to be processed;
equation C6 ensures that the unmanned aerial vehicle calculates the distance user m from the distance user who finishes the unloading of the near user i within the task completion time T i Is used for processing the calculation task to be processed,
Figure GDA0004237044740000059
for far user m i The number of computational tasks to be processed for local computation at the nth time slot,
Figure GDA00042370447400000510
for far user m i Is used for calculating task demands;
formula C7 ensures that the unmanned plane completes the task to be processed and calculated unloaded by the near user i in the task completion time T, L i [n]The number of calculation tasks to be processed for local calculation of near user I in the nth time slot, I i Representing the computing task requirements of a near user i;
equation C8 limits the unmanned aerial vehicle from the initial point u within the task completion time T I Fly to the end point u F ,u[0]=u I ,u[N]=u F
Equation C9 limits the maximum speed of the unmanned aerial vehicle, u [ n ]]=u(δn)=(x[n],y[n]) For the projected coordinates of the unmanned u on the horizontal plane in the nth time slot, u [ n-1 ]]For the projected coordinates of the drone u on the horizontal plane in the n-1 th time slot, V max Is the maximum speed of the unmanned aerial vehicle;
the formula C10 ensures that the ground user does not relay or unload the calculation task to be processed in the last time slot, and ensures that the unmanned aerial vehicle does not process the calculation task to be processed in the first time slot;
equation C11 limits the non-negative or maximum value, f i,max For the maximum calculated frequency of far user i, f mi,max For far user m i Maximum calculated frequency of f u,max The maximum calculation frequency of the unmanned plane is calculated;
c12 is the maximum limit for near user transmit power, the maximum limit for far user transmit power;
P max for the maximum of the transmit power of all terrestrial users,
Figure GDA0004237044740000061
for near user i to far user m in nth time slot i Is offloaded to the transmit power of unmanned plane u, +.>
Figure GDA0004237044740000062
For the next user i to unload its own transmit power of the calculation task to be processed in the nth time slot,/>
Figure GDA0004237044740000063
For far user m i And relaying the calculation task to be processed to the transmitting power of the near user i in the nth time slot.
Preferably, step 3) comprises:
3.1 Under the condition of the given unmanned aerial vehicle flight track, the initial model of the unmanned aerial vehicle auxiliary movement edge computing system to be optimized is as follows:
Figure GDA0004237044740000064
s.t.C1-C7,C10-C12,
3.2 Given the dual variable β= { β corresponding to the inequality constraint C1-C3 i,n }、λ={λ i,n Sum η= { η i,n A value of };
3.3 Determining a binary variable ζ= { ζ corresponding to the equation constraint C4-C7 based on a binary search method according to values of the binary variables β, λ, and η i }、ω={ω i }、μ={μ i Sum ρ= { ρ i A value of };
3.4 Using Karush-Kuhn-Tucker conditions to solve the neutron problem of the initial model of the unmanned aerial vehicle auxiliary mobile edge computing system, wherein the solution is as follows:
Figure GDA0004237044740000071
Figure GDA0004237044740000072
Figure GDA0004237044740000073
Figure GDA0004237044740000074
Figure GDA0004237044740000075
Figure GDA0004237044740000076
Figure GDA0004237044740000077
wherein C is i The computational resources required to compute a one-bit input bit for near user i,
Figure GDA0004237044740000078
for far user m i Computing resources required to compute a one-bit input bit;
setting up
Figure GDA0004237044740000079
Far user m i The maximum number of computational tasks to be processed relayed to near user i in the nth time slot, near user i unloading from far user m in the nth time slot i The number of the maximum to-be-processed computing tasks of the near user i unloading itself in the nth time slot is respectively as follows:
Figure GDA0004237044740000081
Figure GDA0004237044740000082
Figure GDA0004237044740000083
[x] + =max{x,0},
Figure GDA0004237044740000084
3.5 Iterative updating of the dual variables β, λ and η) based on the algorithm of the secondary gradient:
Figure GDA0004237044740000085
Figure GDA0004237044740000086
Figure GDA0004237044740000087
where j is the iteration index variable of the secondary gradient algorithm iteration,
Figure GDA0004237044740000088
And->
Figure GDA0004237044740000089
Represents the jth iteration step, respectively, of obtaining the dual variables β, λ and η, +.>
Figure GDA00042370447400000810
f i,u,j-1 [n]And->
Figure GDA00042370447400000811
Respectively is
Figure GDA00042370447400000812
Figure GDA00042370447400000813
f i,u [n]And->
Figure GDA00042370447400000814
Variable values of the corresponding j-1 th iteration;
3.6 Repeating the steps 3.2) to 3.5) until the objective function value of the sub-problem meets the set iteration termination precision, and obtaining the optimal F and L after the iteration is terminated.
Preferably, step 4) comprises:
4.1 Inputting the optimal ground user and the CPU calculation frequency F of the unmanned aerial vehicle and the total number L of the to-be-processed calculation tasks relayed and unloaded by the ground user into an initial model of the unmanned aerial vehicle auxiliary mobile edge calculation system:
Figure GDA00042370447400000815
s.t.C8,C9andC12;
4.2 The flight energy consumption of the unmanned aerial vehicle is as follows:
Figure GDA0004237044740000091
due to u [ n ]]Is non-convex with respect to the equation, so introduces a relaxation variable
Figure GDA00042370447400000911
To obtain E fly [n]Upper bound of (2):
Figure GDA0004237044740000092
the added constraint translates into the following form:
Figure GDA0004237044740000093
wherein u is (r) [n]Is a local point of the flight path of the unmanned aerial vehicle;
in step 4.1), updating an initial model of the unmanned aerial vehicle auxiliary mobile edge computing system as follows:
Figure GDA0004237044740000094
s.t.C8,C9andC12,
C13:
Figure GDA0004237044740000095
4.3 Using an initial unmanned aerial vehicle flight trajectory u [ n ]]As a local point, updating the iterative unmanned aerial vehicle track u [ n ] based on the interior point method]Until the convergence accuracy of the interior point method meets the set convergence accuracy
Figure GDA0004237044740000096
And obtaining the optimal unmanned aerial vehicle flight path U.
Preferably, step 3.3), comprises:
3.3.1 The solution of the neutron problem is constrained by equations C4-C7 and step 3.4), and is obtained
Figure GDA0004237044740000097
And->
Figure GDA0004237044740000098
Different expressions relating to values;
and (3) with
Figure GDA0004237044740000099
The different expressions relating to the values are:
Figure GDA00042370447400000910
and (3) with
Figure GDA0004237044740000101
The different expressions relating to the values are:
Figure GDA0004237044740000102
and (3) with
Figure GDA0004237044740000103
The different expressions relating to the values are:
Figure GDA0004237044740000104
3.3.2 Given lambda, combine
Figure GDA0004237044740000105
Scope of->
Figure GDA0004237044740000106
Figure GDA0004237044740000107
The range of the obtained dual variable ρ is:
Figure GDA0004237044740000108
when ρ is i Given, the range of binary search for the dual variable ζ is:
Figure GDA0004237044740000109
wherein ρ is i,min As a dual variable ρ i Minimum value ρ of i,max As a dual variable ρ i Is set at the maximum value of (c),
Figure GDA00042370447400001010
n=1 +.>
Figure GDA00042370447400001011
A value;
when the binary search is terminated, the result is at a given ρ i Corresponding xi under the condition of (2) i Values such that
Figure GDA00042370447400001012
Continuously binary search ρ i And iterate the corresponding ζ i Values such that
Figure GDA0004237044740000111
When the binary search method converges, a dual variable rho is obtained i And xi i Is the optimum value of (2);
3.3.3 Given beta), binding
Figure GDA0004237044740000112
Scope of->
Figure GDA0004237044740000113
Figure GDA0004237044740000114
The range of the binary variable mu binary search is:
Figure GDA0004237044740000115
when the binary search converges, a dual variable mu is obtained i Is the optimum value of (3):
Figure GDA0004237044740000116
3.3.4 Given η and β), combined
Figure GDA0004237044740000117
Scope of->
Figure GDA0004237044740000118
Figure GDA0004237044740000119
The range of obtaining the binary variable omega binary search is as follows:
Figure GDA00042370447400001110
when the binary search method converges, the dual variable omega is obtained i Is the optimum value of (3):
Figure GDA00042370447400001111
the invention has the beneficial effects that:
1) The invention relates to an unmanned aerial vehicle auxiliary mobile edge computing system optimizing method based on unmanned aerial vehicle and ground user weighting and energy minimization user cooperation. Due to the limitation of unmanned aerial vehicle battery energy, ground user cooperation offloads computing tasks to the unmanned aerial vehicle in order to reduce unmanned aerial vehicle flight energy consumption. The to-be-processed computing task of the far user is relayed to the near user, and the near user then unloads the to-be-processed computing task of the far user to the unmanned aerial vehicle for computing. The invention aims at minimizing the weighted total energy consumption of the unmanned aerial vehicle and the ground user on the basis of meeting the service quality of the user, and realizes the joint optimization of the flight track of the unmanned aerial vehicle, the data quantity of the task to be processed, which is relayed and unloaded by the ground user, and the CPU calculation frequency of the ground user and the unmanned aerial vehicle based on a two-step iterative algorithm.
2) The invention provides a novel unmanned aerial vehicle auxiliary mobile edge computing system frame based on user cooperation, and the unmanned aerial vehicle auxiliary mobile edge computing system frame provided in the past does not consider the situation of relay cooperation of ground users. The invention considers the time division multiplexing communication mode, aims at optimizing the weighted total energy consumption of the unmanned aerial vehicle and the user on the basis of meeting the service quality of the user, and performs joint optimization on the flight track of the unmanned aerial vehicle, the data quantity relayed or unloaded by the ground user and the CPU calculation frequency of the ground user and the unmanned aerial vehicle.
3) Since the proposed optimization problem is non-convex and difficult to solve, the present invention solves this problem by iteratively solving two sub-problems. The data quantity relayed or unloaded by the ground user and the CPU calculation frequency of the ground user and the unmanned aerial vehicle are obtained in a closed form through a Lagrange dual method, lagrange multipliers related to inequality constraint can be obtained through a secondary gradient method, and Lagrange multipliers related to equality constraint can be obtained through binary search. The interior point method can effectively solve the sub-problems related to unmanned aerial vehicle track optimization.
4) The convergence of the algorithm is guaranteed, requiring less complexity. Simulation results show that the UAV's optimized trajectories in different scenarios and with the proposed algorithm significantly improves performance compared to existing solutions (e.g., solutions that do not take into account ground user cooperation, solutions with preset UAV trajectories, etc.), and furthermore, the algorithm can provide more stable performance to accommodate changes in the operating environment and its advantages will be more pronounced when processing computationally intensive and delay critical tasks.
Drawings
FIG. 1 is a system model diagram of the present invention;
FIG. 2 is a basic flow chart of the present invention;
FIG. 3 is a line graph of the flight path of the unmanned aerial vehicle at different mission completion times according to the present invention;
FIG. 4 is a graph of the total energy consumption of a ground user and a drone as a function of the amount of tasks under conditions of the present invention without user cooperation and with remote user consideration of drone cooperation, drone straight flight and without user cooperation and without user consideration of drone cooperation;
FIG. 5 is a graph of the total energy consumption of a ground user and a drone over time under conditions of the present invention without user cooperation and with remote user consideration of drone cooperation, drone straight flight and without user cooperation and without user consideration of drone cooperation;
FIG. 6 is a schematic diagram showing the convergence of the present invention under different ground user task volume requirements.
Detailed Description
The following examples are only for more clearly illustrating the technical aspects of the present invention, and are not intended to limit the scope of the present invention.
An Unmanned Aerial Vehicle (UAV) enabled MEC has flexible and fast deployment capabilities that are considered suitable for servicing specific areas and special computing needs. The edge computing server based on the unmanned aerial vehicle has high-speed mobility, can freely approach a mobile user and provide computing services, and can remarkably improve network performance. Furthermore, air-to-ground communications in a drone-supported MEC network may provide higher link capacity than ground communications due to line-of-sight link transmission between the drone and the user. Therefore, unmanned assisted MEC networks are a hotspot in current MEC research.
When the position distribution of the ground users is uneven and the distribution positions are wider, the unmanned aerial vehicle needs to fly in a large range to better execute the unloading task of each ground user, but the traditional unloading scheme cannot well meet the energy consumption requirement of the unmanned aerial vehicle due to the limitation of the battery energy of the unmanned aerial vehicle.
The invention provides an unmanned aerial vehicle auxiliary mobile edge computing system optimization method based on user cooperation, which comprises the following steps:
the unmanned aerial vehicle comprises an unmanned aerial vehicle computing node u and ground users, wherein the ground users comprise far users and near users, the far users and the near users have a certain amount of to-be-processed computing tasks, the far users and the near users adopt a mode of unloading part of to-be-processed computing tasks, namely, part of to-be-processed computing tasks of the far users and part of to-be-processed computing tasks of the near users are locally computed, and the rest of to-be-processed computing tasks of the far users and the near users are unloaded to the unmanned aerial vehicle for computation.
Specifically, among the ground users, the far user m i Pairing with unique near user i, m i ∈[1,M],i∈R,R={1,…,I},M=I;
Based on unmanned aerial vehicle auxiliary mobile edge computing system model, optimal number of remote users m i Relaying the calculation task to be processed to a near user i;
based on unmanned aerial vehicle auxiliary mobile edge computing system model, optimal number of remote users m i And unloading the to-be-processed calculation tasks relayed to the near user i and the optimal number of to-be-processed calculation tasks of the near user i to the unmanned aerial vehicle for calculation.
Further, 1) constructing an initial model of an unmanned aerial vehicle auxiliary mobile edge computing system with user cooperation;
2) Setting iteration number variable ζ=1, and ending the iteration
Figure GDA0004237044740000131
Giving a flight path U of the unmanned aerial vehicle;
3) Under the condition of a given unmanned aerial vehicle flight trajectory, optimizing an initial model of an unmanned aerial vehicle auxiliary mobile edge computing system until a sub-problem meets a convergence condition, stopping iteration, and obtaining an optimal ground user, a CPU computing frequency F of the unmanned aerial vehicle and the total number L of to-be-processed computing tasks relayed and unloaded by the ground user;
4) Inputting and optimizing an initial model of an unmanned aerial vehicle auxiliary moving edge computing system by using the optimal ground user, the CPU computing frequency F of the unmanned aerial vehicle and the total number L of the to-be-processed computing tasks relayed and unloaded by the ground user until the set convergence condition is met, and outputting an optimal unmanned aerial vehicle flight track U;
5) Inputting the optimal F, L and U obtained in the step 3) and the step 4) into an initial model of an unmanned aerial vehicle auxiliary mobile edge computing systemIs the minimum objective function of (1) to obtain the value E ζ
6) Updating the iteration number variable ζ=ζ+1;
7) Substituting the optimal unmanned aerial vehicle flight track U into the step 3), and repeating the steps 3) to 6) until the initial model of the unmanned aerial vehicle auxiliary movement edge computing system meets the convergence condition
Figure GDA0004237044740000141
And (5) ending the iteration to obtain the unmanned aerial vehicle auxiliary mobile edge computing system model.
Further, in this embodiment, during the task completion time T, the unmanned aerial vehicle flies at a fixed height H, and the remote user m i And the height of the near user i is 0 m, the position is fixed, and the coordinate of the near user i is s i =(x i ,y i ) Far user m i Is the coordinates of (a)
Figure GDA0004237044740000142
The near user and the unmanned aerial vehicle communicate in a time division multiplexing mode; assuming that the system communication adopts a time division multiplexing technology, a ground user can simultaneously carry out local calculation and unloading of a calculation task to be processed without interference, and meanwhile, the time for returning the calculation result of the ground user by the unmanned aerial vehicle is ignored;
dividing task completion time T into N slots, N e {1, …, N }, width δ=t/N of each slot;
each time slot delta is further divided into I time segments, each time segment comprising a far user m i Time when the pending computing task of (a) is relayed to near user i, near user i will far user m i The time for unloading the to-be-processed computing task of the near user i to the unmanned aerial vehicle u and the time for unloading the to-be-processed computing task of the near user i to the unmanned aerial vehicle u, the far user m i The time width of relaying the task to be processed to the near user i, the near user i relays the far user m i The time width of unloading the to-be-processed calculation task of the near user i to the unmanned aerial vehicle u and the time width of unloading the to-be-processed calculation task of the near user i to the unmanned aerial vehicle u are delta 0 =δ/3I;
Each remote user m i Is expressed as a pending computational taskPositive tuple
Figure GDA0004237044740000143
The computational task to be processed near user I is represented as a positive tuple [ I i ,C i ];
Within the task completion time T, the unmanned aerial vehicle starts from the starting point u I Fly to destination u F
The speed of the unmanned plane in the nth time slot is as follows:
v[n]=||u[n]-u[n-1]||/δ;
the initial model of the unmanned aerial vehicle auxiliary mobile edge computing system is as follows:
Figure GDA0004237044740000144
s.t.C1:
Figure GDA0004237044740000151
C2:
Figure GDA0004237044740000152
C3:
Figure GDA0004237044740000153
C4
Figure GDA0004237044740000154
C5:
Figure GDA0004237044740000155
/>
C6:
Figure GDA0004237044740000156
C7:
Figure GDA0004237044740000157
C8:u[0]=u I ,u[N]=u F
C9:
Figure GDA0004237044740000158
C10:
Figure GDA0004237044740000159
C11:
Figure GDA00042370447400001510
Figure GDA00042370447400001511
C12:
Figure GDA00042370447400001512
in the minimum objective function, u= { U [ n ]]Is the unmanned plane from the initial point u I Fly to the end point u F Is a flying trace of (a);
Figure GDA00042370447400001513
the total number of tasks to be processed is calculated for the ground user to relay and offload,
Figure GDA00042370447400001514
for far user m i The number of calculation tasks to be processed relayed to the near user i in the nth time slot,/-, is->
Figure GDA00042370447400001515
For near user i to far user m in nth time slot i The number of pending calculation tasks offloaded to the unmanned plane u +.>
Figure GDA00042370447400001516
Unloading the number of the self to-be-processed calculation tasks for the near user i in the nth time slot;
Figure GDA00042370447400001517
calculating frequency for ground users and CPU of unmanned aerial vehicle, f i [n]Calculating the frequency for the CPU of the near user, +. >
Figure GDA00042370447400001518
For far user m i CPU calculation frequency f i,u [n]CPU calculation frequency for processing the to-be-processed calculation task of the near user i for the unmanned aerial vehicle,/for the unmanned aerial vehicle>
Figure GDA0004237044740000161
Handling near user i offloaded from far user m for drone i CPU computing frequency of the computing task to be processed;
θ 1 weighting coefficient, θ, for total energy consumption of ground users 2 A weighting coefficient for the total energy consumption of the unmanned aerial vehicle;
Figure GDA0004237044740000162
Figure GDA0004237044740000163
Figure GDA0004237044740000164
wherein, c 1 And c 2 Two preset parameters related to the weight, wing area, wingspan efficiency and air density of the unmanned aerial vehicle; e (E) i [n]Calculating the number L of the completed calculation tasks to be processed in the nth time slot for the near user i i [n]The required energy consumption:
E i [n]=δκ i f i 3 [n],
wherein, kappa i An effective capacitance coefficient for near user i;
Figure GDA0004237044740000165
for far user m i Calculating the number of completed calculation tasks to be processed in the nth time slot +.>
Figure GDA0004237044740000166
The required energy consumption:
Figure GDA0004237044740000167
in the method, in the process of the invention,
Figure GDA0004237044740000168
representing far user m i Effective capacitance coefficient of (a); />
Figure GDA0004237044740000169
To accomplish->
Figure GDA00042370447400001610
The required energy consumption:
Figure GDA00042370447400001611
in the far user m i The time width of relaying the task to be processed to the near user i, the near user i relays the far user m i The time width of unloading the calculation task to be processed to the unmanned plane u and the time width of unloading the calculation task to be processed to the unmanned plane u by the near user i are delta 0 =δ/3I;
Figure GDA00042370447400001612
For far user m i Transmit power of >
Figure GDA00042370447400001613
The received noise power for near user i, h mi [n]For near user i and far user m i Channel gain for inter-linkB is the communication bandwidth;
Figure GDA00042370447400001614
to accomplish->
Figure GDA00042370447400001615
The required energy consumption:
Figure GDA00042370447400001616
in the method, in the process of the invention,
Figure GDA0004237044740000171
will come from far user m for near user i i Is offloaded to the transmit power of unmanned plane u, +.>
Figure GDA0004237044740000172
For receiving noise power of the unmanned aerial vehicle, a free space path loss model is adopted for a channel between the unmanned aerial vehicle and a near user, and the unmanned aerial vehicle is in a +.>
Figure GDA0004237044740000173
For the channel gain between the near user i and the unmanned plane u, d i [n]Gamma is the distance between the near user i and the unmanned plane u 0 For reference distance d 0 Channel gain at=1m;
Figure GDA0004237044740000174
to accomplish->
Figure GDA0004237044740000175
The required energy consumption:
Figure GDA0004237044740000176
in the method, in the process of the invention,
Figure GDA0004237044740000177
unloading the self calculation task to be processed to the transmitting power of the unmanned plane u for the near user i;
E i,u [n]for the unmanned aerial vehicle to calculate the number of completed pending calculation tasks from the near user i itself in the nth time slot
L i,u [n]The required energy consumption:
Figure GDA0004237044740000178
wherein, kappa u Is the effective capacitance coefficient of the unmanned aerial vehicle;
Figure GDA0004237044740000179
offloaded from far user m for near user i completed for drone computation in nth time slot i The number of computing tasks to be processed +.>
Figure GDA00042370447400001710
The required energy consumption:
Figure GDA00042370447400001711
in the method, in the process of the invention,
Figure GDA00042370447400001712
handling far user m for unmanned aerial vehicle i The CPU calculation frequency of (2); />
Equation C1 ensures that near user i completely offloads from far user m during each time slot i N, N 1 ={1,...,N-1};
Equation C2 is an information causal randomness limit, the drone can only calculate the pending calculation task that has been received in the last time slot, and the processing delay is one time slot,
Figure GDA00042370447400001713
for the near user i to offload its own number of computational tasks to be processed in the kth time slot, k= {1, …, n-1}, L i,u [k]For the unmanned u to calculate the number of completed self-pending calculation tasks offloaded from the near user i in the kth time slot, N 2 ={2,...,N};
Equation C3 is the information causal random limit,
Figure GDA00042370447400001714
for near user i to far user m in kth time slot i The number of pending calculation tasks offloaded to the unmanned plane u +.>
Figure GDA0004237044740000181
Offloaded from far user m for near user i completed by drone computation in kth slot i The number of computing tasks to be processed;
equation C4 ensures that the calculation tasks to be processed of the near user i self unloaded in the nth time slot can be all calculated by the unmanned plane, L i,u [n]Calculating the number of completed tasks to be processed from the near user i per se for the unmanned plane u in the nth time slot;
equation C5 ensures that near user i is offloaded to drone u from far user m in the nth time slot i Can be calculated and completed by the unmanned aerial vehicle,
Figure GDA0004237044740000182
Near user i offloaded from far user m indicating completion of drone u computation in nth time slot i The number of computing tasks to be processed;
equation C6 ensures that the unmanned aerial vehicle calculates the distance user m from the distance user who finishes the unloading of the near user i within the task completion time T i Is used for processing the calculation task to be processed,
Figure GDA0004237044740000183
for far user m i The number of computational tasks to be processed for local computation at the nth time slot,
Figure GDA0004237044740000184
for far user m i Is used for calculating task demands;
formula C7 ensures that the unmanned plane completes the task to be processed and calculated unloaded by the near user i in the task completion time T, L i [n]The number of calculation tasks to be processed for local calculation of near user I in the nth time slot, I i Representing the computing task requirements of a near user i;
equation C8 limits the unmanned aerial vehicle from the initial point u within the task completion time T I Fly to the end point u F ,u[0]=u I ,u[N]=u F
Equation C9 limits the maximum speed of the unmanned aerial vehicle, u [ n ]]=u(δn)=(x[n],y[n]) For the projected coordinates of the unmanned u on the horizontal plane in the nth time slot, u [ n-1 ]]For the projected coordinates of the drone u on the horizontal plane in the n-1 th time slot, V max Is the maximum speed of the unmanned aerial vehicle;
the formula C10 ensures that the ground user does not relay or unload the calculation task to be processed in the last time slot, and ensures that the unmanned aerial vehicle does not process the calculation task to be processed in the first time slot;
Equation C11 limits the non-negative or maximum value, f i,max For the maximum calculated frequency of the far user i,
Figure GDA0004237044740000185
for far user m i Maximum calculated frequency of f u,max The maximum calculation frequency of the unmanned plane is calculated;
c12 is the maximum limit for near user transmit power, the maximum limit for far user transmit power;
P max for the maximum of the transmit power of all terrestrial users,
Figure GDA0004237044740000186
for near user i to far user m in nth time slot i Is offloaded to the transmit power of unmanned plane u, +.>
Figure GDA0004237044740000187
For the next user i to unload its own transmit power of the calculation task to be processed in the nth time slot,/>
Figure GDA0004237044740000188
For far user m i And relaying the calculation task to be processed to the transmitting power of the near user i in the nth time slot.
Further, step 3) in this embodiment includes:
3.1 Under the condition of the given unmanned aerial vehicle flight track, the initial model of the unmanned aerial vehicle auxiliary movement edge computing system to be optimized is as follows:
Figure GDA0004237044740000191
s.t.C1-C7,C10-C12,
3.2 Given the dual variable β= { β corresponding to the inequality constraint C1-C3 i,n }、λ={λ i,n Sum η= { η i,n A value of };
3.3 Determining a binary variable ζ= { ζ corresponding to the equation constraint C4-C7 based on a binary search method according to values of the binary variables β, λ, and η i }、ω={ω i }、μ={μ i Sum ρ= { ρ i A value of };
3.4 Using Karush-Kuhn-Tucker conditions to solve the neutron problem of the initial model of the unmanned aerial vehicle auxiliary mobile edge computing system, wherein the solution is as follows:
Figure GDA0004237044740000192
Figure GDA0004237044740000193
Figure GDA0004237044740000194
Figure GDA0004237044740000195
Figure GDA0004237044740000196
Figure GDA0004237044740000201
/>
Figure GDA0004237044740000202
Wherein C is i The computational resources required to compute a one-bit input bit for near user i,
Figure GDA0004237044740000203
for far user m i Computing resources required to compute a one-bit input bit;
setting up
Figure GDA0004237044740000204
Far user m i The maximum number of computational tasks to be processed relayed to near user i in the nth time slot, near user i unloading from far user m in the nth time slot i The number of the maximum to-be-processed computing tasks of the near user i unloading itself in the nth time slot is respectively as follows:
Figure GDA0004237044740000205
Figure GDA0004237044740000206
Figure GDA0004237044740000207
[x] + =max{x,0},
Figure GDA0004237044740000208
3.5 Iterative updating of the dual variables β, λ and η) based on the algorithm of the secondary gradient:
Figure GDA0004237044740000209
Figure GDA00042370447400002010
Figure GDA00042370447400002011
where j is the iteration index variable of the secondary gradient algorithm iteration,
Figure GDA00042370447400002012
and->
Figure GDA00042370447400002013
Represents the jth iteration step, respectively, of obtaining the dual variables β, λ and η, +.>
Figure GDA0004237044740000211
f i,u,j-1 [n]And->
Figure GDA0004237044740000212
Respectively is
Figure GDA0004237044740000213
Figure GDA0004237044740000214
f i,u [n]And->
Figure GDA0004237044740000215
Variable values of the corresponding j-1 th iteration;
3.6 Repeating the steps 3.2) to 3.5) until the objective function value of the sub-problem meets the set iteration termination precision, and obtaining the optimal F and L after the iteration is terminated.
Further, step 4) in this embodiment includes:
4.1 Inputting the optimal ground user and the CPU calculation frequency F of the unmanned aerial vehicle and the total number L of the to-be-processed calculation tasks relayed and unloaded by the ground user into an initial model of the unmanned aerial vehicle auxiliary mobile edge calculation system:
Figure GDA0004237044740000216
s.t.C8,C9andC12;
4.2 The flight energy consumption of the unmanned aerial vehicle is as follows:
Figure GDA0004237044740000217
due to u [ n ]]Is non-convex with respect to the equation, so introduces a relaxation variable
Figure GDA00042370447400002113
To obtain E fly [n]Upper bound of (2):
Figure GDA0004237044740000218
the added constraint translates into the following form:
Figure GDA0004237044740000219
wherein u is (r) [n]Is a local point of the flight path of the unmanned aerial vehicle;
in step 4.1), updating an initial model of the unmanned aerial vehicle auxiliary mobile edge computing system as follows:
Figure GDA00042370447400002110
s.t.C8,C9andC12,
C13:
Figure GDA00042370447400002111
4.3 Using an initial unmanned aerial vehicle flight trajectory u [ n ]]As a local point, updating the iterative unmanned aerial vehicle track u [ n ] based on the interior point method]Until the convergence accuracy of the interior point method meets the set convergence accuracy
Figure GDA00042370447400002112
And obtaining the optimal unmanned aerial vehicle flight path U.
Further, step 3.3) in the present embodiment includes:
3.3.1 The solution of the neutron problem is constrained by equations C4-C7 and step 3.4), and is obtained
Figure GDA0004237044740000221
And->
Figure GDA0004237044740000222
Different expressions relating to values;
and (3) with
Figure GDA0004237044740000223
The different expressions relating to the values are:
Figure GDA0004237044740000224
/>
and (3) with
Figure GDA0004237044740000225
The different expressions relating to the values are:
Figure GDA0004237044740000226
and (3) with
Figure GDA0004237044740000227
The different expressions relating to the values are:
Figure GDA0004237044740000228
3.3.2 Given lambda, combine
Figure GDA0004237044740000229
Scope of->
Figure GDA00042370447400002210
Figure GDA00042370447400002211
The range of the obtained dual variable ρ is:
Figure GDA0004237044740000231
when ρ is i Given, the range of binary search for the dual variable ζ is:
Figure GDA0004237044740000232
wherein ρ is i,min As a dual variable ρ i Minimum value ρ of i,max As a dual variable ρ i Is set at the maximum value of (c),
Figure GDA0004237044740000233
N=1 +.>
Figure GDA0004237044740000234
A value;
when the binary search is terminated, the result is at a given ρ i Corresponding xi under the condition of (2) i Values such that
Figure GDA0004237044740000235
Continuously binary search ρ i And iterate the corresponding ζ i Values such that
Figure GDA0004237044740000236
When the binary search method converges, a dual variable rho is obtained i And xi i Is the optimum value of (2);
3.3.3 Given beta), binding
Figure GDA0004237044740000237
Scope of->
Figure GDA0004237044740000238
Figure GDA0004237044740000239
The range of the binary variable mu binary search is:
Figure GDA00042370447400002310
when the binary search converges, a dual variable mu is obtained i Is the optimum value of (3):
Figure GDA00042370447400002311
3.3.4 Given η and β), combined
Figure GDA0004237044740000241
Scope of->
Figure GDA0004237044740000242
Figure GDA0004237044740000243
The range of obtaining the binary variable omega binary search is as follows:
Figure GDA0004237044740000244
when the binary search method converges, the dual variable omega is obtained i Is the optimum value of (3):
Figure GDA0004237044740000245
the far user relays the data to be offloaded to the near user, and the near user offloads the data to be processed to the unmanned plane. Because the near user is closer to the unmanned aerial vehicle, the communication stability of the ground user and the unmanned aerial vehicle can be improved, the flight range of the unmanned aerial vehicle for executing the ground unloading task is reduced, and the flight energy consumption of the unmanned aerial vehicle is correspondingly reduced.
The following describes the embodiment of the present invention in detail with reference to a specific example. The specific embodiment was simulated using MATLAB software. The specific parameters are set as shown in table 1.
Figure GDA0004237044740000246
Figure GDA0004237044740000251
TABLE 1
In addition to the above table, the total task amounts of the far user and the near user are set to 45MBit, respectively, and the coordinates of the far user are set to { s } 1 ,s 2 ,s 3 ,s 4 }={(20,20),(20,-20),(-20,-20),(-20,20)},The coordinates of the near user are set to { s } m1 ,s m2 ,s m3 ,s m4 }={(70,70),(70,-70),(-70,-70),(-70,70)}。
As can be seen from a comparison of the trajectories of the unmanned aerial vehicle at different task completion times in fig. 3, the UAV uses its mobility to find the best position in each slot to complete the computational offload as the task completion time increases, with the requirement of a fixed ground user's task completion amount. It can be observed that as the task completion time T increases, the trajectory tends to approach the near user s 1 Sum s 4 . This enhances the communication link and the curve tends to be smooth, indicating that in a short time the drone is a compromise in order to be able to complete the flight and perform the unloading.
Fig. 4 shows a graph of energy consumption versus various schemes at a fixed task completion time, with different ground user task completion demands. Compared with other schemes, the scheme can always achieve the best performance, and as the task requirement of each ground user increases, the scheme provided by the invention has more obvious advantages. Compared with other schemes, the scheme provided by the invention has obvious advantages that no user cooperation exists, and the remote user considers the unmanned plane cooperation scheme and the preset unmanned plane track scheme, because all users have the cooperation participation of the users or the unmanned plane, the task quantity of local and unloading or relay can be optimally distributed. It can be seen from the figure that no user cooperates and the remote user considers that the unmanned plane cooperation scheme has obvious difference with the increase of the task amount of the ground user, because the local calculation and the unloading amount cannot be optimally distributed with the increase of the task amount after the maximum transmitting power of the remote user is reached due to the limitation of the transmitting power of the ground user.
In fig. 5, the relation of the system weighting energy consumption to the time delay T is depicted. It can be seen that the weighted energy consumption of all schemes decreases with increasing T, which coincides with the intuition that there is a trade-off between energy consumption and time consumption to accomplish the same task, and that energy consumption will decrease with increasing time consumption. Notably, the proposed solutions are superior to other benchmarks and the performance improvement is more pronounced under severe time constraints (small T), which further demonstrates that the algorithm can handle delay-critical computational tasks well and can achieve energy-to-delay tradeoff.
Fig. 6 shows the convergence of the algorithm at different task completion times, which indicates that the algorithm provided by the invention has good convergence.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
The foregoing is merely a preferred embodiment of the present invention, and it should be noted that modifications and variations could be made by those skilled in the art without departing from the technical principles of the present invention, and such modifications and variations should also be regarded as being within the scope of the invention.

Claims (2)

1. The unmanned aerial vehicle auxiliary mobile edge computing system optimizing method based on user cooperation is characterized in that,
among the ground users, the far user m i Pairing with near user i, m i ∈[1,M],i∈R,R={1,…,I},M=I;
Based on unmanned aerial vehicle auxiliary mobile edge computing system model, optimal number of remote users m i Relaying the calculation task to be processed to a near user i; the unmanned aerial vehicle auxiliary mobile edge computing system model is obtained through the following steps:
1) Constructing an initial model of an unmanned aerial vehicle auxiliary mobile edge computing system of user cooperation; during the task completion time T, the unmanned aerial vehicle flies at a fixed height H, and the remote user m i And the height of the near user i is 0 m, the position is fixed, and the coordinate of the near user i is s i =(x i ,y i ) Far user m i Is the coordinates of (a)
Figure QLYQS_1
The near user and the unmanned aerial vehicle communicate in a time division multiplexing mode;
dividing task completion time T into N slots, N e {1, …, N }, width δ=t/N of each slot;
within the task completion time T, the unmanned aerial vehicle starts from the starting point u I Fly to destination u F
The speed of the unmanned plane in the nth time slot is as follows:
v[n]=||u[n]-u[n-1]||/δ;
the initial model of the unmanned aerial vehicle auxiliary mobile edge computing system is as follows:
Figure QLYQS_2
s.t.C1:
Figure QLYQS_3
C2:
Figure QLYQS_4
C3:
Figure QLYQS_5
C4:
Figure QLYQS_6
C5:
Figure QLYQS_7
C6:
Figure QLYQS_8
C7:
Figure QLYQS_9
C8:u[0]=u I ,u[N]=u F
C9:
Figure QLYQS_10
C10:
Figure QLYQS_11
C11:
Figure QLYQS_12
Figure QLYQS_13
C12:
Figure QLYQS_14
in the minimum objective function, u= { U [ n ]]Is the unmanned plane from the initial point u I Fly to the end point u F Is a flying trace of (a);
Figure QLYQS_15
Total number of tasks to be processed, relayed and offloaded for the ground user, +.>
Figure QLYQS_16
For far user m i The number of calculation tasks to be processed relayed to the near user i in the nth time slot,/-, is->
Figure QLYQS_17
For near user i to far user m in nth time slot i The number of pending calculation tasks offloaded to the unmanned plane u +.>
Figure QLYQS_18
Unloading the number of the self to-be-processed calculation tasks for the near user i in the nth time slot;
Figure QLYQS_19
calculating frequency for ground users and CPU of unmanned aerial vehicle, f i [n]Calculating the frequency for the CPU of the near user, +.>
Figure QLYQS_20
For far user m i CPU calculation frequency f i,u [n]CPU calculation frequency for processing the to-be-processed calculation task of the near user i for the unmanned aerial vehicle,/for the unmanned aerial vehicle>
Figure QLYQS_21
Handling near user i offloaded from far user m for drone i CPU computing frequency of the computing task to be processed;
θ 1 weighting coefficient, θ, for total energy consumption of ground users 2 A weighting coefficient for the total energy consumption of the unmanned aerial vehicle;
Figure QLYQS_22
Figure QLYQS_23
Figure QLYQS_24
wherein, c 1 And c 2 Two preset parameters related to the weight, wing area, wingspan efficiency and air density of the unmanned aerial vehicle;
E i [n]calculating the number L of the completed calculation tasks to be processed in the nth time slot for the near user i i [n]The required energy consumption:
E i [n]=δκ i f i 3 [n],
wherein, kappa i An effective capacitance coefficient for near user i;
Figure QLYQS_25
for far user m i Calculating the number of completed calculation tasks to be processed in the nth time slot +. >
Figure QLYQS_26
The required energy consumption:
Figure QLYQS_27
in the method, in the process of the invention,
Figure QLYQS_28
representing far user m i Effective capacitance coefficient of (a);
Figure QLYQS_29
to accomplish->
Figure QLYQS_30
The required energy consumption:
Figure QLYQS_31
in the far user m i The time width of relaying the task to be processed to the near user i, the near user i relays the far user m i The time width of unloading the calculation task to be processed to the unmanned plane u and the time width of unloading the calculation task to be processed to the unmanned plane u by the near user i are delta 0 =δ/3I;
Figure QLYQS_32
For far user m i Transmit power of>
Figure QLYQS_33
For the received noise power of near user i, +.>
Figure QLYQS_34
For near user i and far user m i The channel gain of the link between the two, B is the communication bandwidth;
Figure QLYQS_35
to accomplish->
Figure QLYQS_36
The required energy consumption:
Figure QLYQS_37
in the method, in the process of the invention,
Figure QLYQS_38
will come from far user m for near user i i Any of the pending calculations of (a)Transmitting power of service offloading to unmanned plane u, < ->
Figure QLYQS_39
For receiving noise power of the unmanned aerial vehicle, a free space path loss model is adopted for a channel between the unmanned aerial vehicle and a near user, and the unmanned aerial vehicle is in a +.>
Figure QLYQS_40
For the channel gain between the near user i and the unmanned plane u, d i [n]Gamma is the distance between the near user i and the unmanned plane u 0 For reference distance d 0 Channel gain at=1m;
Figure QLYQS_41
to accomplish->
Figure QLYQS_42
The required energy consumption:
Figure QLYQS_43
in the method, in the process of the invention,
Figure QLYQS_44
unloading the self calculation task to be processed to the transmitting power of the unmanned plane u for the near user i;
E i,u [n]for the unmanned aerial vehicle to calculate the number of completed pending calculation tasks from the near user i itself in the nth time slot
L i,u [n]The required energy consumption:
Figure QLYQS_45
wherein, kappa u Is the effective capacitance coefficient of the unmanned aerial vehicle;
Figure QLYQS_46
offloaded from far user m for near user i completed for drone computation in nth time slot i The number of computing tasks to be processed +.>
Figure QLYQS_47
The required energy consumption:
Figure QLYQS_48
in the method, in the process of the invention,
Figure QLYQS_49
handling far user m for unmanned aerial vehicle i The CPU calculation frequency of (2);
equation C1 ensures that near user i completely offloads from far user m during each time slot i N, N 1 = {1,..n-1 }; equation C2 is an information causal randomness limit, the drone can only calculate the pending calculation task that has been received in the last time slot, and the processing delay is one time slot,
Figure QLYQS_50
for the near user i to offload its own number of computational tasks to be processed in the kth time slot, k= {1, …, n-1}, L i,u [k]For the unmanned u to calculate the number of completed self-pending calculation tasks offloaded from the near user i in the kth time slot, N 2 ={2,...,N};
Equation C3 is the information causal random limit,
Figure QLYQS_51
for near user i to far user m in kth time slot i The number L of the calculation tasks to be processed is unloaded to the unmanned plane u mi,u [k]Offloaded from far user m for near user i completed by drone computation in kth slot i The number of computing tasks to be processed;
Equation C4 ensures that all the near user i's own tasks to be processed, which are offloaded in the nth time slot, can be unmannedCompletion of computer calculation, L i,u [n]Calculating the number of completed tasks to be processed from the near user i per se for the unmanned plane u in the nth time slot;
equation C5 ensures that near user i is offloaded to drone u from far user m in the nth time slot i Can be calculated and completed by the unmanned aerial vehicle,
Figure QLYQS_52
near user i offloaded from far user m indicating completion of drone u computation in nth time slot i The number of computing tasks to be processed;
equation C6 ensures that the unmanned aerial vehicle calculates the distance user m from the distance user who finishes the unloading of the near user i within the task completion time T i Is used for processing the calculation task to be processed,
Figure QLYQS_53
for far user m i The number of calculation tasks to be processed for local calculation in the nth time slot, +.>
Figure QLYQS_54
For far user m i Is used for calculating task demands;
formula C7 ensures that the unmanned plane completes the task to be processed and calculated unloaded by the near user i in the task completion time T, L i [n]The number of calculation tasks to be processed for local calculation of near user I in the nth time slot, I i Representing the computing task requirements of a near user i;
equation C8 limits the unmanned aerial vehicle from the initial point u within the task completion time T I Fly to the end point u F ,u[0]=u I ,u[N]=u F The method comprises the steps of carrying out a first treatment on the surface of the Equation C9 limits the maximum speed of the unmanned aerial vehicle, u [ n ]]=u(δn)=(x[n],y[n]) For the projected coordinates of the unmanned u on the horizontal plane in the nth time slot, u [ n-1 ]]For the projected coordinates of the drone u on the horizontal plane in the n-1 th time slot, V max Is the maximum speed of the unmanned aerial vehicle;
the formula C10 ensures that the ground user does not relay or unload the calculation task to be processed in the last time slot, and ensures that the unmanned aerial vehicle does not process the calculation task to be processed in the first time slot;
equation C11 limits the non-negative or maximum value, f i,max For the maximum calculated frequency of far user i, f mi,max For far user m i Maximum calculated frequency of f u,max The maximum calculation frequency of the unmanned plane is calculated;
c12 is the maximum limit for near user transmit power, the maximum limit for far user transmit power;
P max for the maximum of the transmit power of all terrestrial users,
Figure QLYQS_55
for near user i to far user m in nth time slot i Is offloaded to the transmit power of unmanned plane u, +.>
Figure QLYQS_56
For the next user i to unload its own transmit power of the calculation task to be processed in the nth time slot,/>
Figure QLYQS_57
For far user m i Relaying the computational task to be processed to the transmit power of near user i in the nth time slot
2) Setting iteration number variable ζ=1, and ending the iteration
Figure QLYQS_58
Giving a flight path U of the unmanned aerial vehicle;
3) Under the condition of a given unmanned aerial vehicle flight trajectory, optimizing an initial model of an unmanned aerial vehicle auxiliary mobile edge computing system until a sub-problem meets a convergence condition, stopping iteration, and obtaining an optimal ground user, a CPU computing frequency F of the unmanned aerial vehicle and the total number L of to-be-processed computing tasks relayed and unloaded by the ground user; comprising the following steps:
3.1 Under the condition of the given unmanned aerial vehicle flight track, the initial model of the unmanned aerial vehicle auxiliary movement edge computing system to be optimized is as follows:
Figure QLYQS_59
s.t.C1-C7,C10-C12,
3.2 Given the dual variable β= { β corresponding to the inequality constraint C1-C3 i,n }、λ={λ i,n Sum η= { η i,n A value of };
3.3 Determining a binary variable ζ= { ζ corresponding to the equation constraint C4-C7 based on a binary search method according to values of the binary variables β, λ, and η i }、ω={ω i }、μ={μ i Sum ρ= { ρ i A value of };
3.4 Using Karush-Kuhn-Tucker conditions to solve the neutron problem of the initial model of the unmanned aerial vehicle auxiliary mobile edge computing system, wherein the solution is as follows:
Figure QLYQS_60
Figure QLYQS_61
Figure QLYQS_62
Figure QLYQS_63
Figure QLYQS_64
Figure QLYQS_65
Figure QLYQS_66
wherein C is i The computational resources required to compute a one-bit input bit for near user i,
Figure QLYQS_67
for far user m i Computing resources required to compute a one-bit input bit;
setting up
Figure QLYQS_68
Far user m i The maximum number of computational tasks to be processed relayed to near user i in the nth time slot, near user i unloading from far user m in the nth time slot i The number of the maximum to-be-processed computing tasks of the near user i unloading itself in the nth time slot is respectively as follows:
Figure QLYQS_69
Figure QLYQS_70
Figure QLYQS_71
[x] + =max{x,0},
Figure QLYQS_72
3.5 Iterative updating of the dual variables β, λ and η) based on the algorithm of the secondary gradient:
Figure QLYQS_73
Figure QLYQS_74
Figure QLYQS_75
where j is the iteration index variable of the secondary gradient algorithm iteration,
Figure QLYQS_76
and->
Figure QLYQS_77
Represents the jth iteration step, respectively, of obtaining the dual variables β, λ and η, +.>
Figure QLYQS_78
f i,u,j-1 [n]And->
Figure QLYQS_79
Respectively is
Figure QLYQS_80
Figure QLYQS_81
f i,u [n]And->
Figure QLYQS_82
Variable values of the corresponding j-1 th iteration;
3.6 Repeating the steps 3.2) to 3.5) until the objective function value of the sub-problem meets the set iteration termination precision, and obtaining optimal F and L after iteration termination;
4) Inputting and optimizing an initial model of an unmanned aerial vehicle auxiliary moving edge computing system by using the optimal ground user, the CPU computing frequency F of the unmanned aerial vehicle and the total number L of the to-be-processed computing tasks relayed and unloaded by the ground user until the set convergence condition is met, and outputting an optimal unmanned aerial vehicle flight track U; comprising the following steps:
4.1 Inputting the optimal ground user and the CPU calculation frequency F of the unmanned aerial vehicle and the total number L of the to-be-processed calculation tasks relayed and unloaded by the ground user into an initial model of the unmanned aerial vehicle auxiliary mobile edge calculation system:
Figure QLYQS_83
s.t.C8,C9 and C12;
4.2 The flight energy consumption of the unmanned aerial vehicle is as follows:
Figure QLYQS_84
due to u [ n ]]Is non-convex with respect to the equation, so introduces a relaxation variable
Figure QLYQS_85
To obtain E fly [n]Upper bound of (2):
Figure QLYQS_86
the added constraint translates into the following form:
Figure QLYQS_87
wherein u is (r) [n]Is a local point of the flight path of the unmanned aerial vehicle;
in step 4.1), updating an initial model of the unmanned aerial vehicle auxiliary mobile edge computing system as follows:
Figure QLYQS_88
s.t.C8,C9andC12,
C13:
Figure QLYQS_89
4.3 Using an initial unmanned aerial vehicle flight trajectory u [ n ]]As a local point, updating the iterative unmanned aerial vehicle track u [ n ] based on the interior point method]Until the convergence accuracy of the interior point method meets the set convergence accuracy
Figure QLYQS_90
Obtain the optimal unmanned plane flight track U
5) Inputting the optimal F, L and U obtained in the step 3) and the step 4) into a minimum objective function of an initial model of an unmanned aerial vehicle auxiliary moving edge computing system to obtain a value E ζ
6) Updating the iteration number variable ζ=ζ+1;
7) Substituting the optimal unmanned aerial vehicle flight track U into the step 3), and repeating the steps 3) to 6) until the initial model of the unmanned aerial vehicle auxiliary movement edge computing system meets the convergence condition
Figure QLYQS_91
The iteration is terminated, and an unmanned aerial vehicle auxiliary mobile edge computing system model is obtained;
based on unmanned aerial vehicle auxiliary mobile edge computing system model, optimal number of remote users m i And unloading the to-be-processed calculation tasks relayed to the near user i and the optimal number of to-be-processed calculation tasks of the near user i to the unmanned aerial vehicle for calculation.
2. The unmanned aerial vehicle assisted mobile edge computing system optimization method based on user collaboration according to claim 1, wherein step 3.3) comprises:
3.3.1 The solution of the neutron problem is constrained by equations C4-C7 and step 3.4), and is obtained
Figure QLYQS_92
And
Figure QLYQS_93
different expressions relating to values;
and (3) with
Figure QLYQS_94
The different expressions relating to the values are:
Figure QLYQS_95
and (3) with
Figure QLYQS_96
The different expressions relating to the values are:
Figure QLYQS_97
and (3) with
Figure QLYQS_98
The different expressions relating to the values are:
Figure QLYQS_99
3.3.2 Given lambda, combine
Figure QLYQS_100
Scope of->
Figure QLYQS_101
Figure QLYQS_102
The range of the obtained dual variable ρ is:
Figure QLYQS_103
when ρ is i Given, the range of binary search for the dual variable ζ is:
Figure QLYQS_104
wherein ρ is i,min As a dual variable ρ i Minimum value ρ of i,max As a dual variable ρ i Is set at the maximum value of (c),
Figure QLYQS_105
in the case of n=1
Figure QLYQS_106
A value; when the binary search is terminated, the result is at a given ρ i Corresponding xi under the condition of (2) i Values such that
Figure QLYQS_107
Continuously binary search ρ i And iterate the corresponding ζ i Values such that
Figure QLYQS_108
When the binary search method converges, a dual variable rho is obtained i And xi i Is the optimum value of (2);
3.3.3 Given beta), binding
Figure QLYQS_109
Scope of->
Figure QLYQS_110
Figure QLYQS_111
The range of the binary variable mu binary search is:
Figure QLYQS_112
when the binary search converges, a dual variable mu is obtained i Is the optimum value of (3):
Figure QLYQS_113
3.3.4 Given η and β), combined
Figure QLYQS_114
Scope of->
Figure QLYQS_115
Figure QLYQS_116
The range of obtaining the binary variable omega binary search is as follows:
Figure QLYQS_117
when the binary search method converges, the dual variable omega is obtained i Is the optimum value of (3):
Figure QLYQS_118
CN202210054248.0A 2022-01-18 2022-01-18 Unmanned aerial vehicle auxiliary mobile edge computing system optimization method based on user cooperation Active CN114500533B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210054248.0A CN114500533B (en) 2022-01-18 2022-01-18 Unmanned aerial vehicle auxiliary mobile edge computing system optimization method based on user cooperation

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210054248.0A CN114500533B (en) 2022-01-18 2022-01-18 Unmanned aerial vehicle auxiliary mobile edge computing system optimization method based on user cooperation

Publications (2)

Publication Number Publication Date
CN114500533A CN114500533A (en) 2022-05-13
CN114500533B true CN114500533B (en) 2023-06-23

Family

ID=81511762

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210054248.0A Active CN114500533B (en) 2022-01-18 2022-01-18 Unmanned aerial vehicle auxiliary mobile edge computing system optimization method based on user cooperation

Country Status (1)

Country Link
CN (1) CN114500533B (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112995913A (en) * 2021-03-08 2021-06-18 南京航空航天大学 Unmanned aerial vehicle track, user association and resource allocation joint optimization method
CN113282352A (en) * 2021-06-02 2021-08-20 南京邮电大学 Energy-saving unloading method based on multi-unmanned aerial vehicle cooperative auxiliary edge calculation

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112995913A (en) * 2021-03-08 2021-06-18 南京航空航天大学 Unmanned aerial vehicle track, user association and resource allocation joint optimization method
CN113282352A (en) * 2021-06-02 2021-08-20 南京邮电大学 Energy-saving unloading method based on multi-unmanned aerial vehicle cooperative auxiliary edge calculation

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
Cooperative offloading and resource management for UAV-Enabled mobile edge computing in power IoT system;Yi Liu, etc.;《IEEE》;第12229-12239页 *

Also Published As

Publication number Publication date
CN114500533A (en) 2022-05-13

Similar Documents

Publication Publication Date Title
Cao et al. Mobile edge computing for cellular-connected UAV: Computation offloading and trajectory optimization
CN108924936B (en) Resource allocation method of unmanned aerial vehicle-assisted wireless charging edge computing network
CN111552313B (en) Multi-unmanned aerial vehicle path planning method based on edge calculation dynamic task arrival
CN113377533B (en) Dynamic computing unloading and server deployment method in unmanned aerial vehicle assisted mobile edge computing
CN113905347B (en) Cloud edge end cooperation method for air-ground integrated power Internet of things
CN111629443B (en) Optimization method and system for dynamic spectrum slicing frame in super 5G Internet of vehicles
CN115827108B (en) Unmanned aerial vehicle edge calculation unloading method based on multi-target deep reinforcement learning
CN108667504A (en) A kind of unmanned vehicle relay system distributed resource optimization method based on alternating direction multipliers method
Zhang et al. Efficient multitask scheduling for completion time minimization in UAV-assisted mobile edge computing
Hu et al. Task and bandwidth allocation for UAV-assisted mobile edge computing with trajectory design
CN113627013B (en) System throughput maximization method based on unmanned aerial vehicle binary unloading edge calculation
Hwang et al. Deep reinforcement learning approach for uav-assisted mobile edge computing networks
Wu et al. Deep reinforcement learning for computation offloading and resource allocation in satellite-terrestrial integrated networks
CN114500533B (en) Unmanned aerial vehicle auxiliary mobile edge computing system optimization method based on user cooperation
CN116366127A (en) Task completion rate maximization method for unmanned aerial vehicle auxiliary multi-MEC server
Sun et al. Three-dimensional trajectory design for energy-efficient UAV-assisted data collection
CN116880923A (en) Dynamic task unloading method based on multi-agent reinforcement learning
CN116723548A (en) Unmanned aerial vehicle auxiliary calculation unloading method based on deep reinforcement learning
CN116321181A (en) Online track and resource optimization method for multi-unmanned aerial vehicle auxiliary edge calculation
Zhang et al. Joint optimization of uav trajectory and relay ratio in uav-aided mobile edge computation network
CN114980205A (en) QoE (quality of experience) maximization method and device for multi-antenna unmanned aerial vehicle video transmission system
CN113950059A (en) Method and system for assisting user task unloading through unmanned aerial vehicle relay
CN116339994A (en) Optimization method of unmanned aerial vehicle auxiliary mobile edge computing system based on user cooperation and wireless power transmission
CN115529655B (en) Air-ground energy balance method and device in 3D unmanned aerial vehicle mobile edge computing network
Liao et al. Cooperative UAV-USV MEC Platform for Wireless Inland Waterway Communications

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant