Classroom activity courseware production method and device, storage medium and electronic equipment
Patent Information
- Application Number
- CN202111288246.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-11-02
- Publication Date
- 2026-10-16
- Estimated Expiration
- 2041-11-02
AI Technical Summary
[0003]为实现互动性和趣味性,课堂活动课件通常需要设置多个操作区域;一些技术中,在制作课堂活动课件时,需要教师手动逐个地编辑课堂活动课件的各个操作区域的内容;例如在制作选词填空的课堂活动课件时,需要教师复制题目文本后,手动逐个挖空空格,并在空格上填写正确答案,上述方式操作复杂,操作成本高,课件制作效率低
[0019] This embodiment of the application, in response to a trigger operation to create classroom activity courseware on a classroom activity courseware creation platform, displays a courseware creation page and obtains a target courseware type identifier; obtains the question text content entered on the courseware creation page; obtains a corresponding target structured parsing strategy based on the target courseware type identifier; parses the question text content according to the target structured parsing strategy to obtain structured classroom activity text content; and generates classroom activity courseware based on the structured classroom activity text content. Teachers do not need to manually edit the content of each operation area of the classroom activity one by one; they only need to enter the question text content to automatically generate classroom activity courseware. The operation is simple and convenient, reducing courseware creation costs and improving courseware creation efficiency.
Smart Images

Figure CN116069850B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of courseware production, and in particular to a method, apparatus, storage medium, and electronic device for producing classroom activity courseware. Background Technology
[0002] Questions play a crucial role in assessing teaching outcomes and reinforcing learning effectiveness during the teaching process. In traditional teaching, teachers typically present questions using PowerPoint slides; however, PowerPoint slides are often too simplistic, lacking interactivity and engagement. Interactive classroom activities, as an interactive teaching method, have gained widespread application due to their strong interactivity and engaging nature.
[0003] To achieve interactivity and engagement, classroom activity courseware typically requires multiple operation areas. In some technologies, when creating classroom activity courseware, teachers need to manually edit the content of each operation area one by one. For example, when creating a fill-in-the-blank classroom activity courseware, teachers need to copy the question text, manually cut out the blanks one by one, and fill in the correct answers in the blanks. The above methods are complex, costly, and inefficient in courseware production. Summary of the Invention
[0004] To overcome the problems existing in the related technologies, this application provides a method, apparatus, storage and electronic equipment for creating classroom activity courseware, which can reduce the cost of courseware production and improve the efficiency of courseware production.
[0005] According to a first aspect of the embodiments of this application, a method for creating classroom activity courseware is provided, comprising the following steps:
[0006] On the classroom activity courseware creation platform, in response to the trigger operation of creating classroom activity courseware, the courseware creation page is displayed, and the target courseware type identifier is obtained;
[0007] Retrieve the title text content entered on the courseware creation page;
[0008] Based on the target courseware type identifier, the corresponding target structured parsing strategy is obtained;
[0009] Based on the target structured parsing strategy, the question text content is parsed to obtain structured classroom activity text content;
[0010] Based on the structured text content of the classroom activities, generate classroom activity courseware.
[0011] According to a second aspect of the embodiments of this application, a classroom activity courseware production device is provided, comprising:
[0012] The page display module is used on the classroom activity courseware production platform to display the courseware production page in response to the trigger operation of creating classroom activity courseware, and to obtain the target courseware type identifier;
[0013] The title text content acquisition module is used to acquire the title text content entered on the courseware creation page;
[0014] The parsing strategy acquisition module is used to obtain the corresponding target structured parsing strategy based on the target courseware type identifier;
[0015] The structured parsing module is used to parse the question text content according to the target structured parsing strategy to obtain structured classroom activity text content;
[0016] The classroom activity courseware generation module is used to generate classroom activity courseware based on the structured classroom activity text content.
[0017] According to a third aspect of the embodiments of this application, an electronic device is provided, including a processor and a memory; the memory stores a computer program adapted to be loaded by the processor and executed as described above in the method for creating classroom activity courseware.
[0018] According to a fourth aspect of the embodiments of this application, a computer-readable storage medium is provided, on which a computer program is stored, characterized in that, when the computer program is executed by a processor, it implements the classroom activity courseware production method as described above.
[0019] This embodiment of the application, in response to a trigger operation to create classroom activity courseware on a classroom activity courseware creation platform, displays a courseware creation page and obtains a target courseware type identifier; obtains the question text content entered on the courseware creation page; obtains a corresponding target structured parsing strategy based on the target courseware type identifier; parses the question text content according to the target structured parsing strategy to obtain structured classroom activity text content; and generates classroom activity courseware based on the structured classroom activity text content. Teachers do not need to manually edit the content of each operation area of the classroom activity one by one; they only need to enter the question text content to automatically generate classroom activity courseware. The operation is simple and convenient, reducing courseware creation costs and improving courseware creation efficiency.
[0020] It should be understood that the above general description and the following detailed description are exemplary and explanatory only, and do not limit this application.
[0021] To better understand and implement this invention, the following detailed description is provided in conjunction with the accompanying drawings. Attached Figure Description
[0022] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0023] Figure 1 This is a display effect diagram of a PPT page shown in one embodiment of this application;
[0024] Figure 2 This is a display effect diagram of classroom activity courseware shown in one embodiment of this application;
[0025] Figure 3 A diagram illustrating the creation of fill-in-the-blank exercises for classroom activities using certain technologies;
[0026] Figure 4 To create diagrams for multiple-choice questions in classroom activities using certain technologies;
[0027] Figure 5 A flowchart illustrating a method for creating classroom activity courseware according to one embodiment of this application;
[0028] Figure 6 A flowchart illustrating a method for obtaining structured title text content according to an embodiment of this application;
[0029] Figure 7 This is a schematic diagram illustrating the text content of the question entered on the courseware creation page when creating a fill-in-the-blank question, as shown in one embodiment of this application.
[0030] Figure 8 According to Figure 7 The diagram shows the structured classroom activity text generated from the question text.
[0031] Figure 9 According to Figure 8 The diagram shows a classroom activity presentation generated from structured classroom activity text content.
[0032] Figure 10 This is a schematic diagram illustrating the text content of the question entered on the courseware creation page when creating a vocabulary selection question, as an embodiment of this application;
[0033] Figure 11 According to Figure 10 The diagram shows the structured classroom activity text generated from the question text.
[0034] Figure 12 This is a schematic block diagram illustrating the structure of a classroom activity courseware production device according to one embodiment of this application;
[0035] Figure 13 This is a schematic diagram of the structure of an electronic device according to one embodiment of this application. Detailed Implementation
[0036] To make the objectives, technical solutions, and advantages of this application clearer, the embodiments of this application will be described in further detail below with reference to the accompanying drawings.
[0037] It should be understood that the described embodiments are merely some, not all, of the embodiments of this application. All other embodiments obtained by those skilled in the art based on the embodiments of this application without creative effort are within the scope of protection of the embodiments of this application.
[0038] In the following description, when referring to the accompanying drawings, unless otherwise indicated, the same numbers in the various drawings represent the same or similar elements. In the description of this application, it should be understood that the terms “first,” “second,” “third,” etc., are used only to distinguish similar objects and are not necessarily used to describe a specific order or sequence, nor should they be construed as indicating or implying relative importance. Those skilled in the art can understand the specific meaning of the above terms in this application according to the specific circumstances. The singular forms “a,” “the,” and “the” used in this application and the appended claims are also intended to include the plural forms, unless the context clearly indicates otherwise. The word “if” / “suppose” as used herein can be interpreted as “when,” “when,” or “in response to a determination.”
[0039] Furthermore, in the description of this application, unless otherwise stated, "multiple" means two or more. "And / or" describes the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A alone, A and B simultaneously, or B alone. The character " / " generally indicates that the preceding and following related objects have an "or" relationship.
[0040] To better understand the technical solution of this application, some related technologies are explained below:
[0041] Questions play a crucial role in the teaching process, serving to assess learning outcomes and reinforce learning effectiveness. In traditional teaching, teachers typically present these questions using PowerPoint slides. For example... Figure 1 As shown, the lesson utilizes fill-in-the-blank questions in a PowerPoint presentation, where students fill in the blanks with nouns. However, the PowerPoint presentation is too simplistic, lacks interactivity, and is not engaging.
[0042] Interactive classroom activities, as an interactive teaching method, have been widely used due to their strong interactivity and engaging nature. For example... Figure 2 As shown, taking the fill-in-the-blank classroom activity courseware as an example, teachers can drag the words below to the corresponding blanks based on the students' answers. Regardless of whether the word dragged to the blank is correct or incorrect, a prompt will pop up, thereby increasing the interactivity and fun of the teaching.
[0043] To achieve interactivity and engagement, classroom activity presentation materials typically need to include multiple interactive areas; in some technologies, teachers need to manually edit the content of each interactive area when creating classroom activity presentation materials. For example... Figure 3 As shown, when creating a fill-in-the-blank classroom activity presentation, after the teacher enters the question text on the presentation creation page, they still need to manually click the fill-in-the-blank controls one by one to fill in the blanks and fill in the correct answers in the blanks before finally generating the presentation. Figure 2 The effect shown. (As shown) Figure 4 As shown, when creating classroom activity courseware for multiple-choice questions, teachers need to input the question stem and options in the question stem area and option area respectively on the courseware creation page. Moreover, after completing the creation of each multiple-choice question, it is necessary to click the control to add a question and then input the question stem and options in the new question stem area and option area respectively. The operation is complicated, the operation cost is high, and the production efficiency is low.
[0044] To better understand the technical solution of this application, the application environment of this application will be described below:
[0045] The application environment of the classroom activity courseware production method in this application embodiment includes a classroom activity courseware production terminal. The hardware pointed to by the classroom activity courseware production terminal can be, in essence, a computer device with equivalent capabilities to a personal computer, possessing a central processing unit (including an arithmetic logic unit and a control unit), memory, input devices, and output devices—hardware devices with the necessary components revealed by the von Neumann architecture. The computer program is stored in its memory, and the central processing unit loads the program stored in secondary storage into memory for execution, executing the instructions in the program and interacting with the input / output devices to complete specific functions. Optionally, the classroom activity courseware production terminal can be any terminal device such as a mobile phone, tablet computer, PDA (Personal Digital Assistant), or smart TV; this application does not limit this. In this application embodiment, the classroom activity courseware production terminal is an interactive flat panel.
[0046] The classroom activity courseware creation terminal may have at least one type of operating system installed, including but not limited to Android, Linux, and Windows. The terminal may also have at least one application installed, which may be a built-in application of the operating system or an application downloaded from a third-party device or server. In this implementation, the terminal has a whiteboard application installed; the classroom activity courseware of this application can be created using the whiteboard application.
[0047] Example 1
[0048] The following will be combined with the appendix Figures 5 to 11 This application provides a detailed description of the method for creating classroom activity courseware provided in its embodiments.
[0049] Please see Figure 5 The classroom activity courseware production method provided in this application includes the following steps:
[0050] Step S101: On the classroom activity courseware production platform, in response to the trigger operation of producing classroom activity courseware, the courseware production page is displayed, and the target courseware type identifier is obtained.
[0051] The classroom activity courseware creation platform can be any element used to create the classroom activity courseware of this application, such as a system, an application, a plugin, or a page; in this embodiment, the classroom activity courseware creation platform is a whiteboard application. The device on which the classroom activity courseware creation platform is located is a classroom activity courseware creation terminal, which can be a mobile phone, tablet, computer, or other devices; in this embodiment, the classroom activity courseware creation terminal is an interactive flat panel.
[0052] The classroom activity courseware creation platform displays multiple courseware type creation controls, such as: vocabulary fill-in-the-blank classroom activity creation controls, true / false classroom activity creation controls, multiple choice classroom activity creation controls, and fun classification classroom activity creation controls. Users can trigger the creation of classroom activity courseware by clicking on one of the creation controls.
[0053] The courseware type identifier is used to uniquely indicate the type of courseware created. It is any character that the classroom activity creation platform can uniquely identify the courseware type. For example, 0 can be set for a fill-in-the-blank classroom activity, 1 for a true / false classroom activity, 2 for a multiple-choice classroom activity, etc. Each courseware type creation control is associated with its own courseware type identifier. When a user clicks on one of the creation controls, the creation of the classroom activity courseware is triggered, and at the same time, the target courseware type identifier corresponding to that creation control is obtained.
[0054] The classroom activity courseware creation page may include a question text input area where users can enter question text content. Optionally, the classroom activity courseware creation page may also include a recognition control that, when triggered by the user, performs structured parsing of the question text content.
[0055] Step S102: Obtain the title text content entered on the courseware creation page.
[0056] The title text can be text entered by the user using a writing tool such as a keyboard, mouse, or stylus. The title text can also be text copied and pasted by the user, such as content copied and pasted from a PowerPoint presentation. The title text can also be image content, such as an image taken from a PowerPoint presentation. This application does not impose any restrictions on this.
[0057] Step S103: Obtain the corresponding target structured parsing strategy based on the target courseware type identifier.
[0058] Different types of classroom activity questions have different structures, and therefore, the corresponding structured analysis strategies will also differ.
[0059] In this embodiment, the classroom activity courseware production platform stores several classroom activity courseware type identifiers and corresponding structured parsing strategies for each of the classroom activity courseware type identifiers. Step S103, which involves obtaining the corresponding target structured parsing strategy based on the target courseware type identifier, includes: querying the classroom activity courseware production platform based on the target courseware type identifier to obtain the target structured parsing strategy corresponding to the target classroom activity courseware type identifier. By storing the structured parsing strategies corresponding to each classroom activity courseware type identifier, the corresponding target structured parsing strategy can be quickly obtained, thereby enabling the use of different strategies for structured parsing of different types of questions to obtain the required classroom activity courseware.
[0060] Step S104: According to the target structured parsing strategy, parse the content of the question text to obtain the structured classroom activity text content.
[0061] Generally, the text content of the questions entered on the courseware creation page is unstructured data. Unstructured data refers to data with irregular or incomplete structures, lacking a predefined data model, and inconvenient to represent using a two-dimensional logical table in a database. Unstructured data includes all formats of office documents, text, images, XML, HTML, various reports, images, and audio / video information, etc. In contrast, structured data is data logically expressed and implemented using a two-dimensional table structure, primarily stored and managed through relational databases. In this embodiment, the structured classroom activity text content includes multiple structured fill areas, each storing corresponding text content. Correspondingly, the structured parsing strategy extracts structured content from the unstructured question text content and fills the extracted structured content into the corresponding structured fill area, thereby obtaining the structured classroom activity text content.
[0062] Step S105: Generate classroom activity courseware based on the structured classroom activity text content.
[0063] This embodiment of the application, in response to a trigger operation to create classroom activity courseware on a classroom activity courseware creation platform, displays a courseware creation page and obtains a target courseware type identifier; obtains the question text content entered on the courseware creation page; obtains a corresponding target structured parsing strategy based on the target courseware type identifier; parses the question text content according to the target structured parsing strategy to obtain structured classroom activity text content; and generates classroom activity courseware based on the structured classroom activity text content. Teachers do not need to manually edit the content of each operation area of the classroom activity one by one; they only need to enter the question text content to automatically generate classroom activity courseware. The operation is simple and convenient, reducing courseware creation costs and improving courseware creation efficiency.
[0064] Please see Figure 6 In one embodiment, the target structured parsing strategy includes a target structured parsing algorithm and a target question template; the target question template includes several structured filling regions; step S104, which involves parsing the question text content according to the target structured parsing strategy to obtain structured classroom activity text content, includes:
[0065] Step S1041: Parse the question text content according to the target structured parsing algorithm to obtain several structured text contents.
[0066] Step S1042: Fill the structured text content into the corresponding structured filling area to obtain the structured classroom activity text content corresponding to the target question template.
[0067] Different types of classroom activity courseware have corresponding question templates, with several structured filling areas set on the question templates. Specifically, for word selection fill-in-the-blank classroom activities, this can be understood as structured text content including text content, blanks, and words to be selected; that is, for word selection fill-in-the-blank classroom activities, it is equivalent to filling the text content filling area, blank filling area, and word selection filling area with the corresponding text content, blanks, and words to be selected to obtain structured text content. For multiple-choice classroom activities, this can be understood as structured text content including question stem content, option content, and answer content; that is, for multiple-choice classroom activities, it is equivalent to filling the question stem content filling area, option content filling area, and answer content filling area with the corresponding question stem content, option content, and answer content to obtain structured text content. Therefore, this application parses the question text content to obtain several structured text content, and then fills the structured text content into the corresponding structured filling areas, thereby conveniently converting unstructured question text content into structured classroom activity text content corresponding to the question template.
[0068] In one embodiment, when the target courseware type identifier indicates a word selection fill-in-the-blank question, the plurality of structured filling areas include a question stem content filling area, a blank filling area, and a word selection filling area; the step S1041, which involves parsing the question text content according to the target structured parsing algorithm to obtain a plurality of structured text contents, includes:
[0069] Step S104111: Recognize the content of the question text and obtain the number of preset candidate fill-in-the-blank placeholders in the question text content.
[0070] Considering that different users may use different methods to fill in the blanks—for example, some users may use underscores "__" while others may use parentheses "()"—the classroom activity courseware creation platform can preset several types of candidate fill-in-the-blank placeholders to further identify which symbol is used as the placeholder. These preset candidate fill-in-the-blank placeholders can include underscores "__", parentheses "()", double quotes "", etc. The preset candidate fill-in-the-blank placeholders can be set according to actual needs, and this application does not impose any restrictions.
[0071] Step S104112: Calculate the confidence score of each type of candidate placeholder in the question text based on the number of preset candidate placeholders for each type of fill-in-the-blank.
[0072] The confidence score indicates the probability that a candidate placeholder will be used as the target placeholder. The higher the confidence score, the higher the probability that it will be used as the target placeholder; the lower the confidence score, the lower the probability that it will be used as the target placeholder.
[0073] Optionally, the number of preset candidate placeholders for each type of fill-in-the-blank question in the question text can be used as the confidence score for each type of candidate placeholder.
[0074] Optionally, a confidence score for each type of candidate placeholder is calculated based on the preset priority scores of each type of candidate placeholder and the number of each type of candidate placeholder in the question text. For example, the product of the preset priority scores of each type of candidate placeholder and the number of each type of candidate placeholder in the question text can be used as the confidence score for each type of candidate placeholder, thereby improving the recognition accuracy of the target placeholder.
[0075] Step S104113: Select the candidate fill-in-the-blank placeholder with the highest confidence score as the target fill-in-the-blank placeholder, and obtain the position information of the target fill-in-the-blank placeholder in the question text content.
[0076] Step S104114: In the question text content, the position corresponding to the location information is cut out to become a space, the text at the position corresponding to the location information is taken as the word to be selected, and the other text is taken as the question stem content, so as to obtain several structured text contents.
[0077] Optionally, the position corresponding to the location information in the question text may be filled with text; that is, the answer can be directly filled in at the position corresponding to the location information. Therefore, the text at the position corresponding to the location information can be directly used as the word to be selected. Optionally, the position corresponding to the location information may not be filled with text, but rather with text after the question text; that is, the answer can be filled in after the question text. Therefore, the text after the question text can be aligned sequentially with the target fill-in-the-blank placeholder as the word to be selected.
[0078] In step S1042, the step of filling the structured text content into the corresponding structured filling area to obtain the structured classroom activity text content corresponding to the target question template includes:
[0079] Step S10421: Fill the question stem content, the space, and the word to be selected into the question stem content filling area, the space filling area, and the word to be selected area respectively, to obtain the structured classroom activity text content corresponding to the target question template.
[0080] Please see Figure 7, after inputting the question text content on the courseware creation page, by clicking the recognition control on the courseware creation page, the candidate blank placeholder with the highest confidence score is set as the underscore "__", and then the underscore "__" is taken as the target blank placeholder, so as to obtain the position information of the underscore "__" in the question text content, then hollow out the position corresponding to the position information as a blank space, align the texts "Gongzi Zhan", "Taibai", "Qinglian Jushi" and "Tang" after the question text content with the underscore "__" in sequence as the words to be selected, and take other texts as the question stem content; then fill the question stem content, the blank space and the words to be selected in the question stem content filling area, the blank space filling area and the word to be selected filling area, to obtain as Figure 8 the structured classroom activity text content corresponding to the target question template as shown; and finally convert it into as Figure 9 the classroom activity courseware as shown.
[0081] In the embodiment of the present application, the candidate blank placeholder with the highest confidence score is taken as the target blank placeholder to obtain the position information of the target blank placeholder in the question text content, then in the question text content, the position corresponding to the position information is hollowed out as a blank space, the text at the position corresponding to the position information is taken as the word to be selected, and other texts are taken as the question stem content, so as to obtain a plurality of structured text contents, thereby filling the question stem content, the blank space and the word to be selected in the question stem content filling area, the blank space filling area and the word to be selected filling area respectively to obtain the structured question text content, so as to automatically generate a plurality of structured text contents corresponding to the word-selection fill-in-the-blank question, which improves the generation efficiency of the classroom activity courseware.
[0082] In an embodiment, when the target courseware type identifier indicates a multiple-choice question; the plurality of structured filling areas include a question stem content filling area, an option content filling area and an answer content filling area; the step of parsing the question text content according to the target question structured parsing algorithm to obtain a plurality of structured text contents in step S1041 includes:
[0083] Step S104121: Identify the question text content to obtain the number of questions, as well as the start position and end position of each question.
[0084] Step S104122: Obtain the text content of each question according to the number of questions and the start position and end position of each question.
[0085] Step S104123: Perform structured analysis on the text content of each question to obtain the question stem content, option content and answer content of each question.
[0086] Optionally, based on the text features of each question's text content, natural language processing techniques and rule-based strategies can be used to split the text content of each question, thereby obtaining the question stem, option content, and answer content for each question.
[0087] Optionally, in the question text, the answer to each question may be in the same area as the question stem and options. In this case, the answer can be directly identified from the same area. Alternatively, in the question text, the answer may be in the same area as the question stem and options, but located at the end of the question text. In this case, the answer content at the end of the question text can be aligned with the questions in order to identify and obtain the answer content corresponding to each question.
[0088] The step S1042, which involves filling the structured text content into the corresponding structured filling area to obtain the structured classroom activity text content corresponding to the target question template, includes:
[0089] Step S10422: Fill the question stem content, the option content, and the answer content into the question stem content filling area, the option content filling area, and the answer content filling area respectively to obtain the structured classroom activity text content corresponding to the target question template.
[0090] Please see Figure 10 After entering the question text on the courseware creation page, the system obtains the question stem, options, and answer for each question by clicking the recognition control on the courseware creation page. Then, the system fills the question stem, options, and answer in the question stem filling area, option filling area, and answer filling area, respectively, to obtain the following results: Figure 11 The structured classroom activity text content corresponding to the target question template shown.
[0091] This application embodiment performs structured analysis on the text content of each question to obtain the question stem, option content, and answer content for each question. Then, the question stem content, option content, and answer content are filled into the question stem content filling area, option content filling area, and answer content filling area respectively, thereby automatically generating several structured text contents corresponding to the multiple-choice questions, improving the generation efficiency of classroom activity courseware.
[0092] In one embodiment, when the courseware type identifier indicates a true / false question; the plurality of structured filling areas include a question stem content filling area and an answer content filling area; the step S1041, which involves parsing the question text content according to the target question structured parsing algorithm to obtain a plurality of structured text contents, includes:
[0093] Step S104131: Recognize the text content of the questions to obtain the number of questions and the initial and ending positions of each question.
[0094] Step S10432: Based on the number of questions and the initial and ending positions of each question, obtain the text content of each question.
[0095] Step S10433: Perform structured analysis on the text content of each question to obtain the question stem and answer content for each question.
[0096] Optionally, based on the text features of each question's text content, natural language processing techniques and rule-based strategies can be used to split the text content of each question, thereby obtaining the question stem, option content, and answer content for each question.
[0097] Optionally, in the question text, the answer to each question may be in the same area as the question stem and options. Therefore, the answer can be directly identified from the same area. Alternatively, in the question text, the answer may be in the same area as the question stem and options. Generally, the answer is located at the end of the question text. Therefore, the answer content at the end of the question text can be aligned sequentially with the questions to identify and obtain the answer content for each question.
[0098] The step S1042, which involves filling the structured text content into the corresponding structured filling area to obtain the structured classroom activity text content corresponding to the target question template, includes:
[0099] Step S10423: Fill the question stem content, the option content, and the answer content into the question stem content filling area, the option content filling area, and the answer content filling area respectively to obtain the structured classroom activity text content corresponding to the target question template.
[0100] This application embodiment performs structured analysis on the text content of each question to obtain the question stem and answer content of each question. Then, the question stem content, option content, and answer content are filled into the question stem content filling area and the answer content filling area respectively, thereby automatically generating several structured text contents corresponding to the true / false questions, which improves the generation efficiency of classroom activity courseware.
[0101] Example 2
[0102] The following are embodiments of the apparatus of this application, which can be used to execute the method described in Embodiment 1 of this application. For details not disclosed in the apparatus embodiments of this application, please refer to the method described in Embodiment 1 of this application.
[0103] Please see Figure 12 The present application discloses a classroom activity courseware production device 200, comprising:
[0104] The page display module 201 is used to display the courseware production page and obtain the target courseware type identifier on the classroom activity courseware production platform in response to the trigger operation of creating classroom activity courseware.
[0105] The title text content acquisition module 202 is used to acquire the title text content entered on the courseware creation page;
[0106] The parsing strategy acquisition module 203 is used to obtain the corresponding target structured parsing strategy based on the target courseware type identifier;
[0107] The structured parsing module 204 is used to parse the question text content according to the target structured parsing strategy to obtain structured classroom activity text content;
[0108] The classroom activity courseware generation module 205 is used to generate classroom activity courseware based on the structured classroom activity text content.
[0109] This embodiment of the application, in response to a trigger operation to create classroom activity courseware on a classroom activity courseware creation platform, displays a courseware creation page and obtains a target courseware type identifier; obtains the question text content entered on the courseware creation page; obtains a corresponding target structured parsing strategy based on the target courseware type identifier; parses the question text content according to the target structured parsing strategy to obtain structured classroom activity text content; and generates classroom activity courseware based on the structured classroom activity text content. Teachers do not need to manually edit the content of each operation area of the classroom activity one by one; they only need to enter the question text content to automatically generate classroom activity courseware. The operation is simple and convenient, reducing courseware creation costs and improving courseware creation efficiency.
[0110] In one embodiment, the target structured parsing strategy includes a target structured parsing algorithm and a target question template; the target question template includes several structured filling regions; the structured parsing module 204 includes:
[0111] The structured text content acquisition module is used to parse the question text content according to the target structured parsing algorithm to obtain several structured text contents.
[0112] The structured question text content acquisition module is used to fill the structured text content into the corresponding structured filling area to obtain the structured classroom activity text content corresponding to the target question template.
[0113] In one embodiment, when the courseware type identifier indicates a word selection fill-in-the-blank question, the plurality of structured fill areas include a question stem content fill area, a blank fill area, and a word to be selected fill area; the structured text content acquisition module includes:
[0114] The placeholder quantity acquisition module is used to identify the content of the question text and obtain the quantity of preset candidate fill-in-the-blank placeholders in the question text content.
[0115] The confidence score calculation module is used to calculate the confidence score of each type of candidate fill-in-the-blank placeholder based on the number of preset candidate placeholders in the question text content.
[0116] The location information acquisition module is used to select the candidate fill-in-the-blank placeholder with the highest confidence score as the target fill-in-the-blank placeholder and obtain the location information of the target fill-in-the-blank placeholder in the question text content.
[0117] The first text content acquisition module is used to cut out the position corresponding to the location information in the question text content to create a space, take the text at the position corresponding to the location information as the word to be selected, and take the other text as the question stem content, so as to obtain several structured text contents.
[0118] The structured question text content acquisition module includes a first question text acquisition module, which is used to fill the question stem content, the space and the word to be selected in the question stem content filling area, the space filling area and the word to be selected area respectively, so as to obtain the structured classroom activity text content corresponding to the target question template.
[0119] In one embodiment, when the courseware type identifier indicates a multiple-choice question; the plurality of structured filling areas include a question stem content filling area, an option content filling area, and an answer content filling area; the structured text content acquisition module includes:
[0120] The first quantity and location information acquisition module is used to identify the content of the question text and obtain the number of questions, as well as the initial and ending positions of each question.
[0121] The first question splitting module is used to obtain the text content of each question based on the number of questions and the initial and ending positions of each question.
[0122] The second text content acquisition module is used to perform structured analysis on the text content of each question to obtain the question stem, option content, and answer content for each question.
[0123] The structured question text content acquisition module includes a second question text acquisition module, which is used to fill the question stem content, the option content, and the answer content in the question stem content filling area, the option content filling area, and the answer content filling area respectively, so as to obtain the structured classroom activity text content corresponding to the target question template.
[0124] In one embodiment, when the courseware type identifier indicates a true / false question; the plurality of structured filling areas include a question stem content filling area and an answer content filling area; the structured text content acquisition module includes:
[0125] The first quantity and location information acquisition module is used to identify the content of the question text and obtain the number of questions, as well as the initial and ending positions of each question.
[0126] The first question splitting module is used to obtain the text content of each question based on the number of questions and the initial and ending positions of each question.
[0127] The third text content acquisition module is used to perform structured analysis on the text content of each question to obtain the question stem and answer content for each question.
[0128] The structured question text content acquisition module includes a third question text acquisition module, which is used to fill the question stem content and answer content into the question stem content filling area and the answer content filling area respectively to obtain the structured question text content.
[0129] It should be noted that the classroom activity courseware production device provided in this application embodiment is only illustrated by the above-described division of functional modules when executing the classroom activity courseware production method. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above. In addition, the classroom activity courseware production device provided in the second embodiment of this application and the classroom activity courseware production method of this application belong to the same concept, and its implementation process is detailed in the method embodiment, which will not be repeated here.
[0130] Example 3
[0131] The following are embodiments of the device described in this application, which can be used to execute the method described in Embodiment 1 of this application. For details not disclosed in the embodiments of the device described in this application, please refer to the method described in Embodiment 1 of this application.
[0132] Please see Figure 13This application also provides an electronic device 300, which may specifically be a computer, mobile phone, tablet computer, interactive flat panel, etc. In an exemplary embodiment of this application, the electronic device 300 is a MOS transistor conduction loss acquisition device. The electronic device 300 may include: at least one processor 310, at least one memory 320, at least one display 330, at least one network interface 340, user interface 350, and at least one communication bus 360.
[0133] The user interface 350 is primarily used to provide an input interface for the user and to acquire user input data. Optionally, the user interface 350 may also include a standard wired interface or a wireless interface.
[0134] The network interface 340 may optionally include a standard wired interface or a wireless interface (such as a Wi-Fi interface).
[0135] The communication bus 360 is used to enable communication between these components.
[0136] The processor 310 may include one or more processing cores. The processor 310 connects to various parts within the electronic device 300 using various interfaces and lines, and performs various functions and processes data by running or executing instructions, programs, code sets, or instruction sets stored in the memory 320, and by calling data stored in the memory 320. Optionally, the processor 310 may be implemented using at least one hardware form of Digital Signal Processing (DSP), Field-Programmable Gate Array (FPGA), or Programmable Logic Array (PLA). The processor 310 may integrate one or a combination of several of the following: Central Processing Unit (CPU), Graphics Processing Unit (GPU), and modem. The CPU primarily handles the operating system, user interface, and applications; the GPU is responsible for rendering and drawing the content required for display; and the modem handles wireless communication. It is understood that the modem may also be implemented as a separate chip without being integrated into the processor 310.
[0137] The memory 320 may include random access memory (RAM) or read-only memory. Optionally, the memory 320 may include a non-transitory computer-readable storage medium. The memory 320 can be used to store instructions, programs, code, code sets, or instruction sets. The memory 320 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 touch function, sound playback function, image playback function, etc.), instructions for implementing the above-described method embodiments, etc.; the data storage area may store data involved in the above-described method embodiments, etc. Optionally, the memory 320 may also be at least one storage device located remotely from the aforementioned processor 310. Figure 13 As shown, the memory 320, which serves as a computer storage medium, may include an operating system, a network communication module, and a user.
[0138] The processor 310 can be used to call the application program for creating classroom activity courseware stored in the memory 320, and specifically execute the method steps of Embodiment 1 shown above. For the specific execution process, please refer to the detailed description shown in Embodiment 1, which will not be repeated here.
[0139] Example 4
[0140] This application also provides a computer-readable storage medium storing a computer program thereon, the instructions of which are adapted to be loaded by a processor and executed by the method steps of Embodiment 1 shown above. The specific execution process can be found in the detailed description of the embodiments, and will not be repeated here. The device containing the storage medium can be an electronic device such as a personal computer, laptop computer, smartphone, or tablet computer.
[0141] For the device embodiments, since they basically correspond to the method embodiments, the relevant parts can be referred to in the description of the method embodiments. The device embodiments described above are merely illustrative. The components described as separate parts may or may not be physically separate, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed across multiple network units. Some or all of the modules can be selected to achieve the purpose of this application according to actual needs. Those skilled in the art can understand and implement this without creative effort.
[0142] Those skilled in the art will understand that embodiments of this application can be provided as methods, systems, or computer program products. Therefore, this application can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, this application can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0143] This application is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of this application. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, generate instructions for implementing the flowchart... Figure 1 One or more processes and / or boxes Figure 1 The computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function selected in one or more boxes.
[0144] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function selected in one or more boxes.
[0145] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.
[0146] Memory may include non-persistent memory in computer-readable media, such as random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash RAM. Memory is an example of computer-readable media.
[0147] Computer-readable media includes both permanent and non-permanent, removable and non-removable media that can store information using any method or technology. Information can be computer-readable instructions, data structures, modules of programs, or other data. Examples of computer storage media include, but are not limited to, phase-change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technologies, CD-ROM, digital versatile optical disc (DVD) or other optical storage, magnetic tape, magnetic magnetic disk storage or other magnetic storage devices, or any other non-transferable medium that can be used to store information accessible by a computing device. As defined herein, computer-readable media does not include transient computer-readable media, such as modulated data signals and carrier waves.
[0148] It should also be noted that the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such process, method, article, or apparatus. Unless otherwise specified, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes that element.
[0149] The above are merely embodiments of this application and are not intended to limit the scope of this application. Various modifications and variations can be made to this application by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this application should be included within the scope of the claims of this application.
Claims
1. A method for creating classroom activity courseware, characterized in that, Includes the following steps: On the classroom activity courseware creation platform, in response to the trigger operation of creating classroom activity courseware, the courseware creation page is displayed, and the target courseware type identifier is obtained; Retrieve the title text content entered on the courseware creation page; Based on the target courseware type identifier, the corresponding target structured parsing strategy is obtained; The target structured parsing strategy includes a target structured parsing algorithm and a target question template; The target question template includes several structured fill areas; According to the target structured parsing algorithm, the unstructured question text content is parsed to obtain several structured text contents; the structured text contents are filled into the corresponding structured filling areas to obtain the structured classroom activity text content corresponding to the target question template; wherein, different target courseware type identifiers have different structured filling areas; Based on the structured classroom activity text content, classroom activity courseware is generated; wherein, the classroom activity courseware includes multiple operation areas, and each operation area carries the structured classroom activity text content, and each operation area is used to respond to the user's classroom interaction operation, forming a structured teaching interaction interface that responds to classroom interaction operation.
2. The method for creating classroom activity courseware according to claim 1, characterized in that: The classroom activity courseware production platform stores several classroom activity courseware type identifiers and the structured parsing strategies corresponding to each classroom activity courseware type identifier; The step of obtaining the corresponding target structured parsing strategy based on the target courseware type identifier includes: Based on the target courseware type identifier, a query is performed on the classroom activity courseware production platform to obtain the target structured parsing strategy corresponding to the target courseware type identifier.
3. The method for creating classroom activity courseware according to claim 1, characterized in that: When the target courseware type identifier indicates a word selection fill-in-the-blank question, the several structured filling areas include a question stem content filling area, a blank filling area, and a word selection filling area; The step of parsing the unstructured question text content according to the target structured parsing algorithm to obtain several structured text contents includes: The question text content is identified to obtain the number of preset candidate fill-in-the-blank placeholders in the question text content; Based on the number of pre-defined candidate placeholders for each type of fill-in-the-blank in the question text, calculate the confidence score for each type of candidate placeholder. The candidate placeholder with the highest confidence score is used as the target placeholder, and the position information of the target placeholder in the question text content is obtained. In the question text content, the position corresponding to the location information is cut out to become a space, the text at the position corresponding to the location information is taken as the word to be selected, and the other text is taken as the question stem content, thus obtaining several structured text contents; The step of filling the structured text content into the corresponding structured filling area to obtain the structured classroom activity text content corresponding to the target question template includes: Fill the question stem content, the space, and the word to be selected into the question stem content filling area, the space filling area, and the word to be selected area respectively, to obtain the structured classroom activity text content corresponding to the target question template.
4. The method for creating classroom activity courseware according to claim 3, characterized in that: The step of calculating the confidence score of each type of candidate placeholder based on the number of preset candidate placeholders in the question text includes: The confidence score of each type of candidate placeholder is calculated by multiplying the priority score of each type of candidate placeholder by the number of such placeholders in the question text.
5. The method for creating classroom activity courseware according to claim 1, characterized in that: When the target courseware type identifier indicates a multiple-choice question; the plurality of structured filling areas include a question stem content filling area, an option content filling area, and an answer content filling area; The step of parsing the unstructured question text content according to the target structured parsing algorithm to obtain several structured text contents includes: The text content of the questions is identified to obtain the number of questions and the initial and ending positions of each question; Based on the number of questions and the initial and ending positions of each question, obtain the text content of each question; The text content of each question is analyzed in a structured manner to obtain the question stem, options, and answer for each question; The step of filling the structured text content into the corresponding structured filling area to obtain the structured classroom activity text content corresponding to the target question template includes: Fill the question stem content, the option content, and the answer content into the question stem content filling area, the option content filling area, and the answer content filling area respectively to obtain the structured classroom activity text content corresponding to the target question template.
6. The method for creating classroom activity courseware according to claim 1, characterized in that: When the target courseware type identifier indicates a true / false question; the plurality of structured filling areas include a question stem content filling area and an answer content filling area; The step of parsing the unstructured question text content according to the target structured parsing algorithm to obtain several structured text contents includes: The text content of the questions is identified to obtain the number of questions and the initial and ending positions of each question; Based on the number of questions and the initial and ending positions of each question, obtain the text content of each question; The text content of each question is analyzed in a structured manner to obtain the question stem and answer content for each question; The step of filling the structured text content into the corresponding structured filling area to obtain the structured classroom activity text content corresponding to the target question template includes: Fill the question stem content and the answer content into the question stem content filling area and the answer content filling area respectively to obtain the structured classroom activity text content corresponding to the target question template.
7. A classroom activity courseware production device, characterized in that, include: The page display module is used on the classroom activity courseware production platform to display the courseware production page in response to the trigger operation of creating classroom activity courseware, and to obtain the target courseware type identifier; The title text content acquisition module is used to acquire the title text content entered on the courseware creation page; The parsing strategy acquisition module is used to obtain the corresponding target structured parsing strategy based on the target courseware type identifier; The target structured parsing strategy includes a target structured parsing algorithm and a target question template; The target question template includes several structured fill areas; The structured parsing module is used to parse the unstructured question text content according to the target structured parsing algorithm to obtain several structured text contents; fill the structured text contents into the corresponding structured filling area to obtain the structured classroom activity text content corresponding to the target question template; wherein, different target courseware type identifiers have different structured filling areas; The classroom activity courseware generation module is used to generate classroom activity courseware based on the structured classroom activity text content; wherein, the classroom activity courseware includes multiple operation areas, and each operation area carries the structured classroom activity text content, and each operation area is used to respond to the user's classroom interaction operations, forming a structured teaching interaction interface that responds to classroom interaction operations.
8. An electronic device comprising a processor and a memory; characterized in that, The memory stores a computer program adapted to be loaded by the processor and executed as described in any one of claims 1 to 6 for creating classroom activity courseware.
9. A computer-readable storage medium having a computer program stored thereon, characterized in that, When executed by a processor, the computer program implements the classroom activity courseware production method as described in any one of claims 1 to 6.
Citation Information
Patent Citations
Method for performing structuring processing on text information
CN107463537A
Instant question setting method in interactive teaching
CN108109452A
Editing method and device for intelligent teaching materials
CN111832263A