In this paper, in view of the shortcomings of traditional methods of identifying key nodes in public opinion dissemination, such as low identification accuracy, low coverage of key nodes, and shallow central relevance, an optimization method based on knowledge graph is proposed. By collecting public opinion data on Weibo and building a social network, combining the community discovery algorithm with the improved PageRank algorithm, the effective identification of key nodes is realized. Experimental comparison shows that in the case of opinion leaders accounting for the top 3%, the coverage rat...