The invention provides a wireless mesh network opportunity routing algorithm based on service quality assurance, belongs to the technical field of wireless communication, and aims at periodically interacting information with each node in a network to obtain the real-time state of the network. When a node needs to forward service data, firstly, a candidate node forwarding range is selected directionally according to geographical location information; and then according to the network state and service quality requirements, selecting an appropriate candidate next hop node set, and carrying out priority ranking on the candidate next hop nodes, the higher the priority is, the more possible the next hop is. And if no candidate node successfully becomes the next hop, temporarily caching the data, and re-sending the routing request. According to the invention, the real-time state of the network link is combined, the service quality requirement is fully considered in the process of selecting the candidate next hop node to forward the data, and the priority ranking is carried out on the candidate next hop node, so that the reliability of data forwarding is ensured, and the service quality requirement of data forwarding is effectively ensured on the basis of improving the real-time utilization efficiency of the network.