Teaching interaction method, apparatus, device, storage medium and product
By establishing a multidimensional index in the teaching video and receiving user interaction operations, branch videos that are continuous with the context of the target teaching element are generated, which solves the problem that teaching videos cannot provide supplementary explanations in real time in the existing technology and achieves a more efficient teaching effect.
Patent Information
- Application Number
- CN202611602574.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-10-16
- Publication Date
- 2026-11-20
AI Technical Summary
Existing instructional videos fail to provide timely supplementary explanations that are continuous with the context of the teaching elements when users encounter questions, resulting in poor teaching effectiveness.
By establishing a multidimensional index in the teaching videos, receiving user interaction operations, identifying target teaching elements, and generating branch teaching videos that are continuous with their context for insertion or seamless display.
It improves the teaching effectiveness of instructional videos, allows users to engage in in-depth learning when encountering difficulties, breaks through the limitations of linear playback, and enables non-linear knowledge acquisition.
Smart Images

Figure CN123138463A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of data processing technology, and in particular to a teaching interaction method, apparatus, device, storage medium, and product. Background Technology
[0002] In the field of online education, instructional videos serve as an important medium for knowledge dissemination, breaking through the time and space limitations of traditional classrooms and enabling learners to engage in self-directed learning anytime, anywhere. However, existing instructional videos are essentially collections of media frames in a one-dimensional time series, with teaching elements (such as formulas, graphs, and keywords) presented only as visual pixels. When a user has a question about a specific teaching element in the current frame while watching an instructional video, they are forced to interrupt their learning process and resort to additional search methods, such as pausing the video, switching applications to search for keywords on a search engine, and waiting for a response, resulting in poor teaching effectiveness. Summary of the Invention
[0003] This application provides a teaching interaction method, device, electronic device, computer-readable storage medium, and computer program product. When a user encounters difficulties while watching a real-time teaching video, the method combines the user's interactive operations on the real-time teaching video with multi-dimensional indexing to determine the target teaching element and the corresponding first frame. Then, a branch teaching video with a continuous context of the target teaching element is inserted or displayed after the first frame to improve the teaching effect of the teaching video.
[0004] In a first aspect, embodiments of this application provide a teaching interaction method, the method comprising: Receive at least one teaching interaction operation for a real-time teaching video, wherein the real-time teaching video includes at least one first frame, the first frame includes at least one teaching element identifier, each teaching element identifier has a multi-dimensional index, the multi-dimensional index includes teaching semantic tags, timestamp tags and spatial coordinate tags. Based on the multidimensional index, at least one target teaching element corresponding to the teaching interaction operation is determined. At least one branch teaching video is generated based on the target teaching elements.
[0005] In some embodiments, the above-mentioned teaching interaction operation is at least one of touch, circle, or voice.
[0006] In some embodiments, determining at least one target teaching element corresponding to a teaching interaction operation based on a multidimensional index includes: The first frame corresponding to the interactive teaching operation is used as the interactive frame. Determine the video timestamps of the interactive screen frames, and the interactive coordinates of the teaching interactive operations on the interactive screen frames; Based on the multidimensional index, the first timestamp label corresponding to the video timestamp and the first spatial coordinate label corresponding to the interaction coordinates are determined. The teaching element corresponding to the teaching element identifier that matches the first timestamp label and the first spatial coordinate label is taken as the target teaching element.
[0007] In some embodiments, determining at least one target teaching element corresponding to a teaching interaction operation based on a multidimensional index includes: If the teaching interaction is voice, determine the corresponding interaction timestamp and interaction semantics; Based on the multidimensional index, the second timestamp label corresponding to the interaction timestamp and the target teaching semantic label corresponding to the interaction semantic are determined. Based on the semantic tags of the target teaching, determine at least one second spatial coordinate tag; The teaching element corresponding to the teaching element identifier that matches the second timestamp label and the second spatial coordinate label is taken as the target teaching element.
[0008] In some embodiments, generating at least one branch instructional video based on target instructional elements includes: Obtain the target knowledge points corresponding to the target teaching elements; Obtain a structured script for the target knowledge point, wherein the structured script corresponds to multiple ordered atomic step units, and the atomic step unit includes at least one set of element descriptions and / or a set of highlighted keywords identified by a teaching element. Based on the set of element descriptions and / or the set of highlighted keywords, branch teaching videos are generated in real time. Each branch teaching video includes a teaching element corresponding to at least one rendered teaching element identifier.
[0009] In some embodiments, after generating at least one branch instructional video based on the target instructional elements, the method further includes: Using at least one first frame of a real-time teaching video as the starting frame, at least one second frame of at least one branch of a teaching video representing at least one target teaching element is displayed on the graphical user interface of the teaching platform.
[0010] In some embodiments, the first screen frame includes at least one of the following: the current frame of the real-time teaching video being displayed when the teaching interaction operation is received, or the end frame of the teaching step to which the target teaching element belongs, or the connecting frame determined according to the relevance between the target teaching element and the teaching content. The aforementioned second frame is generated or obtained based on the visual element status, text layout, audio context, and semantic description information of the target teaching elements in the first frame.
[0011] In some embodiments, after generating at least one branch instructional video based on the target instructional elements, the method further includes: After displaying the last first frame corresponding to the teaching element being explained in the live teaching video, at least one second frame of the branch teaching video is displayed.
[0012] In some embodiments, prior to generating at least one branch instructional video based on the target instructional elements, the method further includes: Generate a connecting instructional video that includes at least one third-view frame, wherein the connecting instructional video is used to connect branch instructional videos and real-time instructional videos; Show connecting instructional videos before the branch instructional videos.
[0013] In some embodiments, the target teaching element is a knowledge object in a real-time teaching video.
[0014] Secondly, embodiments of this application provide a teaching interaction device, the device comprising: An operation receiving module is used to receive at least one teaching interaction operation for a real-time teaching video, wherein the real-time teaching video includes at least one first frame, the first frame includes at least one teaching element identifier, each teaching element identifier has a multi-dimensional index, the multi-dimensional index includes teaching semantic tags, timestamp tags and spatial coordinate tags. The element determination module is used to determine at least one target teaching element corresponding to the teaching interaction operation based on a multi-dimensional index. The video generation module is used to generate at least one branch teaching video based on the target teaching elements.
[0015] Thirdly, embodiments of this application also provide an electronic device, including a memory storing a computer program, which, when executed by a processor, causes the processor to execute any of the teaching interaction methods provided in embodiments of this application.
[0016] Fourthly, embodiments of this application also provide a computer-readable storage medium including a computer program, which, when run on an electronic device, causes the electronic device to perform any of the teaching interaction methods provided in embodiments of this application.
[0017] Fifthly, embodiments of this application also provide a computer program product, including a computer program stored in a computer-readable storage medium; when a processor of an electronic device reads the computer program from the computer-readable storage medium, the processor executes the computer program, causing the electronic device to perform the steps of any of the teaching interaction methods provided in embodiments of this application.
[0018] In this embodiment, by receiving at least one interactive teaching operation for a real-time teaching video, wherein the real-time teaching video includes at least one first frame, and each first frame includes at least one teaching element identifier, and each teaching element identifier has a multi-dimensional index, including a teaching semantic tag, a timestamp tag, and a spatial coordinate tag; based on the multi-dimensional index, at least one target teaching element corresponding to the interactive teaching operation is determined; and at least one branch teaching video is generated based on the target teaching element. Thus, when a user encounters difficulties while watching the real-time teaching video, by combining the user's interactive teaching operation and the multi-dimensional index, the target teaching element and the corresponding first frame are determined, and a branch teaching video with a continuous context of the target teaching element is inserted or displayed after the first frame, thereby improving the teaching effectiveness of the teaching video. Attached Figure Description
[0019] To more clearly illustrate the technical solutions in the embodiments of this application, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying 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.
[0020] Figure 1 This is a schematic diagram of an implementation environment scenario for the teaching interaction method provided in this application embodiment; Figure 2 This is a schematic flowchart of one embodiment of the teaching interaction method provided in this application. Figure 3a This is a schematic diagram of a graphical user interface for the teaching interaction method provided in the embodiments of this application; Figure 3b This is another graphical user interface diagram of the teaching interaction method provided in the embodiments of this application; Figure 3c This is another graphical user interface diagram of the teaching interaction method provided in the embodiments of this application; Figure 4a This is an interactive schematic diagram of a teaching interaction method provided in the embodiments of this application; Figure 4b This is another interactive schematic diagram of the teaching interaction method provided in the embodiments of this application; Figure 4c This is another interactive schematic diagram of the teaching interaction method provided in the embodiments of this application; Figure 4d This is another interactive schematic diagram of the teaching interaction method provided in the embodiments of this application; Figure 4eThis is another interactive schematic diagram of the teaching interaction method provided in the embodiments of this application; Figure 4f This is another interactive schematic diagram of the teaching interaction method provided in the embodiments of this application; Figure 4g This is another interactive schematic diagram of the teaching interaction method provided in the embodiments of this application; Figure 4h This is another interactive schematic diagram of the teaching interaction method provided in the embodiments of this application; Figure 4i This is another interactive schematic diagram of the teaching interaction method provided in the embodiments of this application; Figure 4j This is another interactive schematic diagram of the teaching interaction method provided in the embodiments of this application; Figure 4k This is another interactive schematic diagram of the teaching interaction method provided in the embodiments of this application; Figure 4l This is another interactive schematic diagram of the teaching interaction method provided in the embodiments of this application; Figure 4m This is another interactive schematic diagram of the teaching interaction method provided in the embodiments of this application; Figure 5 This is a schematic diagram of the structure of the teaching interactive device provided in the embodiments of this application; Figure 6 This is a schematic diagram of the structure of the electronic device provided in the embodiments of this application. Detailed Implementation
[0021] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.
[0022] Before providing a detailed explanation of the embodiments of this application, some terms involved in the embodiments of this application will be explained.
[0023] In the description of the embodiments of this application, the terms "first," "second," etc., may be used herein to describe various concepts, but unless specifically stated otherwise, these concepts are not limited by these terms. These terms are used only to distinguish one concept from another. 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 device that includes 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 these processes, methods, products, or devices.
[0024] This application provides a teaching interaction method, apparatus, electronic device, computer-readable storage medium, and computer program product. Specifically, the teaching interaction method of this application can be executed by an electronic device, which can be a terminal or a server. The terminal can be a smartphone, tablet, laptop, touch screen, game console, personal computer (PC), personal digital assistant (PDA), or other terminal device. The terminal can also include a client, which can be a teaching platform client, a browser client carrying an online real-time teaching platform, or an instant messaging client. The server can be an independent physical server, a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides 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, content delivery networks (CDNs), and big data and artificial intelligence platforms.
[0025] For example, this electronic device is described using a terminal as an example; please refer to [link / reference]. Figure 1 , Figure 1 This is a schematic diagram of an implementation environment scenario for the teaching interaction method provided in this application embodiment. The terminal provides an online real-time teaching platform, through which the following steps are performed: Step 101: Receive at least one teaching interaction operation for the real-time teaching video, wherein the real-time teaching video includes at least one first screen frame, the first screen frame includes at least one teaching element identifier, each teaching element identifier has a multi-dimensional index, the multi-dimensional index includes teaching semantic tags, timestamp tags and spatial coordinate tags. Step 102: Based on the multidimensional index, determine at least one target teaching element corresponding to the teaching interaction operation; Step 103: Generate at least one branch teaching video based on the target teaching elements.
[0026] Based on the problems mentioned in the background art, embodiments of this application provide a teaching interaction method, device, electronic device, computer-readable storage medium, and computer program product. When a user encounters difficulties while watching a real-time teaching video, the system can determine the target teaching element and its corresponding first frame by combining the user's interactive operations on the real-time teaching video and multi-dimensional indexing. Then, a branch teaching video with a continuous context of the target teaching element can be inserted or displayed after the first frame to improve the teaching effect of the teaching video.
[0027] The following is a detailed description in conjunction with the accompanying drawings. It should be noted that the order of description of the following embodiments is not intended to limit the preferred order of the embodiments. Although a logical order is shown in the flowcharts, in some cases, the steps shown or described may be performed in a different order than that shown in the drawings.
[0028] In this embodiment, a terminal is used as an example for illustration. This embodiment provides a teaching interaction method, which is applied to an online real-time teaching platform, such as... Figure 2 As shown, the specific process of this interactive teaching method can be as follows: Step 201: Receive at least one teaching interaction operation for the real-time teaching video, wherein the real-time teaching video includes at least one first screen frame, the first screen frame includes at least one teaching element identifier, each teaching element identifier has a multi-dimensional index, the multi-dimensional index includes teaching semantic tags, timestamp tags and spatial coordinate tags.
[0029] Real-time teaching videos refer to audio and video data streams containing teaching content that are played on the graphical user interface provided by an online real-time teaching platform. The audio and video data streams contained in the teaching videos are dynamically generated and played synchronously based on real-time rendering technology.
[0030] The teaching platform refers to a software system or application used to provide educational services or assist teaching activities, such as a browser-based online learning management system, desktop applications, or mobile applications. The platform can run on, but is not limited to, smartphones, tablets, personal computers, laptops, interactive smart tablets, or virtual reality / augmented reality devices. The teaching platform supports the generation, management, and display of teaching content and can also be configured with other functions such as user management and course management; no restrictions are placed here.
[0031] The graphical user interface (GUI) refers to the layout of the teaching platform displayed on the terminal device's screen, allowing users to visually perceive and interact with it. This interface uses graphical elements such as windows, icons, menus, and buttons to display information and respond to user input commands (such as clicking, dragging, touch, and voice).
[0032] Among them, interactive teaching operations can refer to the active operation behavior initiated by the user through the input device for the target teaching element in the real-time teaching video. The system recognizes the active operation behavior and triggers the invocation or display of additional teaching content associated with the target teaching element.
[0033] The first frame refers to the teaching frame in the real-time teaching video.
[0034] Among them, teaching element identifiers (also known as visual element identifiers) refer to digital identification information that uniquely marks teaching elements in real-time teaching videos. Each teaching element identifier corresponds to at least one teaching element in the teaching screen and is used to identify and locate the teaching element during interaction.
[0035] It should be noted that each teaching element identifier has a multi-dimensional index.
[0036] A multidimensional index refers to structured index data that identifies teaching elements based on their identifiers. A multidimensional index can include any combination of tags, such as teaching semantic tags, timestamp tags, and spatial coordinate tags.
[0037] The instructional semantic tag indicates the instructional semantics of the instructional element identified by the instructional element identifier. The timestamp tag indicates the timestamp information of the instructional element identified by the instructional element identifier (such as the start timestamp and / or the end timestamp of the instructional element's appearance). The spatial coordinate tag indicates the coordinate position of the instructional element identified by the instructional element identifier within the instructional screen.
[0038] Understandably, during the initial generation phase of the instructional video, the system can pre-establish structured index data for each important visual element (such as formulas, graphs, keywords, and highlighted areas) in each video frame. This means that each instructional element is identified by a multi-dimensional index. This multi-dimensional index includes the corresponding instructional semantic tags, timestamp tags, and spatial coordinate tags for each visual element.
[0039] It should be noted that existing instructional videos typically only support linear playback controls such as pause, fast forward, and rewind. Even if a user has questions about a formula, graph, or keyword in the current frame, it is impossible to generate or insert supplementary explanations in real time based on the specific frame and teaching element currently viewed by the user. This application, however, allows the system to determine the target teaching element and its corresponding first frame based on user interaction and the aforementioned multi-dimensional index. It then inserts or displays branch instructional videos in a context continuous with the target teaching element after that first frame, thereby improving the teaching effectiveness of the instructional videos.
[0040] It should be noted that the specific interactive methods for teaching operations may include, but are not limited to, at least one of touch, circle, or voice, and the specific methods can be adjusted according to the actual situation, without any restrictions here.
[0041] For example, interactive teaching operations include touch selections such as single click, long press, double click, and swipe on a touchscreen (i.e., input device).
[0042] For example, interactive teaching operations include hovering, clicking, selecting, and drawing based on a mouse or touchpad (i.e., input devices).
[0043] For example, interactive teaching operations include voice commands (such as "explain this"), or text and voice information input starting from a certain frame, with the target teaching element corresponding to the voice command, text, or voice information being the content that the user needs to explain in detail. Or specific interactive operations such as gesture recognition operations (such as pointing to a specific area).
[0044] Among them, interactive teaching operations include two key elements: the object of operation (i.e. the target teaching element) and the type of operation (such as interactive operations such as touch, circle, or voice).
[0045] Step 202: Based on the multidimensional index, determine at least one target teaching element corresponding to the teaching interaction operation.
[0046] In this context, "target teaching elements" refers to the teaching elements in a real-time teaching video that correspond to the interactive teaching operations. A teaching element is a basic visual unit within a teaching video that has pedagogical significance (or specific teaching meaning or function) and is used to carry and convey teaching content information, distinct from the video's background interface or irrelevant decorative elements. These teaching elements can include, but are not limited to, knowledge points, concepts, formulas (such as mathematical and physical formulas), diagrams (such as experimental setup diagrams), keyframe images (such as specific objects captured in a biology video, like cell models), or specific teaching objects (such as highlighted areas), or corresponding teaching subtitles in the teaching video, etc. There are no restrictions here.
[0047] In some embodiments, a target teaching element refers to a knowledge object in a real-time teaching video. A knowledge object is the smallest logical unit or entity element in a teaching video that carries specific teaching content; it is a visual and logical carrier that can be used to convey specific knowledge points, teaching information, or attract user attention. Knowledge objects may include, but are not limited to, formulas, graphics, and keywords.
[0048] It is readily understood that the real-time teaching video mentioned in this application is a temporal data stream composed of consecutive video frames, while the knowledge object is a key content segment in the video stream that is identified, labeled, or interacted with. A real-time teaching video may contain at least one knowledge object, and different knowledge objects have different start and end times in the video.
[0049] Step 203: Generate at least one branch teaching video based on the target teaching elements.
[0050] Among them, branch teaching videos refer to audio and video content used to supplement or explain the target teaching elements in detail. Branch teaching videos can be pre-recorded explanatory segments (such as micro-lesson videos pre-recorded by teachers for the target teaching element) or real-time generated dynamic explanatory videos (such as automatically generated animated demonstrations, AI-generated voice and text explanations, or real-time Q&A video streams initiated by teachers), used to elaborate on the knowledge points involved in the target teaching element.
[0051] Understandably, one difference between branch teaching videos and original teaching videos (i.e., real-time teaching videos) is that branch teaching videos have finer content granularity, focusing specifically on specific teaching elements (i.e., target teaching elements). Their playback format is flexible, and they can cover the original teaching videos and play them in a new window, or be embedded as picture-in-picture, or inserted into the original teaching videos for seamless playback.
[0052] For example, a user is watching a live teaching video playing in a window through a teaching platform on a terminal device. When the teaching video reaches a key knowledge point, if the user has questions about specific content on the screen or needs to learn more, the following interactive process can be executed: On the video screen of this window, the user selects a specific teaching element (e.g., formula A displayed in the video PowerPoint presentation) by touching it with their finger or clicking it with the mouse. The teaching platform's client detects this interaction and identifies the target object (i.e., the target teaching element) based on the location coordinates or object identifier of the interaction. The system then generates a corresponding explanatory video (e.g., a 3-minute animation explaining the principle of formula A in detail). Subsequently, the system controls the display of this explanatory video (i.e., the branch teaching video) on the graphical user interface. In this way, through this scenario, users can overcome the limitations of linear playback and engage in "point-and-read" deep learning of teaching elements they don't understand, significantly improving the interactivity and teaching effectiveness of the teaching videos.
[0053] As can be seen from the above, the teaching interaction method of this embodiment receives at least one teaching interaction operation for a real-time teaching video. The real-time teaching video includes at least one first frame, and each first frame includes at least one teaching element identifier. Each teaching element identifier has a multi-dimensional index, which includes a teaching semantic tag, a timestamp tag, and a spatial coordinate tag. Based on the multi-dimensional index, at least one target teaching element corresponding to the teaching interaction operation is determined. At least one branch teaching video is generated based on the target teaching element. Thus, when a user encounters difficulties while watching the real-time teaching video, the target teaching element and its corresponding first frame are determined by combining the user's teaching interaction operation and the multi-dimensional index. A branch teaching video with a continuous context of the target teaching element is then inserted or displayed after the first frame, thereby improving the teaching effectiveness of the teaching video.
[0054] Optionally, the process of "determining at least one target teaching element corresponding to the teaching interaction operation based on the multidimensional index" mentioned above may include: The first frame corresponding to the interactive teaching operation is used as the interactive frame. Determine the video timestamps of the interactive screen frames, and the interactive coordinates of the teaching interactive operations on the interactive screen frames; Based on the multidimensional index, the first timestamp label corresponding to the video timestamp and the first spatial coordinate label corresponding to the interaction coordinates are determined. The teaching element corresponding to the teaching element identifier that matches the first timestamp label and the first spatial coordinate label is taken as the target teaching element.
[0055] The interactive screen frame includes at least one first screen frame corresponding to the teaching interactive operation.
[0056] The first timestamp label is used to indicate the timestamp label that matches the video timestamp in the timestamp labels of the multidimensional index.
[0057] The first spatial coordinate label is used to indicate the spatial coordinate label that matches the interactive coordinate in the timestamp label of the multidimensional index.
[0058] For example, when a user performs a selection operation (i.e., a teaching interaction operation) in a real-time teaching video, the system directly queries the structured index data based on the coordinate information generated by the selection operation and the current playback time, quickly retrieves and locates the corresponding target teaching element, and obtains its semantic description information (such as "multiplication formula: 4×3=12").
[0059] In this way, by combining the video timestamps of the interactive screen frames and the interactive coordinates of the teaching interaction operations on the interactive screen frames, the target teaching element and its semantic description information can be quickly located, thereby improving the generation efficiency of branch teaching videos for the target teaching element.
[0060] Optionally, the process of "determining at least one target teaching element corresponding to the teaching interaction operation based on the multidimensional index" may further include: If the teaching interaction is voice, determine the corresponding interaction timestamp and interaction semantics; Based on the multidimensional index, the second timestamp label corresponding to the interaction timestamp and the target teaching semantic label corresponding to the interaction semantic are determined. Based on the semantic tags of the target teaching, determine at least one second spatial coordinate tag; The teaching element corresponding to the teaching element identifier that matches the second timestamp label and the second spatial coordinate label is taken as the target teaching element.
[0061] The interaction timestamp is used to indicate the timestamp of the teaching video playback when the corresponding voice is initiated for the teaching interaction operation.
[0062] Interactive semantics refers to semantic description information obtained based on speech recognition. Interactive semantics can be obtained through speech recognition, and the speech recognition method can be adjusted according to the actual situation; no restrictions are imposed here.
[0063] The second timestamp label is used to indicate the timestamp label in the multidimensional index that matches the interaction timestamp.
[0064] Among them, the target instructional semantic tag is used to indicate the instructional semantic tag that matches the interaction semantic tag in the multidimensional index of instructional semantic tags.
[0065] The second spatial coordinate label is used to indicate the spatial coordinate label in the multidimensional index that is related to the target teaching semantic label.
[0066] For example, when a user initiates a voice command (such as "explain this") during the playback of a real-time teaching video, the system directly queries the structured index data based on the interaction timestamp and interaction semantics indicated by the voice command, quickly retrieves and locates the corresponding target teaching element, and obtains its spatial coordinate information.
[0067] In this way, the spatial coordinates of teaching elements associated with the interactive semantics of speech can be determined in the teaching interaction operation. Then, by combining the interactive timestamp corresponding to the speech with the spatial coordinates, the target teaching element can be quickly located, thereby improving the generation efficiency of branch teaching videos for the target teaching element.
[0068] It should be noted that the method of determining at least one target teaching element corresponding to the teaching interaction operation based on the multidimensional index is not limited to the two schemes mentioned above. The specific method can be adjusted according to the structured data contained in the multidimensional index and the actual situation, and no restrictions are imposed here.
[0069] In some embodiments, further interaction can be performed in the branch teaching videos to achieve hierarchical and multi-dimensional display of teaching content. The above-mentioned teaching interaction method further includes: receiving at least one new teaching interaction operation for the branch teaching video, determining at least one new target teaching element corresponding to the new teaching interaction operation, and generating at least one new branch teaching video at the next level based on the new target teaching element.
[0070] The explanations of the new interactive teaching operations, new target teaching elements, and new branch teaching videos can be found in the above embodiments, with the only difference being that the videos in question are branch teaching videos. Specifically, a new target teaching element refers to the teaching element corresponding to a new interactive teaching operation within a branch teaching video. A new target teaching element refers to a knowledge object within a branch teaching video. A new interactive teaching operation refers to an active operation initiated by a user through an input device targeting a new target teaching element within a branch teaching video; the system recognizes this active operation and triggers the invocation or display of additional teaching content associated with that second teaching element.
[0071] It should be noted that in the teaching interaction method, a limit is set on the number of interaction operations for the initial branch teaching video (i.e., limiting the nesting level of branch teaching videos, for example, a maximum of 3 nestings). The initial branch teaching video refers to the branch teaching video triggered by the teaching video. In the teaching interaction method, a limit is set on the number of interaction operations for the same teaching element (i.e., limiting the same teaching element to a maximum of 5 interactions). This prevents logical infinite loops and path loss, ensures the robustness of system operation, optimizes system resource scheduling, and improves the rendering performance of terminal devices. The system can maintain a branch playback state stack. Each time a branch teaching video is entered, the source video identifier, source frame, source playback time, window state, volume state, target teaching element identifier, and the number of interactions are written to the state stack; when the current branch teaching video finishes playing, the system pops the previous playback state from the state stack and restores to the corresponding frame of the previous branch teaching video or the original teaching video. In this way, path loss caused by multi-level branch interactions can be avoided.
[0072] It is understandable that there are various ways to present branch teaching videos, and the specific methods can be adjusted according to the actual situation; no restrictions are imposed here.
[0073] In some embodiments, branch instructional videos may be displayed in the first sub-window of the graphical user interface.
[0074] The first sub-window refers to a specific display area or view container within the graphical user interface. The first sub-window is configured specifically to carry and render the video stream data of the instructional video.
[0075] Specifically, the step "displaying branch teaching videos in the first sub-window of the graphical user interface" may include: switching the live teaching video displayed in the first sub-window to the branch teaching video.
[0076] For example, during the stage of displaying a real-time teaching video through the first sub-window, the user is watching the real-time teaching video playing in the first sub-window; assuming that the video screen displays a teaching video frame that includes at least formula A, in response to the user's teaching interaction operation on formula A, the stage of displaying a branch teaching video through the first sub-window is entered, that is, the original video screen in the first sub-window is replaced by the video screen of the branch teaching video for formula A. After the tutorial video for the branch of formula A is displayed in the first sub-window, the subsequent content of the original tutorial video will automatically resume playing in the first sub-window.
[0077] In this way, the problem of interruption of user visual focus caused by page jumps or pop-up windows in existing technologies can be avoided, effectively maintaining the user's learning focus; at the same time, by reusing the display area of the first sub-window, the hierarchical complexity of the graphical user interface is reduced, and the system resource consumption caused by multi-window rendering on the terminal device is reduced; in addition, this method realizes non-linear knowledge acquisition based on teaching elements, significantly improving the efficiency of human-computer interaction.
[0078] In some embodiments, the graphical user interface further includes a second sub-window.
[0079] The second sub-window refers to a specific display area or view container within the graphical user interface. This second sub-window is configured specifically to hold and render the video stream data for the branch teaching videos. Unlike the first sub-window, the second sub-window can be a pop-up window independent of the first, or a small window in a fixed position within the graphical user interface; there are no restrictions here.
[0080] For example, such as Figure 3a , Figure 3b and Figure 3c As shown, the first sub-window 301 of the graphical user interface 300 on the teaching platform displays real-time teaching videos. In response to interactive teaching operations on the real-time teaching videos, such as... Figure 3b and Figure 3cAs shown, at least one branch of the teaching video corresponding to at least one target teaching element is displayed in the second sub-window 302 of the graphical user interface. The second sub-window 302 can be a small window fixed in a position within the first sub-window 301, or it can be a pop-up window independent of the first sub-window 301.
[0081] In this embodiment, it may also include: displaying branch teaching videos in a second sub-window.
[0082] It should be noted that when displaying branch teaching videos through the second sub-window, the display status of the real-time teaching video in the first sub-window can be maintained or changed (such as pausing the display, lowering the playback volume, or continuing to display). For example, when displaying branch teaching videos through the second sub-window, you can control the first sub-window to pause the display of the real-time teaching video, or control the first sub-window to lower the playback volume or mute the real-time teaching video. The specific adjustments can be made according to the actual situation, and there are no restrictions here.
[0083] For example, to maintain the continuity of the instructional video while providing users with in-depth supplementary information, the system can control the first sub-window to lower its volume or mute the instructional video, while simultaneously playing a branch instructional video in the second sub-window. For instance, the first sub-window displays an instructional video about the "macro-historical process of XXX." When the instructional video mentions "Event XX," the user clicks on a map area in the first sub-window. In response to this interaction, the system controls the first sub-window to lower its volume or mute it, while simultaneously playing a branch instructional video about "Details of Event XX" in the second sub-window. The instructional video in the first sub-window continues playing, while the branch instructional video in the second sub-window plays synchronously, achieving multi-dimensional information complementarity between macro-level background and micro-level details.
[0084] For example, to reduce user cognitive load and avoid information overload, the first sub-window can pause the playback of the instructional video, while a branch instructional video plays in the second sub-window. For instance, a programming instructional video is displayed in the first sub-window. When the code reaches a complex algorithm function, the user clicks on the function name. In response to this interaction, the system pauses playback in the first sub-window and highlights the function's code block, while simultaneously playing an animated explanation of the algorithm's detailed principles in the second sub-window. By pausing the instructional video, the user can fully focus their attention on the in-depth analysis in the second sub-window, clearly understanding the hierarchical relationship between the instructional video as context and the branch instructional video as the core focus.
[0085] Thus, by constructing a collaborative architecture between a first sub-window (main window) and a second sub-window (auxiliary window), the main teaching flow (i.e., the audio and video stream corresponding to the real-time teaching video) and the branch teaching flow (i.e., the audio and video stream corresponding to the branch teaching video) are organically integrated. Furthermore, by flexibly controlling the playback state combination of the two windows (such as pausing the auxiliary window's playback in the main window, or continuing the auxiliary window's synchronous playback in the main window), a non-linear, three-dimensional teaching experience is constructed, enabling users to maintain the progress of the main course while conducting in-depth exploration and comparative learning of key knowledge points.
[0086] In some embodiments, regardless of whether the branch teaching video is displayed in the first sub-window or the second sub-window, the above teaching interaction method further includes: in response to the completion of the branch teaching video display, continuing to display the real-time teaching video.
[0087] In the case where the branch teaching video is displayed in the first sub-window, the step "in response to the completion of the branch teaching video display, continue to display the real-time teaching video" may include: in response to the completion of the branch teaching video display in the first sub-window, switch the branch teaching video displayed in the first sub-window to the real-time teaching video.
[0088] In the case where the branch teaching video is displayed in the second sub-window, the step "in response to the completion of the branch teaching video display, continue to display the real-time teaching video" may include: in response to the completion of the branch teaching video display in the second sub-window, close the second sub-window and continue to display the real-time teaching video through the first sub-window.
[0089] Optionally, when the first sub-window is paused while displaying the branch teaching video through the second sub-window, the above teaching interaction method further includes: recording the target frame of the first sub-window where the real-time teaching video is paused. The step "closing the second sub-window and continuing to display the real-time teaching video through the first sub-window" may include: closing the second sub-window and continuing to display the real-time teaching video from the target frame through the first sub-window.
[0090] Optionally, when controlling the first sub-window to lower its playback volume or mute the real-time teaching video while displaying the branch teaching video through the second sub-window, the above teaching interaction method further includes: recording the playback volume of the real-time teaching video displayed in the first sub-window. The step "closing the second sub-window and continuing to display the real-time teaching video through the first sub-window" may include: closing the second sub-window, controlling the first sub-window to restore its playback volume and continue displaying the real-time teaching video.
[0091] In this way, by continuing to display the live teaching video after the branch teaching video has been shown, the teaching process can be automated and closed-loop managed, preventing interruptions in learning due to delays or forgetfulness caused by manual operation. In addition, by automatically taking over the switching of playback status, the manual operation steps required for users to resume teaching video playback (such as finding the progress bar, clicking play, etc.) are reduced, thus optimizing the operation path.
[0092] It is understood that in the teaching interaction method provided in this application, the teaching video can be generated in real time and presented in the form of an AI intelligent teacher. The real-time teaching video can teach knowledge or teaching content in other fields, such as animal encyclopedia, IoT device manufacturing, qualification certificate exam teaching videos, etc.
[0093] like Figure 4a , Figure 4b , Figure 4c , Figure 4d , Figure 4e , Figure 4f , Figure 4g , Figure 4h , Figure 4i as well as Figure 4j As shown, the real-time teaching video 41 is displayed on the system platform. The real-time teaching video 41 has at least one teaching element 411, which can be an image, text, color, etc.
[0094] The system platform also includes interactive controls 42 for user interaction with the video, which can include drawing, voice, text, etc.; optionally, it can also be a direct feedback button. When the AI teacher explains something and the student does not understand, they can directly click the feedback button. The system platform will adjust the content, pace, etc. of the real-time video based on the student's video interaction data.
[0095] Specifically, the system platform can also combine users' video interaction data and users' historical learning data to generate personalized, real-time teaching videos for users to meet their learning needs.
[0096] like Figure 4b As shown, users can directly circle and draw on the live teaching video, obtaining the circled result 421. When the system recognizes a teaching element that has been circled, such as... Figure 4c As shown, it will automatically identify at least one user interaction intent 422a and respond to the user's action on the interaction intent 422a.
[0097] In some embodiments, such as Figure 4dAs shown, in response to the user's interactive intent 422a, an intent trigger button 422b is generated in an area of the graphical user interface, and in response to the user's operation on the intent trigger button 422b, a branch tutorial video 45 is played on the graphical user interface.
[0098] Alternatively, the program can directly respond to the user's interactive intent and then play a branch tutorial video.
[0099] Optionally, the branch tutorial video 45 can be played directly after the user circles the image; there are no restrictions here.
[0100] In some embodiments, such as Figure 4d , Figure 4e as well as Figure 4f As shown, the system interface also includes a teaching step display area 43, which displays video breakdown information of the real-time teaching video 41.
[0101] Optionally, and understandably, video breakdown information for branch teaching video 45 may also be displayed.
[0102] In some embodiments, such as Figure 4e , 4f As shown, after playing branch tutorial video 45, as... Figure 4g As shown, the live teaching video 41 can continue to play, and the user can continue to be informed of the knowledge points covered in the original live teaching video 41.
[0103] Optionally, playback can be resumed by the user or automatically by the system playing the original live teaching video 41; this is not limited here.
[0104] In some embodiments, such as Figure 4h As shown, the method of this application can also respond to the user's continued interaction on the branch teaching video, such as circling or drawing to ask questions to the AI intelligent teacher, or as taking notes, or playing the branch teaching video.
[0105] In some embodiments, such as Figure 4i , Figure 4j As shown, the method of this application can also directly respond to the user's video interaction behavior, and only respond to the user's teaching elements in the teaching video.
[0106] It is understandable that, in response to the user's teaching interaction, the system displays at least one explanation of at least one target teaching element corresponding to the teaching interaction. This explanation may refer to subtitles, audio information, changes in the style of teaching elements, etc., and there are no restrictions here.
[0107] Specifically, such as Figure 4i and Figure 4jAs shown, the system platform responds in real time to text questions entered by the user regarding at least one target teaching element, and answers the user's questions about the target teaching element through voice and / or subtitles.
[0108] In some embodiments, this application provides a teaching interaction method that can be applied to an online teaching platform to display generated real-time teaching videos on the platform; in response to at least one teaching interaction operation by a user on the real-time teaching video, to display teaching content related to the target teaching element corresponding to the teaching interaction operation in real time.
[0109] like Figure 4k , Figure 4l as well as Figure 4m As shown, the real-time teaching video 41 is displayed in the teaching video display area on the graphical user interface, which also includes interactive controls 42 and a display area 43.
[0110] Display area 43 can display content related to the target teaching elements.
[0111] Specifically, it listens for user touch events or mouse events, text input information and other teaching interaction operations, and calculates the teaching elements corresponding to the teaching interaction operations in real time; for example, if it is a user's drawing event, it can record the selection area drawn by the user, calculate the relative coordinates of the selection area in the video screen in real time, and extract the selection area information or extract the image information of the video frame together. Then, the content recognition of the selected area is performed to identify the user's intent. If it is text input, the model can be used to identify the user's intent, so that the trained model can generate teaching content information related to the teaching content and display it in real time on the display area 43.
[0112] Optionally, the system can also receive the current timestamp of the video and the user's intent, match the teaching elements and other information stored in the background based on the timestamp information, and then call the large model based on the teaching elements to generate corresponding display content to be displayed in the display area 43.
[0113] Other implementation methods will not be elaborated here.
[0114] This application proposes a method for generating intelligent teaching content based on interactive video. By enabling users to select specific teaching elements within the video frame and input user-defined intents, the method achieves fully automated interaction, synchronously generating matching teaching content in the side area. The overall solution is stable, has low latency, and strong compatibility, effectively connecting the technical links of video playback, visual annotation, intelligent content generation, and interactive display, making it suitable for various teaching scenarios such as online teaching, online courses, and courseware preparation.
[0115] Furthermore, the designated target teaching elements in the real-time teaching video 41 can change their display style according to the user's teaching interaction to make visual distinctions and enhancements, thereby improving the user's ability to remember.
[0116] Thus, this application embodiment supports further interactive operations within branch teaching videos to achieve a hierarchical and multi-dimensional display of teaching content. By constructing a three-dimensional knowledge learning path, users can freely move between "teaching videos - branch teaching videos - sub-branch teaching videos," realizing a progressive learning process from macro-level overviews to micro-level principles, satisfying users' needs for in-depth exploration of knowledge points. Through nested interactions, the system can dynamically provide auxiliary information of different granularities based on user feedback or operations on branch content, solving the problem that traditional video teaching often struggles to cater to all users in terms of content depth. By directly providing interactive entry points for sub-elements within branch teaching videos, users can obtain explanations of basic concepts without leaving the current learning context, ensuring the continuity and fluency of thought during deep learning.
[0117] In some embodiments, the process of "determining at least one target teaching element corresponding to the teaching interaction operation" may include: displaying teaching element explanation prompts on a graphical user interface, including at least one teaching element corresponding to the teaching interaction operation; and determining at least one target teaching element corresponding to the confirmation operation in response to a confirmation operation of the teaching element explanation prompts.
[0118] The instructional element explanation prompts are used to indicate at least one instructional element that the user can select. The presentation of these prompts can take various forms, including but not limited to floating menus, sidebar lists, highlighted label groups, or speech bubbles; no restrictions are placed here.
[0119] Specifically, at least one teaching element corresponding to the teaching interaction operation is the teaching element located at the operation position in the teaching video. The target teaching element is a specific teaching element that the system determines as the final processing object after the user selects it from at least one teaching element corresponding to the teaching interaction operation through the teaching element explanation prompts, and is used to trigger subsequent branch teaching video display operations.
[0120] For example, to accurately identify user intent and avoid ambiguity among multiple teaching elements, the graphical user interface can be controlled to display explanatory prompts for the teaching elements, allowing the user to select the target teaching element from multiple candidate elements. For instance, in the first sub-window playing a teaching video about biological cell structures, the user uses a selection gesture to simultaneously select the organelles "mitochondria" and "ribosomes." In response to this selection, the system recognizes the presence of multiple teaching elements within the interactive area and displays prompts near the selected area (such as a pop-up list menu showing "1. Mitochondria" and "2. Ribosomes"). After the user selects "mitochondria" as the target teaching element, the system plays an explanatory video about the structure and function of mitochondria in the second sub-window.
[0121] In this way, by setting up prompts for teaching elements and a confirmation mechanism for target teaching elements, the technical problem of the system's inability to accurately respond when the selected area contains multiple objects, as in existing technologies, is solved. It gives users a second choice in complex scenarios, ensures the accuracy of branch teaching video pushes, avoids user confusion caused by system misjudgments playing irrelevant videos, and significantly improves the accuracy and satisfaction of human-computer interaction.
[0122] Specifically, the process of generating instructional element explanation prompts can be as follows: In response to interactive operations on real-time teaching videos, when the system identifies that the operation range of the interactive operation contains at least one teaching element, it generates instructional element explanation prompts that the user can select. There are various ways to generate instructional element explanation prompts that include the teaching element corresponding to the interactive operation, and the specific methods can be adjusted according to the actual situation; no restrictions are imposed here.
[0123] For example, based on the operation position of the teaching interaction, the semantic description information of at least one teaching element can be determined from the structured script corresponding to the teaching video. Based on the semantic description information of at least one teaching element, the teaching element explanation prompt information can be generated for display in the graphical user interface.
[0124] Understandably, during the initial generation phase of the instructional video, the system can pre-establish structured index data for each important visual element (such as formulas, graphs, keywords, and highlighted areas) in each frame of the instructional video. This index contains semantic tags, timestamps, and spatial coordinate information corresponding to each visual element.
[0125] When a user performs a selection operation (interactive teaching operation) in an instructional video, the system directly queries the structured index data based on the coordinate information generated by the selection operation and the current playback time, quickly retrieves and locates the corresponding target teaching element, and obtains its semantic description information (such as "multiplication formula: 4×3=12").
[0126] Thus, the above technical solution avoids the repetitive parsing and calculation of semantic information of teaching elements in the traditional recognition process, and directly utilizes the index relationship established in the generation stage to complete accurate matching, significantly improving recognition efficiency and accuracy. Essentially, this solution spatially extends and applies the structured script data from the teaching video generation stage. The structured script data includes the teaching element identifier, teaching semantic tag, element type, teaching step, start timestamp, end timestamp, intra-frame bounding box or polygonal region, hierarchical relationship, and whether it is interactive, etc., for each teaching element. After receiving a teaching interaction operation, the system can map the user's interaction coordinates on the screen to the teaching video frame coordinates, and combined with the current playback time, query the structured script for teaching elements that match the playback time and whose coordinate region coincides with the interaction position, thus obtaining the target teaching element. Alternatively, after receiving a teaching interaction operation, the system can determine the spatial coordinates of the teaching element associated with the interaction semantics triggered by the user's voice in the teaching interaction operation, and then quickly locate the target teaching element by combining the interaction timestamp corresponding to the voice and the spatial coordinates. The semantic information in the script is fixed in the form of pixel coordinates during the rendering stage. No additional semantic calculation or image recognition is required during the interaction recognition stage. The corresponding semantic tags can be retrieved simply by coordinate mapping.
[0127] For example, the video frame containing the teaching interaction operation in the real-time teaching video can be captured; based on the operation position of the teaching interaction operation, image recognition is performed on the video frame to obtain at least one teaching element corresponding to the teaching interaction operation; based on at least one teaching element corresponding to the teaching interaction operation, teaching element explanation prompt information is generated for display in the graphical user interface.
[0128] It should be noted that during the playback of the instructional video, when the user performs a selection operation, the system processes the current video frame containing the selected area in real time. It extracts the text content within the selected area using Optical Character Recognition (OCR) technology and extracts graphic feature information using image recognition technology. The recognition results are used as a semantic description of at least one instructional element corresponding to the interactive operation. Thus, by displaying a list of all interactive instructional elements within the operation's scope through instructional element explanation prompts, the system guides the user to confirm further, eliminating any ambiguity in the system's recognition.
[0129] In some embodiments, the number of target teaching elements can be adjusted according to actual conditions and is not limited here. For example, the number of target teaching elements may include one. In response to a confirmation operation on the explanation prompt information of a teaching element, the teaching element corresponding to the confirmation operation is used as the target teaching element to display at least one branch of the teaching video of the target teaching element. Alternatively, the number of target teaching elements may include multiple. In response to a confirmation operation on the explanation prompt information of a teaching element, multiple teaching elements corresponding to the confirmation operation are used as target teaching elements to display at least one branch of the teaching video of the target teaching element.
[0130] It should be noted that the number of branch instruction videos can be one or more. A branch instruction video explains at least one target instructional element. For example, a branch instruction video may explain one target instructional element, or it may explain multiple target instructional elements. When there are multiple branch instruction videos, they can be displayed sequentially on the graphical user interface. Specifically, one branch instruction video from the multiple branch instruction videos is displayed; after one branch instruction video is displayed, the other branch instruction videos from the multiple branch instruction videos are displayed, until all branch instruction videos are displayed.
[0131] It is understood that, in some embodiments, after generating at least one branch teaching video based on the target teaching element, the above-mentioned teaching interaction method may further include: using at least one first frame of the real-time teaching video as the starting frame, displaying at least one second frame of at least one branch teaching video of at least one target teaching element on the graphical user interface of the teaching platform.
[0132] The first frame refers to the teaching frame in the real-time teaching video, and the starting frame is a specific frame in the first frame that serves as the starting reference point for inserting branch teaching videos. It is used to mark the time node or reference image at which the branch teaching content begins to play.
[0133] The aforementioned first frame includes at least one of the following: the current frame of the real-time teaching video being displayed when the teaching interaction operation is received, or the end frame of the teaching step to which the target teaching element belongs, or the connecting frame determined according to the relevance between the target teaching element and the teaching content. The specific frame can be adjusted according to the actual situation and is not limited here.
[0134] The second frame refers to the branch teaching frame in the branch teaching video. The second frame is generated or obtained based on the visual element status, text layout, oral context and semantic description information of the target teaching element in the first frame. The specific process can be adjusted according to the actual situation and is not limited here.
[0135] It is understandable that the teaching frame in this branch can correspond to the aforementioned starting frame and be used to display the detailed explanation of the target teaching elements.
[0136] It is understandable that after a user circles or draws on at least one first frame of the teaching video to determine the target teaching element, the user can obtain or generate the branch teaching video corresponding to the target teaching element. This branch teaching video is also composed of multiple second video frames.
[0137] Using a specific first frame in the teaching video as a time reference, such as the first frame after the explanation of the teaching element being played is completed, at least one second frame of the branch teaching video corresponding to the target teaching element is displayed synchronously after the starting frame, so as to achieve precise alignment and linkage display of the main video and the branch video at the time node.
[0138] Understandably, the starting frame can be determined by at least one of the following methods: recognizing the progress of the instructional video, the degree of correlation between the instructional content and the target teaching elements, or the first frame within a specified time after the user has completed drawing.
[0139] For example, the technical solution of this application is described using the starting frame as the first frame after the content currently being explained in the teaching video has been completed: During the playback of English dialogue teaching videos in the playback window, when the teaching video plays to a specific dialogue frame (such as one containing slang expressions), the system recognizes that the user double-clicks the dialogue text on that specific dialogue frame. In response to the double-click operation, the system displays at least one second frame of the branch teaching video corresponding to that dialogue text (detailed explanation of slang usage) in the same playback window after the starting frame of the teaching video, achieving precise positioning and linkage at the context level.
[0140] This application achieves precise alignment and coordinated display of the main video and branch videos at time nodes by playing a teaching video in a playback window and responding to a user's drawing operation on at least one first frame of the teaching video. This is done by using a specific first frame of the teaching video as the starting frame and synchronously displaying at least one second frame of the branch teaching video corresponding to the target teaching element in the same playback window after the starting frame.
[0141] It should be noted that the timing of displaying at least one second frame of at least one branch teaching video of at least one target teaching element can be adjusted according to the actual situation, and there is no restriction here.
[0142] For example, after generating at least one branch teaching video based on the target teaching element, the above teaching interaction method may further include: after displaying the last first frame corresponding to the teaching element identifier being explained in the real-time teaching video, displaying at least one second frame of the branch teaching video.
[0143] For example, after generating at least one branch teaching video based on the target teaching element, the above teaching interaction method may further include: stopping the display of the current first frame corresponding to the teaching element identifier being explained in the real-time teaching video, and displaying at least one second frame of the branch teaching video.
[0144] In this way, the timing of the second frame can be set to suit different needs.
[0145] Understandably, in order to make video interaction smoother, this application also provides a teaching interaction method. After generating at least one branch teaching video based on the target teaching elements, the teaching interaction method further includes: generating a connecting teaching video including at least one third frame, wherein the connecting teaching video is used to connect the branch teaching video and the real-time teaching video; and displaying the connecting teaching video before the branch teaching video.
[0146] Among them, bridging instructional videos refer to transitional video content that is shown in advance before the playback of branch instructional videos. These videos are used to establish contextual connections, guide learning expectations, or smooth knowledge transitions, preventing users from experiencing cognitive gaps due to content jumps.
[0147] Specifically, in the graphical user interface, when the system responds to the user's teaching interaction and prepares to display a branch teaching video, at least one connecting teaching video is played before the branch teaching video to establish a logical bridge between the main video content and the branch content, so that the user can seamlessly connect to the in-depth explanation section.
[0148] It is understandable that the teaching video includes a start frame and an end frame. The start frame is the frame corresponding to the first second video frame of the branch teaching video, and the end frame is the frame corresponding to the last second video frame of the branch teaching video.
[0149] The third frame refers to the connecting video frame contained in the connecting teaching video; therefore, the connecting video frame can be inserted between the starting frame and the first second video frame, or between the ending frame and the last second video frame.
[0150] Specifically, at least one of the teaching elements or spoken content corresponding to the connecting video frame has a corresponding relationship with at least one of the teaching elements or spoken content in at least one of the starting frame, ending frame, first second screen frame, and last second screen frame.
[0151] It is understandable that at least one of the spoken text, teaching elements, etc., corresponding to the teaching video should correspond to the teaching video at the insertion position of the branch teaching video. This is not limited to a single frame, but can be a correspondence within a period of time in the teaching video at the insertion position.
[0152] It is understood that the correspondence obtained in this application refers to the connection between the two in terms of animation interaction, color, page layout, spoken text, and teaching elements.
[0153] This application improves the smoothness of video interaction and thus enhances the user experience by displaying at least one connecting instructional video before the branch instructional video.
[0154] In some embodiments, the process of "generating at least one branch instructional video based on the target instructional elements" may include: Obtain the target knowledge points corresponding to the target teaching elements; Obtain a structured script for the target knowledge point, wherein the structured script corresponds to multiple ordered atomic step units, and the atomic step unit includes at least one set of element descriptions and / or a set of highlighted keywords identified by a teaching element. Based on the set of element descriptions and / or the set of highlighted keywords, branch teaching videos are generated in real time. Each branch teaching video includes a teaching element corresponding to at least one rendered teaching element identifier.
[0155] In this context, a target knowledge point refers to a unit of teaching content that is associated with a target teaching element and has a complete teaching logic. One target teaching element can correspond to one or more target knowledge points, and multiple target teaching elements can all point to the same target knowledge point.
[0156] Among them, structured scripts refer to data-driven script files that are organized and arranged according to preset teaching logic and used to generate teaching videos.
[0157] Specifically, a structured script can include multiple ordered atomic step units, as well as logical connections between units (such as sequential execution, conditional branching, and loop explanation).
[0158] Structured scripts can be pre-stored in the teaching resource library or generated in real time based on target knowledge points; there are no restrictions here.
[0159] Among them, the atomized step unit refers to the smallest indivisible teaching step unit in the structured script, and each unit carries an independent teaching sub-objective.
[0160] The element description set refers to a multi-dimensional set of descriptive information used to describe the visual content corresponding to a teaching element identifier. It is used to provide visual restoration instructions for video rendering, enabling the rendering engine to reconstruct or present the corresponding teaching element based on the descriptive information.
[0161] It should be noted that the element description collection includes, but is not limited to, element type description, element content text, element visual style description, element animation effect description, element position and layout description, etc. The specific details can be adjusted according to the actual situation, and there are no restrictions here.
[0162] The highlighted keyword set refers to the set of text keywords that need to be visually highlighted in an atomic step unit, used to guide learners' attention, emphasize teaching points, and enhance information transmission efficiency.
[0163] It should be noted that the set of highlighted keywords includes, but is not limited to, color highlighting (such as yellow background, red text), bold text, underline marking, flashing prompts, borders, and other highlighting information.
[0164] For example, during the interactive teaching process, when a user issues an interactive teaching action to a live teaching video, the system first receives the action and determines its corresponding target teaching element. For instance, if a user is watching a live teaching video about the properties of right triangles and selects the Pythagorean theorem formula "a² + b² = c²" on the screen, the system identifies the teaching element identifier (also known as a visual element identifier) corresponding to the formula as the target teaching element. Subsequently, the system obtains the target knowledge point corresponding to this target teaching element, namely "derivation and application of the Pythagorean theorem," and further obtains the pre-stored structured script for this target knowledge point. This structured script contains multiple atomic step units arranged in an orderly manner according to the teaching logic, namely, introducing the concept of right triangles, demonstrating the derivation process of the area method, giving the formula expression, and providing examples of application scenarios. In the atomized step unit demonstrating the derivation process of the area method, the element description set includes graphic descriptions for rendering the square segmentation animation, text content of the area values, and visual style and layout information of the splicing diagram. Simultaneously, the highlighted keyword set for this unit contains text keywords such as "equal areas," "sponging," and "proof," which need to be highlighted with a yellow background and bolded red text. Based on the aforementioned element description set and highlighted keyword set, the system performs real-time rendering to generate a branch tutorial video. This branch tutorial video renders the square segmentation animation, changes in area values, the splicing diagram process, and the highlighted keywords such as "equal areas," thereby providing extended explanations of the Pythagorean theorem formula clicked by the user, helping the user to deeply understand the derivation principle of the theorem.
[0165] In this way, the technical path of "target knowledge points, structured scripts, atomic step units, element description sets / highlighted keyword sets, and real-time rendering" can be used to automate, structure, and make the interactive response of teaching videos real-time, thus solving the technical problem that users cannot obtain targeted extended content immediately after interaction in traditional teaching videos.
[0166] In some embodiments, the structured script for the knowledge point corresponding to the teaching element includes a speech sub-structured script and a visual element sub-structured script, wherein the speech sub-structured script is used to indicate the structured script related to the spoken lines, and the visual element sub-structured script is used to indicate the structured script related to the visual element.
[0167] Based on this, the process of generating branch teaching videos can include: generating an audio stream based on the speech substructure script; generating a video stream based on the visual element substructure script; and merging the audio stream and video stream based on the duration of the audio stream to obtain the branch teaching video.
[0168] The process of "generating a video stream based on a visual element substructured script" may include: generating multiple video frames that constitute the video stream based on a visual element substructured script; wherein the multiple video frames include a first video frame and a second video frame, the first video frame is obtained by rendering new content based on the second video frame, the first video frame is adjacent to the second video frame and follows the second video frame.
[0169] Optionally, the second video frame includes a placeholder, and the first video frame includes specified content filled on the placeholder, the specified content being obtained from the visual element substructured script.
[0170] For example, in the process of generating intelligent teaching videos, for interactive teaching scenarios such as fill-in-the-blank questions, it is necessary to realize dynamic backfilling and visual presentation of answers to simulate the interactive effect of teachers writing answers on-site in a real teaching environment. During the initial rendering stage of the question, the system identifies placeholder markers in the question text through regular expression matching, including but not limited to underscores "______", parentheses "()", or other predefined placeholder formats. The recognition results are recorded in the visual state stack, including the placeholder type, position index, and associated question context information. When the incremental visual state machine receives the fill_blank instruction, it parses the target answer text (such as "16") and backfilling timing parameters contained in the instruction. Based on the placeholder position index, the system directly locates the target node through JavaScript DOM operations without refreshing the page or re-rendering the overall content. A text replacement operation is performed, replacing the placeholder content with the answer text specified by the script. Preset visual styles are applied synchronously, including but not limited to font styles, color markings, and animation effects. The font style can use handwriting or chalk to simulate a realistic writing effect. Color markings can use an accent color different from the question text to highlight the answer. Animation effects can be applied such as word-by-word display, writing trajectory, or fade-in animation to simulate the timing of teachers filling in answers. This "in-place answering" technology fully preserves the contextual logic of the questions surrounding the placeholders during the replacement process, maintains the continuity of the DOM tree structure, avoids visual flickering or layout jumps caused by page repainting, and effectively simulates the immediacy of teacher-student interaction and the coherence of the teaching process. Compared to traditional video pre-recording solutions, the placeholder backfilling mechanism enables dynamic generation and real-time interaction of teaching content, supports control over the timing of answer backfilling based on user learning progress or personalized needs, and improves the flexibility and adaptability of teaching videos.
[0171] Optionally, the second video frame may include target content to be highlighted, and the first video frame may include visual identifiers to highlight the target content.
[0172] Specifically, the process of generating the first video frame may include: determining the target node corresponding to the target content in the document object tree corresponding to the second video frame; and generating the first video frame based on the target node.
[0173] For example, in the process of generating intelligent teaching videos, it is necessary to accurately highlight specific teaching content to achieve precise character-level highlighting. Specifically, the system injects accumulated state data (including keywords to be highlighted, highlighting timing, and style parameters) into an HTML template. This template uses a structured markup language to ensure that the teaching content is presented in a semantic form. A headless browser (such as Playwright) loads the rendered page at a preset viewport size (such as 1600×900 pixels). The KaTeX mathematical formula rendering engine completes parsing, ensuring that mathematical symbols are correctly displayed as operable DOM nodes. JavaScript embedded in the template calls the mark.js library to accurately locate target keywords in the Document Object Model (DOM) based on semantics. Regular expression lookahead assertions are used for boundary checks—checking the context before and after matching the target character to avoid mismatches. For example, when the independent number "2" needs to be highlighted, the system executes regular expression lookahead assertions to check whether the preceding digit of the number is "1" (i.e., whether it forms "12"). If a combination of numbers is detected, the match is skipped to avoid misidentification such as "highlighting the 2 in 12 when mentioning 2". After the highlighting style is applied, a screenshot is captured to generate a first video frame containing visual identifiers. This frame corresponds to the second video frame in the branch video that displays detailed content of the target, together forming a complete teaching guidance chain. In this way, the prominent visual identifiers presented in the first video frame (such as the highlighted keyword "2") correspond precisely to the detailed explanation content to be elaborated in the second video frame, allowing users to intuitively identify the subject of the branch video, achieving precise character-level highlighting.
[0174] To facilitate understanding of the above scheme, a specific embodiment will be used below to explain the generation of branch teaching videos.
[0175] In response to a teaching interaction operation on at least one target teaching element in a real-time teaching video, the system uses the timestamp of the user-triggered operation as a reference to locate the teaching step to which the timestamp belongs in the video's timeline metadata; if the user-triggered time point happens to fall in the transition area between two teaching steps, the system automatically snaps to the nearest adjacent time point of the step containing substantive teaching content. Meanwhile, the system extracts the complete cumulative state snapshot corresponding to the step from the incremental visual state stack (including all visual elements, highlights, annotations, etc. up to the step) as the context starting point for branch video generation. Based on the semantics of the content circled by the user and the context state of the current step, the system regards the circled content as a new and more focused "target question" and calls the structured script generation capability to generate a branch teaching script for the content in real time.
[0176] For example, if a user circles the formula "4×3", the system might generate a supplementary explanation script about "the meaning of multiplication—why multiplication is used instead of addition for each of the three sets of four books." This branch script then generates a branch video segment via the incremental rendering pipeline and inserts or seamlessly connects it to the corresponding time point in the original video, achieving incremental updates to the teaching video.
[0177] The incremental rendering pipeline achieves automated generation and synthesis of teaching content through multimodal collaborative processing. Its technical implementation steps include: audio temporal pre-calculation and metadata extraction, incremental visual state stack maintenance, precise highlighting based on DOM semantic positioning, dynamic answer backfilling mechanism, and multi-track automated synthesis.
[0178] In the step "Audio Timing Pre-computation and Metadata Extraction", the spoken lines for each step can be sent to a text-to-speech engine (such as Edge TTS, Azure TTS, or Alibaba CosyVoice) to generate the corresponding audio files; The system synchronously extracts the millisecond-level duration data of the audio segment as a time reference parameter for subsequent visual action synchronization. In the step "Audio Timing Pre-calculation and Metadata Extraction," the system maintains an incremental visual state machine in memory, containing the following accumulated state data: cumulative_visual_elements: A collection of historical visual elements (cards, arrows, formula text, etc.); cumulative_highlights: A collection of historical highlighted keywords; cumulative_circles: The set of historical circled values; current_fill_value: The current fill value; Each rendering step is incrementally updated based on the previous state, preserving all historical content and simulating the cumulative effect of blackboard writing in a real teaching scenario.
[0179] In the step "Precise Highlighting Based on DOM Semantic Location", accumulated state data can be injected into the HTML template and the headless browser (such as Playwright) can be used to load and render the page. After the KaTeX mathematical formula rendering engine completes the parsing, the mark.js library is called through JavaScript to locate the target keywords in the DOM tree based on semantics. Precise matching is performed using regular expression lookahead assertion technology - before matching the target number, its context is checked first to avoid mismatches (such as distinguishing between the independent number "2" and the number "2" in the combination number "12").
[0180] In the "Dynamic Answer Backfilling Mechanism" step, for fill-in-the-blank question scenarios, the system can identify placeholder markers in the question (such as "______" or "()"); when the state machine receives the fill_blank instruction, it can directly locate the DOM node through JavaScript, replace the placeholder content with the preset answer text, and apply handwritten style animation effects to achieve the visual presentation of "answering in place" while preserving the continuity of the context logic.
[0181] In the "Multi-track Automated Synthesis" step, smooth transitions can be achieved using FFmpeg's xfade filter to generate a blackboard animation video stream. Simultaneously, the audio files from all steps are concatenated into a complete audio track. Multi-track synthesis involves a visual layer (Track 1), a digital human layer (Track 2), and an audio layer (Track 3). The visual layer (Track 1) is configured to arrange screenshots from all steps according to audio duration, applying the xfade filter for smooth transitions to generate the blackboard animation video stream. The digital human layer (Track 2) is configured to use Alpha Blending technology to overlay the digital human teacher animation onto a designated area of the screen; the audio layer (Track 3) is configured to concatenate the TTS audio files from all steps to form a complete audio track. Finally, three-track alignment compression is performed, and the encoded output is a teaching video file in H.264 / MP4 format.
[0182] Thus, compared to the Canvas rendering solution, the DOM-based solution achieves precise character-level manipulation capabilities, supports the positioning and highlighting of independent text nodes, and breaks through the technical limitations of pixel-level editing.
[0183] To better implement the above methods, this application also provides a teaching interaction method applied to an online real-time teaching platform, the method including: Receive at least one teaching interaction operation for a real-time teaching video, wherein the real-time teaching video includes at least one first frame, the first frame includes at least one teaching element identifier, each teaching element identifier has a multi-dimensional index, the multi-dimensional index includes teaching semantic tags, timestamp tags and spatial coordinate tags. Based on multidimensional indexing, at least one target teaching element corresponding to the teaching interaction operation is identified. Generate at least one branch of instructional video based on the target teaching elements.
[0184] The teaching video in this branch can be an interactive teaching summary, which is generated based on the teaching video segment before the timestamp of the teaching video corresponding to the teaching interaction operation.
[0185] Understandably, the instructional video clip includes at least one knowledge point being explained, knowledge tags for each knowledge point, and the connections between the knowledge points. Interactive teaching operations can be automatically confirmed by the system based on the playback progress of the teaching video, or they can be manual operations or verbal commands from the user on the teaching video; among them, manual operations can refer to clicking, double-clicking, circling, taking screenshots, etc. Specifically, the interactive teaching summary is an interactive element generated based on the teaching content of the teaching video segment.
[0186] For example, the interactive teaching summary can be a digital human who engages in dialogue and conversation with students based on the teaching content in the aforementioned teaching video clips; For example, interactive teaching summaries can be generated from relevant examples based on the teaching content of teaching video clips; For example, the interactive teaching summary can also be a teaching control, which can be a separate page with at least two keywords generated based on the teaching content of the teaching video clip; Specifically, users will select keywords and sort them. When the selected keywords and their sorting are correct, it is confirmed that the student has mastered the knowledge points or thinking logic of the teaching video segment, so as to trigger the playback of the next teaching video segment. If the selected keywords and their order are correct, it indicates that the student has not mastered the teaching content.
[0187] This application achieves a deep assessment leap from knowledge memorization to logical understanding by conducting a structured knowledge reconstruction task with the user through video interaction after a learning phase. This solves the technical problem that traditional tests often focus on the memorization of isolated knowledge points and cannot effectively assess students' grasp of the logical relationships between knowledge points, problem-solving approaches, or narrative contexts. It forces users to actively reconstruct the knowledge framework in their minds, and the system evaluates higher-order thinking skills, such as analysis, synthesis, and logical sequencing, by checking whether the reconstructed logic is correct. When applied to intelligent learning machines, it can train students' understanding of knowledge points from the shallow memory dimension to the understanding and application dimension.
[0188] To better implement the above methods, this application also provides a teaching interaction device, which can be integrated into an electronic device, such as a computer device, which can be a terminal, server, or other similar device. The terminal can be a mobile phone, tablet computer, smart Bluetooth device, laptop computer, personal computer, or other similar device; the server can be a single server or a server cluster composed of multiple servers.
[0189] For example, in this embodiment, the method of this application embodiment will be described in detail by taking the integration of the teaching interaction device into the terminal as an example. This embodiment provides a teaching interaction device applied to an online real-time teaching platform, such as... Figure 5 As shown, the interactive teaching device may include: The operation receiving module 501 is used to receive at least one teaching interaction operation for the real-time teaching video, wherein the real-time teaching video includes at least one first screen frame, the first screen frame includes at least one teaching element identifier, each teaching element identifier has a multi-dimensional index, the multi-dimensional index includes teaching semantic tags, timestamp tags and spatial coordinate tags. The element determination module 502 is used to determine at least one target teaching element corresponding to the teaching interaction operation based on the multidimensional index. The video generation module 503 is used to generate at least one branch teaching video based on the target teaching elements.
[0190] In some embodiments, the above-mentioned teaching interaction operation is at least one of touch, circle, or voice.
[0191] In some embodiments, the element determination module 502 includes: The frame determination unit is used to determine the first screen frame corresponding to the teaching interactive operation as the interactive screen frame. The first information determination unit is used to determine the video timestamp of the interactive screen frame and the interactive coordinates of the teaching interactive operation on the interactive screen frame. The second information determination unit is used to determine, based on the multidimensional index, the first timestamp label corresponding to the video timestamp and the first spatial coordinate label corresponding to the interaction coordinates; The first element determination unit is used to identify the teaching element corresponding to the teaching element identifier that matches the first timestamp label and the first spatial coordinate label as the target teaching element.
[0192] In some embodiments, the element determination module 502 includes: The third information determination unit is used to determine the interaction timestamp and interaction semantics corresponding to the voice if the teaching interaction operation is voice. The fourth information determination unit is used to determine the second timestamp label corresponding to the interaction timestamp and the target teaching semantic label corresponding to the interaction semantic based on the multidimensional index. The fifth information determination unit is used to determine at least one second spatial coordinate label based on the target teaching semantic label; The second element determination unit is used to identify the teaching element corresponding to the teaching element identifier that matches the second timestamp label and the second spatial coordinate label as the target teaching element.
[0193] In some embodiments, the video generation module 503 includes: The knowledge point acquisition unit is used to acquire the target knowledge points corresponding to the target teaching elements. The script acquisition unit is used to acquire the structured script of the target knowledge point. The structured script has multiple ordered atomic step units. Each atomic step unit includes at least one set of element descriptions and / or a set of highlighted keywords that identify a teaching element. The rendering unit is used to render and generate branch teaching videos in real time based on the element description set and / or the highlighted keyword set. The branch teaching videos include at least one teaching element corresponding to the rendered teaching element identifier.
[0194] In some embodiments, after the video generation module 503 described above, the following is also included: The first display unit is used to display at least one second frame of at least one branch of the teaching video of at least one target teaching element on the graphical user interface of the teaching platform, starting from at least one first frame of the real-time teaching video.
[0195] In some embodiments, the first screen frame includes at least one of the following: the current frame of the real-time teaching video being displayed when the teaching interaction operation is received, or the end frame of the teaching step to which the target teaching element belongs, or the connecting frame determined according to the relevance between the target teaching element and the teaching content. The aforementioned second frame is generated or obtained based on the visual element status, text layout, audio context, and semantic description information of the target teaching elements in the first frame.
[0196] In some embodiments, after the video generation module 503 described above, the following is also included: The second display unit is used to display at least one second frame of the branch teaching video after the last first frame corresponding to the teaching element identifier being explained in the real-time teaching video.
[0197] In some embodiments, prior to the video generation module 503 described above, the following is also included: A video generation unit is used to generate a connecting teaching video that includes at least one third-view frame, wherein the connecting teaching video is used to connect branch teaching videos and real-time teaching videos; The third presentation unit is used to display connecting teaching videos before the branch teaching videos.
[0198] In some embodiments, the target teaching element is a knowledge object in a real-time teaching video.
[0199] As described above, the teaching interaction device in this embodiment receives at least one teaching interaction operation for a real-time teaching video through the operation receiving module 501. The real-time teaching video includes at least one first frame, and each first frame includes at least one teaching element identifier. Each teaching element identifier has a multi-dimensional index, which includes a teaching semantic tag, a timestamp tag, and a spatial coordinate tag. The element determination module 502 determines at least one target teaching element corresponding to the teaching interaction operation based on the multi-dimensional index. The video generation module 503 generates at least one branch teaching video based on the target teaching element. Thus, when a user encounters difficulties while watching the real-time teaching video, the target teaching element and its corresponding first frame are determined by combining the user's teaching interaction operation and the multi-dimensional index. A branch teaching video with a continuous context of the target teaching element is then inserted or displayed after the first frame, thereby improving the teaching effectiveness of the teaching video.
[0200] Accordingly, this application also provides an electronic device, which can be a terminal, such as a smartphone, tablet computer, laptop computer, touch screen, game console, personal computer (PC), personal digital assistant (PDA), or other terminal device. Figure 6 As shown, Figure 6 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application. The electronic device 600 includes a processor 601 with one or more processing cores, a memory 602 with one or more computer-readable storage media, and a computer program stored on the memory 602 and executable on the processor. The processor 601 and the memory 602 are electrically connected. Those skilled in the art will understand that the electronic device structure shown in the figure does not constitute a limitation on the electronic device, and may include more or fewer components than shown, or combine certain components, or have different component arrangements.
[0201] The processor 601 is the control center of the electronic device 600. It connects various parts of the electronic device 600 through various interfaces and lines. By running or loading software programs and / or modules stored in the memory 602, and calling data stored in the memory 602, it performs various functions of the electronic device 600 and processes data, thereby monitoring the electronic device 600 as a whole.
[0202] In this embodiment, the processor 601 in the electronic device 600 loads the computer program corresponding to the process of one or more applications into the memory 602 according to the following steps, and the processor 601 runs the applications stored in the memory 602 to realize various functions: Receive at least one teaching interaction operation for a real-time teaching video, wherein the real-time teaching video includes at least one first frame, the first frame includes at least one teaching element identifier, each teaching element identifier has a multi-dimensional index, the multi-dimensional index includes teaching semantic tags, timestamp tags and spatial coordinate tags. Based on multidimensional indexing, at least one target teaching element corresponding to the teaching interaction operation is identified. Generate at least one branch of instructional video based on the target teaching elements.
[0203] Therefore, the electronic device 600 provided in this embodiment can bring the following technical effects: when a user encounters difficulties while watching a real-time teaching video, it can determine the target teaching element and the corresponding first frame by combining the user's teaching interaction operation and multi-dimensional index of the real-time teaching video, and then insert or connect and display a branch teaching video that is continuous in context with the target teaching element after the first frame, so as to improve the teaching effect of the teaching video.
[0204] For details on the implementation of each of the above operations, please refer to the previous examples, which will not be repeated here.
[0205] Optional, such as Figure 6 As shown, the electronic device 600 also includes: a touch display screen 603, a radio frequency circuit 604, an audio circuit 605, an input unit 606, and a power supply 607. The processor 601 is electrically connected to the touch display screen 603, the radio frequency circuit 604, the audio circuit 605, the input unit 606, and the power supply 607. Those skilled in the art will understand that... Figure 6 The electronic device structure shown does not constitute a limitation on the electronic device and may include more or fewer components than shown, or combine certain components, or have different component arrangements.
[0206] The touch display screen 603 can be used to display a graphical user interface (GUI) and receive operation commands generated by the user interacting with the GUI. The touch display screen 603 may include a display panel and a touch panel. The display panel can be used to display information input by the user or information provided to the user, as well as various graphical user interfaces of the electronic device. These graphical user interfaces can be composed of graphics, text, icons, video, and any combination thereof. Optionally, the display panel can be configured using a liquid crystal display (LCD), an organic light-emitting diode (OLED), or other similar devices. The touch panel can be used to collect touch operations performed by the user on or near it (such as operations performed by the user using a finger, stylus, or any suitable object or accessory on or near the touch panel), and generate corresponding operation commands, which then execute the corresponding program. Optionally, the touch panel may include a touch detection device and a touch controller. The touch detection device detects the user's touch location and the signal generated by the touch operation, transmitting the signal to the touch controller. The touch controller receives touch information from the touch detection device, converts it into touch point coordinates, and sends it to the processor 601. It can also receive and execute commands from the processor 601. The touch panel can cover the display panel. When the touch panel detects a touch operation on or near it, it transmits the information to the processor 601 to determine the type of touch event. Subsequently, the processor 601 provides corresponding visual output on the display panel based on the type of touch event. In this embodiment, the touch panel and the display panel can be integrated into the touch display screen 603 to achieve input and output functions. However, in some embodiments, the touch panel and the touch display screen 603 can be implemented as two independent components to achieve input and output functions. That is, the touch display screen 603 can also be used as part of the input unit 606 to achieve input functions.
[0207] The radio frequency circuit 604 can be used to transmit and receive radio frequency signals to establish wireless communication with network devices or other electronic devices, and to transmit and receive signals with network devices or other electronic devices.
[0208] Audio circuit 605 can be used to provide an audio interface between a user and an electronic device via a speaker and a microphone. Audio circuit 605 can convert received audio data into electrical signals and transmit them to the speaker, where the speaker converts them into sound signals for output. Conversely, the microphone converts collected sound signals into electrical signals, which are then received by audio circuit 605, converted back into audio data, and then processed by processor 601 before being transmitted via radio frequency circuit 604 to, for example, another electronic device, or output to memory 602 for further processing. Audio circuit 605 may also include an earphone jack to provide communication between peripheral headphones and electronic devices.
[0209] The input unit 606 can be used to receive input numbers, characters, or user characteristic information (such as fingerprints, iris, facial information, etc.), and to generate keyboard, mouse, joystick, optical, or trackball signal inputs related to user settings and function control.
[0210] Power supply 607 is used to supply power to various components of electronic device 600. Optionally, power supply 607 can be logically connected to processor 601 through a power management system, thereby enabling functions such as charging, discharging, and power consumption management through the power management system. Power supply 607 may also include one or more DC or AC power supplies, charging systems, power fault detection circuits, power converters or inverters, power status indicators, and other arbitrary components.
[0211] although Figure 6 As not shown in the diagram, the electronic device 600 may also include a camera, sensor, wireless fidelity module, Bluetooth module, etc., which will not be described in detail here.
[0212] In the above embodiments, the descriptions of each embodiment have different focuses. For parts not described in detail in a certain embodiment, please refer to the relevant descriptions in other embodiments.
[0213] Those skilled in the art will understand that all or part of the steps in the various methods of the above embodiments can be performed by a computer program, or by a computer program controlling related hardware. The computer program can be stored in a computer-readable storage medium and loaded and executed by a processor.
[0214] Therefore, embodiments of this application provide a computer-readable storage medium storing multiple computer programs that can be loaded by a processor to execute any of the teaching interaction methods provided in embodiments of this application. For example, the computer program can perform the following steps: Receive at least one teaching interaction operation for a real-time teaching video, wherein the real-time teaching video includes at least one first frame, the first frame includes at least one teaching element identifier, each teaching element identifier has a multi-dimensional index, the multi-dimensional index includes teaching semantic tags, timestamp tags and spatial coordinate tags. Based on multidimensional indexing, at least one target teaching element corresponding to the teaching interaction operation is identified. Generate at least one branch of instructional video based on the target teaching elements.
[0215] As can be seen, the computer program can be loaded by the processor to execute any of the teaching interaction methods provided in the embodiments of this application, thereby bringing the following technical effects: when a user encounters difficulties while watching a real-time teaching video, the target teaching element and the corresponding first frame can be determined by combining the user's teaching interaction operation and multi-dimensional index of the real-time teaching video, and then a branch teaching video that is continuous in context with the target teaching element can be inserted or connected after the first frame, so as to improve the teaching effect of the teaching video.
[0216] For details on the implementation of each of the above operations, please refer to the previous examples, which will not be repeated here.
[0217] The computer-readable storage medium may include: read-only memory (ROM), random access memory (RAM), disk or optical disk, etc.
[0218] Since the computer program stored in the computer-readable storage medium can execute any of the teaching interaction methods provided in the embodiments of this application, it can achieve the beneficial effects that any of the teaching interaction methods provided in the embodiments of this application can achieve, as detailed in the preceding embodiments, and will not be repeated here.
[0219] According to one aspect of this application, a computer program product or computer program is also provided, comprising computer instructions stored in a computer-readable storage medium. A processor of an electronic device reads the computer instructions from the computer-readable storage medium and executes the computer instructions, causing the electronic device to perform the methods provided in the various optional implementations of the above embodiments.
[0220] The foregoing has provided a detailed description of a teaching interaction method, device, electronic device, computer-readable storage medium, and computer program product provided in the embodiments of this application. Specific examples have been used to illustrate the principles and implementation methods of this application. The descriptions of the embodiments above are only for the purpose of helping to understand the method and core ideas of this application. At the same time, for those skilled in the art, there will be changes in the specific implementation methods and application scope based on the ideas of this application. Therefore, the content of this specification should not be construed as a limitation of this application.
Claims
1. A teaching interaction method, characterized in that, The method includes: Receive at least one teaching interaction operation for a real-time teaching video, wherein the real-time teaching video includes at least one first frame, the first frame includes at least one teaching element identifier, each teaching element identifier is established with a multi-dimensional index, the multi-dimensional index includes a teaching semantic tag, a timestamp tag and a spatial coordinate tag; Based on the multidimensional index, at least one target teaching element corresponding to the teaching interaction operation is determined; At least one branch teaching video is generated based on the target teaching elements.
2. The teaching interaction method according to claim 1, characterized in that, The interactive teaching operation is at least one of touch, circle, or voice.
3. The teaching interaction method according to claim 1, characterized in that, The step of determining at least one target teaching element corresponding to the teaching interaction operation based on the multidimensional index includes: The first screen frame corresponding to the teaching interactive operation is taken as the interactive screen frame; Determine the video timestamp of the interactive screen frame and the interaction coordinates of the teaching interactive operation on the interactive screen frame; Based on the multidimensional index, a first timestamp label corresponding to the video timestamp and a first spatial coordinate label corresponding to the interaction coordinates are determined. The teaching element corresponding to the teaching element identifier that matches the first timestamp label and the first spatial coordinate label is taken as the target teaching element.
4. The teaching interaction method according to claim 1, characterized in that, The step of determining at least one target teaching element corresponding to the teaching interaction operation based on the multidimensional index includes: If the teaching interaction is voice, determine the interaction timestamp and interaction semantics corresponding to the voice; Based on the multidimensional index, a second timestamp label corresponding to the interaction timestamp and a target teaching semantic label corresponding to the interaction semantic are determined. Based on the target teaching semantic tags, at least one second spatial coordinate tag is determined; The teaching element corresponding to the teaching element identifier that matches the second timestamp label and the second spatial coordinate label is taken as the target teaching element.
5. The teaching interaction method according to claim 1, characterized in that, The generation of at least one branch teaching video based on the target teaching elements includes: Obtain the target knowledge points corresponding to the target teaching elements; Obtain the structured script of the target knowledge point, wherein the structured script corresponds to multiple ordered atomic step units, and the atomic step unit includes at least one set of element descriptions and / or a set of highlighted keywords identified by a teaching element. Based on the set of element descriptions and / or the set of highlighted keywords, the branch teaching video is generated in real time through rendering, wherein the branch teaching video includes at least one teaching element corresponding to a rendered teaching element identifier.
6. The teaching interaction method according to claim 1, characterized in that, After generating at least one branch instructional video based on the target instructional elements, the method further includes: Using at least one first frame of the real-time teaching video as the starting frame, at least one second frame of at least one branch teaching video of at least one target teaching element is displayed on the graphical user interface of the teaching platform.
7. The teaching interaction method according to claim 6, characterized in that, The first frame includes at least one of the following: the current frame in which the real-time teaching video is being displayed when the teaching interaction operation is received, or the end frame of the teaching step to which the target teaching element belongs, or a connecting frame determined according to the relevance between the target teaching element and the teaching content; The second frame is generated or obtained based on the visual element status, text layout, audio context, and semantic description information of the target teaching element in the first frame.
8. The teaching interaction method according to claim 1, characterized in that, After generating at least one branch instructional video based on the target instructional elements, the method further includes: After displaying the last first frame corresponding to the teaching element identifier being explained in the real-time teaching video, at least one second frame of the branch teaching video is displayed.
9. The teaching interaction method according to claim 6 or 8, characterized in that, Before generating at least one branch instructional video based on the target instructional element, the method further includes: Generate a connecting instructional video including at least one third frame, wherein the connecting instructional video is used to connect the branch instructional video with the real-time instructional video; The connecting instructional video is displayed before the branch instructional video.
10. The teaching interaction method according to claim 1, characterized in that, The target teaching element is the knowledge object in the real-time teaching video.
11. A teaching interactive device, characterized in that, The device includes: An operation receiving module is used to receive at least one teaching interaction operation for a real-time teaching video, wherein the real-time teaching video includes at least one first frame, the first frame includes at least one teaching element identifier, and each teaching element identifier is established with a multi-dimensional index, the multi-dimensional index including a teaching semantic tag, a timestamp tag and a spatial coordinate tag. The element determination module is used to determine at least one target teaching element corresponding to the teaching interaction operation based on the multidimensional index. The video generation module is used to generate at least one branch teaching video based on the target teaching elements.
12. An electronic device, characterized in that, It includes a processor and a memory, wherein the memory stores a computer program that, when executed by the processor, causes the processor to perform the steps of the teaching interaction method according to any one of claims 1 to 10.
13. A computer-readable storage medium, characterized in that, It includes a computer program that, when run on an electronic device, causes the electronic device to perform the steps of the teaching interaction method according to any one of claims 1 to 10.
14. A computer program product, characterized in that, The method includes a computer program stored in a computer-readable storage medium; when a processor of an electronic device reads the computer program from the computer-readable storage medium, the processor executes the computer program, causing the electronic device to perform the steps of the teaching interaction method according to any one of claims 1 to 10.
