Real-time classroom evaluation method and system based on voice and electronic equipment
Through speech recognition technology, the speech data of teachers and students are recognized in real time, classroom evaluation results are generated and virtual rewards are provided, which solves the problem of low efficiency of traditional classroom evaluation, achieves unified management of student performance and parent feedback, and improves teaching effectiveness.
Patent Information
- Application Number
- CN202410777184.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-17
- Publication Date
- 2024-10-08
AI Technical Summary
The efficiency of traditional classroom teaching evaluation is low, it is difficult for teachers to evaluate rewards in a timely manner, and there is a lack of unified analysis and management of student performance data and parent feedback, which affects students' learning enthusiasm and teaching quality.
Adopting a speech-based real-time classroom evaluation method, by acquiring and processing the speech data of multiple speakers, training keyword recognition models and voiceprint recognition technology, judging the speaker's identity and generating classroom evaluation results, realizing teachers' real-time evaluation and evaluation of students Virtually reward, store and display student performance videos.
It improves the efficiency of classroom teaching, achieves unified analysis and management of student performance and timely evaluation and rewards, facilitates teachers and parents to obtain feedback, and improves student learning interactivity and teaching effectiveness.
Smart Images

Figure CN118748010A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of computer technology, and in particular to a real-time classroom evaluation method, system and electronic equipment based on speech. Background Art
[0002] Classroom teaching evaluation refers to the evaluation activities conducted on the objects that appear in the process of classroom teaching implementation. It is an important means to promote student growth, teacher professional development and improve the quality of classroom teaching. Traditional classroom evaluation generally involves teachers evaluating and rewarding students with good performance in a timely manner. Evaluation and reward behaviors include but are not limited to verbal praise, excellent behavior registration, and rewards such as "little red flowers" and other actual items. This manual approach is inefficient and difficult to operate. In the fast pace of the classroom, teachers may not be able to evaluate and reward in a timely manner; and the school cannot conduct unified analysis and management of student performance data, and lacks relevant feedback to students' parents, which is not conducive to motivating students' learning enthusiasm. Summary of the invention
[0003] In view of this, the embodiments of the present invention provide an efficient and convenient voice-based real-time classroom evaluation method, system and electronic device to improve classroom teaching effects.
[0004] An aspect of an embodiment of the present invention provides a real-time classroom evaluation method based on speech, comprising the following steps:
[0005] Obtain original data of different corpora from multiple speakers;
[0006] Training a keyword recognition model based on the original data of the corpus;
[0007] Input the acquired real-time classroom speech into the keyword recognition model, recognize the corresponding wake-up word, and output the target speech data corresponding to the wake-up word;
[0008] Performing voiceprint recognition on the target voice data based on a voiceprint recognition method to determine whether the speaker of the target voice data is a teacher;
[0009] When the speaker of the target voice data is a teacher, a classroom evaluation result of a student object corresponding to the target voice data is generated.
[0010] Optionally, the obtaining of original corpus data of different corpora of multiple speakers comprises the following steps:
[0011] Acquire speech information of multiple speakers, wherein the speech information of each speaker includes multiple corpus data;
[0012] Extracting a feature vector from each of the corpus data according to the Mel-frequency cepstral coefficients; wherein each feature vector is used to represent a feature extracted from a certain corpus data of a certain speaker;
[0013] The feature vector is input into a Transformer model for training to obtain a series of voiceprint model libraries, and the voiceprint model libraries are used to store original data of different corpora of multiple speakers.
[0014] Optionally, the keyword recognition model includes a teacher network model and a student network model; the teacher network model and the student network model both adopt a linear time series model with a selective state space; the teacher network model receives unmasked input data, and the student network model receives a masked version of the input data; the student network model is used to predict the hidden space representation of the teacher network model in the masked part; the weight of the student network model is updated by standard error back propagation, and the student network model loss function is the mean square error between the student prediction and the target; the weight of the teacher network model is the exponential moving average of the weight of the student network model;
[0015] Among them, the expression of the weight of the teacher network model is: Δ:=τΔ+(1-τ)θ; wherein θ is the weight of the student network model; Δ is the weight of the teacher network model; τ is the smoothing factor.
[0016] Optionally, the training of a keyword recognition model according to the original corpus data comprises the following steps:
[0017] Initializing the teacher network model parameters and the student network model parameters;
[0018] After extracting the features of the Mel-frequency cepstral coefficients of the original corpus data, the data are input into the student network model and the teacher network model, wherein the input features input into the student network model adopt a masking strategy, and some features are blocked;
[0019] The masked input features are processed by the student network model to generate a prediction representation; the complete input features are processed by the teacher model to generate a target representation;
[0020] Calculate the mean square error loss between the output of the student network model and the output of the teacher network model; and update the parameters of the student network model through back propagation, and update the parameters of the teacher network model using the EMA formula until the pre-training converges;
[0021] After completing the pre-training, the keyword recognition model is fine-tuned using a small amount of labeled data to complete the training of the keyword recognition model.
[0022] Optionally, the step of inputting the acquired real-time classroom speech into the keyword recognition model, recognizing the corresponding wake-up word, and outputting the target speech data corresponding to the wake-up word comprises the following steps:
[0023] Use a recording device to obtain real-time classroom speech, set a suitable analysis segment length T, set the current time as t, and use the real-time classroom speech in the time period (tT, t) as input;
[0024] According to the input classroom real-time speech, a window length of 30ms and a step length of 10ms are used to extract 40-dimensional MFCC features;
[0025] The extracted MFCC features are projected to the input dimension of the acoustic model through a linear layer;
[0026] The linearly projected data is passed into the Mamba model, which is used to extract more advanced features.
[0027] After mean pooling is performed on the Mamba model, keyword recognition is performed through the classification layer. After the set wake-up word is recognized, the corresponding real-time classroom speech fragment is output as the target speech data.
[0028] Optionally, when the speaker of the target voice data is a teacher, generating a classroom evaluation result of a student object corresponding to the target voice data comprises the following steps:
[0029] When the speaker of the target voice data is a teacher, a virtual reward value is added to the corresponding student object, and the virtual reward value is stored;
[0030] Intercepting a classroom performance video of the student object corresponding to the target voice data;
[0031] The classroom performance video is played on a target display screen.
[0032] Optionally, the method further comprises the following steps:
[0033] According to the target voice data, obtaining the teacher's identification result of the target voice data;
[0034] According to the identification result issued by the teacher, the classroom evaluation result generated based on the target voice data is updated.
[0035] Another aspect of the embodiment of the present invention further provides a real-time classroom evaluation system based on speech, comprising:
[0036] The first module is used to obtain the original data of different corpora of multiple speakers;
[0037] The second module is used to train a keyword recognition model based on the original data of the corpus;
[0038] The third module is used to input the acquired real-time classroom speech into the keyword recognition model, recognize the corresponding wake-up word, and output the target speech data corresponding to the wake-up word;
[0039] The fourth module is used to perform voiceprint recognition on the target voice data based on a voiceprint recognition method to determine whether the speaker of the target voice data is a teacher;
[0040] The fifth module is used to generate classroom evaluation results of student objects corresponding to the target voice data when the speaker of the target voice data is a teacher.
[0041] Another aspect of an embodiment of the present invention further provides an electronic device, including a processor and a memory;
[0042] The memory is used to store programs;
[0043] The processor executes the program to implement the method described above.
[0044] Another aspect of the embodiments of the present invention further provides a computer-readable storage medium, wherein the storage medium stores a program, and the program is executed by a processor to implement the method described above.
[0045] The embodiment of the present invention also discloses a computer program product or a computer program, which includes a computer instruction stored in a computer-readable storage medium. A processor of a computer device can read the computer instruction from the computer-readable storage medium, and the processor executes the computer instruction, so that the computer device executes the above method.
[0046] The embodiments of the present invention obtain different corpus raw data of multiple speakers; train a keyword recognition model based on the corpus raw data; input the acquired real-time classroom speech into the keyword recognition model, recognize the corresponding wake-up word, and output the target speech data corresponding to the wake-up word; perform voiceprint recognition on the target speech data based on the voiceprint recognition method, and determine whether the speaker of the target speech data is a teacher; when the speaker of the target speech data is a teacher, generate the classroom evaluation result of the student object corresponding to the target speech data. The method of the present invention is efficient and convenient, and can uniformly analyze and manage student performance data, facilitate teachers to evaluate rewards in a timely manner, and help improve classroom teaching effectiveness. BRIEF DESCRIPTION OF THE DRAWINGS
[0047] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0048] Figure 1 An overall step flow chart provided for an embodiment of the present invention;
[0049] Figure 2 An implementation process diagram for a specific application scenario provided by an embodiment of the present invention;
[0050] Figure 3 A training flow chart of a keyword recognition model provided by an embodiment of the present invention;
[0051] Figure 4 Another training flow chart of the keyword recognition model provided by the embodiment of the present invention;
[0052] Figure 5 A flowchart of a voiceprint recognition process provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0053] In order to make the purpose, technical solutions and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention. When the following description refers to the drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the embodiments of the present invention. They are only examples of devices and methods consistent with some aspects of the embodiments of the present invention as detailed in the attached claims.
[0054] It is understood that the terms "first", "second", etc. used in the present invention may be used herein to describe various concepts, but unless otherwise specified, these concepts are not limited by these terms. These terms are only used to distinguish one concept from another. For example, without departing from the scope of the embodiments of the present invention, the first information may also be referred to as the second information, and similarly, the second information may also be referred to as the first information. Depending on the context, the words "if" and "if" as used herein may be interpreted as "at the time of" or "when" or "in response to determining".
[0055] The terms "at least one", "multiple", "each", "any", etc. used in the present invention, at least one includes one, two or more, multiple includes two or more, each refers to each of the corresponding multiple, and any refers to any one of the multiple.
[0056] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art to which the present invention belongs. The terms used herein are only for the purpose of describing the embodiments of the present invention and are not intended to limit the present invention.
[0057] The real-time classroom evaluation method based on voice provided by the embodiment of the present invention relates to the field of computer technology. The real-time classroom evaluation method based on voice provided by the embodiment of the present invention can be applied to a terminal, can also be applied to a server, and can also be software running in a terminal or a server. In some embodiments, the terminal can be a smart phone, a tablet computer, a laptop computer, a desktop computer, a smart speaker, a smart watch, and a car terminal, etc., but is not limited to this; the server side can be configured as an independent physical server, or a server cluster or distributed system composed of multiple physical servers, and can also be configured to provide cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, CDN, and big data and artificial intelligence platforms and other basic cloud computing services. The cloud server, the server can also be a node server in the blockchain network; the software can be an application that implements a real-time classroom evaluation method based on voice, etc., but is not limited to the above forms.
[0058] The present invention can be used in many general or special computer system environments or configurations. For example: personal computers, server computers, handheld or portable devices, tablet devices, multiprocessor systems, microprocessor-based systems, set-top boxes, programmable consumer electronic devices, network PCs, minicomputers, mainframe computers, distributed computing environments including any of the above systems or devices, etc. The present invention can be described in the general context of computer-executable instructions executed by a computer, such as program modules. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform specific tasks or implement specific abstract data types. The present invention can also be practiced in distributed computing environments, in which tasks are performed by remote processing devices connected through a communication network. In a distributed computing environment, program modules can be located in local and remote computer storage media including storage devices.
[0059] In view of the problems existing in the prior art, an embodiment of the present invention proposes a real-time classroom evaluation method based on voice. The implementation method of the embodiment of the present invention includes: pre-recording the teacher's voice information; picking up the real-time classroom voice information through the sound receiving device; using the voiceprint recognition technology and the voice wake-up model to identify the teacher's specific wake-up word; identifying the subject to be evaluated in the classroom through a preset algorithm, collecting the teacher's real-time evaluation, and recording and storing the video of the outstanding performance of the subject to be evaluated. Teachers can conveniently conduct classroom evaluations in real-time voice, and collect evaluation data and students' outstanding performances for student motivation, student stage learning data analysis, and feedback to students' parents, further enhancing students' initiative in learning interaction and improving classroom teaching effectiveness.
[0060] Specifically, a real-time classroom evaluation method based on speech comprises the following steps:
[0061] Obtain original data of different corpora from multiple speakers;
[0062] Training a keyword recognition model based on the original data of the corpus;
[0063] Input the acquired real-time classroom speech into the keyword recognition model, recognize the corresponding wake-up word, and output the target speech data corresponding to the wake-up word;
[0064] Performing voiceprint recognition on the target voice data based on a voiceprint recognition method to determine whether the speaker of the target voice data is a teacher;
[0065] When the speaker of the target voice data is a teacher, a classroom evaluation result of a student object corresponding to the target voice data is generated.
[0066] Optionally, the obtaining of original corpus data of different corpora of multiple speakers comprises the following steps:
[0067] Acquire speech information of multiple speakers, wherein the speech information of each speaker includes multiple corpus data;
[0068] Extracting a feature vector from each of the corpus data according to the Mel-frequency cepstral coefficients; wherein each feature vector is used to represent a feature extracted from a certain corpus data of a certain speaker;
[0069] The feature vector is input into a Transformer model for training to obtain a series of voiceprint model libraries, and the voiceprint model libraries are used to store original data of different corpora of multiple speakers.
[0070] Optionally, the keyword recognition model includes a teacher network model and a student network model; the teacher network model and the student network model both adopt a linear time series model with a selective state space; the teacher network model receives unmasked input data, and the student network model receives a masked version of the input data; the student network model is used to predict the hidden space representation of the teacher network model in the masked part; the weight of the student network model is updated by standard error back propagation, and the student network model loss function is the mean square error between the student prediction and the target; the weight of the teacher network model is the exponential moving average of the weight of the student network model;
[0071] Among them, the expression of the weight of the teacher network model is: Δ:=τΔ+(1-τ)θ; wherein θ is the weight of the student network model; Δ is the weight of the teacher network model; τ is the smoothing factor.
[0072] Optionally, the training of a keyword recognition model according to the original corpus data comprises the following steps:
[0073] Initializing the teacher network model parameters and the student network model parameters;
[0074] After extracting the features of the Mel-frequency cepstral coefficients of the original corpus data, the data are input into the student network model and the teacher network model, wherein the input features input into the student network model adopt a masking strategy, and some features are blocked;
[0075] The masked input features are processed by the student network model to generate a prediction representation; the complete input features are processed by the teacher model to generate a target representation;
[0076] Calculate the mean square error loss between the output of the student network model and the output of the teacher network model; and update the parameters of the student network model through back propagation, and update the parameters of the teacher network model using the EMA formula until the pre-training converges;
[0077] After completing the pre-training, the keyword recognition model is fine-tuned using a small amount of labeled data to complete the training of the keyword recognition model.
[0078] Optionally, the step of inputting the acquired real-time classroom speech into the keyword recognition model, recognizing the corresponding wake-up word, and outputting the target speech data corresponding to the wake-up word comprises the following steps:
[0079] Use a recording device to obtain real-time classroom speech, set a suitable analysis segment length T, set the current time as t, and use the real-time classroom speech in the time period (tT, t) as input;
[0080] According to the input classroom real-time speech, a window length of 30ms and a step length of 10ms are used to extract 40-dimensional MFCC features;
[0081] The extracted MFCC features are projected to the input dimension of the acoustic model through a linear layer;
[0082] The linearly projected data is passed into the Mamba model, which is used to extract more advanced features.
[0083] After mean pooling is performed on the Mamba model, keyword recognition is performed through the classification layer. After the set wake-up word is recognized, the corresponding real-time classroom speech fragment is output as the target speech data.
[0084] Optionally, when the speaker of the target voice data is a teacher, generating a classroom evaluation result of a student object corresponding to the target voice data comprises the following steps:
[0085] When the speaker of the target voice data is a teacher, a virtual reward value is added to the corresponding student object, and the virtual reward value is stored;
[0086] Intercepting a classroom performance video of the student object corresponding to the target voice data;
[0087] The classroom performance video is played on a target display screen.
[0088] Optionally, the method further comprises the following steps:
[0089] According to the target voice data, obtaining the teacher's identification result of the target voice data;
[0090] According to the identification result issued by the teacher, the classroom evaluation result generated based on the target voice data is updated.
[0091] The specific implementation process of the present invention is described in detail below with reference to the accompanying drawings of the specification, taking a specific application scenario as an example:
[0092] like Figure 1 As shown, the real-time classroom evaluation method based on speech of the present invention comprises the following steps:
[0093] S101, obtaining different corpus data of multiple speakers. Extracting features from the corpus data, using Mel-frequency cepstral coefficients. Inputting the obtained features into a Transformer model for training, and obtaining a series of voiceprint model libraries.
[0094] Specifically, we obtain the speech information of K speakers, each of whom has S corpus data. We extract the features through Mel frequency cepstral coefficients to obtain feature vectors. Each feature vector xij (1≤i≤K, 1≤j≤S) represents the features extracted from corpus data j of speaker i.
[0095] Use f(x ij ; w) represents the output of the neural network, where w represents all parameters of the neural network, and the L2 normalized output of the neural network is the speaker's voiceprint embedding vector. e ij represents the embedding vector of the jth speech information of the i-th speaker. The embedding vector of the i-th speaker is [e 1j , ..., e Mj ].
[0096] Similarity matrix S ij, k is defined as each embedding vector e ij With all the center points o k Scaled cosine similarity between: S ij,k =w·cos(e ij , o k )+b, where w and b are learnable parameters.
[0097] The training goal is to make the corpus embedding of each speaker similar to the center point of all embeddings of the speaker, and away from the embedding center of other speakers. The loss of each embedding vector eij can be defined as This loss function means that each embedding vector is pulled closer to its center point and away from all other center points. After training, the teacher voiceprint encoder is obtained to obtain the teacher's voiceprint information.
[0098] S102: Pre-train and deploy a keyword recognition model and set a wake-up word.
[0099] refer to Figure 3 and Figure 4 , the keyword recognition model of the embodiment of the present invention includes a speech feature extraction module (orange part), a deep neural network acoustic model (blue part) and a post-processing module (green part). Pre-training uses a self-supervised learning framework, including a teacher network and a student network. Both use the same linear time series model with selective state space (Mamba model), but receive different inputs. Among them, the teacher network receives unmasked input, and the student network receives a masked version of the input.
[0100] The goal of the student network is to predict the hidden space representation of the teacher network in the masked part. The goal is the output of the top K blocks of the teacher network, corresponding to the masked time step in the student network input. The specific training goal at time step t is: in, is the normalized output of block l at time step t.
[0101] The weights of the student model are updated by back-propagation of the standard error, and the loss function is the student prediction y′ t and target y t The mean square error (MSE) between the two. The weight of the teacher model is the exponential moving average (EMA) of the weight of the student model, specifically: Δ: = τΔ + (1-τ)θ. Among them, θ is the weight of the student model, Δ is the weight of the teacher model, and τ is the smoothing factor.
[0102] The input speech data is feature extracted through Mel-frequency cepstral coefficients to generate Mel-frequency cepstral coefficients. The extracted Mel-frequency cepstral coefficients are projected through a linear layer and used as the input of the linear time series model with selective state space (Mamba).
[0103] The Mamba structure is used to process the input features to extract high-level feature representations. Initialize the parameters of the student model and the teacher model. The initial parameters of the student model are random, and the initial parameters of the teacher model are usually the same as the student model.
[0104] Unlabeled speech data is used for pre-training. After the Mel frequency cepstral coefficient feature extraction, the data is input into the student model and the teacher model. For the input of the student model, a masking strategy is applied, and some features are blocked.
[0105] In the forward pass, the student model processes the masked input features and generates a predicted representation. The teacher model processes the complete input features and generates a target representation. The mean square error (MSE) loss between the student model output and the teacher model output is calculated. The parameters of the student model are updated through backpropagation. The parameters of the teacher model are updated using the EMA formula to smooth the changes in the parameters of the student model.
[0106] The above steps are repeated on the entire unlabeled dataset until the pre-training converges. In the pre-training stage, the model is trained on a large amount of unlabeled data to learn general speech representations. These representations can capture important features in speech without relying on a large amount of labeled data.
[0107] After pre-training, the model is fine-tuned using a small amount of labeled data so that the model can achieve optimal performance on a specific KWS task.
[0108] Self-supervised pre-training mainly works on the feature extraction and representation learning parts of the KWS model, enabling the model to extract and identify keywords more accurately when faced with noisy data.
[0109] S103: Acquire real-time classroom speech and use the real-time speech as input. After being processed by a pre-trained neural network model, the speech data containing the wake-up word is output after the wake-up word is recognized.
[0110] A recording device is used to obtain real-time classroom speech, and the real-time speech is input into the pre-trained deep neural network model as input data.
[0111] Specifically, set a suitable analysis segment duration T, set the current time as t, and use the speech information of the time period (tT, t) as input. Use Mel Frequency Cepstral Coefficients (MFCC) for feature extraction.
[0112] Specifically, a window length of 30ms and a step size of 10ms are used to extract 40-dimensional MFCC features. The extracted MFCC features are projected to the input dimension of the acoustic model through a linear layer.
[0113] The data through linear projection is passed to the Mamba model, which is used to extract higher-level features, followed by mean pooling, and finally keyword recognition through the classification layer. After recognizing the set wake-up word, the input voice segment is output to the next module as output.
[0114] S104: Determine whether the speaker is a teacher based on a voiceprint recognition algorithm.
[0115] refer to Figure 5 In the embodiment of the present invention, the output in S103 is input into the pre-trained voiceprint recognition algorithm to determine whether the speaker is a teacher. If the speaker is verified to be a teacher, the real-time classroom evaluation operation is performed. If the speaker is not a teacher, no other operation is required.
[0116] Specifically, the steps include:
[0117] Get a series of speaker's speech information as input;
[0118] Pre-emphasize, frame and window the speech to enhance the speech signal performance (signal-to-noise ratio, processing accuracy, etc.);
[0119] For each short-time analysis window, the corresponding spectrum is obtained by fast Fourier transform FFT;
[0120] The above spectrum is passed through the Mel filter bank to obtain the Mel spectrum;
[0121] Perform cepstrum analysis on the Mel spectrum to obtain the Mel frequency cepstrum coefficient MFCC, which is the feature of this frame of speech;
[0122] The Hidden Markov Model (HMM) method is used for pattern matching, using a single-state HMM.
[0123] S105: Determine that the speaker is a teacher and perform real-time classroom evaluation operations.
[0124] First, the system program automatically adds rewards to the person being evaluated (student) on the system and stores the reward data. In order to improve the recognition accuracy of student names (wake-up words), the real-time classroom evaluation method based on voice applied in the classroom maintains a class member list for each class;
[0125] Secondly, capture the students’ wonderful performance videos and play their photos on the display screen to complete the automatic real-time evaluation. Specifically, this method uses a camera to record the classroom video of each class, which can be saved or discarded after class according to actual needs;
[0126] After the teacher is identified to make an evaluation, the method will save the wonderful video of the person being evaluated separately through face recognition, and will also display the photo of the person being evaluated through the classroom display device to encourage students and teachers to confirm. If the person being evaluated is identified incorrectly, the teacher can cancel it with voice. If there is no cancellation action, the evaluation is confirmed and recorded;
[0127] S106. Based on the analysis of the above evaluation data, schools and teachers can conduct teaching interventions on students as needed.
[0128] refer to Figure 2 In some specific application scenarios, the real-time classroom evaluation method proposed in the embodiment of the present invention may include the following implementation process:
[0129] First, pre-record the teacher's voice and obtain the teacher's voiceprint information; at the same time, pre-train and deploy the relevant models. Then pick up the real-time classroom voice, input the real-time classroom voice into the keyword detection model, and process it through the voice feature extraction model, neural network acoustic model and post-processing module respectively; confirm whether the voice is the voice of the teacher through the voiceprint recognition algorithm; finally, through the little red flower reward system designed by the embodiment of the present invention, the student object is given corresponding system rewards (for example, recording the number of little red flowers rewarded, playing videos of wonderful performances, etc.). After completing the incentives of the little red flower reward system, the embodiment of the present invention can help to timely motivate students' wonderful performances, conveniently and efficiently manage students' status in real time, and can timely collect parent feedback and dynamically update the reward system.
[0130] The embodiment of the present invention also provides a real-time classroom evaluation system based on speech, including:
[0131] The first module is used to obtain the original data of different corpora of multiple speakers;
[0132] The second module is used to train a keyword recognition model based on the original data of the corpus;
[0133] The third module is used to input the acquired real-time classroom speech into the keyword recognition model, recognize the corresponding wake-up word, and output the target speech data corresponding to the wake-up word;
[0134] The fourth module is used to perform voiceprint recognition on the target voice data based on a voiceprint recognition method to determine whether the speaker of the target voice data is a teacher;
[0135] The fifth module is used to generate classroom evaluation results of student objects corresponding to the target voice data when the speaker of the target voice data is a teacher.
[0136] It can be understood that the contents of the above method embodiments are all applicable to the present system embodiments, the functions specifically implemented by the present system embodiments are the same as those of the above method embodiments, and the beneficial effects achieved are also the same as those achieved by the above method embodiments.
[0137] The embodiment of the present invention further provides an electronic device, the electronic device includes a memory and a processor, the memory stores a computer program, and the processor implements the above-mentioned voice-based real-time classroom evaluation method when executing the computer program. The electronic device can be any intelligent terminal including a tablet computer, a car computer, etc.
[0138] It can be understood that the contents of the above method embodiments are all applicable to the present device embodiments, the functions specifically implemented by the present device embodiments are the same as those of the above method embodiments, and the beneficial effects achieved are also the same as those achieved by the above method embodiments.
[0139] An embodiment of the present invention further provides a computer-readable storage medium, which stores a computer program. When the computer program is executed by a processor, the above-mentioned real-time classroom evaluation method based on speech is implemented.
[0140] It can be understood that the contents of the above method embodiments are all applicable to the present storage medium embodiments, the functions specifically implemented by the present storage medium embodiments are the same as those of the above method embodiments, and the beneficial effects achieved are also the same as those achieved by the above method embodiments.
[0141] The memory, as a non-transient computer-readable storage medium, can be used to store non-transient software programs and non-transient computer executable programs. In addition, the memory may include a high-speed random access memory, and may also include a non-transient memory, such as at least one disk storage device, a flash memory device, or other non-transient solid-state storage device. In some embodiments, the memory may optionally include a memory remotely disposed relative to the processor, and these remote memories may be connected to the processor via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0142] It should be noted that in various specific embodiments of the present invention, when it comes to the need to perform relevant processing based on data related to user identity or characteristics such as user information, user behavior data, user historical data, and user location information, the user's permission or consent will be obtained first, and the collection, use, and processing of these data will comply with relevant laws, regulations, and standards. In addition, when the embodiment of the present invention needs to obtain the user's sensitive personal information, it will obtain the user's separate permission or consent through a pop-up window or jump to a confirmation page, and after clearly obtaining the user's separate permission or consent, it will obtain the necessary user-related data for the normal operation of the embodiment of the present invention.
[0143] In some selectable embodiments, the function / operation mentioned in the block diagram may not occur in the order mentioned in the operation diagram. For example, depending on the function / operation involved, the two boxes shown in succession can actually be executed substantially simultaneously or the boxes can sometimes be executed in reverse order. In addition, the embodiment presented and described in the flow chart of the present invention is provided by way of example, for the purpose of providing a more comprehensive understanding of technology. The disclosed method is not limited to the operation and logic flow presented herein. Selectable embodiments are expected, wherein the order of various operations is changed and the sub-operation of a part for which is described as a larger operation is performed independently.
[0144] In addition, although the present invention is described in the context of functional modules, it should be understood that, unless otherwise specified, one or more of the functions and / or features described may be integrated into a single physical device and / or software module, or one or more functions and / or features may be implemented in separate physical devices or software modules. It is also understood that a detailed discussion of the actual implementation of each module is unnecessary for understanding the present invention. More specifically, in view of the properties, functions, and internal relationships of the various functional modules in the device disclosed herein, the actual implementation of the module will be understood within the conventional skills of the engineer. Therefore, those skilled in the art can implement the present invention set forth in the claims without excessive experimentation using ordinary techniques. It is also understood that the specific concepts disclosed are merely illustrative and are not intended to limit the scope of the present invention, which is determined by the full scope of the appended claims and their equivalents.
[0145] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk, etc., which can store program codes.
[0146] The logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as an ordered list of executable instructions for implementing logical functions, and can be embodied in any computer-readable medium for use by an instruction execution system, device or apparatus (such as a computer-based system, a system including a processor, or other system that can fetch instructions from an instruction execution system, device or apparatus and execute instructions), or in conjunction with such instruction execution systems, devices or apparatuses. For the purposes of this specification, "computer-readable medium" can be any device that can contain, store, communicate, propagate or transmit a program for use by an instruction execution system, device or apparatus, or in conjunction with such instruction execution systems, devices or apparatuses.
[0147] More specific examples of computer-readable media (a non-exhaustive list) include the following: an electrical connection with one or more wires (electronic device), a portable computer disk case (magnetic device), a random access memory (RAM), a read-only memory (ROM), an erasable and programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disk read-only memory (CDROM). In addition, the computer-readable medium may even be a paper or other suitable medium on which the program is printed, since the program may be obtained electronically, for example, by optically scanning the paper or other medium, followed by editing, deciphering or, if necessary, processing in another suitable manner, and then stored in a computer memory.
[0148] It should be understood that the various parts of the present invention can be implemented by hardware, software, firmware or a combination thereof. In the above-mentioned embodiments, a plurality of steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented by hardware, as in another embodiment, it can be implemented by any one of the following technologies known in the art or their combination: a discrete logic circuit having a logic gate circuit for implementing a logic function for a data signal, a dedicated integrated circuit having a suitable combination of logic gate circuits, a programmable gate array (PGA), a field programmable gate array (FPGA), etc.
[0149] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "examples", "specific examples", or "some examples" means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner.
[0150] Although the embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that various changes, modifications, substitutions and variations may be made to the embodiments without departing from the principles and spirit of the present invention, and that the scope of the present invention is defined by the claims and their equivalents.
[0151] The above is a specific description of the preferred implementation of the present invention, but the present invention is not limited to the described embodiments. Those skilled in the art may make various equivalent modifications or substitutions without violating the spirit of the present invention. These equivalent modifications or substitutions are all included in the scope defined by the claims of the present invention.
Claims
1. A real-time classroom evaluation method based on speech, characterized in that: The following steps are involved: Obtain original data of different corpora from multiple speakers; Training a keyword recognition model based on the original data of the corpus; Input the acquired real-time classroom speech into the keyword recognition model, recognize the corresponding wake-up word, and output the target speech data corresponding to the wake-up word; Performing voiceprint recognition on the target voice data based on a voiceprint recognition method to determine whether the speaker of the target voice data is a teacher; When the speaker of the target voice data is a teacher, a classroom evaluation result of a student object corresponding to the target voice data is generated.
2. A real-time classroom evaluation method based on speech according to claim 1, characterized in that: The method of obtaining original corpus data of different speakers includes the following steps: Acquire speech information of multiple speakers, wherein the speech information of each speaker includes multiple corpus data; Extracting a feature vector from each of the corpus data according to the Mel-frequency cepstral coefficients; wherein each feature vector is used to represent a feature extracted from a certain corpus data of a certain speaker; The feature vector is input into a Transformer model for training to obtain a series of voiceprint model libraries, and the voiceprint model libraries are used to store original data of different corpora of multiple speakers.
3. A real-time classroom evaluation method based on speech according to claim 1, characterized in that: The keyword recognition model includes a teacher network model and a student network model; both the teacher network model and the student network model adopt a linear time series model with a selective state space; the teacher network model receives unmasked input data, and the student network model receives masked version of input data; the student network model is used to predict the hidden space representation of the teacher network model in the masked part; the weight of the student network model is updated by standard error back propagation, and the loss function of the student network model is the mean square error between the student prediction and the target; the weight of the teacher network model is the exponential moving average of the weight of the student network model; Among them, the expression of the weight of the teacher network model is: Δ:=τΔ+(1-τ)θ; wherein θ is the weight of the student network model; Δ is the weight of the teacher network model; τ is the smoothing factor.
4. A real-time classroom evaluation method based on speech according to claim 3, characterized in that: The step of training the keyword recognition model according to the original corpus data comprises the following steps: Initializing the teacher network model parameters and the student network model parameters; After extracting the features of the Mel-frequency cepstral coefficients of the original corpus data, the data are input into the student network model and the teacher network model, wherein the input features input into the student network model adopt a masking strategy, and some features are blocked; The masked input features are processed by the student network model to generate a prediction representation; the complete input features are processed by the teacher model to generate a target representation; Calculate the mean square error loss between the output of the student network model and the output of the teacher network model; and update the parameters of the student network model through back propagation, and update the parameters of the teacher network model using the EMA formula until the pre-training converges; After completing the pre-training, the keyword recognition model is fine-tuned using a small amount of labeled data to complete the training of the keyword recognition model.
5. The method for real-time classroom evaluation based on speech according to claim 1, characterized in that: The step of inputting the acquired real-time classroom speech into the keyword recognition model, recognizing the corresponding wake-up word, and outputting the target speech data corresponding to the wake-up word includes the following steps: Use a recording device to obtain real-time classroom speech, set a suitable analysis segment length T, set the current time as t, and use the real-time classroom speech in the time period (tT, t) as input; According to the input classroom real-time speech, a window length of 30ms and a step length of 10ms are used to extract 40-dimensional MFCC features; The extracted MFCC features are projected to the input dimension of the acoustic model through a linear layer; The linearly projected data is passed into the Mamba model, which is used to extract more advanced features. After mean pooling is performed on the Mamba model, keyword recognition is performed through the classification layer. After the set wake-up word is recognized, the corresponding real-time classroom speech fragment is output as the target speech data.
6. The method for real-time classroom evaluation based on speech according to claim 1, characterized in that: When the speaker of the target voice data is a teacher, generating a classroom evaluation result of a student object corresponding to the target voice data comprises the following steps: When the speaker of the target voice data is a teacher, a virtual reward value is added to the corresponding student object, and the virtual reward value is stored; Intercepting a classroom performance video of the student object corresponding to the target voice data; The classroom performance video is played on a target display screen.
7. A real-time classroom evaluation method based on speech according to any one of claims 1 to 6, characterized in that: The method further comprises the following steps: According to the target voice data, obtaining the teacher's identification result of the target voice data; According to the identification result issued by the teacher, the classroom evaluation result generated based on the target voice data is updated.
8. A real-time classroom evaluation system based on speech, characterized in that: include: The first module is used to obtain the original data of different corpora of multiple speakers; The second module is used to train a keyword recognition model based on the original data of the corpus; The third module is used to input the acquired real-time classroom speech into the keyword recognition model, recognize the corresponding wake-up word, and output the target speech data corresponding to the wake-up word; The fourth module is used to perform voiceprint recognition on the target voice data based on a voiceprint recognition method to determine whether the speaker of the target voice data is a teacher; The fifth module is used to generate classroom evaluation results of student objects corresponding to the target voice data when the speaker of the target voice data is a teacher.
9. An electronic device, characterized in that: including a processor and a memory; The memory is used to store programs; The processor executes the program to implement the method according to any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that: The storage medium stores a program, and the program is executed by a processor to implement the method according to any one of claims 1 to 7.
Citation Information
Cited By
Classroom group learning emotion compensation method and device based on multiple modes and medium
CN119648484A
