In recent years,with the advancement of new computer technology,the field of education is also developing towards digitalization,intelligence,virtualization and networking,and the requirements for intelligent education are becoming more and more urgent.At present,the traditional algorithm program teaching content and online teaching system exist:(1)the algorithm execution process is difficult to understand;(2)The teaching mode is single and the content is boring;(3)Lack of real-time Q&A interactivity and other issues.In view of these deficiencies,Professor Xue Jinyun of our team uses the original convenient algorithm program development method(PAR method)and algorithm program automatic generation platform(PAR platform)as the course content.By using Virtual Reality(VR)technology and designing matching algorithms for intelligent voice interaction,an algorithm program teaching system based on virtual reality and intelligent voice interaction was developed.The main work and innovations are summarized below:Select original PAR methods as research objects to strengthen students’ understanding of algorithm programs.The PAR method is an original and practical formal development method,which can clearly explain the design and derivation process of exquisite algorithm programs,and realize the conversion of abstract programs to executable programs.In view of the problem(1),this paper extracts the course content of the PAR method,deeply integrates the algorithm program course with virtual reality and intelligent voice interaction technology,displays the algorithm program in three-dimensional form for different teaching links,immerses the step-by-step demonstration teaching,and gives the design scheme of the algorithm program teaching system,which makes up for the shortcomings of traditional teaching methods.Design a message mechanism processing framework,and build a VR teaching scene with rich content.A processing framework based on message mechanism is designed,which has stronger integration between complex scenarios and functional modules,which can better reduce the coupling of scene modules and enhance system scalability.In view of problem(2),this paper uses the combination of 3D Max modeling and automatic modeling to improve the modeling efficiency and construct 3D models of multimedia blackboards,code visualizers,character characters,etc.Render and optimize models and scenes to build realistic and content-rich teaching scenarios.An improved maximum matching algorithm is proposed,which enhances the human-computer voice interaction of the teaching system.A dynamic maximum matching algorithm based on dictionary improvement is proposed,and a dictionary structure matching with the algorithm is constructed,which reduces invalid matching and ambiguity by dynamically selecting the maximum matching length and the principle of preferential matching,and after experimental analysis,the algorithm improves the efficiency and accuracy of Chinese word segmentation.In view of the problem(3),this algorithm is applied to voice interaction to provide voice question and answer with teaching knowledge,which improves the interactivity of system question and answer.This system embodies the three-dimensional teaching mode of algorithm teaching,online programming and automatic evaluation.Based on the Unity3 D engine platform,the interactive UI,course teaching,and voice interaction of the teaching system are realized.Based on Web service technology,the algorithm program generation platform is deployed as a cloud service to provide online programming functions for algorithm programs.Use database technology to achieve theoretical assessment and testing.Finally,the system is tested and analyzed through teaching cases and experimental comparison to determine the effectiveness of the system’s teaching application.The system integrates teaching,practice,and testing,and supports the voice question-and-answer interaction of teaching knowledge.It systematically improves the shortcomings of traditional algorithm program teaching.Users can learn independently,improve comprehension ability,and improve learning efficiency,which has important research significance and application promotion value. |