The invention discloses an unmanned aerial vehicle
relay route planning method based on photoelectric
hybrid switching. The method comprises the following steps: establishing a
free space optical channel model, and focusing a
flicker effect caused by turbulence and attenuation caused by weather; when a
radio frequency channel model is constructed, line-of-
sight and non-line-of-
sight large-scale
fading are fused, and downlink multi-user interference is quantized; establishing a
hybrid obstacle model based on a
Ray-AABB
algorithm, fusing ground static and air dynamic obstacles, and determining a
sight distance connection feasible position set; a boundary reflection type random walk model is adopted to describe user movement, and a speed and direction two-parameter updating mechanism and a boundary
elastic collision rule are defined; the user
throughput is dynamically optimized in combination with fractional order power distribution and non-orthogonal multiple access technologies; a deep
reinforcement learning framework is provided, and a three-dimensional track, photoelectric switching and
resource allocation are jointly optimized by using a dual deep Q network. According to the invention, the challenge of a low-altitude spectrum rejection environment can be effectively handled, and the robustness and
adaptive capacity of the
system are ensured.