In order to alleviate the "power shortage panic" phenomenon caused by the lack of flexibility in the use of fixed charging stations, the introduction of mobile charging vehicles can effectively alleviate the charging problem of electric vehicles and improve the user experience. First, we divide the road network in specific areas, and then forecast the resident traffic volume (OD) data, so as to determine the initial location and distribution of mobile charging vehicles. From the global optimization of the charging time of the mobile charging vehicle at each charging position, ensure that each energy critical sensor is fully charged. At the same time, a mobile charging vehicle path planning algorithm considering the road state is proposed to determine the charging loop of the mobile charging vehicle and the charging time of the corresponding location, so as to minimize the total charging scheduling time on the loop. Finally, the performance of the proposed algorithm is evaluated through simulation experiments. Experimental results show that the proposed algorithm has low energy consumption, strong robustness and excellent performance.