The invention provides a method for assisting in cognizing safety and energy efficiency in a
wireless network through an airborne intelligent reflecting surface (IRS) of an unmanned aerial vehicle (UAV), and relates to a method for assisting in cognizing safety and energy efficiency in the
wireless network through the IRS. And the multi-antenna
cognitive base station communicates with the secondary user through the airborne IRS under the condition that a plurality of collaborative eavesdroppers exist by utilizing the
frequency spectrum allocated to the primary user. In order to realize the balance between the secondary user safety rate and the UAV
energy consumption, the safety energy efficiency maximization is realized by performing joint optimization on the active beam forming of the
cognitive base station, the IRS passive beam forming and the UAV trajectory. In order to solve the non-convex problem with high
coupling, the invention provides an optimization
algorithm based on alternating iteration, firstly, a
cognitive base station active beam and an IRS passive beam are respectively converted into a rank-one constraint problem by utilizing Charnes-Cooper transform and positive semidefinite
programming, then relaxation solution is carried out through a positive semidefinite relaxation technology, and finally, a non-convex problem with high
coupling is solved. And a UAV trajectory is solved through a continuous convex
approximation algorithm, and finally, alternate solution is carried out based on an alternate iteration framework until convergence. A
simulation result shows that the
algorithm can effectively enhance the safety energy efficiency of the secondary user and improve the safety performance of the secondary user.