CN109871252A - cloud classroom universal disk implementation method - Google Patents
cloud classroom universal disk implementation method Download PDFInfo
- Publication number
- CN109871252A CN109871252A CN201910081056.7A CN201910081056A CN109871252A CN 109871252 A CN109871252 A CN 109871252A CN 201910081056 A CN201910081056 A CN 201910081056A CN 109871252 A CN109871252 A CN 109871252A
- Authority
- CN
- China
- Prior art keywords
- universal disc
- cloud terminal
- virtual machine
- cloud
- disc
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 44
- 238000013500 data storage Methods 0.000 abstract 2
- 230000002159 abnormal effect Effects 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 238000004801 process automation Methods 0.000 description 1
Landscapes
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The invention relates to the technical field of cloud classrooms, in particular to a method for realizing a cloud classroom universal disk. The method of the invention is that a universal disk and a cloud terminal are set to be associated with each other; the universal disk can be mounted no matter which desktop the cloud terminal is connected to; the universal disk comprises a cloud terminal local disk and a remote disk; the cloud terminal local disk is a storage volume stored in the cloud terminal; the remote disk is a storage volume established through a cloud platform storage service; the desktop comprises a VDI desktop and an IDV desktop; the VDI desktop is a desktop running on a server and can be used only by a cloud terminal through a remote connection protocol; the IDV desktop is a desktop running locally on the cloud terminal. According to the cloud terminal data storage method and the cloud terminal data storage system, no matter what course the cloud classroom is in, the virtual machines connected to the same cloud terminal can have the fixed data disk to store data, and the cloud terminal data cannot be lost.
Description
Technical field
The present invention relates to cloud classroom technique field, especially a kind of cloud classroom universal disc implementation method.
Background technique
Currently, cloud Classroom System is all supported using different mirror images as different courses.When class hour, cloud on some course
Cloud terminal in classroom requires to be connected to virtual machine corresponding to the course.In the scene in cloud classroom, different courses, cloud
The virtual machine of terminal connection is different from.The virtual machine connected depends on the reservation mode of cloud classroom virtual machine: if it is virtual
Machine is that every class journey is all newly-built, then the data that student retains will lose;Or virtual machine is multiplexing, the data of student
It can only could be accessed in the corresponding virtual machine of same course.
Therefore a kind of scheme is needed, no matter which kind of course cloud classroom is currently at, and the virtual machine that cloud terminal is connected to all is gathered around
There is a fixed space to save data.
Summary of the invention
Present invention solves the technical problem that being to provide cloud classroom universal disc implementation method, it is ensured that no matter cloud classroom is currently located
In which kind of course, the virtual machine that cloud terminal is connected to is owned by a fixed space to save data.
The technical solution that the present invention solves above-mentioned technical problem is:
The method is that setting universal disc and cloud terminal are interrelated;No matter which desktop is cloud terminal be connected to, and all can
The carry universal disc;
The universal disc includes cloud terminal local disk and remote disk;Cloud terminal local disk is to be stored in cloud terminal local
Storage volume;Remote disk is the storage volume by cloud platform storage service-creation;
The desktop includes VDI desktop and IDV desktop;
VDI desktop is the desktop run on the server, needs cloud terminal that could use by remote link communications;
IDV desktop is the desktop for operating in cloud terminal local.
The method includes the following steps:
Step 1: being that the cloud terminal in cloud classroom creates universal disc according to the general disc-type in cloud classroom;
Step 2: when at school, the cloud terminal in cloud classroom is traversed, it is general to the corresponding course virtual machine carry of cloud terminal
Disk;
Step 3: after class, the cloud terminal in cloud classroom is traversed, it is general to the corresponding course virtual machine unloading of cloud terminal
Disk.
Cloud terminal local disk visioning procedure is:
A universal disc ID is generated, and records universal disc information;
Cloud terminal after actuation, or before connection course virtual machine, automatically creates universal disc;
Universal disc and cloud terminal are associated;
Remote disk visioning procedure is:
Message is sent, notifies cloud platform storage service-creation storage volume;
Using storage volume ID as universal disc ID, universal disc information is recorded;
Universal disc and cloud terminal are associated.
IDV virtual machine carry universal disc process is:
1) if general disc-type is cloud terminal local disk, will be on universal disc carry to virtual machine;
2) if general disc-type is remote disk:
Storage class is first judged, if storage class is that cloud terminal could visit after the needs publication such as being locally stored, being centrally stored
The storage asked then first judges whether universal disc has been issued, if it is not, then issuing universal disc;Secondly judge universal disc whether carry
To cloud terminal, if it is not, then on carry to cloud terminal;It finally will be on universal disc carry to virtual machine;
It, then will be on universal disc carry to virtual machine if other storage classes.
VDI virtual machine carry universal disc process is:
It, will be on universal disc carry to virtual machine if universal disc does not need to issue;
If universal disc needs to issue, first determine whether universal disc has been issued, if it is not, then issuing universal disc;Secondly judge
Whether universal disc in the calculate node where carry to virtual machine, if it is not, then on carry to calculate node;Finally by universal disc
On carry to virtual machine;
The situation that universal disc needs are issued includes: that general disc-type is cloud terminal local disk;General disc-type is remote disk,
And storage class is centrally stored;General disc-type be remote disk, and storage class be locally stored, and universal disc where node
It is not the same node with node where virtual machine.
IDV virtual machine unloading universal disc process is:
Universal disc is unloaded from virtual machine;
VDI virtual machine unloads universal disc process are as follows:
1) universal disc is unloaded from virtual machine;
2) if universal disc is cloud terminal local disk, will be unloaded in the calculate node where universal disc from virtual machine;
If 3) universal disc be remote disk, and storage class be it is centrally stored, then by the calculating where universal disc from virtual machine
It is unloaded on node;
4) if universal disc is remote disk, and storage class is to be locally stored, and where node and virtual machine where universal disc
Node is not the same node, then will unload in the calculate node where universal disc from virtual machine.
The present invention is based on course arrangement, with the various resources of the format management of process automation, including course time point
Resource prepare and detection, the resources control and task con current control of course switching time point, the resource at End-of-Course time point
Release etc., greatlies simplify the mixed management of computer room and multiple cloud classrooms.
For the present invention when switching course, multiple cloud classrooms can generate multiple tasks, to bring high concurrent, be easy to cause and be
System occurs abnormal.Task of course manages queue unified management and distribution task, and workflow after class or workflow of attending class can be allowed not to have to
Block waiting task to complete, accelerates release workflow thread and occupied resource.
The present invention provides a kind of cloud classroom universal disc methods, and no matter which kind of course cloud classroom is currently at, and can allow same
The virtual machine that one cloud terminal is connected to is owned by fixed data disks and saves data, guarantees that cloud terminal data will not be lost.And
And two kinds of desktops of IDV and VDI are supported simultaneously, without being individually configured.
Detailed description of the invention
The following further describes the present invention with reference to the drawings:
Fig. 1 is the flow chart of the method for the present invention;
Fig. 2 is the flow chart of the creation universal disc of the method for the present invention;
Fig. 3 is the flow chart of the IDV virtual machine carry universal disc of the method for the present invention;
Fig. 4 is the flow chart of the VDI virtual machine carry universal disc of the method for the present invention;
Fig. 5 is the flow chart of the IDV virtual machine unloading universal disc of the method for the present invention.
Specific embodiment
As shown in Figure 1, the process of the method for the present invention includes:
S10: being that the cloud terminal in cloud classroom creates universal disc according to the general disc-type in cloud classroom;
S20: when at school, the cloud terminal in cloud classroom is traversed, to the corresponding course virtual machine carry universal disc of cloud terminal;
S30: after class, traversing the cloud terminal in cloud classroom, unloads universal disc to the corresponding course virtual machine of cloud terminal.
In the present invention, cloud terminal local disk is stored in the storage volume of cloud terminal local.Remote disk is deposited by cloud platform
Store up the storage volume of service-creation.According to the difference of storage class (being locally stored, centrally stored, distributed storage), remote disk
Specific location is also different.
Desktop of the present invention includes following two type:
VDI desktop: running desktop on the server, needs cloud terminal that could use by remote link communications
IDV desktop: the desktop of cloud terminal local is operated in
As shown in Fig. 2, creation universal disc process:
1) if general disc-type is cloud terminal local disk:
A universal disc ID is generated, and records universal disc information;
Universal disc and cloud terminal are associated;
Cloud terminal after actuation, or before connection course virtual machine, automatically creates universal disc
2) if general disc-type is remote disk:
Message is sent, notifies cloud platform storage service-creation storage volume;
Using storage volume ID as universal disc ID, universal disc information is recorded;
Universal disc and cloud terminal are associated.
As shown in figure 3, IDV virtual machine carry universal disc process:
1) if general disc-type is cloud terminal local disk, will be on universal disc carry to virtual machine;
2) if general disc-type is remote disk:
If storage class is after the needs publication such as being locally stored, being centrally stored, the storage that cloud terminal could access is sentenced first
Whether disconnected universal disc has been issued, if it is not, then issuing universal disc;Secondly judge universal disc whether on carry to cloud terminal, if it is not,
Then on carry to cloud terminal.It finally will be on universal disc carry to virtual machine.
It, then will be on universal disc carry to virtual machine if other storage classes.
As shown in figure 4, VDI virtual machine carry universal disc process:
1) it is first determined whether needing to issue universal disc, condition is as follows:
--- general disc-type is cloud terminal local disk
--- general disc-type is remote disk, and storage class is centrally stored
--- general disc-type is remote disk, and storage class is to be locally stored, and node and virtual machine where universal disc
Place node is not the same node;
Three of the above situation is to need to issue universal disc.
It, will be on universal disc carry to virtual machine if 2) universal disc does not need to issue.
If 3) universal disc needs to issue, first determine whether universal disc has been issued, if it is not, then issuing universal disc;Next is sentenced
Whether disconnected universal disc in the calculate node where carry to virtual machine, if it is not, then on carry to calculate node.It finally will be general
On disk carry to virtual machine.
IDV virtual machine unloading universal disc process is:
1) universal disc is unloaded from virtual machine
As shown in figure 5, VDI virtual machine unloads universal disc process are as follows:
1) universal disc is unloaded from virtual machine;
2) if universal disc is cloud terminal local disk, will be unloaded in the calculate node where universal disc from virtual machine;
If 3) universal disc be remote disk, and storage class be it is centrally stored, then by the calculating where universal disc from virtual machine
It is unloaded on node;
4) if universal disc is remote disk, and storage class is to be locally stored, and where node and virtual machine where universal disc
Node is not the same node, then will unload in the calculate node where universal disc from virtual machine.
The present invention supports two kinds of desktops of IDV and VDI, and user does not have to when creating universal disc respectively to both of which
It is configured.Meanwhile the present invention is supported using cloud terminal local disk or remote disk as universal disc.Cloud terminal local disk can utilize
The disk of cloud terminal itself, saves the storage resource of cloud platform;Remote disk then can guarantee the reliable and safe of data.
Claims (6)
1. a kind of cloud classroom universal disc implementation method, it is characterised in that: the method is that setting universal disc and cloud terminal are mutual
Association;No matter which desktop is cloud terminal be connected to, all can the carry universal disc;
The universal disc includes cloud terminal local disk and remote disk;Cloud terminal local disk is the storage for being stored in cloud terminal local
Volume;Remote disk is the storage volume by cloud platform storage service-creation;
The desktop includes VDI desktop and IDV desktop;
VDI desktop is the desktop run on the server, needs cloud terminal that could use by remote link communications;
IDV desktop is the desktop for operating in cloud terminal local.
2. according to the method described in claim 1, it is characterized by: the method includes the following steps:
Step 1: being that the cloud terminal in cloud classroom creates universal disc according to the general disc-type in cloud classroom;
Step 2: when at school, the cloud terminal in cloud classroom is traversed, to the corresponding course virtual machine carry universal disc of cloud terminal;
Step 3: after class, traversing the cloud terminal in cloud classroom, unload universal disc to the corresponding course virtual machine of cloud terminal.
3. according to the method described in claim 2, it is characterized by:
Cloud terminal local disk visioning procedure is:
A universal disc ID is generated, and records universal disc information;
Cloud terminal after actuation, or before connection course virtual machine, automatically creates universal disc;
Universal disc and cloud terminal are associated;
Remote disk visioning procedure is:
Message is sent, notifies cloud platform storage service-creation storage volume;
Using storage volume ID as universal disc ID, universal disc information is recorded;
Universal disc and cloud terminal are associated.
4. according to the method described in claim 2, it is characterized by:
IDV virtual machine carry universal disc process is:
1) if general disc-type is cloud terminal local disk, will be on universal disc carry to virtual machine;
2) if general disc-type is remote disk:
Storage class is first judged, if cloud terminal could access after storage class such as is locally stored, is centrally stored at the needs publication
Storage, then first judge whether universal disc has been issued, if it is not, then issuing universal disc;Secondly judge universal disc whether carry to cloud
In terminal, if it is not, then on carry to cloud terminal;It finally will be on universal disc carry to virtual machine;
It, then will be on universal disc carry to virtual machine if other storage classes.
5. according to the method described in claim 2, it is characterized by:
VDI virtual machine carry universal disc process is:
It, will be on universal disc carry to virtual machine if universal disc does not need to issue;
If universal disc needs to issue, first determine whether universal disc has been issued, if it is not, then issuing universal disc;Secondly judge general
Whether disk in the calculate node where carry to virtual machine, if it is not, then on carry to calculate node;Finally by universal disc carry
To virtual machine;
The situation that universal disc needs are issued includes: that general disc-type is cloud terminal local disk;General disc-type is remote disk, and is deposited
It is centrally stored for storing up type;General disc-type is remote disk, and storage class is to be locally stored, and node where universal disc and empty
Node where quasi- machine is not the same node.
6. according to the method described in claim 2, it is characterized by:
IDV virtual machine unloading universal disc process is:
Universal disc is unloaded from virtual machine;
VDI virtual machine unloads universal disc process are as follows:
1) universal disc is unloaded from virtual machine;
2) if universal disc is cloud terminal local disk, will be unloaded in the calculate node where universal disc from virtual machine;
If 3) universal disc be remote disk, and storage class be it is centrally stored, then by the calculate node where universal disc from virtual machine
Upper unloading;
4) if universal disc is remote disk, and storage class is to be locally stored, and node where node and virtual machine where universal disc
It is not the same node, then will be unloaded in the calculate node where universal disc from virtual machine.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201910081056.7A CN109871252B (en) | 2019-01-28 | 2019-01-28 | Cloud classroom universal disk implementation method |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201910081056.7A CN109871252B (en) | 2019-01-28 | 2019-01-28 | Cloud classroom universal disk implementation method |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN109871252A true CN109871252A (en) | 2019-06-11 |
| CN109871252B CN109871252B (en) | 2022-04-01 |
Family
ID=66918168
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201910081056.7A Active CN109871252B (en) | 2019-01-28 | 2019-01-28 | Cloud classroom universal disk implementation method |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN109871252B (en) |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN110347337A (en) * | 2019-06-13 | 2019-10-18 | 北京和信创天科技股份有限公司 | Data disk technology that is a kind of while supporting 3V desktop virtualization framework |
| CN110908753A (en) * | 2019-11-06 | 2020-03-24 | 西安雷风电子科技有限公司 | Intelligent fusion cloud desktop server, client and system |
Citations (9)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20110197192A1 (en) * | 2007-10-25 | 2011-08-11 | Hitachi, Ltd. | Virtual computer system and method of controlling the same |
| CN103544047A (en) * | 2013-10-25 | 2014-01-29 | 华为技术有限公司 | Cloud system data management method |
| CN106095337A (en) * | 2016-06-07 | 2016-11-09 | 国云科技股份有限公司 | A fast sharing method of cloud disk based on SAN network storage |
| CN106302601A (en) * | 2015-06-04 | 2017-01-04 | 中兴通讯股份有限公司 | Network disk this locality carry processing method, Apparatus and system |
| WO2017067404A1 (en) * | 2015-10-20 | 2017-04-27 | 中兴通讯股份有限公司 | Method of creating mirror file in logical volume, method of initiating virtual machine, and server |
| CN106933646A (en) * | 2015-12-29 | 2017-07-07 | 杭州华为数字技术有限公司 | A kind of method and device for creating virtual machine |
| CN107580011A (en) * | 2016-07-05 | 2018-01-12 | 华为技术有限公司 | A data sharing method and desktop cloud server |
| CN107864217A (en) * | 2017-11-21 | 2018-03-30 | 南京斯坦德云科技股份有限公司 | Cloud desktop intelligently pushing system |
| CN108446575A (en) * | 2018-02-02 | 2018-08-24 | 云宏信息科技股份有限公司 | Disk management method, electronic equipment based on cloud desktop, storage medium, system |
-
2019
- 2019-01-28 CN CN201910081056.7A patent/CN109871252B/en active Active
Patent Citations (9)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20110197192A1 (en) * | 2007-10-25 | 2011-08-11 | Hitachi, Ltd. | Virtual computer system and method of controlling the same |
| CN103544047A (en) * | 2013-10-25 | 2014-01-29 | 华为技术有限公司 | Cloud system data management method |
| CN106302601A (en) * | 2015-06-04 | 2017-01-04 | 中兴通讯股份有限公司 | Network disk this locality carry processing method, Apparatus and system |
| WO2017067404A1 (en) * | 2015-10-20 | 2017-04-27 | 中兴通讯股份有限公司 | Method of creating mirror file in logical volume, method of initiating virtual machine, and server |
| CN106933646A (en) * | 2015-12-29 | 2017-07-07 | 杭州华为数字技术有限公司 | A kind of method and device for creating virtual machine |
| CN106095337A (en) * | 2016-06-07 | 2016-11-09 | 国云科技股份有限公司 | A fast sharing method of cloud disk based on SAN network storage |
| CN107580011A (en) * | 2016-07-05 | 2018-01-12 | 华为技术有限公司 | A data sharing method and desktop cloud server |
| CN107864217A (en) * | 2017-11-21 | 2018-03-30 | 南京斯坦德云科技股份有限公司 | Cloud desktop intelligently pushing system |
| CN108446575A (en) * | 2018-02-02 | 2018-08-24 | 云宏信息科技股份有限公司 | Disk management method, electronic equipment based on cloud desktop, storage medium, system |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN110347337A (en) * | 2019-06-13 | 2019-10-18 | 北京和信创天科技股份有限公司 | Data disk technology that is a kind of while supporting 3V desktop virtualization framework |
| CN110908753A (en) * | 2019-11-06 | 2020-03-24 | 西安雷风电子科技有限公司 | Intelligent fusion cloud desktop server, client and system |
Also Published As
| Publication number | Publication date |
|---|---|
| CN109871252B (en) | 2022-04-01 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US10613780B1 (en) | Multi-node removal | |
| CN108683516A (en) | A kind of upgrade method of application example, device and system | |
| US8433772B2 (en) | Automated tape drive sharing in a heterogeneous server and application environment | |
| US7493518B2 (en) | System and method of managing events on multiple problem ticketing system | |
| CN105635311A (en) | Method for synchronizing resource pool information in cloud management platform | |
| JP2006511870A (en) | Create resource allocation aware queue for requests related to media resources | |
| CN115567251A (en) | Multi-service isolation method and system for microservice cluster | |
| CN104793981B (en) | A kind of online snapshot management method and device of cluster virtual machine | |
| CN114661419B (en) | A service quality control system and method | |
| CN109558260A (en) | Kubernetes troubleshooting system, method, equipment and medium | |
| CN114816272B (en) | Magnetic disk management system under Kubernetes environment | |
| CN113676537A (en) | Heterogeneous cloud resource unified management platform | |
| CN113312153A (en) | Cluster deployment method and device, electronic equipment and storage medium | |
| US20230370429A1 (en) | Upgrading firewall module on port-by-port basis | |
| US11740887B2 (en) | Upgrading SDN software by dual-loading modules | |
| CN113946276A (en) | Disk management method and device in cluster and server | |
| CN109871252A (en) | cloud classroom universal disk implementation method | |
| CN113835830A (en) | AI-based RPA cluster management method, device and storage medium | |
| CN113138717A (en) | Node deployment method, device and storage medium | |
| CN110119308A (en) | The system for managing extensive container application | |
| CN115904404A (en) | Application management method, device, equipment, medium and computer program product | |
| CN116860527A (en) | How to migrate containers using local storage in a Kubernetes environment | |
| CN111506360B (en) | External equipment access system and method of real-time data processing system | |
| CN110870275A (en) | Shared memory file transfer | |
| US20070136727A1 (en) | Method, system and program of outputting information |
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 | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant |