With the continuous expansion of the power communication network scale, the future power communication network will continue to evolve towards the development direction of smart grids. At the same time, more and more businesses are being carried on the power communication network, and the information transmission and collaboration between networks have become increasingly cumbersome, leading to a series of problems such as increased risk and path congestion. Considering the randomness and frequency of faults themselves, and the common shortest path selection mechanism can lead to a large number of services being allocated to certain links, resulting in uneven risk distribution. Therefore, in order to ensure the safe and stable operation of the power grid, it is necessary to include risk balancing factors and conduct routing optimization research on power communication services. This will also have more practical significance and meet production, operation and maintenance needs.