The invention discloses an energy-saving QoS (
Quality of Service)
routing protocol implementation method based on
ant colony optimization, which aims at solving the problems of low routing efficiency and high path
energy consumption in a UANET (User Ad Hoc Network) based on RF / FSO (
Radio Frequency /
Free Space Optimization) communication, and realizes an energy-saving QoS
routing protocol based on
ant colony optimization. An energy-saving QoS
routing algorithm based on
ant colony optimization is provided, and node neighborhood
energy density is considered in a path transition
probability model, so that the search efficiency of the
ant colony algorithm is improved, and
energy balance in the network is ensured; energy and distance factors are added into a
pheromone updating rule, and the difference between the optimal path and other paths is increased; a self-adaptive
pheromone volatilization mechanism is added, and the volatilization rate of pheromones is dynamically adjusted according to the real-time state of the network; and a cross-layer
data exchange interface is added, so that real-time updating of link interaction data is ensured, and stable communication in a dynamic network environment is supported.