| The rapid development of Internet technology has brought new opportunities and challenges to English teaching in primary schools.The application of information-based teaching methods in primary school English teaching is also becoming more and more extensive.In recent years,some excellent online education platforms have emerged.However,traditional online education platforms basically provide students with learning in the form of recorded and broadcast videos.Resources,although students can learn online,the requirements for teachers are relatively high,it is difficult to record a high-quality course,and in this mode,students cannot interact with teachers in class.In order to meet the realtime and interactive requirements of online learning,a set of intelligent dialogue teaching system is designed using natural language processing technology and instant communication technology,which has high practical value.Based on the background of English online learning for primary school students,a dialogue teaching system with multiple virtual characters is designed and implemented.The system mainly includes three modules: dialogue model,instant messaging and background management.For the dialogue model module,in order to improve the interactive experience of students in class,based on the traditional one-to-one dialogue mode between students and teachers,the role of a student is introduced.The role of a student is mainly to prompt and supplementary answers to students.In order to solve the problem that the two virtual characters of the secondary school partner and the teacher can recognize the same intentions for the students’ requests,a dialogue control model based on round division is proposed,which decomposes a class into different dialogue rounds.The goal intention and entity of the internal partner and the teacher are set to be consistent,and the smooth progress of the classroom is promoted by judging the intention under a single round.For the two modules of instant messaging module and background management,we first analyze the specific business background and divide the system into different sub-modules.The instant messaging module is mainly developed using the Netty framework,and the non-blocking IO and master-slave Reactor threads of the Netty framework are used.Processing model and zero-copy technology to achieve efficient data transmission.The background management module is developed using the currently popular Spring Boot framework as a whole,the Vue framework is used to design the system interface and interaction logic,and the RBAC model is used to implement permission control.Finally,the system was tested from both functional and non-functional aspects,and the test results were as expected.The dialogue teaching system based on multiple virtual characters has been in trial operation for a period of time,and the overall operation is normal.The functions of the system have been verified,which basically meet the project design goals and have good application value. |