CN106548670B - Online teaching platform and online teaching method - Google Patents
Online teaching platform and online teaching method Download PDFInfo
- Publication number
- CN106548670B CN106548670B CN201610681251.XA CN201610681251A CN106548670B CN 106548670 B CN106548670 B CN 106548670B CN 201610681251 A CN201610681251 A CN 201610681251A CN 106548670 B CN106548670 B CN 106548670B
- 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.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 53
- 238000011156 evaluation Methods 0.000 claims abstract description 86
- 238000012360 testing method Methods 0.000 claims abstract description 61
- 230000004044 response Effects 0.000 claims abstract description 13
- 230000000875 corresponding effect Effects 0.000 claims description 99
- 238000007726 management method Methods 0.000 claims description 88
- 238000004064 recycling Methods 0.000 claims description 13
- 238000012217 deletion Methods 0.000 claims description 9
- 230000037430 deletion Effects 0.000 claims description 9
- 238000004891 communication Methods 0.000 claims description 7
- 238000013461 design Methods 0.000 claims description 4
- 239000011800 void material Substances 0.000 claims 3
- 230000006399 behavior Effects 0.000 claims 2
- 230000003993 interaction Effects 0.000 abstract description 8
- 238000002474 experimental method Methods 0.000 description 70
- 230000008569 process Effects 0.000 description 13
- 230000006870 function Effects 0.000 description 10
- 239000010979 ruby Substances 0.000 description 8
- 229910001750 ruby Inorganic materials 0.000 description 8
- 238000010586 diagram Methods 0.000 description 7
- 238000005516 engineering process Methods 0.000 description 7
- 230000002452 interceptive effect Effects 0.000 description 5
- 230000004048 modification Effects 0.000 description 5
- 238000012986 modification Methods 0.000 description 5
- 230000003111 delayed effect Effects 0.000 description 4
- 230000000694 effects Effects 0.000 description 4
- 230000008859 change Effects 0.000 description 3
- 239000003795 chemical substances by application Substances 0.000 description 3
- 238000007689 inspection Methods 0.000 description 3
- 230000008901 benefit Effects 0.000 description 2
- 238000004138 cluster model Methods 0.000 description 2
- 238000011161 development Methods 0.000 description 2
- 238000009472 formulation Methods 0.000 description 2
- 238000009434 installation Methods 0.000 description 2
- 239000000203 mixture Substances 0.000 description 2
- 238000012544 monitoring process Methods 0.000 description 2
- 238000003012 network analysis Methods 0.000 description 2
- 230000006855 networking Effects 0.000 description 2
- 238000012545 processing Methods 0.000 description 2
- 230000002035 prolonged effect Effects 0.000 description 2
- 239000000126 substance Substances 0.000 description 2
- 230000002159 abnormal effect Effects 0.000 description 1
- 230000004075 alteration Effects 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 238000012790 confirmation Methods 0.000 description 1
- 238000007405 data analysis Methods 0.000 description 1
- 230000001419 dependent effect Effects 0.000 description 1
- 235000013399 edible fruits Nutrition 0.000 description 1
- 230000035800 maturation Effects 0.000 description 1
- 230000007246 mechanism Effects 0.000 description 1
- 238000012958 reprocessing Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G09—EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
- G09B—EDUCATIONAL OR DEMONSTRATION APPLIANCES; APPLIANCES FOR TEACHING, OR COMMUNICATING WITH, THE BLIND, DEAF OR MUTE; MODELS; PLANETARIA; GLOBES; MAPS; DIAGRAMS
- G09B5/00—Electrically-operated educational appliances
- G09B5/08—Electrically-operated educational appliances providing for individual presentation of information to a plurality of student stations
- G09B5/14—Electrically-operated educational appliances providing for individual presentation of information to a plurality of student stations with provision for individual teacher-student communication
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION 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/00—Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
- G06Q50/10—Services
- G06Q50/20—Education
- G06Q50/205—Education administration or guidance
Landscapes
- Business, Economics & Management (AREA)
- Engineering & Computer Science (AREA)
- Educational Technology (AREA)
- Educational Administration (AREA)
- Tourism & Hospitality (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Strategic Management (AREA)
- Physics & Mathematics (AREA)
- Health & Medical Sciences (AREA)
- Economics (AREA)
- General Health & Medical Sciences (AREA)
- Human Resources & Organizations (AREA)
- Marketing (AREA)
- Primary Health Care (AREA)
- General Business, Economics & Management (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
The present invention provides a kind of online teaching platform and online teaching method, which includes: management service system, and for creating virtual resource based on cloud service, the virtual resource of response study user is requested to distribute virtual resource;Proxy server, the virtual resource for being distributed by user's access provide agency service;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 is based on cloud services to realize extensive online teaching purpose, good learning interaction, which is formed, for teaching each side provides good teaching pattern, teacher can be allowed to create teaching task and configure corresponding teaching task management information and student is allowed to carry out automatic judgment to teaching work, realize the examination to learning ability, and by means of the online teaching platform, it can standardize and teaching management is carried out to student with uniform teaching environment, convenience.
Description
Technical field
The present invention relates to online teaching field more particularly to a kind of online teaching platform and online teaching methods.
Background technique
In recent years, the course scale constantly expanded and student's quantity of the participation course continued to increase are to education sector
New challenge is brought, extraly, with enriching constantly for the rapid development of the communication technology and class teaching content and form
With it is perfect, the classroom lecture contents of traditional form have gradually been unable to satisfy student and have improved the ability of practice, culture creativity consciousness
It is required that.
Just become realization using the interactive on-line study system that Multimedia Computer Technology and network technology are established
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
The completely new teaching pattern of the one kind explored except the frame of teaching method, creates ideal interactive learning ring by network
Border realizes web-based teaching, management and interactive learning service, overcomes the resource distribution limitation of time above, spatially, enables and learning
Habit person reaches the destination of study in interactive relationship.But nonetheless, how huge scale (hundreds of people's scale
Course on course and the line of people's scale thousands of or even up to ten thousand under line) course in keep the teaching level of high quality, be still very
An interesting problem.Linearly increasing human resources configuration merely is not obviously the most beneficial way for solving the problems, such as this,
Therefore the demand to automated system just more shows especially out.
Current existing automation learning platform, is directed to specific subject and experiment mostly, and often scale is not or not this platform
Greatly and very dependent on certain specific experimental features.Establish it is more flexible with general experiment porch, be very it is necessary to
's.Requirement of the computer-experiment for automated system is more eager, and reason is that computer-experiment often brings complicated meter
Perplex caused by calculation machine environment (such as operating system, network topology, software and kit version etc.).Teacher, student and assiatant are big
The time and efforts of amount, which all consumes, is solving the problems, such as that this greatly constrains course on the unrelated computer environment of experiment itself
The expansion of scale, but also course itself is difficult to reach efficient requirement.
Summary of the invention
The present invention provides a kind of online teaching platform and online teaching method, for solving learning platform in the prior art
There are scales it is smaller, scalability is weaker and the content of courses is specific and limited the problems such as.
In order to solve the above problem and other problems, the present invention provide a kind of online teaching platform, comprising:
Management service system, for creating virtual resource based on cloud service;It is also used to respond the virtual money of study user
Source request is to distribute virtual resource to the study user;
Proxy server is communicated to connect with the management service system, for accessing for user by the management service
The virtual resource that system is distributed 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 teaching corresponding with the teaching task work
Industry;And
Automatic judgment service system is connect with the repository service system communication, 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 further include: for creating teaching task;Be also used to configure with
The corresponding teaching task management information of the teaching task.
In some embodiments, teaching task is created, comprising: obtain the account information of management user;Creation with it is described
Manage the associated teaching task of account information of 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 below
It is one or more: configuration essential information;Design the configuration file of various time points;Establish teaching task frame and by the teaching
Task framework is stored into the repository service system;And evaluation and test system corresponding with teaching task is established 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 further includes for carrying out state to the virtual resource of creation
Tracking, the status tracking are to carry out state acquisition to the virtual resource based on cloud service and taken according to the state of acquisition
Corresponding action: if there are virtual machines to be in creation state in current virtual machine cluster, continue to track;If current virtual machine collection
There are virtual machine creating failures in group, then start a new Virtual Cluster and delete current virtual cluster;If current virtual machine
Virtual machine creating success in cluster, then start the configuration for carrying out cluster virtual machine.
In some embodiments, the configuration of the cluster virtual machine is implemented under following any situation: virtual machine collection
After group's creation, before cluster virtual machine distribution and before cluster virtual machine deletion;It is complete after cluster virtual machine creation
It is adjusted at the thin portion of cluster virtual machine, starts necessary sex service;Before cluster virtual machine distribution, implement personalized customization;?
Cluster virtual machine delete before, the system resource that cluster virtual machine occupies is discharged, to study user operating result into
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, comprising: procuratorial theory commonly uses the virtual resource request at family, obtains study user information and teaching is appointed
Business;According to the study user information and the teaching task, available virtual resource is distributed to the study user.
In some embodiments, procuratorial theory commonly uses the virtual resource request at family, obtains study user information and teaching is appointed
Business, comprising: the input information of study user is checked;Check the teaching in the virtual resource request of the study user obtained
Whether task, which needs, is grouped;According to grouping information, configuration study user information, the object of creation study user simultaneously configures warehouse clothes
The account information of business system.
In some embodiments, if teaching task does not need to be grouped, the personal information of study user is used;If teaching
Task needs to be grouped, then using corresponding mute study user information.
In some embodiments, if creating new study user object in the absence of study user information;If study is used
When family information is existing, then the information of needs is returned so as to next distribution.
In some embodiments, according to the study user information and the teaching task, available virtual money is distributed
The study user is given in source, comprising: the study user information and the teaching task are obtained from repository service system;According to
The study user information and the teaching task configure virtual resource;It is the virtual of configuration completion by proxy server
Resource establishes agency, and the virtual resource allocation that configuration is completed gives the study user.
In some embodiments, the management service system further includes for recycling virtual resource, wherein for having divided
The recycling for the virtual resource matched includes: to 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 is according to evaluation and test system and to from the repository service system
System obtain the teaching work carry out automatic judgment simultaneously export evaluation result, comprising: acquisition include study user information and
The evaluation and test task of teaching task;It is obtained and the study user information and the teaching task pair from the repository service system
The teaching work answered creates temporary folder corresponding with the evaluation and test task, and the teaching work is inputted 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 it is exported.
The present invention provides a kind of online teaching method on the other hand, comprising:
The virtual resource request of response study user gives virtual resource allocation to the study user by agency;It is described
Virtual resource is created based on cloud service;
Receive the teaching corresponding with teaching task completed and submitted by the virtual resource of distribution by study user
Operation;And
Automatic judgment is carried out to the teaching work according to evaluation and test system and exports evaluation result.
In some embodiments, the online teaching method further include: creation teaching task;Configuration is appointed with the teaching
It is engaged in corresponding teaching task management information.
In some embodiments, teaching task is created, comprising: obtain the account information of management user;Creation with it is described
Manage the associated teaching task of account information of 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 below
It is one or more: configuration essential information;Design the configuration file of various time points;Establish teaching task frame;It establishes and configures
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 further includes carrying out status tracking to the virtual resource of creation,
The status tracking is to carry out state acquisition to the virtual resource based on cloud service and taken according to the state of acquisition corresponding
Action: if there are virtual machines to be in creation state in current virtual machine cluster, continue to track;If in current virtual machine cluster
There are virtual machine creating failures, then start a new Virtual Cluster and delete current virtual cluster;If current virtual machine cluster
In virtual machine creating success, then start carry out cluster virtual machine configuration.
In some embodiments, the configuration of the cluster virtual machine is implemented under following any situation: virtual machine collection
After group's creation, before cluster virtual machine distribution and before cluster virtual machine deletion;It is complete after cluster virtual machine creation
It is adjusted at the thin portion of cluster virtual machine, starts necessary sex service;Before cluster virtual machine distribution, implement personalized customization;?
Cluster virtual machine delete before, the system resource that cluster virtual machine occupies is discharged, to study user operating result into
Row backup.
In some embodiments, the virtual resource request of response study user, gives virtual resource allocation to the study
User, comprising: procuratorial theory commonly uses the virtual resource request at family, obtains study user information and teaching task;According to the study
User information 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 information and teaching is appointed
Business, comprising: the input information of study user is checked;Check the teaching in the virtual resource request of the study user obtained
Whether task, which needs, is grouped;According to grouping information, configuration study user information, the object of creation study user simultaneously configures account letter
Breath.
In some embodiments, if teaching task does not need to be grouped, the personal information of study user is used;If teaching
Task needs to be grouped, then using corresponding mute study user information.
In some embodiments, if creating new study user object in the absence of study user information;If study is used
When family information is existing, then the information of needs is returned so as to next distribution.
In some embodiments, according to the study user information and the teaching task, available virtual money is distributed
The study user is given in source, comprising: obtains the study user information and the teaching task;According to the study user information
With the teaching task, virtual resource is configured;The virtual resource completed for configuration establishes agency, the virtual resource that configuration is completed
Distribute to the study user.
In some embodiments, the online teaching method further includes recycling virtual resource, wherein for allocated
The recycling of virtual resource includes: to 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 to the teaching work according to evaluation and test task and exports evaluation and test knot
Fruit, comprising: acquisition includes to learn the evaluation and test task of user information and teaching task;It obtains and the study user information and institute
The corresponding teaching work of teaching task is stated, temporary folder corresponding with the evaluation and test task is created, the teaching work is 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 that extensive (including participant is realized based on cloud service
Scale and/or course scale) online teaching purpose, essentially consist in: creating virtual resource based on cloud service, response study is used
The virtual resource request at family is to distribute virtual resource to study user so that study user is able to complete and teach using virtual resource
The corresponding teaching work of task, and further according to evaluation and test task and from repository service system acquisition teaching work and to teaching work
Carry out automatic judgment, export evaluation result, for teaching each side (management user and study user between, study user between and
Between management user) it forms good learning interaction and provides a kind of good teaching pattern, it can not only allow study user's root
Automatic judgment is carried out according to teaching task completion teaching work and after being submitted, realizes and study user's learning ability is examined
Core, and by means of the online teaching platform, it can standardize and impart knowledge to students with uniform teaching environment, convenience to each study user
Management.
Detailed description of the invention
Fig. 1 is the block architecture diagram of online teaching platform of the present invention in one embodiment.
Fig. 2 is the correspondence diagram of the main models in management service system.
Fig. 3 is the correspondence diagram of the main models in automatic judgment service system.
Fig. 4 is the process signal for creating and configuring teaching task in online teaching method of the present invention by managing user
Figure.
Fig. 5 is to be illustrated by study user according to the process that teaching task completes teaching work 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
Illustrate embodiments of the present invention below by way of specific specific example, those skilled in the art can be by this specification
Other advantages and efficacy of the present invention can be easily understood for disclosed content.The present invention can also pass through in addition different specific realities
The mode of applying is embodied or practiced, the various details in this specification can also based on different viewpoints and application, without departing from
Various modifications or alterations are carried out under spirit of the invention.
It should be noted that this specification structure depicted in this specification institute accompanying drawings, ratio, size etc., only to cooperate
The bright revealed content of book is not intended to limit the invention enforceable limit so that those skilled in the art understands and reads
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
It influences still fall in disclosed technology contents under the effect of present invention can be generated and the purpose that can reach and obtain
In the range of capable of covering.Meanwhile it is cited such as "upper", "lower", "left", "right", " centre " and " one " in this specification
Term is merely convenient to being illustrated for narration, rather than to limit the scope of the invention, the change of relativeness or tune
It is whole, under the content of no substantial changes in technology, when being also considered as the enforceable scope of the present invention.
Referring to Fig. 1, being the block architecture diagram of online teaching platform of the present invention 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 teaching each side (between management user and study user, between study user and between management user)
It practises interaction and provides a kind of good teaching pattern, study user can not only be allowed to complete teaching work according to teaching task and give
To carry out automatic judgment after submitting, the examination to study user's learning ability is realized, and by means of the online teaching platform,
It can standardize and teaching management is carried out to each study user with uniform teaching environment, convenience.In the present embodiment, the present invention exists
Line teaching platform is illustrated by taking computer-experiment as an example, in the computer-experiment, provides a variety of computer-experiments
Course, study user can learn for learned Computer experiment course and complete corresponding computer-experiment operation (example
Such as: programming code operation), it certainly, is not limited thereto, teaching involved 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) server-side and private clound (Private Cloud) are serviced
End, wherein described public or privately owned cloud server terminal includes SaaS (Software as a Service, software service), PaaS
(Platform-as-a-Service, platform service) 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, Tencent's cloud computing platform etc..
As shown in Figure 1, online teaching platform of the present invention is based on SaaS, (Software as a Service, software are taken
Business) theory building, SaaS be with the development of internet technology with the maturation of application software and rise one kind innovate completely
Software application mode.It is a kind of mode by internet (Internet) offer software, and service provider is unified by application software
It is deployed on the server of oneself, user can order required answer to service provider by internet according to oneself actual demand
With software service, by the service ordered how much and length of time come to service provider's payment expense, and serviced by internet
The service that quotient provides (application on any one remote server can be run by network).User does not have to buy again soft
Part, and use instead and rent the software based on Web to provider, come carry out corresponding activity (such as: school of management's education activities or enterprise
Industry business activities etc.), and without being safeguarded to software, service provider understands full powers and manages and maintains software, software house
To client provide Internet application while, also provide software off-line operation and local datastore, allow user at any time with
The software and services that ground can use it to order.
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) foundation has network communication connection, and leads to independently of each other and to each other between each service system
Interface (such as: the HTTP interface) interaction defined is crossed, therefore, modification wherein some service system or is to some service
System is upgraded or is migrated, and all will not integrally be impacted to other service systems and entire online teaching platform.
It is described in detail below for above-mentioned each sub-services system.
Management service system 11 be user (such as: as study user student and as management user teacher) with
The main interactive interface of line teaching platform, for creating teaching task, creating virtual resource based on cloud service, the virtual money of response
Source is requested and is configured to virtual resource, is finally distributed the virtual resource of configuration.The master of management service system 11
Being responsible for content includes: management virtual resource, and the management to virtual resource may include the creation, distribution and recycling of virtual resource
Deng;Manage the core informations such as user, teaching task.
As previously mentioned, online teaching platform of the present invention is that (Software as a Service, software take based on SaaS
Business) theory building, online teaching platform of the present invention is integrated with an on-line study website, and user passes through specific URL
(Uniform Resource Locator, uniform resource locator), can be obtained corresponding virtual resource, and then pass through network
Interface directly accesses and operates.
By taking computer-experiment as an example, generally, study user (such as: student) selects computer studies by socket
And in the computer studies when corresponding computer-experiment, it is just automatically performed the request of virtual resource, entire request process is simultaneously
Any information of learning user input is not needed.
Following table one is please referred to, which show the main api interface (Application in management service system 11
Programming Interface, application programming interface).
Table one
Please refer to table two, which show in management service system 11 main models and corresponding domain (separately have part be used for
There is no show for model needed for the domain of expression relationship and third party's tool).
Table two
For each main models in table two, the corresponding relationship between them can further be detailed in Fig. 2.As shown in Fig. 2,
Test single virtual machine model (ClusterTemplate) in cluster models (ClusterConfiguration) and experiment cluster
It is one-to-many relationship, course (Courses) and specific experiment (Experiments) are one-to-many relationship, specific experiment
It (Experiments) is one-to-one relationship, specific experiment with experiment cluster models (ClusterConfiguration)
It (Experiments) is one-to-one relationship, cluster virtual machine (Machines) and distribution with cluster virtual machine (Machines)
Student (Students) to request virtual resource is one-to-one relationship, student (Students) and user group
(UserGroups) be multi-to-multi relationship, the realization of student (Students) and repository service system interacts, user group
(UserGroups) interaction with repository service system is realized by mute student's object (a fake student).
Major database in management service system 11 passes through scaffold (Scaffold) function of Ruby on Rails
It automatically generates, (creates, checks, edits and delete) function and related interfaces comprising basic management, system is to virtual resource
Management then mainly passes through delayed job tool asynchronous implement.Ruby on Rails, which is one, can make to develop, and dispose, dimension
Shield weblication becomes simple frame.Rails be one with (full-stack) of the Ruby full stack write, open source
It can be used easily to write actual application program in Web frame, and required code is also being handled than most of frames flower
Code on XML is few.
Management (creation, distribution and recycling including virtual resource etc.) below for virtual resource is specifically described.
The creation of virtual resource:
Virtual resource is cluster virtual machine corresponding with teaching task (such as: computer-experiment), in cluster virtual machine
It may include having at least one virtual machine.
The creation of cluster virtual machine is since being added queue in MachineCreateJob, and 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 come is created that.Specifically, accordingly
MachineStatusJob can be created and be added queue, and MachineStatusJob is performed, and can call cloud service interface
State acquisition is carried out to cluster virtual machine, and according to the state of acquisition, takes corresponding action.
Further, in practical applications, following several situations can be divided into:
A, if there are virtual machines to be in creation state in current virtual machine cluster, new by one
Queue is added in MachineStatusJob task, that is, continues to track.
If b, there are virtual machine creating failures in current virtual machine cluster, a new MachineCreateJob is appointed
Queue is added in business, while queue is added in the MachineDeleteJob task of current virtual machine cluster, that is, start one it is new
Cluster virtual machine simultaneously deletes current virtual machine cluster.Particularly, experience have shown that virtual machine creating fail due to majority source
Excessively intensive in workflow, therefore, the execution time of MachineCreateJob task can add random delay to alleviate traffic.
If all virtual machine creatings success c, in current virtual machine cluster, starts the configuration for carrying out cluster virtual machine,
Execute the ansible script of respective stage.It is subsequent, if ansible script execution fails, creates and fail similar to situation b, it is raw
The MachineCreateJob task of Cheng Xin starts a new cluster virtual machine and and deletion current virtual machine cluster.
It should be noted that the MachineStatusJob task of the same virtual environment can save a counter, and
Counter deletes the virtual environment and executes new creation task after random delay when reaching threshold value.This is designed, and is
Consider in the actual environment, can be unstable due to traffic congestion or cluster management system, cause virtual machine creating complete
At, but will not fail.In creation, cluster virtual machine is in On Progress state;In configuration, it is in Prepare shape
State;After configuration successful, it is in Available state.If there is mistake, then Error state can be in.All state codes
It is all defined in cloud service interface document.
By automatically configuring for realization virtual resource (that is, cluster virtual machine), virtual resource can be adjusted more flexiblely,
Also make it possible expeditiously to construct study user individual virtual resource.The configuration of cluster virtual machine as virtual resource
Can occur in following three nodes: cluster virtual machine creation after, cluster virtual machine distribution before and cluster virtual machine delete
Before removing.
1), after cluster virtual machine creation, the details adjustment (such as parameter is modified) of cluster virtual machine is completed, starting is necessary
Service (such as docker service, VNC (Virtual Network Computing, Virtual Networking Computing) service etc.).In this rank
Section can equally execute prolonged task, such as whole configurations of the installation of software package, or even the entire cluster virtual machine of completion.
2), before cluster virtual machine distribution, it is substantially carried out personalized customization, such as establishes the code of corresponding 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 backs up, such as the code storage for learning user is pushed to remote warehouse.
The automatic configuration of virtual environment is completed by ansible script.Role mechanism based on ansible, ansible
The differential configuration based on teaching task (such as: computer-experiment) may be implemented, specifically, configuration is completed at the same time two every time
The task of a role (role): common and exp, wherein common is that all computer-experiments require the basic of completion
Configuration, exp are individually configured based on each computer-experiment.As needed, the level of this differentiated configuration can be with
Further subdivision.
The distribution of virtual resource:
The distribution of virtual resource (that is, cluster virtual machine) is virtual by specified API request from study user (such as: student)
Resource starts, and procuratorial theory commonly uses the virtual resource request at family, obtains study user information and teaching task;It is 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 information and teaching task, comprising:
Obtain the virtual resource request of study user;
Firstly, checking the input information of study user.Here input information mainly may include that for example study is used
The account information (such as: mailbox, user name) at family etc., therefore, the input information for learning user are checked then include example
Such as procuratorial theory commonly use family account information it is whether legal (such as: whether be specification mailbox).
Secondly, checking whether the teaching task (such as: computer-experiment) in virtual resource request needs to be grouped.?
Here, if when study user's non-selected grouping returns to packet interface.
Again, according to grouping information, configuration learns user information, and the object of creation study user simultaneously configures repository service system
The account information of system.For learning user and be student, specifically, by Student@setup method, student's object is created
And configure the account information of repository service system.If the computer-experiment as teaching task does not need to be grouped, use
Raw personal information;If the computer-experiment as teaching task needs to be grouped, corresponding mute student information (fake is used
student)。
Student@setup creates new student's object in the absence of the student, when the student has existed, then can
The information needed is returned so as to next distribution.According to student information and computer-experiment information, there are available virtual moneys
When source (that is, cluster virtual machine), begin to be allocated.The distribution of virtual resource carries out 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 information and the teaching task, available virtual resource (that is, cluster virtual machine) is distributed
To the study user, comprising: firstly, executing ansible script when distribution;Secondly, establishing agency according to configuration;Finally,
The virtual resource that configuration is completed is returned into study user.After virtual resource is at the distribution of work, if corresponding computer-experiment
It is required that deleting virtual resource, then the timed task that will create MachineDeleteJob carries out the recycling of virtual resource.Due to dividing
Be with process it is asynchronous, study user carries out configuration status tracking by specified API, configuration status tracking request by
The processing of Dispatches#progress method.
Virtual resource recycling:
The recycling of virtual resource is completed by MachineDeleteJob task, and it is virtual which has deletion concurrently simultaneously
The function of progress is deleted in resource and monitoring.
When recycling, for the allocated virtual resource, ansible script at the end of being first carried out, reprocessing is corresponding
Proxy information.Later, the virtual resource at cloud service is deleted, after confirmation is deleted, local data base information is deleted.
Confirm the mode deleted, similar MachineStatusJob task, and MachineDeleteJob task sheet as
Stateful following function, therefore need to only create the MachineDeleteJob task of the same cluster.
Currently, management service system 11 is disposed by Passenger+Nginx.
From the foregoing, it will be observed that management service system 11 is based on the foundation of Ruby on Rails framework, therefore file structure and Ruby
The structure that on Rails suggests is consistent.The function of part vital document is specified herein:
Table three
Proxy server 13 (is handed over by the HTTP interface defined to each other with the communication connection of management service system 11
Mutually), for being user (for example, the student as study user and teacher as management user) access by management service system
11 virtual resources distributed provide reverse proxy service.Reverse proxy (Reverse Proxy) mode refers to agency service
Device receives the connection request on internet, then forwards a request to the server on internal network, and will be from server
Obtained result returns to the client that connection is requested on internet.
Following table four is please referred to, which show the main api interfaces in proxy server 13.
Table four
URL pattern | HTTP method | Parameter | Function |
/ | POST | :target_url | Generate the agency of specified URL |
/ | GET | List all agent rules | |
/ | DELETE | :target_url | Delete the agency of specified URL |
Proxy server is realized based on Flask, and Flask is one and is applied using the lightweight Web that Python writes
Frame.App.py file contains the processing function all routed, and proxy_manager.py contains the whole of proxy management
Logic, wherein CONFIG_FILE is Nginx agent configuration file template, and SITES_AVAILABLE and SITES_ENABLED are then
It is the corresponding folder path of Nginx.Agency service establish principle, be based on given information, based on CONFIG_FILE this
The new configuration file of a template generation, and make Nginx be loaded into the configuration file by reload function.
Currently, the deployment of proxy server 13 is realized by uWSGI and uWSGI Emperor.
The meaning of reverse proxy service provided by proxy server 13 is: on the one hand, most cloud platforms do not mention
The direct public network IP access of offer for being accessed for direct public network IP or can only be paid, in this case, proxy server
13, which are able to use family, does not need access of virtual network (VPN) and directly accesses virtual resource, to greatly simplifie user's
Operating process.On the other hand, proxy server 13 can monitor user's flowing of access in real time, carry out to abnormal flow pre-
It is alert, and provide the possibility of shunting and load balancing.
Repository service system 15 and the communication connection of management service system 11 (are handed over by the HTTP interface defined to each other
Mutually), for store user (such as: as study user student and as management user teacher) account information, with use
The corresponding teaching task of account information at family (such as: student and the teacher as management user as study user) and
The teaching work corresponding with the teaching task submitted by the study user (such as: student).
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 that student is provided with private code storage (repository).
Currently, the deployment of repository service system 15 is realized by open source projects GitLab.
Automatic judgment service system 17 and the communication connection (HTTP interface by defining to each other of repository service system 15
Interaction), for carrying out automatic judgment simultaneously to the teaching work obtained from the repository service system according to evaluation and test task
Export evaluation result.In the present embodiment, automatic judgment service system 17 is mainly the Xqueue with an on-line study website
Component is integrated, in this way, 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 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 cloud entirely imparted knowledge to students.
In the present embodiment, automatic judgment service system is realized based on Ruby on Rails framework, is passed through
Delayed job realizes asynchronous scoring.
Please refer to table five, which show in automatic judgment service system 17 main models and corresponding domain.
Table five
For each main models in table five, the corresponding relationship between them can further be detailed in Fig. 3.As shown in figure 3,
Teaching task and evaluation and test task are one-to-many relationships.
In the present embodiment, an evaluation and test task is completed, is completed by GraderJob#grading.
GraderJob#grading mainly completes following work:
Acquisition includes to learn the evaluation and test task of user information 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 information 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 written in the temporary folder.To calculate
It is exactly to be obtained and this computer from the code storage for corresponding to the student information in repository service system 15 for machine experiment
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 into the specified file under the temporary folder, and the path of the temporary folder then can
The last one call parameters as call instruction.
Evaluation and test script is called, the teaching work is extracted from the temporary folder by the evaluation and test script and is commented
It surveys.In the present embodiment, the calling and answer acquisition for evaluating and testing script appoint that 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, evaluation and test script further establishes the evaluation and test file of formulation under the temporary file
Folder, and evaluation result is write exactly in a particular format 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 the above test process, temporary file
Programming code operation in folder can be downloaded and save, this part is examining for the Function Extensions such as data analysis and anti-cheating
Consider.
It obtains evaluation result and is exported the evaluation result.By taking computer-experiment as an example, either student is still
Teacher can get the evaluation result, which can feed back and be shown in the dotcom world of online website used in student
On face.
In the implementation process that above-mentioned completion one is evaluated and tested task, all file acquisitions are based on distant place warehouse at present
Master branch.
Automatic judgment service system 17 is equally based on Ruby on Rails framework, therefore main file frame and function
It is all consistent with aforementioned management service system 11, therefore, details are not described herein.
Automatic judgment service system 17 has used the practice of another delayed job, therefore does not have/app/jobs/ text
Part folder.Whether two main asynchronous tasks are Assignment#next_job respectively, be responsible for having in monitoring Xqueue and not evaluate and test
Task, and obtain task when there is new task and generate new evaluation and test task;GraderJob#grading is responsible for single
The scoring of task.
Currently, automatic judgment service system 17 is disposed by Passenger+Nginx.
The present invention separately provides a kind of online teaching method, which realized based on online teaching platform
's.Online teaching method of the present invention is mainly based upon cloud service to realize extensive (including participant's scale and/or course rule
Mould) online teaching purpose, for teaching each side (management user and study user between, study user between and management user
Between) form good learning interaction and provide a kind of good teaching pattern, it can not only allow management user to create teaching and appoint
It is engaged in and configures teaching task management information corresponding with the teaching task, study user can also be allowed to complete to teach according to teaching task
Learn operation and carry out automatic judgment after being submitted, realize the examination to user's learning ability is learnt, also, by means of this
Line teaching platform can standardize and carry out teaching management to each study user with uniform teaching environment, convenience.In present embodiment
In, online teaching platform of the present invention is illustrated by taking computer-experiment as an example, in the computer-experiment, is provided a variety of
Computer experiment course, the student as study user can learn for learned Computer experiment course and complete corresponding
Computer-experiment operation (such as: programming code operation), certainly, be not limited thereto, involved in online teaching platform
Teaching may also include regular academic offerings, electronic experiment, chemical experiment and practice operation etc..
Referring to Fig. 4, which show create and configure teaching times by managing user in online teaching method of the present invention
The process schematic diagram of business.Herein, management user is described by taking teacher as an example.In conjunction with Fig. 1 and Fig. 4, by managing user
Created and configured teaching task, comprising:
Firstly, creating teaching task under management user account accordingly by management service system 11, appoint for the teaching
Business configures corresponding virtual resource.
As previously mentioned, in line platform being SaaS building applied by online teaching method of the present invention, the online teaching is flat
Platform is integrated with an on-line study website, and management user (such as: teacher) pass through specific URL (Uniform Resource
Locator, uniform resource locator) the direct access operation of socket can be passed through.
Management user account is to be submitted by management user in management user terminal.By taking teacher as an example, teacher is in on-line study
Corresponding teacher's account inputted by web log-on page on the webpage of website to submit, teacher's account can include: user name/
Mailbox and teacher's public key (password).If when without teacher's account, teacher's account can be pre-created, that is, used by input
Name in an account book/mailbox and teacher's public key (password) create.
In addition, before creation teaching task further include: 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
Quasi- resource template is exactly configuring corresponding virtual resource for the teaching task to be established.It configures and corresponds to for the teaching task
Virtual resource can specifically execute but be not limited to following one or more: configure cluster virtual machine scale (such as: virtual machine
The quantity etc. of virtual machine in cluster);Configure the network topology of cluster virtual machine;To each virtual included in cluster virtual machine
Machine is configured.
In this way, creating religion associated with the management account information of user by ready virtual resource template
Task.In the present embodiment, that is, the computer-experiment that creation is under the jurisdiction of under teacher's account.
Later, teaching task management information corresponding with the teaching task is configured by management service system 11.
Herein, configuration teaching task management information includes various configurations:
1, essential information is configured
Configure the teaching task grouping information (such as: whether teaching task, which needs, is grouped, and is if desired grouped and how to set
Determine rule of classification etc.);
Establish the port information for obtaining the agency service in proxy server 13;
If corresponding teaching task requires to delete virtual resource, it may choose whether that the task of virtual resource is deleted in timing
And setting executes the time accordingly when task is deleted in selection timing.
2, the configuration file of various time points is designed
By Ansible configuration script, the configuration file of various time points is designed.Particularly, in the present embodiment, matching
It sets in file, can support a plurality of types of instruction items, and it is simple, clear to instruct item to have many advantages, such as.
3, teaching task frame is established
In the present embodiment, it establishes teaching task frame to specifically include: establishing computer-experiment frame and by the calculating
Machine experimental framework is stored into repository service system 15.
4, it establishes and configures evaluation and test system corresponding with teaching task
In the present embodiment, it establishes and configures evaluation and test system corresponding with teaching task and specifically include: establishing evaluation and test instruction,
Evaluation and test script corresponding with the computer-experiment is established, configures the listed files etc. that need to be recorded, and the evaluation and test system is deposited
Storage is into automatic judgment service system 17.
By aforesaid operations, that is, the foundation and configuration of entire teaching task are completed, for subsequent use.
Please refer to Fig. 5 and Fig. 6, wherein Fig. 5 is complete according to teaching task by study user in online teaching method of the present invention
At the flow diagram 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.
In conjunction with Fig. 1, Fig. 5 and Fig. 6, online teaching method of the present invention includes at least following steps:
Step S501, the virtual resource request of response study user, by agency by virtual resource allocation to study user.
As previously mentioned, in line platform being SaaS building applied by online teaching method of the present invention, the online teaching is flat
Platform is integrated with an on-line study website, and study user (such as: student) pass through specific URL (Uniform Resource
Locator, uniform resource locator), it can be obtained corresponding virtual resource, and then be by the direct access operation of socket
It can.
By taking computer-experiment as an example, generally, student can show after logging on the socket of the on-line study website
The computer studies information of the corresponding student account is shown, at this point, student is that may select from required computer studies and be somebody's turn to do
Corresponding computer-experiment in computer studies has just been automatically performed asking for virtual resource when carrying out selection operation in fact
It asks and sends virtual resource request and sent by internet, it is any that entire request process does not need student's input
Information.Correspondingly, management service system 11 receive the virtual resource request and distribute accordingly available virtual resource to
Corresponding student.
Virtual resource is created based on cloud service.Here virtual resource refer to teaching task (such as: calculate
Machine experiment) corresponding cluster virtual machine may include having at least one virtual machine in cluster virtual machine.The creation of cluster virtual machine
It is the parameter according to cluster virtual machine to be created and cloud service interface is called to be created.Certainly, to the virtual machine collection of creation
Group also needs to carry out status tracking, and the status tracking is based on cloud service to carry out state acquisition to cluster virtual machine and according to obtaining
The state that takes and take corresponding action: if being in creation state there are virtual machine in current virtual machine cluster, continue to track;
If there are virtual machine creating failures in current virtual machine cluster, starts a new Virtual Cluster and delete current virtual collection
Group;If all virtual machine creatings success in current virtual machine cluster, starts the configuration for carrying out cluster virtual machine.
For the configuration of the cluster virtual machine as virtual resource, can occur in following three nodes: cluster virtual machine
After creation, before cluster virtual machine distribution and before cluster virtual machine deletion.
1), after cluster virtual machine creation, the details adjustment (such as parameter is modified) of cluster virtual machine is completed, starting is necessary
Service (such as docker service, VNC (Virtual Network Computing, Virtual Networking Computing) service etc.).In this rank
Section can equally execute prolonged task, such as whole configurations of the installation of software package, or even the entire cluster virtual machine of completion.
2), before cluster virtual machine distribution, it is substantially carried out personalized customization, such as establishes the code storehouse of corresponding user
Library.
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, such as the code storage of user is pushed into remote warehouse.
In this way, automatically configuring for virtual resource is realized by the configuration of above-mentioned cluster virtual machine, it can more flexiblely
Virtual resource is adjusted, also makes it possible expeditiously to construct student individuality virtual resource.
Step S501 is continued back at, by taking student carries out computer-experiment as an example, in step S501, management service system
Virtual resource is requested and allocated to the student in the virtual resource of 11 response students, can further comprise: 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) gives the student.
The virtual resource request for checking student, obtains student information and computer-experiment, comprising:
Obtain the virtual resource request of student.Here virtual resource request may be, for example, to click corresponding calculating by student
It automatic trigger and is sent as the client where student by internet after machine experiment icon control.
The input information of student is checked.Here input information mainly may include the account letter for for example learning user
It ceases (such as mailbox, user name), therefore, the input information for learning user is checked, including for example procuratorial theory commonly uses family
The account information whether legal mailbox of specification (such as whether be) etc..
Check whether the computer-experiment in the virtual resource request needs to be grouped.If inspection, which obtains computer-experiment, to be needed
It is grouped but when student's non-selected grouping returns to packet interface so that student selects to be grouped;If inspection obtains computer-experiment needs
Grouping and the selected grouping of student, then continue in next step;If inspection obtains computer-experiment and do not need to be grouped, continue next
Step;
According to grouping information, student information is configured, create the object of student and configures the account letter of repository service system 15
Breath.Specifically, it creates student's object and configures the account information of repository service system 15.It holds and is sayed, if computer-experiment
It does not need to be grouped, then be used directly student's personal information;If computer-experiment needs to be grouped and the selected grouping of student, use
Corresponding mute student information (fake student).
It, can existing according to student information (such as: student's personal information or mute student information) and computer-experiment information
(search whether that there are available resources whether to need point checking computer-experiment when with virtual resource (that is, cluster virtual machine)
Can be carried out before or after group), it begins to be allocated.The assigning process can include: A, according to student information and computer
Experiment information configures virtual resource;B, the virtual resource allocation for completing configuration is right to the student institute that virtual resource is requested is issued
The client answered, for student according to the virtual resource of distribution complete the computer-experiment corresponding to programming code operation.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;It is the virtual resource of configuration by proxy server 13
Configuration Agent.Above-mentioned B is that the virtual resource allocation for completing configuration according to the agency of configuration is requested to virtual resource is issued
Student corresponding to client.
In this way, the virtual resource that student can be obtained in client using distribution, is completed corresponding with the computer-experiment
Programming code operation.
Step S503 is received and is completed and submitted corresponding with teaching task by the virtual resource of distribution by study user
Teaching work.
As previously mentioned, the virtual resource distributed by management service system 11 is obtained at client corresponding to student,
Using the virtual resource, typing or implanting needle are to the programming code of the computer-experiment, to complete the religion of the computer-experiment
Learn operation.It is subsequent, teaching work that student is near completion (such as: programming code operation) submit (such as: it is mentioned by socket
The submitting button control of confession), and the teaching work of submission (such as: programming code operation) it is saved in repository service system 15
It is interior.
Step S505 carries out automatic judgment to the teaching work according to evaluation and test task and exports evaluation result.
In fact, in the present embodiment, such setting can be done: when student is pressed by the submission that socket provides
Button control also represents the request for having submitted teaching assessment together while submitting teaching work.Certainly, others can also be used
Setting: the submission of submission and the teaching assessment of teaching work is submitted respectively using different submitting button controls.
In this way, step S505 can further comprise:
It receives the request of teaching assessment and obtains 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), create corresponding with evaluation and test task temporary folder, by the teaching work (such as: program
Code operation) it is written 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 into the specified file under the temporary folder, the temporary folder
It path then can be as the last one call parameters of call instruction.
Evaluation and test script is called, the teaching work is extracted from the temporary folder by the evaluation and test script and is commented
It surveys.In the present embodiment, the calling and answer acquisition for evaluating and testing script appoint that 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, evaluation and test script further establishes the evaluation and test file of formulation under the temporary file
Folder, and evaluation result is write exactly in a particular format 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 obtains evaluation result and is exported the evaluation result, that is, the evaluation result can be returned to student institute
Corresponding client (being shown on the socket of online website used in student).
Subsequent, 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, can the programmed environment that uses of specification and unified student, it is convenient that each student is managed,
Student can effectively be improved in this way practices program capability.
Online teaching platform of the present invention and online teaching method are that extensive (including participant is realized based on cloud service
Scale and/or course scale) online teaching purpose, essentially consist in: creating virtual resource based on cloud service, response study is used
The virtual resource request at family is to distribute virtual resource to study user so that study user is able to complete and teach using virtual resource
The corresponding teaching work of task, and further according to evaluation and test task and from repository service system acquisition teaching work and to teaching work
Carry out automatic judgment, export evaluation result, for teaching each side (management user and study user between, study user between and
Between management user) it forms good learning interaction and provides a kind of good teaching pattern, it can not only allow study user's root
Automatic judgment is carried out according to teaching task completion teaching work and after being submitted, realizes and study user's learning ability is examined
Core, and by means of the online teaching platform, it can standardize and impart knowledge to students with uniform teaching environment, convenience to each study user
Management.
The above-described embodiments merely illustrate the principles and effects of the present invention, and is not intended to limit the present invention.It is any ripe
The personage for knowing this technology all without departing from the spirit and scope of the present invention, carries out modifications and changes to above-described embodiment.Cause
This, institute is complete without departing from the spirit and technical ideas disclosed in the present invention by those of ordinary skill in the art such as
At all equivalent modifications or change, should be covered by the claims of the present invention.
Claims (26)
1. a kind of online teaching platform characterized by comprising
Management service system is used for: virtual resource is created based on cloud service, the virtual resource request of response study user is to divide
The study user is given with virtual resource;The virtual resource includes cluster virtual machine corresponding with teaching task, in virtual machine
It include at least one virtual machine in cluster;The management service system further includes for the virtual resource progress to creation
Status tracking, the status tracking be based on cloud service to the virtual resource carry out state acquisition and according to the state of acquisition and
Take corresponding action;
Proxy server is communicated to connect with the management service system, for accessing for user by the management service system
The virtual resource 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 by the study user;With
And
Automatic judgment service system is connect with the repository service system communication, for according to evaluation and test system and to from the storehouse
The teaching work that library service system obtains carries out automatic judgment and exports evaluation result.
2. online teaching platform according to claim 1, which is characterized in that the management service system further include: be used for
It creates teaching task and configures teaching task management information corresponding with the teaching task.
3. online teaching platform according to claim 2, which is characterized in that creation teaching task, comprising:
Obtain the account information of management user;And
Teaching task associated with the management account information of user is created, and configures corresponding void for the teaching task
Quasi- resource.
4. online teaching platform according to claim 2, which is characterized in that configuration teaching corresponding with the teaching task
Task management information, including below one or more:
Configure essential information;
Design the configuration file of various time points;
It establishes teaching task frame and stores the teaching task frame into the repository service system;And
Evaluation and test system corresponding with teaching task is established and configured, the evaluation and test system is stored to automatic judgment service system
In system.
5. online teaching platform according to claim 1, which is characterized in that
The status tracking is to carry out state acquisition to the virtual resource based on cloud service and taken according to the state of acquisition
Corresponding action are as follows:
If there are virtual machines to be in creation state in current virtual machine cluster, continue to track;
If there are virtual machine creating failures in current virtual machine cluster, starts a new Virtual Cluster and delete current virtual
Cluster;And
If the virtual machine creating success in current virtual machine cluster, starts the configuration for carrying out cluster virtual machine.
6. online teaching platform according to claim 5, which is characterized in that the configuration of the cluster virtual machine is at following
Implement under a kind of situation:
After cluster virtual machine creation, before cluster virtual machine distribution and before cluster virtual machine deletion;
After cluster virtual machine creation, the thin portion adjustment of cluster virtual machine is completed, necessary sex service is started;
Before cluster virtual machine distribution, implement personalized customization;And
Before cluster virtual machine deletion, the system resource that cluster virtual machine occupies is discharged, and to the behaviour of study user
It is backed up as result.
7. online teaching platform according to claim 1, which is characterized in that the management service system response study user
Virtual resource request to distribute virtual resource to the study user, comprising:
Procuratorial theory commonly uses the virtual resource request at family, obtains study user information and teaching task;And
According to the study user information and the teaching task, available virtual resource is distributed to the study user.
8. online teaching platform according to claim 7, which is characterized in that procuratorial theory commonly uses the virtual resource request at family,
Obtain study user information and teaching task, comprising:
The input information of study user is checked;
Check whether the teaching task in the virtual resource request of the study user obtained needs to be grouped;And
According to grouping information, configuration study user information, the object of creation study user and the account for configuring repository service system
Information.
9. online teaching platform according to claim 8, which is characterized in that
If teaching task does not need to be grouped, the personal information of study user is used;
If teaching task needs to be grouped, corresponding mute study user information is used.
10. online teaching platform according to claim 8, which is characterized in that
If creating new study user object in the absence of learning user information;
If study user information is existing, the information of needs is returned so as to next distribution.
11. online teaching platform according to claim 7, which is characterized in that according to the study user information and described
Teaching task distributes available virtual resource to the study user, comprising:
The study user information and the teaching task are obtained from repository service system;
According to the study user information and the teaching task, virtual resource is configured;And
It is that the virtual resource that configuration is completed establishes agency by proxy server, the virtual resource allocation that configuration is completed is to institute
State study user.
12. online teaching platform according to claim 1, which is characterized in that the management service system further includes being used for
Recycle virtual resource, wherein the recycling for 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, after confirmed, then local data base information is deleted.
13. online teaching platform according to claim 1, which is characterized in that the automatic judgment service system is according to commenting
Survey system and automatic judgment is carried out to the teaching work that obtains from the repository service system and exports evaluation result, wrap
It includes:
Acquisition includes to learn the evaluation and test task of user information and teaching task;
Teaching work corresponding with the study user information 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 inputted in the temporary folder;
The teaching work is extracted from the temporary folder and is evaluated and tested;And
It obtains evaluation result and is exported the evaluation result.
14. a kind of online teaching method characterized by comprising
The virtual resource request of response study user, and virtual resource allocation is given to the study user by agency;The void
Quasi- resource is created based on cloud service;The virtual resource includes cluster virtual machine corresponding with teaching task, virtual
It include at least one virtual machine in machine cluster;
Status tracking carried out to the virtual resource of creation, the status tracking be based on cloud service to the virtual resource into
Row state obtains and takes corresponding action according to the state of acquisition;
Receive the teaching work corresponding with teaching task completed and submitted by the virtual resource of distribution by study user;
And
Automatic judgment is carried out to the teaching work according to evaluation and test system and exports evaluation result.
15. online teaching method according to claim 14, which is characterized in that further include: creation teaching task simultaneously configures
Teaching task management information corresponding with the teaching task.
16. online teaching method according to claim 15, which is characterized in that creation teaching task, comprising:
Obtain the account information of management user;And
Teaching task associated with the management account information of user is created, and configures corresponding void for the teaching task
Quasi- resource.
17. online teaching method according to claim 15, which is characterized in that configuration religion corresponding with the teaching task
Task management information is learned, including below one or more:
Configure essential information;
Design the configuration file of various time points;
Establish teaching task frame;And
It establishes and configures evaluation and test system corresponding with teaching task.
18. online teaching method according to claim 14, which is characterized in that
The status tracking is to carry out state acquisition to the virtual resource based on cloud service and taken according to the state of acquisition
Corresponding action are as follows:
If there are virtual machines to be in creation state in current virtual machine cluster, continue to track;
If there are virtual machine creating failures in current virtual machine cluster, starts a new Virtual Cluster and delete current virtual
Cluster;And
If the virtual machine creating success in current virtual machine cluster, starts the configuration for carrying out cluster virtual machine.
19. online teaching method according to claim 18, which is characterized in that the configuration of the cluster virtual machine is following
Implement under any situation:
After cluster virtual machine creation, before cluster virtual machine distribution and before cluster virtual machine deletion;
After cluster virtual machine creation, the thin portion adjustment of cluster virtual machine is completed, necessary sex service is started;
Before cluster virtual machine distribution, implement personalized customization;And
Before cluster virtual machine deletion, the system resource that cluster virtual machine occupies is discharged, and to the behaviour of study user
It is backed up as result.
20. online teaching method according to claim 14, which is characterized in that the virtual resource of response study user is asked
It asks, gives virtual resource allocation to the study user, comprising:
Procuratorial theory commonly uses the virtual resource request at family, obtains study user information and teaching task;And
According to the study user information and the teaching task, available virtual resource is distributed to the study user.
21. online teaching method according to claim 20, which is characterized in that the virtual resource that procuratorial theory commonly uses family is asked
It asks, obtains study user information and teaching task, comprising:
The input information of study user is checked;
Check whether the teaching task in the virtual resource request of the study user obtained needs to be grouped;And
According to grouping information, configuration study user information, the object of creation study user simultaneously configures account information.
22. online teaching method according to claim 21, which is characterized in that
If teaching task does not need to be grouped, the personal information of study user is used;
If teaching task needs to be grouped, corresponding mute study user information is used.
23. online teaching method according to claim 21, which is characterized in that
If creating new study user object in the absence of learning user information;
If study user information is existing, the information of needs is returned so as to next distribution.
24. online teaching method according to claim 20, which is characterized in that according to the study user information and described
Teaching task distributes available virtual resource to the study user, comprising:
Obtain the study user information and the teaching task;
According to the study user information and the teaching task, virtual resource is configured;And
The virtual resource completed for configuration establishes agency, and the virtual resource allocation that configuration is completed gives the study user.
25. online teaching method according to claim 14, which is characterized in that further include recycling virtual resource, wherein right
Include: in the recycling 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, after confirmed, then local data base information is deleted.
26. online teaching method according to claim 14, which is characterized in that made according to evaluation and test task to the teaching
Industry carries out automatic judgment and exports evaluation result, comprising:
Acquisition includes to learn the evaluation and test task of user information and teaching task;
Teaching work corresponding with the study user information and the teaching task is obtained, is created corresponding with the evaluation and test task
Temporary folder, the teaching work is inputted in the temporary folder;
The teaching work is extracted from the temporary folder and is evaluated and tested;And
It obtains evaluation result and is exported the evaluation result.
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 CN106548670A (en) | 2017-03-29 |
CN106548670B true 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) |
Families Citing this family (14)
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 |
CN111326035B (en) * | 2018-12-13 | 2022-11-22 | 腾讯科技(深圳)有限公司 | 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 |
CN113014653B (en) * | 2021-03-04 | 2022-09-23 | 华东理工大学 | Online education cloud platform serving distributed experimental teaching environment |
CN113053185B (en) * | 2021-03-24 | 2022-07-19 | 重庆电子工程职业学院 | Software teaching model based on digital media |
CN114629789B (en) * | 2022-03-10 | 2024-05-14 | 常州工程职业技术学院 | Private cloud IaaS practice platform construction method based on OpenStack architecture |
CN114693482B (en) * | 2022-04-14 | 2024-04-16 | 湖南智擎科技有限公司 | Online programming experiment and open source project contribution conversion method and device |
Family Cites Families (6)
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 |
CN103593394B (en) * | 2006-03-31 | 2017-09-01 | STT WebOS 股份有限公司 | The method and device of information is exchanged in the environment of based on WWW |
US9344401B2 (en) * | 2009-02-04 | 2016-05-17 | Citrix Systems, Inc. | Methods and systems for providing translations of data retrieved from a storage system in a cloud computing environment |
CN103220364B (en) * | 2013-04-27 | 2017-03-29 | 清华大学 | A kind of system administration training platform framework based on cloud |
CN104580303A (en) * | 2013-10-18 | 2015-04-29 | 宇宙互联有限公司 | Virtual resource operating system, operator management platform and application service sharing method |
CN104281496B (en) * | 2014-10-27 | 2018-02-02 | 深圳中兴网信科技有限公司 | The distribution method and distributor of virtual resource |
-
2016
- 2016-08-17 CN CN201610681251.XA patent/CN106548670B/en active Active
Also Published As
Publication number | Publication date |
---|---|
CN106548670A (en) | 2017-03-29 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106548670B (en) | Online teaching platform and online teaching method | |
CN109478266A (en) | For the resource allocation of database supply | |
CN109360131A (en) | Cloud computing tutoring system | |
US20140278818A1 (en) | Business development configuration | |
CN106844198A (en) | Distributed dispatching automation test platform and method | |
CN104537589A (en) | Education cloud platform and implementation method thereof | |
Fauquex et al. | Creating people-aware IoT applications by combining design thinking and user-centered design methods | |
US20210150483A1 (en) | System and method for automatically creating personalized courses and trackable achievements | |
CN110162481A (en) | A kind of method for testing software, device, equipment and storage medium | |
Katal et al. | DevOps: Bridging the gap between Development and Operations | |
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 | |
US10929279B2 (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) | |
Munk et al. | Cloud enabling educational platforms with corc | |
CN112307177A (en) | Generating a process flow model using an unstructured conversational robot | |
US10346155B1 (en) | Compilation optimization via dynamic server cloning | |
CN112465473B (en) | Information processing method and device for building block activities | |
US20200342411A1 (en) | Platform for training and testing users in reality-based simulated environment | |
Budacu | Development of agile practices in Romanian software community | |
Jaju | Maximizing DevOps Scalability in Complex Software Systems: Maximizing DevOps Scalability in Complex Software Systems | |
Balan et al. | Introspection on the Research Avenues of Robotic Process Automation as a Service (RPAaaS). | |
AU2018202545A1 (en) | Communication Platform for Software Testing | |
Paralič et al. | Process based composition of web services for support of flexible and scalable educational applications | |
Cook et al. | Refactoring a full stack web application to remove barriers for student developers and to add customization for instructors | |
Hagara | Evaluation of Infrastructure as a Code for Enterprise Automation |
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 | ||
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 |
|
GR01 | Patent grant | ||
GR01 | Patent grant |