In order to overcome the problems of poor scheduling accuracy, low recall rate and long scheduling time in the traditional scheduling method of ideological and political resources, the paper proposes a balanced scheduling method of resources based on clustering analysis algorithm. First, the load time series of the teaching resource server is determined and pre-processed. Secondly, cluster analysis is used to classify the data. Finally, according to the classification results, the balanced scheduling function of resources is constructed, and the particle swarm optimisation algorithm is used to...