Classroom interaction real-time feedback and intervention method and system based on cross-modal data

Through methods based on cross-modal data, the problems of insufficient real-time performance and inaccurate data sampling of traditional classroom analysis are solved, accurate calculation and feedback of real-time interaction rate are achieved, helping teachers adjust teaching strategies in a timely manner and improving teaching quality.

CN118692485APending Publication Date: 2024-09-24SHENZHEN UNIV
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410700308.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-31
Publication Date
2024-09-24

AI Technical Summary

Technical Problem

Traditional classroom student-teacher interaction analysis has problems such as insufficient real-time performance and inaccurate data sampling, which makes it difficult for teachers to adjust teaching strategies in a timely manner and affects the quality of teaching.

Method used

Using a method based on cross-modal data, the teacher's voice encoder is trained by obtaining the vocal information of different speakers, and the neural network model is used to generate the teacher's voice feature vector, calculate the real-time interaction rate in the classroom, and provide real-time feedback and intervention control information.

Benefits of technology

Real-time and accurate classroom interaction analysis is achieved, helping teachers adjust teaching strategies in a timely manner and improve teaching effectiveness.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118692485A
    Figure CN118692485A
Patent Text Reader

Abstract

The invention discloses a classroom interaction real-time feedback and intervention method and system based on cross-modal data, and the method comprises the steps: obtaining sound information sets of different speakers, and carrying out the training, thereby obtaining a teacher sound encoder; wherein the teacher sound encoder is used for generating a teacher voice feature vector according to input teacher audio information; inputting the obtained audio with noise and the teacher voice feature vector into a neural network model, and pre-training to obtain a first network model; inputting the acquired real-time classroom voice and the teacher voice feature vector into a first network model to generate teacher enhanced audio information; calculating a real-time classroom interaction rate according to the teacher enhanced audio information; and according to the classroom real-time interaction rate, generating a classroom real-time feedback result and generating classroom intervention control information. The embodiment of the invention is high in real-time performance and high in accuracy, can improve the accuracy of teaching behavior analysis, helps teachers to adjust teaching strategies in time, and can be widely applied to the technical field of voiceprint recognition and the like.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of voiceprint recognition technology, and in particular to a method and system for real-time feedback and intervention in classroom interaction based on cross-modal data. Background Art

[0002] Classroom ST (student-teacher interaction) analysis is a classroom observation recording and analysis tool that studies and analyzes classroom teaching patterns through visual data of classroom interactions, so as to adjust teaching strategies in a timely manner according to teaching needs. First of all, traditional classroom ST analysis is often a post-analysis, which draws a class ST graph and Rt-Ch graph by sampling the results of student behavior and teacher behavior in a complete class, and obtains the analysis results. Such analysis is certainly effective, but it is difficult for teachers to grasp the real-time student-teacher interaction during the teaching process, which greatly limits the timely adjustment of teaching strategies and affects the quality of classroom teaching. Secondly, traditional classroom ST analysis uses manual sampling and labeling to collect data. Student behavior and teacher behavior may appear simultaneously within the sampling interval (30 seconds). Long interval sampling makes it impossible to obtain the accurate proportion of student-teacher behavior, and the accuracy of the analysis results is affected. Summary of the invention

[0003] In view of this, an embodiment of the present invention provides a method and system for real-time feedback and intervention in classroom interaction based on cross-modal data with high real-time performance and accuracy.

[0004] An aspect of an embodiment of the present invention provides a method for real-time feedback and intervention of classroom interaction based on cross-modal data, comprising the following steps:

[0005] Acquire a set of speech information of different speakers, and train a teacher voice encoder; wherein the teacher voice encoder is used to generate a teacher voice feature vector according to the input teacher audio information;

[0006] Inputting the obtained noisy frequency and the teacher's speech feature vector into a neural network model, and pre-training to obtain a first network model;

[0007] Inputting the acquired real-time classroom speech and the teacher's speech feature vector into the first network model to generate teacher enhanced audio information;

[0008] Calculating the real-time classroom interaction rate according to the teacher-enhanced audio information;

[0009] According to the real-time classroom interaction rate, real-time classroom feedback results and classroom intervention control information are generated.

[0010] Optionally, the step of acquiring a set of utterance information of different speakers and training a teacher voice encoder comprises:

[0011] Obtain different types of corpus information from several speakers;

[0012] The feature vector extracted from the corpus information is input into a neural network with a three-layer self-attention model, and the output of the neural network is L2 normalized to obtain an embedding vector;

[0013] A similarity matrix is ​​calculated based on the embedding vector and the center point of the embedding vector, and then the teacher voice encoder is trained based on the loss function of the embedding vector and the similarity matrix.

[0014] Optionally, the step of inputting the acquired noisy frequency and the teacher's speech feature vector into a neural network model and pre-training to obtain a first network model comprises:

[0015] According to the soft mask predicted by the neural network model, multiplying the soft mask with the amplitude spectrum element of the noisy frequency to generate an enhanced amplitude spectrum; wherein the neural network model is composed of 8 convolutional layers, 1 Mamba layer and 2 fully connected layers;

[0016] After combining the phase of the noisy frequency with the enhanced amplitude spectrum, an inverse short-time Fourier transform is applied to obtain an enhanced waveform;

[0017] In each time frame, the teacher speech feature vector is repeatedly connected to the output of the last convolutional layer, and then the obtained connection vector is input into the Mamba layer, and the cross entropy loss function is used as the loss function to pre-train and obtain the first network model.

[0018] Optionally, the step of inputting the acquired classroom real-time speech and the teacher's speech feature vector into the first network model to generate teacher enhanced audio information includes:

[0019] Based on the set analysis segment duration, the real-time classroom speech is picked up by a recording device and stored in a storage medium;

[0020] The real-time classroom speech and the teacher's speech feature vector are input into the first network model to generate teacher-enhanced audio information.

[0021] Optionally, calculating the classroom real-time interaction rate according to the teacher enhanced audio information includes:

[0022] Calculating the classroom real-time interaction rate according to the teacher enhanced audio information and the length of the analysis segment;

[0023] According to the calculated real-time interaction rate of the classroom, at least one of spectral data, sound data or chart data is mapped and an analysis chart of the real-time interaction rate of the classroom is generated.

[0024] Optionally, generating a real-time classroom feedback result and generating classroom intervention control information according to the real-time classroom interaction rate includes:

[0025] According to the real-time interaction rate of the classroom, the index of the real-time interaction rate of the classroom is fed back to the teacher in real time by means of LED in a visual manner with different light colors;

[0026] A reminder threshold is configured, and when the index of the real-time interaction rate of the classroom reaches the reminder threshold, an audio playback device plays a reminder sound to remind the teacher;

[0027] The analysis chart of the real-time classroom interaction rate is presented to the teacher through a display.

[0028] Another aspect of the embodiment of the present invention further provides a system for real-time feedback and intervention of classroom interaction based on cross-modal data, including:

[0029] The first module is used to obtain a set of voice information of different speakers and train a teacher voice encoder; wherein the teacher voice encoder is used to generate a teacher voice feature vector according to the input teacher audio information;

[0030] The second module is used to input the obtained noisy frequency and the teacher's voice feature vector into the neural network model, and pre-train to obtain a first network model;

[0031] The third module is used to input the acquired real-time classroom speech and the teacher's speech feature vector into the first network model to generate teacher enhanced audio information;

[0032] The fourth module is used to calculate the real-time classroom interaction rate according to the teacher enhanced audio information;

[0033] The fifth module is used to generate real-time classroom feedback results and classroom intervention control information according to the real-time classroom interaction rate.

[0034] Another aspect of an embodiment of the present invention further provides an electronic device, including a processor and a memory;

[0035] The memory is used to store programs;

[0036] The processor executes the program to implement the method described above.

[0037] Another aspect of the embodiment of the present invention further provides a computer-readable storage medium, wherein the storage medium stores a program,

[0038] The program is executed by a processor to implement the above-mentioned method.

[0039] 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.

[0040] The embodiment of the present invention obtains a set of vocalized speech information of different speakers, and trains to obtain a teacher voice encoder; wherein the teacher voice encoder is used to generate a teacher voice feature vector according to the input teacher audio information; the obtained noisy frequency and the teacher voice feature vector are input into a neural network model, and a first network model is obtained by pre-training; the obtained classroom real-time speech and the teacher voice feature vector are input into the first network model to generate teacher enhanced audio information; the classroom real-time interaction rate is calculated according to the teacher enhanced audio information; the classroom real-time feedback result is generated according to the classroom real-time interaction rate, and classroom intervention control information is generated. The embodiment of the present invention has high real-time performance and high accuracy, can improve the accuracy of teaching behavior analysis, and help teachers adjust teaching strategies in a timely manner. BRIEF DESCRIPTION OF THE DRAWINGS

[0041] 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.

[0042] Figure 1 An overall step flow chart provided for an embodiment of the present invention;

[0043] Figure 2 A schematic diagram of the overall structure of a neural network provided by an embodiment of the present invention;

[0044] Figure 3 An application schematic diagram provided for an embodiment of the present invention;

[0045] Figure 4 An example diagram of the classroom real-time interaction index provided by an embodiment of the present invention;

[0046] Figure 5 A real-time curve analysis diagram of teacher-student interaction provided by an embodiment of the present invention;

[0047] Figure 6 This is an example diagram of a classroom interactive real-time feedback device provided in an embodiment of the present invention. DETAILED DESCRIPTION

[0048] 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.

[0049] 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".

[0050] 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.

[0051] 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.

[0052] The method for real-time feedback and intervention of classroom interaction based on cross-modal data provided by the embodiment of the present invention relates to the fields of computers, voiceprint recognition, intelligent education systems, etc. The method for real-time feedback and intervention of classroom interaction based on cross-modal data 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 as a cloud server that provides basic cloud computing services such as 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. The server can also be a node server in a blockchain network; the software can be an application that implements a method for real-time feedback and intervention of classroom interaction based on cross-modal data, etc., but is not limited to the above forms.

[0053] 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.

[0054] Traditional ST classroom analysis is a classroom observation and recording tool that allows teachers to understand their own classroom teaching style. Because different knowledge points or topics require different teaching modes to achieve the best teaching effect, the traditional ST classroom analysis in the past is based on the entire class in the past, and it is impossible to conduct classroom interaction analysis on the teaching process of different knowledge points in a single class. Such analysis has a time lag and lacks flexibility.

[0055] In view of the problems existing in the prior art, the embodiments of the present invention provide a method for real-time feedback and intervention of classroom interaction based on cross-modal data, such as Figure 1 As shown, the following steps are included:

[0056] Acquire a set of speech information of different speakers, and train a teacher voice encoder; wherein the teacher voice encoder is used to generate a teacher voice feature vector according to the input teacher audio information;

[0057] Inputting the obtained noisy frequency and the teacher's speech feature vector into a neural network model, and pre-training to obtain a first network model;

[0058] Inputting the acquired real-time classroom speech and the teacher's speech feature vector into the first network model to generate teacher enhanced audio information;

[0059] Calculating the real-time classroom interaction rate according to the teacher-enhanced audio information;

[0060] According to the real-time classroom interaction rate, real-time classroom feedback results and classroom intervention control information are generated.

[0061] Optionally, the step of acquiring a set of utterance information of different speakers and training a teacher voice encoder comprises:

[0062] Obtain different types of corpus information from several speakers;

[0063] The feature vector extracted from the corpus information is input into a neural network with a three-layer self-attention model, and the output of the neural network is L2 normalized to obtain an embedding vector;

[0064] A similarity matrix is ​​calculated based on the embedding vector and the center point of the embedding vector, and then the teacher voice encoder is trained based on the loss function of the embedding vector and the similarity matrix.

[0065] Optionally, the step of inputting the acquired noisy frequency and the teacher's speech feature vector into a neural network model and pre-training to obtain a first network model comprises:

[0066] According to the soft mask predicted by the neural network model, multiplying the soft mask with the amplitude spectrum element of the noisy frequency to generate an enhanced amplitude spectrum; wherein the neural network model is composed of 8 convolutional layers, 1 Mamba layer and 2 fully connected layers;

[0067] After combining the phase of the noisy frequency with the enhanced amplitude spectrum, an inverse short-time Fourier transform is applied to obtain an enhanced waveform;

[0068] In each time frame, the teacher speech feature vector is repeatedly connected to the output of the last convolutional layer, and then the obtained connection vector is input into the Mamba layer, and the cross entropy loss function is used as the loss function to pre-train and obtain the first network model.

[0069] Optionally, the step of inputting the acquired classroom real-time speech and the teacher's speech feature vector into the first network model to generate teacher enhanced audio information includes:

[0070] Based on the set analysis segment duration, the real-time classroom speech is picked up by a recording device and stored in a storage medium;

[0071] The real-time classroom speech and the teacher's speech feature vector are input into the first network model to generate teacher-enhanced audio information.

[0072] Optionally, calculating the classroom real-time interaction rate according to the teacher enhanced audio information includes:

[0073] Calculating the classroom real-time interaction rate according to the teacher enhanced audio information and the length of the analysis segment;

[0074] According to the calculated real-time interaction rate of the classroom, at least one of spectral data, sound data or chart data is mapped and an analysis chart of the real-time interaction rate of the classroom is generated.

[0075] Optionally, generating a real-time classroom feedback result and generating classroom intervention control information according to the real-time classroom interaction rate includes:

[0076] According to the real-time interaction rate of the classroom, the index of the real-time interaction rate of the classroom is fed back to the teacher in real time by means of LED in a visual manner with different light colors;

[0077] A reminder threshold is configured, and when the index of the real-time interaction rate of the classroom reaches the reminder threshold, an audio playback device plays a reminder sound to remind the teacher;

[0078] The analysis chart of the real-time classroom interaction rate is presented to the teacher through a display.

[0079] The following takes a specific application scenario as an example to describe in detail the implementation process of the method for classroom interactive real-time feedback and intervention based on cross-modal data of the present invention:

[0080] The overall architecture of the neural network of the embodiment of the present invention is as follows Figure 2 As shown, it includes two parts that are trained separately: a teacher voice encoder and a voice separation recognition model and a related RTII calculation method, which specifically includes the following steps:

[0081] S101. Acquire a series of different utterance voice information of speakers.

[0082] Specifically, we obtain corpus information of N speakers, each of whom has M corpora. Each feature vector x ji(1≤j≤N,1≤i≤M) represents the features extracted from sentence i of speaker j.

[0083] The feature vector passes through a three-layer self-attention model, using f(x ji ; w) represents the output of the entire neural network, where w represents all parameters of the neural network. The embedding vector (T-vector) of the embodiment of the present invention is defined as the L2 normalized output of the above neural network:

[0084] Among them, e ji The embedding vector of the jth speaker’s i-th practical information is [e j1 ,…,e jM ].

[0085] Similarity matrix S ji,k Defined as each embedding vector e ji With all the center points c k Scaled cosine similarity between: S ji,k =w·cos(e ji ,c k )+b, where w and b are learnable parameters. Here we restrict the weights to positive w>0, because the goal is that the larger the cosine similarity, the higher the similarity.

[0086] During training, the goal is to make the embedding of each corpus similar to the center point of all embeddings of that speaker, while being far away from the center points of other speakers. Each embedding vector e ji The loss can be defined as This loss function means pushing each embedding vector towards its center point and pulling it away from all other centers. After training, the pre-trained teacher sound encoder is obtained.

[0087] S102, input the teacher's speech feature vector and the noisy frequency (real-time speech) into the neural network model.

[0088] The neural network model consists of 8 convolutional layers, 1 Mamba layer and 2 fully connected layers. Except for the last layer which uses sigmoid activation, the remaining layers use ReLU activation.

[0089] The network predicts a soft mask, which is multiplied element-wise with the input (live speech) magnitude spectrogram to produce an enhanced magnitude spectrogram. The phase of the noisy audio is merged with the enhanced magnitude spectrogram, and an inverse short-time Fourier transform is applied to the result to obtain the enhanced waveform.

[0090] In each time frame, the teacher audio feature vector is repeatedly concatenated with the output of the last convolutional layer. The resulting concatenated vector is then input to the subsequent Mamba layer. Using the cross entropy loss function as the loss function, the network is trained to minimize the difference between the masked amplitude spectrogram and the target amplitude spectrogram calculated from the clean audio.

[0091] S103, using a recording device to obtain real-time classroom speech, and inputting the real-time speech and the pre-acquired teacher speech feature vector into a pre-trained neural network model.

[0092] Specifically, the length of the analysis segment is set to T, the recording device picks up real-time voice information and stores the voice information in the storage medium, the current time is set to t, and the voice information of the time period (tT, t) is used as input to the model. The teacher-enhanced audio information is obtained through processing by the pre-trained end-to-end neural network model.

[0093] S104, such as Figure 3 As shown, in the embodiment of the present invention, the obtained teacher enhanced audio time information and the set analysis time length T can be used as input, and the algorithm is used to calculate the classroom real-time interaction rate RTII. The model output teacher enhanced audio time length is t T , then, RTII=1-|2t T -T|, according to the calculated RTII value, the result can be mapped into spectral data (RGB), sound data, and chart data (can be drawn into RTII analysis chart, see Figure 4 );

[0094] The real-time curve of teacher-student interaction is calculated using the data, where the horizontal axis represents the teacher's teaching record and the vertical axis represents the student's answer or question record (see Figure 5 ).

[0095] S105, such as Figure 6 As shown, the embodiment of the present invention can also display multimodal data in an audible manner through a specific device to achieve real-time feedback in the classroom.

[0096] Based on the results of classroom RTII analysis, the RTII index is visualized by LED in different light colors and fed back to teachers in real time.

[0097] Set a reminder threshold. When the RTII index reaches the specified threshold, the audio playback device plays a reminder sound to remind the teacher.

[0098] The real-time RTII analysis chart will be presented on the display and teachers can view it in real time.

[0099] S106. Through the above-mentioned real-time audio-visual feedback, teachers can intervene in the class in a timely manner according to teaching objectives.

[0100] In summary, the present invention pre-records the teacher's voice information; picks up the real-time classroom voice information through the sound receiving device; uses the voiceprint recognition technology to separate the student-teacher voice information; analyzes the classroom real-time interaction index "real-time interactive index" (RTII) through a preset algorithm and uses LED equipment, audio equipment and display equipment to visually and audio-visually feedback the classroom RTII in real time - from the sound mode across the spectrum color, using light changes to characterize the classroom voice interaction changes. Teachers can adjust the teaching mode as needed through the received feedback information, thereby improving the classroom teaching effect, and can be widely used in various classroom analyses in schools and the education and training industry.

[0101] 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.

[0102] The embodiment of the present invention further provides a system for classroom interaction real-time feedback and intervention based on cross-modal data, including:

[0103] The first module is used to obtain a set of voice information of different speakers and train a teacher voice encoder; wherein the teacher voice encoder is used to generate a teacher voice feature vector according to the input teacher audio information;

[0104] The second module is used to input the obtained noisy frequency and the teacher's voice feature vector into the neural network model, and pre-train to obtain a first network model;

[0105] The third module is used to input the acquired real-time classroom speech and the teacher's speech feature vector into the first network model to generate teacher enhanced audio information;

[0106] The fourth module is used to calculate the real-time classroom interaction rate according to the teacher enhanced audio information;

[0107] The fifth module is used to generate real-time classroom feedback results and classroom intervention control information according to the real-time classroom interaction rate.

[0108] 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.

[0109] Another aspect of an embodiment of the present invention further provides an electronic device, including a processor and a memory;

[0110] The memory is used to store programs;

[0111] The processor executes the program to implement the method described above.

[0112] 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.

[0113] Another aspect of the embodiment of the present invention further provides a computer-readable storage medium, wherein the storage medium stores a program.

[0114] The program is executed by a processor to implement the above-mentioned method.

[0115] 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.

[0116] 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.

[0117] 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.

[0118] 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.

[0119] 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.

[0120] 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.

[0121] 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.

[0122] 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.

[0123] 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.

[0124] 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.

[0125] 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.

[0126] 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 method for real-time feedback and intervention in classroom interaction based on cross-modal data, characterized in that: The following steps are involved: Acquire a set of speech information of different speakers, and train a teacher voice encoder; wherein the teacher voice encoder is used to generate a teacher voice feature vector according to the input teacher audio information; Inputting the obtained noisy frequency and the teacher's speech feature vector into a neural network model, and pre-training to obtain a first network model; Inputting the acquired real-time classroom speech and the teacher's speech feature vector into the first network model to generate teacher enhanced audio information; Calculating the real-time classroom interaction rate according to the teacher-enhanced audio information; According to the real-time classroom interaction rate, real-time classroom feedback results and classroom intervention control information are generated.

2. The method of classroom interactive real-time feedback and intervention based on cross-modal data according to claim 1, characterized in that: The method of obtaining a set of utterance information of different speakers and training a teacher voice encoder comprises: Obtain different types of corpus information from several speakers; The feature vector extracted from the corpus information is input into a neural network with a three-layer self-attention model, and the output of the neural network is L2 normalized to obtain an embedding vector; A similarity matrix is ​​calculated based on the embedding vector and the center point of the embedding vector, and then the teacher voice encoder is trained based on the loss function of the embedding vector and the similarity matrix.

3. The method of classroom interactive real-time feedback and intervention based on cross-modal data according to claim 1, characterized in that: The step of inputting the obtained noisy frequency and the teacher's speech feature vector into a neural network model and pre-training to obtain a first network model comprises: According to the soft mask predicted by the neural network model, multiplying the soft mask with the amplitude spectrum element of the noisy frequency to generate an enhanced amplitude spectrum; wherein the neural network model is composed of 8 convolutional layers, 1 Mamba layer and 2 fully connected layers; After combining the phase of the noisy frequency with the enhanced amplitude spectrum, an inverse short-time Fourier transform is applied to obtain an enhanced waveform; In each time frame, the teacher speech feature vector is repeatedly connected to the output of the last convolutional layer, and then the obtained connection vector is input into the Mamba layer, and the cross entropy loss function is used as the loss function to pre-train and obtain the first network model.

4. The method of classroom interactive real-time feedback and intervention based on cross-modal data according to claim 1, characterized in that: The step of inputting the acquired classroom real-time speech and the teacher's speech feature vector into the first network model to generate teacher enhanced audio information includes: Based on the set analysis segment duration, the real-time classroom speech is picked up by a recording device and stored in a storage medium; The real-time classroom speech and the teacher's speech feature vector are input into the first network model to generate teacher-enhanced audio information.

5. The method of classroom interactive real-time feedback and intervention based on cross-modal data according to claim 4, characterized in that: The step of calculating the classroom real-time interaction rate according to the teacher enhanced audio information includes: Calculating the classroom real-time interaction rate according to the teacher enhanced audio information and the length of the analysis segment; According to the calculated real-time interaction rate of the classroom, at least one of spectral data, sound data or chart data is mapped and an analysis chart of the real-time interaction rate of the classroom is generated.

6. The method of classroom interactive real-time feedback and intervention based on cross-modal data according to claim 5, characterized in that: Generating the real-time classroom feedback result and classroom intervention control information according to the real-time classroom interaction rate includes: According to the real-time interaction rate of the classroom, the index of the real-time interaction rate of the classroom is fed back to the teacher in real time by means of LED in a visual manner with different light colors; A reminder threshold is configured, and when the index of the real-time interaction rate of the classroom reaches the reminder threshold, an audio playback device plays a reminder sound to remind the teacher; The analysis chart of the real-time classroom interaction rate is presented to the teacher through a display.

7. A system for real-time feedback and intervention in classroom interaction based on cross-modal data, characterized in that: include: The first module is used to obtain a set of voice information of different speakers and train a teacher voice encoder; wherein the teacher voice encoder is used to generate a teacher voice feature vector according to the input teacher audio information; The second module is used to input the obtained noisy frequency and the teacher's voice feature vector into the neural network model, and pre-train to obtain a first network model; The third module is used to input the acquired real-time classroom speech and the teacher's speech feature vector into the first network model to generate teacher enhanced audio information; The fourth module is used to calculate the real-time classroom interaction rate according to the teacher enhanced audio information; The fifth module is used to generate real-time classroom feedback results and classroom intervention control information according to the real-time classroom interaction rate.

8. 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 6.

9. 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 6.

10. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the method according to any one of claims 1 to 6 is implemented.