IRS-assisted UAV secure communication method, system and electronic equipment

Through the IRS-based UAV secure communication method, the resource allocation of UAVs and intelligent reflective surfaces is optimized, the problem of eavesdropping in UAV base station communications is solved, and higher safety performance and communication security are achieved.

CN113853018BActive Publication Date: 2024-08-23BEIJING UNIV OF POSTS & TELECOMM
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202110922658.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-08-11
Publication Date
2024-08-23
Estimated Expiration
2041-08-11

AI Technical Summary

Technical Problem

When UAV base stations conduct wireless communications, there are illegal users that may maliciously eavesdrop on the signals of legitimate users, reducing communication security, and existing technology cannot effectively utilize multi-antenna users to improve security.

Method used

An IRS-assisted UAV secure communication method is adopted to determine the channel information between UAVs, intelligent reflecting surfaces, legal user terminals and eavesdropping user terminals, optimize resource strategies, adjust the UAV's position and beam matrix, and utilize The phase shift matrix of artificial noise and intelligent reflective surfaces enables better resource allocation and secure communication performance.

Benefits of technology

It improves the security performance of drone communications, can effectively distinguish between safe and dangerous transmissions, prevent eavesdropping, and improve the security rate and overall performance of the system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113853018B
    Figure CN113853018B
Patent Text Reader

Abstract

The present invention provides a method, system and electronic device for secure communication of unmanned aerial vehicles (UAVs) assisted by IRS. In a secure communication scenario of unmanned aerial vehicles, the method is implemented based on the control of wireless channels by IRS and the mobility characteristics of UAVs, and the IRS and multi-antenna unmanned aerial vehicle base stations are used to communicate with legitimate users and eavesdropping users of multiple antennas. In order to achieve the optimal configuration of resources and rationally utilize communication resources, the transmitting beam matrix of the unmanned aerial vehicle, the AN matrix, the phase shift matrix of the IRS and the position of the unmanned aerial vehicle are alternately iteratively optimized. In this process, the controller controls the IRS to coordinate with the UAV to perform joint beamforming through a physical control link, thereby realizing the beamforming and position layout of the unmanned aerial vehicle and the phase shift matrix design of the IRS, which can achieve a higher user safety rate and improve the safety performance of the system.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of drone communication technology, and in particular to an IRS-assisted drone secure communication method, system, and electronic equipment. Background Art

[0002] When wireless communication is performed using a drone base station, there may be illegal users among the users that communicate with the drone base station. Illegal users may maliciously eavesdrop on the wireless signals transmitted between the drone base station and the legitimate users, reducing the security of wireless communication.

[0003] The existing UAV communication technology only considers the case where the user end has a single antenna, namely MISO (Multi-Input Single-Output). Therefore, when the user end has multiple antennas, the wireless communication method cannot be used. MIMO (Multi-Input Multi-Output) can reuse different transmission paths in space to send multiple copies of different data in parallel to increase capacity and further improve the security of wireless communication. Summary of the invention

[0004] In view of this, the purpose of the present disclosure is to propose an IRS-assisted UAV secure communication method, system and electronic equipment to solve or partially solve the above-mentioned technical problems.

[0005] Based on the above objectives, the first aspect of the present disclosure provides a UAV secure communication method based on IRS assistance, comprising:

[0006] Determine the information of each channel between the drone, the intelligent reflective surface, the legitimate user terminal and the eavesdropping user terminal, and determine the basic security rate of communication transmission based on the information of each channel;

[0007] Optimize the communication environment data of the current UAV and determine the resource optimization strategy, where the resource optimization strategy includes: determining the transmitting beam of the UAV, determining the phase shift matrix of the intelligent reflection surface, and determining the position of the UAV;

[0008] Determine the UAV's beam matrix and noise matrix, and update the UAV's transmit beam;

[0009] Adjusting the phase shift matrix of the smart reflective surface;

[0010] Determine the position of the drone according to the obtained optimal position information of the drone, and move the drone to the position of the drone;

[0011] Determine each current channel information between the UAV, the intelligent reflective surface, the legitimate user terminal and the eavesdropping user terminal in the current state, and determine the current safe rate of communication transmission in the current state according to each current channel information;

[0012] Calculate the difference between the current safety rate and the basic safety rate; in response to determining that the difference is greater than a set threshold, determine that the communication transmission in the current state is a dangerous transmission; in response to determining that the difference is less than or equal to the set threshold, determine that the communication transmission in the current state is a safe transmission.

[0013] The second aspect of the present disclosure proposes an IRS-assisted UAV secure communication system, comprising:

[0014] A safety rate determination module is used to determine the information of each channel between the UAV, the intelligent reflective surface, the legitimate user terminal and the eavesdropping user terminal, and determine the basic safety rate of communication transmission according to the information of each channel;

[0015] The optimization processing module is used to optimize the communication environment data of the current UAV and determine the resource optimization strategy, wherein the resource optimization strategy includes: determining the transmitting beam of the UAV, determining the phase shift matrix of the intelligent reflection surface, and determining the position of the UAV;

[0016] The update module is used to determine the beam matrix and noise matrix of the UAV and update the transmitting beam of the UAV;

[0017] An adjustment module, used for adjusting the phase shift matrix of the smart reflection surface;

[0018] A position determination module, used to determine the position of the drone according to the obtained optimal position information of the drone, and move the drone to the position of the drone;

[0019] The safety rate determination module is further used to determine each current channel information between the drone, the intelligent reflective surface, the legitimate user terminal and the eavesdropping user terminal in the current state, and determine the current safety rate of communication transmission in the current state according to each current channel information;

[0020] A determination module is used to calculate the difference between the current safety rate and the basic safety rate; in response to determining that the difference is greater than a set threshold, determine that the communication transmission in the current state is a dangerous transmission; in response to determining that the difference is less than or equal to the set threshold, determine that the communication transmission in the current state is a safe transmission.

[0021] A third aspect of the present disclosure proposes an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the method described in the first aspect when executing the program.

[0022] A fourth aspect of the present disclosure provides a non-transitory computer-readable storage medium, wherein the non-transitory computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a computer to execute the method described in the first aspect.

[0023] From the above, it can be seen that the IRS-assisted UAV security communication method, system and electronic equipment provided by the present invention are based on the joint beamforming of the UAV base station and IRS, and the UAV's transmit beam matrix, AN (Artificial Noise) matrix, IRS phase shift matrix and the position of the UAV are alternately iteratively optimized and finally converge to achieve a better resource optimization strategy and better security communication performance. BRIEF DESCRIPTION OF THE DRAWINGS

[0024] In order to more clearly illustrate the technical solutions in the present disclosure or related technologies, the drawings required for use in the embodiments or related technical descriptions are briefly introduced below. Obviously, the drawings described below are only embodiments of the present disclosure. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0025] Figure 1 Flow chart of the IRS-assisted UAV secure communication method according to an embodiment of the present disclosure;

[0026] Figure 2 A schematic diagram of a three-dimensional structure constructed of various components in the IRS-assisted unmanned aerial vehicle secure communication method according to an embodiment of the present disclosure;

[0027] Figure 3 A schematic diagram for geometrically illustrating the complex domain circular manifold method according to an embodiment of the present disclosure;

[0028] Figure 4 A schematic diagram of a roulette wheel according to an embodiment of the present disclosure;

[0029] Figure 5 is a schematic diagram of a two-point intersection method according to an embodiment of the present disclosure;

[0030] Figure 6 is a flow chart of a genetic algorithm according to an embodiment of the present disclosure;

[0031] Figure 7 is a structural block diagram of an IRS-assisted UAV secure communication system according to an embodiment of the present disclosure;

[0032] Figure 8 It is a schematic diagram of the structure of an electronic device according to an embodiment of the present disclosure. DETAILED DESCRIPTION

[0033] In order to make the objectives, technical solutions and advantages of the present disclosure more clearly understood, the present disclosure is further described in detail below in combination with specific embodiments and with reference to the accompanying drawings.

[0034] It should be noted that, unless otherwise defined, the technical terms or scientific terms used in the embodiments of the present disclosure should be understood by people with ordinary skills in the field to which the present disclosure belongs. The "first", "second" and similar words used in the embodiments of the present disclosure do not indicate any order, quantity or importance, but are only used to distinguish different components. "Including" or "comprising" and similar words mean that the elements or objects appearing before the word cover the elements or objects listed after the word and their equivalents, without excluding other elements or objects. "Connect" or "connected" and similar words are not limited to physical or mechanical connections, but can include electrical connections, whether direct or indirect. "Up", "down", "left", "right" and the like are only used to indicate relative positional relationships. When the absolute position of the described object changes, the relative positional relationship may also change accordingly.

[0035] IRS (Intelligent Reflecting Surface) is an artificial surface of electromagnetic material, which has unique wireless communication capabilities through circuit control through integrated electronic technology. The technologies currently applied include traditional reflective arrays, liquid crystal surfaces and software-defined metasurfaces. Compared with any other communication technology and design principles currently used in wireless networks, IRS is different in that it can actively change the wireless propagation environment. IRS has similarities with systems based on spatial modulation, but there is a big difference: the role of IRS is actually to intentionally and decisively control the propagation environment to improve the signal quality of the receiver.

[0036] Generally speaking, the reconstruction of the wireless environment by IRS is achieved through the joint phase control of a single reflection unit. IRS consists of a multi-layer two-dimensional surface. In the outer layer, a large number of reflection units are fixed on a dielectric substrate. Each reflection unit can change its electromagnetic properties through a PIN diode and the current flowing through it, thereby causing a phase change in the reflected wave and the diffracted wave, thereby realizing the phase control function. The copper plate in the middle can be used to avoid energy leakage. Since the function of each reflection unit depends only on voltage, the control mechanism can be implemented in a software-defined manner, and a field programmable gate array can be used as the controller of the IRS to connect to the third control layer.

[0037] IRS can be made into any shape, can be easily installed on exterior walls and ceilings, and can also be easily removed. Moreover, IRS does not have energy-consuming RF links and consumes little power. In addition, IRS does not require analog-to-digital / digital-to-analog converters and power amplifiers. Therefore, they neither amplify nor introduce noise when reflecting signals, and have the characteristics of full-duplex transmission. Ideally, IRS can operate at any operating frequency, that is, it has a full-band response. By modifying the communication protocol, IRS can be directly deployed in existing wireless systems. Therefore, IRS has the characteristics of low energy consumption and high compatibility.

[0038] IRS can introduce additional phase shifts to the reflected signals. By jointly optimizing the phase shifts of all reflection elements, i.e., passive beamforming, the signal reflections can be focused on the intended receiver and zeroed in other directions. The number of reflection elements can be very large, e.g., from tens to hundreds, depending on the size and wavelength of the IRS. This means a huge potential for improving the performance of wireless networks. The phase control of IRS is combined with the operating parameters of the transceiver (e.g., transmit beamforming, power allocation, and resource allocation) and can be jointly optimized to improve the performance gain of IRS-assisted wireless networks.

[0039] The use of AN in drone base stations is not considered in the related art. The generation of random noise can increase the interference dynamics and deliberately mislead the eavesdropping user about whether there is any secure transmission. The key to the successful design of AN is to avoid the negative impact of interfering signals on legitimate channels. Therefore, MIMO can be used to eliminate the AN effect in the direction of legitimate users. If the location of the eavesdropping user is known, directional interference can also be used to minimize the enemy's detectability, and more stable security performance can be obtained.

[0040] like Figure 1 As shown, the IRS-assisted UAV secure communication method of this embodiment includes:

[0041] Step 101, determine each channel information between the drone, the intelligent reflective surface, the legitimate user terminal and the eavesdropping user terminal, and determine the basic security rate of communication transmission according to each channel information.

[0042] In the scenario of safe communication of drones, the location and channel status information of drones, IRS, legal users, and eavesdropping users are determined, and the initial beam matrix, AN matrix, IRS phase shift matrix, maximum communication power of drones, etc. of the current drone base station are obtained. The safe rate of legal users in the current scenario is calculated.

[0043] Step 102, optimizing the communication environment data of the current UAV and determining a resource optimization strategy, wherein the resource optimization strategy includes: determining the transmitting beam of the UAV, determining the phase shift matrix of the intelligent reflection surface, and determining the position of the UAV.

[0044] Step 103, determine the beam matrix and noise matrix (ie, AN matrix) of the UAV, and update the transmit beam of the UAV.

[0045] Step 104: adjusting the phase shift matrix of the smart reflection surface.

[0046] Step 105: determine the position of the drone according to the obtained optimal position information of the drone, and move the drone to the position of the drone.

[0047] Step 106, determine the current channel information between the UAV, the intelligent reflective surface, the legitimate user terminal and the eavesdropping user terminal in the current state, and determine the current safe rate of communication transmission in the current state according to the current channel information.

[0048] Step 107, calculate the difference between the current safety rate and the basic safety rate; in response to determining that the difference is greater than a set threshold, determine that the communication transmission in the current state is a dangerous transmission; in response to determining that the difference is less than or equal to the set threshold, determine that the communication transmission in the current state is a safe transmission.

[0049] In the scenario of secure communication of unmanned aerial vehicles, a resource optimization method is designed based on the control of wireless channels by IRS and the mobility characteristics of UAV (Unmanned Aerial Vehicle). By using IRS, the multi-antenna UAV base station communicates with the legitimate users and eavesdropping users of multiple antennas; in order to achieve the optimal resource configuration and rationally utilize communication resources, the transmitting beam matrix of the UAV, the AN matrix, the phase shift matrix of IRS and the position of the UAV are alternately iteratively optimized; in this process, the controller controls the IRS to coordinate the UAV to perform joint beamforming through the physical control link, thereby realizing the beamforming of the UAV and the position layout and the phase shift matrix design of the IRS. Based on the above scheme, a higher user security rate can be achieved and the security performance of the system can be improved.

[0050] In some embodiments, step 101 specifically includes:

[0051] Step 1011, determine the equivalent baseband channel from the drone to the smart reflective surface Determine the equivalent baseband channel from the drone to the legitimate user terminal Determine the equivalent baseband channel from the drone to the eavesdropping user terminal Determine the equivalent baseband channel from the smart reflector to the legitimate user terminal Determine the equivalent baseband channel from the smart reflective surface to the eavesdropping user terminal in, represents a vector, K is the number of reflection units in the smart reflection surface, N U is the number of antennas of the UAV, N B is the number of antennas of the legal user terminal, N E is the number of antennas of the eavesdropping user terminal. Represents the reflection phase matrix of IRS

[0052] like Figure 2 As shown in the figure, considering the IRS-assisted UAV secure communication system, the UAV transmits AN while transmitting useful signals to further enhance the system security performance. The high maneuverability of the UAV can avoid the risk of useful signal leakage by changing its position. The symbols U, I, B, and E are used to refer to the UAV, IRS, legal user, and eavesdropping user, respectively, and u, i, b, and e are used to represent their horizontal two-dimensional coordinates. It is assumed that the legal user terminal and the eavesdropping user terminal are both on the ground, that is, the height is 0. The heights of the UAV and IRS are h respectively. U and h I .

[0053] Step 1012, determining the channel model data of the communication transmission channel:

[0054] Where L0 represents the reference path loss, d mn represents the distance between the two communicating parties, c mn The path loss coefficient between the two communications, represents small-scale fading, U represents unmanned aerial vehicle, I represents intelligent reflecting surface, B represents legal user terminal, and E represents eavesdropping user terminal.

[0055] Indicates small-scale fading. Since both the IRS and the UAV are deployed at a certain height and the complex environment contains a large number of reflections, the channel from the UAV to the IRS is a line-of-sight channel, while the channel from the UAV and IRS to the user is a Ricean channel. Therefore, step 1013 is specifically as follows:

[0056] Step 1013, determine the small-scale fading as:

[0057] in, is the random scattering part in the channel, is the Rayleigh fading channel, k mn is the Rice factor given by the formula k mn =A1exp(A2θ mn ) is calculated, A1 and A2 are constants related to the environment, θ mn =sin -1 (h / dmn ) is the elevation angle of the higher transmitter and the smart reflector relative to the legitimate user terminal and the eavesdropping user terminal on the ground, h is the height difference, It is a line-of-sight channel.

[0058] It can be expressed as: Among them, α m and α n are the guidance vectors of the UAV’s transmitting and receiving arrays, respectively, as follows:

[0059]

[0060]

[0061] Where λ is the carrier wavelength, d m and d n Respectively represent the interval length between the transmitting and receiving antenna arrays or reflective units of the UAV, N m Indicates the number of transmitting antennas or the number of IRS elements, N n Indicates the number of receiving antennas, represents the departure angle, represents the angle of arrival, (x m ,y m ) is the coordinate of the transmitting end, (x n ,y n ) are the receiving end coordinates.

[0062] use Represents the transmitted signal vector of the base station antenna unit, and its expression is: x=F1s+z.

[0063] in, Represents the useful signal linear precoding matrix, d≤min(N U , N B ) represents the number of data streams, represents the useful signal symbol vector, is the artificial noise vector whose covariance matrix

[0064] Step 1014: the received signal y of the legitimate user terminal B and eavesdrop on the receiving signal y of the user terminal E for:

[0065]

[0066]

[0067] in, and are all additive Gaussian white noise, represents a matrix with mean 0 and covariance matrix Circular symmetric complex Gaussian random vector of and are constants related to noise, and is of size N B and N E The unit matrix of , Θ is the reflection phase matrix of the smart reflection surface, G represents the channel from the UAV to the smart reflection surface, F1s+z represents the transmission signal vector of the base station antenna unit, where F1 represents the useful signal linear precoding matrix, s represents the useful signal symbol vector, and z is the artificial noise vector.

[0068] Step 1015, respectively use Refers to a channel where no one reaches a legitimate user terminal. Refers to the channel from the drone to the eavesdropping user terminal. According to Shannon's formula, the achievable rate R of the legitimate user terminal B and the achievable rate R of the eavesdropping user terminal E for:

[0069]

[0070]

[0071] Among them, the legitimate user terminal and are constants related to noise, I, and are all unit matrices, Z is the covariance matrix of z,

[0072] Step 1016, let I. are all unit matrices. According to the definition of safety rate, substituting (4) and (5) into the system model can calculate the basic safety rate R S for:

[0073]

[0074] In some embodiments, under the constraints of limited power, IRS phase, and target user rate, by jointly optimizing the position of the drone, the beamforming of the drone, the AN matrix, and the IRS phase shift matrix, the method further includes:

[0075] Step 1017: calculate the basic safety rate R obtained by formula (6) S Optimize the processing, specifically:

[0076] Among them, P T is the maximum transmission power of the UAV, F2 is the artificial noise covariance matrix, u is the position of the UAV, R min represents the minimum rate. k ∈[0, 2π) represents the phase constraint R of each reflection element in IRS B ≥R min Indicates the minimum rate constraint that must be met by a legitimate user terminal.

[0077] In some embodiments, step 102 specifically includes:

[0078] Step 1021, given the position of the drone, remove u from formula (7), then formula (7) becomes:

[0079]

[0080]

[0081] θ k ∈[0,2π),k=1,...,K

[0082] R B ≥R min #(8).

[0083] Step 1022: Since formula (8) is too complex and has the problem of multiple variable coupling, formula (8) is simplified to obtain:

[0084]

[0085] In the related art, an n×n dimensional matrix function is defined:

[0086]

[0087] Where N is an arbitrary positive definite matrix, then the following three propositions are true:

[0088] (1) For any positive definite matrix Both have:

[0089]

[0090] and

[0091] (2) For any positive definite matrix W, we have:

[0092]

[0093] and,

[0094] (3) Available

[0095] Among them, Proposition (1) and Proposition (2) can be proved by the first-order optimality condition, and Proposition (3) can be proved based on (1) and (2) and the identity logdet(I+AB)=logdet(I+BA).

[0096] Step 1023, introduce auxiliary variables and Then we get:

[0097]

[0098] Function h1(W B , F1, F2, V B ) can be obtained by expanding f1 according to formula (VI), when W B , F1, F2, V B When three of the four variables are fixed, the function h1(W B , F1, F2, V B ) becomes a convex function, and according to formula (IV) we can get W B The best value According to formula (1) and (2), V B The best value It is the reciprocal of formula (1), specifically:

[0099]

[0100] Among them, I d is the identity matrix.

[0101] Step 1024, introduce auxiliary variables Then we get:

[0102]

[0103] When W E , F2, V E When two of the three variables are fixed, h2(W E , F2, V E ) becomes a convex function, making the function h2(W E , F2, V E ) takes the maximum value to get V E The best value W E The best value Specifically:

[0104] in, is the identity matrix,

[0105]

[0106] Define an auxiliary function f(S) = -Tr(SE) + ln|S| + N, where E is an N×N positive definite square matrix, then:

[0107] Let the maximum value of the right side of the equation be S * =E -1 .

[0108] Step 1025, introduce auxiliary variables make get

[0109] When F1, F2, V X When two of the three variables are fixed, h3(F1, F2, V X ) becomes a convex function, making the function h3(F1, F2, V X ) takes the maximum value and gets V X The best value for:

[0110]

[0111] Step 1026, substitute equations (10), (11), (12), (13) and (14) into equation (6) to obtain:

[0112] Where T is [W B , V B , W E , V E , V X , F1, F2, Θ],

[0113] for

[0114] From the above formula, we can observe that for any variable in T, if the other variables are regarded as constants, then This variable is a convex function, and the corresponding formula (8) is:

[0115]

[0116]

[0117] θ k ∈[0,2π), k=1,..,K

[0118] R U≥R min #(16).

[0119] Step 1027, using block coordinate descent method for formula (16), each iteration includes two steps:

[0120] The first step is to update W according to the given F1, F2, θ values ​​through formulas (10), (11), (12), (13) and (14): B , V B , W E , V E , V X The value of .

[0121] The second step is to B , V B , W E , V E , V X Considered as constants, the values ​​of F1, F2, and θ are calculated, and the optimized formula (16) is:

[0122]

[0123]

[0124]

[0125]

[0126] θ k ∈[0, 2π), k=1,...,K

[0127] R B ≥R min #(17)

[0128] in,

[0129] and It is an auxiliary variable introduced, which is only a numerical value and has no practical meaning.

[0130] The optimal resource optimization strategy is obtained by optimizing F1, F2, Θ, and u. Subsequently, an alternating iterative approach is used to fix F1, F2, Θ, and u to obtain three sub-problems for solution.

[0131] In some embodiments, step 103 specifically includes:

[0132] Step 1031, Θ and u in formula (17) are regarded as constants, so Θ and u can be removed, and formula (17) is converted into:

[0133]

[0134]

[0135]

[0136]

[0137]

[0138]

[0139]

[0140] in: is a constant.

[0141] Step 1032, formula (18) is a convex function. Formula (18) is solved by a solver such as CVX to obtain updated values ​​of F1 and F2. The updated F1 and F2 are used as the transmitting beam of the current drone base station for the following calculations.

[0142] In some embodiments, step 104 specifically includes:

[0143] Step 1041, treat the updated F1, F2 and u as constants, and remove the related variables F1, F2, u and constraints Then formula (18) is transformed into:

[0144]

[0145]

[0146]

[0147] stθ k ∈[0,2π),k=1,...,K

[0148]

[0149]

[0150]

[0151] The third and sixth terms in formula (19) are and Substituting in, the sum of the two terms becomes:

[0152]

[0153] Step 1042, introduce new variables and and will and Substituting into formula (19), ignoring the constants that are not related to Θ, formula (15) is transformed into:

[0154]

[0155]

[0156] Tr(Θ H D H )+Tr(ΘD)+Tr[Θ H A1ΘB3]+Tr(Θ H A2ΘB3)+C′≤R′ min # (20)

[0157] Among them, C′ is a constant term, and the corresponding A1, A2, B1, B2, B3, C, and D are all constants relative to Θ.

[0158]

[0159]

[0160]

[0161]

[0162] A1, A2, B1, B2, B3, C, and D all have no practical meaning.

[0163] Step 1043, according to the properties of the matrix, the trace of the conjugate transpose of the matrix is ​​equal to the conjugate transpose of the trace of the matrix. At the same time, Θ is a matrix in which all elements except the diagonal elements are 0. Therefore, the operation of the trace of the matrix is ​​transformed to obtain

[0164]

[0165]

[0166] Tr(Θ H C H )=c H (θ * ), Tr(θC)=θ T c,

[0167] Tr(Θ H D H ) = d H (θ * ), Tr(θD)=θ T d,

[0168] in, represents a vector consisting of the elements on the diagonal of Θ, c = [[C] 1,1 , …, [C] M,M ] T is a vector consisting of the elements on the diagonal of C, d = [[D] 1,1 , …, [D] M,M ] T is a vector consisting of the elements on the diagonal of D.

[0169] Step 1044, formula (20) is converted to: θ H Ψθ+Ψ T c+c H (θ*)#(21),

[0170] in, According to A1, A2, B1, and B2, they can all be regarded as a matrix multiplied by its transposed form, that is, they are all Hermitian matrices with the property of semi-positive definiteness.

[0171] Step 1045, it is known that the Hadamard product of a semidefinite matrix is ​​also a semipositive definite matrix, and Ψ is the sum of two semipositive definite matrices, so it is also a semipositive definite matrix. Formula (21) is further equivalent to:

[0172] θ H (Ψ+αI K )θ+2Re{θ H c *}#(twenty two),

[0173] Among them, θ H αI K θ = αK, IK is an identity matrix of size K, α is a constant;

[0174] Then the rate constraint of the legal user terminal is: θ H Ξθ+2Re{θ H (d * )}+C′≤R′ min ,

[0175] in, C′ is a constant term;

[0176] Let R″ min =R′ min -C′, transforming formula (20) into an equivalent non-convex constraint, we get:

[0177]

[0178]

[0179] in, and variable substitution, ζ is the penalty factor, And ζ>0 satisfies the convexity of function (23).

[0180] Step 1045, using the complex domain circular manifold method to solve the phase shift matrix of the current smart reflection surface.

[0181] The solution can be obtained by semi-definite relaxation method, and the specific step is to convert the module constraint into a rank 1 constraint. However, the semi-definite relaxation method does not always obtain a rank 1 solution, and the computational complexity of formula (23) is too high. Therefore, this application adopts the complex domain circular manifold method for direct solution.

[0182] Where α>0 is a positive constant, formula (23) is equivalent to formula (21), because θ H αI K θ = K, that is, a constant is added to formula (21). The search space of formula (23) can be regarded as the product of K complex circle domains, that is Submanifolds of:

[0183] where x k is the kth component of vector x.

[0184] The main idea of ​​the complex domain circular manifold method is to derive a gradient descent algorithm based on the manifold space defined in the above formula, which is similar to the concept of gradient descent techniques developed for traditional optimization in Euclidean space. Each iteration of the complex domain circular manifold method includes the following four steps:

[0185] (1) Gradient in Euclidean space: First, find a search direction for the minimization problem. The most common search direction is in the direction corresponding to Move in the opposite direction of the gradient, that is:

[0186]

[0187] (2) Riemann gradient: Since the optimization is performed on the manifold space, the Riemann gradient must be found. At point θ t The Riemann gradient at in tangent space In the projection operator, the search direction η in the Euclidean space is t Projection to tangent space Available on At point θ t The Riemann gradient at is as follows:

[0188]

[0189] (3) Update in tangent space: Update the current point θ t , Here, β is the search step size constant.

[0190] (4) Contraction operator. Generally speaking, the contraction operator obtained in step (3) above is Not Available In Therefore, a contraction operator must be used to map it to the manifold In, it is:

[0191] Note that θ t+1 and θ t All belong to And the constraint of modulus value is 1 is satisfied. The geometric description of the complex field circular manifold method is as follows Figure 3 shown.

[0192] Figure 3 The geometric diagram of the complex domain circular manifold method is shown in Figure 1. By repeatedly calculating θ through the above formula, when the value of θ converges, that is, tends to be stable, the IRS phase shift matrix can be solved, and the result is used as the current IRS phase shift matrix for the next calculation. The following theorem provides guidance for the selection of parameters α and β to ensure the convergence of the complex domain manifold method.

[0193] Use and Representation Matrix and The largest eigenvalue, if α and β satisfy the following conditions, Then the complex field circular manifold algorithm will generate a non-increasing sequence Finally, it converges to a finite value, and the converged finite value is used as the phase shift matrix of the current smart reflection surface.

[0194] In some embodiments, step 105 specifically includes:

[0195] Step 1051, determining the communication resource allocation of the UAV according to the phase shift matrix of the current intelligent reflection surface obtained by solving the complex domain circular manifold method, and obtaining:

[0196]

[0197] Where u represents the horizontal two-dimensional coordinate of the drone, which can be obtained by (x U ,y U ) is expressed as follows. The objective function in the optimization problem formula (24) is constrained by the definition of RB Substitute into the minimum rate R of the legal user minFrom the system model, it can be observed that not only the large-scale fading is related to the position of the UAV, but also the line-of-sight channel part in the small-scale fading involves the departure angle and arrival angle related to the position, which is difficult to solve directly. Therefore, the position of the UAV can be solved by genetic algorithm.

[0198] Step 1052: Calculate the position of the UAV using a genetic algorithm, and move the UAV to the position of the UAV.

[0199] The first step of the genetic algorithm is coding design. Considering that the position of the drone is a two-dimensional horizontal plane, binary coding can be used. First, determine the search range of the algorithm, that is, the flight range of the drone. In order to simplify the constraints, assume that the range is a rectangle, that is, the two-dimensional coordinates x of the drone. U and U There are no constraints between them. Then select the length of the code n, that is, the range of the binary code is 0 to 2 n-1 , divide the search interval in the x-axis direction evenly into 2 n Each code corresponds to a position, and x U and U The corresponding codes are connected to form a chromosome, which corresponds to a feasible solution. It can be seen that if the value of n is too small, the accuracy is not high enough, and if the value of n is too large, the amount of calculation will increase sharply.

[0200] The fitness function, also known as the evaluation function, is usually used to distinguish the quality of individuals in a group. High fitness means that excellent individuals have a greater chance of participating in reproduction and inheriting their own genes. The optimization problem is used as the objective function to determine its fitness.

[0201] Fitness proportional selection is used as the parent selection method. In this case, each individual has the possibility of becoming a parent chromosome with a probability proportional to its fitness. Consider a roulette wheel that is divided into N parts, where N is the total number of individuals in the population, and each individual has a portion of the roulette wheel that is proportional to its fitness. A fixed point is selected on the roulette wheel, and the wheel is rotated. The individual that the fixed point falls on is the selected individual. Therefore, the probability of an individual being selected depends on its fitness. The above Figure 4 The principle of roulette can be more vividly demonstrated. In order to ensure the convergence of the algorithm, the present invention adopts the best retention selection strategy to copy the chromosome with the highest current fitness to the next generation, ensuring that each iteration result is better than the previous generation.

[0202] The selection operator operation requires roulette as a basis. When it runs, it will generate a random number from 0 to 1, and then find the range of this number in the roulette. The individual corresponding to this range is the selected individual. Therefore, it is reasonable that individuals with higher fitness are more likely to be selected. Of course, there is also a lower probability of selecting individuals with low fitness. In order to avoid this situation, the present invention introduces a competition mechanism, that is, two individuals are selected in a selection process, and then the individual with higher fitness is selected.

[0203] In genetic algorithms and evolutionary computing, crossover, also known as recombination, is a genetic operator that uses the genetic information of the parents to produce new offspring. The present invention adopts the two-point crossover method, such as Figure 5 As shown, two positions on a chromosome are randomly selected and the genes in the middle part are exchanged with the genes at the corresponding positions on the other chromosome. Figure 5 The two intersection points indicated by the dashed lines are randomly generated.

[0204] Mutation can be defined as a small random adjustment on a chromosome, resulting in a new individual. It is used to maintain and introduce diversity in the genetic population. The probability of mutation is relatively low. If the probability of mutation is too high, the algorithm will be similar to random search. Considering that the previous encoding is binary, the mutation operator can be performed by selecting a single gene on the chromosome and performing a bitwise inversion operation, that is, mutating "1" to "0".

[0205] At the same time, considering that the problem solved by the genetic algorithm is accompanied by non-convex rate constraints, this patent adds a judgment statement in the last step of generating offspring. If the rate requirements of the legitimate user are met, the offspring is generated, otherwise it is reinitialized.

[0206] The main operators of the genetic algorithm are analyzed above, and these operators are integrated according to the process of the genetic algorithm to realize the function of the algorithm. This paper involves two key functions, namely the reproduction function and the evolution function. The functions of the reproduction function include gene replication, crossover and mutation. At the same time, the offspring competition strategy is adopted, that is, only the offspring individual with the strongest adaptability is retained from the two offspring individuals generated by the parent generation. The evolution function realizes a complete iterative process of the genetic algorithm.

[0207] Finally, the horizontal position of the drone is obtained by selecting the chromosome with the largest fitness score. The algorithm flow chart is as follows: Figure 6 As shown, M represents the population size and i represents the population number.

[0208] It should be noted that the method of the embodiment of the present disclosure can be performed by a single device, such as a computer or a server. The method of the present embodiment can also be applied in a distributed scenario and completed by multiple devices cooperating with each other. In the case of such a distributed scenario, one of the multiple devices can only perform one or more steps in the method of the embodiment of the present disclosure, and the multiple devices will interact with each other to complete the described method.

[0209] It should be noted that the above describes some embodiments of the present disclosure. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recorded in the claims can be performed in an order different from that in the above embodiments and still achieve the desired results. In addition, the processes depicted in the accompanying drawings do not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.

[0210] Based on the same inventive concept, corresponding to any of the above-mentioned embodiment methods, the present disclosure also provides an IRS-assisted drone safety communication system.

[0211] refer to Figure 7 , an IRS-assisted UAV secure communication system, comprising:

[0212] The safety rate determination module 21 is used to determine the channel information between the UAV, the intelligent reflective surface, the legitimate user terminal and the eavesdropping user terminal, and determine the basic safety rate of communication transmission according to the channel information;

[0213] The optimization processing module 22 is used to optimize the communication environment data of the current UAV and determine the resource optimization strategy, wherein the resource optimization strategy includes: determining the transmitting beam of the UAV, determining the phase shift matrix of the intelligent reflection surface, and determining the position of the UAV;

[0214] An updating module 23 is used to determine the beam matrix and noise matrix of the UAV and update the transmitting beam of the UAV;

[0215] An adjustment module 24, used to adjust the phase shift matrix of the smart reflection surface;

[0216] A position determination module 25, used to determine the position of the drone according to the obtained optimal position information of the drone, and move the drone to the position of the drone;

[0217] The safety rate determination module 21 is also used to determine the current channel information between the drone, the intelligent reflective surface, the legitimate user terminal and the eavesdropping user terminal in the current state, and determine the current safety rate of the communication transmission in the current state according to the current channel information;

[0218] The determination module 26 is used to calculate the difference between the current safety rate and the basic safety rate; in response to determining that the difference is greater than a set threshold, determine that the communication transmission in the current state is a dangerous transmission; in response to determining that the difference is less than or equal to the set threshold, determine that the communication transmission in the current state is a safe transmission.

[0219] In some embodiments, the safety rate determination module 21 is specifically used to:

[0220] Determine the equivalent baseband channel from the drone to the smart reflective surface Determine the equivalent baseband channel from the drone to the legitimate user terminal Determine the equivalent baseband channel from the drone to the eavesdropping user terminal Determine the equivalent baseband channel from the smart reflector to the legitimate user terminal Determine the equivalent baseband channel from the smart reflective surface to the eavesdropping user terminal in, represents a vector, K is the number of reflection units in the smart reflection surface, N U is the number of antennas of the UAV, N B is the number of antennas of the legal user terminal, N E The number of antennas used to eavesdrop on user terminals;

[0221] Determine the channel model data of the communication transmission channel:

[0222] Where L0 represents the reference path loss, d mn represents the distance between the two communicating parties, c mn The path loss coefficient between the two communications, represents small-scale fading, U represents UAV, I represents intelligent reflective surface, B represents legal user terminal, and E represents eavesdropping user terminal;

[0223] Determine the small-scale fading as:

[0224] in, is the random scattering part in the channel, k mn is the Rice factor given by the formula k mn =A1exp(A2θ mn ) is calculated, A1 and A2 are constants related to the environment, θ mn =sin -1 (h / dmn ) is the elevation angle of the higher transmitter and the smart reflector relative to the legitimate user terminal and the eavesdropping user terminal on the ground, h is the height difference, It is a line-of-sight channel;

[0225] The received signal y of the legitimate user terminal B and eavesdrop on the receiving signal y of the user terminal E for:

[0226]

[0227]

[0228] Among them, n B and n E are all complex white Gaussian noise, Θ is the reflection phase matrix of the smart reflection surface, G represents the channel from the UAV to the smart reflection surface, F1s+z represents the transmission signal vector of the base station antenna unit, where F1 represents the useful signal linear precoding matrix, s represents the useful signal symbol vector, and z is the artificial noise vector;

[0229] According to Shannon's formula, the achievable rate R of a legitimate user terminal is B and the achievable rate R of the eavesdropping user terminal E for:

[0230]

[0231]

[0232] Among them, H B For H E For legitimate user terminals and are constants related to noise, I, and are all unit matrices, Z is the covariance matrix of z;

[0233] make Calculate the basic safety rate R S for:

[0234]

[0235] In some embodiments, the optimization processing module 22 is further configured to:

[0236] The basic safety rate R obtained by formula (6) S Optimize the processing, specifically:

[0237]

[0238]

[0239] θ k ∈[0,2π),k=1,...,K

[0240] R B ≥R min #(7); where P T is the maximum transmission power of the UAV, F2 is the artificial noise covariance matrix, u is the position of the UAV, R min Indicates the minimum rate.

[0241] In some embodiments, the optimization processing module 23 is further used to:

[0242] Remove u from formula (7), then formula (7) becomes:

[0243]

[0244]

[0245] θ k ∈[0, 2π), k=1,...,K

[0246] R B ≥R min #(8)

[0247] Simplifying formula (8) yields:

[0248]

[0249] Introducing auxiliary variables and Then we get:

[0250]

[0251] Get W B The best value and V B The best value Specifically:

[0252]

[0253] Among them, I d is the identity matrix;

[0254] Introducing auxiliary variables Then we get:

[0255]

[0256] Get V E The best value WE The best value Specifically:

[0257] in, is the identity matrix,

[0258]

[0259] Introducing auxiliary variables Then we get

[0260] Get V X The best value for:

[0261]

[0262] Substituting formulas (10), (11), (12), (13) and (14) into formula (6), we obtain:

[0263]

[0264] Where T is [W B , V B , W E , V E , V X , F1, F2, Θ],

[0265] for

[0266] The corresponding formula (8) is:

[0267]

[0268]

[0269] θ k ∈[0, 2π), k=1,...,K

[0270] R U ≥R min #(16)

[0271] According to the given F1, F2, θ values, W is updated by formulas (10), (11), (12), (13) and (14): B , V B , W E , V E , V X The value of W B , V B , W E , VE , V X Considered as constants, the values ​​of F1, F2, and θ are calculated, and the optimized formula (16) is:

[0272]

[0273]

[0274]

[0275]

[0276] θ k ∈[0, 2π), k=1,...,K

[0277] R B ≥R min #(17);

[0278] in,

[0279]

[0280] In some embodiments, the update module 23 is specifically used to:

[0281] If Θ and u in formula (17) are regarded as constants, formula (17) is transformed into:

[0282]

[0283]

[0284]

[0285]

[0286]

[0287]

[0288]

[0289] in: is a constant;

[0290] The updated values ​​of F1 and F2 are obtained by solving formula (18).

[0291] In some embodiments, the adjustment module is specifically used to:

[0292] Considering the updated F1, F2 and u as constants, formula (18) is transformed into:

[0293]

[0294]

[0295]

[0296] stθ k ∈[0, 2π), k=1,...,K

[0297]

[0298]

[0299]

[0300] Introducing new variables and and will and Substituting into formula (19), ignoring the constants that are not related to Θ, formula (15) is transformed into:

[0301]

[0302]

[0303] Tr(Θ H D H )+Tr(ΘD)+Tr[Θ H A1ΘB3]+Tr(Θ H A2ΘB3)+C′≤R′ min #(20)

[0304] Among them, C′ is a constant term, corresponding to A1, A2, B1, B2, B3, C, and D, which are all constants relative to Θ;

[0305] get Tr(Θ H C H )=c H (θ * ), Tr(θC)=θ T c, Tr(θ H D H ) = d H (θ * ), Tr(θD)=θ T d, represents a vector consisting of the elements on the diagonal of Θ, c = [[C] 1,1 …, [C] M,M ] T is a vector consisting of the elements on the diagonal of C, d = [[D]1,1 , …, [D] M,M ] T is a vector consisting of elements on the diagonal of D;

[0306] Formula (20) is converted to: θ H Ψθ+Ψ T c+c H (θ * )#(twenty one),

[0307] in,

[0308] Formula (21) is further equivalent to: θ H (Ψ+αI K )θ+2Re{θ H c *}#(twenty two),

[0309] Among them, θ H αI K θ = αK, IK is an identity matrix of size K, α is a constant;

[0310] Then the rate constraint of the legal user terminal is: θ H Ξθ+2Re{θ H (d * )}+C′≤R′ min ,

[0311] in, C′ is a constant term;

[0312] Let R″ min =R′ min -C′, transforming formula (20) into an equivalent non-convex constraint, we get:

[0313]

[0314] in, and variable substitution, ζ is the penalty factor, And ζ>0;

[0315] The complex domain circular manifold method is used to solve the phase shift matrix of the current smart reflection surface.

[0316] In some embodiments, the location determination module 25 is specifically used to:

[0317] According to the phase shift matrix of the current intelligent reflective surface obtained by the complex domain circular manifold method, the communication resource allocation of the UAV is determined, and the following is obtained:

[0318]

[0319] The position of the UAV is solved by using a genetic algorithm, and the UAV is moved to the position of the UAV.

[0320] For the convenience of description, the above system is described by dividing the functions into various modules. Of course, when implementing the present disclosure, the functions of each module can be implemented in the same or multiple software and / or hardware.

[0321] The system of the above embodiment is used to implement the corresponding IRS-assisted drone security communication method in any of the above embodiments, and has the beneficial effects of the corresponding method embodiments, which will not be repeated here.

[0322] Based on the same inventive concept, corresponding to any of the above-mentioned embodiments and methods, the present disclosure also provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, the IRS-assisted drone safety communication method described in any of the above embodiments is implemented.

[0323] Figure 8 A more specific schematic diagram of the hardware structure of an electronic device provided in this embodiment is shown, and the device may include: a processor 1010, a memory 1020, an input / output interface 1030, a communication interface 1040, and a bus 1050. The processor 1010, the memory 1020, the input / output interface 1030, and the communication interface 1040 are connected to each other through the bus 1050 in the device.

[0324] The processor 1010 can be implemented by a general-purpose CPU (Central Processing Unit), a microprocessor, an application-specific integrated circuit (ASIC), or one or more integrated circuits, and is used to execute relevant programs to implement the technical solutions provided in the embodiments of this specification.

[0325] The memory 1020 may be implemented in the form of ROM (Read Only Memory), RAM (Random Access Memory), static storage device, dynamic storage device, etc. The memory 1020 may store an operating system and other application programs. When the technical solutions provided in the embodiments of this specification are implemented by software or firmware, the relevant program codes are stored in the memory 1020 and are called and executed by the processor 1010.

[0326] The input / output interface 1030 is used to connect the input / output module to realize information input and output. The input / output module can be configured in the device as a component (not shown in the figure), or it can be externally connected to the device to provide corresponding functions. The input device may include a keyboard, a mouse, a touch screen, a microphone, various sensors, etc., and the output device may include a display, a speaker, a vibrator, an indicator light, etc.

[0327] The communication interface 1040 is used to connect a communication module (not shown) to realize communication interaction between the device and other devices. The communication module can realize communication through a wired mode (such as USB, network cable, etc.) or a wireless mode (such as mobile network, WIFI, Bluetooth, etc.).

[0328] The bus 1050 includes a path that transmits information between the various components of the device (eg, the processor 1010, the memory 1020, the input / output interface 1030, and the communication interface 1040).

[0329] It should be noted that, although the above device only shows the processor 1010, the memory 1020, the input / output interface 1030, the communication interface 1040 and the bus 1050, in the specific implementation process, the device may also include other components necessary for normal operation. In addition, it can be understood by those skilled in the art that the above device may also only include the components necessary for implementing the embodiments of the present specification, and does not necessarily include all the components shown in the figure.

[0330] The electronic device of the above-mentioned embodiment is used to implement the corresponding IRS-assisted drone safety communication method in any of the above-mentioned embodiments, and has the beneficial effects of the corresponding method embodiments, which will not be repeated here.

[0331] Based on the same inventive concept, corresponding to any of the above-mentioned embodiment methods, the present disclosure also provides a non-transitory computer-readable storage medium, wherein the non-transitory computer-readable storage medium stores computer instructions, and the computer instructions are used to enable the computer to execute the IRS-assisted drone safety communication method as described in any of the above embodiments.

[0332] The computer-readable medium of this embodiment includes permanent and non-permanent, removable and non-removable media, and information storage can be implemented by any method or technology. Information can be computer-readable instructions, data structures, modules of programs, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, read-only compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device.

[0333] The computer instructions stored in the storage medium of the above embodiment are used to enable the computer to execute the IRS-assisted drone safety communication method as described in any of the above embodiments, and have the beneficial effects of the corresponding method embodiments, which will not be repeated here.

[0334] Those skilled in the art should understand that the discussion of any of the above embodiments is merely illustrative and is not intended to imply that the scope of the present disclosure (including the claims) is limited to these examples. Based on the concept of the present disclosure, the technical features in the above embodiments or different embodiments may be combined, the steps may be implemented in any order, and there are many other variations of the different aspects of the embodiments of the present disclosure as described above, which are not provided in detail for the sake of simplicity.

[0335] In addition, to simplify the description and discussion, and in order not to make the embodiments of the present disclosure difficult to understand, the known power / ground connections to the integrated circuit (IC) chips and other components may or may not be shown in the provided figures. In addition, the device can be shown in the form of a block diagram to avoid making the embodiments of the present disclosure difficult to understand, and this also takes into account the fact that the details of the implementation of these block diagram devices are highly dependent on the platform on which the embodiments of the present disclosure will be implemented (that is, these details should be fully within the scope of understanding of those skilled in the art). Where specific details (e.g., circuits) are set forth to describe exemplary embodiments of the present disclosure, it is apparent to those skilled in the art that the embodiments of the present disclosure can be implemented without these specific details or with changes in these specific details. Therefore, these descriptions should be considered illustrative rather than restrictive.

[0336] Although the present disclosure has been described in conjunction with specific embodiments of the present disclosure, many replacements, modifications and variations of these embodiments will be apparent to those skilled in the art from the foregoing description. For example, other memory architectures (e.g., dynamic RAM (DRAM)) may use the embodiments discussed.

[0337] The embodiments of the present disclosure are intended to cover all such substitutions, modifications and variations that fall within the broad scope of the appended claims. Therefore, any omissions, modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the embodiments of the present disclosure should be included in the scope of protection of the present disclosure.

Claims

1. A method for secure communication of unmanned aerial vehicles based on IRS assistance, comprising: Determine the information of each channel between the drone, the intelligent reflective surface, the legitimate user terminal and the eavesdropping user terminal, and determine the basic security rate of communication transmission based on the information of each channel; Optimize the communication environment data of the current UAV and determine the resource optimization strategy, where the resource optimization strategy includes: determining the transmitting beam of the UAV, determining the phase shift matrix of the intelligent reflection surface, and determining the position of the UAV; Determine the UAV's beam matrix and noise matrix, and update the UAV's transmit beam; Adjusting the phase shift matrix of the smart reflective surface; Determine the position of the drone according to the obtained optimal position information of the drone, and move the drone to the position of the drone; Determine each current channel information between the UAV, the intelligent reflective surface, the legitimate user terminal and the eavesdropping user terminal in the current state, and determine the current safe rate of communication transmission in the current state according to each current channel information; Calculate the difference between the current safety rate and the basic safety rate; in response to determining that the difference is greater than a set threshold, determine that the communication transmission in the current state is a dangerous transmission; in response to determining that the difference is less than or equal to the set threshold, determine that the communication transmission in the current state is a safe transmission.

2. The method according to claim 1, wherein: The determining of each channel information between the drone, the intelligent reflective surface, the legitimate user terminal, and the eavesdropping user terminal, and determining the basic security rate of communication transmission according to each channel information specifically includes: Determine the equivalent baseband channel from the drone to the smart reflective surface Determine the equivalent baseband channel from the drone to the legitimate user terminal Determine the equivalent baseband channel from the drone to the eavesdropping user terminal Determine the equivalent baseband channel from the smart reflector to the legitimate user terminal Determine the equivalent baseband channel from the smart reflective surface to the eavesdropping user terminal in, represents a vector, K is the number of reflection units in the smart reflection surface, N U is the number of antennas of the UAV, N B is the number of antennas of the legal user terminal, N E The number of antennas used to eavesdrop on user terminals; Determine the channel model data of the communication transmission channel: Where L0 represents the reference path loss, d mn represents the distance between the two communicating parties, c mn The path loss coefficient between the two communications, represents small-scale fading, U represents UAV, I represents intelligent reflective surface, B represents legal user terminal, and E represents eavesdropping user terminal; Determine the small-scale fading as: in, is the random scattering part in the channel, k mn is the Rice factor given by the formula k mn =A1exp(A2θ mn ) is calculated, A1 and A2 are constants related to the environment, θ mn =sin -1 (h / d mn ) is the elevation angle of the higher transmitter and the smart reflector relative to the legitimate user terminal and the eavesdropping user terminal on the ground, h is the height difference, It is a line-of-sight channel; The received signal y of the legitimate user terminal B and eavesdrop on the receiving signal y of the user terminal E for: Among them, n B and n E are all complex white Gaussian noise, Θ is the reflection phase matrix of the smart reflection surface, G represents the channel from the UAV to the smart reflection surface, F1s+z represents the transmission signal vector of the base station antenna unit, where F1 represents the useful signal linear precoding matrix, s represents the useful signal symbol vector, and z is the artificial noise vector; According to Shannon's formula, the achievable rate R of a legitimate user terminal is B and the achievable rate R of the eavesdropping user terminal E for: Among them, the legitimate user terminal and are constants related to noise, I, and are all unit matrices, Z is the covariance matrix of z, H B Refers to the equivalent cascade channel from the drone to the legitimate user terminal, H B The conjugate transpose of E Refers to the equivalent cascade channel from the drone to the eavesdropping user terminal, H E The conjugate transpose of ; make Calculate the basic safety rate R S for: F2 is the artificial noise covariance matrix, is the conjugate transpose of F2, is the conjugate transpose of F1.

3. The method according to claim 2, wherein: The method further comprises: The basic safety rate R obtained by formula (6) S Optimize the processing, specifically: i k ∈[0,2π),k=1,...,K R B ≥R min (7); where P T is the maximum transmission power of the UAV, u is the position of the UAV, θ k is the phase constraint for each reflection element, R min Indicates the minimum rate.

4. The method according to claim 3, wherein: The optimization process of the communication environment data of the current UAV and determination of the resource optimization strategy specifically includes: Remove u from formula (7), then formula (7) becomes: i k ∈[0,2π),k=1,...,K R B ≥R min (8); Simplifying formula (8) yields: in, Introducing auxiliary variables and Then we get: Get W B The best value and V B The best value Specifically: Among them, I d is the identity matrix, for The conjugate transpose of ; Introduce auxiliary variable V E ≥0, Then we get: Get V E The best value W E The best value Specifically: in, is the identity matrix, for The conjugate transpose of for The conjugate transpose of ; Introduce auxiliary variable V X ≥0, Then we get Get V X The best value for: Substituting formulas (10), (11), (12), (13) and (14) into formula (6), we obtain: Where T is [W B , V B , W E , V E , V X , F1, F2, Θ], for The corresponding formula (8) is: i k ∈[0,2π),k=1,...,K R U ≥R min (16), Where Θ is the reflection phase matrix of the smart reflective surface, u is the position of the drone, and R U is the achievable velocity of the UAV; According to the given F1, F2, θ values, W is updated by formulas (10), (11), (12), (13) and (14): B , V B , W E , V E , V X The value of W B , V B , W E , V E , V X Considered as constants, the values ​​of F1, F2, and θ are calculated, and the optimized formula (16) is: i k ∈[0,2π),k=1,...,K R B ≥R min (17); in, W B The conjugate transpose of W E The conjugate transpose of 5. The method according to claim 4, wherein: The determining of the beam matrix and the noise matrix of the drone and updating the transmitting beam of the drone specifically includes: If Θ and u in formula (17) are regarded as constants, formula (17) is transformed into: in: is a constant; The updated values ​​of F1 and F2 are obtained by solving formula (18).

6. The method according to claim 5, wherein: The adjusting the phase shift matrix of the smart reflective surface specifically includes: Considering the updated F1, F2 and u as constants, formula (18) is transformed into: s.t.θ k ∈[0,2π),k=1,...,K Introducing new variables and and will and Substitute into formula (19), where The conjugate transpose of the channel from the drone to the legitimate user terminal, The conjugate transpose of the channel from the smart reflector to the legitimate user terminal, The conjugate transpose of the channel from the drone to the eavesdropping user terminal, Conjugate transpose of the channel from the smart reflective surface to the eavesdropping user terminal; Ignoring constants that are not related to Θ, formula (15) is transformed into: Tr(Θ H C H )+Tr(ΘC)+Tr[Θ H A1ΘB1]+Tr(Θ H A2ΘB2) Tr(Θ H D H )+Tr(ΘD)+Tr[Θ H A1ΘB3]+Tr(Θ H A2ΘB3)+C′≤R′ min (20); Among them, C′ is a constant term, corresponding to A1, A2, B1, B2, B3, C, and D, which are all constants relative to Θ. H is the conjugate transpose of Θ, D H is the conjugate transpose of D, C H is the conjugate transpose of C; get Tr(Θ H C H )=c H (θ * ), Tr(θC)=θ T c, Tr(θ H D H ) = d H (θ * ), Tr(θD)=θ T d, represents a vector consisting of the elements on the diagonal of Θ, j is the index of the element on the diagonal and j is a positive integer, c = [[C] 1,1 , …, [C] M,M ] T is a vector consisting of the elements on the diagonal of C, d = [[D] 1,1 , …, [D] M,M ] T is a vector consisting of elements on the diagonal of D; Formula (20) is converted to: θ H Ψθ+Ψ T c+c H (θ * ) (twenty one), in, Formula (21) is further equivalent to: θ H (Ψ+αI K )θ+2Re{θ H c * } (twenty two), Among them, θ H αI K θ=αK,θ H is the conjugate transpose of θ, I K is an identity matrix of size K, and α is a constant; Then the rate constraint of the legal user terminal is: θ H Ξθ+2Re{θ H (d * )}C′≤R′ min , in, C′ is a constant term; Let R″ min =R′ min -C′, transforming formula (20) into an equivalent non-convex constraint, we get: in, and variable substitution, ζ is the penalty factor, And ζ>0; The complex domain circular manifold method is used to solve the phase shift matrix of the current smart reflection surface.

7. The method according to claim 6, wherein: The determining the position of the drone according to the obtained optimal position information of the drone, and moving the drone to the position of the drone specifically includes: According to the phase shift matrix of the current intelligent reflective surface obtained by the complex domain circular manifold method, the communication resource allocation of the UAV is determined, and the following is obtained: The position of the UAV is solved by using a genetic algorithm, and the UAV is moved to the position of the UAV.

8. An IRS-assisted UAV secure communication system, comprising: A safety rate determination module is used to determine the information of each channel between the UAV, the intelligent reflective surface, the legitimate user terminal and the eavesdropping user terminal, and determine the basic safety rate of communication transmission according to the information of each channel; The optimization processing module is used to optimize the communication environment data of the current UAV and determine the resource optimization strategy, wherein the resource optimization strategy includes: determining the transmitting beam of the UAV, determining the phase shift matrix of the intelligent reflection surface, and determining the position of the UAV; The update module is used to determine the beam matrix and noise matrix of the UAV and update the transmitting beam of the UAV; An adjustment module, used for adjusting the phase shift matrix of the smart reflection surface; A position determination module, used to determine the position of the drone according to the obtained optimal position information of the drone, and move the drone to the position of the drone; The safety rate determination module is further used to determine each current channel information between the drone, the intelligent reflective surface, the legitimate user terminal and the eavesdropping user terminal in the current state, and determine the current safety rate of communication transmission in the current state according to each current channel information; A determination module is used to calculate the difference between the current safety rate and the basic safety rate; in response to determining that the difference is greater than a set threshold, determine that the communication transmission in the current state is a dangerous transmission; in response to determining that the difference is less than or equal to the set threshold, determine that the communication transmission in the current state is a safe transmission.

9. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the method according to any one of claims 1 to 7 when executing the program. 10 . A non-transitory computer-readable storage medium storing computer instructions, wherein the computer instructions are used to cause a computer to execute the method according to claim 1 .