Anti-eavesdropping energy efficiency optimization method in reconfigurable intelligent surface-assisted unmanned aerial vehicle edge computing network
By introducing reconfigurable intelligent surfaces into the UAV edge computing network and using a deep deterministic policy gradient algorithm to optimize UAV trajectories and reflection phase shifts, the problem of eavesdropping effects in UAV communications is solved and efficient reflection is achieved. Eavesdropping on communications.
Patent Information
- Application Number
- CN202410792521.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-19
- Publication Date
- 2024-10-11
AI Technical Summary
In 6G wireless communication scenarios, drone communications are easily affected by eavesdropping, resulting in data loss and network communication quality degradation. Especially during non-line-of-sight link transmission, channel fading and transmission energy consumption increase, making it difficult to meet the high demand for data transmission environments. .
By introducing reconfigurable smart surfaces into the UAV edge computing network, combined with the Deep Deterministic Policy Gradient algorithm, the UAV trajectory and the reconfigurable smart surface reflection phase shift are jointly optimized to maximize reflection. Tapping energy efficiency.
It effectively reduces UAV flight energy consumption, improves anti-eavesdropping throughput, and maximizes the energy efficiency of UAV communication systems.
Smart Images

Figure CN118764869A_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of wireless networks and relates to an anti-eavesdropping energy efficiency optimization method in a reconfigurable intelligent surface-assisted unmanned aerial vehicle edge computing network. Background Art
[0002] In recent years, drone communications based on 6G scenarios have attracted great attention. Many studies have focused on the application and analysis of drone-assisted multi-scenario edge computing network communications. Due to their portability and flexibility, drones are often used as communication carriers in 6G wireless communication scenarios to provide effective signal and data transmission for ground mobile terminal devices. However, considering that there are lurking eavesdroppers in most communication scenarios, for line-of-sight communication transmission, it is easy to cause data loss from drones to ground mobile terminals during eavesdropping, and affect the network communication of drones. At the same time, due to the obstruction of ground obstacles, for non-line-of-sight link communication transmission, the channel fading of drone transmission to ground mobile terminals will gradually increase, which will lead to increased transmission delay and increased transmission energy consumption.
[0003] As a signal reflection device, the Reconfigurable Intelligent Surface (RIS) can provide a large amount of channel compensation for the UAV edge computing network, and help the UAV to combat channel fading when blocked by obstacles. Since the phase shift of the reconfigurable intelligent surface can be adjusted in real time, it can better reflect the transmission signal of the UAV and help the transmission signal avoid eavesdroppers. And because the reconfigurable intelligent surface has a large number of reflection units, it can increase the signal coverage range and improve the signal transmission quality of air-to-ground communication.
[0004] As the number of ground mobile terminal devices increases day by day, the demand for transmission quality of network communications is also increasing. The current single drone edge computing network system is difficult to meet the current data transmission environment, and the large-scale use of reconfigurable smart surfaces to assist drone edge computing network anti-eavesdropping communications is imperative. In the foreseeable future, the demand for data communication volume and the number of connected users for drone anti-eavesdropping communications will surge. When eavesdroppers are lurking and network communication and computing power are limited, how to effectively design the drone flight trajectory and the reflection phase shift of the reconfigurable smart surface to maximize the anti-eavesdropping transmission energy efficiency of the entire network is a problem worth studying.
[0005] In view of the above considerations, the present invention provides an anti-eavesdropping energy efficiency optimization method in a reconfigurable intelligent surface-assisted UAV edge computing network. Summary of the invention
[0006] The technical problem to be solved by the present invention is to provide a method for optimizing the anti-eavesdropping energy efficiency in a reconfigurable smart surface-assisted UAV edge computing network. The goal is to maximize the anti-eavesdropping energy efficiency by jointly optimizing the UAV trajectory and the reconfigurable smart surface reflection phase shift.
[0007] The technical solution of the invention is as follows:
[0008] A method for optimizing the anti-eavesdropping energy efficiency in a reconfigurable smart surface-assisted UAV edge computing network is proposed. First, a UAV edge computing network communication system containing a reconfigurable smart surface is constructed. The system consists of a UAV, K ground mobile terminals, an illegal eavesdropper, and a RIS with M reflection units. Then, the problem model P1 is established and the optimization variables of the problem model P1 are defined. With the goal of optimizing the anti-eavesdropping energy efficiency, a solution method Secure-DDPG based on Deep Deterministic Policy Gradient is proposed, and the UAV trajectory and RIS phase shift are jointly solved. Finally, the UAV anti-eavesdropping energy efficiency is calculated and whether it converges is determined.
[0009] The present invention proposes a method for optimizing anti-eavesdropping energy efficiency in a reconfigurable intelligent surface-assisted UAV edge computing network, and the specific steps are as follows:
[0010] 1. Construct a mathematical model for anti-eavesdropping communication transmission in a reconfigurable smart surface-assisted UAV edge computing network. The steps are as follows:
[0011] A reconfigurable intelligent surface-assisted anti-eavesdropping energy efficiency optimization method in UAV edge computing network is proposed. Firstly, a UAV edge computing network communication system including RIS is constructed. The system consists of a UAV, K ground mobile terminals, an illegal eavesdropper, and a RIS with M reflection units. The set of ground mobile terminals is D i ={1...,i,...K}; All ground mobile terminals and illegal eavesdroppers are equipped with antennas that can receive the downlink transmission signals of drones. There are two ways for drones to transmit signals to ground mobile terminals: one is to transmit signals directly to ground mobile terminals, and the second is to transmit signals to RIS and then reflect the signals to ground mobile terminals through RIS. There are also two ways for eavesdroppers to eavesdrop on signals: the first is to directly eavesdrop on the signal transmission process of drones, and the second is to eavesdrop indirectly on the signals reflected from RIS.
[0012] The position of each element is represented by a 3D Cartesian coordinate system, where the plane area of the UAV communication scene is represented as [0, X max ]∪[0,Y max], which means that when the drone is flying, it cannot exceed the given range of the communication scene. The position of each ground mobile terminal is expressed as The position of RIS is expressed as [x RIS ,y RIS ,h RIS ] T , the position of the eavesdropper lurking in the scene is represented as w Eve =[x Eve ,y Eve ] T Since the movement trajectory of the UAV is real-time, the position of the UAV in time slot n is expressed as [x UAV [n],Y UAV [n],h UAV ] T .
[0013] S1-1 uses coordinate relationship to represent the distance between elements
[0014] At time slot n, the distance between the UAV and the i-th ground mobile terminal is shown in (1)
[0015]
[0016] At time slot n, the distance between the drone and the illegal eavesdropper is shown in (2)
[0017]
[0018] At time slot n, the distance between the UAV and the RIS is shown in (3)
[0019]
[0020] The distance between the reconfigurable reflective surface and the i-th ground mobile terminal device is shown in (4)
[0021]
[0022] The distance between RIS and the eavesdropper is shown in (5)
[0023]
[0024] S1-2 Building UAV communication channel
[0025] Generally, in the scenario of reconfigurable smart surface assisted UAV communication, when the UAV communicates with the ground mobile terminal, there are two cases: one is that the UAV transmits the signal to the RIS, and the RIS reflects the signal to the ground mobile terminal, and the other is that the UAV directly transmits the signal to the ground mobile terminal. For the first case, in time slot n, when the UAV signal is transmitted to the RIS, the channel gain is shown as (6),
[0026]
[0027] Where ∈ represents the path loss parameter when the reference distance is 1m, and They represent the cosine and sine of the horizontal angle of arrival (Angle of Arrival) of the signal at the RIS respectively. represents the sine value of the vertical arrival angle of the signal at the RIS, λ represents the carrier wavelength, d r represents the row length of the reflection unit in RIS, d c Represents the column length of the reflection unit in RIS, represents the Kronecker product of the channel between the UAV and RIS.
[0028] Subsequently, when the signal is reflected by the RIS to the i-th ground mobile terminal, the corresponding channel gain is shown in (7),
[0029]
[0030] Among them, the variables ∈, λ, d r , d c The same meaning as the above expression (6), and They respectively represent the cosine and sine of the horizontal angle of arrival (Angle ofArrival) of the signal at the i-th ground mobile terminal. represents the sine value of the vertical arrival angle of the signal at the i-th ground mobile terminal, Represents the Kronecker product of the channel between the RIS and the ground mobile terminal.
[0031] In summary, in time slot n, when the signal is transmitted from the UAV to the RIS and then reflected by the RIS to the i-th ground mobile terminal, the corresponding total channel gain is shown in (8):
[0032]
[0033] Among them, a represents the environmental parameter, Represents the reflection phase shift array of RIS, and the phase shift parameter
[0034] For the second case, in time slot n, the UAV directly transmits signals to the i-th ground mobile terminal. The blocking probability between the UAV and the i-th ground mobile terminal is shown in (9):
[0035]
[0036] Where a and b represent environmental parameters respectively.
[0037] In summary of the above two cases, in time slot n, the average channel gain between the UAV and the i-th ground mobile terminal is shown in (10),
[0038]
[0039] According to Shannon's formula, in time slot n, the transmission rate between the UAV and the i-th ground mobile terminal is shown in (11),
[0040]
[0041] Where B represents the transmission bandwidth, P UAV represents the transmission power of the UAV, and σ represents the noise constant in the edge computing network communication environment.
[0042] In addition, when an eavesdropper lurks in the scenario of reconfigurable smart surface-assisted UAV communication, the eavesdropping process can be divided into two cases: one is to eavesdrop on the UAV's direct signal transmission to the ground mobile terminal, and the other is to eavesdrop on the reflected UAV signal indirectly through RIS. For the first case, in time slot n, when the eavesdropper directly eavesdrops on the UAV's signal, its channel gain is shown as (12),
[0043]
[0044] where p Eve [n] represents the blocking probability between the drone and the eavesdropper in time slot n, as shown in (13),
[0045]
[0046] For the second case, when the eavesdropper indirectly eavesdrops on the reflected drone signal through RIS, the channel gain is shown in (14),
[0047]
[0048] Where, ∈ represents the path loss parameter when the reference distance is 1m, and They represent the cosine and sine of the horizontal arrival angle between the signal reflected by RIS and the eavesdropper, respectively. represents the sine value of the vertical arrival angle of the signal at the eavesdropper, λ represents the carrier wavelength, d r represents the row length of the reflection unit in RIS, d c Represents the column length of the reflection unit in RIS, Represents the Kronecker product of the channel between the eavesdropper and the RIS.
[0049] In summary, in time slot n, when the eavesdropper performs eavesdropping, the average channel gain is shown in (15),
[0050]
[0051] where g URE [n] = a(g RE ) T ·Θ[n]·g RE [n], variable a, Θ[n] have the same meanings as in the above expression (8).
[0052] According to Shannon's formula, the rate at which the eavesdropper performs the eavesdropping process in time slot n is shown in (16),
[0053]
[0054] Where B, σ, P UAV The meaning of is the same as that of expression (11).
[0055] S1-3 UAV flight energy consumption analysis
[0056] When the UAV generates actions and flies through the deep reinforcement learning algorithm, it will generate flight energy consumption, and its energy consumption is shown in (17).
[0057]
[0058] Among them, t u [n] represents the flight time of the UAV, P0 and P1 represent the correction parameters of the UAV flight, U tip represents the speed of the rotor blade tip, d0 represents the main drag ratio, ρ represents the air density, s represents the rotor solidity, G represents the area of the UAV rotor disk, v0 represents the average rotor induced speed during hovering, and v h [n]=||q[n]-q[n-1]|| represents the flight speed of the drone.
[0059] S1-4 Problem Description
[0060] The trajectory of the UAV and the RIS phase shift are jointly optimized to maximize the energy efficiency of the UAV's anti-eavesdropping communication to all ground mobile terminal networks. The problem is described as follows:
[0061]
[0062] q[0]=q I ,q[n]=q F (18d)
[0063] 0≤x UAV [n]≤X max (18e)
[0064] 0≤y UAV [n]≤Y max (18f)
[0065] Formula (18a) is the objective function, where represents the optimization variable, q[n] represents the position of the UAV in time slot n, represents the RIS phase shift at time slot n.
[0066] Equation (18b) expresses the constraint that the phase shift in the RIS circuit should be between -π and π.
[0067] Formula (18c) indicates that the maximum moving distance of the UAV in time slot n does not exceed the given constraint
[0068] Formula (18d) represents the constraints on the starting point and end point of the UAV flight.
[0069] Formula (18e) indicates that the UAV cannot fly beyond the range specified by the x-axis in the communication scenario in time slot n.
[0070] Formula (18f) indicates that the drone cannot fly beyond the range specified by the y-axis in the communication scenario in time slot n.
[0071] 2. For the problem model P1, the present invention proposes a solution method Secure-DDPG based on Deep Deterministic Policy Gradient (DDPG) to solve the trajectory and RIS phase shift of the drone.
[0072] S2-1 determines the three elements of Secure-DDPG: state, action, and reward. The steps are as follows:
[0073] System state S: S[n] represents the system state of the nth round, which contains the four-tuple: S[n] = {S Q ,S GD ,S Eve ,S RIS}, where S Q =q[n]=[x UAV [n],y UAV [n],h UAV ] T represents the position of the drone in time slot n, represents the position of the i-th ground mobile terminal, S Eve =w Eve =[x Eve ,y Eve ] T represents the location of the eavesdropper, SRIS =w RIS =[x RIS ,y RIS ,h RIS ].
[0074] System action A: A[n] represents the system action in round n, which contains the tuple: A[n] = {a[n], a θ}, where a[n]={a x [n],a y [n]} represents the movement of the drone in the x and y coordinate directions in time slot n, but the drone can only choose one action in each time slot. Indicates that in time slot n, a reflection parameter in the range of [-π,π) is selected.
[0075] System reward R: R(S[n], A[n]) represents the reward obtained by the system in the nth round. The present invention uses the anti-eavesdropping energy efficiency of the nth time slot as an immediate reward (or single-step reward), which is expressed as:
[0076]
[0077] The instant reward for each round is obtained by substituting the system action of that round plus the system state into R(S[n],A[n]).
[0078] S2-2 Constructing the Neural Network of the Secure-DDPG Method
[0079] The algorithm structure Actor contains two neural networks. One is the Actor network that inputs the current state S[n] and outputs the training strategy μ. The output μ will be used together with the Q value output by the Critic network to update the parameter network of the Actor neural network, where θ μ Expressed as the parameters of the Actor network, the update expression of the Actor network is:
[0080]
[0081] in Represents the gradient of the Critic network to the action, Represents the gradient of the Actor network. Using the Actor-target network, input the next state S[n+1] to output the next predicted strategy μ'.
[0082] The algorithm structure Critic contains two neural networks. The error value used is TD-error (the immediate reward after taking the action + the state value function after taking the action - the state value function at the current moment), that is, R(S[n],A[n])+S[n+1]-S[n]. V represents the expected Q value, where θQ Represents the parameters of the Critic network, and the TD-error formula is expressed as:
[0083] δ θ =R(S[n],A[n])+γV θ (S[n+1])-V θ (S[n]) (21)
[0084] Contains the output action-value function Q μ Critic network, where Q μ The value is expressed using the Bellman optimal equation:
[0085] Q μ (S[n],A[n])=E[R(S[n],A[n])+γQ μ (S[n+1],μ[n+1])] (22)
[0086] Update expression of critic network
[0087]
[0088] Where H represents the amount of sampled data. Represents the gradient of the Critic network.
[0089] Critic-target network, whose output is Q μ' It is used to calculate the target value, where the calculation expression of the target value y[k] is shown in (24)
[0090]
[0091] S2-3 The process of solving problem P1:
[0092] S2-3-1 Before jointly solving the UAV trajectory and RIS phase shift, the initial values of the neural network and the number of iterations of the Secure-DDPG method are set:
[0093] Initialization: Random initialization with parameter Q μ and θ Q The network Q(S,A|θ Q ) and μ(S|θ), and update the corresponding target function Q'(S,A|θ Q‘ ) and μ'(S|θ μ' ), initialize episode = 1, and the number of steps per round is t = 1. Set the maximum number of rounds of convergence to episode max =600.
[0094] Data sampling: Since the Secure-DDPG method adopted by the present invention has multiple actions, multiple variables are output as binary groups in each round, A[n] is used to represent the system action of the nth round, and the action decision of the next round is updated.
[0095] In the current round, the algorithm's neural network executes action A[n] based on the current state S[n] and the output value (strategy) μ predicted by the Actor network, and puts the current state, action, reward, next state and flag into the experience replay buffer, where flag is the count. If flag is greater than episode max =600, the solution ends.
[0096] During the iterative solution process of S2-3-2, the neural network parameters are updated and the actions are explored:
[0097] Network update: Randomly sample a batch of data from the experience replay buffer to update the four networks of Critic, Actor, Critic-target, and Actor-target in the algorithm, and use the Critic network to calculate the Q of the next state. μ (S[n+1], A[n+1]) value, and the Q of the current state μ (S[n], A[n]) value. And calculate TD-error, and use TD-error to update the parameters θ of the Critic network Q , and then use the gradient of the Critic network to update the Actor network, and use the soft update method to update the parameters θ of the Critic-target and Actor-target respectively Q’ and θ μ' , that is, θ Q' =δθ Q +(1-δ)θ Q' ,θ μ' =δθ μ +(1-δ)θ μ' .
[0098] Loop: Update the state to the next state and repeat the above three steps. If the termination condition is reached, the loop will be exited. Finally, the learned network parameters of Critic and Actor and the optimized variables obtained by training are returned. In order to optimize the training effect, random noise is introduced into the action decision mechanism, thereby turning the action decision into a random process. Then, the action issued to the environment is sampled from the process to obtain the experience playback data for the next batch of training, which is used to train the strategy μ.
[0099] 3. Based on the UAV trajectory q[n] obtained in step 2 and the RIS phase shift Calculate the anti-eavesdropping energy efficiency of the drone and determine whether it converges:
[0100] S3-1 first calculates the throughput between the drone and the ground mobile terminal in time slot n, the eavesdropping throughput between the drone and the illegal eavesdropper in time slot n, and the flight energy consumption of the drone in time slot n, and then calculates the anti-eavesdropping energy efficiency η of time slot n sec , and finally calculate the total anti-eavesdropping energy efficiency of N time slots.
[0101] S3-2 If the drone exceeds the established anti-eavesdropping communication scenario space, that is, x UAV [n]>X MAX or UAV [n]>Y MAX , then the penalty function Penalty will be called to make R(S[n],A[n])-Penalty, and the drone will be put back into the anti-eavesdropping communication scene space [0,X max ]∪[0,Y max ]Inside.
[0102] S3-3 determines whether the drone has reached the destination. If the drone has reached the destination, S Q =q F , then the loop iteration ends. If the drone does not reach the end point, that is, S Q ≠q F , then jump to step 2 to continue solving.
[0103] Beneficial Effects
[0104] The present invention designs a reconfigurable smart surface-assisted anti-eavesdropping energy efficiency optimization method in the edge computing network of unmanned aerial vehicles. The trajectory of the unmanned aerial vehicle and the reflection phase shift of the reconfigurable smart surface are effectively obtained, thereby reducing the flight energy consumption of the unmanned aerial vehicle, improving the anti-eavesdropping throughput, and maximizing the anti-eavesdropping energy efficiency of the unmanned aerial vehicle. BRIEF DESCRIPTION OF THE DRAWINGS
[0105] Figure 1 It is a schematic diagram of the scene model of the present invention;
[0106] Figure 2 The flowchart of solving the UAV trajectory and the reflection phase shift of the reconfigurable smart surface proposed by the present invention;
[0107] Figure 3 The Secure-DDPG neural network training flow chart proposed by the present invention; DETAILED DESCRIPTION
[0108] The present invention will be further described in detail below with reference to the accompanying drawings and specific embodiments:
[0109] Embodiment 1:
[0110] L1. Figure 1 The schematic diagram of the anti-eavesdropping communication scenario in the reconfigurable intelligent surface-assisted UAV edge computing network is shown in Figure 1. The model includes a UAV, a reconfigurable intelligent surface (RIS) mounted on a building, multiple ground mobile terminals, and a ground eavesdropper. The number of ground mobile terminals is set to K = 10, and the spatial range of the communication scenario (in meters) is defined as X max =20,Y max = 20. The position of the eavesdropper (in meters) is set to w Eve =[15.75,3.57]. The starting position of the drone (in meters) is set to q I = [0,0,30], the end point position (in meters) is set to q F = [20, 20, 30], the position of RIS (in meters) and the reflection phase shift are initialized as: w RIS =[20,13.5,10], In addition, for the UAV edge computing network communication process, the path loss parameter at a reference distance of 1m is defined as ∈ = 10 -3 dB, the environmental parameters are set to a = 10 dB, b = 0.2 dB, the Gaussian noise parameter is set to σ = -170 dBm / Hz, the communication bandwidth is set to B = 2 MHz, and the UAV communication transmission power is set to P UAV =1.5W, the number of reflection units of RIS is M=50. For the UAV flight process, the rotor solidity is set to s=0.05, the air density is set to ρ=1.225, the rotor disc area is set to G=0.503, and the flight correction parameters of the UAV are set to For the Secure-DDPG method, the maximum number of iterations is set to episode max =600, the experience replay cache size is set to 3200, the number of training batch samples is set to 128, the discount factor is set to γ=0.01, and the soft update coefficient is set to δ=0.01.
[0111] L1-1. Randomly distribute the positions of ground mobile terminals in a given communication space. The position of each ground mobile terminal (unit: m) is shown in Table 1:
[0112] Table 1 Location of mobile terminals on the ground (unit: m)
[0113] Ground mobile terminal x y Ground mobile terminal x y GD1 3.15 4.2 GD6 11.97 13.23 GD2 3.57 4.62 GD7 12.6 15.12 GD3 6.3 7.35 GD8 13.23 14.49 GD4 5.46 11.76 GD9 14.07 15.12 GD5 11.76 7.98 GD10 15.75 17.22
[0114] L2-1. The action space A[n] of the Secure-DDPG method includes the flight parameters of the drone (initial coordinates, maximum speed, movement, etc.) and the reflection parameters of the RIS. The state space S[n] includes the positions of the drone, the ground mobile terminal, the eavesdropper, and the RIS, that is, {S Q ,S GD ,S Eve ,S RIS}, anti-eavesdropping energy efficiency η sec , and then the joint iterative solution of the UAV trajectory and the RIS phase shift is performed. For the Secure-DDPG method, the steps are as follows:
[0115] Initialization: Random initialization with parameters θ μ and θ Q The network Q(S,A|θ Q ) and μ(S|θ μ ), and update the corresponding target function Q'(S,A|θ Q‘ ) and μ'(S|θ μ' ), initialize episode = 1, and the number of training steps per round is t = 1. Set the maximum number of training rounds to episode max =600.
[0116] Data sampling: Since the Secure-DDPG method adopted by the present invention has multiple actions, multiple variables are output as binary pairs in each round, A[n] is used to represent the system action of the kth round, and the action decision of the next round is updated.
[0117] In the current round, the algorithm's neural network executes action A[n] based on the current state S[n] and the output value (strategy) μ predicted by the Actor network, and puts the current state, action, reward, next state and flag into the experience replay buffer, where flag is a counter. If flag is greater than 600, training terminates.
[0118] Network update: Randomly sample a batch of data from the experience replay buffer to update the four networks of Critic, Actor, Critic-target, and Actor-target in the algorithm, and use the Critic network to calculate the Q of the next state. μ (S[n+1], A[n+1]) value, and the Q of the current state μ (S[n], A[n]) value. And calculate TD-error, and use TD-error to update the parameters θ of the Critic network Q , and then use the gradient of the Critic network to update the Actor network, and use the soft update method to update the parameters θ of the Critic-target and Actor-target respectivelyQ' and θ μ' , that is, θ Q' =δθ Q +(1-δ)θ Q' ,θ μ' =δθ μ +(1-δ)θ μ' .
[0119] Loop: Update the state to the next state and repeat the above three steps. If the termination condition is reached, the loop will be exited. Finally, the learned network parameters of Critic and Actor and the optimized variables obtained by training are returned. In order to optimize the training effect, random noise is introduced into the action decision mechanism, thereby turning the action decision into a random process. Then, the action issued to the environment is sampled from the process to obtain the experience playback data for the next batch of training, which is used to train the strategy μ.
[0120] L2-2. The UAV trajectory and RIS are jointly solved. During the solution process, the flight action of the UAV at time slot n, the position of the UAV at time slot n, and the phase shift of the RIS at time slot n are shown in Table 2, Table 3, and Table 4 respectively:
[0121] Table 2 UAV flight actions in time slot n
[0122]
[0123]
[0124] Table 3 UAV position in time slot n (unit: m)
[0125] Time slot <![CDATA[x UAV ]]> <![CDATA[y UAV ]]> <![CDATA[h UAV ]]> Time slot <![CDATA[x UAV ]]> <![CDATA[y UAV ]]> <![CDATA[h UAV ]]> n=1 1 0 30 n=21 10 11 30 n=2 1 1 30 n=22 10 12 30 n=3 2 1 30 n=23 10 13 30 n=4 2 2 30 n=24 11 14 30 n=5 2 3 30 n=25 11 15 30 n=6 2 4 30 n=26 11 15 30 n=7 3 4 30 n=27 12 15 30 n=8 3 5 30 n=28 13 15 30 n=9 4 5 30 n=29 14 15 30 n=10 5 5 30 n=30 15 15 30 n=11 6 5 30 n=31 16 15 30 n=12 6 6 30 n=32 17 15 30 n=13 6 7 30 n=33 18 15 30 n=14 7 7 30 n=34 19 15 30 n=15 8 7 30 n=35 20 15 30 n=16 8 8 30 n=36 20 16 30 n=17 8 9 30 n=37 20 17 30 n=18 8 10 30 n=38 20 18 30 n=19 8 11 30 n=39 20 19 30 n=20 9 11 30 n=40 20 20 30
[0126] Table 4 RIS phase shift of time slot n
[0127]
[0128]
[0129] L3. During the solution process, according to the UAV position and RIS phase shift solved by Example L2, the transmission throughput of the UAV to the ground mobile terminal in time slot n, the throughput of the eavesdropper during the eavesdropping process, the flight energy consumption of the UAV, and the energy efficiency of the UAV anti-eavesdropping communication are calculated. After iterations of the Secure-DDPG method, the energy efficiency of the UAV anti-eavesdropping communication is converged, and the results of time slot n are shown in Tables 5, 6, 7, and 8:
[0130] Table 5 Transmission throughput from UAV to ground mobile terminal (unit: bit)
[0131]
[0132]
[0133] Table 6 The throughput of the eavesdropper during the eavesdropping process (unit: bit)
[0134]
[0135]
[0136] Table 7 Flight energy consumption of drones at each time slot (unit: J)
[0137]
[0138]
[0139] In summary, the anti-eavesdropping energy efficiency of the drone in the present invention is η sec =1.269328bit / J.
Claims
1. A method for optimizing anti-eavesdropping energy efficiency in a reconfigurable intelligent surface-assisted UAV edge computing network, comprising the following steps: Step 1: Construct a mathematical model P1 with anti-eavesdropping energy efficiency as the optimization goal; Step 2: Propose a Secure-DDPG method to iteratively solve the phase shift between the UAV trajectory and the RIS; Step 3: Determine whether the drone has reached the destination. If the drone has reached the destination, S Q =q F , then the step ends and the energy efficiency η of drone anti-eavesdropping is output sec , if the drone does not reach the destination, that is, S Q ≠q F , then jump back to step 2 until the drone reaches the end point; Step 1: Construct the drone anti-eavesdropping energy efficiency optimization problem model P1, the steps are as follows: For a UAV edge computing network communication system consisting of a UAV, a reconfigurable intelligent surface RIS mounted on a building, K ground mobile terminals and an illegal ground eavesdropper; define the optimization variables of the problem model P1, including the UAV, the reconfigurable intelligent surface RIS, multiple ground mobile terminals GD, and an illegal eavesdropper Eve; the position of RIS is fixed at w RIS =[x RIS ,y RIS ,h RIS ], the number of ground mobile terminals is i∈{1,...,k,...,K}, and the position of each ground mobile terminal is The eavesdropper's position is w Eve =[x Eve ,y Eve ], the initial position of the drone is q I With the end position q F , in m, RIS phase shift The number of reflection units inside RIS is m∈{1,...,M}, and the scene space range of anti-eavesdropping transmission communication in the UAV edge computing network is [0,X max ]∪[0,Y max ], the unit is m; since the drone is flying continuously, the total flight time is defined as T, and the total flight time is divided into N time slots; the movement of the drone in time slot n can be described in four directions (unit is m): a[n] = {a x [n],a y [n]}, where a x [n]∈{-x max ,x max }, indicating that the drone moves along the negative or positive direction of the x-axis, respectively, y [n]∈{-y max ,y max }, indicating that the UAV moves along the negative or positive direction of the y-axis, and the height generally remains unchanged; at the same time, the maximum flight speed of the UAV is defined as V max ; The positions of the drones in time slot n (in m) are: q[n] = {x UAV [n],y UAV [n],h UAV }and where a x [n] or a y [n] represents the movement of the drone in the coordinate direction; at the same time, the movement speed of the drone is defined as: The reflection parameters of RIS are described as and represents the RIS reflection phase shift; S1-1 The distance between the elements of the system At time slot n, the distance between the UAV and the i-th ground mobile terminal is shown in (1) At time slot n, the distance between the drone and the illegal eavesdropper is shown in (2) At time slot n, the distance between the UAV and the RIS is shown in (3) The distance between the reconfigurable reflective surface and the i-th ground mobile terminal device is shown in (4) The distance between RIS and the eavesdropper is shown in (5) S1-2 UAV communication channel model In the scenario of reconfigurable smart surface assisted UAV communication, when the UAV communicates with the ground mobile terminal, there are two cases: one is that the UAV transmits the signal to the RIS, and the RIS reflects the signal to the ground mobile terminal; the other is that the UAV directly transmits the signal to the ground mobile terminal. For the first case, in time slot n, when the UAV signal is transmitted to the RIS, the channel gain is shown as (6), Where ∈ represents the path loss parameter when the reference distance is 1m, and Respectively represent the cosine and sine values of the horizontal angle of arrival (Angle of Arrival) of the signal at RIS; represents the sine value of the vertical arrival angle of the signal at the RIS, λ represents the carrier wavelength, d r represents the row length of the reflection unit in RIS, d c Represents the column length of the reflection unit in RIS; represents the Kronecker product of the channel between the UAV and RIS; When the signal is reflected by the RIS to the i-th ground mobile terminal, the corresponding channel gain is shown in (7), Among them, the variables ∈, λ, d r , d c The same meaning as the above expression (6), and Respectively represent the cosine and sine of the horizontal angle of arrival (Angle of Arrival) of the signal at the i-th ground mobile terminal; represents the sine value of the vertical arrival angle of the signal at the i-th ground mobile terminal, represents the Kronecker product of the channel between the RIS and the ground mobile terminal; In summary, in time slot n, when the signal is transmitted from the UAV to the RIS and then reflected by the RIS to the i-th ground mobile terminal, the corresponding total channel gain is shown in (8): Among them, a represents the environmental parameter, Represents the reflection phase shift array of RIS, and the phase shift parameter For the second case, in time slot n, the UAV directly transmits signals to the i-th ground mobile terminal. The blocking probability between the UAV and the i-th ground mobile terminal is shown in (9): Among them, a and b represent environmental parameters respectively; In summary of the above two cases, in time slot n, the average channel gain between the UAV and the i-th ground mobile terminal is shown in (10), According to Shannon's formula, in time slot n, the transmission rate between the UAV and the i-th ground mobile terminal is shown in (11), Where B represents the transmission bandwidth, P UAV represents the transmission power of the UAV, σ represents the noise constant in the edge computing network communication environment; In addition, when an eavesdropper lurks in the scenario of reconfigurable smart surface-assisted UAV communication, the eavesdropping process can be divided into two cases: one is eavesdropping on the UAV’s direct signal transmission to the ground mobile terminal, and the other is that the eavesdropper indirectly eavesdrops on the reflected UAV signal through RIS. For the first case, in time slot n, when the eavesdropper directly eavesdrops on the UAV’s signal, its channel gain is shown in (12), where p Eve [n] represents the blocking probability between the drone and the eavesdropper in time slot n, as shown in (13), For the second case, when the eavesdropper indirectly eavesdrops on the reflected drone signal through RIS, the channel gain is shown in (14), Where, ∈ represents the path loss parameter when the reference distance is 1m, and represent the cosine and sine of the horizontal arrival angle between the signal reflected by the RIS and the eavesdropper, respectively; represents the sine value of the vertical arrival angle of the signal at the eavesdropper, λ represents the carrier wavelength, d r represents the row length of the reflection unit in RIS, d c Represents the column length of the reflection unit in RIS; represents the Kronecker product of the channel between the eavesdropper and the RIS; In summary, in time slot n, when the eavesdropper performs eavesdropping, the average channel gain is shown in (15), where g URE [n] = a(g RE ) T ·Θ[n]·g RE [n], variables a, Θ[n] have the same meanings as in the above expression (8); According to Shannon's formula, the rate at which the eavesdropper performs the eavesdropping process in time slot n is shown in (16), Where B, σ, P UAV The meaning of is the same as that of expression (11); S1-3 UAV flight energy consumption model When the UAV generates actions and flies through the deep reinforcement learning algorithm, it will generate flight energy consumption, and its energy consumption is shown in (17). Among them, t u [n] represents the flight time of the UAV, P0 and P1 represent the correction parameters of the UAV flight, U tip represents the speed of the rotor blade tip, d0 represents the main drag ratio, ρ represents the air density, s represents the rotor solidity, G represents the area of the UAV rotor disk, v0 represents the average rotor induced speed during hovering, and v h [n]=||q[n]-q[n-1]|| represents the flight speed of the drone; S1-4 Problem Description The trajectory of the UAV and the RIS phase shift are jointly optimized to maximize the energy efficiency of the UAV's anti-eavesdropping communication to all ground mobile terminal networks. The problem is described as follows: q[0]=q I ,q[N]=q F (18d) 0≤x UAV [n]≤X max (18e) 0≤y UAV [n]≤Y max (18f) Formula (18a) is the objective function, where represents the optimization variable, q[n] represents the position of the UAV in time slot n, represents the RIS phase shift at time slot n; Equation (18b) represents the constraint that the phase shift in the RIS circuit should be between -π and π; Formula (18c) indicates that the maximum moving distance of the UAV in time slot n does not exceed the given constraint Formula (18d) represents the constraints of the starting point and end point of the UAV flight; Formula (18e) indicates that the UAV cannot fly beyond the range specified by the x-axis in the communication scenario in time slot n; Formula (18f) indicates that the UAV cannot fly beyond the range specified by the y-axis in the communication scenario in time slot n; Step 2: To optimize the anti-eavesdropping energy efficiency, a solution method Secure-DDPG based on Deep Deterministic Policy Gradient (DeterministicPolicyGradient) is proposed. The steps are as follows: S2-1 determines the three elements of Secure-DDPG: state, action, and reward. The steps are as follows: System state S: S[n] represents the system state of the nth round, which contains the four-tuple: S[n] = {S Q ,S GD ,S Eve ,S RIS }, where S Q =q[n]=[x UAV [n],y UAV [n],h UAV ] T represents the position of the drone in time slot n, represents the position of the i-th ground mobile terminal, S Eve =w Eve =[x Eve ,y Eve ] T represents the location of the eavesdropper, S RIS =w RIS =[x RIS ,y RIS ,h RIS ]; System action A: A[n] represents the system action in round n, which contains the tuple: A[n] = {a[n], a θ }, where a[n]={a x [n],a y [n]} represents the movement of the drone in the x and y coordinate directions in time slot n, but the drone can only choose one action in each time slot; similarly, Indicates that in time slot n, a reflection parameter in the range of -π,π is selected; System reward R: R(S[n], A[n]) represents the reward obtained by the system in the nth round. The present invention uses the anti-eavesdropping energy efficiency of the nth time slot as an immediate reward (or single-step reward), which is expressed as: The instant reward for each round is obtained by substituting the system action of that round plus the system state into R(S[n], A[n]); S2-2 builds the neural network of the Secure-DDPG method. The steps are as follows: The algorithm structure Actor contains two neural networks. One is the Actor network that inputs the current state S[n] and outputs the training strategy μ. The output μ will be used together with the Q value output by the Critic network to update the parameter network of the Actor neural network, where θ μ Expressed as the parameters of the Actor network, the update expression of the Actor network is: in Represents the gradient of the Critic network to the action, Represents the gradient of the Actor network; using the Actor-target network, input the next state S[n+1] to output the next predicted strategy μ'; The algorithm structure Critic contains two neural networks. The error used is TD-error (the immediate reward after taking the action + the state value function after taking the action - the state value function at the current moment, that is, R(S[n], A[n])+S[n+1]-S[n], and V represents the expected Q value, where θ Q Represents the parameters of the Critic network, and the TD-error formula is expressed as: δ θ =R(S[n],A[n])+γV θ (S[n+1])-V θ (S[n]) (21) contains the Critic network that outputs the action value function Qμ, where the value of Qμ is expressed using the Bellman optimality equation: Q μ (S[n],A[n])=E[R(S[n],A[n])+γQ μ (S[n+1],μ[n+1])] (22) Update expression of critic network Where H represents the amount of sampled data. Represents the gradient of the Critic network; Critic-target network, whose output Qμ is used to calculate the target value, where the calculation expression of the target value y[k] is shown in (24) y[n]=R(S[n],A[n])+γQ μ’ (S[n+1],μ’(S[n+1]|θ Qμ’ )10 Q' )) (24) S2-3 The process of solving problem P1 is as follows: S2-3-1 Before jointly solving the UAV trajectory and RIS phase shift, the initial values of the neural network and the number of iterations of the Secure-DDPG method are set: Initialization: Random initialization with parameters θ μ and θ Q The network Q(S, A|θ Q ) and μ(S|θ μ ), and update the corresponding target function Q'(S, A|θ Q’ ) and μ'(S|θ μ’ ), initialize episode = 1, the number of steps per round is t = 1; set the maximum number of rounds of convergence to episode max =600; Data sampling: Since the Secure-DDPG method adopted by the present invention has multiple actions, multiple variables are output as binary groups in each round, A[n] is used to represent the system action of the nth round, and the action decision of the next round is updated; In the current round, the neural network executes action A[n] according to the current state S[n] and the output value (strategy) μ predicted by the Actor network, and puts the current state, action, reward, next state and flag into the experience replay buffer, where flag is the count. If flag is greater than episode max =600, the solution ends; During the iterative solution process of S2-3-2, the neural network parameters are updated and the actions are explored: Network update: Randomly sample a batch of data from the experience replay buffer to update the four networks of Critic, Actor, Critic-target, and Actor-target in the algorithm, and use the Critic network to calculate the Q of the next state. μ (S[n+1], A[n+1]) value, and the Q of the current state μ (S[n], A[n]) value; and calculate TD-error, and use TD-error to update the parameters θ of the Critic network Q , and then use the gradient of the Critic network to update the Actor network, and use the soft update method to update the parameters θ of the Critic-target and Actor-target respectively Q’ and θ μ’ , that is, θ Q’ =δθ Q +(1-δ)θ Q′ ,θ μ’ =δθ μ +(1-δ)θ μ’ ; Loop: Update the state to the next state and repeat the above three steps. If the termination condition is reached, jump out of the loop; finally, return the learned network parameters of Critic and Actor, as well as the optimized variables obtained through training. In order to optimize the training effect, random noise is introduced into the action decision mechanism, thereby turning the action decision into a random process. Then, the action issued to the environment is sampled from the process to obtain the experience playback data for the next batch of training, which is used to train the strategy μ; Step 3: Calculate the anti-eavesdropping energy efficiency of the drone and determine whether it converges. The steps are as follows: Based on the UAV trajectory q[n] obtained in step 2 and the RIS phase shift Calculate the anti-eavesdropping energy efficiency of the drone and determine whether it converges: S3-1 first calculates the throughput between the drone and the ground mobile terminal in time slot n, the eavesdropping throughput between the drone and the illegal eavesdropper in time slot n, and the flight energy consumption of the drone in time slot n, and then calculates the anti-eavesdropping energy efficiency η of time slot n sec ,Finally, the total anti-eavesdropping energy efficiency of N time slots is calculated; S3-2 If the drone exceeds the established anti-eavesdropping communication scenario space, that is, x UAV [n]>X MAX or UAV [n]>Y MAX , then the penalty function Penalty will be called to make R(S[n], A[n])-Penalty, and the drone will be put back into the anti-eavesdropping communication scene space [0, X max ]∪[0,Y max ]Inside; S3-3 determines whether the drone has reached the destination. If the drone has reached the destination, S Q =q F , then the loop iteration ends. If the drone does not reach the end point, that is, S Q ≠q F , then jump to step 2 to continue solving.
