The invention discloses a centralized routing algorithm in a wireless Mesh network. The centralized routing algorithm comprises the four stages of initial root route setting-up, link state information uploading, path selecting and grouping forwarding, and route self-healing. A mode of calculating routes in a centralized mode through a root node is adopted for finishing finding paths, nodes upload the link state information to the root node, the root node masters whole-network topology, and a route between a source node and a target node which are to communicate is calculated; after the initial link state is uploaded, all the nodes upload the link state information only when the link state changes and exceeds a certain threshold value or the neighbor nodes change, and the link state information is prevented from being uploaded frequently; after the root node calculates to obtain the optimal path, a backup path which does not intersect with the optimal path can be obtained only by deleting the nodes on the path in the original network topology and recalculating the optimal path. According to the centralized routing algorithm, flooding in the path finding process is avoided, the routing overhead is small, and reliability is high.