The invention discloses an efficient
routing algorithm for offshore
buoy networking. The problem that existing offshore
buoy networking
information transmission is poor in real-time performance and stability is mainly solved. According to the scheme, the method comprises the following steps: inputting the position of an offshore
buoy network, constructing a
communication link connectivity model, and abstracting a
network link topology by means of a
graph theory representation mode; comprehensively considering network efficiencies such as time
delay,
packet loss rate and
network load balancing, and determining link cost between two buoy nodes; aiming at the defect that the
ant colony
algorithm is easy to fall into
local optimum, two-point improvement is carried out on the basic
ant colony
algorithm. The method comprises the following steps: firstly, during construction of initial pheromones, in a first
iteration process of an
algorithm, 20% of ants in a
population are selected, a path with the minimum cost is selected based on a
neighbor algorithm, and the remaining ants adopt random selection paths, so that the convergence of the algorithm is improved, and meanwhile, the diversity of the
population is ensured; and a second point, aiming at the problem that a large number of ants are easy to walk to a repeated path when the
ant colony is converged to the
local optimum in the later stage of iteration, adding repeated check operation in an algorithm updating process. According to the specific operation, when 20% of ants select repeated paths, the ants of the repeated paths select new paths in a random mode, the
path search space is expanded, and the algorithm performance is improved. According to the method, the efficient
route of buoy networking communication can be dynamically planned, and the real-time performance and the stability of the network are met.