Data processing method and device for text recitation and electronic equipment

Through automated data processing methods, combined with speech recognition and behavioral data analysis, the problems of subjectivity of manual judgment and insufficient cheating identification in the existing technology are solved, and a more accurate and fair text recitation evaluation is achieved.

CN118761869APending Publication Date: 2024-10-11HENAN XINGHUOLIAOYUAN SOFTWARE TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410820182.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-24
Publication Date
2024-10-11

AI Technical Summary

Technical Problem

Existing text recitation evaluation methods rely on manual evaluation, and there are subjective factors that lead to large errors in evaluation results. It is difficult to ensure accuracy and fairness, and there is a lack of effective cheating behavior identification mechanisms.

Method used

Automated data processing methods are used to generate cheating detection results by obtaining the user's voice data and behavioral data, including head movement and facial expression data, to ensure the accuracy and fairness of the recited content.

Benefits of technology

It improves the accuracy and fairness of recitation assessment, reduces errors and inconsistencies caused by human factors, and improves user experience satisfaction.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118761869A_ABST
    Figure CN118761869A_ABST
Patent Text Reader

Abstract

The invention provides a data processing method and device for text recitation and electronic equipment, and relates to the field of data processing. The method comprises the following steps: responding to a text recitation request input by a user; determining a standard text according to the text recitation request; obtaining recitation voice data of the user; according to the recitation voice data, determining a real-time recitation text; obtaining recitation behavior data of the user, wherein the recitation behavior data comprises head action data and facial expression data of the user; generating a cheating detection result based on the head action data and the facial expression data; if it is determined that the real-time recitation text is consistent with the standard text and it is determined that the cheating detection result indicates that the user does not cheat, it is determined that the user text recitation is qualified. By implementing the technical scheme provided by the invention, whether student recitation is qualified or not can be evaluated more accurately.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of data processing, and in particular to a data processing method, device and electronic device for text recitation. Background Art

[0002] In the existing text recitation assessment technology system, traditional recitation assessment methods mostly rely on manual judgment. This method mainly relies on the auditory and visual perception of teachers or judges to judge whether the students' recitation performance is qualified.

[0003] However, this method has many shortcomings in practical applications. Due to the inclusion of many subjective factors in the evaluation process, the evaluation results are prone to errors, making it difficult to ensure the accuracy and fairness of the evaluation. More importantly, this traditional evaluation method lacks an effective mechanism for identifying and judging cheating behaviors that may occur during the recitation process, which undoubtedly further reduces the accuracy of the evaluation of whether the recitation is qualified.

[0004] Therefore, there is an urgent need for a data processing method, device and electronic equipment for text recitation. Summary of the invention

[0005] The present application provides a data processing method, device and electronic device for text recitation, which is convenient for more accurately evaluating whether students' recitation is qualified.

[0006] In a first aspect of the present application, a data processing method for text recitation is provided, the method comprising: responding to a text recitation request input by a user; determining a standard text according to the text recitation request; acquiring the recitation voice data of the user; determining a real-time recitation text according to the recitation voice data; acquiring the recitation behavior data of the user, the recitation behavior data comprising the head movement data and facial expression data of the user; generating a cheating detection result based on the head movement data and the facial expression data; if it is determined that the real-time recitation text is consistent with the standard text, and it is determined that the cheating detection result indicates that the user has not cheated, then it is determined that the user's text recitation is qualified.

[0007] By adopting the above technical solution, the system can automatically respond to the user's recitation request without human intervention, thereby greatly improving the processing speed and efficiency. By automatically determining the standard text, obtaining the recitation voice data, and analyzing the recitation text in real time, the system can complete the preliminary evaluation of recitation in a short time. Combined with speech recognition technology, the system can accurately obtain the user's recitation voice data and convert it into real-time recitation text, thereby ensuring the accuracy of the recitation content. By analyzing the user's head movements and facial expressions, the system can more accurately determine whether the user has cheated, thereby improving the accuracy of recitation detection. The system not only pays attention to the accuracy of the recitation content, but also considers the user's recitation behavior data, including head movements and facial expressions. This multi-dimensional evaluation method can more comprehensively reflect the user's recitation situation. Through the generation of cheating detection results, the system can identify users who attempt to recite by improper means, thereby ensuring the fairness of the evaluation. Through automation, the errors and inconsistencies caused by human factors are reduced, and the satisfaction of user experience is improved. As a result, it is convenient to more accurately evaluate whether the student's recitation is qualified.

[0008] Optionally, determining the standard text according to the text recitation request specifically includes: if the text recitation request is a touch screen request, determining the standard text according to the correspondence between different touch screen requests and different standard texts; if the text recitation request is a voice request, performing keyword recognition on the voice request to determine target keywords; and matching and determining the standard text according to the correspondence between different target keywords and different standard texts.

[0009] By adopting the above technical solution, the system can support various forms of recitation request input. Whether through touch screen operation or voice input, users can easily make recitation requests. This diversity support makes the system more flexible and can meet the usage habits and preferences of different users. For touch screen requests, the system can quickly determine the corresponding standard text through the predefined correspondence between touch screen requests and standard texts, thereby improving processing efficiency. For voice requests, the system can accurately capture the key information in the user's voice through keyword recognition technology, and then match the corresponding standard text to ensure accuracy. Since the system establishes a correspondence between different touch screen requests or different target keywords and standard texts, it means that users can make personalized recitation requests according to their needs. At the same time, teachers or administrators can also customize and update these correspondences according to teaching needs to achieve customization of teaching content. Through the automated matching process, errors that may be caused by human factors are reduced, and the accuracy of determining standard texts is improved. Users can easily make recitation requests through touch screen or voice input without complicated operations, which improves the convenience and comfort of user experience. The system can intelligently determine the standard text based on the user's input, without the need for users to manually search or input, realizing the automated processing of recitation requests and improving the intelligence level of the system.

[0010] Optionally, determining the real-time recitation text based on the recitation voice data specifically includes: determining the recitation voice features corresponding to the recitation voice data based on the recitation voice data; inputting the recitation voice features into a preset model to obtain the real-time recitation text corresponding to the recitation voice features, the preset model is obtained by training a pre-established initial model based on multiple original example voice features and enhanced example voice features, and the enhanced example voice features at least include a fused example voice feature obtained by fusing at least two of the original example voice features.

[0011] By adopting the above technical solution, the corresponding recitation speech features are determined by analyzing the recitation speech data. This method can capture key information in the speech, such as tone, speech speed, pronunciation, etc., so as to more accurately reflect the user's recitation content. The preset model is not only trained based on the original example speech features, but also incorporates enhanced example speech features, such as fused example speech features obtained by fusing multiple original example speech features. This enhanced feature set enables the model to learn richer speech information and improves recognition accuracy. By combining the original example speech features and the enhanced example speech features for training, the preset model can learn more diverse speech patterns, thereby enhancing the generalization ability of different recitation contents. This means that the model can better adapt to the speech features of different users and reduce recognition errors caused by individual differences. The ability to determine the recitation text in real time allows users to get feedback immediately without waiting or manual input, which improves the immediacy and convenience of user experience. High-accuracy recognition reduces user correction operations caused by recognition errors, further improving the fluency and satisfaction of user experience. Using enhanced example speech features such as fused example speech features can reduce the demand for training data to a certain extent, because the fused features can provide more comprehensive information, allowing the model to learn key features more efficiently. This training method may also reduce training time and improve the training efficiency of the model.

[0012] Optionally, before inputting the recitation voice feature into a preset model to obtain a real-time recitation text corresponding to the recitation voice feature, the method further includes: acquiring a plurality of original example voice features and an original example text feature corresponding to each of the original example voice features; fusing at least two of the original example voice features to obtain a fused example voice feature, and determining a fused example text feature corresponding to the fused example voice feature; and training a pre-established initial model based on the original example voice feature, the original example text feature, the fused example voice feature and the fused example text feature to obtain the preset model.

[0013] By adopting the above technical solution, by obtaining a large number of original example speech features and corresponding text features, the model can learn more speech-to-text mapping relationships, thereby improving the accuracy of the model in converting recitation speech features into real-time recitation text. The original example speech features are fused to obtain fused example speech features, which can capture richer speech information and further improve the recognition ability and performance of the model. By fusing multiple original example speech features, the model can better handle complex situations in speech, such as noise, speech speed changes, pronunciation differences, etc., thereby enhancing the robustness of the model and reducing recognition errors caused by environmental factors or individual differences. The introduction of fused example speech features and corresponding fused example text features enriches the training data, allowing the model to learn more useful information during the training process and improve the training efficiency. At the same time, this method may also reduce the model's dependence on a large number of single original example data and reduce the complexity of data collection and processing. Since a large amount of original example data and fused example data are used in the training process, the model can learn a wider range of speech patterns and text mapping relationships, thereby improving the model's generalization ability to new data, so that it can better adapt to different recitation scenarios and users.

[0014] Optionally, the obtaining of the reciting behavior data of the user specifically includes: receiving reciting image data for the user sent by an image acquisition device, wherein the image acquisition device is set facing the face of the user; classifying the reciting image data frame by frame to obtain original reciting behavior image data, wherein the original reciting behavior image data includes original head movement image data and original facial expression image data; preprocessing the original reciting behavior image data to obtain the reciting behavior data of the user, wherein the preprocessing includes image denoising, image filtering and image normalization.

[0015] By adopting the above technical solution, the recitation image data sent by the image acquisition device can capture the user's behavior during the recitation process in real time and comprehensively, including head movements and facial expressions. This data acquisition method is more intuitive and accurate than other methods, which is helpful for the subsequent in-depth analysis of the user's recitation behavior. The recitation image data is classified frame by frame to obtain the original recitation behavior image data, including the original head movement image data and the original facial expression image data. This fine classification allows the subsequent analysis to focus more on specific behavioral characteristics, so as to have a deeper understanding of the user's recitation habits and status. The original recitation behavior image data is preprocessed, including image denoising, image filtering and image normalization. These preprocessing steps can eliminate noise and interference in the image, improve the quality of the image, and make the image data between different frames have better comparability and consistency. This helps the subsequent data analysis and model training, and improves the accuracy and reliability of the analysis. Since this method is based on image data for analysis, it can adapt to the acquisition of recitation behavior data in different scenes and backgrounds. Whether it is a classroom, a home or other environment, as long as the corresponding image acquisition device is equipped, data collection and analysis can be performed. In addition, this method can be adjusted and expanded as needed to meet different analysis needs. The recitation behavior data is obtained through the image acquisition device without the user having to perform additional operations or wear equipment, which improves the convenience and comfort of the user experience. At the same time, since this method can provide real-time feedback on the user's recitation behavior data, the user can also understand his or her recitation habits and status in a timely manner, which helps to improve the recitation effect.

[0016] Optionally, generating a cheating detection result based on the head movement data and the facial expression data specifically includes: determining the coordinates of the user's head bone points according to the head movement data, the head bone point coordinates being located in a pre-constructed coordinate system; performing displacement monitoring on the head bone point coordinates to determine the user's real-time head movement, the real-time head movement being used to indicate whether the user has cheating behavior of turning his head and / or lowering his head when reciting; generating a first cheating detection result according to the relationship between the real-time head movement and historical cheating head movements in a preset database.

[0017] By adopting the above technical solution, by determining the coordinates of the user's head skeleton points and monitoring their displacement, the system can accurately capture the changes in the user's head movements during recitation. This method based on skeleton points is more accurate than the traditional method based on overall image changes because it can pay attention to more subtle head movement details. By comparing the real-time head movement with the historical cheating head movement in the preset database, the system can accurately identify whether the user has cheating behaviors such as turning the head or lowering the head. This method based on data comparison can reduce the possibility of misjudgment and missed judgment, and improve the accuracy of cheating detection. Since this method can monitor the user's head movement in real time, cheating detection results can be generated instantly. This enables teachers or invigilators to quickly discover the user's cheating behavior and take corresponding measures to prevent further cheating. Cheating detection based on head movement data is an objective and quantitative method that reduces the interference of human factors in judging cheating behavior. This method can make automatic judgments based on pre-set rules and algorithms, avoid subjective assumptions and prejudices, and improve the objectivity of cheating detection. Although cheating detection itself may bring some pressure to users, by using accurate head movement data to detect cheating behavior, it can reduce misjudgment and unnecessary interference to users. At the same time, since this method does not require users to wear additional equipment or perform special operations, it can keep the recitation process natural and smooth, improving the user experience. By collecting and analyzing users' cheating head movement data, the cheating prevention mechanism can be further improved.

[0018] Optionally, generating a cheating detection result based on the head movement data and the facial expression data specifically also includes: capturing at least one anchor point of the user's face when reciting according to a preset anchor point number sequence; determining a target anchor point whose anchor point value is greater than an anchor point threshold among the at least one anchor point, and adding the target anchor point to the target facial key anchor points; searching for a symmetric anchor point of the target anchor point, and if the anchor point value of the symmetric anchor point is greater than the anchor point threshold, adding the symmetric anchor point to the target facial key anchor points; determining a target anchor point whose next anchor point value is greater than the anchor point threshold among the at least one anchor point , and executing the step of determining a target anchor point whose value among the at least one anchor point is greater than the anchor point threshold; until the number of the target facial key anchor points reaches a preset number threshold; obtaining a target facial expression according to the correspondence between different target facial key anchor points and different target facial expressions, wherein the target facial expression is used to indicate whether the user has cheated when reciting; generating a second cheating detection result according to the relationship between the target facial expression and the historical cheating facial expressions in the preset database, wherein the cheating detection result includes the first cheating detection result and the second cheating detection result.

[0019] By adopting the above technical solution, by capturing at least one anchor point on the user's face while reciting and paying attention to the changes in the anchor point value, the system can carefully analyze the user's facial expression. This method is more accurate than the overall facial image analysis because it can focus on the subtle changes in a specific area of ​​the face, thereby more accurately identifying the expression features related to cheating behavior. By determining the target anchor point and finding its symmetrical anchor point, the system can comprehensively consider the symmetry and expression features of the face, reducing the misjudgment caused by the change of a single anchor point. This symmetry analysis helps to enhance the accuracy of cheating behavior identification. By continuously determining new target anchor points until the number of target facial key anchor points reaches a preset number threshold, the system can comprehensively analyze the changes in the user's facial expression. This method not only considers a single expression feature, but also considers the combination of multiple expression features, thereby improving the comprehensiveness of cheating behavior identification. The target facial expression is compared with the historical cheating facial expression in the preset database to generate a second cheating detection result. This method combines the advantages of cheating behavior detection and facial expression recognition. By comprehensively considering head movements and facial expressions, the system can more comprehensively evaluate the user's cheating behavior and improve the accuracy of detection. The final cheating detection result includes the first cheating detection result based on head movements and the second cheating detection result based on facial expressions, which makes the result richer and more comprehensive. At the same time, since the two methods are independent and complementary to each other, the reliability of the cheating detection results is improved. Although the process involves a detailed analysis of the user's facial expressions, the entire process is automatic and does not require additional operations or cooperation from the user. This helps to maintain the user's natural state during the recitation process, reduces interference caused by the detection process, and thus improves the user experience.

[0020] Optionally, if it is determined that the real-time recitation text is consistent with the standard text, and it is determined that the cheating detection result indicates that the user has not cheated, then the user text recitation is determined to be qualified, specifically including: if it is determined that the real-time recitation text is consistent with the standard text, and it is determined that the first cheating detection result indicates that the real-time head movement is normal, and the second cheating detection result indicates that the target facial expression is normal, then the user text recitation is determined to be qualified.

[0021] By adopting the above technical solution, by judging whether the real-time recitation text is consistent with the standard text, it can be ensured that the user has met the requirements in the recitation content. However, relying solely on the consistency of the text content may not be enough to fully evaluate the user's recitation performance, because some users may achieve content consistency through cheating means, but do not really master or understand the recitation content. Therefore, combining the cheating detection results for comprehensive judgment can more accurately determine whether the user is truly qualified. The first cheating detection result focuses on the user's real-time head movements that may imply that the user is cheating, and the second cheating detection result focuses on the user's facial expressions. By combining these two detection results, the user's behavioral performance during the recitation process can be fully evaluated, thereby more accurately judging whether it is truly qualified. If only relying on the consistency of the real-time recitation text with the standard text to judge whether the user is qualified, the user's bad behavior or cheating behavior during the recitation process may be ignored. Similarly, if only relying on the cheating detection results, it may also lead to a wrong judgment of the user's recitation qualification due to some accidental factors or misjudgment. Therefore, combining these two judgment criteria can avoid misjudgments caused by a single standard and improve the accuracy and reliability of judgment. Through automated text comparison and cheating detection, human interference in judging the eligibility of users' recitation is reduced. This method is more objective and fair, avoids subjective assumptions and bias, and improves the accuracy and credibility of the evaluation.

[0022] In a second aspect of the present application, a data processing device for text recitation is provided, the data processing device comprising an acquisition module and a processing module, wherein the acquisition module is used to respond to a text recitation request input by a user; the processing module is used to determine a standard text according to the text recitation request; the acquisition module is also used to acquire the recitation voice data of the user; the processing module is also used to determine a real-time recitation text according to the recitation voice data; the acquisition module is also used to acquire the recitation behavior data of the user, the recitation behavior data includes the head movement data and facial expression data of the user; the processing module is also used to generate a cheating detection result based on the head movement data and the facial expression data; the processing module is also used to determine that the user's text recitation is qualified if it is determined that the real-time recitation text is consistent with the standard text and it is determined that the cheating detection result indicates that the user has not cheated.

[0023] In the third aspect of the present application, an electronic device is provided, which includes a processor, a memory, a user interface and a network interface, the memory is used to store instructions, the user interface and the network interface are both used to communicate with other devices, and the processor is used to execute the instructions stored in the memory so that the electronic device performs the method described above.

[0024] In a fourth aspect of the present application, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores instructions, and when the instructions are executed, the method described above is executed.

[0025] In summary, one or more technical solutions provided in the embodiments of the present application have at least the following technical effects or advantages: By automatically responding to the user's recitation request, no human intervention is required, thus greatly improving the processing speed and efficiency. By automatically determining the standard text, obtaining the recitation voice data, and analyzing the recitation text in real time, the system can complete the preliminary evaluation of recitation in a short time. Combined with speech recognition technology, the system can accurately obtain the user's recitation voice data and convert it into real-time recitation text to ensure the accuracy of the recitation content. By analyzing the user's head movements and facial expressions, the system can more accurately determine whether the user has cheated, thereby improving the accuracy of recitation detection. The system not only pays attention to the accuracy of the recitation content, but also considers the user's recitation behavior data, including head movements and facial expressions. This multi-dimensional evaluation method can more comprehensively reflect the user's recitation situation. By generating cheating detection results, the system can identify users who attempt to recite by improper means, thereby ensuring the fairness of the evaluation. Through automation, the errors and inconsistencies caused by human factors are reduced, and the satisfaction of user experience is improved. As a result, it is convenient to more accurately evaluate whether the student's recitation is qualified. BRIEF DESCRIPTION OF THE DRAWINGS

[0026] Figure 1 A flowchart of a data processing method for text recitation provided in an embodiment of the present application.

[0027] Figure 2 Another flowchart diagram of a data processing method for text recitation provided in an embodiment of the present application.

[0028] Figure 3 A module diagram of a data processing device for text recitation provided in an embodiment of the present application.

[0029] Figure 4 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application.

[0030] Explanation of the reference numerals: 31, acquisition module; 32, processing module; 41, processor; 42, communication bus; 43, user interface; 44, network interface; 45, memory. DETAILED DESCRIPTION

[0031] In order to enable technicians in this field to better understand the technical solutions in this specification, the technical solutions in the embodiments of this specification will be clearly and completely described below in conjunction with the drawings in the embodiments of this specification. Obviously, the described embodiments are only part of the embodiments of this application, not all of the embodiments.

[0032] In the description of the embodiments of the present application, words such as "for example" or "for example" are used to indicate examples, illustrations or explanations. Any embodiment or design described as "for example" or "for example" in the embodiments of the present application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "for example" or "for example" is intended to present related concepts in a specific way.

[0033] In the description of the embodiments of the present application, the meaning of the term "multiple" refers to two or more. For example, multiple systems refer to two or more systems, and multiple screen terminals refer to two or more screen terminals. In addition, the terms "first" and "second" are only used for descriptive purposes and cannot be understood as indicating or implying relative importance or implicitly indicating the indicated technical features. Thus, the features defined as "first" and "second" can explicitly or implicitly include one or more of the features. The terms "include", "comprise", "have" and their variations all mean "including but not limited to", unless otherwise specifically emphasized.

[0034] In the current text recitation assessment technology system, many traditional recitation assessment methods rely mainly on manual judgment, which usually involves teachers or judges evaluating whether students' recitation performance meets the standards through auditory and visual perception.

[0035] However, this method has many drawbacks in actual operation. Due to the excessive subjective factors in the evaluation process, the evaluation results are prone to large errors, making it difficult to ensure the accuracy and fairness of the evaluation. In addition, more importantly, this traditional evaluation method lacks an effective identification and judgment mechanism for cheating behaviors that students may adopt during the recitation process, which undoubtedly further weakens the accuracy of evaluating whether the recitation meets the standards.

[0036] In order to solve the above technical problems, the present application provides a data processing method for text recitation, referring to Figure 1 , Figure 1 A flowchart of a data processing method for text recitation provided in an embodiment of the present application. The data processing method is applied to a server and includes steps S110 to S170, which are as follows: S110 : Responding to a text recitation request input by a user.

[0037] Specifically, a server refers to a dedicated computer or computer cluster that provides a service in a network environment, which is used to process client requests and return responses. User input refers to information or commands entered by users through an interface (such as a web page, APP, etc.). The user input request requires the server to provide some form of text recitation service, including returning the text content to be recited, starting the recitation timer, providing recitation guidance, etc.

[0038] For example, suppose there is an online education platform, one of which has a function to help users recite text. The user submits a recitation request through the platform's webpage or application. This request contains the text content to be recited (such as an English article) and the recitation duration (such as 10 minutes). After the user clicks the "Start Reciting" button, the request is sent to the server. After receiving the request, the server first verifies the identity of the user and the legitimacy of the request. After the verification is passed, the server obtains the recitation text specified by the user from the database and prepares to start the recitation process. During the recitation process, the server may play the text content at the speed set by the user, or provide some form of assistance (such as sentence-by-sentence display, pronunciation demonstration, etc.). At the same time, the server may also record the user's recitation progress, errors and other information in the background for subsequent analysis and feedback. When the recitation time reaches the set duration or the user actively stops reciting, the server will end the recitation process and may send the recitation results or feedback to the user, such as the accuracy of the recitation, the time taken, etc. Through this process, the server successfully responds to the user's text recitation request and provides the corresponding service.

[0039] S120. Determine the standard text according to the text recitation request.

[0040] Specifically, the user sends a text recitation request to the server through some means (such as a web page, application, etc.). This request usually contains the text content or related identifiers (such as text ID, title, etc.) that the user wants to recite. After receiving the user's recitation request, the server needs to determine a "standard text". This standard text is used as a reference or comparison text to subsequently judge the accuracy and completeness of the user's recitation. The content of the standard text should be consistent with or highly relevant to the content of the text requested by the user.

[0041] For example, suppose a user submits a recitation request on an online learning platform, hoping to recite an ancient poem called "Spring Dawn". The user may only provide the title or ID of the ancient poem in the request. After receiving this request, the server will perform the following steps to determine the standard text: The server parses the user's request and extracts the identifier (such as the title or ID) of the ancient poem to be recited. The server uses the extracted identifier to query the database to find the corresponding ancient poem content. The server obtains the complete ancient poem content of "Spring Dawn" from the database and uses it as the standard text. If the ancient poem text in the database needs to be formatted or cleaned up (such as removing extra spaces, line breaks, etc.), the server will perform corresponding processing. With the standard text, the server can prepare for the subsequent recitation process, such as sending the standard text to the user's device, or starting the relevant recitation record and evaluation mechanism.

[0042] In a possible implementation, a standard text is determined based on a text recitation request, specifically including: if the text recitation request is a touch screen request, the standard text is determined based on the correspondence between different touch screen requests and different standard texts; if the text recitation request is a voice request, keyword recognition is performed on the voice request to determine the target keyword; and the standard text is matched and determined based on the correspondence between different target keywords and different standard texts.

[0043] Specifically, when a user initiates a recitation request through a touch screen (such as clicking, sliding, etc.), the server will determine the standard text based on a pre-set correspondence. This correspondence is a mapping table or database that stores different touch screen requests and corresponding standard texts. If the user initiates a recitation request through voice, the server first needs to perform keyword recognition on the user's voice request. This involves speech recognition technology, which converts the user's voice into text and further extracts key information or keywords. After identifying the target keywords, the server will match and determine the standard text based on the correspondence between these keywords and the standard text.

[0044] For example, suppose a user clicks a button named "Ancient Poetry "Quiet Night Thoughts"" on the interface of a learning application to initiate a recitation request. This click operation is a touch screen request. After receiving this request, the server will search the pre-set correspondence table or database to find the standard text corresponding to "Ancient Poetry "Quiet Night Thoughts", that is, the complete content of "Quiet Night Thoughts". If the user says to the mobile phone: "I want to recite the poem "Spring Dawn", the voice recognition function of the mobile phone will convert the user's voice into text and extract the keyword "Spring Dawn". After receiving these keywords, the server will search a rule set or database based on the correspondence between keywords and standard texts. By matching the keyword "Spring Dawn", the server finds the corresponding standard text, that is, the content of the ancient poem "Spring Dawn". In this process, the server receives the user's recitation request through different methods (touch screen or voice) and determines the corresponding standard text according to the type and content of the request. This method allows users to interact with the server in multiple ways, improving the flexibility of the system and user experience. At the same time, through keyword recognition and matching of standard texts, the server can accurately understand the user's intention and provide the correct recitation content.

[0045] S130: Acquire the user's recitation voice data.

[0046] Specifically, the user's recitation voice data refers to the sound data emitted by the user during the recitation process, which exists in the form of an audio stream. These data contain information such as the user's pronunciation, speaking speed, and intonation, which can be used for subsequent speech recognition, analysis, and evaluation. The server obtains the user's recitation voice data in the following steps: First, the server sends a command to the user's device to start its recording function in order to capture the user's recitation sound. Secondly, the user's device transmits the recorded audio stream to the server in real time. This can be achieved through network transmission, requiring a stable connection between the server and the user's device. Finally, after receiving the audio stream, the server will store it and may perform preliminary processing, such as noise reduction, format conversion, etc., for subsequent analysis and evaluation.

[0047] S140: Determine the real-time recitation text according to the recitation voice data.

[0048] Specifically, real-time recitation text refers to the corresponding text content generated in real time by the server according to the user's recitation voice data. This process involves speech recognition technology, which converts the user's voice into readable text. The process in which the server determines the real-time recitation text may include the following steps: first, the server uses a speech recognition algorithm to process the user's recitation voice data and converts the sound into text. Secondly, the generated text may need some optimization, such as removing redundant spaces, punctuation corrections, etc., to improve the accuracy and readability of the text. Finally, the server can feed back the generated text to the user in real time so that the user can instantly view his or her recitation situation.

[0049] For example, let's say a student is using an online education app to practice reciting an English article. He opens the app and starts reciting, turning on the recording function. As the student recites, the app records his voice in real time and sends the voice data to the server. After the server receives the voice data, it immediately starts the speech recognition algorithm for processing. These algorithms analyze the frequency, amplitude and other characteristics of the sound, match them with the pre-trained voice model, and recognize the corresponding words and sentences. After the speech recognition processing, the server generates a real-time text stream that matches the student's recitation. This process is real-time, which means that the server can output the recitation text almost instantly. The server sends the generated real-time recitation text back to the application, and the application displays the text to the student. In this way, the student can see what he is reciting in real time so that he can proofread and adjust it.

[0050] In one possible implementation, a real-time recitation text is determined based on the recitation voice data, specifically comprising: determining a recitation voice feature corresponding to the recitation voice data based on the recitation voice data; inputting the recitation voice feature into a preset model to obtain a real-time recitation text corresponding to the recitation voice feature, wherein the preset model is obtained by training a pre-established initial model based on multiple original example voice features and enhanced example voice features, and the enhanced example voice features at least include a fused example voice feature obtained by fusing at least two original example voice features.

[0051] Specifically, after receiving the user's recitation voice data, the server first extracts the features corresponding to the voice data. These features usually include the pitch, intensity, frequency, duration, etc. of the voice, which can describe various attributes of the user's pronunciation. The preset model is a pre-trained model used to convert the extracted voice features into text. This model is usually a complex machine learning model that can accurately recognize voice and output corresponding text after a large amount of data training. The training of the preset model is based on multiple example voice features. These example voice features include original example voice features and enhanced example voice features. The original example voice features are directly extracted from the original voice data; while the enhanced example voice features are obtained by processing or fusing the original example voice features in some way to enrich the training data of the model and improve the recognition accuracy. The original example voice features directly reflect the original attributes of the voice data. The enhanced example voice features can be obtained in many ways, such as fusing the voice features of different people, or transforming the voice features of the same person (such as adjusting the pitch, speed, etc.) to simulate different pronunciation situations. These enhanced example voice features can help the model generalize better and improve the recognition ability of different voices. The server inputs the extracted recitation speech features into the preset model, and the model outputs the corresponding real-time recitation text based on these features. This text is the real-time recognition and conversion result of the model on the user's recitation content.

[0052] In a possible implementation, before inputting the recitation speech feature into a preset model to obtain a real-time recitation text corresponding to the recitation speech feature, the method also includes: acquiring multiple original example speech features and original example text features corresponding to each original example speech feature; fusing at least two original example speech features to obtain a fused example speech feature, and determining a fused example text feature corresponding to the fused example speech feature; and training a pre-established initial model based on the original example speech features, the original example text features, the fused example speech features, and the fused example text features to obtain a preset model.

[0053] Specifically, first, the server collects a large number of original example speech features and the original example text features corresponding thereto. These original example data are the basis for model training, and they reflect the corresponding relationship between speech and text in the real world. In order to improve the generalization ability and recognition accuracy of the model, at least two original example speech features are fused to generate fused example speech features. The fusion can be a simple weighted average or a more complex feature transformation or combination. Corresponding to the fused example speech features, it is also necessary to determine the fused example text features. These text features are usually derived from the original example text features through some rules or algorithms to ensure that they are semantically corresponding to the fused example speech features. The pre-established initial model is trained using the above-collected original example speech features, original example text features, fused example speech features, and fused example text features. During the training process, the model will learn how to extract information from the speech features and convert them into corresponding text features, and optimize this conversion process by continuously adjusting the model parameters. After a large number of iterative training, the model will gradually converge to a stable state, and then it can be used as a preset model to convert new recitation speech features into text in real time.

[0054] For example, in order to enrich the training data, the recordings of different students can be mixed to generate fusion example speech features. For example, the recordings of two students can be mixed in a certain proportion, or the recording of the same student can be processed by speed change, pitch change, etc. to simulate different pronunciation situations.

[0055] S150: Acquire the user's recitation behavior data, where the recitation behavior data includes the user's head movement data and facial expression data.

[0056] Specifically, recitation behavior data refers to various behavior-related data generated by users during the recitation process. These data not only include the user's voice data, but also cover the user's movements and expressions during recitation, thereby providing richer information to evaluate the user's recitation. Head movement data refers to the record of the user's head movement during recitation, such as nodding, shaking head, turning head, etc. These data can be captured by a camera or other sensors and converted into a form that can be processed by a computer. Facial expression data records the changes in the user's facial expression during recitation, such as smiling, frowning, surprise, avoiding with eyes, etc. These data can also be captured by a camera and analyzed and processed by facial recognition technology.

[0057] For example, suppose there is an online education platform that provides a recitation function that allows students to record a video of themselves reciting a text and submit it to the platform for evaluation. When using this function, students first use their own devices (such as mobile phones or computers) to record the recitation video. In this process, the camera not only captures the student's voice, but also records the student's head movements and facial expressions. After recording, the student uploads the video to the server of the online education platform. This video contains the user's recitation voice data, head movement data, and facial expression data. After receiving the video, the server begins to process the data. First, through voice recognition technology, the server extracts the student's recitation voice data and converts it into text. At the same time, the server also analyzes the head movement and facial expression data in the video to understand the student's emotions and involvement in the recitation process. Based on the above data, the server can make a comprehensive evaluation of the student's recitation. For example, by analyzing the head movement data, the server can determine whether the student is thinking seriously; by analyzing the facial expression data, the server can evaluate the student's emotional state, such as whether he feels nervous, anxious, or confident.

[0058] In a possible implementation, obtaining the user's reciting behavior data specifically includes: receiving reciting image data for the user sent by an image acquisition device, the image acquisition device being set facing the user's face; classifying the reciting image data frame by frame to obtain original reciting behavior image data, the original reciting behavior image data including original head movement image data and original facial expression image data; preprocessing the original reciting behavior image data to obtain the user's reciting behavior data, the preprocessing including image denoising, image filtering and image normalization.

[0059] Specifically, when the user is reciting, an image acquisition device (such as a camera) will be set facing the user's face to capture the user's face and head movements in real time. This device will send continuous image data to the server or related processing device. After receiving the recitation image data, the server or processing device will analyze the data frame by frame. Each frame of the image will be classified and processed to distinguish the image data related to the head movement and the image data related to the facial expression. In this way, the original recitation behavior image data is divided into two parts: the original head movement image data and the original facial expression image data. Since the image data directly obtained from the image acquisition device may contain noise, blur or other interference factors, a series of preprocessing operations are required to improve the quality and analyzability of the data. These preprocessing operations usually include: removing noise points in the image through an algorithm to make the image clearer; using a filter to smooth the image to reduce high-frequency noise and detail distortion in the image; adjusting the pixel value or feature of the image to a unified standard range for subsequent data analysis and processing. After these preprocessing steps, the obtained recitation behavior data is clearer and more accurate, and can be used for subsequent analysis and evaluation.

[0060] For example, suppose there is an online learning platform that provides a function that allows students to record videos of themselves reciting texts and evaluate their learning status by analyzing their head movements and facial expressions. When using this function, students first need to connect a camera in front of them to ensure that the camera can clearly capture the student's face and head movements. The student starts to recite the text, and the camera captures the student's face and head movements in real time and sends these image data to the server. After receiving the image data, the server begins to analyze these images frame by frame. Through image recognition technology, the server can distinguish the head movements and facial expressions in each frame of the image, thereby obtaining the original recitation behavior image data. In order to improve the data quality, the server denoises, filters and normalizes the original recitation behavior image data. In this way, the obtained image data is clearer and more accurate, providing a good foundation for subsequent analysis and evaluation.

[0061] S160: Generate a cheating detection result based on the head movement data and the facial expression data.

[0062] Specifically, the head movement data reflects the head movement of the user within a specific time. For example, if the user frequently turns his head to look elsewhere, looks down at the desk or other places, or suddenly moves his head quickly and keeps looking at a certain place, these may be signs of cheating. The server analyzes these head movement data to identify whether there are abnormal or suspicious behavior patterns. Facial expression data provides clues to the user's emotional state. For example, when the user feels nervous, anxious or uneasy, their facial expression may change. In the case of cheating, because they are worried about being discovered, the user may show a nervous or anxious expression, and may also avoid looking and fix their eyes on a certain position. The server analyzes these facial expression data and compares them with normal expressions during study or examinations to find possible signs of cheating. Based on the analysis of the above head movement data and facial expression data, the server generates a cheating detection result. This result can be a simple label (such as "cheating" or "not cheating"), or a probability value indicating the possibility of cheating by the user. This detection result can be used to trigger further actions, such as warning the user, terminating the exam, or conducting a more in-depth investigation.

[0063] In a possible implementation, a cheating detection result is generated based on the head movement data and the facial expression data, specifically including: determining the coordinates of the user's head skeleton points according to the head movement data, where the coordinates of the head skeleton points are located in a pre-constructed coordinate system; performing displacement monitoring on the coordinates of the head skeleton points to determine the user's real-time head movement, where the real-time head movement is used to indicate whether the user has cheating behavior of turning his head and / or lowering his head when reciting; and generating a first cheating detection result according to the relationship between the real-time head movement and the historical cheating head movement in a preset database.

[0064] Specifically, the server first determines the coordinates of the head bone points based on the user's head movement data. These coordinates are usually extracted from the video or image frame through image processing technology, representing the positions of various key bone points of the head. These bone points include feature points of the forehead, eyes, nose, mouth and other parts. These coordinates are located in a pre-built coordinate system for subsequent analysis and comparison. Next, the server monitors the displacement of these head bone point coordinates. By comparing the coordinate changes between consecutive frames, the user's real-time head movements can be determined. These real-time head movements can indicate whether the user has specific cheating behaviors when reciting, such as turning his head to look elsewhere or looking down at the desktop. After obtaining the user's real-time head movements, the server compares these movements with historical cheating head movements in a preset database. This preset database contains a large amount of known cheating behavior head movement data, which is collected through previous student cheating cases or simulation experiments. By comparing the similarity or matching between the real-time head movement and the historical cheating head movement, the server can generate a first cheating detection result. This result can be a probability value, indicating the possibility that the user has cheated by turning his head or lowering his head; it can also be a binary classification result, such as "cheating behavior exists" or "no cheating behavior exists".

[0065] S170: If it is determined that the real-time recitation text is consistent with the standard text, and it is determined that the cheating detection result indicates that the user has not cheated, then it is determined that the user's text recitation is qualified.

[0066] Specifically, only when the real-time recitation text is consistent with the standard text and the cheating detection result indicates that the user has not cheated, the server will determine that the user's text recitation is qualified, that is, the evaluation is completed. This means that the user not only recited the content correctly, but also did not take any improper means during the recitation process.

[0067] As a result, the server can automatically respond to the user's recitation request without human intervention, thereby greatly improving the processing speed and efficiency. By automatically determining the standard text, obtaining the recitation voice data, and analyzing the recitation text in real time, the server can complete the preliminary evaluation of recitation in a short time. Combined with speech recognition technology, the server can accurately obtain the user's recitation voice data and convert it into real-time recitation text to ensure the accuracy of the recitation content. By analyzing the user's head movements and facial expressions, the server can more accurately determine whether the user has cheated, thereby improving the accuracy of recitation detection. The server not only pays attention to the accuracy of the recitation content, but also considers the user's recitation behavior data, including head movements and facial expressions. This multi-dimensional evaluation method can more comprehensively reflect the user's recitation situation. Through the generation of cheating detection results, the server can identify users who attempt to recite by improper means, thereby ensuring the fairness of the evaluation. Through automation, the errors and inconsistencies caused by human factors are reduced, and the satisfaction of user experience is improved. As a result, it is convenient to more accurately evaluate whether the student's recitation is qualified.

[0068] In a possible implementation, if it is determined that the real-time recitation text is consistent with the standard text, and it is determined that the cheating detection result indicates that the user has not cheated, then the user's text recitation is determined to be qualified, specifically including: if it is determined that the real-time recitation text is consistent with the standard text, and it is determined that the first cheating detection result indicates that the real-time head movement is normal, and the second cheating detection result indicates that the target facial expression is normal, then the user's text recitation is determined to be qualified.

[0069] Specifically, first, the server will compare the text recited by the user in real time with the preset standard text. This step is to ensure that the content recited by the user is accurate and consistent with the required content. The first cheating detection result is mainly generated based on the user's real-time head movement data. This detection result will determine whether the user has cheated by turning his head (such as peeking at the side) or lowering his head (such as looking at the cheat sheet on the table) during the recitation process. If the first cheating detection result indicates that the real-time head movement is normal, that is, no abnormal head movement is detected, then the server can assume that the user has not cheated in this regard. The second cheating detection result is generated based on the user's facial expression data. By analyzing the changes in the user's facial expression during the recitation process, the server can determine whether the user shows abnormal facial expressions due to tension, anxiety and other emotions, and thus infer whether the user may have cheating behavior. If the second cheating detection result indicates that the target facial expression is normal, that is, no abnormal expression related to cheating is detected, then the server can also assume that the user has not cheated in this regard. Finally, the server combines the above three aspects of information: the consistency of the real-time recitation text and the standard text, the first cheating detection result (head movement) and the second cheating detection result (facial expression). Only when all three conditions are met, i.e. the recitation is correct and no abnormal head movements and facial expressions associated with cheating are detected, will the server determine that the user's text recitation is qualified.

[0070] In one possible implementation, refer to Figure 2 , Figure 2 Another flow chart of a data processing method for text recitation provided in an embodiment of the present application. Wherein, based on the head movement data and facial expression data, a cheating detection result is generated, specifically including steps S210 to S270, the above steps are as follows: S210, capture at least one anchor point of the user's face when reciting according to the preset anchor point number sequence; S220, determine a target anchor point with an anchor point value greater than the anchor point threshold among at least one anchor point, and add the target anchor point to the target facial key anchor points; S230, search for the symmetric anchor point of the target anchor point, if the anchor point value of the symmetric anchor point is greater than the anchor point threshold, then add the symmetric anchor point to the target facial key anchor points; S240, determine the next anchor point value greater than the anchor point threshold among at least one anchor point The target anchor point of the anchor point threshold is determined, and a step of determining a target anchor point whose anchor point value in at least one anchor point is greater than the anchor point threshold is performed; S250, until the number of target facial key anchor points reaches a preset number threshold; S260, according to the correspondence between different target facial key anchor points and different target facial expressions, the target facial expression is obtained, and the target facial expression is used to indicate whether the user has cheating behavior when reciting; S270, according to the relationship between the target facial expression and the historical cheating facial expressions in the preset database, a second cheating detection result is generated, and the cheating detection result includes the first cheating detection result and the second cheating detection result.

[0071] Specifically, first, the server will capture at least one anchor point on the user's face when reciting according to the preset anchor point number sequence. These anchor points are usually some key points of the face, such as specific positions of the eyes, mouth, nose and other parts. By capturing the position changes of these anchor points, the changes in the user's facial expressions can be analyzed. Among them, the preset anchor point number sequence can be customized by the administrator of the server or platform. The server will then check the value of each anchor point (which can be attributes such as position, size, shape, etc.). If the value of a certain anchor point is greater than the preset anchor point threshold, then this anchor point is considered to be the target anchor point and added to the target facial key anchor point list. This means that the facial area represented by this anchor point has changed significantly during the recitation process. In order to analyze facial expressions more comprehensively, the server will also find the symmetrical anchor point of the target anchor point (for example, if the target anchor point is a certain position of the left eye, then the symmetrical anchor point is the corresponding position of the right eye). If the value of the symmetrical anchor point is also greater than the anchor point threshold, then this symmetrical anchor point will also be added to the target facial key anchor points. This process will continue until the number of target facial key anchor points reaches the preset number threshold, which means that the server only focuses on those facial areas with the most significant changes. Among them, the preset quantity threshold can also be customized by the administrator, which will not be repeated here.

[0072] Next, with these target facial key anchor points, the server can determine the target facial expression of the user when reciting based on the correspondence between them and different facial expressions, which can be done by comparing the change pattern of the target facial key anchor points with the predefined facial expression pattern. Finally, the server will compare this target facial expression with the historical cheating facial expression in the preset database. If the target facial expression is similar to or matches a known cheating expression, the server will generate a second cheating detection result. This result may be a probability value indicating the possibility of cheating by the user, or it may be a clear classification label. In the embodiment of the present application, there is a certain mapping relationship between the target facial key anchor points and the target facial expression, and the target facial key anchor points include at least one anchor point, so the correspondence between different target facial key anchor points and different target facial expressions can be understood in the embodiment of the present application as: the mapping relationship between the target facial expression and at least one anchor point. Among them, the target facial expression must have a corresponding set of anchor points, that is, the target facial key anchor points, but a set of anchor points does not necessarily have a corresponding target facial expression.

[0073] For example, during the recitation process, if the server detects that the student's eyes suddenly widen (which usually indicates surprise or nervousness), and this change exceeds the preset threshold, the relevant anchor point of the eye will be considered as the target facial key anchor point. The server further checks the symmetrical anchor point of the eye (the other eye), and if it finds a similar change, it will also add this symmetrical anchor point to the target facial key anchor point list. Based on the changes in these key anchor points, the server determines that the student's facial expression may be surprise or nervousness. Finally, the server compares this expression with the cheating expressions in the preset database. If it is found that this expression is similar to the nervous or anxious expression of known cheating, the server will generate a cheating detection result to prompt the user to cheat.

[0074] The present application also provides a data processing device for text recitation, referring to Figure 3 , Figure 3 A module schematic diagram of a data processing device for text recitation provided in an embodiment of the present application. The data processing device is a server, and the server includes an acquisition module 31 and a processing module 32, wherein the acquisition module 31 responds to a text recitation request input by a user; the processing module 32 determines a standard text according to the text recitation request; the acquisition module 31 acquires the user's recitation voice data; the processing module 32 determines the real-time recitation text according to the recitation voice data; the acquisition module 31 acquires the user's recitation behavior data, and the recitation behavior data includes the user's head movement data and facial expression data; the processing module 32 generates a cheating detection result based on the head movement data and facial expression data; if the processing module 32 determines that the real-time recitation text is consistent with the standard text, and determines that the cheating detection result indicates that the user has not cheated, then it determines that the user's text recitation is qualified.

[0075] In a possible implementation, the processing module 32 determines the standard text according to the text recitation request, specifically including: if the text recitation request is a touch screen request, the processing module 32 determines the standard text according to the correspondence between different touch screen requests and different standard texts; if the text recitation request is a voice request, the processing module 32 performs keyword recognition on the voice request to determine the target keyword; the processing module 32 matches and determines the standard text according to the correspondence between different target keywords and different standard texts.

[0076] In one possible implementation, the processing module 32 determines the real-time recitation text based on the recitation voice data, specifically including: the processing module 32 determines the recitation voice features corresponding to the recitation voice data based on the recitation voice data; the processing module 32 inputs the recitation voice features into a preset model to obtain the real-time recitation text corresponding to the recitation voice features, the preset model is obtained by training a pre-established initial model based on multiple original example voice features and enhanced example voice features, and the enhanced example voice features at least include a fused example voice feature obtained by fusing at least two original example voice features.

[0077] In one possible implementation, before the processing module 32 inputs the recitation speech feature into the preset model to obtain the real-time recitation text corresponding to the recitation speech feature, the acquisition module 31 acquires multiple original example speech features and original example text features corresponding to each original example speech feature; the processing module 32 fuses at least two original example speech features to obtain a fused example speech feature, and determines a fused example text feature corresponding to the fused example speech feature; the processing module 32 trains a pre-established initial model based on the original example speech features, the original example text features, the fused example speech features and the fused example text features to obtain the preset model.

[0078] In a possible implementation, the acquisition module 31 acquires the user's reciting behavior data, specifically including: the acquisition module 31 receives the reciting image data for the user sent by the image acquisition device, and the image acquisition device is set facing the user's face; the processing module 32 classifies the reciting image data frame by frame to obtain original reciting behavior image data, and the original reciting behavior image data includes original head movement image data and original facial expression image data; the processing module 32 pre-processes the original reciting behavior image data to obtain the user's reciting behavior data, and the pre-processing includes image denoising, image filtering and image normalization.

[0079] In a possible implementation, the processing module 32 generates a cheating detection result based on the head movement data and the facial expression data, specifically including: the processing module 32 determines the coordinates of the user's head bone points according to the head movement data, and the coordinates of the head bone points are located in a pre-constructed coordinate system; the processing module 32 monitors the displacement of the head bone point coordinates to determine the user's real-time head movement, and the real-time head movement is used to indicate whether the user has cheating behavior of turning his head and / or lowering his head when reciting; the processing module 32 generates a first cheating detection result according to the relationship between the real-time head movement and the historical cheating head movement in a preset database.

[0080] In a possible implementation, a cheating detection result is generated based on the head movement data and the facial expression data, which specifically includes: the processing module 32 captures at least one anchor point of the user's face when reciting according to the preset anchor point number sequence; the processing module 32 determines a target anchor point whose anchor point value is greater than the anchor point threshold among the at least one anchor point, and adds the target anchor point to the target facial key anchor points; the processing module 32 searches for the symmetric anchor point of the target anchor point, and if the anchor point value of the symmetric anchor point is greater than the anchor point threshold, the symmetric anchor point is added to the target facial key anchor points; the processing module 32 determines that the next anchor point value among the at least one anchor point is greater than the anchor point threshold , and execute the step of determining a target anchor point whose anchor point value is greater than the anchor point threshold in at least one anchor point; the processing module 32 waits until the number of target facial key anchor points reaches a preset number threshold; the processing module 32 obtains the target facial expression according to the correspondence between different target facial key anchor points and different target facial expressions, and the target facial expression is used to indicate whether the user has cheated when reciting; the processing module 32 generates a second cheating detection result according to the relationship between the target facial expression and the historical cheating facial expressions in the preset database, and the cheating detection result includes the first cheating detection result and the second cheating detection result.

[0081] In a possible implementation, if the processing module 32 determines that the real-time recitation text is consistent with the standard text, and determines that the cheating detection result indicates that the user has not cheated, then it determines that the user's text recitation is qualified, specifically including: if the processing module 32 determines that the real-time recitation text is consistent with the standard text, and determines that the first cheating detection result indicates that the real-time head movement is normal, and the second cheating detection result indicates that the target facial expression is normal, then it determines that the user's text recitation is qualified.

[0082] It should be noted that: when the device provided in the above embodiment realizes its function, only the division of the above functional modules is used as an example. In actual application, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above. In addition, the device and method embodiments provided in the above embodiment belong to the same concept, and the specific implementation process is detailed in the method embodiment, which will not be repeated here.

[0083] The present application also provides an electronic device, referring to Figure 4 , Figure 4 The electronic device may include: at least one processor 41 , at least one network interface 44 , a user interface 43 , a memory 45 , and at least one communication bus 42 .

[0084] The communication bus 42 is used to realize the connection and communication between these components.

[0085] The user interface 43 may include a display screen (Display) and a camera (Camera). Optionally, the user interface 43 may also include a standard wired interface and a wireless interface.

[0086] The network interface 44 may optionally include a standard wired interface or a wireless interface (such as a WI-FI interface).

[0087] Among them, the processor 41 may include one or more processing cores. The processor 41 uses various interfaces and lines to connect various parts in the entire server, and executes various functions of the server and processes data by running or executing instructions, programs, code sets or instruction sets stored in the memory 45, and calling data stored in the memory 45. Optionally, the processor 41 can be implemented in at least one hardware form of digital signal processing (Digital Signal Processing, DSP), field programmable gate array (Field-Programmable Gate Array, FPGA), and programmable logic array (Programmable Logic Array, PLA). The processor 41 can integrate one or a combination of a central processing unit (Central Processing Unit, CPU), a graphics processing unit (Graphics Processing Unit, GPU) and a modem. Among them, the CPU mainly processes the operating system, user interface and application programs; the GPU is responsible for rendering and drawing the content to be displayed on the display screen; the modem is used to process wireless communications. It can be understood that the above-mentioned modem may not be integrated into the processor 41, and it can be implemented separately through a chip.

[0088] Among them, the memory 45 may include a random access memory (RAM) or a read-only memory (Read-Only Memory). Optionally, the memory 45 includes a non-transitory computer-readable storage medium. The memory 45 can be used to store instructions, programs, codes, code sets or instruction sets. The memory 45 may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system, instructions for at least one function (such as a touch function, a sound playback function, an image playback function, etc.), instructions for implementing the above-mentioned method embodiments, etc.; the data storage area may store data involved in the above-mentioned method embodiments, etc. The memory 45 may also be optionally at least one storage device located away from the aforementioned processor 41. As Figure 4As shown, the memory 45 as a computer storage medium may include an operating system, a network communication module, a user interface module, and an application program for a data processing method for text recitation.

[0089] exist Figure 4 In the electronic device shown, the user interface 43 is mainly used to provide an input interface for the user and obtain data input by the user; and the processor 41 can be used to call an application program stored in the memory 45 for a data processing method for text recitation. When executed by one or more processors, the electronic device executes one or more methods in the above-mentioned embodiments.

[0090] It should be noted that, for the above-mentioned method embodiments, for the sake of simplicity, they are all expressed as a series of action combinations, but those skilled in the art should be aware that the present application is not limited by the order of the actions described, because according to the present application, some steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required for the present application.

[0091] The present application also provides a computer-readable storage medium, which stores instructions. When executed by one or more processors, the electronic device executes one or more of the methods described in the above embodiments.

[0092] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0093] In the several embodiments provided in the present application, it should be understood that the disclosed devices can be implemented in other ways. For example, the device embodiments described above are only schematic, such as the division of units, which is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some service interfaces, and the indirect coupling or communication connection of devices or units can be electrical or other forms.

[0094] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0095] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0096] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable memory. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, which is stored in a memory and includes several instructions for a computer device (which can be a personal computer, server or network device, etc.) to execute all or part of the steps of the various embodiments of the present application. The aforementioned memory includes: various media that can store program codes, such as USB flash drives, mobile hard drives, magnetic disks or optical disks.

[0097] The above is only an exemplary embodiment of the present disclosure, and the scope of the present disclosure cannot be limited thereto. That is, any equivalent changes and modifications made according to the teachings of the present disclosure are still within the scope of the present disclosure. After considering the disclosure of the specification and the truth of practice, it will be easy for those skilled in the art to think of other embodiments of the present disclosure. This application is intended to cover any modification, use or adaptation of the present disclosure, which follows the general principles of the present disclosure and includes common knowledge or customary technical means in the technical field that are not recorded in the present disclosure. The description and examples are only regarded as exemplary, and the scope and spirit of the present disclosure are defined by the claims.

Claims

1. A data processing method for text recitation, characterized in that: The method comprises: responding to a text recitation request input by a user; Determining a standard text based on a request to recite the text; Acquiring the recitation voice data of the user; Determining a real-time recitation text according to the recitation voice data; Acquiring recitation behavior data of the user, wherein the recitation behavior data includes head movement data and facial expression data of the user; generating a cheating detection result based on the head movement data and the facial expression data; If it is determined that the real-time recitation text is consistent with the standard text, and it is determined that the cheating detection result indicates that the user has not cheated, then it is determined that the user text recitation is qualified.

2. The data processing method for text recitation according to claim 1, characterized in that: Determining the standard text according to the text recitation request specifically includes: If the text recitation request is a touch screen request, determining the standard text according to the correspondence between different touch screen requests and different standard texts; If the text recitation request is a voice request, performing keyword recognition on the voice request to determine a target keyword; According to the correspondence between different target keywords and different standard texts, the standard text is matched and determined.

3. The data processing method for text recitation according to claim 1, characterized in that: Determining the real-time recitation text according to the recitation voice data specifically includes: Determining, according to the recitation voice data, a recitation voice feature corresponding to the recitation voice data; The recitation speech feature is input into a preset model to obtain a real-time recitation text corresponding to the recitation speech feature. The preset model is obtained by training a pre-established initial model based on multiple original example speech features and enhanced example speech features. The enhanced example speech feature at least includes a fused example speech feature obtained by fusing at least two of the original example speech features.

4. The data processing method for text recitation according to claim 3, characterized in that: Before inputting the recitation voice feature into a preset model to obtain a real-time recitation text corresponding to the recitation voice feature, the method further includes: Acquire a plurality of original example speech features and an original example text feature corresponding to each of the original example speech features; Fusing at least two of the original example speech features to obtain a fused example speech feature, and determining a fused example text feature corresponding to the fused example speech feature; The pre-established initial model is trained based on the original example speech features, the original example text features, the fused example speech features and the fused example text features to obtain the preset model.

5. The data processing method for text recitation according to claim 1, characterized in that: The obtaining of the recitation behavior data of the user specifically includes: receiving recitation image data for the user sent by an image acquisition device, wherein the image acquisition device is arranged facing the face of the user; Classifying the recitation image data frame by frame to obtain original recitation behavior image data, wherein the original recitation behavior image data includes original head movement image data and original facial expression image data; The original reciting behavior image data is preprocessed to obtain the reciting behavior data of the user, wherein the preprocessing includes image denoising, image filtering and image normalization processing.

6. The data processing method for text recitation according to claim 1, characterized in that: The generating a cheating detection result based on the head movement data and the facial expression data specifically includes: Determine the coordinates of the head skeleton points of the user according to the head motion data, wherein the coordinates of the head skeleton points are located in a pre-constructed coordinate system; The coordinates of the head skeleton points are monitored for displacement to determine the real-time head movement of the user, wherein the real-time head movement is used to indicate whether the user has cheated by turning his head and / or lowering his head during recitation; A first cheating detection result is generated according to the relationship between the real-time head movement and the historical cheating head movement in a preset database.

7. The data processing method for text recitation according to claim 6, characterized in that: The generating a cheating detection result based on the head movement data and the facial expression data specifically includes: capturing at least one anchor point of the user's face when reciting according to a preset anchor point number sequence; Determine a target anchor point among the at least one anchor point whose anchor point value is greater than an anchor point threshold, and add the target anchor point to the target facial key anchor points; Finding a symmetric anchor point of the target anchor point, and if the anchor point value of the symmetric anchor point is greater than the anchor point threshold, adding the symmetric anchor point to the target facial key anchor points; Determine a target anchor point whose next anchor point value is greater than the anchor point threshold among the at least one anchor point, and perform the step of determining a target anchor point whose anchor point value is greater than the anchor point threshold among the at least one anchor point; Until the number of the target facial key anchor points reaches a preset number threshold; According to the correspondence between different target facial key anchor points and different target facial expressions, a target facial expression is obtained, wherein the target facial expression is used to indicate whether the user has cheated during recitation; A second cheating detection result is generated according to the relationship between the target facial expression and the historical cheating facial expressions in the preset database, wherein the cheating detection result includes the first cheating detection result and the second cheating detection result.

8. The data processing method for text recitation according to claim 7, characterized in that: If it is determined that the real-time recitation text is consistent with the standard text, and it is determined that the cheating detection result indicates that the user has not cheated, then determining that the user's text recitation is qualified specifically includes: If it is determined that the real-time recitation text is consistent with the standard text, and it is determined that the first cheating detection result indicates that the real-time head movement is normal, and the second cheating detection result indicates that the target facial expression is normal, then it is determined that the user text recitation is qualified.

9. A data processing device for text recitation, characterized in that: The data processing device comprises an acquisition module (31) and a processing module (32), wherein: The acquisition module (31) is used to respond to a text recitation request input by a user; The processing module (32) is used to determine the standard text according to the text recitation request; The acquisition module (31) is also used to acquire the recitation voice data of the user; The processing module (32) is further used to determine the real-time recitation text according to the recitation voice data; The acquisition module (31) is further used to acquire the recitation behavior data of the user, wherein the recitation behavior data includes the head movement data and facial expression data of the user; The processing module (32) is further used to generate a cheating detection result based on the head movement data and the facial expression data; The processing module (32) is further configured to determine that the user's text recitation is qualified if it is determined that the real-time recitation text is consistent with the standard text and it is determined that the cheating detection result indicates that the user has not cheated.

10. An electronic device, characterized in that: The electronic device comprises a processor (41), a memory (45), a user interface (43) and a network interface (44), wherein the memory (45) is used to store instructions, the user interface (43) and the network interface (44) are both used to communicate with other devices, and the processor (41) is used to execute the instructions stored in the memory (45) so that the electronic device executes the method according to any one of claims 1 to 7.