Modular interactive teaching interface generation method and system based on teaching cases, and computer readable storage medium

CN122653485APending Publication Date: 2026-08-28SHANSHU TECH (BEIJING) CO LTD +2
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202610880550.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-06-17
Publication Date
2026-08-28

AI Technical Summary

Technical Problem

现有教学系统通常采用多级菜单或独立页面的方式呈现上述功能,教学案例、教学工具及教学流程彼此割裂,缺乏统一的界面上下文管理机制,导致用户操作路径复杂、学习成本高

Benefits of technology

[0022] Compared with existing technologies, this invention unifies the interface context by using teaching cases as the main context of the interface, so that all teaching function modules provide services around the current case rather than being independent applications; it avoids the problem of scattered tool entry points and frequent page switching by presenting multiple teaching tools in a modular and aggregated manner; it achieves unified management of teacher and student interfaces through a state-driven interaction control mechanism and a user role-driven interface switching mechanism, thereby reducing the cost of teaching guidance; and it improves the controllability of the teaching process and the scalability of the system by guiding the teaching process based on the interface structure.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122653485A_ABST
    Figure CN122653485A_ABST
Patent Text Reader

Abstract

The application discloses a kind of modular interactive teaching interface generation method, system and storage medium based on teaching case.The method comprises: obtaining teaching case information and setting as interface main context;Load one or more teaching function modules associated;For each module, configure initial operation state information;According to the current user role, set operation authority, prohibit no-privilege interaction, and all interactions are prohibited for invalid roles;If user completes interaction and has corresponding authority, update operation state information and refresh display.The application takes teaching case as unified context, modularizes aggregation teaching tool, realizes the structured guidance of teaching process and the unified management of teacher-student interface by state and authority double drive, reduces operation complexity, and improves teaching efficiency.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the fields of online education, corporate training, and intelligent teaching systems. Specifically, it relates to a method, system, and computer-readable storage medium for generating modular interactive teaching interfaces based on teaching cases. Background Technology

[0002] With the continuous development of online education platforms, corporate training systems, and intelligent teaching systems, teaching systems have gradually integrated various functions such as case presentations, classroom interaction, access to teaching tools, and the distribution of classroom exercises. Existing teaching systems typically present these functions through multi-level menus or independent pages, resulting in a disconnect between teaching cases, teaching tools, and teaching processes. This lack of a unified interface context management mechanism leads to complex user operation paths and high learning costs. Specific drawbacks include: a lack of unified context between teaching cases and teaching tools, resulting in tools being used outside the teaching scenario; fragmented entry points for teaching tools, requiring users to frequently switch pages; a disconnect between teacher and student interfaces, leading to high teaching guidance costs; a lack of clear visual feedback on the usage status of teaching tools; and an inability to effectively guide the teaching process through the interface structure. Summary of the Invention

[0003] The present invention aims to solve the problems existing in the prior art and provide a method, system and storage medium for generating modular interactive teaching interfaces based on teaching cases.

[0004] Technical solution:

[0005] A method for generating a modular interactive teaching interface based on teaching cases includes the following steps:

[0006] Obtain teaching case information and set the teaching case information as the main context of the interface;

[0007] Based on the teaching case information, load one or more teaching function modules associated with it;

[0008] Each of the teaching function modules is configured with initial operation status information, which is used to characterize the interaction stage of the teaching function module.

[0009] Based on the current user role, operation permissions are set for each teaching function module. These operation permissions are used to limit the interactive operations that users are allowed to perform and to prohibit interactive operations without permission. If the current user role is invalid, the operation permissions are set to prohibit all interactive operations.

[0010] After a user completes an interactive operation on any teaching function module, if the user has the corresponding operation permission for that module, the operation status information of that teaching function module is updated, and the interface display is refreshed according to the updated operation status information and the operation permission.

[0011] Furthermore, the teaching function modules include at least one of the following: a module for generating teaching guides, a module for classroom exercises, a module for preparing lessons through case studies, a module for pre-set templates, a module for asking questions, and a module for small classroom examples.

[0012] Furthermore, the module for generating teaching guides is specifically configured as follows: obtaining the subject, grade, and class duration fields; receiving uploaded teaching files; obtaining input classroom knowledge points; receiving operation instructions to select individual interaction methods, teaching methods, and teaching equipment; and responding to the generation instructions to output a structured teaching guide.

[0013] Furthermore, the step of setting operation permissions for each teaching function module according to the current user role specifically includes: switching between teacher permissions and student permissions in response to a role switching command; when switching to teacher permissions, providing a teacher operation interface that covers the student-side page functions and extends them with teacher operation functions, the teacher operation interface being used to issue operation commands and view student-side data; when switching to student permissions, providing a student operation interface that is only used for viewing and use.

[0014] The present invention also provides a modular interactive teaching interface generation system based on teaching cases for implementing the aforementioned modular interactive teaching interface generation method, comprising:

[0015] The case context management module is used to acquire and manage teaching case information and set the teaching case information as the main context of the interface;

[0016] The functional module generation module is used to load one or more teaching functional modules associated with the teaching case information.

[0017] The status management module is used to configure initial operation status information for each teaching function module after loading the teaching function module, and to update the operation status information of the teaching function module if the user has the corresponding operation permission for the module after completing the interactive operation of any teaching function module. The operation status information is used to characterize the interactive stage of the teaching function module.

[0018] The role-based access control module is used to set operation permissions for each teaching function module according to the current user role. The operation permissions are used to limit the interactive operations that users are allowed to perform and to prohibit interactive operations without permission. If the current user role is invalid, the operation permissions are set to prohibit all interactive operations.

[0019] The interface rendering module is used to refresh and display the interface content based on the operation status information updated by the status management module and the operation permissions determined by the role permission control module.

[0020] In addition, the present invention provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of any of the methods described above.

[0021] Compared with the prior art, the advantages of this invention are as follows:

[0022] Compared with existing technologies, this invention unifies the interface context by using teaching cases as the main context of the interface, so that all teaching function modules provide services around the current case rather than being independent applications; it avoids the problem of scattered tool entry points and frequent page switching by presenting multiple teaching tools in a modular and aggregated manner; it achieves unified management of teacher and student interfaces through a state-driven interaction control mechanism and a user role-driven interface switching mechanism, thereby reducing the cost of teaching guidance; and it improves the controllability of the teaching process and the scalability of the system by guiding the teaching process based on the interface structure. Attached Figure Description

[0023] To more clearly illustrate the technical solutions in the embodiments of the present invention, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort, wherein:

[0024] Figure 1 This is a flowchart of a modular interactive teaching interface generation method based on teaching cases in an embodiment of the present invention;

[0025] Figure 2 This is a module structure diagram of the modular interactive teaching interface generation system based on teaching cases in an embodiment of the present invention. Detailed Implementation

[0026] To make the technical solution and beneficial effects of the present invention clearer, a detailed explanation is provided below with reference to specific formulas, pseudocode, and examples. This specific embodiment strictly follows the structure of the claims, and each step is explained in terms of its technical implementation and corresponding beneficial effects.

[0027] Example 1: Method for Generating Teaching Interfaces

[0028] This embodiment provides a method for generating modular interactive teaching interfaces based on teaching cases, such as... Figure 1 As shown, it includes the following steps.

[0029] Step S101: Obtain teaching case information and set the teaching case information as the main context of the interface.

[0030] Specifically, the system retrieves a unique identifier (case_id) and detailed information (such as case name, subject, grade, case description, etc.) for a teaching case from the database or user input. This case information is set as the main context of the entire interface. The technical implementation method is to maintain a global context object in memory, which contains the information of the currently active case. All subsequent functional modules carry this case_id when making requests, thereby ensuring that all operations belong to the current case.

[0031] In this way, the underlying logic of teaching cases as a large container is established. Subsequent functions such as generating teaching guides, classroom exercises, and questioning tools all become "services" to the current case rather than independent "applications," thus avoiding the problem of tools being used out of context.

[0032] Step S102: Based on the teaching case information, load one or more teaching function modules associated with it.

[0033] The system dynamically loads teaching function modules associated with a case based on its type and preset configuration. For example, for the "New Energy Charging Pile Supply Chain Plan" case, the system can load and generate all or part of the following modules: teaching guide module, classroom exercise module, case explanation preparation module, preset template module, question tool module, and classroom mini-example module. Loading can be done through module instantiation based on a plugin architecture or through dynamic component import based on front-end routing.

[0034] This approach enables the modular and aggregated presentation of teaching tools, avoiding the problems of scattered tool entry points and users needing to frequently switch pages.

[0035] Step S103: Configure initial operation status information for each of the teaching function modules.

[0036] The operation status information is used to characterize the interaction stage of the teaching function module. For each loaded teaching function module, the system configures an initial operation status information according to its type. For example, for the "Classroom Exercises Module", the initial operation status information can be set to "Pending Creation"; for the "Generate Teaching Guide Module", the initial status can be set to "Parameters to be Filled". The operation status information is an enumeration value, and typical state machines include: pending configuration, configuring, pending execution, executing, completed, and result feedback, etc.

[0037] This provides a clear visual feedback basis for each module, allowing the interface to dynamically present different content or controls based on state changes, thus improving the user experience.

[0038] Step S104: Set operation permissions for each teaching function module according to the current user role.

[0039] The operation permissions are used to limit the interactive operations that users are allowed to perform and to prohibit interactive operations that they do not have permission to perform; wherein, if the current user role is invalid, the operation permissions are set to prohibit all interactive operations.

[0040] The system retrieves the currently logged-in user's role (e.g., teacher, student, or unlogged-in visitor). If the role is valid (e.g., teacher), the system sets operation permissions for each teaching function module according to a preset role-permission mapping table. Teachers typically have full permissions, including creating, editing, publishing, and viewing statistics; students only have permissions to view and participate in exercises, without publishing or editing permissions. If the current user's role is invalid (e.g., not logged in or session expired), the system sets the operation permissions to "Disable all interactive operations," meaning the user cannot perform any interaction, and the interface only displays read-only content.

[0041] This allows for quick switching between teacher and student roles on the same interface, while a default disabling mechanism ensures system security and reduces teaching guidance costs.

[0042] Step S105: After a user completes an interactive operation on any teaching function module, if the user has the corresponding operation permission for that module, the operation status information of that teaching function module is updated, and the interface display is refreshed according to the updated operation status information and the operation permission.

[0043] When a user interacts with a teaching module on the front-end interface, such as filling out practice questions and clicking "Publish," the system, upon receiving the completion event, first verifies whether the user has permission to perform the operation (e.g., "Publish") on that module. If the permission verification passes, the system updates the module's operation status information, for example, changing the status of the "Classroom Practice Questions Module" from "Filling in" to "Result Feedback in Progress." Subsequently, the system re-renders the interface based on the updated status information and the current user's operation permissions, for example, displaying a statistical chart of results or a successful publication message. If the permission verification fails, the system does not update the status and can display a message to the user indicating that they do not have permission.

[0044] In this way, the dual-driven mechanism of permissions and status enables structured guidance of the teaching process while ensuring operational security.

[0045] Example 2: Specific Implementation of the Teaching Guide Generation Module

[0046] Based on Example 1, this example specifically describes the configuration method of the teaching guide generation module. The interface of the teaching guide generation module includes the following input controls:

[0047] Subject: Drop-down selection box, such as "Supply Chain Management" or "Computer Science".

[0048] Grade: Drop-down selection box, such as "Third Year Undergraduate" or "First Year Graduate Student".

[0049] Class duration: Numeric input box or time period selector, such as "120 minutes".

[0050] Upload teaching materials: Supports uploading auxiliary files in formats such as PDF and Word.

[0051] Classroom knowledge points: Text input box, supports inputting multiple knowledge points separated by commas.

[0052] Interactive format: radio button groups, such as "group discussion", "case analysis", "Q&A interaction", etc.

[0053] Teaching methods: radio button group, such as "offline teaching", "online live broadcast", "hybrid", etc.

[0054] Teaching equipment: radio button groups, such as "multimedia", "blackboard", "virtual simulation platform", etc.

[0055] After completing the selection and filling in of the above fields, the user clicks the "Generate Teaching Guide" button (generation command). Based on the collected field values, the system calls the backend AI generation model or rule engine to output a structured teaching guide, including a course overview, teaching objectives, teaching process (including time allocation for each stage), and prerequisite knowledge requirements.

[0056] In this way, parameterized input and automatic generation significantly reduce teachers' lesson preparation time while ensuring the professionalism and consistency of the teaching guidelines.

[0057] Example 3: State transition and access control of the classroom exercise module

[0058] This embodiment uses the classroom practice question module as an example to illustrate the process of updating the operation status information. The initial operation status information of the classroom practice question module is "Pending Creation". The teacher role has the permission to create practice questions, while the student role does not. When creating a question, the teacher can set it as a single-choice or multiple-choice question, add options, and fill in notes or explanations. After creation, the teacher clicks the "Save" or "Publish" button. After the system verifies the teacher's permissions, it updates the module status to "Pending Filling". At this time, the student role can see the practice questions and start answering them. After the student completes the filling and submits, the system updates the individual student's status to "Submitted", while the overall status of the module is updated to "Result Feedback in Progress". The system automatically calculates data such as the student's accuracy rate and high-frequency error rate and feeds it back to the teacher interface.

[0059] Beneficial effects: By using a status-driven approach, teachers and students can clearly understand the stage of the exercise (creation → completion → result feedback), and access control ensures the separation of responsibilities between teachers and students.

[0060] Example 4: Character Switching and Interface Refresh

[0061] This embodiment describes the switching operation between teacher and student roles. A "Teacher / Student Perspective Switch" button is provided on the interface. In response to a role switching command (e.g., a teacher clicking this button), the system switches between teacher and student permissions:

[0062] When switching to teacher permissions, the system provides a teacher interface that covers the student-side page functions and expands them with teacher operation functions. Teachers can view all the interface content on the student side (such as the exercise answers filled in by students), and additionally display teacher-specific controls such as issuing instructions and statistical data.

[0063] When switching to student permissions, the system provides a student interface for viewing and use only; students cannot see the teacher's publish button or editing tools.

[0064] In practice, role switching does not change the underlying data model. Instead, the role permission control module recalculates the operation permissions, and the interface rendering module re-renders the view based on the new permissions. For example, the "Delete Exercises" button, which is visible on the teacher's interface, is hidden or disabled from the student's perspective.

[0065] In this way, teachers can preview the student interface without logging out, reducing the cost of teaching guidance and also making it easier for teachers to demonstrate the operation of the student interface in real time during the teaching process.

[0066] Example 5: System Module Structure

[0067] like Figure 2 As shown, this embodiment provides a modular interactive teaching interface generation system based on teaching cases, including a case context management module 1, a function module generation module 2, a status management module 3, a role and permission control module 4, and an interface rendering module 5.

[0068] The case context management module 1 is responsible for retrieving teaching case information from the database or cache, and maintaining a global context object in system memory. This object contains the ID, name, and other metadata of the currently active case. This module is also responsible for updating the context when the user switches cases and notifying other modules to refresh it.

[0069] The functional module generation module 2 dynamically loads predefined teaching functional modules based on the case information provided by the case context management module 1. The loading strategy can be based on configuration file mapping; for example, the case type "supply chain" corresponds to loading modules such as "Generate Teaching Guide," "Classroom Exercises," and "Case Explanation Lesson Preparation." Each module can be an independent class library or front-end component.

[0070] After the functional module generation module 2 loads the modules, the state management module 3 immediately creates a state object for each module and sets initial operation state information. This state information is stored in a central state store (e.g., Redux or Vuex). When a user completes an interaction and permission verification passes, the state management module updates the state of the corresponding module and triggers a state change event.

[0071] The role-based access control module 4 obtains the current user's role (which can be obtained through a JWT token or session information). If the role is valid, it generates an operation permission bitmask or permission list for each teaching function module according to a preset permission policy (such as the RBAC model). If the role is invalid (e.g., the token has expired), it generates a completely prohibited permission mask. This module is also responsible for responding to role switching commands, recalculating permissions, and notifying the interface rendering module.

[0072] The interface rendering module 5 listens for state change events from the state management module 3 and permission change events from the role permission control module. When either event occurs, the interface rendering module reads the latest operation state information and operation permissions, then regenerates the interface description (such as a virtual DOM tree) and performs actual rendering to ensure that the user interface is always synchronized with the current state and permissions.

[0073] The beneficial effects of this system correspond to those of the above-described method embodiments, and will not be repeated here.

[0074] Example 6: Computer-readable storage medium

[0075] This embodiment provides a computer-readable storage medium on which a computer program (e.g., an executable file, script, or container image) is stored. When the computer program is executed by a processor (such as a CPU, GPU, or embedded processor), it can implement the steps of the modular interactive teaching interface generation method based on teaching cases as described in any one of claims 1 to 4. The storage medium can be any one of ROM, RAM, hard disk drive, solid-state drive, USB flash drive, CD-ROM, DVD-ROM, or cloud storage.

[0076] This facilitates the deployment and distribution of the method implementation examples, and can be widely applied to scenarios such as online education platforms and corporate training systems.

[0077] Industrial applicability

[0078] This invention can be applied to various online education platforms, smart classroom systems, corporate training platforms, etc., and has obvious practicality and replicability.

[0079] The above description is merely a preferred embodiment of the present invention and is not intended to limit the scope of protection of the present invention. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of the present invention should be included within the scope of protection of the present invention.

Claims

1. A method for generating a modular interactive teaching interface based on teaching cases, characterized in that, Includes the following steps: Obtain teaching case information and set the teaching case information as the main context of the interface; Based on the teaching case information, load one or more teaching function modules associated with it; Each of the teaching function modules is configured with initial operation status information, which is used to characterize the interaction stage of the teaching function module. Based on the current user role, operation permissions are set for each teaching function module. These operation permissions are used to limit the interactive operations that users are allowed to perform and to prohibit interactive operations without permission. If the current user role is invalid, the operation permissions are set to prohibit all interactive operations. After a user completes an interactive operation on any teaching function module, if the user has the corresponding operation permission for that module, the operation status information of that teaching function module is updated, and the interface display is refreshed according to the updated operation status information and the operation permission.

2. The method for generating a modular interactive teaching interface based on teaching cases according to claim 1, characterized in that, The teaching function modules include at least one of the following: a module for generating teaching guides, a module for classroom exercises, a module for preparing lessons through case studies, a module for pre-set templates, a module for asking questions, and a module for small classroom examples.

3. The method for generating a modular interactive teaching interface based on teaching cases according to claim 2, characterized in that, The module for generating teaching guides is specifically configured as follows: Retrieve the subject, grade, and class duration fields; Receive uploaded teaching files; Obtain the input of classroom knowledge points; Receive individual operation commands to select the interaction format, teaching method, and teaching equipment; In response to the generation command, output a structured teaching guide.

4. The method for generating a modular interactive teaching interface based on teaching cases according to claim 1, characterized in that, The steps for setting operation permissions for each teaching function module based on the current user role specifically include: Responding to the role switching command, it switches between teacher and student permissions; When switching to teacher permissions, a teacher operation interface is provided that covers the student-side page and extends it with teacher operation functions. The teacher operation interface is used to issue operation instructions and view student-side data. When switching to student permissions, a student interface is provided for viewing and use only.

5. A modular interactive teaching interface generation system based on teaching cases for implementing the modular interactive teaching interface generation method based on teaching cases as described in any one of claims 1-4, characterized in that, include: The case context management module is used to acquire and manage teaching case information and set the teaching case information as the main context of the interface; The functional module generation module is used to load one or more teaching functional modules associated with the teaching case information. The status management module is used to configure initial operation status information for each teaching function module after loading the teaching function module, and to update the operation status information of the teaching function module if the user has the corresponding operation permission for the module after completing the interactive operation of any teaching function module. The operation status information is used to characterize the interactive stage of the teaching function module. The role-based access control module is used to set operation permissions for each teaching function module according to the current user role. The operation permissions are used to limit the interactive operations that users are allowed to perform and to prohibit interactive operations without permission. If the current user role is invalid, the operation permissions are set to prohibit all interactive operations. The interface rendering module is used to refresh and display the interface content based on the operation status information updated by the status management module and the operation permissions determined by the role permission control module.

6. The modular interactive teaching interface generation system based on teaching cases according to claim 5, characterized in that, The functional module generation module includes a teaching guide generation sub-module, which is specifically used for: Retrieve the subject, grade, and class duration fields; Receive uploaded teaching files; Obtain the input of classroom knowledge points; Receive individual operation commands to select the interaction format, teaching method, and teaching equipment; In response to the generation command, output a structured teaching guide.

7. The modular interactive teaching interface generation system based on teaching cases according to claim 5, characterized in that, The role-based access control module is specifically used for: Responding to the role switching command, it switches between teacher and student permissions; When switching to teacher permissions, a teacher operation interface is provided that covers the student-side page and extends it with teacher operation functions. The teacher operation interface is used to issue operation instructions and view student-side data. When switching to student permissions, a student interface is provided for viewing and use only.

8. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by the processor, it implements the steps of the modular interactive teaching interface generation method based on teaching cases as described in any one of claims 1 to 4.