Interactive courseware processing system

By designing an interactive courseware processing system, providing a real-time homework environment and interactive homework editing methods, the problem that existing online course platforms cannot support learners' homework practices is solved, and the learning experience and platform performance are improved.

CN119718285APending Publication Date: 2025-03-28BEIJING DP TECH CO LTD
View PDF 0 Cites 2 Cited by

Patent Information

Application Number
CN202411764583.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-03
Publication Date
2025-03-28

AI Technical Summary

Technical Problem

The existing online course platform cannot effectively support learners' homework practices and lacks a real-time homework environment, which leads to learners need to build their own software running environment to verify or modify the code in the courseware.

Method used

An interactive courseware processing system is designed, including client, server, user information database, courseware resource database, mirror resource database, intelligent robot and computing node cluster. The system can identify the courseware file type and load the corresponding file browser/player or Notebook editor on the courseware teaching page to automatically create a real-time homework environment and support interactive homework practices.

Benefits of technology

It eliminates the technical defects that the conventional online course platform cannot provide homework practice support, improves learners' learning experience, and improves the platform's interactive performance and user stickiness.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119718285A_ABST
    Figure CN119718285A_ABST
Patent Text Reader

Abstract

The embodiment of the invention relates to an interactive courseware processing system. The system comprises a user information library, a courseware resource library, a mirror image resource library, an intelligent robot and a computing node cluster, the server is connected with the client, the user information library, the courseware resource library, the mirror image resource library, the intelligent robot and the computing node cluster. According to the invention, the technical defect that a conventional network course platform cannot provide operation practice support for learners can be eliminated.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of data processing, and in particular to an interactive courseware processing system. Background Art

[0002] An online course platform is a resource sharing platform that provides learning courseware to learners. Online course platforms generally provide common functions such as teacher / learning user registration, teacher courseware production, long-term / limited-time release of courseware, user courseware subscription, user courseware browsing, user courseware comments / discussions / likes / dislikes, etc. However, most courseware resources released by online course platforms are static resource types (such as regular text files, office electronic document files, PDF files, audio files, video files, etc.), and do not provide learners with a real-time homework environment for each courseware resource. This means that if learners want to practice based on the courseware content, they need to build a corresponding homework practice environment separately. For example, if a courseware shows a complete software code, if learners want to verify or modify the code, they need to build a software running environment according to the courseware instructions, install the corresponding code editing / compilation tool, and then edit, compile and run the software code copied from the courseware based on this code editing / compilation tool. In other words, most online course platforms currently only focus on the static management of courseware and cannot provide strong support for learners' homework practice. Summary of the invention

[0003] The purpose of the present invention is to provide an interactive courseware processing system in view of the defects of the prior art, which system includes: a client, a server, a user information library, a courseware resource library, a mirror resource library, an intelligent robot and a computing node cluster. Among them, each courseware resource stored in the courseware resource library can contain multiple teaching files, and each teaching file can be a static file (such as a conventional text file, an office electronic document file, a PDF file, an audio file, a video file, etc.) or an interactive file (such as a Jupyter Notebook file, a Marimo Notebook file). The mirror resource library is used to store the Notebook operating environment mirror file of the interactive file. The computing node cluster provides multiple host resources (working nodes) that can create Notebook mirror containers (Docker). The client is a web page client, which is used to query the courseware list in conjunction with the server after the user successfully logs in; and when the user selects a courseware, the server is linked to visualize the basic information and directory index structure of the courseware through a customized courseware teaching page; and when the user selects a navigation mark corresponding to the teaching file from the directory index structure, the file type of the current teaching file is identified, if the current teaching file is a static file, the corresponding file browser / player is loaded on the courseware teaching page to display the content of the current teaching file, if the current teaching file is an interactive file, the Notebook editor is loaded on the courseware teaching page to load the content of the current teaching file, and an interactive homework editing method is provided to the user through the Notebook editor, and the server is called to link with the mirror resource library and the computing node cluster to automatically create a real-time homework environment for the user, and based on this real-time homework environment, the interactive homework practice of the current user (such as the verification and operation of the courseware code, the modification and operation of the courseware code, and other homework practice activities) is supported. The present invention can eliminate the technical defect that the conventional network course platform cannot provide homework practice support for learners.

[0004] To achieve the above-mentioned purpose, an embodiment of the present invention provides an interactive courseware processing system, the system comprising: a client, a server, a user information library, a courseware resource library, a mirror resource library, an intelligent robot and a computing node cluster;

[0005] The server is respectively connected to the client, the user information library, the courseware resource library, the mirror resource library, the intelligent robot and the computing node cluster;

[0006] The client is a web page client; after the user successfully logs in, the client sends a first overview request carrying a login user identifier to the server; and displays the first courseware list sent back by the server to the current user; the first courseware list includes a plurality of first courseware summaries; the first courseware summaries include a first courseware identifier and a first courseware introduction;

[0007] The client is also used to send a first courseware request carrying the first courseware identifier corresponding to the current courseware to the server when the current user selects a courseware from the first courseware list and confirms that he wants to study the current courseware; and receive the first courseware navigation tree sent back by the server; and provide a courseware teaching page for the current user; and set display information for the basic information display area of ​​the courseware teaching page based on the first root node of the first courseware navigation tree; and load a visual directory index structure for the hierarchical directory index structure corresponding to all parent-child node connection relationships in the first courseware navigation tree based on the courseware directory navigation area of ​​the courseware teaching page; the basic page components of the courseware teaching page at least include the basic information display area, the courseware directory navigation area, the courseware content display area and the intelligent question and answer floating window; each visual navigation mark on the visual directory index structure corresponds to a first directory node or a first file node in the first courseware navigation tree;

[0008] The client is also used to, when the current user selects a navigation mark corresponding to a file node from the visual directory index structure, use the first file node corresponding to the current navigation mark as the corresponding current file node; and use the first file type, the first file link address and the first cell index sequence corresponding to the current file node as the corresponding current type, current address and current index sequence; and send a first download request carrying the current address to the server; and receive the first teaching file sent back by the server; and identify the current type; if the current type is a type of static file, then load the file browser / player corresponding to the current type in the courseware content display area, and display the content of the first teaching file based on the file browser / player; if the current type is a type of interactive file, then A Notebook editor corresponding to the current type is loaded in the courseware content display area, and the content of the first teaching file is loaded and edited based on the editing area of ​​the Notebook editor, and a cell navigation area is dynamically loaded on the courseware teaching page, and the cell index structure is loaded visually by the cell navigation area according to the current index sequence; the Notebook editor at least includes a connection option, a run option, a disconnect option and the editing area; each visual navigation mark on the cell index structure corresponds to a cell in the first teaching file loaded in the editing area; when any navigation mark on the cell index structure is selected, the Notebook editor slides the first cell displayed in the editing area to the cell position corresponding to the current navigation mark;

[0009] The client is further configured to extract the corresponding first image recommended configuration and first host recommended configuration from the node attributes of the first root node when the current user selects the connection option; and send a first connection request carrying the first image recommended configuration and the first host recommended configuration to the server; and receive a first container parameter sent back by the server; the first container parameter includes a container IP address, an SSH port address, an SSH login name, and an SSH login password;

[0010] The client is also used to cache the Notebook file being edited in the editing area as a corresponding pre-running file when the current user selects the running option; and send a first running request carrying the pre-running file and the first container parameter to the server; and load and edit the post-running file sent back by the server in the editing area;

[0011] The client is further configured to send a first disconnect request carrying the first container parameter to the server when the current user selects the disconnect option;

[0012] The client is also used to display the question text through the dialogue display box of the smart question and answer floating window when the current user enters and submits a question text through the question box of the smart question and answer floating window; and send a first question and answer request carrying the question text to the server; and display the answer text sent back by the server through the dialogue display box;

[0013] The server is used to prepare a courseware list according to the first overview request, the user information library and the courseware resource library to obtain the corresponding first courseware list and send it back to the client; the server is also used to extract courseware information according to the first courseware request and the courseware resource library to obtain the corresponding first courseware navigation tree and send it back to the client; the server is also used to extract teaching files according to the first download request and the courseware resource library to obtain the corresponding first teaching file and send it back to the client; the server is also used to create a Notebook operating environment container according to the first connection request, the image resource library and the computing node cluster to obtain the corresponding first container parameter and send it back to the client; the server is also used to perform Notebook file operation processing according to the first operation request and the computing node cluster to obtain the corresponding post-operation file and send it back to the client; the server is also used to perform Notebook operating environment container shutdown processing according to the first disconnection request and the computing node cluster; the server is also used to perform intelligent question and answer processing according to the first question and answer request and the intelligent robot to obtain the corresponding answer text and send it back to the client;

[0014] The computing node cluster includes a master node and multiple working nodes, the master node is connected to each of the working nodes; each of the working nodes corresponds to a node host configuration.

[0015] Preferably, the user information database is used to store multiple user information records; each of the user information records corresponds to a learning user; the user information record at least includes a user identification field, a user name field and a subscribed courseware set field; the subscribed courseware set field, when not empty, is composed of one or more subscribed courseware identifications;

[0016] The courseware resource library is used to store a courseware information table and a plurality of courseware teaching files, and to assign a corresponding file link address to each of the courseware teaching files; the courseware information table includes a plurality of courseware information records; each of the courseware information records corresponds to a courseware resource, and each courseware resource corresponds to one or more of the courseware teaching files; the courseware information record includes at least a courseware identification field, a courseware introduction field, a courseware navigation tree field, and a teaching file link field; the teaching file link field is composed of the file link addresses of one or more of the courseware teaching files;

[0017] The image resource library is used to store an image information table and multiple Notebook operating environment image files, and assign a corresponding image link address to each of the Notebook operating environment image files; the image information table includes multiple image information records; each of the image information records corresponds to one of the Notebook operating environment image files; the image information record includes at least an image identification field, an image name field, an image configuration description field, an image host configuration description field, and an image link address field; the image configuration description field is an internal file list of the current image file; the image host configuration description field is the minimum host configuration adapted to the current image file;

[0018] The intelligent robot is implemented based on a type of generative large language model; the generative large language model includes at least a GPT series model and a Wenxin series model.

[0019] Preferably, each of the first courseware navigation trees corresponds to a courseware resource; the first courseware navigation tree is used to describe the hierarchical directory index structure of the current courseware resource, and to describe the cell index structure of each courseware teaching file whose file type is a Notebook file in the current courseware resource;

[0020] The first courseware navigation tree includes the first root node, a plurality of the first directory nodes and a plurality of the first file nodes;

[0021] The node attributes of the first root node include a first node identifier, a first courseware name, a first author name, the first image recommended configuration and the first host recommended configuration; the first image recommended configuration is a recommended image name; the first host recommended configuration is a host configuration description;

[0022] The node attributes of the first directory node include the first node identifier, the first parent node identifier, the first directory index number, the first directory index title and the first child node identifier set; the first parent node identifier of the first directory node is the parent directory node identifier of the current directory node, specifically the first root node or the first node identifier of another first directory node; the first child node identifier set consists of one or more first child node identifiers, the first child node identifier is the subordinate child directory node identifier or the subordinate child file node identifier of the current directory node, specifically the first node identifier of one of the first directory nodes or the first file node;

[0023] Each of the first file nodes corresponds to a courseware teaching file; the node attributes of the first file node include the first node identifier, the first parent node identifier, the first directory index number, the first title text, the first file type, the first file link address and the first cell index sequence; the first parent node identifier of the first file node is the parent directory node identifier of the current file node, specifically the first root node or the first node identifier of the first directory node; when the first parent node identifier of the first file node is the first node identifier of the first root node, the first directory index number and the first title text are both empty, and when the first parent node identifier of the first file node is the first node identifier of the first directory node, the first directory index number and the first title text are not empty; the first file type includes multiple types of static files and multiple types of interactive files; the multiple types of static files include at least multiple types of text file types, multiple types of office electronic document file types, PDF file types, multiple types of audio file types, and multiple types of video file types; the multiple types of interactive file types include at least Jupyter Notebook file types and Marimo Notebook file type; the first file link address is the file link address corresponding to the current courseware teaching file; when the first file type is a static file type, the first cell index sequence is empty; when the first file type is an interactive file type, the first cell index sequence is composed of multiple first cell index records; the first cell index record includes a first cell identifier and the first cell title; each of the first cell index records corresponds to a Markdown cell in the current courseware teaching file, the first cell identifier is the cell identifier of the current Markdown cell, and the first cell title is the cell text of the current Markdown cell.

[0024] Preferably, the client is specifically used to extract the corresponding first courseware name, the first author name, the first mirror recommended configuration and the first host recommended configuration from the node attributes of the first root node when setting the display information for the basic information display area of ​​the courseware teaching page based on the first root node of the first courseware navigation tree; and display the first courseware name, the first author name, the first mirror recommended configuration and the first host recommended configuration in the basic information display area.

[0025] Preferably, the server is specifically configured to prepare a courseware list according to the first overview request, the user information library and the courseware resource library to obtain the corresponding first courseware list and send it back to the client:

[0026] Step 51, extracting the corresponding login user ID from the first overview request; and extracting the subscribed courseware set field of the user information record whose user ID field in the user information database matches the login user ID as the corresponding subscribed courseware set;

[0027] Step 52, if the subscribed courseware set is empty, then set the corresponding first courseware list to be empty;

[0028] Step 53, if the subscribed courseware set is not empty, each subscribed courseware identifier of the subscribed courseware set is used as the corresponding current courseware identifier; and the courseware identifier field and the courseware introduction field of the courseware information record whose courseware identifier field in the courseware information table of the courseware resource library matches the current courseware identifier are used as the corresponding first courseware identifier and the first courseware introduction to form a corresponding first courseware summary; and all the obtained first courseware summaries form a corresponding first courseware list;

[0029] Step 54, sending the obtained first courseware list back to the client.

[0030] Preferably, the server is specifically used to extract the corresponding first courseware identifier from the first courseware request when the first courseware information extraction process is performed based on the first courseware request and the courseware resource library to obtain the corresponding first courseware navigation tree and send it back to the client; and extract the courseware navigation tree field of the courseware information record in which the courseware identifier field in the courseware information table of the courseware resource library matches the first courseware identifier as the corresponding first courseware navigation tree and send it back to the client.

[0031] Preferably, the server is specifically used to extract the corresponding first file link address from the first download request when the teaching file extraction and processing is performed according to the first download request and the courseware resource library to obtain the corresponding first teaching file and send it back to the client; and download the courseware teaching file on the first file link address to obtain the corresponding first teaching file and send it back to the client.

[0032] Preferably, the server is specifically used for, when the first container parameter corresponding to the first container parameter is obtained by performing the creation process of the Notebook runtime environment container according to the first connection request, the image resource library and the computing node cluster and sending it back to the client:

[0033] Step 81, extracting the first image recommended configuration and the first host recommended configuration corresponding to the first connection request as the corresponding current image name and current host configuration;

[0034] Step 82, taking the image information records whose image name fields in the image information table of the image resource library match the current image name as the corresponding primary image records; taking the primary image records whose image host configuration description fields satisfy the current host configuration as the corresponding secondary image records; taking the secondary image records whose image host configuration description fields have the highest configuration as the corresponding preferred image records; and extracting the image host configuration description fields and the image link address fields of the preferred image records as the corresponding first host configuration and first image address;

[0035] Step 83: Send a first container creation request carrying the first host configuration and the first mirror address to the master node of the computing node cluster; and send the first container parameters sent back by the master node to the client.

[0036] Preferably, the master node of the computing node cluster is used to extract the corresponding first host configuration and the first mirror address from the first container creation request when receiving the first container creation request; and select the working node whose node host configuration satisfies the first host configuration and whose node working condition is in an idle state as the corresponding current node; and download the Notebook operating environment mirror file on the first mirror address to the current node to create a corresponding mirror container to obtain a corresponding Notebook container, and run the Notebook container; and perform corresponding IP address allocation, SSH port setting, SSSH login name setting and SSH login password setting for the Notebook container to obtain the corresponding container IP address, the SSH port address, the SSH login name and the SSH login password to form the corresponding first container parameters and send them back to the server; and set the node working condition of the current node to an occupied state.

[0037] Preferably, the server is specifically used for: extracting the corresponding pre-run file and the first container parameter from the first run request; and using the Notebook container corresponding to the first container parameter as the corresponding first container; and performing an SSH channel connection with the first container according to the first container parameter to obtain the corresponding first SSH channel; and transferring the pre-run file to the running environment of the first container through the first SSH channel for storage as the corresponding temporary Notebook file; and in the running environment of the first container, calling the running instruction of the Notebook editor through the first SSH channel to run all code cells and all Markdown cells in the temporary Notebook file to obtain a Notebook file with all cell running results as the corresponding post-run file; and retrieving the post-run file to the local server through the first SSH channel; and when the post-run file transmission is completed, deleting the temporary Notebook file and the post-run file through the first SSH channel in the running environment of the first container; and disconnecting the first SSH channel; and sending the post-run file stored locally on the server back to the client.

[0038] Preferably, the server is used to send the first disconnect request to the master node of the computing node cluster when the Notebook runtime environment container shutdown processing is performed according to the first disconnect request and the computing node cluster; and receive and wait for the first disconnect feedback sent back by the master node within a preset first waiting period; if the first disconnect feedback is not received within the first waiting period or the first disconnect feedback received within the first waiting period is a failure, the first disconnect request is sent to the master node again until the first disconnect feedback received is successful.

[0039] Preferably, the master node of the computing node cluster is also used to extract the corresponding first container parameter from the first disconnection application when receiving the first disconnection application; and use the working node where the Notebook container corresponding to the first container parameter is located as the corresponding current node; and identify the node working condition of the current node; if the current node working condition is an idle state, set a corresponding first disconnection feedback as success; if the current node working condition is an occupied state, delete the Notebook container running on the current node, if the container deletion fails, set a corresponding first disconnection feedback as failure, if the container deletion is successful, further release the node resources occupied by the Notebook container on the current node, if the resource release fails, set a corresponding first disconnection feedback as failure, if the resource release is successful, set a corresponding first disconnection feedback as success; and send the obtained first disconnection feedback back to the server; and set the node working condition of the current node to an idle state.

[0040] Preferably, the server is specifically used to extract the corresponding question text from the first question and answer request and send it to the intelligent robot; and send the answer text sent back by the intelligent robot to the client when the corresponding answer text is obtained by performing intelligent question and answer processing based on the first question and answer request and the intelligent robot.

[0041] An embodiment of the present invention provides an interactive courseware processing system, which includes: a client, a server, a user information library, a courseware resource library, a mirror resource library, an intelligent robot and a computing node cluster. Among them, each courseware resource stored in the courseware resource library can contain multiple teaching files, and each teaching file can be a static file (such as a regular text file, an office electronic document file, a PDF file, an audio file, a video file, etc.) or an interactive file (such as a Jupyter Notebook file, a Marimo Notebook file). The mirror resource library is used to store the Notebook runtime environment mirror file of the interactive file. The computing node cluster provides multiple host resources (worker nodes) that can create Notebook mirror containers (Docker). The client is a web page client, which is used to query the courseware list in conjunction with the server after the user successfully logs in; and when the user selects a courseware, it cooperates with the server to visualize the basic information and directory index structure of the courseware through a customized courseware teaching page; and when the user selects a navigation mark corresponding to the teaching file from the directory index structure, it identifies the file type of the current teaching file. If the current teaching file is a static file, the corresponding file browser / player is loaded on the courseware teaching page to display the content of the current teaching file. If the current teaching file is an interactive file, the Notebook editor is loaded on the courseware teaching page to load the content of the current teaching file, and an interactive homework editing method is provided to the user through the Notebook editor, and the server is called to cooperate with the image resource library and the computing node cluster to automatically create a real-time homework environment for the user, and based on this real-time homework environment, the interactive homework practice of the current user (such as verification and operation of the courseware code, modification and operation of the courseware code, and other homework practice activities) is supported. The embodiments of the present invention eliminate the technical defect that conventional online course platforms cannot provide learners with homework practice support; if the conventional online course platform is technically upgraded based on the embodiments of the present invention, it can not only make up for the existing defects of the platform, but also enhance the interactive performance of the platform, and further improve the user learning experience and improve the user stickiness of the platform. BRIEF DESCRIPTION OF THE DRAWINGS

[0042] Figure 1 A module structure diagram of an interactive courseware processing system provided by an embodiment of the present invention;

[0043] Figure 2 A component diagram of a courseware teaching page provided in an embodiment of the present invention. DETAILED DESCRIPTION

[0044] In order to make the purpose, technical solution and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present invention, rather than all the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0045] like Figure 1 As shown in the module structure diagram of an interactive courseware processing system provided by an embodiment of the present invention, an interactive courseware processing system provided by an embodiment of the present invention mainly includes: a client 1, a server 2, a user information library 3, a courseware resource library 4, a mirror resource library 5, an intelligent robot 6 and a computing node cluster 7. The connection relationship between the components of the system is: the server 2 is connected to the client 1, the user information library 3, the courseware resource library 4, the mirror resource library 5, the intelligent robot 6 and the computing node cluster 7 respectively.

[0046] (I) Client 1:

[0047] The client 1 in the embodiment of the present invention is a web page client.

[0048] The client 1 is used to send a first overview request carrying the login user ID to the server 2 after the user successfully logs in, and display the first courseware list sent back by the server 2 to the current user. Here, the first courseware list includes multiple first courseware summaries; the first courseware summaries include the first courseware ID and the first courseware introduction.

[0049] Client 1 is also used to send a first courseware request carrying the first courseware identifier corresponding to the current courseware to server 2 when the current user selects a courseware from the first courseware list and confirms that he wants to study the current courseware; and receive the first courseware navigation tree sent back by server 2; and provide a courseware teaching page for the current user; and based on the first root node of the first courseware navigation tree, set the display information for the basic information display area of ​​the courseware teaching page; and based on the courseware directory navigation area of ​​the courseware teaching page, visually load the hierarchical directory index structure corresponding to all parent-child node connection relationships in the first courseware navigation tree.

[0050] Here, the basic page components of the courseware teaching page of the embodiment of the present invention at least include a basic information display area, a courseware directory navigation area, a courseware content display area and an intelligent question and answer floating window, such as Figure 2 It should be noted that each visual navigation mark on the visual directory index structure constructed by the courseware directory navigation area corresponds to a first directory node or a first file node in the first courseware navigation tree.

[0051] In a specific implementation method of an embodiment of the present invention, the client 1 is specifically used to extract the corresponding first courseware name, first author name, first mirror recommended configuration and first host recommended configuration from the node attributes of the first root node when setting the display information of the basic information display area of ​​the courseware teaching page based on the first root node of the first courseware navigation tree; and display the first courseware name, first author name, first mirror recommended configuration and first host recommended configuration in the basic information display area.

[0052] The first courseware navigation tree of the embodiment of the present invention corresponds to a courseware resource; the first courseware navigation tree is used to describe the hierarchical directory index structure of the current courseware resource, and to describe the cell index structure of each courseware teaching file whose file type is a Notebook file in the current courseware resource. The data structure of the first courseware navigation tree is actually a tree-shaped node set, that is, the first courseware navigation tree includes a first root node, multiple first directory nodes, and multiple first file nodes.

[0053] The node attributes of the first root node include the first node identifier, the first courseware name, the first author name, the first image recommended configuration and the first host recommended configuration; the first image recommended configuration is a recommended image name; the first host recommended configuration is a host configuration description, and the configuration items of the first host recommended configuration include at least the total number of host CPU cores, host memory, whether a GPU is required, the required GPU video memory capacity, host storage capacity and other configuration information.

[0054] The node attributes of the first directory node include a first node identifier, a first parent node identifier, a first directory index number, a first directory index title, and a first child node identifier set. The first parent node identifier of the first directory node is the parent directory node identifier of the current directory node, specifically the first root node or the first node identifier of another first directory node. The first child node identifier set consists of one or more first child node identifiers, and the first child node identifier is a subordinate child directory node identifier or a subordinate child file node identifier of the current directory node, specifically the first node identifier of a first directory node or a first file node.

[0055] Each first file node corresponds to a courseware teaching file. The node attributes of the first file node include a first node identifier, a first parent node identifier, a first directory index number, a first title text, a first file type, a first file link address, and a first cell index sequence. The first parent node identifier of the first file node is the parent directory node identifier of the current file node, specifically the first node identifier of the first root node or the first directory node.

[0056] When the first parent node identifier of the first file node is the first node identifier of the first root node, the first directory index number and the first title text are both empty; when the first parent node identifier of the first file node is the first node identifier of a first directory node, the first directory index number and the first title text are not empty.

[0057] The first file type includes multiple types of static files and multiple types of interactive files; the multiple types of static files here include at least multiple types of text file types, multiple types of office electronic document file types, PDF file types, multiple types of audio file types, and multiple types of video file types; the multiple types of interactive file types here include at least Jupyter Notebook file types and Marimo Notebook file types.

[0058] The first file link address is the file link address corresponding to the current courseware teaching file.

[0059] When the first file type is a static file type, the first cell index sequence is empty; when the first file type is an interactive file type, the first cell index sequence consists of multiple first cell index records; the first cell index record includes a first cell identifier and a first cell title; each first cell index record corresponds to a Markdown cell in the current courseware teaching file, the first cell identifier is the cell identifier of the current Markdown cell, and the first cell title is the cell text of the current Markdown cell.

[0060] The client 1 is also used to use the first file node corresponding to the current navigation mark as the corresponding current file node when the current user selects a navigation mark corresponding to the file node from the visual directory index structure; and use the first file type, the first file link address and the first cell index sequence corresponding to the current file node as the corresponding current type, the current address and the current index sequence; and send the first download request carrying the current address to the server 2; and receive the first teaching file sent back by the server 2; and identify the current type; if the current type is a type of static file, then load the file browser / player corresponding to the current type in the courseware content display area, and display the content of the first teaching file based on the file browser / player; if the current type is a type of interactive file, then load the Notebook editor corresponding to the current type in the courseware content display area, and load and edit the content of the first teaching file based on the editing area of ​​the Notebook editor, and dynamically load a cell navigation area on the courseware teaching page, and the cell index structure that is visualized by the cell navigation area according to the current index sequence.

[0061] Here, the Notebook editor of the embodiment of the present invention includes at least a Jupyter Notebook editor and a Marimo Notebook editor. The Notebook editor may adopt the web version of the Jupyter Notebook / Marimo Notebook editor, or may refer to the web version of the Jupyter Notebook / Marimo Notebook editor for kinetic tailoring and expansion. However, no matter how the basic components of the Notebook editor are set, they should at least include a connection option, a run option, a disconnect option, and an editing area, such as Figure 2 shown.

[0062] It should be noted that each visual navigation mark on the cell index structure created by the cell navigation area of ​​the embodiment of the present invention corresponds to a cell in the first teaching file loaded in the editing area, which is actually similar to the chapter index structure within a single article.

[0063] It should also be noted that, when any navigation mark on the cell index structure is selected, the Notebook editor of the embodiment of the present invention will automatically slide the first cell displayed in the editing area to the cell position corresponding to the current navigation mark.

[0064] The client 1 is also used to extract the corresponding first image recommended configuration and first host recommended configuration from the node attributes of the first root node when the current user selects a connection option; and send a first connection request carrying the first image recommended configuration and the first host recommended configuration to the server 2; and receive the first container parameter sent back by the server 2.

[0065] Here, the first container parameter includes the container IP address, the SSH port address, the SSH login name, and the SSH login password.

[0066] Client 1 is also used to cache the Notebook file being edited in the editing area as the corresponding pre-running file when the current user selects the run option; and send a first run request carrying the pre-running file and the first container parameter to server 2; and load and edit the content of the post-running file sent back by server 2 in the editing area.

[0067] The client 1 is further configured to send a first disconnect request carrying a first container parameter to the server 2 when the current user selects the disconnect option.

[0068] Client 1 is also used to display the question text through the dialogue display box of the smart question and answer floating window when the current user enters and submits a question text through the question box of the smart question and answer floating window; and send the first question and answer request carrying the question text to the server 2; and display the answer text sent back by the server 2 through the dialogue display box.

[0069] Here, the components on the smart question and answer floating window of the embodiment of the present invention include at least a question box and a dialogue display box, such as Figure 2 As shown, the dialogue display box displays the text information of both parties of the question and answer one by one in a chat manner.

[0070] (II) Server 2:

[0071] The server 2 of the embodiment of the present invention is a service module, device, terminal, equipment, server / server / service interface / microservice, system or platform for processing various requests of the client 1. The server 2 of the embodiment of the present invention is a remote management terminal of the client 1, and can connect to multiple clients 1 at the same time.

[0072] The server 2 is used to prepare a courseware list according to the first overview request, the user information library 3 and the courseware resource library 4 to obtain the corresponding first courseware list and send it back to the client 1.

[0073] The server 2 is also used to extract and process the courseware information according to the first courseware request and the courseware resource library 4 to obtain the corresponding first courseware navigation tree and send it back to the client 1 .

[0074] The server 2 is also used to extract the teaching file according to the first download request and the courseware resource library 4 to obtain the corresponding first teaching file and send it back to the client 1.

[0075] The server 2 is further used to perform a notebook runtime environment container creation process according to the first connection request, the image resource library 5 and the computing node cluster 7 to obtain the corresponding first container parameters and send them back to the client 1.

[0076] The server 2 is further configured to perform notebook file operation processing according to the first operation request and the computing node cluster 7 to obtain a corresponding post-operation file and send it back to the client 1 .

[0077] The server 2 is further configured to perform a shutdown process on the Notebook runtime environment container according to the first disconnection request and the computing node cluster 7 .

[0078] The server 2 is also used to perform intelligent question-answering processing according to the first question-answering request and the intelligent robot 6 to obtain the corresponding answer text and send it back to the client 1.

[0079] In another specific implementation of the embodiment of the present invention, the server 2 is specifically configured to prepare a courseware list according to the first overview request, the user information library 3 and the courseware resource library 4 to obtain a corresponding first courseware list and send it back to the client 1:

[0080] Step A1, extracting the corresponding login user ID from the first overview request; and extracting the subscribed courseware set field of the user information record whose user ID field in the user information database 3 matches the login user ID as the corresponding subscribed courseware set;

[0081] Step A2: if the subscribed courseware set is empty, then set the corresponding first courseware list to be empty;

[0082] Step A3, if the subscribed courseware set is not empty, each subscribed courseware identifier of the subscribed courseware set is used as the corresponding current courseware identifier; and the courseware identifier field and the courseware introduction field of the courseware information record whose courseware identifier field in the courseware information table of the courseware resource library 4 matches the current courseware identifier are used as the corresponding first courseware identifier and the first courseware introduction to form a corresponding first courseware summary; and all the obtained first courseware summaries form a corresponding first courseware list;

[0083] Step A4, sending the obtained first courseware list back to client 1.

[0084] In another specific implementation method of the embodiment of the present invention, the server 2 is specifically used to extract the corresponding first courseware identifier from the first courseware request when the corresponding first courseware navigation tree is obtained by extracting the courseware information according to the first courseware request and the courseware resource library 4 and sending it back to the client 1; and extract the courseware navigation tree field of the courseware information record whose courseware identifier field in the courseware information table of the courseware resource library 4 matches the first courseware identifier as the corresponding first courseware navigation tree and send it back to the client 1.

[0085] In another specific implementation method of the embodiment of the present invention, the server 2 is specifically used to extract the corresponding first file link address from the first download request when the corresponding first teaching file is extracted and processed according to the first download request and the courseware resource library 4 and sent back to the client 1; and download the courseware teaching file on the first file link address to obtain the corresponding first teaching file and send it back to the client 1.

[0086] In another specific implementation of the embodiment of the present invention, the server 2 is specifically used to perform the Notebook runtime environment container creation process according to the first connection request, the image resource library 5 and the computing node cluster 7 to obtain the corresponding first container parameters and send them back to the client 1:

[0087] Step B1, extracting the corresponding first image recommended configuration and the first host recommended configuration from the first connection request as the corresponding current image name and current host configuration;

[0088] Step B2, taking the image information records whose image name fields in the image information table of the image resource library 5 match the current image name as the corresponding primary image record; taking the primary image record whose image host configuration description field satisfies the current host configuration as the corresponding secondary image record; taking the secondary image record whose image host configuration description field has the highest configuration as the corresponding preferred image record; and extracting the image host configuration description field and the image link address field of the preferred image record as the corresponding first host configuration and first image address;

[0089] Step B3: Send a first container creation request carrying the first host configuration and the first mirror address to the master node 71 of the computing node cluster 7; and send the first container parameters sent back by the master node 71 to the client 1.

[0090] In another specific implementation of the embodiment of the present invention, the server 2 is specifically used to, when performing Notebook file operation processing according to the first operation request and the computing node cluster 7 to obtain the corresponding post-operation file and sending it back to the client 1: extract the corresponding pre-operation file and the first container parameter from the first operation request; and use the Notebook container corresponding to the first container parameter as the corresponding first container; and perform an SSH channel connection with the first container according to the first container parameter to obtain the corresponding first SSH channel; and transfer the pre-operation file to the operating environment of the first container through the first SSH channel for storage as the corresponding temporary Notebook file; and in the operating environment of the first container, call the running instruction of the Notebook editor through the first SSH channel to run all code cells and all Markdown cells in the temporary Notebook file to obtain a Notebook file with all cell running results as the corresponding post-operation file; and retrieve the post-operation file to the server 2 through the first SSH channel; and when the post-operation file transmission is completed, delete the temporary Notebook file and the post-operation file through the first SSH channel in the operating environment of the first container; and disconnect the first SSH channel; and send the post-operation file stored in the server 2 back to the client 1.

[0091] In another specific implementation of the embodiment of the present invention, the server 2 is used to send the first disconnection request to the master node 71 of the computing node cluster 7 when performing the notebook runtime environment container shutdown process according to the first disconnection request and the computing node cluster 7; and receive and wait for the first disconnection feedback sent back by the master node 71 within the preset first waiting time; if the first disconnection feedback is not received within the first waiting time or the first disconnection feedback received within the first waiting time is a failure, the first disconnection request is sent to the master node 71 again until the first disconnection feedback received is successful. Here, the first waiting time is a preset time length parameter.

[0092] In another specific implementation method of the embodiment of the present invention, the server 2 is specifically used to extract the corresponding question text from the first question and answer request and send it to the intelligent robot 6 when the corresponding answer text is obtained by performing intelligent question and answer processing based on the first question and answer request and the intelligent robot 6 and sending it back to the client 1; and send the answer text sent back by the intelligent robot 6 to the client 1.

[0093] (III) User Information Database 3:

[0094] The user information base 3 of the embodiment of the present invention can be implemented based on any type of database, or based on a combination of multiple types of databases, or based on a comprehensive data processing system that combines one or more types of storage systems with databases. The user information base 3 is used to store multiple user information records; each user information record corresponds to a learning user; the user information record includes at least a user identification field, a user name field, and a subscribed courseware collection field; when the subscribed courseware collection field is not empty, it is composed of one or more subscribed courseware identifications.

[0095] (IV) Courseware Resource Library 4:

[0096] The courseware resource library 4 of the embodiment of the present invention can be implemented based on any type of database, can also be implemented based on a combination of multiple types of databases, and can also be implemented based on a comprehensive data processing system that combines one or more types of storage systems with databases. The courseware resource library 4 is used to store a courseware information table and multiple courseware teaching files, and assign a corresponding file link address to each courseware teaching file; the courseware information table includes multiple courseware information records; each courseware information record corresponds to a courseware resource, and each courseware resource corresponds to one or more courseware teaching files; the courseware information record includes at least a courseware identification field, a courseware introduction field, a courseware navigation tree field, and a teaching file link field; the teaching file link field is composed of the file link addresses of one or more courseware teaching files.

[0097] (V) Image Resource Library 5:

[0098] The image resource library 5 of the embodiment of the present invention can be implemented based on any type of database, can be implemented based on a combination of multiple types of databases, and can also be implemented based on a comprehensive data processing system that combines one or more types of storage systems with databases. The image resource library 5 is used to store an image information table and multiple Notebook operating environment image files, and assign a corresponding image link address to each Notebook operating environment image file; the image information table includes multiple image information records; each image information record corresponds to a Notebook operating environment image file; the image information record includes at least an image identification field, an image name field, an image configuration description field, an image host configuration description field, and an image link address field; the image configuration description field is an internal file list of the current image file; the image host configuration description field is the minimum host configuration that is adapted to the current image file, and the configuration items of the image host configuration description field include at least the total number of host CPU cores, host memory, whether a GPU is required, the required GPU video memory capacity, host storage capacity and other configuration information.

[0099] It should be noted that the Notebook runtime environment image file of the embodiment of the present invention is an installation package image file of a Notebook runtime environment; the Notebook runtime environment mentioned here includes at least the Jupyter Notebook runtime environment and the Marimo Notebook runtime environment. The Notebook runtime environment image file is encapsulated by multiple sub-files, which at least include an operating system component installation program file, a Notebook server installation program file, a program code interpreter installation program file of the Notebook editor, an editor kernel installation program file of the Notebook editor, a Notebook environment dependency library and extension library installation program file, a Notebook editor installation program file, an SSH component installation program file, an environment variable configuration program file, and a main installation program file or a main installation batch file for executing all installation / configuration programs one by one in a specified order.

[0100] It should also be noted that the program code interpreter installation program file and the editor kernel installation program file mentioned above correspond to a specific source code programming language; when the code programming language is Python programming language, the program code interpreter installation program file and the editor kernel installation program file are corresponding Python interpreter installation program files and IPython kernel installation program files; when the code programming language is C / C++ programming language, the program code interpreter installation program file and the editor kernel installation program file are corresponding C / C++ interpreter installation program files and C / C++ kernel installation program files; when the code programming language is Java programming language, the program code interpreter installation program file and the editor kernel installation program file are corresponding Java interpreter installation program files and IJava kernel installation program files; when the code programming language is R programming language, the program code interpreter installation program file and the editor kernel installation program file are corresponding R interpreter installation program files and IR kernel installation program files; when the code programming language is Julia programming language, the program code interpreter installation program file and the editor kernel installation program file are corresponding Julia interpreter installation program files and IJulia kernel installation program files. The Notebook runtime environment image file of an embodiment of the present invention includes one or more groups of program code interpreter installation program files and editor kernel installation program files for different types of source code programming languages.

[0101] (VI) Intelligent Robot 6:

[0102] The intelligent robot 6 of the embodiment of the present invention is implemented based on a type of generative large language model; the generative large language model includes at least a GPT series model and a Wenxin series model. It should be noted that the intelligent robot 6 of the embodiment of the present invention is a generative large language model that can perform intelligent question-answering tasks, and the generative large language model is a mature model that has completed model pre-training through a massive natural language corpus and has completed model fine-tuning based on knowledge questions of one or more specified courseware resource libraries.

[0103] (VII) Computing Node Cluster 7:

[0104] The computing node cluster 7 includes a master node 71 and multiple working nodes 72. The master node 71 is connected to each working node 72; each working node 72 corresponds to a node host configuration. The configuration items of the node host configuration here include at least the total number of host CPU cores, host memory, whether a GPU is required, the required GPU memory capacity, host storage capacity and other configuration information.

[0105] It should be noted that the management software used by the computing node cluster 7 of the embodiment of the present invention when performing resource management on all working nodes 72 through the master node 71 internally includes at least Kubernetes and Zabbix, and the corresponding operating system, communication components, network components and the master / slave server of the management software are installed on the master node 71 and each working node 72 based on the Kubernetes or Zabbix installation requirements. The embodiment of the present invention does not limit the technical content related to the internal management of the computing node cluster 7, and will not be further elaborated here.

[0106] The master node 71 of the computing node cluster 7 is used to extract the corresponding first host configuration and the first mirror address from the first container creation request when receiving the first container creation request; and select a working node 72 whose node host configuration meets the first host configuration and whose node working condition is in an idle state as the corresponding current node; and download the Notebook operating environment mirror file on the first mirror address to the current node to create the corresponding mirror container to obtain the corresponding Notebook container, and run the Notebook container; and perform corresponding IP address allocation, SSH port setting, SSSH login name setting and SSH login password setting for the Notebook container to obtain the corresponding container IP address, SSH port address, SSH login name and SSH login password to form the corresponding first container parameters and send them back to the server 2; and set the node working condition of the current node to an occupied state.

[0107] The master node 71 of the computing node cluster 7 is also used to extract the corresponding first container parameter from the first disconnection application when receiving the first disconnection application; and use the working node 72 where the Notebook container corresponding to the first container parameter is located as the corresponding current node; and identify the node working condition of the current node; if the current node working condition is an idle state, set a corresponding first disconnection feedback as success; if the current node working condition is an occupied state, delete the Notebook container running on the current node, if the container deletion fails, set a corresponding first disconnection feedback as failure, if the container deletion is successful, further release the node resources occupied by the Notebook container on the current node, if the resource release fails, set a corresponding first disconnection feedback as failure, if the resource release is successful, set a corresponding first disconnection feedback as success; and send the obtained first disconnection feedback back to the server 2; and set the node working condition of the current node to an idle state.

[0108] It should be noted that it should be understood that the division of the various modules of the above system is only a division of logical functions. In actual implementation, they can be fully or partially integrated into one physical entity, or they can be physically separated. And these modules can all be implemented in software form; they can also all be implemented in hardware form; some modules can also be implemented in software form, and some modules can be implemented in hardware form. For example, the service end can be a separately established processing device, equipment or server, or it can be integrated in a certain module of the above system for implementation. In addition, it can also be stored in the memory of the above system in the form of program code, and called and executed by a certain processing module of the above system. The module function determined above. The implementation of other modules is similar. In addition, all or part of these modules can be integrated together, or they can be implemented independently. The processing module described here can be an integrated circuit with signal processing capabilities. In the implementation process, the processing steps of each module of the aforementioned system can be completed by the integrated logic circuit of the hardware in the processing module or the instructions in the form of software.

[0109] For example, the modules of the above system may be one or more integrated circuits configured to implement the aforementioned system, such as one or more application specific integrated circuits (ASIC), or one or more digital signal processors (DSP), or one or more field programmable gate arrays (FPGA). For another example, when a module of the above system is implemented in the form of a processing module scheduling program code, the processing module may be a general-purpose processor, such as a central processing unit (CPU) or other processor that can call program code. For another example, these modules may be integrated together and implemented in the form of a system-on-a-chip (SOC).

[0110] In the above embodiments, all or part of the embodiments may be implemented by software, hardware, firmware or any combination thereof. When implemented by software, all or part of the embodiments may be implemented in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, all or part of the processes or functions described in the above method embodiments are generated. The above computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices. The above-mentioned computer instructions can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the above-mentioned computer instructions can be transmitted from one website, computer, server or data center to another website, computer, server or data center through wired (such as coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (such as infrared, wireless, Bluetooth, microwave, etc.) methods. The above-mentioned computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device such as a server or data center that includes one or more available media integrated. The above-mentioned available medium can be a magnetic medium (such as a floppy disk, a hard disk, a tape), an optical medium (such as a DVD), or a semiconductor medium (such as a solid state disk (SSD)), etc.

[0111] An embodiment of the present invention provides an interactive courseware processing system, which includes: a client, a server, a user information library, a courseware resource library, a mirror resource library, an intelligent robot and a computing node cluster. Among them, each courseware resource stored in the courseware resource library can contain multiple teaching files, and each teaching file can be a static file (such as a regular text file, an office electronic document file, a PDF file, an audio file, a video file, etc.) or an interactive file (such as a Jupyter Notebook file, a Marimo Notebook file). The mirror resource library is used to store the Notebook runtime environment mirror file of the interactive file. The computing node cluster provides multiple host resources (worker nodes) that can create Notebook mirror containers (Docker). The client is a web page client, which is used to query the courseware list in conjunction with the server after the user successfully logs in; and when the user selects a courseware, it cooperates with the server to visualize the basic information and directory index structure of the courseware through a customized courseware teaching page; and when the user selects a navigation mark corresponding to the teaching file from the directory index structure, it identifies the file type of the current teaching file. If the current teaching file is a static file, the corresponding file browser / player is loaded on the courseware teaching page to display the content of the current teaching file. If the current teaching file is an interactive file, the Notebook editor is loaded on the courseware teaching page to load the content of the current teaching file, and an interactive homework editing method is provided to the user through the Notebook editor, and the server is called to cooperate with the image resource library and the computing node cluster to automatically create a real-time homework environment for the user, and based on this real-time homework environment, the interactive homework practice of the current user (such as verification and operation of the courseware code, modification and operation of the courseware code, and other homework practice activities) is supported. The embodiments of the present invention eliminate the technical defect that conventional online course platforms cannot provide learners with homework practice support; if the conventional online course platform is technically upgraded based on the embodiments of the present invention, it can not only make up for the existing defects of the platform, but also enhance the interactive performance of the platform, and further improve the user learning experience and improve the user stickiness of the platform.

[0112] The professionals should further realize that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented by electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described in the above description according to the function. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professionals and technicians can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention.

[0113] The steps of the method or algorithm described in conjunction with the embodiments disclosed herein may be implemented using hardware, a software module executed by a processor, or a combination of the two. The software module may be placed in a random access memory (RAM), a memory, a read-only memory (ROM), an electrically programmable ROM, an electrically erasable programmable ROM, a register, a hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.

[0114] The specific implementation methods described above further illustrate the objectives, technical solutions and beneficial effects of the present invention in detail. It should be understood that the above description is only a specific implementation method of the present invention and is not intended to limit the scope of protection of the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included in the scope of protection of the present invention.

Claims

1. An interactive courseware processing system, characterized in that: The system includes: a client, a server, a user information library, a courseware resource library, a mirror resource library, an intelligent robot and a computing node cluster; The server is respectively connected to the client, the user information library, the courseware resource library, the mirror resource library, the intelligent robot and the computing node cluster; The client is a web page client; after the user successfully logs in, the client sends a first overview request carrying a login user identifier to the server; and displays the first courseware list sent back by the server to the current user; the first courseware list includes a plurality of first courseware summaries; the first courseware summaries include a first courseware identifier and a first courseware introduction; The client is also used to send a first courseware request carrying the first courseware identifier corresponding to the current courseware to the server when the current user selects a courseware from the first courseware list and confirms that he wants to study the current courseware; and receive the first courseware navigation tree sent back by the server; and provide a courseware teaching page for the current user; and set display information for the basic information display area of ​​the courseware teaching page based on the first root node of the first courseware navigation tree; and load a visual directory index structure for the hierarchical directory index structure corresponding to all parent-child node connection relationships in the first courseware navigation tree based on the courseware directory navigation area of ​​the courseware teaching page; the basic page components of the courseware teaching page at least include the basic information display area, the courseware directory navigation area, the courseware content display area and the intelligent question and answer floating window; each visual navigation mark on the visual directory index structure corresponds to a first directory node or a first file node in the first courseware navigation tree; The client is also used to, when the current user selects a navigation mark corresponding to a file node from the visual directory index structure, use the first file node corresponding to the current navigation mark as the corresponding current file node; and use the first file type, the first file link address and the first cell index sequence corresponding to the current file node as the corresponding current type, current address and current index sequence; and send a first download request carrying the current address to the server; and receive the first teaching file sent back by the server; and identify the current type; if the current type is a type of static file, then load the file browser / player corresponding to the current type in the courseware content display area, and display the content of the first teaching file based on the file browser / player; if the current type is a type of interactive file, then A Notebook editor corresponding to the current type is loaded in the courseware content display area, and the content of the first teaching file is loaded and edited based on the editing area of ​​the Notebook editor, and a cell navigation area is dynamically loaded on the courseware teaching page, and the cell index structure is loaded visually by the cell navigation area according to the current index sequence; the Notebook editor at least includes a connection option, a run option, a disconnect option and the editing area; each visual navigation mark on the cell index structure corresponds to a cell in the first teaching file loaded in the editing area; when any navigation mark on the cell index structure is selected, the Notebook editor slides the first cell displayed in the editing area to the cell position corresponding to the current navigation mark; The client is further configured to extract the corresponding first image recommended configuration and first host recommended configuration from the node attributes of the first root node when the current user selects the connection option; and send a first connection request carrying the first image recommended configuration and the first host recommended configuration to the server; and receive a first container parameter sent back by the server; the first container parameter includes a container IP address, an SSH port address, an SSH login name, and an SSH login password; The client is also used to cache the Notebook file being edited in the editing area as a corresponding pre-running file when the current user selects the running option; and send a first running request carrying the pre-running file and the first container parameter to the server; and load and edit the post-running file sent back by the server in the editing area; The client is further configured to send a first disconnect request carrying the first container parameter to the server when the current user selects the disconnect option; The client is also used to display the question text through the dialogue display box of the smart question and answer floating window when the current user enters and submits a question text through the question box of the smart question and answer floating window; and send a first question and answer request carrying the question text to the server; and display the answer text sent back by the server through the dialogue display box; The server is used to prepare a courseware list according to the first overview request, the user information library and the courseware resource library to obtain the corresponding first courseware list and send it back to the client; the server is also used to extract courseware information according to the first courseware request and the courseware resource library to obtain the corresponding first courseware navigation tree and send it back to the client; the server is also used to extract teaching files according to the first download request and the courseware resource library to obtain the corresponding first teaching file and send it back to the client; the server is also used to create a Notebook operating environment container according to the first connection request, the image resource library and the computing node cluster to obtain the corresponding first container parameter and send it back to the client; the server is also used to perform Notebook file operation processing according to the first operation request and the computing node cluster to obtain the corresponding post-operation file and send it back to the client; the server is also used to perform Notebook operating environment container shutdown processing according to the first disconnection request and the computing node cluster; the server is also used to perform intelligent question and answer processing according to the first question and answer request and the intelligent robot to obtain the corresponding answer text and send it back to the client; The computing node cluster includes a master node and multiple working nodes, the master node is connected to each of the working nodes; each of the working nodes corresponds to a node host configuration.

2. The interactive courseware processing system according to claim 1, characterized in that: The user information database is used to store multiple user information records; each of the user information records corresponds to a learning user; the user information record at least includes a user identification field, a user name field and a subscribed courseware collection field; the subscribed courseware collection field, when not empty, consists of one or more subscribed courseware identifications; The courseware resource library is used to store a courseware information table and a plurality of courseware teaching files, and to assign a corresponding file link address to each of the courseware teaching files; the courseware information table includes a plurality of courseware information records; each of the courseware information records corresponds to a courseware resource, and each courseware resource corresponds to one or more of the courseware teaching files; the courseware information record includes at least a courseware identification field, a courseware introduction field, a courseware navigation tree field, and a teaching file link field; the teaching file link field is composed of the file link addresses of one or more of the courseware teaching files; The image resource library is used to store an image information table and multiple Notebook operating environment image files, and assign a corresponding image link address to each of the Notebook operating environment image files; the image information table includes multiple image information records; each of the image information records corresponds to one of the Notebook operating environment image files; The image information record at least includes an image identification field, an image name field, an image configuration description field, an image host configuration description field and an image link address field; the image configuration description field is an internal file list of the current image file; The mirror host configuration description field is the minimum host configuration that is adapted to the current mirror file; The intelligent robot is implemented based on a type of generative large language model; the generative large language model includes at least a GPT series model and a Wenxin series model.

3. The interactive courseware processing system according to claim 2, characterized in that: Each of the first courseware navigation trees corresponds to a courseware resource; the first courseware navigation tree is used to describe the hierarchical directory index structure of the current courseware resource, and to describe the cell index structure of each courseware teaching file whose file type is a Notebook file in the current courseware resource; The first courseware navigation tree includes the first root node, a plurality of the first directory nodes and a plurality of the first file nodes; The node attributes of the first root node include a first node identifier, a first courseware name, a first author name, the first image recommended configuration and the first host recommended configuration; the first image recommended configuration is a recommended image name; the first host recommended configuration is a host configuration description; The node attributes of the first directory node include the first node identifier, the first parent node identifier, the first directory index number, the first directory index title and the first child node identifier set; the first parent node identifier of the first directory node is the parent directory node identifier of the current directory node, specifically the first root node or the first node identifier of another first directory node; the first child node identifier set consists of one or more first child node identifiers, the first child node identifier is the subordinate child directory node identifier or the subordinate child file node identifier of the current directory node, specifically the first node identifier of one of the first directory nodes or the first file node; Each of the first file nodes corresponds to a courseware teaching file; the node attributes of the first file node include the first node identifier, the first parent node identifier, the first directory index number, the first title text, the first file type, the first file link address and the first cell index sequence; the first parent node identifier of the first file node is the parent directory node identifier of the current file node, specifically the first root node or the first node identifier of the first directory node; when the first parent node identifier of the first file node is the first node identifier of the first root node, the first directory index number and the first title text are both empty, and when the first parent node identifier of the first file node is the first node identifier of the first directory node, the first directory index number and the first title text are not empty; the first file type includes multiple types of static files and multiple types of interactive files; the multiple types of static files include at least multiple types of text file types, multiple types of office electronic document file types, PDF file types, multiple types of audio file types, and multiple types of video file types; the multiple types of interactive file types include at least Jupyter Notebook file types and Marimo Notebook file type; the first file link address is the file link address corresponding to the current courseware teaching file; when the first file type is a static file type, the first cell index sequence is empty; when the first file type is an interactive file type, the first cell index sequence is composed of multiple first cell index records; the first cell index record includes a first cell identifier and the first cell title; each of the first cell index records corresponds to a Markdown cell in the current courseware teaching file, the first cell identifier is the cell identifier of the current Markdown cell, and the first cell title is the cell text of the current Markdown cell.

4. The interactive courseware processing system according to claim 3, characterized in that: The client is specifically used to extract the corresponding first courseware name, the first author name, the first mirror recommended configuration and the first host recommended configuration from the node attributes of the first root node when setting the display information of the basic information display area of ​​the courseware teaching page based on the first root node of the first courseware navigation tree; and display the first courseware name, the first author name, the first mirror recommended configuration and the first host recommended configuration in the basic information display area.

5. The interactive courseware processing system according to claim 2, characterized in that: The server is specifically configured to prepare a courseware list according to the first overview request, the user information library and the courseware resource library to obtain the corresponding first courseware list and send it back to the client: Step 51, extracting the corresponding login user identifier from the first overview request; and extracting the subscribed courseware set field of the user information record whose user identification field in the user information database matches the login user identification as the corresponding subscribed courseware set; Step 52, if the subscribed courseware set is empty, then set the corresponding first courseware list to be empty; Step 53, if the subscribed courseware set is not empty, taking each subscribed courseware identifier of the subscribed courseware set as the corresponding current courseware identifier; and taking the courseware identification field and the courseware introduction field of the courseware information record whose courseware identification field matches the current courseware identification as the corresponding first courseware identification and the first courseware introduction to form a corresponding first courseware summary; and compose a corresponding first courseware list from all the obtained first courseware summaries; Step 54, sending the obtained first courseware list back to the client.

6. The interactive courseware processing system according to claim 2, characterized in that: The server is specifically configured to extract the corresponding first courseware identifier from the first courseware request when the server performs courseware information extraction processing according to the first courseware request and the courseware resource library to obtain the corresponding first courseware navigation tree and sends it back to the client; The courseware navigation tree field of the courseware information record whose courseware identification field in the courseware information table of the courseware resource library matches the first courseware identification is extracted and sent back to the client as the corresponding first courseware navigation tree.

7. The interactive courseware processing system according to claim 2, characterized in that: The server is specifically used to extract the corresponding first file link address from the first download request when the first teaching file is extracted and processed according to the first download request and the courseware resource library to obtain the corresponding first teaching file and send it back to the client; and download the courseware teaching file on the first file link address to obtain the corresponding first teaching file and send it back to the client.

8. The interactive courseware processing system according to claim 2, characterized in that: The server is specifically configured to, when the creation process of the Notebook runtime environment container is performed according to the first connection request, the image resource library, and the computing node cluster to obtain the corresponding first container parameter and send it back to the client: Step 81, extracting the first image recommended configuration and the first host recommended configuration corresponding to the first connection request as the corresponding current image name and current host configuration; Step 82, taking the image information records whose image name fields in the image information table of the image resource library match the current image name as corresponding primary image records; and taking the primary mirror record whose mirror host configuration description field satisfies the current host configuration as the corresponding secondary mirror record; and taking the secondary mirror record whose mirror host configuration description field has the highest configuration as the corresponding preferred mirror record; and extracting the mirror host configuration description field and the mirror link address field of the preferred mirror record as the corresponding first host configuration and first mirror address; Step 83: Send a first container creation request carrying the first host configuration and the first mirror address to the master node of the computing node cluster; and send the first container parameters sent back by the master node to the client.

9. The interactive courseware processing system according to claim 8, characterized in that: The master node of the computing node cluster is used to extract the corresponding first host configuration and the first image address from the first container creation request when receiving the first container creation request; and selecting a working node whose node host configuration satisfies the first host configuration and whose node working condition is idle as the corresponding current node; and downloading the Notebook operating environment image file at the first image address to the current node to create a corresponding image container to obtain a corresponding Notebook container, and running the Notebook container; And perform corresponding IP address allocation, SSH port setting, SSH login name setting and SSH login password setting for the Notebook container to obtain the corresponding container IP address, the SSH port address, the SSH login name and the SSH login password to form the corresponding first container parameters and send them back to the server; and set the node working condition of the current node to an occupied state.

10. The interactive courseware processing system according to claim 2, characterized in that: The server is specifically used for: when the corresponding post-run file is obtained by running the Notebook file according to the first run request and the computing node cluster and sending it back to the client: extracting the corresponding pre-run file and the first container parameter from the first run request; and using the Notebook container corresponding to the first container parameter as the corresponding first container; and performing an SSH channel connection with the first container according to the first container parameter to obtain the corresponding first SSH channel; and transferring the pre-run file to the running environment of the first container through the first SSH channel to save it as the corresponding temporary Notebook file; and in the running environment of the first container, calling the running instruction of the Notebook editor through the first SSH channel to run all the code cells and all the Markdown cells in the temporary Notebook file to obtain a Notebook file with the running results of all cells, which is recorded as the corresponding post-run file; and retrieve the post-run file to the local server through the first SSH channel; and when the post-run file transmission is completed, delete the temporary Notebook file and the post-run file through the first SSH channel in the running environment of the first container; And disconnect the first SSH channel; And send the post-execution file stored locally on the server back to the client.

11. The interactive courseware processing system according to claim 2, characterized in that: The server is used for sending the first disconnection request to the master node of the computing node cluster when performing the notebook runtime environment container shutdown process according to the first disconnection request and the computing node cluster; and receiving and waiting for the first disconnection feedback sent back by the master node within a preset first waiting time; If the first disconnection feedback is not received within the first waiting time or the first disconnection feedback received within the first waiting time is a failure, the first disconnection request is sent to the master node again until the first disconnection feedback received is a success.

12. The interactive courseware processing system according to claim 11, characterized in that: The master node of the computing node cluster is also used to extract the corresponding first container parameter from the first disconnection application upon receiving the first disconnection application; and use the working node where the Notebook container corresponding to the first container parameter is located as the corresponding current node; and identify the node working condition of the current node; if the current node working condition is an idle state, set a corresponding first disconnection feedback as success; if the current node working condition is an occupied state, delete the Notebook container running on the current node, and if the container deletion fails, set a corresponding first disconnection feedback as failure; if the container deletion is successful, further release the node resources occupied by the Notebook container on the current node, if the resource release fails, set a corresponding first disconnection feedback as failure, and if the resource release is successful, set a corresponding first disconnection feedback as success; and send the obtained first disconnection feedback back to the server; And the node operating state of the current node is set to an idle state.

13. The interactive courseware processing system according to claim 2, characterized in that: The server is specifically used to extract the corresponding question text from the first question and answer request and send it to the intelligent robot when the corresponding answer text is obtained by performing intelligent question and answer processing based on the first question and answer request and the intelligent robot and send it back to the client; and send the answer text sent back by the intelligent robot to the client.

Citation Information

Cited By

  • Resource allocation method based on artificial intelligence

    CN122243130A

  • A resource allocation method based on artificial intelligence

    CN122243130B