In order to improve the effectiveness of the safe, high-quality, and efficient communication mechanism of ideological and political courses in the new media perspective, the ideological and political communication path of courses in the new media perspective based on blockchain technology is designed. Mainly through the organic combination of online communication, offline-online dynamic feedback, and offline communication, based on the blockchain structure, an online information transmission path of online ideological and political courses leading to offline and offline feedback online is formed. In this path, the new media network platform uses the method based on bad information screening to screen out bad information, obtain a relatively safe ideological and political course information and cultural source, and then spread the information. Through the optimization strategy of PBFT consensus protocol based on a C4.5 decision tree, the trust environment for the dissemination of ideological and political courses is constructed. The network load balancing channel allocation algorithm based on the maximum flow of curriculum ideological and political communication path is adopted to ensure the network fluency and realize the efficient dissemination of curriculum ideological and political information. The experimental results show that the designed path can realize information security, high quality, and efficient sharing of ideological and political courses and has good performance.