CN106548670A - Online teaching platform and online teaching method - Google Patents

Online teaching platform and online teaching method Download PDF

Info

Publication number
CN106548670A
CN106548670A CN201610681251.XA CN201610681251A CN106548670A CN 106548670 A CN106548670 A CN 106548670A CN 201610681251 A CN201610681251 A CN 201610681251A CN 106548670 A CN106548670 A CN 106548670A
Authority
CN
China
Prior art keywords
teaching
task
virtual resource
cluster
virtual machine
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201610681251.XA
Other languages
Chinese (zh)
Other versions
CN106548670B (en
Inventor
徐葳
鞠安
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Turing Artificial Intelligence Research Institute (Nanjing) Co., Ltd.
Original Assignee
Tsinghua University
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tsinghua University filed Critical Tsinghua University
Priority to CN201610681251.XA priority Critical patent/CN106548670B/en
Publication of CN106548670A publication Critical patent/CN106548670A/en
Application granted granted Critical
Publication of CN106548670B publication Critical patent/CN106548670B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09BEDUCATIONAL OR DEMONSTRATION APPLIANCES; APPLIANCES FOR TEACHING, OR COMMUNICATING WITH, THE BLIND, DEAF OR MUTE; MODELS; PLANETARIA; GLOBES; MAPS; DIAGRAMS
    • G09B5/00Electrically-operated educational appliances
    • G09B5/08Electrically-operated educational appliances providing for individual presentation of information to a plurality of student stations
    • G09B5/14Electrically-operated educational appliances providing for individual presentation of information to a plurality of student stations with provision for individual teacher-student communication
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q50/00Systems or methods specially adapted for specific business sectors, e.g. utilities or tourism
    • G06Q50/10Services
    • G06Q50/20Education
    • G06Q50/205Education administration or guidance

Abstract

The present invention provides a kind of online teaching platform and online teaching method, and the online teaching platform includes:Management service system, for creating virtual resource based on cloud service, the virtual resource of response study user asks to distribute virtual resource;Proxy server, provides agency service for the virtual resource for distributing is accessed by user;Repository service system, for storing account information, teaching task and the teaching work of user;Automatic judgment service system, for teaching work automatic judgment and exporting evaluation result according to evaluation and test task.The present invention realizes extensive online teaching purpose based on cloud service, good learning interaction is formed for each side that imparts knowledge to students and provides good teaching pattern, teacher can be allowed to create teaching task and configure corresponding teaching task management information and allow student to carry out automatic judgment to teaching work, realize the examination to learning ability, and by means of the online teaching platform, can specification and uniform teaching environment, it is convenient that teaching management is carried out to student.

Description

Online teaching platform and online teaching method
Technical field
The present invention relates to online teaching field, more particularly to a kind of online teaching platform and online teaching method.
Background technology
In the last few years, student's quantity of the course scale constantly expanded and the participation course for continuing to increase is to education sector New challenge is brought, extraly, with developing rapidly for the communication technology and enriching constantly for class teaching content and form With it is perfect, the classroom lecture contents of traditional form cannot gradually meet student and improve the ability of practice, culture creativity consciousness Require.
Just become realization using the interactive on-line study system set up by Multimedia Computer Technology and network technology A kind of emerging mode of learning of exchange and interdynamic is formed between teacher and student and between student, it be in traditional education system and A kind of brand-new teaching pattern explored outside the framework of teaching method, creates preferable interactive learning ring by network Border, realizes web-based teaching, management and interactive learning service, overcomes time resource distribution above, spatially and limits, and order is learned Habit person reaches the destination of study in the middle of interactively relation.But, nonetheless, how huge scale (hundreds of people's scale Course on the line of course and people's scale thousand of or even up to ten thousand under line) course in keep high-quality teaching level, be still very An interesting problem.It is simple linearly to increase the most beneficial way that human resources configuration is not obviously this problem of solution, Therefore the demand of automated system just more is shown especially out.
Current existing automation learning platform, mostly for specific subject and experiment, often scale is not or not this platform Greatly and very dependent on some specific experimental features.Set up more flexible with general experiment porch, be extremely to be necessary 's.Computer-experiment is more eager for the requirement of automated system, and reason is the meter that computer-experiment often brings complexity The puzzlement that calculation machine environment (such as operating system, network topology, software and kit version etc.) is caused.Teacher, student and assiatant are big The time and efforts of amount is all consumed on the computer environment unrelated with experiment itself is solved the problems, such as, this greatly constrains course The expansion of scale, also so that course is difficult to reach efficient requirement in itself.
The content of the invention
The present invention provides a kind of online teaching platform and online teaching method, for solving learning platform of the prior art There are problems that scale is less, autgmentability is weaker and the content of courses is specific and.
To solve the above problems and other problemses, the present invention provides a kind of online teaching platform, including:
Management service system, for creating virtual resource based on cloud service;It is additionally operable to respond the virtual money of study user Ask to distribute virtual resource to the study user in source;
Proxy server, is communicated to connect with the management service system, for accessing by the management service for user The virtual resource distributed by system provides agency service;
Repository service system, is communicated to connect with the management service system, for storing account information and the user of user The corresponding teaching task of account information and by it is described study user submit to it is corresponding with the teaching task teaching make Industry;And
Automatic judgment service system, with the repository service system communicate to connect, for according to evaluation and test system and to from institute The teaching work for stating the acquisition of repository service system carries out automatic judgment and exports evaluation result.
In some embodiments, the management service system also includes:For creating teaching task;Be additionally operable to configuration with The corresponding teaching task management information of the teaching task.
In some embodiments, teaching task is created, including:Obtain the account information of management user;Create with it is described The associated teaching task of the account information of management user;Corresponding virtual resource is configured for the teaching task.
In some embodiments, teaching task management information corresponding with the teaching task is configured, including it is following One or more:Configuration essential information;The configuration file of design Each point in time;Set up teaching task framework and by the teaching Task framework is stored into the repository service system;And evaluation and test system corresponding with teaching task is set up and configures, by institute Commentary is surveyed system and is stored into the automatic judgment service system.
In some embodiments, virtual resource includes cluster virtual machine corresponding with teaching task, in cluster virtual machine In include at least one virtual machine;The management service system also includes carrying out state for the virtual resource to creating Tracking, the status tracking are state acquisition to be carried out to the virtual resource based on cloud service and is taken according to the state for obtaining It is corresponding to take action:If there is virtual machine in current virtual machine cluster in creation state, continue tracking;If current virtual machine collection There is virtual machine creating failure in group, then start a new Virtual Cluster and delete current virtual cluster;If current virtual machine Virtual machine creating success in cluster, then proceed by the configuration of cluster virtual machine.
In some embodiments, being configured under following any one situation for the cluster virtual machine is implemented:Virtual machine collection Group create after, cluster virtual machine distribution before, and cluster virtual machine delete before;It is after cluster virtual machine is created, complete Thin portion into cluster virtual machine is adjusted, and starts necessary sex service;Before cluster virtual machine distributes, implement personalized customization; Before cluster virtual machine is deleted, the system resource that cluster virtual machine occupies is discharged, the operating result to learning user enters Row backup.
In some embodiments, the virtual resource request of the management service system response study user is virtual to distribute Resource gives the study user, including:Procuratorial theory commonly uses the virtual resource request at family, obtains study user profile and teaching is appointed Business;According to the study user profile and the teaching task, distribute available virtual resource to the study user.
In some embodiments, procuratorial theory commonly uses the virtual resource request at family, obtains study user profile and teaching is appointed Business, including:Input information to learning user is checked;Teaching in the virtual resource request of the study user that inspection is obtained Whether task needs packet;According to grouping information, configuration study user profile, create the object of study user and configure warehouse clothes The account information of business system.
In some embodiments, if teaching task need not be grouped, using the personal information of study user;If teaching Task needs packet, then using corresponding mute study user profile.
In some embodiments, if study user profile is not present, create new study user object;If study is used When family information is existing, then the information of needs is returned so as to ensuing distribution.
In some embodiments, according to the study user profile and the teaching task, distribute available virtual money The study user is given in source, including:The study user profile and the teaching task are obtained from repository service system;According to The study user profile and the teaching task, configure virtual resource;By proxy server be configuration complete it is virtual Resource sets up agency, and the virtual resource allocation that configuration is completed gives the study user.
In some embodiments, the management service system also includes for reclaiming virtual resource, wherein, for dividing The recovery of the virtual resource matched somebody with somebody includes:Terminate the use of the virtual resource;Release the agency of the virtual resource;By the cloud Virtual resource in service is deleted, and local data base information is deleted.
In some embodiments, the automatic judgment service system according to evaluation and test system and to from the repository service system The teaching work that system is obtained carries out automatic judgment and exports evaluation result, including:Acquisition include study user profile and The evaluation and test task of teaching task;Obtain from the repository service system and the study user profile and the teaching task pair The teaching work answered, creates temporary folder corresponding with the evaluation and test task, and the teaching work is input into the interim text In part folder;The teaching work is extracted from the temporary folder and is evaluated and tested;Obtain evaluation result and by the evaluation and test As a result exported.
The present invention provides a kind of online teaching method on the other hand, including:
Virtual resource allocation is given the study user by agency by the virtual resource request of response study user;It is described Virtual resource is created based on cloud service;
Receive the teaching corresponding with teaching task for being completed and being submitted to by the virtual resource for distributing by study user Operation;And
Automatic judgment is carried out to the teaching work and evaluation result is exported according to evaluation and test system.
In some embodiments, the online teaching method also includes:Create teaching task;Configuration is appointed with the teaching It is engaged in corresponding teaching task management information.
In some embodiments, teaching task is created, including:Obtain the account information of management user;Create with it is described The associated teaching task of the account information of management user;Corresponding virtual resource is configured for the teaching task.
In some embodiments, teaching task management information corresponding with the teaching task is configured, including it is following One or more:Configuration essential information;The configuration file of design Each point in time;Set up teaching task framework;Set up and configure Evaluation and test system corresponding with teaching task.
In some embodiments, virtual resource includes cluster virtual machine corresponding with teaching task, in cluster virtual machine In include at least one virtual machine;The online teaching method also includes carrying out status tracking to the virtual resource for creating, The status tracking is state acquisition to be carried out to the virtual resource based on cloud service and is taken according to the state for obtaining corresponding Action:If there is virtual machine in current virtual machine cluster in creation state, continue tracking;If in current virtual machine cluster There is virtual machine creating failure, then start a new Virtual Cluster and delete current virtual cluster;If current virtual machine cluster In virtual machine creating success, then proceed by the configuration of cluster virtual machine.
In some embodiments, being configured under following any one situation for the cluster virtual machine is implemented:Virtual machine collection Group create after, cluster virtual machine distribution before, and cluster virtual machine delete before;It is after cluster virtual machine is created, complete Thin portion into cluster virtual machine is adjusted, and starts necessary sex service;Before cluster virtual machine distributes, implement personalized customization; Before cluster virtual machine is deleted, the system resource that cluster virtual machine occupies is discharged, the operating result to learning user enters Row backup.
In some embodiments, virtual resource allocation is given the study by the virtual resource request of response study user User, including:Procuratorial theory commonly uses the virtual resource request at family, obtains study user profile and teaching task;According to the study User profile and the teaching task, distribute available virtual resource to the study user.
In some embodiments, procuratorial theory commonly uses the virtual resource request at family, obtains study user profile and teaching is appointed Business, including:Input information to learning user is checked;Teaching in the virtual resource request of the study user that inspection is obtained Whether task needs packet;According to grouping information, configuration study user profile, create the object of study user and configure account letter Breath.
In some embodiments, if teaching task need not be grouped, using the personal information of study user;If teaching Task needs packet, then using corresponding mute study user profile.
In some embodiments, if study user profile is not present, create new study user object;If study is used When family information is existing, then the information of needs is returned so as to ensuing distribution.
In some embodiments, according to the study user profile and the teaching task, distribute available virtual money The study user is given in source, including:Obtain the study user profile and the teaching task;According to the study user profile With the teaching task, virtual resource is configured;Agency is set up to configure the virtual resource for completing, the virtual resource that configuration is completed Distribute to the study user.
In some embodiments, the online teaching method also includes reclaiming virtual resource, wherein, for allocated The recovery of virtual resource includes:Terminate the use of the virtual resource;Release the agency of the virtual resource;By the cloud service In virtual resource deleted, local data base information is deleted.
In some embodiments, automatic judgment is carried out according to evaluation and test task to the teaching work and evaluation and test knot is exported Really, including:Acquisition includes the evaluation and test task of study user profile and teaching task;Obtain and the study user profile and institute The corresponding teaching work of teaching task is stated, temporary folder corresponding with the evaluation and test task is created, will be the teaching work defeated Enter in the temporary folder;The teaching work is extracted from the temporary folder and is evaluated and tested;Obtain evaluation result And the evaluation result is exported.
Online teaching platform of the present invention and online teaching method, are extensive (including participant to realize based on cloud service Scale and/or course scale) online teaching purpose, essentially consist in:Virtual resource is created based on cloud service, response study is used The virtual resource request at family is able to complete and religion using virtual resource for learning user to study user to distribute virtual resource The corresponding teaching work of task, and teaching work is obtained and to teaching work from repository service system further according to evaluation and test task Carry out automatic judgment, export evaluation result, be teaching each side (between management user and study user, between study user, and Between management user) good learning interaction is formed there is provided a kind of good teaching pattern, not only can allow and learn user's root Teaching work is completed according to teaching task and automatic judgment is carried out after being submitted to, realize and examine to learning user learning ability Core, and by means of the online teaching platform, can be convenient that each study user is imparted knowledge to students with specification and uniform teaching environment Management.
Description of the drawings
Fig. 1 is online teaching platform of the present invention block architecture diagram in one embodiment.
Corresponding relation schematic diagrames of the Fig. 2 for the main models in management service system.
Corresponding relation schematic diagrames of the Fig. 3 for the main models in automatic judgment service system.
Fig. 4 is that the process for being created and being configured teaching task by management user in online teaching method of the present invention is illustrated Figure.
Fig. 5 is to be illustrated according to the flow process that teaching task completes teaching work by study user in online teaching method of the present invention Figure.
Fig. 6 is process schematic diagram when online teaching method of the present invention is applied in online teaching platform.
Specific embodiment
Embodiments of the present invention are illustrated below by way of specific instantiation, those skilled in the art can be by this specification Disclosed content understands other advantages and effect of the present invention easily.The present invention can also pass through concrete realities different in addition The mode of applying is carried out or applies, the every details in this specification can also based on different viewpoints with application, without departing from Various modifications and changes are carried out under the spirit of the present invention.
It should be noted that structure, ratio, size depicted in this specification institute accompanying drawings etc., only to coordinate Content disclosed in bright book, so that those skilled in the art understands and reads, is not limited to enforceable limit of the invention Fixed condition, therefore do not have technical essential meaning, the modification of any structure, the change of proportionate relationship or the adjustment of size, not Affect, under effect that can be generated of the invention and the purpose that can be reached, still to fall In the range of covering.Meanwhile, in this specification it is cited as " on ", D score, "left", "right", " centre " and " one " etc. Term, is merely convenient to understanding for narration, and is not used to limit enforceable scope of the invention, the change of its relativeness or tune It is whole, under without essence change technology contents, when being also considered as enforceable category of the invention.
Fig. 1 is referred to, is online teaching platform of the present invention block architecture diagram in one embodiment.Online teaching of the present invention Platform is mainly based upon cloud service to realize the online teaching purpose of extensive (including participant's scale and/or course scale), Good is formed for each side that imparts knowledge to students (between management user and study user, between study user, and management user between) Practise interactive there is provided a kind of good teaching pattern, study user not only can be allowed teaching work to be completed according to teaching task and given So that automatic judgment is carried out after submission, the examination to learning user learning ability is realized, and by means of the online teaching platform, Can be convenient that teaching management is carried out to each study user with specification and uniform teaching environment.In the present embodiment, the present invention exists Line teaching platform is illustrated by taking computer-experiment as an example, in the computer-experiment, there is provided various computer-experiments Course, study user can be learnt for learned Computer experiment course and be completed corresponding computer-experiment operation (example Such as:Programming code operation), certainly, it is not limited thereto, involved teaching in online teaching platform may also include conventional class Journey, electronic experiment, chemical experiment and practice operation etc..
The cloud server terminal includes that public cloud (Public Cloud) service end is serviced with private clound (Private Cloud) End, wherein, described public or privately owned cloud server terminal includes SaaS (Software as a Service, software are serviced), PaaS (Platform-as-a-Service, platform are serviced) and IaaS (Infrastructure-as-a-Service, infrastructure Service) etc..The privately owned cloud server terminal such as Microsoft's cloud computing service platform (Microsoft Azure), Amazon cloud meter Calculate service platform (Amazon Web Services, AWS), IBM Supervessel Cloud, OpenStack, Ali's cloud meter Calculate service platform, Baidu's cloud computing platform, Tengxun's cloud computing platform etc..
As shown in figure 1, online teaching platform of the present invention is based on SaaS, and (Software as a Service, software take Business) theory builds, and SaaS is with the development of Internet technology and the ripe of application software and a kind of innovating completely of rising Software application pattern.It is a kind of pattern that software is provided by internet (Internet), and application software is unified by service provider It is deployed on the server of oneself, user can be according to oneself actual demand, answering needed for being ordered to service provider by internet It is with software service, how many by the service ordered and time length is come to service provider's payment expense, and serviced by internet The service that business provides (application on any one remote server can be run by network).User is soft without buying again Part, and use the software to provider's rental based on Web instead, carry out corresponding activity (for example:School of management's education activities or enterprise Industry business activities etc.), and without the need for safeguarding to software, service provider understands full powers management and safeguards software, software house To client provide the Internet, applications while, also provide software off-line operation and local datastore, allow user at any time with The software and services that ground can be ordered using which.
In the present embodiment, online teaching platform of the present invention has specifically included management service system (Management Service) 11, proxy server (Proxy Service) 13, repository service system (GitLab Service) 15, and Automatic judgment service system (Autograder Service) 17, wherein, management service system 11 and proxy server 13 with Cloud service (Cloud Service) is set up has network service to connect, and separate between each service system and lead to each other Cross the interface for defining (for example:HTTP interface) interaction, therefore, change wherein some service system or to some service system System is upgraded or is migrated, all without integrally impacting to other service systems and whole online teaching platform.
It is described in detail below for above-mentioned each sub-services system.
Management service system 11 be user (for example:Student and the teacher as management user as study user) and The main interactive interface of line teaching platform, for creating teaching task, virtual resource is created based on cloud service, responding virtual money Source is asked and virtual resource is configured, and the virtual resource for most configuring at last is distributed.The master of management service system 11 Content to be responsible for includes:Management virtual resource, may include the establishment of virtual resource, distribution, and recovery to the management of virtual resource Deng;The core informations such as management user, teaching task.
As it was previously stated, online teaching platform of the present invention is that (Software as a Service, software take based on SaaS Business) theory structure, online teaching platform of the present invention is integrated with an on-line study website, and user passes through specific URL (Uniform Resource Locator, URL), you can obtain corresponding virtual resource, and then pass through network Interface directly accesses and operates.
By taking computer-experiment as an example, usually, learn user (for example:Student) computer studies is selected by socket And in the computer studies during corresponding computer-experiment, the request of virtual resource being just automatically performed, whole request process is simultaneously Any information of learning user input is not needed.
Following table one is referred to, the main api interface (Application in management service system 11 is which show Programming Interface, application programming interface).
Table one
Table two is referred to, which show the main models in management service system 11 and corresponding domain (separately has part to be used for Model needed for the domain of expression relation and third party's instrument does not show).
Table two
For each main models in table two, the corresponding relation between them can further refer to Fig. 2.As shown in Fig. 2 Experiment cluster models (ClusterConfiguration) and single virtual machine model (ClusterTemplate) in experiment cluster It is the relation of one-to-many, course (Courses) and the relation that specific experiment (Experiments) is one-to-many, specific experiment (Experiments) it is man-to-man relation with experiment cluster models (ClusterConfiguration), specific experiment (Experiments) with cluster virtual machine (Machines) it is man-to-man relation, cluster virtual machine (Machines) and distribution Student (Students) to request virtual resource is man-to-man relation, student (Students) and user's group (UserGroups) be multi-to-multi relation, student (Students) and repository service system realize interacting, user's group (UserGroups) realize interacting with repository service system by mute student's object (a fake student).
Major database in management service system 11 is by scaffold (Scaffold) function of Ruby on Rails Automatically generate, comprising basic management (newly-built, check, edit and delete) function and related interfaces, system is to virtual resource Management, then mainly pass through delayed job instrument asynchronous implements.Ruby on Rails are one can make exploitation, deployment, dimension Shield weblication becomes simple framework.Rails is (full-stack) of a full stack write with Ruby, increases income Web frameworks, it is possible to use easily writing actual application program, required code is also being processed than most of framework flowers for it Code on XML is few.
Management below for virtual resource (include the establishment of virtual resource, distribution, and recovery etc.) be specifically described.
The establishment of virtual resource:
Virtual resource is with teaching task (for example:Computer-experiment) corresponding cluster virtual machine, in cluster virtual machine At least one virtual machine can be included.
From the beginning of the establishment of cluster virtual machine adds queue from MachineCreateJob, the task is according to be created virtual The parameter of machine cluster, calls cloud service interface to be created.
On invocation, status tracking can be carried out to the cluster virtual machine for creating out.Specifically, accordingly MachineStatusJob can be created and add queue, when MachineStatusJob is performed, can call cloud service interface State acquisition is carried out to cluster virtual machine, and according to the state for obtaining, takes corresponding action.
Further, in actual applications, following several situations can be divided into:
It is if there is virtual machine in a, current virtual machine cluster in creation state, new by one MachineStatusJob tasks add queue, that is, continue tracking.
If there is virtual machine creating failure in b, current virtual machine cluster, a new MachineCreateJob is appointed Business adds queue, while the MachineDeleteJob tasks of current virtual machine cluster are added queue, that is, start one it is new Cluster virtual machine simultaneously deletes current virtual machine cluster.Especially, due to experience have shown that most sources due to virtual machine creating fails It is excessively intensive in workflow, therefore, the execution time of MachineCreateJob tasks can add random delay to alleviate traffic.
If all virtual machine creating successes in c, current virtual machine cluster, proceed by the configuration of cluster virtual machine, The ansible scripts of respective stage are performed.Subsequently, if ansible scripts perform failure, it is similar to situation b and creates failure, it is raw The MachineCreateJob tasks of Cheng Xin, start a new cluster virtual machine and and delete current virtual machine cluster.
It should be noted that, the MachineStatusJob tasks of same virtual environment can preserve a counter, and Counter is deleted the virtual environment and new establishment task is performed after random time delay when reaching threshold value.This design, be Consider in actual environment, can be due to traffic congestion or cluster management system it is unstable, cause virtual machine creating complete Into, but will not also fail.When creating, cluster virtual machine is in On Progress states;In configuration, in Prepare shapes State;After configuration successful, in Available states.If there is mistake, then Error states can be in.All state codes All it is defined in cloud service interface document.
By realizing automatically configuring for virtual resource (that is, cluster virtual machine), virtual resource can be more neatly adjusted, Also make expeditiously to build study user individual virtual resource to be possibly realized.As the configuration of the cluster virtual machine of virtual resource Can occur in three below node:Cluster virtual machine create after, cluster virtual machine distribution before, and cluster virtual machine delete Except front.
1) details adjustment (such as parameter modification etc.) of cluster virtual machine after, cluster virtual machine is created, is completed, is started necessary Service (as docker is serviced, VNC (Virtual Network Computing, Virtual Networking Computing) services etc.).In this rank Section can equally perform prolonged task, the such as installation of software kit, or even the whole configurations for completing whole cluster virtual machine.
2), before cluster virtual machine distribution, the customization of personalization is substantially carried out, for example, sets up the code of correspondence study user Warehouse.
3) before, cluster virtual machine is deleted, mainly the system resource that cluster virtual machine occupies is discharged, while to study The operating result of user is backed up, for example, the code storage of study user is pushed to remote warehouse.
The automatic configuration of virtual environment is completed by ansible scripts.Based on the role mechanism of ansible, ansible Can realize based on teaching task (for example:Computer-experiment) differential configuration, specifically, every time configuration completes two simultaneously The task of individual role (role):Common and exp, wherein, common be all computer-experiments be required for completing it is basic Configuration, exp is individually configured based on each computer-experiment.As needed, the level of this differentiated configuration can be with Further segment.
The distribution of virtual resource:
The distribution of virtual resource (that is, cluster virtual machine) from study user (for example:Student) by specifying API request virtual Resource starts, and procuratorial theory commonly uses the virtual resource request at family, obtains study user profile and teaching task;Used according to the study Family information and the teaching task, distribute available virtual resource to the study user.
Procuratorial theory commonly uses the virtual resource request at family, obtains study user profile and teaching task, including:
Obtain the virtual resource request of study user;
First, the input information to learning user is checked.Here input information mainly may include that for example study is used The accounts information at family is (for example:Mailbox, user name) etc., therefore, then include example for the input information of study user is checked Whether the account information as procuratorial theory commonly uses family is legal (for example:It is whether the mailbox of specification) etc..
Secondly, the teaching task during the inspection virtual resource is asked is (for example:Computer-experiment) whether need packet. Here, if returning packet interface during the study non-selected packet of user.
Again, according to grouping information, configuration study user profile creates the object of study user and configures repository service system The account information of system.As a example by learning user and be student, specifically, by Student@setup methods, create student's object And configure the account information of repository service system.If need not be grouped as the computer-experiment of teaching task, using Raw personal information;If needing packet as the computer-experiment of teaching task, using corresponding mute student information (fake student)。
Student setup create new student's object when the student is not present, the student in the presence of, then can The information for needing is returned so as to ensuing distribution.According to student information and computer-experiment information, there is available virtual money During source (that is, cluster virtual machine), begin to be allocated.The distribution of virtual resource, enters line asynchronous (this using the multithreading of Ruby Sample assigning process is not limited to the worker quantity of delayed job), and completed by Machine#assign.
According to the study user profile and the teaching task, distribute available virtual resource (that is, cluster virtual machine) To the study user, including:First, ansible scripts during distribution are performed;Secondly, agency is set up according to configuration;Finally, The virtual resource that configuration is completed is returned to into study user.In virtual resource into after the distribution of work, if corresponding computer-experiment Require to delete virtual resource, then the timed task that can create MachineDeleteJob carries out the recovery of virtual resource.Due to dividing Asynchronous with process, learning user carries out configuration status tracking by the API that specifies, configuration status tracking request by The process of Dispatches#progress methods.
Virtual resource is reclaimed:
The recovery of virtual resource is that completing, it is virtual that the task has deletion simultaneously concurrently by MachineDeleteJob tasks The function of progress is deleted in resource and monitoring.
During recovery, for the allocated virtual resource, the ansible scripts at the end of being first carried out, reprocessing are corresponding Proxy information.Afterwards, the virtual resource at cloud service is deleted, after confirming to delete, local data base information is deleted.
Confirm the mode deleted, be similar to MachineStatusJob tasks, and MachineDeleteJob tasks sheet as There is status tracking function, therefore need to only create the MachineDeleteJob tasks of same cluster.
At present, management service system 11 is disposed by Passenger+Nginx.
From the foregoing, it will be observed that management service system 11 is set up based on Ruby on Rails frameworks, therefore file structure and Ruby The structure of on Rails suggestions is consistent.The function of part vital document is specified here:
Table three
Proxy server 13, communicates to connect (the HTTP interface friendship by defining to each other with management service system 11 Mutually), for be user (for example, as study user student and as management user teacher) access by management service system 11 virtual resources for being distributed provide reverse proxy service.Reverse proxy (Reverse Proxy) mode is referred to agency service Then device forwards a request to the server on internal network receiving the connection request on internet, and will be from server The result for obtaining returns to the client for asking to connect on internet.
Following table four is referred to, the main api interface in proxy server 13 is which show.
Table four
URL pattern HTTP method Parameter Function
/ POST :target_url Generate the agency for specifying URL
/ GET List all agent rules
/ DELETE :target_url Delete the agency for specifying URL
Proxy server is realized based on Flask, and Flask is one and is applied using the lightweight Web that Python writes Framework.App.py files contain the process function of all routes, and proxy_manager.py contains the whole of proxy management Logic, wherein CONFIG_FILE are Nginx agent configuration file templates, and SITES_AVAILABLE and SITES_ENABLED is then It is the corresponding folder paths of Nginx.Agency service set up principle, be based on given information, based on CONFIG_FILE this The new configuration file of individual template generation, and cause Nginx to be loaded into the configuration file by reload functions.
At present, the deployment of proxy server 13 is realized by uWSGI and uWSGI Emperor.
The meaning of reverse proxy that proxy server 13 is provided service is:On the one hand, most cloud platforms are not carried The direct public network IP access of offer for accessing for direct public network IP or can only be paid, in this case, proxy server 13 can make user not need access of virtual network (VPN) and directly access virtual resource, so as to greatly simplifie user's Operating process.On the other hand, proxy server 13 can monitor user's flowing of access in real time, abnormal flow be carried out pre- It is alert, and there is provided shunting and the possibility of load balancing.
Repository service system 15 communicates to connect (the HTTP interface friendship by defining to each other with management service system 11 Mutually), for storing user (for example:As study user student and as management user teacher) account information and use Family is (for example:As study user student and as manage user teacher) the corresponding teaching task of account information and By the study user (for example:Student) teaching work corresponding with the teaching task submitted to.
In the present embodiment, for the computer-experiment as teaching task, teaching corresponding with computer-experiment is made If owner's programming code, therefore, repository service system 15 is provided with the code storage (repository) of individual for student.
At present, the deployment of repository service system 15 is realized by open source projects GitLab.
Automatic judgment service system 17 and repository service system 15 communicate to connect the (HTTP interface by defining to each other Interaction), for according to evaluation and test task, the teaching work to obtaining from the repository service system carries out automatic judgment simultaneously Output evaluation result.In the present embodiment, automatic judgment service system 17 is mainly the Xqueue with an on-line study website Component is integrated, thus, automatic judgment service system 17 obtains evaluation and test task from the on-line study website, obtains from repository service system Teaching work file is taken, and evaluation result is returned to into the on-line study website.Automatic judgment service system 17 was entirely evaluated and tested Journey is all automatically performed, and does not need any local file, it is achieved that the high in the clouds of whole teaching.
In the present embodiment, automatic judgment service system is realized based on Ruby on Rails frameworks, is passed through Delayed job realize asynchronous scoring.
Table five is referred to, the main models in automatic judgment service system 17 and corresponding domain is which show.
Table five
For each main models in table five, the corresponding relation between them can further refer to Fig. 3.As shown in figure 3, Teaching task and the relation that evaluation and test task is one-to-many.
In the present embodiment, an evaluation and test task is completed, is completed by GraderJob#grading.
GraderJob#grading mainly completes following work:
Acquisition includes the evaluation and test task of study user profile and teaching task information.By taking computer-experiment as an example, it is exactly Acquisition includes the evaluation and test task of student information and computer-experiment information.
Teaching work corresponding with the study user profile and the teaching task is obtained from repository service system 15, Temporary folder corresponding with the evaluation and test task is created, the teaching work is write in the temporary folder.To calculate As a example by machine experiment, it is exactly to obtain and this computer at the code storage of the correspondence student information from repository service system 15 Test corresponding programming code operation.In the present embodiment, each evaluation and test task can obtain a temporary folder, and learn Raw programming code operation can be written in the specified file under the temporary folder, and the path of the temporary folder then can As last call parameters of call instruction.
Evaluation and test script is called, the teaching work is extracted from the temporary folder and is commented by the evaluation and test script Survey.In the present embodiment, evaluate and test calling for script and appoint that with answer acquisition evaluation and test script passes through call instruction in advance (including corresponding call parameters) call in the temporary folder as teaching work programming code operation and to calling The programming code operation evaluated and tested, evaluate and test script and the evaluation and test file of formulation further set up under the temporary file Folder, and evaluation result is write in a particular format exactly in the evaluation and test file, in order to network analysis and teaching feedback.It is described Evaluation result includes the parts such as total score, obtained score and comment.It should be noted that, in above test process, temporary file Programming code operation in folder can be downloaded and preserve, and this part is in order at examining for the Function Extension such as data analysis and anti-cheating Consider.
Obtain evaluation result and the evaluation result is exported.By taking computer-experiment as an example, either student is still Teacher, can get the evaluation result, the dotcom world of the online website that the evaluation result can feed back and be shown in used by student On face.
In the above-mentioned implementation process for completing an evaluation and test task, all of file acquisition is based on distant place warehouse at present Master branches.
Automatic judgment service system 17 is equally based on Ruby on Rails frameworks, therefore main file framework and function It is all consistent with aforementioned management service system 11, therefore, will not be described here.
Automatic judgment service system 17 has used the practice of another kind of delayed job, therefore do not have/app/jobs/ is literary Part is pressed from both sides.Whether two main asynchronous tasks are Assignment#next_job respectively, do not evaluate and test in being responsible for monitoring Xqueue Task, and task is obtained when there is new task and new evaluation and test task is generated;GraderJob#grading, is responsible for single The scoring of task.
At present, automatic judgment service system 17 is disposed by Passenger+Nginx.
The present invention separately provides a kind of online teaching method, and the online teaching method is based on line teaching platform to realize 's.Online teaching method of the present invention is mainly based upon cloud service to realize extensive (rule including participant's scale and/or course Mould) online teaching purpose, be teaching each side (management user and study user between, study user between, and management user Between) good learning interaction is formed there is provided a kind of good teaching pattern, management user not only can be allowed to create teaching and to be appointed Teaching task management information corresponding with the teaching task is engaged in and is configured, study user is also allowed for and religion is completed according to teaching task Learn operation and carry out automatic judgment after being submitted, realize the examination to study user learning ability, also, by means of this Line teaching platform, can be convenient to carry out teaching management to each study user with specification and uniform teaching environment.In present embodiment In, online teaching platform of the present invention is illustrated by taking computer-experiment as an example, in the computer-experiment, there is provided various Computer experiment course, can be learnt and be completed corresponding as the student of study user for learned Computer experiment course Computer-experiment operation (for example:Programming code operation), certainly, it is not limited thereto, involved by online teaching platform Teaching may also include regular academic offerings, electronic experiment, chemical experiment and practice operation etc..
Fig. 4 is referred to, is created and is configured teaching in which show online teaching method of the present invention by management user and appoint The process schematic diagram of business.Here, manage user to be described by taking teacher as an example.With reference to Fig. 1 and Fig. 4, by management user Teaching task is created and is configured, including:
First, teaching task is created by management service system 11 under corresponding management user account, is that the teaching is appointed The corresponding virtual resource of business configuration.
As it was previously stated, online teaching method of the present invention applied line platform be SaaS build, the online teaching put down Platform is integrated with an on-line study website, and management user is (for example:Teacher) by specific URL (Uniform Resource Locator, URL) operation can directly be accessed by socket.
Management user account is submitted in management user side by management user.By taking teacher as an example, teacher is in on-line study It is input into corresponding teacher's account to submit to by web log-on page on the webpage of website, teacher's account may include:User name/ Mailbox, and teacher's public key (password).If during no teacher's account, teacher's account can be pre-created, i.e. used by being input into Name in an account book/mailbox and teacher's public key (password) are creating.
In addition, also including before creating teaching task:Prepare virtual resource template.In the present embodiment, virtual resource refers to Be cluster virtual machine corresponding with teaching task, include at least one virtual machine in cluster virtual machine.Therefore, prepare empty Intend resource template, exactly corresponding virtual resource is being configured for teaching task to be set up.For teaching task configuration correspondence Virtual resource can specifically perform but be not limited to following one or more:The scale of configuration cluster virtual machine is (for example:Virtual machine Quantity of virtual machine etc. in cluster);The network topology of configuration cluster virtual machine;It is virtual to each included in cluster virtual machine Machine is configured.
Thus, by ready virtual resource template, creating the religion being associated with the account information of the management user Task.In the present embodiment, i.e. establishment is under the jurisdiction of the computer-experiment under teacher's account.
Afterwards, teaching task management information corresponding with the teaching task is configured by management service system 11.
Here, configure teaching task management information and include many configurations:
1st, configure essential information
Configure the grouping information of the teaching task (for example:Whether teaching task needs packet, is if desired grouped and how to set Determine rule of classification etc.);
Set up the port information for obtaining the agency service in proxy server 13;
If corresponding teaching task requires to delete virtual resource, may choose whether that the task of virtual resource is deleted in timing And setting performs the time accordingly when selecting timing to delete task.
2nd, design the configuration file of Each point in time
By Ansible configuration scripts, the configuration file of Each point in time is designed.Especially, in the present embodiment, matching somebody with somebody Put in file, polytype instruction bar can be supported, and it is simple, clear and definite to instruct bar to have the advantages that.
3rd, set up teaching task framework
In the present embodiment, set up teaching task framework to specifically include:Set up computer-experiment framework and by the calculating Machine experimental framework is stored into repository service system 15.
4th, set up and configure evaluation and test system corresponding with teaching task
In the present embodiment, set up and configure evaluation and test system corresponding with teaching task to specifically include:Evaluation and test instruction is set up, Evaluation and test script corresponding with the computer-experiment, listed files that configuration need to be recorded etc. are set up, and the evaluation and test system is deposited Store up into automatic judgment service system 17.
By aforesaid operations, that is, the foundation and configuration of whole teaching task are completed, for follow-up use.
Fig. 5 and Fig. 6 is referred to, wherein, Fig. 5 is complete according to teaching task by study user in online teaching method of the present invention Into the schematic flow sheet of teaching work, Fig. 6 is that process when online teaching method of the present invention is applied in online teaching platform is shown It is intended to.
With reference to Fig. 1, Fig. 5 and Fig. 6, online teaching method of the present invention at least comprises the steps:
Step S501, the virtual resource request of response study user, by agency by virtual resource allocation to study user.
As it was previously stated, online teaching method of the present invention applied line platform be SaaS build, the online teaching put down Platform is integrated with an on-line study website, and study user is (for example:Student) by specific URL (Uniform Resource Locator, URL), you can corresponding virtual resource is obtained, and then operation is directly accessed i.e. by socket Can.
By taking computer-experiment as an example, usually, can be aobvious after student is logged on the socket of the on-line study website Illustrate to should student account computer studies information, now, student may select from needed for computer studies and should Corresponding computer-experiment in computer studies, when when selection operation is carried out, be just automatically performed in fact virtual resource please Ask and virtual resource request is sent and sent by internet, whole request process does not simultaneously need student's input any Information.Correspondingly, management service system 11 receive virtual resource request and distribute accordingly available virtual resource to Corresponding student.
Virtual resource is created based on cloud service.Here virtual resource is referred to teaching task (for example:Calculate Machine is tested) corresponding cluster virtual machine, at least one virtual machine can be included in cluster virtual machine.The establishment of cluster virtual machine It is parameter according to cluster virtual machine to be created and calls cloud service interface to be created.Certainly, the virtual machine collection to creating Group also needs to carry out status tracking, and the status tracking is state acquisition to be carried out to cluster virtual machine and according to obtaining based on cloud service The state that takes and take corresponding action:If there is virtual machine in current virtual machine cluster in creation state, continue tracking; If there is virtual machine creating failure in current virtual machine cluster, start a new Virtual Cluster and delete current virtual collection Group;If all virtual machine creating successes in current virtual machine cluster, proceed by the configuration of cluster virtual machine.
For the configuration of the cluster virtual machine as virtual resource, can occur in three below node:Cluster virtual machine After establishment, cluster virtual machine distribution before, and cluster virtual machine delete before.
1) details adjustment (such as parameter modification etc.) of cluster virtual machine after, cluster virtual machine is created, is completed, is started necessary Service (as docker is serviced, VNC (Virtual Network Computing, Virtual Networking Computing) services etc.).In this rank Section can equally perform prolonged task, the such as installation of software kit, or even the whole configurations for completing whole cluster virtual machine.
2), before cluster virtual machine distribution, the customization of personalization is substantially carried out, for example, sets up the code storehouse of correspondence user Storehouse.
3), before, cluster virtual machine is deleted, mainly the system resource that cluster virtual machine occupies is discharged, while to user Operating result backed up, the code storage of user is pushed to into remote warehouse for example.
Thus, by the configuration of above-mentioned cluster virtual machine, automatically configuring for virtual resource is realized, can be more neatly Adjustment virtual resource, also makes expeditiously to build student individuality virtual resource and is possibly realized.
Step S501 is continued back at, so that student carries out computer-experiment as an example, in step S501, management service system The virtual resource of 11 response students is requested and allocated virtual resource to the student, can further include:Check that student's is virtual Resource request, obtains student information and computer-experiment;According to the student information and the computer-experiment, distribute available Virtual resource (that is, cluster virtual machine) is to the student.
The virtual resource request of student is checked, student information and computer-experiment is obtained, including:
Obtain the virtual resource request of student.Here virtual resource request may be, for example, to click corresponding calculating by student Automatically the client for triggering after machine experiment icon control and being located by student is sent by internet.
The input information of student is checked.Here input information mainly may include the account letter for for example learning user Breath (such as mailbox, user name) etc., therefore, for the input information of study user is checked, family is commonly used including such as procuratorial theory Account information whether legal (such as whether being the mailbox of specification) etc..
Check whether the computer-experiment in the virtual resource request needs packet.If inspection obtains computer-experiment needing Being grouped but packet interface being returned during the non-selected packet of student select to be grouped for student;If inspection obtains computer-experiment needs It is grouped and student selects packet, then continues next step;If inspection obtains computer-experiment and need not be grouped, continue next Step;
According to grouping information, student information is configured, create the object of student and configure the account letter of repository service system 15 Breath.Specifically, create student's object and configure the account information of repository service system 15.Hold and sayed, if computer-experiment Need not be grouped, then directly use student's personal information;If computer-experiment needs packet and student selects packet, use Corresponding mute student information (fake student).
According to student information (for example:Student's personal information or mute student information) and computer-experiment information, can existing (search whether to exist whether available resources can be needed point computer-experiment is checked during with virtual resource (that is, cluster virtual machine) Can carry out before or after group), begin to be allocated.The assigning process may include:A, according to student information and computer Experiment information, configures virtual resource;B, the virtual resource allocation for completing configuration are right to the student institute for sending virtual resource request The client answered, for programming code operation of the student according to corresponding to the virtual resource of distribution completes the computer-experiment.Its In, above-mentioned A can be further refined as:Student's code corresponding with the student information is obtained from repository service system 15;By Management service system 11 configures virtual resource according to Service Management script;By the virtual resource that proxy server 13 is configuration Configuration Agent.Above-mentioned B is that:Asked the virtual resource allocation for completing is configured to virtual resource is sent according to the agency of configuration Student corresponding to client.
Thus, the virtual resource that student can be obtained using distribution in client, completes corresponding with the computer-experiment Programming code operation.
Step S503, receive by study user by distribution virtual resource complete and submit to it is corresponding with teaching task Teaching work.
As it was previously stated, at the client corresponding to student, the virtual resource distributed by management service system 11 is obtained, Using the virtual resource, the programming code of typing or implanting needle to the computer-experiment, so as to complete the religion of the computer-experiment Learn operation.Subsequently, the teaching work that student is near completion is (for example:Programming code operation) submit to (for example:Carried by socket For submitting button control), the teaching work of submission is (for example:Programming code operation) it is stored in repository service system 15 It is interior.
Step S505, carries out automatic judgment to the teaching work and exports evaluation result according to evaluation and test task.
In fact, in the present embodiment, such setting can be done:When student is pressed by the submission that socket is provided Button control also represent the request that together have submitted teaching assessment while submitting teaching work to.Certainly, others may also be employed Setting:The submission of the submission and teaching assessment of teaching work is submitted to respectively using different submitting button controls.
So, step S505 can be further included:
Receive the request of teaching assessment and obtain corresponding teaching assessment task accordingly, include in the evaluation and test task Student information and computer-experiment information.
Teaching work (example corresponding with the student information and the computer-experiment is obtained from repository service system 15 Such as:Programming code operation), temporary folder corresponding with the evaluation and test task is created, by the teaching work (for example:Programming Code operation) write in the temporary folder.In the present embodiment, each evaluation and test task can obtain a temporary file Folder, and the programming code operation of student can be written in the specified file under the temporary folder, the temporary folder Path then can be used as last call parameters of call instruction.
Evaluation and test script is called, the teaching work is extracted from the temporary folder and is commented by the evaluation and test script Survey.In the present embodiment, evaluate and test calling for script and appoint that with answer acquisition evaluation and test script passes through call instruction in advance (including corresponding call parameters) call in the temporary folder as teaching work programming code operation and to calling The programming code operation evaluated and tested, evaluate and test script and the evaluation and test file of formulation further set up under the temporary file Folder, and evaluation result is write in a particular format exactly in the evaluation and test file, in order to network analysis and teaching feedback.It is described Evaluation result includes the parts such as total score, obtained score and comment.
Obtain evaluation result and the evaluation result is exported, i.e. the evaluation result can be returned to student institute Corresponding client (being shown on the socket of the online website used by student).
Subsequently, student can modify to previous programming code operation according to the evaluation result, hereby it is achieved that learning The examination of raw actual program ability, the programmed environment that can be used with specification and unified student are convenient that each student is managed, That so can effectively improve student puts into practice program capability.
Online teaching platform of the present invention and online teaching method, are extensive (including participant to realize based on cloud service Scale and/or course scale) online teaching purpose, essentially consist in:Virtual resource is created based on cloud service, response study is used The virtual resource request at family is able to complete and religion using virtual resource for learning user to study user to distribute virtual resource The corresponding teaching work of task, and teaching work is obtained and to teaching work from repository service system further according to evaluation and test task Carry out automatic judgment, export evaluation result, be teaching each side (between management user and study user, between study user, and Between management user) good learning interaction is formed there is provided a kind of good teaching pattern, not only can allow and learn user's root Teaching work is completed according to teaching task and automatic judgment is carried out after being submitted to, realize and examine to learning user learning ability Core, and by means of the online teaching platform, can be convenient that each study user is imparted knowledge to students with specification and uniform teaching environment Management.
The principle and its effect of above-described embodiment only illustrative present invention, it is of the invention not for limiting.It is any ripe The personage for knowing this technology all can carry out modifications and changes to above-described embodiment under the spirit and the scope without prejudice to the present invention.Cause This, those of ordinary skill in the art is complete with institute under technological thought without departing from disclosed spirit such as Into all equivalent modifications or change, should by the present invention claim be covered.

Claims (26)

1. a kind of online teaching platform, it is characterised in that include:
Management service system, for creating virtual resource based on cloud service;The virtual resource for being additionally operable to respond study user please Ask to distribute virtual resource to the study user;
Proxy server, is communicated to connect with the management service system, for accessing by the management service system for user The virtual resource for being distributed provides agency service;
Repository service system, is communicated to connect with the management service system, for storing the account information of user and the account of user Number corresponding teaching task of information and the teaching work corresponding with the teaching task submitted to by the study user;With And
Automatic judgment service system, with the repository service system communicate to connect, for according to evaluation and test system and to from the storehouse The teaching work that storehouse service system is obtained carries out automatic judgment and exports evaluation result.
2. online teaching platform according to claim 1, it is characterised in that the management service system also includes:For Create teaching task;It is additionally operable to configuration teaching task management information corresponding with the teaching task.
3. online teaching platform according to claim 2, it is characterised in that create teaching task, including:
Obtain the account information of management user;And
Create the teaching task being associated with the account information of the management user;It is corresponding virtual for teaching task configuration Resource.
4. online teaching platform according to claim 2, it is characterised in that configuration teaching corresponding with the teaching task Task management information, including following one or more:
Configuration essential information;
The configuration file of design Each point in time;
Set up teaching task framework and the teaching task framework is stored into the repository service system;And
Evaluation and test system corresponding with teaching task is set up and configured, the evaluation and test system is stored to the automatic judgment service system In system.
5. online teaching platform according to claim 1, it is characterised in that
Virtual resource includes cluster virtual machine corresponding with teaching task, includes at least one virtual in cluster virtual machine Machine;
The management service system also includes carrying out status tracking for the virtual resource to creating, and the status tracking is State acquisition is carried out based on cloud service to the virtual resource and corresponding action is taken according to the state for obtaining:
If there is virtual machine in current virtual machine cluster in creation state, continue tracking;
If there is virtual machine creating failure in current virtual machine cluster, start a new Virtual Cluster and delete current virtual Cluster;And
If the virtual machine creating success in current virtual machine cluster, proceeds by the configuration of cluster virtual machine.
6. online teaching platform according to claim 5, it is characterised in that the cluster virtual machine is configured in following Implement under a kind of situation:
Cluster virtual machine create after, cluster virtual machine distribution before, and cluster virtual machine delete before;
The thin portion adjustment of cluster virtual machine after cluster virtual machine is created, is completed, starts necessary sex service;
Before cluster virtual machine distributes, implement personalized customization;And
Before cluster virtual machine is deleted, the system resource that cluster virtual machine occupies is discharged, the operation to learning user As a result backed up.
7. online teaching platform according to claim 1, it is characterised in that the management service system response study user Virtual resource request to distribute virtual resource to the study user, including:
Procuratorial theory commonly uses the virtual resource request at family, obtains study user profile and teaching task;And
According to the study user profile and the teaching task, distribute available virtual resource to the study user.
8. online teaching platform according to claim 7, it is characterised in that procuratorial theory commonly uses the virtual resource request at family, Study user profile and teaching task are obtained, including:
Input information to learning user is checked;
Check whether the teaching task in the virtual resource request of the study user for obtaining needs packet;And
According to grouping information, configuration study user profile, create the object of study user and configure the account of repository service system Information.
9. online teaching platform according to claim 8, it is characterised in that
If teaching task need not be grouped, using the personal information of study user;
If teaching task needs packet, using corresponding mute study user profile.
10. online teaching platform according to claim 8, it is characterised in that
If study user profile is not present, new study user object is created;
If study user profile is existing, the information of needs is returned so as to ensuing distribution.
11. online teaching platforms according to claim 7, it is characterised in that according to the study user profile and described Teaching task, the available virtual resource of distribution give the study user, including:
The study user profile and the teaching task are obtained from repository service system;
According to the study user profile and the teaching task, virtual resource is configured;And
It is that the virtual resource that configuration is completed sets up agency by proxy server, the virtual resource allocation that configuration is completed is to institute State study user.
12. online teaching platforms according to claim 1, it is characterised in that the management service system also include for Virtual resource is reclaimed, wherein, for the recovery of allocated virtual resource includes:
Terminate the use of the virtual resource;
Release the agency of the virtual resource;And
Virtual resource in the cloud service is deleted, local data base information is deleted.
13. online teaching platforms according to claim 1, it is characterised in that the automatic judgment service system is according to commenting Survey system and the teaching work to obtaining from the repository service system carries out automatic judgment and exports evaluation result, bag Include:
Acquisition includes the evaluation and test task of study user profile and teaching task;
Teaching work corresponding with the study user profile and the teaching task, wound are obtained from the repository service system Temporary folder corresponding with the evaluation and test task is built, the teaching work is input in the temporary folder;
The teaching work is extracted from the temporary folder and is evaluated and tested;And
Obtain evaluation result and the evaluation result is exported.
A kind of 14. online teaching methods, it is characterised in that include:
Virtual resource allocation is given the study user by agency by the virtual resource request of response study user;It is described virtual Resource is created based on cloud service;
Receive the teaching work corresponding with teaching task for being completed and being submitted to by the virtual resource for distributing by study user; And
Automatic judgment is carried out to the teaching work and evaluation result is exported according to evaluation and test system.
15. online teaching methods according to claim 14, it is characterised in that also include:Create teaching task;Configuration with The corresponding teaching task management information of the teaching task.
16. online teaching methods according to claim 15, it is characterised in that create teaching task, including:
Obtain the account information of management user;And
Create the teaching task being associated with the account information of the management user;It is corresponding virtual for teaching task configuration Resource.
17. online teaching methods according to claim 15, it is characterised in that configuration religion corresponding with the teaching task Learn task management information, including following one or more:
Configuration essential information;
The configuration file of design Each point in time;
Set up teaching task framework;And
Set up and configure evaluation and test system corresponding with teaching task.
18. online teaching methods according to claim 14, it is characterised in that
Virtual resource includes cluster virtual machine corresponding with teaching task, includes at least one virtual in cluster virtual machine Machine;
The online teaching method also includes carrying out status tracking to the virtual resource for creating, and the status tracking is based on cloud Service carries out state acquisition and corresponding action is taken according to the state for obtaining to the virtual resource:
If there is virtual machine in current virtual machine cluster in creation state, continue tracking;
If there is virtual machine creating failure in current virtual machine cluster, start a new Virtual Cluster and delete current virtual Cluster;And
If the virtual machine creating success in current virtual machine cluster, proceeds by the configuration of cluster virtual machine.
19. online teaching methods according to claim 18, it is characterised in that being configured in for the cluster virtual machine is following Implement under any one situation:
Cluster virtual machine create after, cluster virtual machine distribution before, and cluster virtual machine delete before;
The thin portion adjustment of cluster virtual machine after cluster virtual machine is created, is completed, starts necessary sex service;
Before cluster virtual machine distributes, implement personalized customization;And
Before cluster virtual machine is deleted, the system resource that cluster virtual machine occupies is discharged, the operation to learning user As a result backed up.
20. online teaching methods according to claim 14, it is characterised in that the virtual resource of response study user please Ask, the study user is given by virtual resource allocation, including:
Procuratorial theory commonly uses the virtual resource request at family, obtains study user profile and teaching task;And
According to the study user profile and the teaching task, distribute available virtual resource to the study user.
21. online teaching methods according to claim 20, it is characterised in that procuratorial theory commonly uses the virtual resource at family please Ask, obtain study user profile and teaching task, including:
Input information to learning user is checked;
Check whether the teaching task in the virtual resource request of the study user for obtaining needs packet;And
According to grouping information, configuration study user profile, create the object of study user and configure account information.
22. online teaching methods according to claim 21, it is characterised in that
If teaching task need not be grouped, using the personal information of study user;
If teaching task needs packet, using corresponding mute study user profile.
23. online teaching methods according to claim 21, it is characterised in that
If study user profile is not present, new study user object is created;
If study user profile is existing, the information of needs is returned so as to ensuing distribution.
24. online teaching methods according to claim 20, it is characterised in that according to the study user profile and described Teaching task, the available virtual resource of distribution give the study user, including:
Obtain the study user profile and the teaching task;
According to the study user profile and the teaching task, virtual resource is configured;And
Agency is set up to configure the virtual resource for completing, the virtual resource allocation that configuration is completed gives the study user.
25. online teaching methods according to claim 14, it is characterised in that also including recovery virtual resource, wherein, it is right Include in the recovery of allocated virtual resource:
Terminate the use of the virtual resource;
Release the agency of the virtual resource;And
Virtual resource in the cloud service is deleted, local data base information is deleted.
26. online teaching methods according to claim 14, it is characterised in that the teaching is made according to evaluation and test task Industry carries out automatic judgment and exports evaluation result, including:
Acquisition includes the evaluation and test task of study user profile and teaching task;
Teaching work corresponding with the study user profile and the teaching task is obtained, is created corresponding with the evaluation and test task Temporary folder, the teaching work is input in the temporary folder;
The teaching work is extracted from the temporary folder and is evaluated and tested;And
Obtain evaluation result and the evaluation result is exported.
CN201610681251.XA 2016-08-17 2016-08-17 Online teaching platform and online teaching method Active CN106548670B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610681251.XA CN106548670B (en) 2016-08-17 2016-08-17 Online teaching platform and online teaching method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610681251.XA CN106548670B (en) 2016-08-17 2016-08-17 Online teaching platform and online teaching method

Publications (2)

Publication Number Publication Date
CN106548670A true CN106548670A (en) 2017-03-29
CN106548670B CN106548670B (en) 2019-03-29

Family

ID=58367890

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610681251.XA Active CN106548670B (en) 2016-08-17 2016-08-17 Online teaching platform and online teaching method

Country Status (1)

Country Link
CN (1) CN106548670B (en)

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107341979A (en) * 2017-05-11 2017-11-10 芜湖威灵数码科技有限公司 A kind of miniature VR computers in education system
CN108831217A (en) * 2018-06-13 2018-11-16 闽江学院 A kind of system and method for recordable operation process
CN108961897A (en) * 2018-07-04 2018-12-07 北京四航科技有限公司 A kind of virtual learning system and method
CN110021205A (en) * 2019-04-29 2019-07-16 河南省慕华教育科技有限公司 Learning effect monitoring method and device based on big data analysis
CN110119398A (en) * 2019-05-20 2019-08-13 高强 A kind of data managing method
CN111028584A (en) * 2019-12-31 2020-04-17 北京网梯科技发展有限公司 User space-based personalized teaching interaction method and device
CN111326035A (en) * 2018-12-13 2020-06-23 腾讯科技(深圳)有限公司 Task synchronization method and remote teaching system
CN111667385A (en) * 2020-05-16 2020-09-15 安徽商贸职业技术学院 Experiment design method for on-line open experiment teaching
CN111915458A (en) * 2020-07-13 2020-11-10 同济大学 On-line experiment teaching system for exploration type and personalized learning
CN112486635A (en) * 2020-12-09 2021-03-12 成都辰迈科技有限公司 Cloud computing teaching method and system, computer equipment and storage medium
CN113014653A (en) * 2021-03-04 2021-06-22 华东理工大学 Online education cloud platform serving distributed experimental teaching environment
CN113053185A (en) * 2021-03-24 2021-06-29 重庆电子工程职业学院 Software teaching model based on digital media
CN114629789A (en) * 2022-03-10 2022-06-14 常州工程职业技术学院 Private cloud IaaS practice platform construction method based on OpenStack architecture
CN114693482A (en) * 2022-04-14 2022-07-01 湖南智擎科技有限公司 Online programming experiment and open source project contribution conversion method and device

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7263596B1 (en) * 2002-12-17 2007-08-28 Advanced Digital Information Corporation Logical library architecture for data storage applications and methods of use
WO2007123785B1 (en) * 2006-03-31 2008-07-10 Stt Weos Inc Method and apparatus for information exchange over a web based environment
CN102292698A (en) * 2009-02-04 2011-12-21 思杰系统有限公司 Methods and systems for automated management of virtual resources in a cloud computing environment
CN103220364A (en) * 2013-04-27 2013-07-24 清华大学 Cloud-based system management training platform architecture
CN104281496A (en) * 2014-10-27 2015-01-14 深圳中兴网信科技有限公司 Virtual resource distribution method and virtual resource distribution device
CN104580303A (en) * 2013-10-18 2015-04-29 宇宙互联有限公司 Virtual resource operating system, operator management platform and application service sharing method

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7263596B1 (en) * 2002-12-17 2007-08-28 Advanced Digital Information Corporation Logical library architecture for data storage applications and methods of use
WO2007123785B1 (en) * 2006-03-31 2008-07-10 Stt Weos Inc Method and apparatus for information exchange over a web based environment
CN102292698A (en) * 2009-02-04 2011-12-21 思杰系统有限公司 Methods and systems for automated management of virtual resources in a cloud computing environment
CN103220364A (en) * 2013-04-27 2013-07-24 清华大学 Cloud-based system management training platform architecture
CN104580303A (en) * 2013-10-18 2015-04-29 宇宙互联有限公司 Virtual resource operating system, operator management platform and application service sharing method
CN104281496A (en) * 2014-10-27 2015-01-14 深圳中兴网信科技有限公司 Virtual resource distribution method and virtual resource distribution device

Cited By (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107341979A (en) * 2017-05-11 2017-11-10 芜湖威灵数码科技有限公司 A kind of miniature VR computers in education system
CN108831217A (en) * 2018-06-13 2018-11-16 闽江学院 A kind of system and method for recordable operation process
CN108961897A (en) * 2018-07-04 2018-12-07 北京四航科技有限公司 A kind of virtual learning system and method
CN111326035A (en) * 2018-12-13 2020-06-23 腾讯科技(深圳)有限公司 Task synchronization method and remote teaching system
CN110021205A (en) * 2019-04-29 2019-07-16 河南省慕华教育科技有限公司 Learning effect monitoring method and device based on big data analysis
CN110119398A (en) * 2019-05-20 2019-08-13 高强 A kind of data managing method
CN111028584A (en) * 2019-12-31 2020-04-17 北京网梯科技发展有限公司 User space-based personalized teaching interaction method and device
CN111667385A (en) * 2020-05-16 2020-09-15 安徽商贸职业技术学院 Experiment design method for on-line open experiment teaching
CN111915458A (en) * 2020-07-13 2020-11-10 同济大学 On-line experiment teaching system for exploration type and personalized learning
CN112486635A (en) * 2020-12-09 2021-03-12 成都辰迈科技有限公司 Cloud computing teaching method and system, computer equipment and storage medium
CN113014653A (en) * 2021-03-04 2021-06-22 华东理工大学 Online education cloud platform serving distributed experimental teaching environment
CN113014653B (en) * 2021-03-04 2022-09-23 华东理工大学 Online education cloud platform serving distributed experimental teaching environment
CN113053185A (en) * 2021-03-24 2021-06-29 重庆电子工程职业学院 Software teaching model based on digital media
CN114629789A (en) * 2022-03-10 2022-06-14 常州工程职业技术学院 Private cloud IaaS practice platform construction method based on OpenStack architecture
CN114693482A (en) * 2022-04-14 2022-07-01 湖南智擎科技有限公司 Online programming experiment and open source project contribution conversion method and device
CN114693482B (en) * 2022-04-14 2024-04-16 湖南智擎科技有限公司 Online programming experiment and open source project contribution conversion method and device

Also Published As

Publication number Publication date
CN106548670B (en) 2019-03-29

Similar Documents

Publication Publication Date Title
CN106548670B (en) Online teaching platform and online teaching method
CN110610240A (en) Virtual automation assistance based on artificial intelligence
CN104537589A (en) Education cloud platform and implementation method thereof
Mkrttchian Modeling using of triple h-avatar technology in online multi-cloud platform lab
Perrone et al. SAFE: Simulation automation framework for experiments
CN109360131A (en) Cloud computing tutoring system
JP7140909B2 (en) Curriculum package development method and apparatus, system, device and storage medium
CN104246741A (en) Orchestrating hybrid cloud services
CN106022007A (en) Cloud platform system and method oriented to biological omics big data calculation
Fauquex et al. Creating people-aware IoT applications by combining design thinking and user-centered design methods
US20210248278A1 (en) Process architecture modeling platform
Subari et al. Implementation of MVC (Model-View-Controller) architecture in online submission and reporting process at official travel warrant information system based on web application
Munk et al. Cloud enabling educational platforms with corc
US10585786B1 (en) Systems and method for automated testing framework for service portal catalog
Patni et al. Infrastructure as a code (IaC) to software defined infrastructure using Azure Resource Manager (ARM)
CN113703990A (en) Task processing method and device
CN113778446B (en) Low-code application development platform
WO2020033030A1 (en) Multi-question multi-answer configuration
Hrehova et al. Design of study support to get skills in plant simulation tecnomatix environment
CN112598547A (en) Education topic generation method and device based on automatic production line and electronic equipment
CN110544075A (en) asset management process configuration method, device and equipment
Jaju Maximizing DevOps Scalability in Complex Software Systems: Maximizing DevOps Scalability in Complex Software Systems
Hagara Evaluation of Infrastructure as a Code for Enterprise Automation
Ubale et al. The Design and Implementation of a Cloud Based Presentation System
Eftekhari Introducing singular-vision and community-first concepts to design and implement the next generation of TechClass learning environment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right

Effective date of registration: 20181102

Address after: 210046 601 room, No. 6, Qi Min Road, Xianlin street, Qixia District, Nanjing, Jiangsu, China. 6

Applicant after: Turing Artificial Intelligence Research Institute (Nanjing) Co., Ltd.

Address before: 100084 Tsinghua Yuan, Beijing, Haidian District

Applicant before: Tsinghua University

TA01 Transfer of patent application right
GR01 Patent grant
GR01 Patent grant