Method, device, electronic device and storage medium for generating English problem-solving video

By generating problem-solving videos, using related information and templates, and combining voice and video information, the problem of insufficient cognitive improvement in the process of answering English questions in the existing technology is solved, and a more efficient learning experience and understanding effect are achieved.

CN115035756BActive Publication Date: 2024-09-24BEIJING YOUZHUJU NETWORK TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202110251133.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-03-08
Publication Date
2024-09-24
Estimated Expiration
2041-03-08

AI Technical Summary

Technical Problem

Existing electronic products mainly rely on text explanations when answering English questions, and fail to effectively improve students' knowledge and understanding of the questions.

Method used

By generating problem-solving videos for English questions, using associated information, text templates and image templates, and combining voice and video information, an interactive learning experience is formed to enhance students' understanding and cognition.

Benefits of technology

It improves students' understanding and recognition of English topics, enhances the interactivity and participation of the learning experience, and helps students better master the problem-solving process.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115035756B
    Figure CN115035756B
Patent Text Reader

Abstract

The embodiment of the present application discloses a method, device, electronic device and storage medium for generating an English problem-solving video. The method includes: determining the associated information corresponding to the English problem to be solved according to the translation result of the English problem to be solved; obtaining the problem type of the English problem to be solved, and the text template and image template matching the problem type; adding the associated information to the text template and generating voice information, and adding the associated information to the image template to generate video information; associating the voice information with the video information to generate a problem-solving video for the English problem to be solved. By obtaining the voice information and video information corresponding to the English problem to be solved, and associating the voice information with the video information to automatically generate a problem-solving video, the problem-solving video can improve students' understanding of English problems, so as to strengthen students' cognition of English problems to be solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The disclosed embodiments relate to the field of data processing technology, and in particular to a method, device, electronic device and storage medium for generating an English problem-solving video. Background Art

[0002] Cultivating students' English problem-solving ability has gradually received attention from the domestic education community. Currently, the more common English questions involved include idiom questions or ancient poetry questions. When students solve problems on their own, they usually use electronic education products on the market to assist them in solving problems.

[0003] However, the problem-solving mode currently adopted by electronic products is mainly through text explanation, which directly tells users the corresponding English answers in text based on the questions entered by users. Although it enables users to obtain answers quickly, it does not enhance students' understanding of the current problems. Summary of the invention

[0004] The disclosed embodiments provide a method, device, electronic device and storage medium for generating English problem-solving videos, so as to realize automatic generation of problem-solving videos for English problems and enhance users' understanding of the English problems to be solved.

[0005] In a first aspect, an embodiment of the present disclosure provides a method for generating an English problem-solving video, the method comprising:

[0006] Determine the associated information corresponding to the English question to be solved according to the translation result of the English question to be solved;

[0007] Obtain the question type of the English question to be solved, as well as the text template and image template matching the question type;

[0008] Adding the associated information to the text template and generating voice information, and adding the associated information to the image template and generating video information;

[0009] The voice information is associated with the video information to generate a solution video for the English problem to be solved.

[0010] In a second aspect, the present disclosure also provides a device for generating an English problem-solving video, the device comprising:

[0011] A related information determination module, used to determine the related information corresponding to the English question to be solved according to the translation result of the English question to be solved;

[0012] A text template and image template acquisition module, used to acquire the question type of the English question to be solved, and the text template and image template matching the question type;

[0013] A voice information and video information generation module, used to add associated information to a text template and generate voice information, and to add associated information to an image template and generate video information;

[0014] The problem-solving video generation module is used to associate voice information with video information to generate a problem-solving video for the English problem to be solved.

[0015] In a third aspect, an embodiment of the present disclosure further provides an electronic device, the electronic device comprising:

[0016] one or more processors;

[0017] a storage device for storing one or more programs,

[0018] When one or more programs are executed by one or more processors, the one or more processors implement the method of any embodiment of the present disclosure.

[0019] In a fourth aspect, an embodiment of the present disclosure provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements a method as in any embodiment of the present disclosure.

[0020] In the disclosed embodiment, by obtaining voice information and video information corresponding to the English problem to be solved, and automatically generating a problem-solving video by associating the voice information and video information, the problem-solving video can improve students' understanding of the English problem, thereby strengthening students' cognition of solving the English problem. BRIEF DESCRIPTION OF THE DRAWINGS

[0021] The above and other features, advantages and aspects of the embodiments of the present disclosure will become more apparent with reference to the following detailed description in conjunction with the accompanying drawings. Throughout the accompanying drawings, the same or similar reference numerals represent the same or similar elements. It should be understood that the drawings are schematic and the originals and elements are not necessarily drawn to scale.

[0022] Figure 1 is a flow chart of a method for generating an English problem-solving video provided in the first embodiment of the present disclosure;

[0023] Figure 2 is a flow chart of a method for generating an English problem-solving video provided in Embodiment 2 of the present disclosure;

[0024] Figure 3 It is a structural schematic diagram of a device for generating an English problem-solving video provided in Embodiment 3 of the present disclosure;

[0025] Figure 4 It is a structural diagram of an electronic device provided in Embodiment 4 of the present disclosure. DETAILED DESCRIPTION

[0026] Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although certain embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be construed as being limited to the embodiments described herein, which are instead provided for a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are only for exemplary purposes and are not intended to limit the scope of protection of the present disclosure.

[0027] It should be understood that the various steps described in the method embodiments of the present disclosure may be performed in different orders and / or in parallel. In addition, the method embodiments may include additional steps and / or omit the steps shown. The scope of the present disclosure is not limited in this respect.

[0028] The term "including" and its variations used herein are open inclusions, i.e., "including but not limited to". The term "based on" means "based at least in part on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments". The relevant definitions of other terms will be given in the following description.

[0029] It should be noted that the concepts such as "first" and "second" mentioned in the present disclosure are only used to distinguish different devices, modules or units, and are not used to limit the order or interdependence of the functions performed by these devices, modules or units.

[0030] It should be noted that the modifications of "one" and "plurality" mentioned in the present disclosure are illustrative rather than restrictive, and those skilled in the art should understand that unless otherwise clearly indicated in the context, it should be understood as "one or more".

[0031] The names of the messages or information exchanged between multiple devices in the embodiments of the present disclosure are only used for illustrative purposes and are not used to limit the scope of these messages or information.

[0032] Embodiment 1

[0033] Figure 1 : is a flow chart of a method for generating an English problem-solving video provided by an embodiment of the present disclosure. This embodiment can be applied to the case where a problem-solving video is automatically generated for an English problem to be solved. The method can be executed by an automatic problem-solving video generation device provided by an embodiment of the present disclosure. The device can be implemented in software and / or hardware and can generally be integrated in a computer device. The method of the embodiment of the present disclosure specifically includes:

[0034] Optional, such as Figure 1 As shown, the method in the embodiment of the present disclosure may include the following steps:

[0035] Step S101, determining the associated information corresponding to the English question to be solved according to the translation result of the English question to be solved.

[0036] Specifically, the electronic device in this embodiment carries a camera, and can use the camera to take pictures to obtain the English questions to be solved. Therefore, the English questions to be solved can be obtained by the user based on the camera shooting; in addition, the electronic device also has a receiving unit, so the English questions to be solved can also be received through the receiving unit. The specific method of obtaining the English questions to be solved is not limited in this embodiment.

[0037] Optionally, determining the associated information corresponding to the English question to be solved based on the translation result of the English question to be solved may include: directly obtaining first information by translating the English question to be solved, wherein the first information includes the translation result of the English question to be solved and the translation result of a pre-selected answer; determining the translation result of a standard answer from the translation result of the pre-selected answer based on a neural network model, and using the translation result of the standard answer as second information; and using the first information and the second information as associated information.

[0038] Among them, after obtaining the English question to be solved, the first information is directly obtained by translating the English question to be solved, and the first information includes the translation result of the English question to be solved and the translation result of the pre-selected answer. For English multiple-choice questions, each candidate option is filled into the English question to be solved, and then the translation result of each pre-selected answer is obtained by translation; or for English fill-in-the-blank questions, the relevant words corresponding to the prompt words in different tenses are determined, and each relevant word is filled into the English question to be solved, and then the translation result of each pre-selected answer is obtained by translation. Therefore, the first information contains the Chinese meaning of the entire English question to be solved, as well as the Chinese meaning of each pre-selected answer. For example, the obtained English question to be solved is determined as follows:

[0039] -What color is your ruler? -__

[0040] A.It's a white Ba white ruler C.It's white

[0041] By directly translating the English question to be solved, the translation result of the English question to be solved is "- What color is your ruler? -__", and by filling each option into the English question to be solved and then translating, the translation results of each pre-selected answer are: the pre-selected answer corresponding to option A is translated as "- What color is your ruler? - It is white", the pre-selected answer corresponding to option B is translated as "- What color is your ruler? - A white ruler", and the pre-selected answer corresponding to option C is translated as "- What color is your ruler? - It is white".

[0042] Optionally, determining the standard answer translation result from the pre-selected answer translation results based on the neural network model may also include: inputting the pre-selected answer translation results into the neural network model respectively to obtain the output corresponding to each pre-selected answer translation result; and marking the output as a coherent pre-selected answer translation result as the standard answer translation result.

[0043] Optionally, before determining the standard answer translation result from the pre-selected answer translation results based on the neural network model, it can also include: obtaining sample data, wherein the sample data includes Chinese sentences with labels, wherein the labels include whether the sentence is fluent or not fluent; and obtaining a neural network model based on training the sample data.

[0044] Specifically, after obtaining the translation result of each pre-selected answer, the standard answer translation result will be determined from the pre-selected answer translation results obtained above based on the neural network model, and the standard answer translation result will be used as the second information. For example, the translation result of each pre-selected answer obtained is: the pre-selected answer translation result corresponding to option A is "- What color is your ruler? - It is white", the pre-selected answer translation result corresponding to option B is "- What color is your ruler? - A white ruler", and the pre-selected answer translation result corresponding to option C is "- What color is your ruler? - It is white". By inputting the above three pre-selected answer translation results into the neural network model respectively, the output mark corresponding to the pre-selected answer translation results corresponding to options A and B is obtained as an incoherent sentence, while the output mark corresponding to the pre-selected answer translation result corresponding to option C is a fluent sentence. Therefore, the pre-selected answer translation result corresponding to option C is used as the standard answer translation result.

[0045] It should be noted that before determining the standard answer translation result from the pre-selected answer translation results based on the neural network model, it is necessary to use sample data for training to obtain the neural network model. The sample data used includes Chinese sentences with labels, and the labels include whether the sentence is fluent or not fluent.

[0046] Step S102, obtaining the type of the English question to be solved, and the text template and image template matching the question type.

[0047] Optionally, the text template includes: a problem-solving sequence and a formatting language corresponding to the problem-solving sequence; adding related information to the text template and generating voice information, including: adding related information to the text template according to the problem-solving sequence to obtain a filled text template; generating voice information based on the filled text template.

[0048] Among them, the text template matched by each question type includes at least two problem-solving sequences, and the problem-solving sequence is the problem-solving steps for the English question to be solved. For example, the problem-solving sequence of the text template corresponding to the English multiple-choice question contains 4 steps: Step 1 is the description of the question type, Step 2 is the description of the question content, Step 3 is the description of the question translation result, and Step 4 is the explanation of the translation result of each pre-selected answer. The formatting language refers to the standardized language corresponding to each problem-solving sequence, and the formatting language corresponding to each problem-solving sequence for the text template matched by the same question type is the same. For example, for the text template matched by the English multiple-choice question, the formatting language corresponding to the description of the question type in step 1 of the problem-solving sequence is "Hello, I am Teacher Tom. Let me explain this English multiple-choice question to you." Of course, this embodiment is only an example, and the specific content of the formatting language is not limited.

[0049] Specifically, in this embodiment, the type of the English question to be solved can be determined by performing format recognition on the English question to be solved, and the question types include English multiple-choice questions and English fill-in-the-blank questions. And after obtaining the type of the English question to be solved, the text template and image template that match the question type can be further obtained. Since the text template and image template corresponding to each question type are set in advance, the matched text template and image template can be directly obtained when the question type is known. And the text template and image template of each question type are one-to-one corresponding, and the image template contains the dynamic scene image corresponding to each formatting language in the text template.

[0050] For example, when determining that the question type is an English multiple-choice question, the matched text template is shown in Table 1 below:

[0051] Table 1

[0052]

[0053] The text template includes formatting language, such as the formatting language corresponding to the part outside the brackets in the above text template; in addition, it also includes a problem solving sequence, such as the order of the formatting language corresponding to the above digital numbers. Of course, this embodiment only takes the phrase selection sub-question type as an example for explanation. The text template corresponding to other question types can be pre-configured as needed. The rules are roughly the same as the above text templates, and will not be repeated in this embodiment.

[0054] It should be noted that in the present embodiment, there is a one-to-one correspondence between the text template and the image template for each question type. For example, for the text template shown in Table 1, there is a corresponding dynamic scene image in the image template for each formatting language. For example, the dynamic scene image corresponding to the formatting language numbered 2 is a dynamic virtual teacher image, and a blank area is reserved in the image for adding subsequent English questions to be solved based on the obtained related information.

[0055] Step S103, adding the associated information to the text template and generating voice information, and adding the associated information to the image template and generating video information.

[0056] The duration of the voice information and the video information is the same.

[0057] Optionally, adding the associated information to the text template and generating the voice information may include: adding the associated information to the text template according to the problem-solving sequence to obtain a filled text template; and generating the voice information based on the filled text template.

[0058] Specifically, in this embodiment, after obtaining the text template, the image template, and the associated information corresponding to the English question to be solved, the associated information is added to the text template and the voice information is generated, and the associated information is also added to the image template to generate the video information. For example, after adding the acquired associated information to the text template described in Table 1 according to the problem solving sequence, the acquired filled text template is shown in Table 2 below:

[0059] Table 2

[0060]

[0061] After obtaining the filled text template, voice information can be generated based on the filled text template, specifically, the text contained in the filled text template is converted into voice according to the problem-solving sequence. Since the technical principle of text-to-speech is not the focus of this application, it will not be repeated in this embodiment.

[0062] Specifically, since each formatting language has a corresponding dynamic scene image in the image template, the associated information corresponding to each formatting language is added to the blank area of ​​the image template in the corresponding dynamic scene image, and video information is generated. For example, the dynamic scene image corresponding to the formatting language numbered 2 in the text template of Table 1 is a dynamic virtual teacher image, and the English questions to be solved are added to the blank area of ​​the dynamic virtual teacher image, and the generated voice information has the same duration as the video information, thereby achieving consistency between picture and sound.

[0063] Step S104, associating the voice information with the video information to generate a solution video for the English problem to be solved.

[0064] Specifically, after obtaining the voice information and video information, since the voice information and video information have the same duration, the voice information and video information are associated with each other, that is, the voice information and video information are merged in chronological order to generate a solution video containing sound and picture for the English problem to be solved.

[0065] In the disclosed embodiment, by obtaining voice information and video information corresponding to the English problem to be solved, and automatically generating a problem-solving video by associating the voice information and video information, the problem-solving video can improve students' understanding of the English problem, thereby strengthening students' cognition of solving the English problem.

[0066] Embodiment 2

[0067] Figure 2 It is a flow chart of the method for generating an English problem-solving video provided in the second embodiment of the present disclosure. The embodiment of the present disclosure can be combined with the optional schemes in the above embodiments. In the embodiment of the present disclosure, after associating the voice information with the video information and generating a problem-solving video for the English problem to be solved, it also includes: generating an interactive video for the English problem to be solved.

[0068] like Figure 2 As shown, the method of the embodiment of the present disclosure specifically includes:

[0069] Step S201, determining the associated information corresponding to the English question to be solved according to the translation result of the English question to be solved.

[0070] Optionally, determining the associated information corresponding to the English question to be solved based on the translation result of the English question to be solved may include: directly obtaining first information by translating the English question to be solved, wherein the first information includes the translation result of the English question to be solved and the translation result of a pre-selected answer; determining the translation result of a standard answer from the translation result of the pre-selected answer based on a neural network model, and using the translation result of the standard answer as second information; and using the first information and the second information as associated information.

[0071] Step S202, obtaining the type of the English question to be solved, and the text template and image template matching the question type.

[0072] Optionally, the text template includes: a problem-solving sequence and a formatting language corresponding to the problem-solving sequence; adding related information to the text template and generating voice information, including: adding related information to the text template according to the problem-solving sequence to obtain a filled text template; generating voice information based on the filled text template.

[0073] It should be noted that the text template in this embodiment has newly added interactive units for asking questions and making comments. For example, when the question type is determined to be an English multiple-choice question, the matched text template is shown in Table 3 below:

[0074] Table 3

[0075]

[0076]

[0077] It should be noted that in the present embodiment, there is a one-to-one correspondence between the text template and the image template for each question type. For example, for the text template shown in Table 3, there is a corresponding dynamic scene image in the image template for each formatting language. For example, the dynamic scene image corresponding to the formatting language numbered 1 is a dynamic virtual teacher image, and a blank area is reserved in the image for subsequent addition of the name of the ancient poem based on the acquired associated information.

[0078] Step S203, adding the associated information to the text template and generating voice information, and adding the associated information to the image template and generating video information.

[0079] Optionally, adding the associated information to the text template and generating the voice information may include: adding the associated information to the text template according to the problem-solving sequence to obtain a filled text template; and generating the voice information based on the filled text template.

[0080] Among them, this embodiment adds interactive units for asking questions and making comments to the text template. For example, after adding the obtained related information to the text template described in Table 3 according to the problem-solving sequence, the obtained filled text template is shown in Table 4 below:

[0081] Table 4

[0082]

[0083]

[0084] It should be noted that after obtaining the filled text template, voice information can be generated based on the filled text template without the interactive units for asking questions and making comments. For example, for Table 4, the explanation content of steps 1 to 4 is converted into voice. Since there is a corresponding dynamic scene image in the image template for each formatting language, the associated information corresponding to each formatting language in steps 1 to 4 is added to the blank area of ​​the image template in the corresponding dynamic scene image, and video information is generated.

[0085] Step S204, associating the voice information with the video information to generate a solution video for the English problem to be solved.

[0086] It should be noted that after obtaining the voice information and video information, since the voice information and video information have the same duration, the voice information and video information are associated with each other, that is, the voice information and video information are merged in chronological order to generate an explanation video containing sound and pictures for the English questions to be solved.

[0087] Step S205, generating an interactive video for the English question to be solved.

[0088] Optionally, the question type includes English multiple-choice questions, and generating an interactive video for the English question to be solved includes: generating a first question sub-video for requesting a selection for the English question to be solved; generating a first comment sub-video of an answer result based on received user options; and using the first question sub-video and the first comment sub-video as interactive videos.

[0089] Optionally, the question types include English fill-in-the-blank questions, and generating an interactive video for the English questions to be solved includes: generating a second question sub-video for the English questions to be solved, requesting to fill in the blanks according to prompt words; generating a second comment sub-video of the answer result according to the received user-filled content; and using the second question sub-video and the second comment sub-video as the interactive video.

[0090] For example, when it is determined that the question type includes English multiple-choice questions, after the user has watched the generated explanation video, he needs to consolidate the learning content. At this time, he will click the knowledge consolidation button on the human-computer interaction interface. When the electronic device determines that it has received the user's interactive trigger instruction, it will generate a first question sub-video for requesting selection for the English multiple-choice question. After receiving the user's selection operation, the first comment sub-video of the answer result will be generated based on the comparison between the received user options and the standard answer translation results, and the first question sub-video and the first comment sub-video will be used as interactive videos. Therefore, in this embodiment, by generating interactive videos, the user's sense of participation can be increased, and the understanding and cognition of the English questions to be solved can be further consolidated.

[0091] It should be noted that in this embodiment, multiple function buttons can be added to the problem-solving video interface, for example, a key grammar point explanation button, an example sentence expansion button, and a similar question button, and each function button corresponds to a different existing video in the database, and each existing video corresponding to a function button is related to the English question corresponding to the current problem-solving video. If the user wants to conduct extended learning of the knowledge points related to the English question to be solved, the electronic device can click on the relevant function button. After obtaining the user's selection instruction for the relevant function button, it will obtain the corresponding existing video from the database and play it, and will switch back to the problem-solving video interface after the existing video is played.

[0092] In the disclosed embodiment, by acquiring the voice information and video information corresponding to the English problem to be solved, and automatically generating a problem-solving video by associating the voice information and the video information, the problem-solving video can improve students' understanding of the English problem to be solved, so as to strengthen students' cognition of the English problem to be solved. In addition, by generating an interactive video, the user's sense of participation can be increased, further consolidating the understanding and cognition of the English problem to be solved.

[0093] Embodiment 3

[0094] Figure 3 is a schematic diagram of the structure of the device for generating English problem-solving videos provided in the third embodiment of the present disclosure. The device can be implemented in software and / or hardware, and can generally be integrated in an electronic device that executes the method. Figure 3 As shown, the device may include:

[0095] The associated information determination module 301 is used to determine the associated information corresponding to the English question to be solved according to the translation result of the English question to be solved;

[0096] The text template and image template acquisition module 302 is used to acquire the type of the English question to be solved, and the text template and image template matching the type of the question;

[0097] A voice information and video information generating module 303, used to add the associated information to the text template and generate voice information, and to add the associated information to the image template and generate video information;

[0098] The problem-solving video generation module 304 is used to associate the voice information with the video information to generate a problem-solving video for the English problem to be solved.

[0099] In the disclosed embodiment, by obtaining voice information and video information corresponding to the English problem to be solved, and automatically generating a problem-solving video by associating the voice information and video information, the problem-solving video can improve students' understanding of the English problem, thereby strengthening students' cognition of solving the English problem.

[0100] Optionally, based on the above technical solution, the associated information determination module includes:

[0101] A first information acquisition module is used to directly acquire first information by translating the English question to be solved, wherein the first information includes a translation result of the English question to be solved and a translation result of a pre-selected answer;

[0102] A second information acquisition module is used to determine a standard answer translation result from the pre-selected answer translation results based on a neural network model, and use the standard answer translation result as the second information;

[0103] The first information and the second information are regarded as associated information.

[0104] Optionally, based on the above technical solution, a second information acquisition module is used to input the translation results of the pre-selected answers into the neural network model respectively to obtain the output corresponding to each translation result of the pre-selected answer;

[0105] The translation result of the pre-selected answer marked as fluent in the sentence is output as the standard answer translation result.

[0106] Optionally, based on the above technical solution, the device further includes a model training module for: acquiring sample data, wherein the sample data includes Chinese sentences with labels, wherein the labels include whether the sentence is fluent or not fluent;

[0107] The neural network model is trained based on sample data.

[0108] Optionally, based on the above technical solution, the question types include English multiple-choice questions and English fill-in-the-blank questions.

[0109] Optionally, based on the above technical solution, the text template includes: a problem-solving sequence and a formatting language corresponding to the problem-solving sequence;

[0110] The voice information and video information generation module is used to add the related information to the text template according to the problem-solving sequence to obtain the filled text template;

[0111] Generate voice information based on the filled text template.

[0112] Optionally, based on the above technical solution, the device also includes an interactive video generation module for generating interactive videos for the English questions to be solved.

[0113] Optionally, based on the above technical solution, an interactive video generation module is used to generate a first question sub-video for selection in response to a request for generating an English question to be solved; generate a first comment sub-video of an answer result based on received user options; and use the first question sub-video and the first comment sub-video as interactive videos.

[0114] Optionally, based on the above technical solution, an interactive video generation module is used to generate a second question sub-video for the English question to be solved, which is filled in according to the prompt words; generate a second comment sub-video of the answer result according to the received user-filled content; and use the second question sub-video and the second comment sub-video as interactive videos.

[0115] The device for generating English problem-solving videos provided in the embodiment of the present disclosure belongs to the same concept as the method for generating English problem-solving videos provided in the above-mentioned embodiments. The technical details not fully described in the embodiment of the present disclosure can be referred to the above-mentioned embodiments, and the embodiment of the present disclosure has the same beneficial effects as the above-mentioned embodiments.

[0116] Embodiment 4

[0117] Reference below Figure 4 , which shows a schematic diagram of the structure of an electronic device 400 suitable for implementing the embodiment of the present disclosure. The electronic device in the embodiment of the present disclosure may be a device corresponding to the backend service platform of the application, or may be a mobile terminal device installed with an application client. Specifically, the electronic device may include but is not limited to mobile terminals such as mobile phones, laptop computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), vehicle-mounted terminals (such as vehicle-mounted navigation terminals), etc., and fixed terminals such as digital TVs, desktop computers, etc. Figure 4 The electronic device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present disclosure.

[0118] like Figure 4 As shown, the electronic device 400 may include a processing device (e.g., a central processing unit, a graphics processing unit, etc.) 401, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 402 or a program loaded from a storage device 408 into a random access memory (RAM) 403. In the RAM 403, various programs and data required for the operation of the electronic device 400 are also stored. The processing device 401, the ROM 402, and the RAM 403 are connected to each other via a bus 404. An input / output (I / O) interface 405 is also connected to the bus 404.

[0119] Typically, the following devices may be connected to the I / O interface 405: an input device 406 including, for example, a touch screen, a touch pad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, etc.; an output device 407 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; a storage device 408 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 409. The communication device 409 may allow the electronic device 400 to communicate with other devices wirelessly or by wire to exchange data. Although Figure 4 The electronic device 400 is shown with various devices, but it should be understood that it is not required to implement or possess all the devices shown. More or fewer devices may be implemented or possessed instead.

[0120] In particular, according to an embodiment of the present disclosure, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present disclosure includes a computer program product, which includes a computer program carried on a non-transitory computer-readable medium, and the computer program contains program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from the network through the communication device 409, or installed from the storage device 408, or installed from the ROM 402. When the computer program is executed by the processing device 401, the above-mentioned functions defined in the method of the embodiment of the present disclosure are executed.

[0121] It should be noted that the computer-readable medium disclosed above may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present disclosure, a computer-readable storage medium may be any tangible medium containing or storing a program that may be used by or in combination with an instruction execution system, device or device. In the present disclosure, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, in which a computer-readable program code is carried. This propagated data signal may take a variety of forms, including but not limited to an electromagnetic signal, an optical signal, or any suitable combination of the above. The computer readable signal medium may also be any computer readable medium other than a computer readable storage medium, which may send, propagate or transmit a program for use by or in conjunction with an instruction execution system, apparatus or device. The program code contained on the computer readable medium may be transmitted using any suitable medium, including but not limited to: wires, optical cables, RF (radio frequency), etc., or any suitable combination of the above.

[0122] In some embodiments, the client and the server may communicate using any currently known or future developed network protocol such as HTTP (HyperText Transfer Protocol), and may be interconnected with any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), an internet (e.g., the Internet), and a peer-to-peer network (e.g., an ad hoc peer-to-peer network), as well as any currently known or future developed network.

[0123] The computer-readable medium may be included in the electronic device, or may exist independently without being incorporated into the electronic device.

[0124] The computer-readable medium carries one or more programs. When the one or more programs are executed by the electronic device, the internal process of the electronic device is executed: determining the associated information corresponding to the English question to be solved based on the translation result of the English question to be solved; obtaining the question type of the English question to be solved, and the text template and image template matching the question type; adding the associated information to the text template and generating voice information, and adding the associated information to the image template to generate video information; associating the voice information with the video information, and generating a solution video for the English question to be solved.

[0125] Computer program code for performing the operations of the present disclosure may be written in one or more programming languages ​​or combinations thereof, including, but not limited to, object-oriented programming languages ​​such as Java, Smalltalk, C++, and conventional procedural programming languages ​​such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving a remote computer, the remote computer may be connected to the user's computer via any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet service provider).

[0126] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present disclosure. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some implementations as replacements, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0127] The units involved in the embodiments described in the present disclosure may be implemented by software or hardware, wherein the name of a unit does not, in some cases, limit the unit itself.

[0128] The functions described above herein may be performed at least in part by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), complex programmable logic devices (CPLDs), and the like.

[0129] In the context of the present disclosure, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or equipment. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or equipment, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0130] According to one or more embodiments of the present disclosure, [Example 1] provides a method for generating an English problem-solving video, including:

[0131] Determine, according to the translation result of the English question to be solved, the associated information corresponding to the English question to be solved;

[0132] Obtaining the type of the English question to be solved, and the text template and image template matching the question type;

[0133] Adding the associated information to the text template to generate voice information, and adding the associated information to the image template to generate video information;

[0134] The voice information is associated with the video information to generate a solution video for the English problem to be solved.

[0135] According to one or more embodiments of the present disclosure, [Example 2] provides the method of Example 1, further comprising:

[0136] Translating the English question to be solved directly to obtain first information, wherein the first information includes a translation result of the English question to be solved and a translation result of the pre-selected answer;

[0137] Determine a standard answer translation result from the pre-selected answer translation result based on a neural network model, and use the standard answer translation result as the second information;

[0138] The first information and the second information are used as the associated information.

[0139] According to one or more embodiments of the present disclosure, [Example 3] provides the method of Example 2, further comprising:

[0140] Inputting the translation results of the pre-selected answers into the neural network model respectively to obtain the output corresponding to each translation result of the pre-selected answer;

[0141] The translation result of the pre-selected answer marked as fluent in sentence is output as the translation result of the standard answer.

[0142] According to one or more embodiments of the present disclosure, [Example 4] provides the method of Example 2, further comprising: obtaining sample data, wherein the sample data includes Chinese sentences with labels added, wherein the labels include whether the sentence is fluent or not fluent;

[0143] The neural network model is obtained by training based on the sample data.

[0144] According to one or more embodiments of the present disclosure, [Example 5] provides the method of Example 1, wherein the question types include English multiple-choice questions and English fill-in-the-blank questions.

[0145] According to one or more embodiments of the present disclosure, [Example 6] provides the method of Example 5, wherein the text template includes: a problem-solving sequence and a formatting language corresponding to the problem-solving sequence;

[0146] The step of adding the associated information to the text template and generating voice information comprises:

[0147] Adding the associated information to the text template according to the problem-solving sequence to obtain a filled text template;

[0148] The voice information is generated based on the filled text template.

[0149] According to one or more embodiments of the present disclosure, [Example 7] provides the method described in Example 6, which further includes: generating an interactive video for the English question to be solved.

[0150] According to one or more embodiments of the present disclosure, [Example 8] provides the method described in Example 7, further comprising:

[0151] A first question sub-video is generated for selecting a request for the English question to be solved;

[0152] Generate a first comment sub-video of the answer result according to the received user options;

[0153] The first question sub-video and the first comment sub-video are used as the interactive video.

[0154] According to one or more embodiments of the present disclosure, [Example 9] provides the method described in Example 7, further comprising:

[0155] Generate a second question sub-video for the English question to be solved and request to be filled in according to the prompt word;

[0156] Generate a second comment sub-video of the answer result according to the received user-filled content;

[0157] The second question sub-video and the second comment sub-video are used as the interactive video.

[0158] According to one or more embodiments of the present disclosure, [Example 10] provides a device for generating an English problem-solving video, including:

[0159] A related information determination module, used to determine the related information corresponding to the English question to be solved according to the translation result of the English question to be solved;

[0160] A text template and image template acquisition module, used to acquire the type of the English question to be solved, and the text template and image template matching the question type;

[0161] A voice information and video information generating module, used for adding the associated information to the text template and generating voice information, and adding the associated information to the image template and generating video information;

[0162] The problem-solving video generation module is used to associate the voice information with the video information to generate a problem-solving video for the English problem to be solved.

[0163] According to one or more embodiments of the present disclosure, [Example 11] provides the apparatus described in Example 10, wherein the association information determination module includes:

[0164] A first information acquisition module, used to directly acquire first information by translating the English question to be solved, wherein the first information includes a translation result of the English question to be solved and a translation result of a pre-selected answer;

[0165] A second information acquisition module, configured to determine a standard answer translation result from the pre-selected answer translation result based on a neural network model, and use the standard answer translation result as the second information;

[0166] The first information and the second information are used as the associated information.

[0167] According to one or more embodiments of the present disclosure, [Example 12] provides the device described in Example 11, wherein the second information acquisition module is used to input the pre-selected answer translation results into the neural network model respectively to obtain the output corresponding to each pre-selected answer translation result;

[0168] The translation result of the pre-selected answer marked as fluent in sentence is output as the translation result of the standard answer.

[0169] According to one or more embodiments of the present disclosure, [Example 13] provides the apparatus described in Example 11, further comprising a model training module for: obtaining sample data, wherein the sample data includes Chinese sentences with labels added, wherein the labels include whether the sentence is fluent or not fluent;

[0170] The neural network model is obtained by training based on the sample data.

[0171] According to one or more embodiments of the present disclosure, [Example 14] provides the device described in Example 10, wherein the question types include English multiple-choice questions and English fill-in-the-blank questions.

[0172] According to one or more embodiments of the present disclosure, [Example 15] provides the apparatus described in Example 14, wherein the text template includes: a problem-solving sequence and a formatting language corresponding to the problem-solving sequence;

[0173] The voice information and video information generating module is used to add the associated information to the text template according to the problem-solving sequence to obtain a filled text template;

[0174] The voice information is generated based on the filled text template.

[0175] According to one or more embodiments of the present disclosure, [Example 16] provides the device described in Example 15, which also includes an interactive video generation module for generating an interactive video for the English question to be solved.

[0176] According to one or more embodiments of the present disclosure, [Example 17] provides the apparatus described in Example 16, wherein the interactive video generation module is used to generate a first question sub-video for selecting a request for the English question to be solved;

[0177] Generate a first comment sub-video of the answer result according to the received user options;

[0178] The first question sub-video and the first comment sub-video are used as the interactive video.

[0179] According to one or more embodiments of the present disclosure, [Example 18] provides the apparatus described in Example 16, wherein the interactive video generation module is used to generate a second question sub-video for the English question to be solved, requesting to be filled in according to the prompt word;

[0180] Generate a second comment sub-video of the answer result according to the received user-filled content;

[0181] The second question sub-video and the second comment sub-video are used as the interactive video.

[0182] According to one or more embodiments of the present disclosure, [Example 19] provides an electronic device, comprising a memory, a processing device, and a computer program stored in the memory and executable on the processing device, wherein the processing device implements a method as described in any one of Examples 1-9 when executing the program.

[0183] According to one or more embodiments of the present disclosure, [Example 20] provides a storage medium containing computer-executable instructions, which are used to execute any of the methods described in Examples 1-9 when executed by a computer processor.

[0184] The above description is only a preferred embodiment of the present disclosure and an explanation of the technical principles used. Those skilled in the art should understand that the scope of disclosure involved in the present disclosure is not limited to the technical solutions formed by a specific combination of the above technical features, but should also cover other technical solutions formed by any combination of the above technical features or their equivalent features without departing from the above disclosed concept. For example, the above features are replaced with the technical features with similar functions disclosed in the present disclosure (but not limited to) by each other to form a technical solution.

[0185] In addition, although each operation is described in a specific order, this should not be understood as requiring these operations to be performed in the specific order shown or in a sequential order. Under certain circumstances, multitasking and parallel processing may be advantageous. Similarly, although some specific implementation details are included in the above discussion, these should not be interpreted as limiting the scope of the present disclosure. Some features described in the context of a separate embodiment can also be implemented in a single embodiment in combination. On the contrary, the various features described in the context of a single embodiment can also be implemented in multiple embodiments individually or in any suitable sub-combination mode.

[0186] Although the subject matter has been described in language specific to structural features and / or methodological logical actions, it should be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or actions described above. On the contrary, the specific features and actions described above are merely example forms of implementing the claims.

Claims

1. A method for generating an English problem-solving video, characterized in that: include: Determine, according to the translation result of the English question to be solved, the associated information corresponding to the English question to be solved; Obtain the type of the English question to be solved, and the text template and image template matching the question type; each text template and image template of the question type correspond to each other; the text template contains a solution sequence and a formatting language corresponding to the solution sequence; the image template contains a dynamic scene image corresponding to each formatting language in the text template; the question types include English multiple-choice questions and English fill-in-the-blank questions; Adding the associated information to the text template to generate voice information, and adding the associated information to the image template to generate video information; Associating the voice information with the video information to generate a video for solving the English problem to be solved; The step of determining the associated information corresponding to the English question to be solved according to the translation result of the English question to be solved includes: Translating the English question to be solved directly to obtain first information, wherein the first information includes a translation result of the English question to be solved and a translation result of the pre-selected answer; Determine a standard answer translation result from the pre-selected answer translation result based on a neural network model, and use the standard answer translation result as the second information; taking the first information and the second information as the associated information; Determining the standard answer translation result from the pre-selected answer translation result based on the neural network model includes: Inputting the translation results of the pre-selected answers into the neural network model respectively to obtain the output corresponding to each translation result of the pre-selected answer; Outputting the translation result of the pre-selected answer marked as fluent in sentence as the translation result of the standard answer; The step of adding the associated information to the image template to generate video information comprises: Adding the associated information corresponding to each formatting language in the text template to a blank area of ​​the image template in the corresponding dynamic scene image, and generating video information; After associating the voice information with the video information to generate a video for solving the English problem to be solved, the method further includes: Generate an interactive video for the English problem to be solved; The question type includes an English fill-in-the-blank question, and generating an interactive video for the English question to be solved includes: Generate a second question sub-video for the English question to be solved and request to be filled in according to the prompt word; Generate a second comment sub-video of the answer result according to the received user-filled content; Using the second question sub-video and the second comment sub-video as the interactive video; The interface of the problem-solving video has function buttons, and the function buttons correspond to existing videos in the database, and the existing videos are associated with the English problem to be solved.

2. The method according to claim 1, characterized in that Before determining the standard answer translation result from the pre-selected answer translation result based on the neural network model, the method further includes: Acquire sample data, wherein the sample data includes Chinese sentences with labels, wherein the labels include whether the sentence is fluent or not fluent; The neural network model is obtained by training based on the sample data.

3. The method according to claim 1, characterized in that The step of adding the associated information to the text template and generating voice information comprises: Adding the associated information to the text template according to the problem-solving sequence to obtain a filled text template; The voice information is generated based on the filled text template.

4. The method according to claim 1, characterized in that The question type includes an English multiple-choice question, and generating an interactive video for the English question to be solved includes: A first question sub-video is generated for selecting a request for the English question to be solved; Generate a first comment sub-video of the answer result according to the received user options; The first question sub-video and the first comment sub-video are used as the interactive video.

5. A device for generating an English problem-solving video, characterized in that: include: A related information determination module, used to determine the related information corresponding to the English question to be solved according to the translation result of the English question to be solved; The associated information determination module includes: A first information acquisition module, used to directly acquire first information by translating the English question to be solved, wherein the first information includes a translation result of the English question to be solved and a translation result of a pre-selected answer; A second information acquisition module is used to determine a standard answer translation result from the pre-selected answer translation results based on a neural network model, and use the standard answer translation result as the second information; taking the first information and the second information as associated information; The second information acquisition module is specifically used to input the translation results of the pre-selected answers into the neural network model respectively, and obtain the output corresponding to each translation result of the pre-selected answer; Output the translation result of the pre-selected answer marked as fluent as the standard answer translation result; The text template and image template acquisition module is used to acquire the question type of the English question to be solved, and the text template and image template matching the question type; the text template and image template of each question type correspond to each other; the text template contains a solution sequence and a formatting language corresponding to the solution sequence; the image template contains a dynamic scene image corresponding to each formatting language in the text template; the question types include English multiple-choice questions and English fill-in-the-blank questions; A voice information and video information generating module, used for adding the associated information to the text template and generating voice information, and adding the associated information to the image template and generating video information; The voice information and video information generation module is specifically used for: Adding the associated information corresponding to each formatting language in the text template to a blank area of ​​the image template in the corresponding dynamic scene image, and generating video information; A problem-solving video generation module, used to associate the voice information with the video information to generate a problem-solving video for the English problem to be solved; An interactive video generation module is used to generate interactive videos for English questions to be solved; The interactive video generation module is specifically used for: The question types include English fill-in-the-blank questions, generating a second question sub-video for filling in the blanks according to the prompt words for the English question to be solved; generating a second comment sub-video of the answer result according to the received user-filled content; and using the second question sub-video and the second comment sub-video as interactive videos; The interface of the problem-solving video has function buttons, and the function buttons correspond to existing videos in the database, and the existing videos are associated with the English problem to be solved.

6. An electronic device, characterized in that: The electronic device comprises: one or more processors; a storage device for storing one or more programs, When the one or more programs are executed by the one or more processors, the one or more processors implement the method according to any one of claims 1 to 4.

7. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the method according to any one of claims 1 to 4 is implemented.