Disclosure of Invention
Aiming at the problems in the prior art, the invention provides an English teaching system and a teaching method based on human-computer interaction.
The invention is realized in such a way that the English teaching method based on human-computer interaction comprises the following steps:
receiving registration interface information by a registration module through a registration program; acquiring a face image of a user to be registered and user registration data, and associating the user registration data with face image related data of the user; correspondingly storing the user registration data and the related data of the user face image at the same time to finish user registration; receiving a login request sent by a client by an identity verification program through an identity verification and login module, and acquiring an identity of the client, an account name and a combined password carried by the login request;
step two, receiving a login request sent by a client, and acquiring an identity of the client, an account name and a combined password carried by the login request; splitting the combined password according to a preset combination rule to obtain a login password and a check code; verifying the check code according to the identity of the client and a preset check code record; verifying the login password according to the account name and a pre-configured login password database; if the check code passes the verification and the login password passes the verification, judging that the login request passes the verification, and allowing the client to login; otherwise, allowing login;
thirdly, selecting English primary, middle and high class courses by using a course selection program through a course selection module; playing a teaching video according to the selected course by using a video teaching program through a video teaching module; intercepting video images to be marked by a user by using a marking program through a marking module, adding a data interaction interface for each frame of image, forming an image to be marked by the current user, and displaying the image to be marked by the current user;
after the data interface receives the annotation request, executing preset interactive processing associated with the annotation request of each frame of image, and annotating the complex information in the process of playing the teaching video; translating the marked complex information by using a translator through a translation module; recording the user voice by using a voice recording program through a voice recording module to obtain the spoken English information of the user; acquiring a feature combination corresponding to the spoken English information of the user by a voice analysis module through the voice analysis module, acquiring an incidence relation between features in the feature combination, and calculating the discrimination of each feature combination according to the features corresponding to the feature combination and the incidence relation between the features;
screening each feature combination according to a preset discrimination threshold value to obtain an initial feature combination; screening the initial characteristic combination by using a preset evaluation index to obtain an available characteristic combination which accords with the preset evaluation index; acquiring spoken English information corresponding to the available feature combinations, and generating first initial spoken language data based on the discrimination; based on a deep learning noise reduction model, performing noise reduction processing on the first initial spoken language data to generate noise-reduced evaluation user spoken language data;
step six, randomly dividing the evaluated spoken English audio into equal-length slices; carrying out short-time Fourier transform on the segmented audio slices to generate corresponding two-dimensional time-frequency graphs, and then carrying out high-level abstraction on the two-dimensional time-frequency graphs one by one to obtain high-level abstract characteristics of the audio slices; analyzing the high-level abstract features of the audio slices one by one through a machine learning model to obtain the score of each audio slice, and averaging all the scores to obtain the final oral English evaluation score;
step seven, questions in teaching are asked by the question answering module through the dialog box, and other users answer the questions; the storage module is used for storing the annotation information or the video clip in which the annotation information is located; and performing comprehensive evaluation by using a comprehensive evaluation module according to the course selected by the user, the learning duration, the labeling information, the spoken English analysis result and the question and answer information by using a comprehensive evaluation program.
Further, in the second step, the preset combination rule is a preset combination rule which is predetermined by the server and the client and is an arrangement sequence of the check code and the login password in the combination password.
Further, the arrangement sequence of the check code and the login password comprises front and back position sequencing, or recombination of characters or character combinations obtained after the check code and the login password are split.
Further, in step four, the translating the labeled complex information by the translation module using the translator includes:
(1) acquiring marking information, and identifying the marking information to obtain English fields;
(2) judging whether English characters contained in the English field can be identified or not, and when the English characters cannot be identified, horizontally projecting the English characters which cannot be identified and obtaining a horizontal projection curve of the English characters;
(3) identifying English characters according to the horizontal projection curve;
(4) and processing the recognized English characters to obtain a character string, and translating the character string.
Further, in the step (2), the obtaining of the horizontal projection curve of the english character includes:
horizontally projecting the English characters which cannot be identified; taking the height of the English character as an x coordinate, taking the upper edge of the English character as the origin of the x coordinate, and taking the number of pixels obtained by horizontal projection under the height of the English character as a y coordinate; and obtaining a horizontal projection curve of the English character according to the x coordinate, the y coordinate and the origin.
Further, in step six, the performing noise reduction processing on the first initial spoken language data based on the deep learning noise reduction model includes:
slicing the first initial spoken language data according to a preset length; generating a to-be-processed voiceprint atlas of the first initial spoken language data according to the sliced first initial spoken language data, and extracting to-be-processed voiceprint parameters of the first initial spoken language data from the to-be-processed voiceprint atlas; and inputting the voiceprint parameters to be processed into the deep learning noise reduction model to obtain noise-reduced voice data.
Further, in step six, the time duration of the random audio slice is 5 seconds.
Another object of the present invention is to provide a human-computer interaction-based english teaching system for implementing the human-computer interaction-based english teaching method, including:
the system comprises a registration module, an identity verification and login module, a course selection module, a central control module, a video teaching module, a labeling module, a translation module, a voice recording module, a voice analysis module, a question answering module, a storage module and a comprehensive evaluation module;
the registration module is connected with the central control module and is used for registering the user through a registration program;
the identity authentication and login module is connected with the central control module and is used for authenticating the identity of the user through an identity authentication program and logging in after the authentication is passed;
the course selection module is connected with the central control module and is used for selecting English primary, middle and advanced courses through a course selection program;
the central control module is connected with the registration module, the identity verification and login module, the course selection module, the video teaching module, the labeling module, the translation module, the voice recording module, the voice analysis module, the question answering module, the storage module and the comprehensive evaluation module and is used for controlling the normal operation of each module through a main control computer;
the video teaching module is connected with the central control module and is used for playing teaching videos according to the selected courses through a video teaching program;
the marking module is connected with the central control module and is used for marking the complex information in the playing process of the teaching video through a marking program;
the translation module is connected with the central control module and is used for translating the marked complex information through the translator;
the voice recording module is connected with the central control module and is used for recording the voice of the user through a voice recording program to obtain the oral information of the user;
the voice analysis module is connected with the central control module and used for analyzing the acquired spoken English information of the user through the voice analysis module to obtain a spoken English analysis result of the user;
the question-answering module is connected with the central control module and is used for asking questions in teaching through a dialog box and answering the questions by other users;
the storage module is connected with the central control module and used for storing the annotation information or the video clip where the annotation information is located through the storage;
and the comprehensive evaluation module is connected with the central control module and is used for carrying out comprehensive evaluation according to the course selected by the user, the learning duration, the labeling information, the spoken English analysis result and the question and answer information through a comprehensive evaluation program.
By combining all the technical schemes, the invention has the advantages and positive effects that: the login verification method provided by the invention enhances the login security of the user and solves the problem of low security of the existing login mode; on the basis of playing a teaching video in the prior art, an interactive question-answering module is added, so that a user can perform self-detection in time when watching the video or after watching and learning are finished, questions are presented, the learning effect of the current knowledge point is judged, the learning effect is strengthened, a personalized learning route is pushed for the user, audio information can be collected and analyzed, and wrong pronunciation can be corrected; when the translation is carried out, sentences marked by teachers conveniently in the video can be identified, the translation accuracy is better, and the user can learn more conveniently.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is further described in detail with reference to the following embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
Aiming at the problems in the prior art, the invention provides an English teaching system and a teaching method based on human-computer interaction, and the invention is described in detail below with reference to the accompanying drawings.
As shown in fig. 1, the english teaching method based on human-computer interaction according to the embodiment of the present invention includes the following steps:
s101, registering a user by a registration program through a registration module; the identity of the user is verified by an identity verification program through an identity verification and login module, and login is performed after the user passes the verification;
s102, selecting English primary, middle and high classes by using a class selection program through a class selection module; playing a teaching video according to the selected course by using a video teaching program through a video teaching module;
s103, marking the complex information in the playing process of the teaching video by using a marking program through a marking module; translating the marked complex information by using a translator through a translation module;
s104, recording the user voice by using a voice recording program through a voice recording module to obtain the spoken English information of the user; analyzing the acquired spoken English information of the user by using a voice analysis module through the voice analysis module to obtain a spoken English analysis result of the user;
s105, questions in teaching are asked by the question answering module through the dialog box, and other users answer the questions; the storage module is used for storing the annotation information or the video clip in which the annotation information is located;
and S106, performing comprehensive evaluation by using a comprehensive evaluation module according to the course selected by the user, the learning duration, the labeling information, the spoken English analysis result and the question and answer information by using a comprehensive evaluation program.
As shown in fig. 2, the english teaching system based on human-computer interaction according to the embodiment of the present invention includes:
the system comprises a registration module 1, an identity verification and login module 2, a course selection module 3, a central control module 4, a video teaching module 5, a labeling module 6, a translation module 7, a voice recording module 8, a voice analysis module 9, a question and answer module 10, a storage module 11 and a comprehensive evaluation module 12;
the registration module 1 is connected with the central control module 4 and is used for carrying out user registration through a registration program;
the identity authentication and login module 2 is connected with the central control module 4 and is used for authenticating the identity of the user through an identity authentication program and logging in after the authentication is passed;
the course selection module 3 is connected with the central control module 4 and is used for selecting English primary, middle and advanced courses through a course selection program;
the central control module 4 is connected with the registration module 1, the identity verification and login module 2, the course selection module 3, the video teaching module 5, the labeling module 6, the translation module 7, the voice recording module 8, the voice analysis module 9, the question answering module 10, the storage module 11 and the comprehensive evaluation module 12 and is used for controlling the normal operation of each module through a main control computer;
the video teaching module 5 is connected with the central control module 4 and is used for playing teaching videos according to the selected courses through a video teaching program;
the marking module 6 is connected with the central control module 4 and is used for marking the complex information in the playing process of the teaching video through a marking program;
the translation module 7 is connected with the central control module 4 and is used for translating the marked complex information through the translator;
the voice recording module 8 is connected with the central control module 4 and is used for recording the voice of the user through a voice recording program to obtain the oral information of the user;
the voice analysis module 9 is connected with the central control module 4 and used for analyzing the obtained spoken English information of the user through the voice analysis module to obtain a spoken English analysis result of the user;
the question-answering module 10 is connected with the central control module 4 and is used for asking questions in teaching through a dialog box and answering the questions by other users;
the storage module 11 is connected with the central control module 4 and is used for storing the annotation information or the video clip where the annotation information is located through a memory;
and the comprehensive evaluation module 12 is connected with the central control module 4 and is used for carrying out comprehensive evaluation according to the course selected by the user, the learning duration, the labeling information, the spoken English analysis result and the question and answer information through a comprehensive evaluation program.
The technical solution of the present invention is further illustrated by the following specific examples.
Example 1
As shown in fig. 1, the english teaching method based on human-computer interaction according to the embodiment of the present invention, as a preferred embodiment, the registration of a user by a registration program through a registration module according to the embodiment of the present invention includes:
receiving registration interface information by a registration module using a registration program; acquiring a face image of a user to be registered and user registration data, and associating the user registration data with face image related data of the user; and correspondingly storing the user registration data and the data related to the user face image at the same time to finish user registration.
Example 2
An english teaching method based on human-computer interaction according to an embodiment of the present invention is shown in fig. 1, and as a preferred embodiment, as shown in fig. 3, an english teaching method based on human-computer interaction according to an embodiment of the present invention performs authentication of a user identity by using an authentication program through an authentication and login module, including:
s201, receiving a login request sent by a client, and acquiring an identity of the client, an account name and a combined password carried by the login request;
s202, splitting the combined password according to a preset combination rule to obtain a login password and a check code;
s203, verifying the check code according to the identity of the client and a preset check code record;
s204, verifying the login password according to the account name and a pre-configured login password database; and if the check code passes the verification and the login password passes the verification, judging that the login request passes the verification, and allowing the client to login.
In step S202, the preset combination rule provided in the embodiment of the present invention is predetermined by the server and the client, and is the arrangement sequence of the check code and the login password in the combination password.
The arrangement sequence of the check code and the login password provided by the embodiment of the invention comprises front and back position sequencing, or recombination of characters or character combinations obtained after the check code and the login password are split.
Example 3
As shown in fig. 1, the english teaching method based on human-computer interaction according to the embodiment of the present invention is, as a preferred embodiment, the labeling of the complex information in the teaching video playing process by using a labeling program through a labeling module according to the embodiment of the present invention includes:
intercepting video images to be marked by a user by using a marking program through a marking module, adding a data interaction interface for each frame of image, forming an image to be marked by the current user, and displaying the image to be marked by the current user; and after the data interface receives and marks the request, executing preset interactive processing associated with the image marking request of each frame, and marking the complex information in the teaching video playing process.
Example 4
An english teaching method based on human-computer interaction according to an embodiment of the present invention is shown in fig. 1, and as a preferred embodiment, as shown in fig. 4, the method for translating complex information labeled by a translator using a translator according to an embodiment of the present invention includes:
s301, obtaining marking information, and identifying the marking information to obtain English fields;
s302, judging whether English characters contained in the English field can be identified, and when the English characters cannot be identified, horizontally projecting the English characters which cannot be identified and obtaining a horizontal projection curve of the English characters;
s303, identifying English characters according to the horizontal projection curve;
s304, the recognized English characters are processed to obtain character strings, and the character strings are translated.
In step S302, the obtaining of the horizontal projection curve of the english character according to the embodiment of the present invention includes:
horizontally projecting the English characters which cannot be identified; taking the height of the English character as an x coordinate, taking the upper edge of the English character as the origin of the x coordinate, and taking the number of pixels obtained by horizontal projection under the height of the English character as a y coordinate; and obtaining a horizontal projection curve of the English character according to the x coordinate, the y coordinate and the origin.
Example 5
An english teaching method based on human-computer interaction according to an embodiment of the present invention is shown in fig. 1, and as a preferred embodiment, as shown in fig. 5, an english language information of a user obtained by a speech analysis module according to an embodiment of the present invention includes:
s401, obtaining oral English information of a user, and performing noise reduction processing on the information to obtain an evaluated oral English audio;
s402, randomly dividing the evaluated spoken English audio into equal-length slices;
s403, performing short-time Fourier transform on the segmented audio slices to generate corresponding two-dimensional time-frequency graphs, and performing high-level abstraction on the two-dimensional time-frequency graphs one by one to obtain high-level abstract characteristics of the audio slices;
s404, analyzing the high-level abstract features of the audio slices one by one through a machine learning model to obtain the score of each audio slice, and averaging all the scores to obtain the final oral English evaluation score.
In step S401, the performing noise reduction processing on information according to the embodiment of the present invention includes:
acquiring a feature combination corresponding to the spoken English information of the user, acquiring an incidence relation between features in the feature combination, and calculating the discrimination of each feature combination according to the features corresponding to the feature combination and the incidence relation between the features; screening each feature combination according to a preset discrimination threshold value to obtain an initial feature combination; screening the initial characteristic combination by using a preset evaluation index to obtain an available characteristic combination which accords with the preset evaluation index; acquiring spoken English information corresponding to the available feature combinations, and generating first initial spoken language data based on the discrimination; and based on a deep learning noise reduction model, performing noise reduction processing on the first initial spoken language data to generate noise-reduced evaluation user spoken language data.
The noise reduction model based on deep learning provided by the embodiment of the invention comprises the following steps of:
slicing the first initial spoken language data according to a preset length; generating a to-be-processed voiceprint atlas of the first initial spoken language data according to the sliced first initial spoken language data, and extracting to-be-processed voiceprint parameters of the first initial spoken language data from the to-be-processed voiceprint atlas; and inputting the voiceprint parameters to be processed into the deep learning noise reduction model to obtain noise-reduced voice data.
Example 6
Fig. 1 shows an english teaching method based on human-computer interaction according to an embodiment of the present invention, and as a preferred embodiment, the time duration of a random audio slice according to the embodiment of the present invention is 5 seconds.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention, and the scope of the present invention is not limited thereto, and any modification, equivalent replacement, and improvement made by those skilled in the art within the technical scope of the present invention disclosed herein, which is within the spirit and principle of the present invention, should be covered by the present invention.