This study addressed the issues in the course of Mechanisms and Machine Theory, such as scattered knowledge points and lack of systematic organization, in engineering universities. We applied knowledge graph and Mind mapping techniques to organize and reconstruct the knowledge points, combining with the Rain Classroom application, to explore the construction of digital education ecology. Through Pre-class, In-class and Post-class teaching practices, the results show that the combination of knowledge graph, Mind mappings and Rain Classroom not only solves the problem of students' inability to understand the knowledge system of the course fully and effectively but also promotes lecturers' understanding and control of the overall curriculum, which can provide new ideas for the construction of digital education ecology in engineering universities.