Multi-unmanned aerial vehicle assisted MEC system safety communication energy efficiency optimization method enhanced by using air RIS
By introducing aerial intelligent reflective surfaces and deep reinforcement learning algorithms into the UAV MEC network, the ARIS hovering position and UAV flight trajectory are optimized, which solves the service quality and information security problems of traditional MEC networks in remote areas, and achieves efficient, Secure user information offloading and energy consumption management.
Patent Information
- Application Number
- CN202410599694.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-15
- Publication Date
- 2024-09-10
Smart Images

Figure CN118632298A
Abstract
Description
Technical Field
[0001] The present invention relates to a method for optimizing energy efficiency of secure communication of a multi-UAV-assisted MEC system enhanced by aerial RIS, and belongs to the technical field of wireless communication. Background Art
[0002] With the widespread use of the Internet of Things (IoT) and mobile devices, a large number of user equipment (UE) are connected to wireless networks and generate computationally intensive and delay-sensitive tasks on existing wireless communication networks. In many cases, delay requirements cannot be guaranteed. To address this problem, mobile edge computing (MEC) can help user terminals offload computing tasks to edge servers for execution, greatly reducing the computing burden while saving energy consumption of terminals and meeting strict delay requirements.
[0003] However, traditional MEC networks deploy edge servers and base stations at fixed locations on the ground, which has two major disadvantages. First, the quality of service cannot be guaranteed for terminals in remote areas or blocked by obstacles. Second, data transmission in ground-based MEC networks often suffers from significant signal attenuation, and the performance of uplink data transmission is often unsatisfactory. MEC networks supported by unmanned aerial vehicles (UAVs) can solve these problems well, because UAVs have controllable high maneuverability, can be flexibly deployed in three-dimensional (3D) space, and provide users with reliable line-of-sight (LoS) path communication channels. In order to take advantage of UAVs, edge servers can be installed on UAVs to further improve system performance.
[0004] Although drones are highly flexible and controllable, in actual situations, due to obstructions such as trees and buildings, the task offloading rate for users in some areas is low. In addition, the nature of radio transmission during task offloading often brings information security issues. User information can be easily eavesdropped by nearby eavesdropping users during the process of offloading. Therefore, the issue of how to ensure the security of information offloading cannot be ignored.
[0005] Smart Reflecting Surface (RIS) can provide a good solution to the above problems. As an innovative technology that can actively control the wireless propagation environment, RIS can adjust the amplitude and phase through software programming to reconfigure the wireless channel to create a propagation environment that is conducive to the transmission of information of legitimate terminal devices, and can reduce the channel state of the transmission link of the eavesdropping user when stealing the unloaded information. At the same time, installing RIS on a drone to form an aerial RIS (Aerial RIS) provides 360° panoramic full-angle reflection to cover UEs with different blind spots. In addition, the ground-to-air channel and air-to-air channel in which ARIS participates have a high probability of loss of sight, which further enhances the signal strength. In view of the above advantages of ARIS, some studies have begun to consider applying ARIS to MEC networks.
[0006] At this stage, most of the research involving RIS and MEC, some of which are based on fixed base stations combined with RIS to provide offloading services for user terminals, and most of the research focuses on how to improve the throughput of transmission tasks. Another part takes into account the lack of flexibility of traditional fixed base stations and their difficulty in applying to some complex scenarios. Research is conducted on improving the flexibility of the communication system by carrying MEC servers on UAVs, and the energy consumption of user terminals can be reduced by planning the trajectory of drones. However, few people consider the issue of secure communication on this issue. During the information unloading process, user terminals will have certain information transmission security issues because they use wireless transmission methods. Therefore, under the premise of ensuring secure communication, it is crucial for the present invention to study improving the energy efficiency of user secure communications. Summary of the invention
[0007] The purpose of the present invention is to address the defects and shortcomings of the above-mentioned prior art, and propose a method for optimizing the energy efficiency of secure communications of a multi-UAV-assisted MEC system enhanced by aerial RIS. By utilizing the characteristics of RIS and UAV, the phased matrix of RIS and the hovering position of ARIS are reasonably adjusted to ensure the safe unloading of legitimate user information while effectively reducing the security energy consumption of the legitimate user end. First, the internship division of AMEC and AP processing computing tasks is a key factor in solving the task allocation of mobile edge computing. Secondly, it is necessary to introduce ARIS to improve the channel characteristics of the communication link in a complex environment, while enhancing the user's receiving signal and suppressing the eavesdropping of the eavesdropping user on the unloading information of the legitimate user. Finally, the AMEC flight trajectory is planned to meet the needs of delay-sensitive tasks. This method improves the energy efficiency of secure communications of the system by optimizing time slot division, ARIS phase shift, ARIS hovering position and AMEC flight trajectory through the DDQN algorithm.
[0008] The technical solution adopted by the present invention to solve the technical problem is: a flow chart of a method for optimizing the energy efficiency of secure communication of a multi-UAV-assisted MEC system enhanced by air RIS, the method comprising the following steps:
[0009] Step 1: Establish a system model including K legitimate users, a drone ARIS equipped with RIS, a single eavesdropping user Eav, an AP access point and a drone AMEC equipped with a MEC server, and determine the system confidentiality capacity as AMEC, the difference between the AP receiving task bit and the Eav eavesdropping task bit, and determine the total system energy consumption as the sum of the AP's computing energy consumption, the AMEC's computing energy consumption and flight energy consumption, and the ARIS's flight energy consumption;
[0010] Step 2: Based on the confidentiality capacity and the total energy consumption of the system, define the energy consumption of secure communication as the ratio of the confidentiality capacity to the total energy consumption of the system, and construct an optimization problem with the goal of maximizing the energy efficiency of secure communication;
[0011] Step 3: According to the non-convexity of the objective function, the deep reinforcement learning (DRL) method is used to propose the DDQN algorithm to find the optimal solution;
[0012] Step 4: Establish a state space according to the channel states of the UE-ARIS link, the ARIS-AMEC link, the AMEC-AP link, the ARIS-Eav link, the UE-Eav link and the UE-AP link and the phase shift of ARIS;
[0013] Step 5: Establish the action space based on the time slot division, RIS phase shift, AIRS hovering and AMEC three-dimensional motion of the dual UAVs;
[0014] Step 6: According to the energy efficiency of system security communication, introduce user satisfaction and establish the Reward function;
[0015] Step 7: Based on the state space obtained in step 4, the action space obtained in step 5, and the reward function in step 6, DNN will update its parameters according to the selected action and iterate to obtain the maximum energy efficiency of secure communication.
[0016] Furthermore, the step 1 includes determining the system confidentiality capacity as the difference between AMEC, AP receiving task bit and Eav eavesdropping task bit, and determining the total system energy consumption as the sum of AP computing energy consumption, AMEC computing energy consumption and flight energy consumption, and ARIS flight energy consumption. During the entire flight cycle time T of the UAV, each user terminal does not perform local calculations, but only offloads the calculation tasks to AMEC or AP for calculation. Both AMEC and AP have strong computing capabilities and can quickly complete the calculation tasks, providing user terminals with lower latency computing and storage services.
[0017] UEs, APs, and Eavs all have only a single antenna, while AMEC is equipped with two antennas. ARIS can assist AMEC in offloading computing tasks from UEs to APs. At the same time, by adjusting the flight position of the drone equipped with RIS, the channel gain between ARIS and UEs and AMEC is increased, and the channel gain between ARIS and ground eavesdroppers is reduced, thereby interfering with the eavesdropping of ground eavesdroppers. AMEC acts as an aerial server to perform some computing tasks, and also as a repeater to offload computing tasks from UEs to APs. Both the transmitted signals of UEs and the reflected signals of ARIS can be eavesdropped by Eavs. However, due to the obstruction of buildings, the direct links from UEs to APs and to Eavs are extremely weak, and are considered non-line-of-sight links. In order to ensure communication security, legal drones are equipped with radars or infrared detectors to detect the imperfect positions of eavesdroppers.
[0018] Assume that the user's location is fixed and the location of the ground eavesdropper is known. The set of ground user UEs is represented by K@{1,2,L,K}, and the location of the kth user is represented by w k =[x k ,y k ,0], the location of AP is represented by w a =[x a ,y a ,0], the eavesdropper’s position is represented by w e =[x e ,y e ,0],In order to facilitate the analysis of the problem, we divide the task duration T of the dual-UAV cooperative MEC system into N equal time slots, each time slot size is The time slot set N@{1,2,L,N}, assuming that ARIS is equipped with specifications A=A x ×A y The reflective elements form a uniform rectangular array. Let θ a,k [n]∈[0,2π) is the phase shift of the ath element in ARIS, represents the reflection coefficient matrix at time slot n;
[0019] For AMEC, use w u [n] = [x u [n],y u [n],H u ] T (n=1,2,L,N) represents its position coordinates at time slot n, and AMEC only changes its horizontal position in each time slot without changing its height, where w u [1] = [x u [1],y u [1],H u ] T and w u [N] = [x u [N],y u [N],H u ] T Respectively represent the initial and final positions of AMEC. Similarly, for ARIS, w r [n] = [x r [n],y r [n],H r ] T (n=1,2,L,N) represents its position coordinates at time slot n. ARIS also only changes its horizontal position in each time slot without changing its height. Let w r [1] = [x r [1],y r [1],H r ]T and w r [N] = [x r [N],y r [N],H r ] T denote the initial and final positions of ARIS respectively. Here, we assume that H u <H r This is because the RIS is placed horizontally below the UAV. To allow it to provide full 360-degree signal enhancement to UEs and AMEC, the ARIS must be higher than the AMEC. The flight altitude constraint can also avoid collisions between the ARIS and AMEC during flight.
[0020] Setting v umax is the maximum flight speed of AMEC, let v rmax is the maximum flight speed of ARIS, and the flight constraints of AMEC and ARIS in two adjacent time slots are:
[0021] ||w u [n+1]-w u [n]||≤D u n=1,2,L,N-1 (1)
[0022] ||w r [n+1]-w r [n]||≤D r n=1,2,L,N-1 (2)
[0023] Among them, D u =v umax δ t is the maximum flight distance of AMEC in a time slot, D r =v rmax δ t is the maximum flight distance of ARIS in one time slot;
[0024] Considering that the position of ARIS will affect the channel gain, the flight position of ARIS is adjusted to make the channel gain of the legitimate channel as high as possible and the channel gain of the eavesdropping channel as low as possible, so as to interfere with the eavesdropping of ground eavesdroppers and increase the secure communication rate;
[0025] Assuming that the state information CSI of the channels used by the deployed RIS-enhanced multi-UAV-MEC system is known and all channels experience quasi-static flat fading, the channel KR link between UE k and ARIS, the channel RU link between ARIS and AMEC, the channel UA link between AMEC and AP, and the channel RE link between ARIS and Eav are all line-of-sight links LoS; the channel KA link between UE k and AP and the channel KE link between UE k and Eav are non-line-of-sight links (NLoS), which are modeled in two parts;
[0026] The KR link uses the Rice channel model:
[0027]
[0028] Among them, β 0 is the average reference channel power gain, α k,r is the path loss index, Rician fading, d k,r [n] is the distance of the KR link, β k,r is the Rice factor, is the phase response, expressed as:
[0029]
[0030] in, φ k,r [n] and are the vertical and horizontal arrival angles of the signal from UE k to ARIS, respectively;
[0031] The UA link here assumes that it is dominated by the Rician channel:
[0032]
[0033] Among them, β 0 is the average reference channel power gain, α u,a is the path loss index, Rician fading, d u,a [n]=||w u [n]-w a || is the distance of the UA link,
[0034] Both the RU link and the RE link adopt the LoS channel model, and the channel gains are:
[0035]
[0036]
[0037] in and are the phase responses, respectively:
[0038]
[0039]
[0040] in, θ r,u [n] and are the vertical and horizontal arrival angles of the signal from ARIS to AMEC, θ r,e [n] and are the vertical and horizontal arrival angles of the signal from ARIS to Eav, respectively;
[0041] Among these line-of-sight links, the channel gains of KR links, RU links, and RE links are all affected by the position of ARIS. The phase response in the channel gain is related to the horizontal and vertical arrival angles from ARIS to its position. By consulting the literature, it is known that when the channel gain of KR links and RU links reaches h r The communication quality is good when the channel gain of the RE link is lower than h e Almost no communication is possible:
[0042]
[0043] The above conditions are met by adjusting the flight position of ARIS. ARIS does not move, and only needs to optimize the hovering point, while AMEC needs to optimize the flight trajectory. There is no order between the two.
[0044] Although the direct links of the two channels KE and KA are blocked by buildings, there are still scattered signals. The Rayleigh fading channel model is used to model the two direct links:
[0045]
[0046]
[0047] in, and denote the path loss of KE link and KA link respectively, κ denotes the flux loss index of the two direct links, is the random scattering component modeled by a circularly symmetric complex Gaussian (CSCG) distribution with zero mean and unit variance;
[0048] In order to make full use of computing resources during the entire task execution time T, for the tasks received by AMEC from UEs, we consider a partial offloading approach. Each time slot has two segments, τ U [n] for AMEC to act as an air server to compute tasks from UEs, τ A [n] is used by the AP to process tasks from UEs, and the time slot division τ[n] satisfies the following constraints:
[0049] τ U [n]+τ A [n] = δ t (13)
[0050] The received signal-to-noise ratios (SNR) at AMEC, AP and Eav are:
[0051]
[0052]
[0053]
[0054] Define B as the transmission bandwidth, σ 2 is the power of Gaussian white noise;
[0055] The signal transmission power of UE k is P[n]n=1,2,LN, subject to the maximum transmission power P in each time slot. max And the average power P during the entire communication time avg Restrictions, P[n] should satisfy the following constraints:
[0056]
[0057] 0≤P[n]≤P max n=1,2,LN (18)
[0058] The task bits received by AMEC, AP and Eav in each time slot are:
[0059]
[0060]
[0061] R e [n] = δt t Blog 2 (1+γ e,k [n]) (21)
[0062] The following maximum computing capacity constraints are met:
[0063]
[0064] Among them, c u and c a represents the CPU cycles required for AMEC and AP to calculate 1 bit, while F u and F a Indicates the maximum CPU frequency that AMEC and AP can provide;
[0065] Therefore, the system confidentiality capacity problem generated during task offloading is expressed as:
[0066]
[0067]
[0068] Here we define [x] + @max(x,0);
[0069] The total energy consumed by the dual-UAV cooperative MEC system in N time slots can be divided into three main components: the computational energy consumption of AP, the computational energy consumption and flight energy consumption of AMEC, and the flight energy consumption of ARIS;
[0070] The computational energy consumption of AP and AMEC in time slot n is expressed as:
[0071]
[0072]
[0073] in, and is the capacitance coefficient, is the fixed CPU frequency of the AP, Fixed CPU frequency for AMEC;
[0074] The speeds of ARIS and AMEC in each time slot are:
[0075] v r [n] = 0 (27)
[0076]
[0077] The ARIS and AMEC flight propulsion power consumptions are modeled as:
[0078]
[0079]
[0080] Among them, P 0 and P 1 are two constants, representing the profile power and induced power in the hovering state, respectively, Utip Specify the tip speed of the rotor blade, v 0 is the average induced speed of the rotor in hovering, the fuselage drag ratio, rotor disk area, air density and rotor solidity are represented by variables d 0 , G, ρ and s represent;
[0081] The energy consumption generated by propulsion is much larger than that generated by calculation. Since the calculation energy consumption is important in the proposed system, it is necessary to consider both the calculation energy consumption and the flight energy consumption in the system. By applying the weighting element α∈[0.005,0.01], the following weighted total energy consumption is obtained, which is expressed as:
[0082]
[0083] Furthermore, in step 2, based on the confidentiality capacity and the total system energy consumption, the secure communication energy consumption is defined as the ratio of the confidentiality capacity to the total system energy consumption, that is:
[0084]
[0085] Construct an optimization problem with the goal of maximizing the energy efficiency of secure communication, which is specifically transformed into the following form:
[0086]
[0087] In problem P1, C1 specifies the phase variation range of ARIS, C2 is the flight constraint of ARIS and AMEC, C3 ensures the channel gain constraint under the condition of achieving anti-eavesdropping performance, C4 and C5 are restrictions on time slot division, C6 and C7 represent the maximum transmission power P in each time slot. max And the average power P during the entire communication time avg Under the restriction of , the signal transmission power of UE k should meet the restriction condition, and C8 is the maximum computing capacity constraint that AMEC and AP should meet.
[0088] Furthermore, the step 3 includes that since the variables in the objective function are coupled with each other and the target problem is non-convex, the use of the traditional optimization method, namely SCA, will consume a lot of computing resources. The use of deep reinforcement learning (DRL) can overcome the computational complexity of the traditional optimization method, and a DRL-based algorithm is used to solve problem P1, and an algorithm based on DDQN is proposed to solve problem P1;
[0089] The basic idea of DDQN is to combine two neural networks. The evaluation network is used to select the optimal action, and the target network is used to estimate the Q value. The structures of the two neural network models are exactly the same, but the weight parameters are different. In each time step, the DDQN algorithm uses the evaluation network to select the optimal action and the target network to estimate the target Q value. The target Q value is then compared with the actual Q value, and the parameters of the evaluation network are updated. After a certain time step, the target network parameters will be updated to the evaluation network parameters to keep the difference between the two networks not too large.
[0090] DDQN optimizes the performance of the network by continuously iteratively updating the parameters of the evaluation network. In each iteration, the evaluation network and the target network are initialized first, and the evaluation network is used to select an action according to the current state. The selected action is executed to obtain the next state and reward Reward and put it into the experience buffer. The target network is used to calculate the maximum Q value action of the next state, and then the evaluation network is used to calculate the Q value of the current state. The target Q value of the maximum Q value action of the next state is used to update the Q value of the current state. Then, random sampling is performed from the experience buffer and the loss function is introduced to update the parameters of the evaluation network. After several rounds of experience pool sampling, the weights of the training model are assigned to the target model. Finally, an optimal strategy is obtained, and the decided operation is deployed to AMEC and ARIS. ARIS will obtain the best hovering position and AMEC will obtain the best flight trajectory.
[0091] Further, the step 4 includes establishing a state space according to the channel states of the UE-ARIS link, the ARIS-AMEC link, the AMEC-AP link, the ARIS-Eav link, the UE-Eav link and the UE-AP link and the phase shift of the ARIS:
[0092] Let S denote the system state space. The system space for time slot n, denoted as s[n]∈S, includes the set of UE-ARIS, ARIS-AMEC, AMEC-AP, ARIS-Eav, UE-Eav, and UE-AP channel states, as well as the phase shift of each reflective element during time slot n, and is defined as:
[0093] s[n]=[h k,r [n],h r,u [n],h u,a [n],h r,e [n],h k,e [n],h k,a [n],θ a,k [n]] (34).
[0094] Furthermore, step 5 includes establishing an action space according to the time slot division of the dual UAVs, RIS phase shift, AIRS hovering and AMEC three-dimensional motion:
[0095] Let A represent the system action space, and use l u [n] represents the horizontal movement of AMEC, and l r [n] represents the horizontal movement of ARIS. Since ARIS remains in the initial state and does not move, l r [n] = 0, Δθ a,k [n] represents the phase shift change of each reflective element, τ U [n] represents the time slot division, then the general discrete action a[n]∈A in time slot n is defined as:
[0096] a[n]=[l u [n],l r [n],Δθ a,k [n],τ U [n]] (35)
[0097] In the formula, l u [n]∈V 1 , V 1 is the motion space of the two UAVs in the horizontal direction, which consists of east, west, north, south or stationary motion, namely:
[0098] V 1 @{(x j ,0),(-x j ,0),(0,y j ),(0,-y j ),(0,0)} (36)
[0099] The positions of the two drones in the next time slot can be expressed as:
[0100] w u [n+1]=w u [n]+l u [n] (37)
[0101] w r [n+1]=w r [n] (38)
[0102] Assume that the change in phase shift of each reflective element is The time slot is divided into τ U [n]∈{0,0.1,0.2,0.3,0.4,0.5,0.6,0.7,0.8,0.9,1}, and the initial value is set to 0.5.
[0103] Furthermore, step 6 includes introducing user satisfaction and establishing a reward function based on the energy efficiency of system security communication. Prior to this, the energy efficiency of system security communication in time slot n, E[n], needs to be defined:
[0104]
[0105] The generated reward depends on the current state of the system and the operation performed in each time slot. Indicates UE satisfaction:
[0106]
[0107] in, represents the minimum transmission amount of the terminal in time slot n, and D represents the minimum data processing requirement of the terminal. According to the above formula, the Reward function is defined as:
[0108]
[0109] Furthermore, step 7 includes updating its own parameters according to the selected action through DNN based on the state space obtained in step 4, the action space obtained in step 5, and the reward function of step 6, and iterating to obtain the maximum energy efficiency of secure communication;
[0110] In the DDQN-based algorithm, there is an agent that interacts with the environment. Initially, the evaluation network and the target network are randomly initialized to have the same parameters. During the training process, the evaluation network is updated in real time, and the target network periodically copies parameters from the evaluation network. The agent first passes the state s[n] to the evaluation network, whose weight parameter is θ Q , the evaluation network generates the Q value of each action:
[0111]
[0112] Where γ∈[0,1] is the discount factor. The Q-learning process usually adopts a strategy to determine the highest Q value relative to the state s[n]. The greedy strategy is given by the following formula:
[0113]
[0114] After AMEC performs the action selected according to the above formula, it will get Reward-r[n] and s[n+1]. The newly created sample is stored in the experience buffer, which consists of (s[n], a[n], r[n], s[n+1]). In order to train the evaluation network Q(·) and the target network Q'(·), a sample of size p is randomly selected from the experience buffer to evaluate the network weight parameter θ Q Use the loss function for training:
[0115] L(θ Q )=E[y[n]-Q(s[n],a[n]|θ Q )] (44)
[0116] Among them, y[n] is the target value, and the calculation formula is:
[0117]
[0118] Beneficial effects:
[0119] 1. The present invention improves the channel quality of UAV, AP and legitimate user terminals in certain complex scenarios by introducing ARIS, and suppresses eavesdropping by eavesdropping users by reasonably adjusting the hovering position and phase shift of ARIS, thereby ensuring the security performance of legitimate users during information unloading.
[0120] 2. The method proposed in the present invention uses DDQN to jointly optimize the hovering position of ARIS, the flight trajectory of AMEC, the time slot division of unloading tasks, the phase shift of ARIS, and the CPU frequency allocation provided by the MEC server to different users, so as to maximize the energy efficiency of the system's safe communication. It has been verified that the present invention can complete the AMEC flight mission with lower total system energy consumption under the premise of ensuring safe communication.
[0121] 3. In the method proposed by the present invention, the deployment of ARIS will not only not affect the security information unloading rate of legitimate users and thus affect the security energy consumption, but also can reasonably adjust the phase angle of its own reflection element to suppress the eavesdropping of eavesdropping users. In addition, the deployment of ARIS can also be combined with the time slot division of computing tasks in the system and the flight trajectory of AMEC to improve the overall performance of the system. BRIEF DESCRIPTION OF THE DRAWINGS
[0122] Figure 1 This is a model diagram of the energy efficiency optimization method for secure communication of a multi-UAV-assisted MEC system enhanced by aerial RIS in the present invention.
[0123] Figure 2 The present invention is a flow chart of a method for optimizing energy efficiency of secure communication of a multi-UAV-assisted MEC system enhanced by aerial RIS.
[0124] Figure 3 This is a time slot frame structure diagram of a method for optimizing energy efficiency of secure communications of a multi-UAV-assisted MEC system enhanced by aerial RIS in the present invention. DETAILED DESCRIPTION
[0125] In order to make the purpose, technical solutions and advantages of the present invention more clear, the present invention will be further described in detail below in conjunction with the accompanying drawings and specific embodiments.
[0126] The present invention proposes a method for optimizing the energy efficiency of secure communication of a multi-UAV-assisted MEC system enhanced by aerial RIS, which is applied to the scenario where the line-of-sight channel between the legitimate user and the base station is blocked by obstacles and there are eavesdropping users at the same time. In a system of K legitimate users, a UAV (ARIS) equipped with RIS, a single eavesdropping user (Eav), an AP access point and a UAV (AMEC) equipped with a dual-antenna MEC server: the positions of the legitimate user and the eavesdropping user are fixed and known, and the ARIS is hovering. The hovering point of the ARIS and the flight trajectory of the AMEC will affect the channel gain of the legitimate link and the eavesdropping link, thereby affecting the security energy consumption of the system. The phase change of the RIS element matrix in any time slot will affect the channel gain, and then affect the security energy consumption of the legitimate user end. The unloading strategy (time slot allocation) at the AMEC will determine the allocation ratio of the AMEC and AP processing tasks, thereby affecting the computing energy consumption of the AMEC and AP. Based on the above premise, by adjusting the hovering point of the ARIS, the three-dimensional trajectory and time slot division of the AMEC, the phase shift of the ARIS, and the CPU frequency allocation provided by the MEC server to different users, the energy efficiency of secure communication is maximized;
[0127] like Figure 1 As shown, the system of the present invention consists of a UAV equipped with a single-antenna RIS, a UAV equipped with a dual-antenna MEC, K single-antenna legitimate user terminals, a single-antenna eavesdropping user, and a base station AP equipped with an edge server. Each user terminal in the system does not perform local calculations, but only offloads the computing tasks to AMEC or AP for calculation. Both AMEC and AP have strong computing capabilities and can quickly complete computing tasks, providing user terminals with lower latency computing and storage services. During the entire flight cycle time T of the UAV, in order to avoid mutual interference between user devices, the TDMA protocol is adopted to divide the total task execution time T of the UAV into N equal parts of duration δ t After the time frame is completed, each frame is divided into two parts, which are respectively assigned to AMEC and AP for task offloading. During the information offloading stage, due to the nature of wireless transmission, the transmission signal of the wireless device can be easily intercepted by eavesdropping users, which makes it difficult to ensure the security of information transmission. At the same time, in order to adapt to complex scenarios, RIS is introduced into the system to improve the characteristics of the communication link, and by adjusting the phased matrix of RIS, it is possible to suppress eavesdropping users. In this way, the energy efficiency of secure communication is maximized under the premise of secure offloading of legitimate user information.
[0128] Figure 2 The present invention provides a flow chart of a method for optimizing the energy efficiency of secure communication of a multi-UAV-assisted MEC system using air RIS enhancement, the method comprising the following steps:
[0129] Step 1: Establish a system model including K legitimate users, a UAV ARIS equipped with RIS, a single eavesdropping user Eav, an AP access point and a UAV AMEC equipped with a MEC server, and determine the system confidentiality capacity as AMEC, the difference between the AP receiving task bit and the Eav eavesdropping task, and determine the total system energy consumption as the sum of the AP's computing energy consumption, AMEC's computing energy consumption and flight energy consumption, and ARIS's flight energy consumption. During the entire UAV flight cycle time T, each user terminal does not perform local calculations, but only offloads the computing tasks to AMEC or AP for calculation. AMEC and AP both have strong computing capabilities and can quickly complete computing tasks, providing user terminals with lower latency computing and storage services;
[0130] UEs, APs, and Eavs all have only a single antenna, while AMEC is equipped with two antennas. ARIS can assist AMEC in offloading computing tasks from UEs to APs. At the same time, by adjusting the flight position of the drone equipped with RIS, the channel gain between ARIS and UEs and AMEC is increased, and the channel gain between ARIS and ground eavesdroppers is reduced, thereby interfering with the eavesdropping of ground eavesdroppers. AMEC acts as an aerial server to perform some computing tasks, and also as a repeater to offload computing tasks from UEs to APs. Both the transmitted signals of UEs and the reflected signals of ARIS can be eavesdropped by Eavs. However, due to the obstruction of buildings, the direct links from UEs to APs and to Eavs are extremely weak, and are considered non-line-of-sight links. In order to ensure communication security, legal drones are equipped with radars or infrared detectors to detect the imperfect positions of eavesdroppers.
[0131] Assume that the user's location is fixed and the location of the ground eavesdropper is known. The set of ground user UEs is represented by K@{1,2,L,K}, and the location of the kth user is represented by w k =[x k ,y k ,0], the location of AP is represented by w a =[x a ,y a ,0], the eavesdropper’s position is represented by w e =[x e ,y e ,0],In order to facilitate the analysis of the problem, we divide the task duration T of the dual-UAV cooperative MEC system into N equal time slots, each time slot size is The time slot set N@{1,2,L,N}, assuming that ARIS is equipped with specifications A=A x ×A y The reflective elements form a uniform rectangular array. Let θ a,k [n]∈[0,2π) is the phase shift of the ath element in ARIS, represents the reflection coefficient matrix at time slot n;
[0132] For AMEC, use w u [n] = [x u [n],y u [n],H u ] T (n=1,2,L,N) represents its position coordinates at time slot n, and AMEC only changes its horizontal position in each time slot without changing its height, where w u [1] = [x u [1],y u [1],H u ] T and w u [N] = [x u [N],y u [N],H u ] T Respectively represent the initial and final positions of AMEC. Similarly, for ARIS, w r [n] = [x r [n],y r [n],H r ] T (n=1,2,L,N) represents its position coordinates at time slot n. ARIS also only changes its horizontal position in each time slot without changing its height. Let w r [1] = [x r [1],y r [1],H r ] T and w r [N] = [x r [N],y r [N],H r ] T denote the initial and final positions of ARIS respectively. Here, we assume that H u <H r This is because the RIS is placed horizontally below the UAV. To allow it to provide full 360-degree signal enhancement to UEs and AMEC, the ARIS must be higher than the AMEC. The flight altitude constraint can also avoid collisions between the ARIS and AMEC during flight.
[0133] Setting v umax is the maximum flight speed of AMEC, let v rmax is the maximum flight speed of ARIS, and the flight constraints of AMEC and ARIS in two adjacent time slots are:
[0134] ||w u [n+1]-wu [n]‖≤D u n=1,2,L,N-1 (1)
[0135] ||w r [n+1]-w r [n]||≤D r n=1,2,L,N-1 (2)
[0136] Among them, D u =v umax δ t is the maximum flight distance of AMEC in a time slot, D r =v rmax δ t is the maximum flight distance of ARIS in one time slot;
[0137] Considering that the position of ARIS will affect the channel gain, the flight position of ARIS is adjusted to make the channel gain of the legitimate channel as high as possible and the channel gain of the eavesdropping channel as low as possible, so as to interfere with the eavesdropping of ground eavesdroppers and increase the secure communication rate;
[0138] Assuming that the state information CSI of the channels used by the deployed RIS-enhanced multi-UAV-MEC system is known and all channels experience quasi-static flat fading, the channel KR link between UE k and ARIS, the channel RU link between ARIS and AMEC, the channel UA link between AMEC and AP, and the channel RE link between ARIS and Eav are all line-of-sight links LoS; the channel KA link between UE k and AP and the channel KE link between UE k and Eav are non-line-of-sight links (NLoS), which are modeled in two parts;
[0139] The KR link uses the Rice channel model:
[0140]
[0141] Among them, β 0 is the average reference channel power gain, α k,r is the path loss index, Rician fading, d k,r [n] is the distance of the KR link, β k,r is the Rice factor, is the phase response, expressed as:
[0142]
[0143] in, φ k,r [n] and are the vertical and horizontal arrival angles of the signal from UE k to ARIS, respectively;
[0144] The UA link here assumes that it is dominated by the Rician channel:
[0145]
[0146] Among them, β 0 is the average reference channel power gain, α u,a is the path loss index, Rician fading, d u,a [n]=||w u [n]-w a || is the distance of the UA link,
[0147] Both the RU link and the RE link adopt the LoS channel model, and the channel gains are:
[0148]
[0149]
[0150] in and are the phase responses, respectively:
[0151]
[0152]
[0153] in, θ r,u [n] and are the vertical and horizontal arrival angles of the signal from ARIS to AMEC, θ r,e [n] and are the vertical and horizontal arrival angles of the signal from ARIS to Eav, respectively;
[0154] Among these line-of-sight links, the channel gains of KR links, RU links, and RE links are all affected by the position of ARIS. The phase response in the channel gain is related to the horizontal and vertical arrival angles from ARIS to its position. By consulting the literature, it is known that when the channel gain of KR links and RU links reaches h r The communication quality is good when the channel gain of the RE link is lower than h e Communication is almost impossible.
[0155]
[0156] The above conditions are met by adjusting the flight position of ARIS. ARIS does not move, and only needs to optimize the hovering point, while AMEC needs to optimize the flight trajectory. There is no order between the two.
[0157] Although the direct links of the two channels KE and KA are blocked by buildings, there are still scattered signals. The Rayleigh fading channel model is used to model the two direct links:
[0158]
[0159]
[0160] in, and denote the path loss of KE link and KA link respectively, κ denotes the flux loss index of the two direct links, is the random scattering component modeled by a circularly symmetric complex Gaussian (CSCG) distribution with zero mean and unit variance;
[0161] In order to make full use of computing resources during the entire task execution time T, for the tasks received by AMEC from UEs, we consider a partial offloading approach. Each time slot has two segments, τ U [n] for AMEC to act as an air server to compute tasks from UEs, τ A [n] is used by the AP to process tasks from UEs, and the time slot division τ[n] satisfies the following constraints:
[0162] τ U [n]+τ A [n] = δ t (13)
[0163] The received signal-to-noise ratios (SNR) at AMEC, AP and Eav are:
[0164]
[0165]
[0166]
[0167] Define B as the transmission bandwidth, σ 2 is the power of Gaussian white noise;
[0168] The signal transmission power of UE k is P[n]n=1,2,LN, subject to the maximum transmission power P in each time slot. max And the average power P during the entire communication time avg Restrictions, P[n] should satisfy the following constraints:
[0169]
[0170] 0≤P[n]≤P max n=1,2,LN (18)
[0171] The task bits received by AMEC, AP and Eav in each time slot are:
[0172]
[0173]
[0174] R e [n] = δ t Blog 2 (1+γ e,k [n]) (21)
[0175] The following maximum computing capacity constraints are met:
[0176]
[0177] Among them, c u and c a represents the CPU cycles required for AMEC and AP to calculate 1 bit, while F u and F a Indicates the maximum CPU frequency that AMEC and AP can provide;
[0178] Therefore, the system confidentiality capacity problem generated during task offloading is expressed as:
[0179]
[0180]
[0181] Here we define [x] + @max(x,0);
[0182] The total energy consumed by the dual-UAV cooperative MEC system in N time slots can be divided into three main components: the computational energy consumption of AP, the computational energy consumption and flight energy consumption of AMEC, and the flight energy consumption of ARIS;
[0183] The computational energy consumption of AP and AMEC in time slot n is expressed as:
[0184]
[0185]
[0186] in, and is the capacitance coefficient, is the fixed CPU frequency of the AP, Fixed CPU frequency for AMEC;
[0187] The speeds of ARIS and AMEC in each time slot are:
[0188] v r [n] = 0 (27)
[0189]
[0190] The ARIS and AMEC flight propulsion power consumptions are modeled as:
[0191]
[0192]
[0193] Among them, P 0 and P 1 are two constants, representing the profile power and induced power in the hovering state, respectively, U tip Specify the tip speed of the rotor blade, v 0 is the average induced speed of the rotor in hovering, the fuselage drag ratio, rotor disk area, air density and rotor solidity are represented by variables d 0 , G, ρ and s represent;
[0194] The energy consumption generated by propulsion is much larger than that generated by calculation. Since the calculation energy consumption is important in the proposed system, it is necessary to consider both the calculation energy consumption and the flight energy consumption in the system. By applying the weighting element α∈[0.005,0.01], the following weighted total energy consumption is obtained, which is expressed as:
[0195]
[0196] Step 2: Based on the confidentiality capacity and the total system energy consumption, define the secure communication energy consumption as the ratio of the confidentiality capacity to the total system energy consumption, that is:
[0197]
[0198] Construct an optimization problem with the goal of maximizing the energy efficiency of secure communication, which is specifically transformed into the following form:
[0199]
[0200] In problem P1, C1 specifies the phase variation range of ARIS, C2 is the flight constraint of ARIS and AMEC, C3 ensures the channel gain constraint under the condition of achieving anti-eavesdropping performance, C4 and C5 are restrictions on time slot division, C6 and C7 represent the maximum transmission power P in each time slot. max And the average power P during the entire communication time avg Under the restriction of , the signal transmission power of UE k should meet the restriction condition, and C8 is the maximum computing capacity constraint that AMEC and AP should meet.
[0201] Step 3: According to the mutual coupling of variables in the objective function, the target problem is non-convex. Using the traditional optimization method, namely SCA, will consume a lot of computing resources. Deep reinforcement learning (DRL) can overcome the computational complexity of the traditional optimization method. A DRL-based algorithm is used to solve problem P1, and an algorithm based on DDQN is proposed to solve problem P1.
[0202] The basic idea of DDQN is to combine two neural networks. The evaluation network is used to select the optimal action, and the target network is used to estimate the Q value. The structures of the two neural network models are exactly the same, but the weight parameters are different. In each time step, the DDQN algorithm uses the evaluation network to select the optimal action and the target network to estimate the target Q value. The target Q value is then compared with the actual Q value, and the parameters of the evaluation network are updated. After a certain time step, the target network parameters will be updated to the evaluation network parameters to keep the difference between the two networks not too large.
[0203] DDQN optimizes the performance of the network by continuously iteratively updating the parameters of the evaluation network. In each iteration, the evaluation network and the target network are initialized first, and the evaluation network is used to select an action according to the current state. The selected action is executed to obtain the next state and reward Reward and put it into the experience buffer. The target network is used to calculate the maximum Q value action of the next state, and then the evaluation network is used to calculate the Q value of the current state. The target Q value of the maximum Q value action of the next state is used to update the Q value of the current state. Then, random sampling is performed from the experience buffer and the loss function is introduced to update the parameters of the evaluation network. After several rounds of experience pool sampling, the weights of the training model are assigned to the target model. Finally, an optimal strategy is obtained, and the decided operation is deployed to AMEC and ARIS. ARIS will obtain the best hovering position and AMEC will obtain the best flight trajectory.
[0204] Step 4: Establish the state space according to the channel states of UE-ARIS link, ARIS-AMEC link, AMEC-AP link, ARIS-Eav link, UE-Eav link and UE-AP link and the phase shift of ARIS:
[0205] Let S denote the system state space. The system space for time slot n is denoted as s[n]∈S, which includes the set of UE-ARIS, ARIS-AMEC, AMEC-AP, ARIS-Eav, UE-Eav and UE-AP channel states, as well as the phase shift of each reflective element during time slot n, defined as:
[0206] s[n]=[h k,r [n],h r,u [n],h u,a [n],h r,e [n],h k,e [n],h k,a [n],θ a,k [n]] (34).
[0207] Step 5: Establish the action space based on the time slot division of the dual drones, RIS phase shift, AIRS hovering and AMEC three-dimensional motion:
[0208] Let A represent the system action space, and use l u [n] represents the horizontal movement of AMEC, and l r [n] represents the horizontal movement of ARIS. Since ARIS remains in the initial state and does not move, l r [n] = 0, Δθ a,k [n] represents the phase shift change of each reflective element, τ U [n] represents the time slot division, then the general discrete action a[n]∈A in time slot n is defined as:
[0209] a[n]=[l u [n],l r [n],Δθ a,k [n],τ U [n]] (35)
[0210] In the formula, l u [n]∈V 1 , V 1 is the motion space of the two UAVs in the horizontal direction, which consists of east, west, north, south or stationary motion, namely:
[0211] V 1 @{(x j ,0),(-x j ,0),(0,y j ),(0,-y j ),(0,0)} (36)
[0212] The positions of the two drones in the next time slot can be expressed as:
[0213] wu [n+1]=w u [n]+l u [n] (37)
[0214] w r [n+1]=w r [n] (38)
[0215] Assume that the change in phase shift of each reflective element is The time slot is divided into t U [n]∈{0,0.1,0.2,0.3,0.4,0.5,0.6,0.7,0.8,0.9,1}, and the initial value is set to 0.5.
[0216] Step 6: Based on the energy efficiency of system security communication, user satisfaction is introduced and a reward function is established. Before determining the reward function of the DDQN model, we first define the energy efficiency of system security communication in time slot n, E[n]:
[0217]
[0218] The generated reward depends on the current state of the system and the operation performed in each time slot. Indicates UE satisfaction:
[0219]
[0220] in, represents the minimum transmission amount of the terminal in time slot n, and D represents the minimum data processing requirement of the terminal. According to the above formula, the Reward function can be defined as:
[0221]
[0222] Step 7: Based on the state space obtained in step 4, the action space obtained in step 5, and the reward function in step 6, DNN updates its parameters according to the selected action, and iterates to obtain the maximum energy efficiency of secure communication;
[0223] In the DDQN-based algorithm, there is an agent that interacts with the environment. Initially, the evaluation network and the target network are randomly initialized to have the same parameters. During the training process, the evaluation network is updated in real time, and the target network periodically copies parameters from the evaluation network. The agent first passes the state s[n] to the evaluation network, whose weight parameter is θ Q , the evaluation network generates the Q value of each action:
[0224]
[0225] Where γ∈[0,1] is the discount factor. The Q-learning process usually adopts a strategy to determine the highest Q value relative to the state s[n]. The greedy strategy is given by the following formula:
[0226]
[0227] After AMEC performs the action selected according to the above formula, it will get Reward-r[n] and s[n+1]. The newly created sample is stored in the experience buffer, which consists of (s[n], a[n], r[n], s[n+1]). In order to train the evaluation network Q(·) and the target network Q'(·), a sample of size p is randomly selected from the experience buffer to evaluate the network weight parameter θ Q Use the loss function for training:
[0228] L(θ Q )=E[y[n]-Q(s[n],a[n]|θ Q )] (44)
[0229] Among them, y[n] is the target value, and the calculation formula is:
[0230]
[0231] The present invention provides computing services for legitimate user terminals in the store by means of TDMA protocol within the entire task time period T. Both AMEC and AP have strong computing capabilities, can quickly complete computing tasks, and provide computing and storage services with lower latency for user terminals. Since the optimization problem with the goal of maximizing the energy efficiency of secure communication is non-convex, the deep reinforcement learning DRL method is considered to be used in step 3 to find the optimal solution. In step 4, a state space is established according to the channel states of the UE-ARIS link, ARIS-AMEC link, AMEC-AP link, ARIS-Eav link, UE-Eav link and UE-AP link and the phase shift of ARIS. In step 5, an action space is established according to the time slot division of the dual drones, RIS phase shift, AIRS hovering and AMEC three-dimensional motion. In step 6, according to the energy efficiency of secure communication of the system, user satisfaction is introduced to establish a Reward function. Based on the state space, action space and Reward function obtained in the above steps, the DDQN algorithm is used to solve the problem. The algorithm optimizes the performance of the network by continuously iteratively updating the parameters of the evaluation network. In each iteration, the evaluation network and the target network are initialized first, and the evaluation network is used to select an action according to the current state. The selected action is executed to obtain the next state and reward Reward and put it into the experience buffer. The target network is used to calculate the maximum Q value action of the next state, and then the evaluation network is used to calculate the Q value of the current state. The target Q value of the maximum Q value action of the next state is used to update the Q value of the current state. Then, random sampling is performed from the experience buffer and the loss function is introduced to update the parameters of the evaluation network. After several rounds of experience pool sampling, the weights of the training model are assigned to the target model. Finally, an optimal strategy is obtained, and the decided operations are deployed to AMEC and ARIS. ARIS will obtain the best hovering position and AMEC will obtain the best flight trajectory.
[0232] The above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit the same. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. Such modifications or replacements will not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims
1. A method for optimizing the energy efficiency of secure communication of a multi-UAV-assisted MEC system using air RIS enhancement, characterized in that: The method comprises the following steps: Step 1: Establish a system model including K legitimate users, a drone ARIS equipped with RIS, a single eavesdropping user Eav, an AP access point and a drone AMEC equipped with a MEC server, and determine the system confidentiality capacity as AMEC, the difference between the AP receiving task bit and the Eav eavesdropping task bit, and determine the total energy consumption of the system as the sum of the AP's computing energy consumption, the AMEC's computing energy consumption and flight energy consumption, and the ARIS's flight energy consumption; Step 2: Based on the confidentiality capacity and the total energy consumption of the system, define the energy consumption of secure communication as the ratio of the confidentiality capacity to the total energy consumption of the system, and construct an optimization problem with the goal of maximizing the energy efficiency of secure communication; Step 3: According to the non-convexity of the objective function, the deep reinforcement learning (DRL) method is used to propose the DDQN algorithm to find the optimal solution; Step 4: Establish a state space according to the channel states of the UE-ARIS link, the ARIS-AMEC link, the AMEC-AP link, the ARIS-Eav link, the UE-Eav link and the UE-AP link and the phase shift of ARIS; Step 5: Establish the action space based on the time slot division, RIS phase shift, AIRS hovering and AMEC three-dimensional motion of the dual UAVs; Step 6: According to the energy efficiency of system security communication, introduce user satisfaction and establish the Reward function; Step 7: Based on the state space obtained in step 4, the action space obtained in step 5, and the reward function in step 6, DNN will update its parameters according to the selected action and iterate to obtain the maximum energy efficiency of secure communication.
2. According to claim 1, a method for optimizing energy efficiency of secure communication of multi-UAV-assisted MEC system using air RIS enhancement is characterized in that: In the step 1, the system confidentiality capacity is determined as the difference between AMEC, AP receiving task bit and Eav eavesdropping task bit, and the total system energy consumption is determined as the sum of AP computing energy consumption, AMEC computing energy consumption and flight energy consumption, and ARIS flight energy consumption. During the entire flight cycle time T of the UAV, each user terminal does not perform local calculations, but only offloads the calculation tasks to AMEC or AP for calculation. Both AMEC and AP have strong computing capabilities and can quickly complete the calculation tasks, providing user terminals with lower latency computing and storage services; UEs, APs, and Eavs all have only a single antenna, while AMEC is equipped with two antennas. ARIS can assist AMEC in offloading computing tasks from UEs to APs. At the same time, by adjusting the flight position of the UAV equipped with RIS, the channel gain between ARIS and UEs and AMEC is increased, and the channel gain between ARIS and the ground eavesdropper is reduced, thereby interfering with the ground eavesdropper's eavesdropping. AMEC acts as an aerial server to perform some computing tasks and also as a repeater to offload computing tasks from UEs to AP. The transmitted signals of UEs and the reflected signals of ARIS can be eavesdropped by Eav. However, due to the obstruction of buildings, the direct links from UEs to AP and to Eav are extremely weak and are considered as non-line-of-sight links. To ensure communication security, legal drones are equipped with radars or infrared detectors to detect the imperfect position of eavesdroppers. Assume that the user's location is fixed and the location of the ground eavesdropper is known. The set of ground user UEs is represented by K@{1,2,L,K}, and the location of the kth user is represented by w k =[x k ,y k ,0], the location of AP is represented by w a =[x a ,y a ,0], the eavesdropper’s position is represented by w e =[x e ,y e ,0],In order to facilitate the analysis of the problem, we divide the task duration T of the dual-UAV cooperative MEC system into N equal time slots, each time slot size is The time slot set N@{1,2,L,N}, assuming that ARIS is equipped with specifications A=A x ×A y The reflective elements form a uniform rectangular array. Let θ a,k [n]∈[0,2π) is the phase shift of the ath element in ARIS, represents the reflection coefficient matrix at time slot n; For AMEC, use w u [n] = [x u [n],y u [n],H u ] T (n=1,2,L,N) represents its position coordinates at time slot n, and AMEC only changes its horizontal position in each time slot without changing its height, where w u [1] = [x u [1],y u [1],H u ] T and w u [N] = [x u [N],y u [N],H u ] T Respectively represent the initial and final positions of AMEC. Similarly, for ARIS, w r [n] = [x r [n],y r [n],H r ] T (n=1,2,L,N) represents its position coordinates at time slot n. ARIS also only changes its horizontal position in each time slot without changing its height. Let w r [1] = [x r [1],y r [1],H r ] T and w r [N] = [x r [N],y r [N],H r ] T denote the initial and final positions of ARIS respectively. Here, we assume that H u <H r This is because the RIS is placed horizontally below the UAV. To allow it to provide full 360-degree signal enhancement to UEs and AMEC, the ARIS must be higher than the AMEC. The flight altitude constraint can also avoid collisions between the ARIS and AMEC during flight. Setting v umax is the maximum flight speed of AMEC, let v rmax is the maximum flight speed of ARIS, and the flight constraints of AMEC and ARIS in two adjacent time slots are: ||w u [n+1]-w u [n]||≤D u n=1,2,L,N-1 (1) ||w r [n+1]-w r [n]||≤D r n=1,2,L,N-1 (2) Among them, D u =v umax δ t is the maximum flight distance of AMEC in a time slot, D r =v rmax δ t is the maximum flight distance of ARIS in one time slot; Considering that the position of ARIS will affect the channel gain, the flight position of ARIS is adjusted to make the channel gain of the legitimate channel as high as possible and the channel gain of the eavesdropping channel as low as possible, so as to interfere with the eavesdropping of ground eavesdroppers and increase the secure communication rate; Assuming that the state information CSI of the channels used by the deployed RIS-enhanced multi-UAV-MEC system is known and all channels experience quasi-static flat fading, the channel KR link between UE k and ARIS, the channel RU link between ARIS and AMEC, the channel UA link between AMEC and AP, and the channel RE link between ARIS and Eav are all line-of-sight links LoS; the channel KA link between UE k and AP and the channel KE link between UE k and Eav are non-line-of-sight links (NLoS), which are modeled in two parts; The KR link uses the Rice channel model: Where β0 is the average reference channel power gain, α k,r is the path loss index, Rician fading, d k,r [n] is the distance of the KR link, β k,r is the Rice factor, is the phase response, expressed as: in, φ k,r [n] and are the vertical and horizontal arrival angles of the signal from UE k to ARIS, respectively; The UA link here assumes that it is dominated by the Rician channel: Where β0 is the average reference channel power gain, α u,a is the path loss index, Rician fading, d u,a [n]=||w u [n]-w a || is the distance of the UA link, Both the RU link and the RE link adopt the LoS channel model, and the channel gains are: in and are the phase responses, respectively: in, θ r,u [n] and are the vertical and horizontal arrival angles of the signal from ARIS to AMEC, θ r,e [n] and are the vertical and horizontal arrival angles of the signal from ARIS to Eav, respectively; Among these line-of-sight links, the channel gains of KR links, RU links, and RE links are all affected by the position of ARIS. The phase response in the channel gain is related to the horizontal and vertical arrival angles from ARIS to its position. By consulting the literature, it is known that when the channel gain of KR links and RU links reaches h r The communication quality is good when the channel gain of the RE link is lower than h e Almost no communication is possible: The above conditions are met by adjusting the flight position of ARIS. ARIS does not move, and only needs to optimize the hovering point, while AMEC needs to optimize the flight trajectory. There is no order between the two. Although the direct links of the two channels KE and KA are blocked by buildings, there are still scattered signals. The Rayleigh fading channel model is used to model the two direct links: in, and denote the path loss of KE link and KA link respectively, κ denotes the flux loss index of the two direct links, is the random scattering component modeled by a circularly symmetric complex Gaussian (CSCG) distribution with zero mean and unit variance; In order to make full use of computing resources during the entire task execution time T, for the tasks received by AMEC from UEs, we consider a partial offloading approach. Each time slot has two segments, τ U [n] for AMEC to act as an air server to compute tasks from UEs, τ A [n] is used by the AP to process tasks from UEs, and the time slot division τ[n] satisfies the following constraints: t U [n]+τ A [n]=δ t (13) The received signal-to-noise ratios (SNR) at AMEC, AP and Eav are: Define B as the transmission bandwidth, σ 2 is the power of Gaussian white noise; The signal transmission power of UE k is P[n]n=1,2,LN, subject to the maximum transmission power P in each time slot. max And the average power P during the entire communication time avg Restrictions, P[n] should satisfy the following constraints: 0≤P[n]≤P max n=1,2,LN (18) The task bits received by AMEC, AP and Eav in each time slot are: R e [n]=δ t Blog2(1+c e,k [n]) (21) The following maximum computing capacity constraints are met: Among them, c u and c a represents the CPU cycles required for AMEC and AP to calculate 1 bit, while F u and F a Indicates the maximum CPU frequency that AMEC and AP can provide; Therefore, the system confidentiality capacity problem generated during task offloading is expressed as: Here we define [x] + @max(x,0); The total energy consumed by the dual-UAV cooperative MEC system in N time slots can be divided into three main components: the computational energy consumption of AP, the computational energy consumption and flight energy consumption of AMEC, and the flight energy consumption of ARIS; The computational energy consumption of AP and AMEC in time slot n is expressed as: in, and is the capacitance coefficient, is the fixed CPU frequency of the AP, Fixed CPU frequency for AMEC; The speeds of ARIS and AMEC in each time slot are: v r [n]=0 (27) The ARIS and AMEC flight propulsion power consumptions are modeled as: Among them, P0 and P1 are two constants, representing the profile power and induced power in the hovering state respectively, U tip The tip speed of the rotor blade is specified, v0 is the average induced speed of the rotor in hover, and the airframe drag ratio, rotor disk area, air density, and rotor solidity are represented by the variables d0, G, ρ, and s, respectively; The energy consumption generated by propulsion is much larger than that generated by calculation. Since the calculation energy consumption is important in the proposed system, it is necessary to consider both the calculation energy consumption and the flight energy consumption in the system. By applying the weighting element α∈[0.005,0.01], the following weighted total energy consumption is obtained, which is expressed as:
3. According to claim 1, a method for optimizing energy efficiency of secure communication of multi-UAV-assisted MEC system using air RIS enhancement is characterized in that: In step 2, based on the confidentiality capacity and the total system energy consumption, the secure communication energy consumption is defined as the ratio of the confidentiality capacity to the total system energy consumption, that is: Construct an optimization problem with the goal of maximizing the energy efficiency of secure communication, which is specifically transformed into the following form: stC1:θ a,k [n]∈[0,2π) C4:t U [n]+τ A [n]=δ t (33) C5:τ U [n] ≤ 0 τ A [n] ≥ 0 C7:0≤P[n]≤P max n=1,2,LN In problem P1, C1 specifies the phase variation range of ARIS, C2 is the flight constraint of ARIS and AMEC, C3 ensures the channel gain constraint under the condition of achieving anti-eavesdropping performance, C4 and C5 are restrictions on time slot division, C6 and C7 represent the maximum transmission power P in each time slot. max And the average power P during the entire communication time avg Under the restriction of , the signal transmission power of UE k should meet the restriction condition, and C8 is the maximum computing capacity constraint that AMEC and AP should meet.
4. According to claim 1, a method for optimizing energy efficiency of secure communication of multi-UAV-assisted MEC system using air RIS enhancement is characterized in that: The step 3 includes that since the variables in the objective function are coupled with each other and the target problem is non-convex, the use of the traditional optimization method, namely SCA, will consume a lot of computing resources. The use of deep reinforcement learning (DRL) can overcome the computational complexity of the traditional optimization method, and a DRL-based algorithm is used to solve the problem P1, and an algorithm based on DDQN is proposed to solve the problem P1; The basic idea of DDQN is to combine two neural networks. The evaluation network is used to select the optimal action, and the target network is used to estimate the Q value. The structures of the two neural network models are exactly the same, but the weight parameters are different. In each time step, the DDQN algorithm uses the evaluation network to select the optimal action and the target network to estimate the target Q value. The target Q value is then compared with the actual Q value, and the parameters of the evaluation network are updated. After a certain time step, the target network parameters will be updated to the evaluation network parameters to keep the difference between the two networks not too large. DDQN optimizes the performance of the network by continuously iteratively updating the parameters of the evaluation network. In each iteration, the evaluation network and the target network are initialized first, and the evaluation network is used to select an action according to the current state. The selected action is executed to obtain the next state and reward Reward and put it into the experience buffer. The target network is used to calculate the maximum Q value action of the next state, and then the evaluation network is used to calculate the Q value of the current state. The target Q value of the maximum Q value action of the next state is used to update the Q value of the current state. Then, random sampling is performed from the experience buffer and the loss function is introduced to update the parameters of the evaluation network. After several rounds of experience pool sampling, the weights of the training model are assigned to the target model. Finally, an optimal strategy is obtained, and the decided operation is deployed to AMEC and ARIS. ARIS will obtain the best hovering position and AMEC will obtain the best flight trajectory.
5. According to claim 1, a method for optimizing energy efficiency of secure communication of multi-UAV-assisted MEC system using air RIS enhancement is characterized in that: The step 4 comprises: Let S denote the system state space. The system space for time slot n is denoted as s[n]∈S, which includes the set of UE-ARIS, ARIS-AMEC, AMEC-AP, ARIS-Eav, UE-Eav and UE-AP channel states, as well as the phase shift of each reflective element during time slot n, defined as: s[n]=[h k,r [n],h r,u [n],h u,a [n],h r,e [n],h k,e [n],h k,a [n],θ a,k [n]] (34)。 6. According to claim 1, a method for optimizing energy efficiency of secure communication of multi-UAV-assisted MEC system using air RIS enhancement is characterized in that: The action space is established based on the time slot division of the dual drones, RIS phase shift, AIRS hovering and AMEC three-dimensional motion: Let A represent the system action space, and use l u [n] represents the horizontal movement of AMEC, and l r [n] represents the horizontal movement of ARIS. Since ARIS remains in the initial state and does not move, l r [n] = 0, Δθ a,k [n] represents the phase shift change of each reflective element, τ U [n] represents the time slot division, then the general discrete action a[n]∈A in time slot n is defined as: a[n]=[l u [n],l r [n],Δθ a,k [n],t U [n]] (35) In the formula, l u [n]∈V1, V1 is the action space of the two UAVs in the horizontal direction, which consists of east, west, north, south or static movements, that is: V1@{(x j ,0),(-x j ,0),(0,y j ),(0,-y j ),(0,0)} (36) The positions of the two drones in the next time slot can be expressed as: w u [n+1]=w u [n]+l u [n] (37) w r [n+1]=w r [n] (38) Assume that the change in phase shift of each reflective element is The time slot is divided into τ U [n]∈{0,0.1,0.2,0.3,0.4,0.5,0.6,0.7,0.8,0.9,1}, and the initial value is set to 0.
5.
7. According to claim 1, a method for optimizing energy efficiency of secure communication of multi-UAV-assisted MEC system using air RIS enhancement is characterized in that: According to the energy efficiency of system security communication, user satisfaction is introduced and the Reward function is established. Before that, the energy efficiency of system security communication in time slot n, E[n], needs to be defined: The generated reward depends on the current state of the system and the operation performed in each time slot. Indicates UE satisfaction: in, represents the minimum transmission amount of the terminal in time slot n, and D represents the minimum data processing requirement of the terminal. According to the above formula, the Reward function is defined as:
8. According to claim 1, a method for optimizing energy efficiency of secure communication of multi-UAV-assisted MEC system using air RIS enhancement is characterized in that: Based on the state space obtained in step 4, the action space obtained in step 5, and the reward function in step 6, DNN updates its parameters according to the selected action and iterates to obtain the maximum energy efficiency of secure communication. In the DDQN-based algorithm, there is an agent that interacts with the environment. Initially, the evaluation network and the target network are randomly initialized to have the same parameters. During the training process, the evaluation network is updated in real time, and the target network periodically copies parameters from the evaluation network. The agent first passes the state s[n] to the evaluation network, whose weight parameter is θ Q , the evaluation network generates the Q value of each action: Where γ∈[0,1] is the discount factor. The Q-learning process usually adopts a strategy to determine the highest Q value relative to the state s[n]. The greedy strategy is given by the following formula: After AMEC performs the action selected according to the above formula, it will get Reward-r[n] and s[n+1]. The newly created sample is stored in the experience buffer, which consists of (s[n], a[n], r[n], s[n+1]). In order to train the evaluation network Q(·) and the target network Q'(·), a sample of size p is randomly selected from the experience buffer to evaluate the network weight parameter θ Q Use the loss function for training: L(θ Q )=E[y[n]-Q(s[n],a[n]|θ Q )] (44) Among them, y[n] is the target value, and the calculation formula is:
Citation Information
Cited By
Safety communication method and system based on UAV-RIS
CN119363168A
A secure communication method and system based on UAV-RIS
CN119363168B
Secrecy capacity and low detection probability joint optimization method and system based on RIS
CN119485391A
RIS-based joint optimization method and system for secrecy capacity and low detection probability
CN119485391B
Anti-interference unmanned aerial vehicle-IOS auxiliary wireless communication energy collection method
CN119743782A
