The invention discloses an unmanned aerial vehicle energy efficiency maximization resource distribution scheme based on a physical layer safety technology, so that the purpose of maximizing the safetycapacity of the ground users is achieved. The method comprises the following steps: 1, setting parameters and initializing the parameters; 2, calculating the transmission power Pi [n] corresponding to the nth moment on the basis of the flight trajectory qi [n] of the given ith iteration; 3, updating the multiplier lambda i by using a sub-gradient iteration method according to the transmission power Pi [n]; 4, judging the average sending power constraint to obtain the sending power Pi [n] of the ith iteration; 5, utilizing the transmission power Pi [n] obtained by iteration, and calculating the parameter optimization function S (zeta i) by means of a convex optimization algorithm to obtain a flight trajectory qi [n]; 6, judging the parameter optimization function S (zeta i), judging whether the iteration stopping condition is met or not, and if the iteration stopping condition is met, the iteration stopping condition is judged, obtaining the optimal transmission power po [n] and the flight trajectory qo [n] under the optimal energy efficiency, otherwise, continuing to circulate until the condition is met. The method has the advantages of being capable of guaranteeing safe transmission of information, fast algorithm convergence, easy implementation, and can be used for wireless communication.