Abstract This paper firstly takes the non-heritage Taijiquan course SiM to the physical education course SiM as the theoretical starting point to enrich and expand the theoretical connotation of the physical education course SiM. Secondly, a sorting algorithm is used to sort the recall set by the interaction data of students and the physical education curriculum Civics elements to determine the final display order of the recall elements. A ranking model incorporating students’ long-term and short-term behaviors is proposed to model the sequence of students’ long-term and short-term behaviors separately. Finally, the long-term behavioral features of students are extracted using the self-attention mechanism, and the short-term behaviors of students and the extracted long-term behavioral features are modeled in sequences by GRU units, respectively, to explore the interesting Civics elements of students fully. The results show that the initial eigenvalues of the public factors 1-5 of the integration of non-heritage Taijiquan culture into the thought politics construction of college physical education courses are all greater than 1, which meets the factor extraction criteria. At the same time, the cumulative variance values of the five public factors of the Civic and Political elements can explain 88.378% of the whole index, which meets the criteria of exploratory factor analysis. In this paper, the integration of non-heritage Taijiquan into the construction of Civic college's physical education curriculum provides the enlightenment of the times for the re-conceptualization of traditional Chinese culture and realizes the collaborative team innovation with cross-border integration.