Course data generation method and device, electronic equipment and storage medium
By acquiring user input and pre-configured information on the electronic whiteboard and generating course materials using a large language model, the problem of not being able to generate course materials in real time in existing technologies is solved, realizing automated course material generation and reducing the burden on teachers.
Patent Information
- Application Number
- CN202511405093.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-09-29
- Publication Date
- 2026-01-06
AI Technical Summary
Current technology cannot instantly generate course materials such as courseware or test questions through electronic whiteboards, which leads to challenges for teachers in the classroom due to time constraints and limited resources.
By responding to user operation commands on the electronic whiteboard, obtaining user input information and pre-configured item information, generating course materials using a large language model, and loading them onto the display interface according to a preset layout format.
It enables the instant and automatic generation of course materials on the electronic whiteboard, reducing the workload of teachers and ensuring that the generated materials meet their needs.
Smart Images

Figure CN121278124A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of educational technology, and in particular to a method, apparatus, electronic device, and storage medium for generating course materials. Background Technology
[0002] An interactive whiteboard is a high-tech teaching tool that combines the traditional whiteboard with computer and projection technologies, allowing users to write, draw, operate computer programs, and display multimedia content on a large screen. As the application of interactive whiteboards becomes more widespread, their use and operation are attracting increasing attention, especially in the education sector.
[0003] Current technologies use interactive whiteboards primarily for teachers to write on them or to display courseware files. These technologies cannot generate course materials such as courseware or test questions in real-time using interactive whiteboards. Therefore, there is an urgent need for a method that can generate course materials instantly using interactive whiteboards. Summary of the Invention
[0004] This application aims to address at least one of the technical problems existing in the prior art. To this end, this application proposes a method, apparatus, electronic device, and storage medium for generating course materials, which can generate course materials instantly and automatically on an electronic whiteboard.
[0005] The course material generation method according to a first aspect of this application, applied to an electronic whiteboard, includes: In response to detecting a first operation command for the electronic whiteboard, user input information is obtained based on the first operation command; Retrieve target pre-configuration items that match the current classroom from multiple pre-configuration information sources; In response to detecting a second operation command for the electronic whiteboard, the target data type selected by the user is determined based on the second operation command, and a target prompt word corresponding to the target data type is obtained; Based on the target prompt words, the target pre-configured item information, and the user input information, the concatenated text is obtained; The concatenated text is input into a preset large language model to obtain course materials; The course materials are loaded onto the display interface of the electronic whiteboard according to the preset layout format.
[0006] The course material generation method according to the embodiments of this application has at least the following beneficial effects: The course material generation method of this application is applied to an electronic whiteboard. When a first operation instruction for the electronic whiteboard is detected, user input information is obtained based on the first operation instruction, and target pre-configuration item information matching the current classroom is obtained from multiple pre-configuration information. When a second operation instruction for the electronic whiteboard is detected, the target material type selected by the user is determined based on the second operation instruction, and target prompt words corresponding to the target material type are obtained. Based on the target prompt words, target pre-configuration item information, and user input information, concatenated text is obtained. The concatenated text is input into a preset large language model to obtain course materials. The course materials are loaded onto the display interface of the electronic whiteboard according to a preset layout format. Thus, the embodiments of this application can generate course materials instantly and automatically on the electronic whiteboard, reducing the workload of teachers. Furthermore, through target prompt words and target pre-configuration information, the large language model can be guided to output course materials that meet the needs of teachers.
[0007] According to some embodiments of the first aspect of this application, obtaining the concatenated text based on the prompt word, the target pre-configured item information, and the user input information includes: Determine the target concatenation method corresponding to the target prompt word from multiple concatenation methods; The target prompt, the target pre-configured item information, and the user input information are concatenated using a target concatenation method to obtain the concatenated text.
[0008] According to some embodiments of the first aspect of this application, the step of inputting the concatenated text into a preset large language model to obtain course materials includes: In response to the detection of a third operation command for the electronic whiteboard, the target file selected by the user is determined based on the third operation command; The target file is used as the knowledge base of the large language model, and the concatenated text is input into the large language model to obtain the course materials.
[0009] According to some embodiments of the first aspect of this application, the target pre-configuration item information includes the number of document pages; After inputting the concatenated text into a preset large language model to obtain course materials, the process further includes: Determine the current total number of pages in the course materials; The current total number of pages and the number of pages in the document are checked; If the current total number of pages is less than the number of pages in the material, a preset guiding text is input into the large language model so that the large language model generates new course materials. Calculate the sum of the current page counts of all course materials as the new current total page count, and then jump to the step of checking the current total page count against the total page count of the materials.
[0010] According to some embodiments of the first aspect of this application, before inputting the preset guiding text into the large language model, the method includes: Determine the page difference between the current total number of pages and the number of pages in the document; The preset guiding text is generated based on the page number difference.
[0011] According to some embodiments of the first aspect of this application, the step of determining the current classroom includes: Determine the current login account for the electronic whiteboard; wherein, each login account corresponds one-to-one with a teacher; The current teacher is determined based on the currently logged-in account, and the current classroom is determined based on the current teacher.
[0012] According to some embodiments of the first aspect of this application, the step of determining the current classroom includes: Obtain the current time and the current classroom number from the electronic whiteboard; Based on the current classroom number and the current time, the current class is determined from the preset timetable in the electronic whiteboard.
[0013] A second aspect of this application provides a course material generation device for use with an electronic whiteboard, the device comprising: The first acquisition module is configured to acquire user input information based on the first operation instruction in response to detecting a first operation instruction for the electronic whiteboard. The second acquisition module is used to acquire target pre-configuration item information that matches the current classroom from multiple pre-configuration information; The third acquisition module is used to respond to the detection of a second operation command for the electronic whiteboard, determine the target data type selected by the user based on the second operation command, and acquire the target prompt word corresponding to the target data type; The splicing module is used to obtain spliced text based on the target prompt words, the target pre-configured item information, and the user input information; The input module is used to input the concatenated text into a preset large language model to obtain course materials; The display module is used to load the course materials onto the display interface of the electronic whiteboard according to a preset layout format.
[0014] A third aspect of this application provides an electronic device, which includes a memory and a processor. The memory stores a computer program, and the processor executes the computer program to implement the course material generation method described in any one of the first aspects of the embodiment.
[0015] A fourth aspect of this application provides a computer-readable storage medium storing a computer program that, when executed by a processor, implements the course material generation method described in any one of the first aspects of this application.
[0016] Additional aspects and advantages of this application will be set forth in part in the description which follows, and in part will be obvious from the description, or may be learned by practice of this application. Attached Figure Description
[0017] The present application will be further described below with reference to the accompanying drawings and embodiments, wherein: Figure 1 This is a flowchart illustrating the steps of the course material generation method according to an embodiment of this application; Figure 2 for Figure 1 A detailed flowchart of step S140; Figure 3 for Figure 1 A detailed flowchart of step S150; Figure 4 This is a schematic diagram of a sub-process for generating course materials according to an embodiment of this application; Figure 5 This is a schematic diagram of the structure of the course material generation device according to an embodiment of this application; Figure 6 This is a schematic diagram of the hardware structure of an electronic device according to an embodiment of this application. Detailed Implementation
[0018] The embodiments of this application are described in detail below. Examples of these embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals denote the same or similar elements or elements having the same or similar functions throughout. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain this application, and should not be construed as limiting this application.
[0019] In the description of this application, it should be understood that the orientation descriptions, such as up, down, front, back, left, right, etc., indicate the orientation or positional relationship based on the orientation or positional relationship shown in the accompanying drawings. They are only for the convenience of describing this application and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, or be constructed and operated in a specific orientation. Therefore, they should not be construed as limitations on this application.
[0020] In the description of this application, "several" means one or more, "multiple" means two or more, "greater than," "less than," and "exceeding" are understood to exclude the stated number, while "above," "below," and "within" are understood to include the stated number. The use of "first" and "second" in the description is merely for distinguishing technical features and should not be construed as indicating or implying relative importance, or implicitly indicating the number of indicated technical features, or implicitly indicating the order of the indicated technical features.
[0021] In the description of this application, unless otherwise expressly defined, terms such as "setup," "installation," and "connection" should be interpreted broadly, and those skilled in the art can reasonably determine the specific meaning of the above terms in this application in conjunction with the specific content of the technical solution.
[0022] In the description of this application, the terms "one embodiment," "some embodiments," "illustrative embodiment," "example," "specific example," or "some examples," etc., refer to specific features, structures, materials, or characteristics described in connection with that embodiment or example, which are included in at least one embodiment or example of this application. In this specification, the illustrative expressions of the above terms do not necessarily refer to the same embodiment or example. Furthermore, the specific features, structures, materials, or characteristics described may be combined in any suitable manner in one or more embodiments or examples.
[0023] In the education system, courseware is an important tool for teachers in classroom teaching. Despite its undeniable importance, teachers often face challenges such as time constraints and limited resources when preparing courseware. Traditional methods of designing courseware rely on manual editing, which is not only time-consuming but also requires teachers to edit in advance. Furthermore, in some cases, due to inaccurate predictions of the teaching progress, teachers may have finished presenting all the courseware halfway through the lesson, but have not prepared courseware for the next lesson, making it impossible to design new courseware in time, leaving students to study on their own.
[0024] Based on this, embodiments of this application propose a method, apparatus, electronic device, and storage medium for generating course materials, which can generate course materials instantly and automatically on an electronic whiteboard, reducing the burden on teachers. For example, instant generation of courseware can avoid situations where teachers have no courseware to teach in class.
[0025] The first aspect of this application proposes a method for generating course materials. This method can be deployed on a server, which interacts with an electronic whiteboard to execute the method. The server can be configured as a standalone physical server, a server cluster or distributed system composed of multiple physical servers, or a cloud server providing basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, CDN, and big data and artificial intelligence platforms. The software can be an application that implements the course material generation method, but is not limited to the above forms.
[0026] This application can be used in a wide variety of general-purpose or special-purpose computer system environments or configurations. Examples include: personal computers, server computers, handheld or portable devices, tablet devices, multiprocessor systems, microprocessor-based systems, set-top boxes, programmable consumer electronics, network PCs, minicomputers, mainframe computers, and distributed computing environments including any of the above systems or devices. This application can be described in the general context of computer-executable instructions executed by a computer, such as program modules. Generally, program modules include routines, programs, objects, components, data structures, etc., that perform specific tasks or implement specific abstract data types. This application can also be practiced in distributed computing environments where tasks are performed by remote processing devices connected via a communication network. In distributed computing environments, program modules can reside in local and remote computer storage media, including storage devices.
[0027] Reference Figure 1 , Figure 1 This is a flowchart illustrating the steps of a course material generation method according to an embodiment of this application. The course material generation method according to an embodiment of this application includes, but is not limited to, steps S110 to S160.
[0028] Step S110: In response to detecting a first operation command for the electronic whiteboard, obtain user input information based on the first operation command; It is worth noting that the interactive whiteboard's display interface includes an input box. Users can enter text in the input box using a physical keyboard connected to the whiteboard, or via a virtual keyboard displayed on the whiteboard's touchscreen. An "End Input" button is located next to the input box; clicking this button triggers the generation of a first operation command. The whiteboard then retrieves the text from the input box as the user's input.
[0029] In some embodiments, when a user (i.e. a teacher) inputs an image into an information input box, after the "End Input" button is clicked, the electronic whiteboard first inputs the image into a preset image recognition model. The image recognition model converts the image into text information, and the electronic whiteboard uses this text information as the user's input information.
[0030] In some embodiments, the user inputs other multimedia files such as audio or video into the information input box. For example, the user drags and drops the multimedia file into the information input box. After the end input button is clicked, the electronic whiteboard inputs the multimedia file into the preset multimedia recognition model to obtain text information, which is then used as the user's input information.
[0031] It should be noted that the embodiments of this application do not impose specific limitations on the image recognition model and the multimedia recognition model. Those skilled in the art can select the image recognition model and the multimedia recognition model from the prior art according to actual needs.
[0032] Step S120: Obtain target pre-configuration item information that matches the current classroom from multiple pre-configuration information; It should be noted that the electronic whiteboard stores a correspondence between classrooms and pre-configured items, and this correspondence is one-to-one. Therefore, after determining the current classroom, the target pre-configured items matching the current classroom can be obtained. The current classroom refers to the classroom corresponding to the subject, such as a math class, a Chinese class, an English class, a Japanese class, a physics class, etc.
[0033] In one embodiment, the pre-configured information includes the subject, language, duration, number of pages of materials, and teaching style. This pre-configured information instructs the large language model to generate course materials that meet the teacher's needs or habits. For example, a pre-configured information setting might be: [Subject: Mathematics, Language: Chinese, Duration: 45 minutes, Number of Pages: 12, Teaching Style: Rich and student-centered, encouraging active exploration]. It should be noted that this pre-configured information is customized by the teacher in the corresponding classroom.
[0034] Step S130: In response to detecting a second operation command for the electronic whiteboard, determine the target data type selected by the user based on the second operation command, and obtain the target prompt word corresponding to the target data type; It is worth noting that the types of materials include: courseware, knowledge cards, test questions, and answer keys. Courseware refers to lesson plans that require teacher explanation. Knowledge cards are images that record theorems or formulas. Test questions are... In some examples, the second operation instruction is triggered by the user's interaction with the electronic whiteboard. For instance, the electronic whiteboard displays multiple icons, each corresponding to course materials, knowledge cards, quizzes, and answers. When the user clicks an icon using the virtual keyboard, a second operation instruction is generated, and the data type corresponding to the clicked icon is used as the target data type. For example, if the icon corresponding to a course file is clicked, the course file becomes the target data type.
[0035] It is worth noting that the electronic whiteboard stores the correspondence between prompt words and data types. Therefore, after determining the target data type, the target prompt word corresponding to the target data type can be determined.
[0036] Step S140: Based on the target prompt words, target pre-configured item information and user input information, obtain the concatenated text; Step S150: Input the concatenated text into the preset large language model to obtain course materials; It should be noted that the large language model is deployed locally on the electronic whiteboard. This application does not impose specific limitations on the large language model. Those skilled in the art can select a large language model from existing models according to actual needs.
[0037] Step S160: Load the course materials onto the display interface of the electronic whiteboard according to the preset layout format.
[0038] It is worth noting that the layout format can be directly displayed. Course materials include one or more elements, such as text, images, or videos. The placement of each element can be adjusted through the layout format; for example, a video can be placed in the upper left corner of the electronic whiteboard display interface with a size of 1080x1920, and an image can be placed below the video. Text content can be placed in the middle third of the display interface, etc. Those skilled in the art can set the layout format according to actual needs.
[0039] The course material generation method according to the embodiments of this application has at least the following beneficial effects: The course material generation method of this application is applied to an electronic whiteboard. When a first operation instruction for the electronic whiteboard is detected, user input information is obtained based on the first operation instruction, and target pre-configuration item information matching the current classroom is obtained from multiple pre-configuration information. When a second operation instruction for the electronic whiteboard is detected, the target material type selected by the user is determined based on the second operation instruction, and target prompt words corresponding to the target material type are obtained. Based on the target prompt words, target pre-configuration item information, and user input information, concatenated text is obtained. The concatenated text is input into a preset large language model to obtain course materials. The course materials are loaded onto the display interface of the electronic whiteboard according to a preset layout format. Thus, the embodiments of this application can generate course materials instantly and automatically on the electronic whiteboard, reducing the workload of teachers. Furthermore, through target prompt words and target pre-configuration information, the large language model can be guided to output course materials that meet the needs of teachers.
[0040] In some embodiments, refer to Figure 2 , Figure 2 for Figure 1 A detailed flowchart of step S140 is shown below. Step S140, based on the target prompt, target pre-configured item information and user input information, obtains the concatenated text, including steps S210 and S220.
[0041] Step S210: Determine the target concatenation method corresponding to the target prompt word from multiple concatenation methods; Step S220: Based on the target concatenation method, the target prompt words, target pre-configured item information and user input information are concatenated to obtain concatenated text.
[0042] For example, the user input information is "quadratic equation". A pre-configured item is [Teaching Subject: Mathematics, Teaching Language: Chinese, Teaching Duration: 45 minutes, Number of Pages: 12, Teaching Style: Rich and encouraging active student exploration]. When the target material type is courseware, the target prompts for the courseware include "You are a", "teacher", "taught in", "duration", "number of pages", "your teaching content should", "please write a teaching material about", and so on. The resulting concatenated text is: "You are a mathematics teacher, teaching in Chinese, with a duration of 45 minutes, 12 pages of teaching materials. Your teaching content should be rich and encourage active student exploration. Please write a teaching material about quadratic equations."
[0043] When the target data type is a knowledge card, the target prompts for the knowledge card include: "You are a", "Teacher", "Teach in", "Language", "Please design a knowledge card", and "Content is". The resulting concatenated text is: "You are a mathematics teacher, teaching in Chinese. Please design a knowledge card with the content of a quadratic equation in one variable."
[0044] It should be noted that those skilled in the art can set each splicing method and each prompt word according to actual needs.
[0045] In some embodiments, refer to Figure 3 , Figure 3 for Figure 1 A detailed flowchart of step S150 is shown below. Step S150 involves inputting the concatenated text into a preset large language model to obtain course materials, including steps S310 and S320.
[0046] Step S310: In response to detecting a third operation command for the electronic whiteboard, determine the target file selected by the user based on the third operation command; It is worth noting that the third operation instruction is generated by the user selecting the target file using the electronic whiteboard. For example, the electronic whiteboard has a file library; the user opens the file library and selects a file from it as the target file.
[0047] Step S320: Use the target file as the knowledge base of the large language model, and input the concatenated text into the large language model to obtain course materials.
[0048] The course material generation method of this application embodiment uses the target file as the knowledge base of the large language model through steps S310 and S320, so that the course materials output by the large language model are all generated based on the content of the target file.
[0049] In some embodiments, refer to Figure 4 , Figure 4 This is a schematic diagram of a sub-process for generating course materials according to an embodiment of this application. The target pre-configuration item information includes the number of pages of the materials; after inputting the concatenated text into a preset large language model to obtain the course materials, steps S410 to S440 are also included.
[0050] Step S410: Determine the current total number of pages in the course materials; Step S420: Check the current total number of pages and the number of pages in the document; Step S430: If the current total number of pages is less than the number of pages of the material, input the preset guiding text into the large language model so that the large language model can generate new course materials; For example, the default guiding text is "The above content is not comprehensive enough, please continue to supplement it."
[0051] Step S440: Calculate the sum of the current page numbers of each course material as the new current total page number, and then proceed to step S420.
[0052] Specifically, steps S410 to S440 ensure that the current total number of pages in the course materials output by the large language model is the same as the number of pages in the target pre-configured information. In step S420, if the current total number of pages is greater than or equal to the number of pages, no further steps are required.
[0053] It is worth noting that before inputting the preset guiding text into the large language model, the following steps are taken: Determine the page difference between the current total number of pages and the total number of pages in the document; Preset introductory text is generated based on the page number difference.
[0054] For example, if the current total number of pages is 10, the number of document pages is 12, and the page difference is 2 pages, then the preset guidance text would be "The currently generated content is 10 pages. Please continue to add content. The number of pages to be added is 2."
[0055] In some embodiments, the steps for determining the current classroom include: Determine the current login account for the electronic whiteboard; each login account corresponds one-to-one with a teacher. The current teacher is determined based on the currently logged-in account, and the current class is determined based on the current teacher.
[0056] It's important to note that each teacher has a login account, which is required to log in to the interactive whiteboard. The login account is linked to teacher information, so the current teacher and therefore the current classroom can be determined based on the currently logged-in account. For example, if the currently logged-in teacher is a math teacher, then the current classroom is a math classroom.
[0057] In some other embodiments, the step of determining the current classroom includes: Get the current time and the current classroom number from the interactive whiteboard; Based on the current classroom number and current time, the current class is determined from the preset timetable on the electronic whiteboard.
[0058] Specifically, the current classroom number refers to the classroom number of the room where the interactive whiteboard is located. For ease of management, each classroom is assigned a number consisting of a grade number and a class number. For example, in Grade 1, Class 2, the grade number is 01 and the class number is 02, so the classroom number is 0102. Then, based on the current time, the course for the current classroom number is determined from the timetable, thus identifying the current class. For example, if the timetable shows the current classroom number as an English class at the current time, then the current class is an English class.
[0059] A second aspect of this application provides a course material generation device for use with an electronic whiteboard. (See also...) Figure 5 , Figure 5 This is a schematic diagram of the structure of a course material generation device according to an embodiment of this application. The course material generation device includes: The first acquisition module 510 is used to acquire user input information based on the first operation instruction detected for the electronic whiteboard in response to the detection of the first operation instruction. The second acquisition module 520 is used to acquire target pre-configuration item information that matches the current classroom from multiple pre-configuration information; The third acquisition module 530 is used to respond to the detection of a second operation command for the electronic whiteboard, determine the target data type selected by the user based on the second operation command, and acquire the target prompt word corresponding to the target data type. The splicing module 540 is used to obtain spliced text based on target prompts, target pre-configured items, and user input. Input module 550 is used to input the concatenated text into a preset large language model to obtain course materials; Display module 560 is used to load course materials onto the display interface of the electronic whiteboard according to a preset layout format.
[0060] The course material generation apparatus of the second aspect of this application is used to execute the course material generation method of the first aspect of this application. When executing the method, upon detecting a first operation instruction for the electronic whiteboard, user input information is obtained based on the first operation instruction, and target pre-configuration item information matching the current classroom is obtained from multiple pre-configuration information. Upon detecting a second operation instruction for the electronic whiteboard, the target material type selected by the user is determined based on the second operation instruction, and target prompt words corresponding to the target material type are obtained. Based on the target prompt words, target pre-configuration item information, and user input information, concatenated text is obtained; the concatenated text is input into a preset large language model to obtain course material; and the course material is loaded onto the display interface of the electronic whiteboard according to a preset layout format. Thus, this embodiment of the application can generate course material on the electronic whiteboard instantly and automatically, reducing the workload of teachers, and through target prompt words and target pre-configuration information, can guide the large language model to output course material that meets the teacher's needs.
[0061] It should be noted that the specific implementation of the course material generation device is basically the same as the specific implementation of the course material generation method in the above embodiments, and will not be repeated here. Under the premise of meeting the requirements of the embodiments of this application, the course material generation device may also be provided with other functional modules to realize the course material generation method in the above embodiments.
[0062] A third aspect of this application provides an electronic device, which includes a memory and a processor. The memory stores a computer program, and the processor executes the computer program to implement the course material generation method described above. This electronic device can be any smart terminal, including tablet computers, desktop computers, and electronic whiteboards.
[0063] In one embodiment, reference is made to Figure 6 , Figure 6 The hardware structure of an electronic device according to an embodiment of this application is illustrated. The electronic device includes: The processor 601 can be implemented using a general-purpose CPU (Central Processing Unit), microprocessor, application-specific integrated circuit (ASIC), or one or more integrated circuits, and is used to execute relevant programs to implement the technical solutions provided in the embodiments of this application. The memory 602 can be implemented as a read-only memory (ROM), a static storage device, a dynamic storage device, or a random access memory (RAM). The memory 602 can store the operating system and other applications. When the technical solutions provided in the embodiments of this specification are implemented through software or firmware, the relevant program code is stored in the memory 602 and is called and executed by the processor 601 using the course material generation method of the embodiments of this application. The input / output interface 603 is used to implement information input and output; The communication interface 604 is used to enable communication and interaction between this device and other devices. Communication can be achieved through wired means (such as USB, network cable, etc.) or wireless means (such as mobile network, WIFI, Bluetooth, etc.). Bus 605 transmits information between various components of the device (e.g., processor 601, memory 602, input / output interface 603, and communication interface 604); The processor 601, memory 602, input / output interface 603, and communication interface 604 are connected to each other within the device via bus 605.
[0064] A fourth aspect of this application provides a computer-readable storage medium storing a computer program that, when executed by a processor, implements the course material generation method of the first aspect embodiment.
[0065] Memory, as a non-transitory computer-readable storage medium, can be used to store non-transitory software programs and non-transitory computer-executable programs. Furthermore, memory may include high-speed random access memory, and may also include non-transitory memory, such as at least one disk storage device, flash memory device, or other non-transitory solid-state storage device. In some embodiments, memory may optionally include memory remotely located relative to the processor, and these remote memories can be connected to the processor via a network. Examples of such networks include, but are not limited to, the Internet, intranets, local area networks, mobile communication networks, and combinations thereof.
[0066] The embodiments described in this application are for the purpose of more clearly illustrating the technical solutions of the embodiments of this application, and do not constitute a limitation on the technical solutions provided by the embodiments of this application. As those skilled in the art will know, with the evolution of technology and the emergence of new application scenarios, the technical solutions provided by the embodiments of this application are also applicable to similar technical problems.
[0067] Those skilled in the art will understand that the technical solutions shown in the figures do not constitute a limitation on the embodiments of this application, and may include more or fewer steps than shown, or combine certain steps, or different steps.
[0068] The device embodiments described above are merely illustrative. The units described as separate components may or may not be physically separate; 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 embodiment according to actual needs.
[0069] Those skilled in the art will understand that all or some of the steps in the methods disclosed above, as well as the functional modules / units in the systems and devices, can be implemented as software, firmware, hardware, or suitable combinations thereof.
[0070] The terms “first,” “second,” “third,” “fourth,” etc. (if present) in the specification and accompanying drawings of this application are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of this application described herein can be implemented in orders other than those illustrated or described herein. Furthermore, the terms “comprising” and “having,” and any variations thereof, are intended to cover non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.
[0071] It should be understood that in this application, "at least one (item)" means one or more, and "more than" means two or more. "And / or" is used to describe the relationship between related objects, indicating that three relationships can exist. For example, "A and / or B" can represent three cases: only A exists, only B exists, and both A and B exist simultaneously, where A and B can be singular or plural. The character " / " generally indicates that the preceding and following related objects are in an "or" relationship. "At least one (item) of the following" or similar expressions refer to any combination of these items, including any combination of single or plural items. For example, at least one (item) of a, b, or c can represent: a, b, c, "a and b", "a and c", "b and c", or "a and b and c", where a, b, and c can be single or multiple.
[0072] In the embodiments provided in this application, it should be understood that the disclosed systems and methods can be implemented in other ways. For example, the system embodiments described above are merely illustrative; for instance, the division of the units described above is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interfaces, devices, or units, and may be electrical, mechanical, or other forms.
[0073] The units described above as separate components may or may not be physically separate. 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 units can be selected to achieve the purpose of this embodiment according to actual needs.
[0074] Furthermore, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.
[0075] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes multiple instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods of the various embodiments of this application. The aforementioned storage medium includes various media capable of storing programs, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.
[0076] The preferred embodiments of the present application have been described above with reference to the accompanying drawings, but this does not limit the scope of the claims of the present application. Any modifications, equivalent substitutions, and improvements made by those skilled in the art without departing from the scope and substance of the embodiments of the present application shall be within the scope of the claims of the present application.
Claims
1. A course material generation method characterized by comprising: The method is applied to an electronic whiteboard, and the method comprises: In response to detecting a first operation instruction for the electronic whiteboard, obtaining user input information based on the first operation instruction; Obtaining target pre-configuration item information matched with a current class from a plurality of pre-configuration information; In response to detecting a second operation instruction for the electronic whiteboard, determining a target material type selected by a user based on the second operation instruction, and obtaining a target prompt word corresponding to the target material type; Based on the target prompt word, the target pre-configuration item information and the user input information, a spliced text is obtained; The spliced text is input into a preset large language model to obtain course materials; The course materials are loaded on a display interface of the electronic whiteboard according to a preset layout format.
2. The course material generation method of claim 1, wherein, The method comprises: A target splicing mode corresponding to the target prompt word is determined from a plurality of splicing modes; The target prompt word, the target pre-configuration item information and the user input information are spliced based on the target splicing mode to obtain the spliced text.
3. The course material generation method of claim 1, wherein, The method comprises: In response to detecting a third operation instruction for the electronic whiteboard, a target file selected by a user is determined based on the third operation instruction; The target file is used as a knowledge base of the large language model, and the spliced text is input into the large language model to obtain the course materials.
4. The course material generation method of claim 1, wherein, The target pre-configuration item information comprises a number of material pages. After the spliced text is input into the preset large language model to obtain the course materials, the method further comprises: A current total number of pages of the course materials is determined; The current total number of pages and the number of material pages are detected; In a case where the current total number of pages is less than the number of material pages, a preset guide text is input into the large language model to enable the large language model to generate new course materials; A sum of current numbers of pages of each course material is calculated as a new current total number of pages, and the detection of the current total number of pages and the number of material pages is jumped to.
5. The course material generation method of claim 4, wherein, Before the preset guide text is input into the large language model, the method comprises: A page difference value between the current total number of pages and the number of material pages is determined; The preset guide text is generated based on the page difference value.
6. The course material generation method of claim 1, wherein, The determination of the current class comprises: A current login account of the electronic whiteboard is determined; wherein the login account and a teacher are in one-to-one correspondence; A current teacher is determined based on the current login account, and the current class is determined based on the current teacher.
7. The courseware generation method of claim 1, wherein, The determination of the current class comprises: A current time is obtained, and a current classroom number is obtained from the electronic whiteboard; The current class is determined from a preset course table of the electronic whiteboard based on the current classroom number and the current time.
8. A course material generation apparatus characterized by comprising: The device is applied to an electronic whiteboard, and the device comprises: A first obtaining module is configured to obtain user input information based on a first operation instruction for the electronic whiteboard in response to detecting the first operation instruction. A second obtaining module is configured to obtain target pre-configuration item information matched with a current class from a plurality of pre-configuration information; A third obtaining module is configured to, in response to detecting a second operation instruction for the electronic whiteboard, determine a target material type selected by a user based on the second operation instruction, and obtain a target prompt word corresponding to the target material type; A splicing module is configured to obtain spliced text based on the target prompt word, the target pre-configuration item information, and the user input information; An input module is configured to input the spliced text into a pre-set large language model to obtain course materials; A display module is configured to load the course materials on a display interface of the electronic whiteboard according to a pre-set layout format.
9. An electronic device, comprising: The electronic device includes a memory and a processor, the memory stores a computer program, and the processor implements the course material generation method of any one of claims 1 to 7 when executing the computer program.
10. A computer readable storage medium, the storage medium having stored thereon a computer program, characterized in that, The computer program is executed by the processor to implement the course material generation method of any one of claims 1 to 7.