CN106648637A - Method and system for establishing virtual desktop - Google Patents
Method and system for establishing virtual desktop Download PDFInfo
- Publication number
- CN106648637A CN106648637A CN201611124326.0A CN201611124326A CN106648637A CN 106648637 A CN106648637 A CN 106648637A CN 201611124326 A CN201611124326 A CN 201611124326A CN 106648637 A CN106648637 A CN 106648637A
- Authority
- CN
- China
- Prior art keywords
- virtual desktop
- storage device
- mirror image
- storage
- image template
- 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.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/451—Execution arrangements for user interfaces
- G06F9/452—Remote windowing, e.g. X-Window System, desktop virtualisation
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Memory System Of A Hierarchy Structure (AREA)
Abstract
The invention relates to the field of cloud computing virtual desktops, and discloses a method for establishing a virtual desktop. The method is used for establishing the virtual desktop in a storage device of a virtual desktop computing node, and the storage device is a local solid state hard disk or a local mechanical hard disk or a shared storage disk. The method includes the steps that the storage device is selected based on the performance and cost requirements of a user for the virtual desktop, and the selected storage device meets the requirement for the storage type of the to-be-established virtual desktop; different storage characteristics are sufficiently used according to user scenes; the system storage cost is reduced while the virtual-desktop establishing efficiency is guaranteed. The invention further discloses a system for establishing the virtual desktop. The user can flexibly select the cache establishing time according to practical requirements, and the management efficiency can be improved.
Description
Technical field
The present invention relates to cloud computing virtual desktop field, and in particular to a kind of creation method and one kind of virtual desktop is virtual
The establishment system of desktop.
Background technology
It is empty in cloud computing VDI (Virtual Desktop Infrastructure, virtual desktop infrastructure) scene
The virtual desktop intended on Desktop Computing node is created by mirror image template.Currently, when carrying out virtual desktop establishment, need
First mirror image template is downloaded in the addressable storage device of virtual desktop calculate node, then creates virtual by mirror image template
Desktop, because the establishment of each virtual desktop is required to first carry out the download of mirror image template, considerably increases the establishment of virtual desktop
Time.
The content of the invention
For defect present in prior art, it is an object of the invention to provide a kind of creation method of virtual desktop and
A kind of establishment system of virtual desktop, flexibly can select to create according to the actual requirements the opportunity of caching, improve the efficiency of management.
To reach object above, the present invention is adopted the technical scheme that:A kind of creation method of virtual desktop is provided, is used for
Create virtual desktop in the storage device of virtual desktop calculate node, the storage device includes local solid state hard disc, local
Mechanical hard disk and shared storage dish, this method includes:
Storage device, and selected storage device is selected to meet the performance and cost needs of virtual desktop based on user
The storage class of virtual desktop to be created is required;
Virtual desktop is created in the storage device for selecting;
The storage class of the virtual desktop includes available domain and storage active volume, and the available domain is able to access that
Storage device, the storage active volume is the appearance of the active volume more than virtual desktop to be created of the storage device of selection
Amount.
On the basis of above-mentioned technical proposal, the virtual desktop includes that caching volume and virtual desktop are currently rolled up.
On the basis of above-mentioned technical proposal, if user it is high to the performance requirement of virtual desktop, into
This requires low, then currently volume selects local solid-state to the caching volume and virtual desktop of virtual desktop
Hard disk;
If user is high to the performance requirement of virtual desktop, cost requirement is high, virtual desktop it is slow
Depositing volume selects local solid state hard disc, virtual desktop currently to roll up the local mechanical hard disk of selection;
If user is low to the performance requirement of virtual desktop, cost requirement is high, virtual desktop it is slow
Deposit volume and virtual desktop is currently rolled up and selects local mechanical hard disk;
If user has high demands to the operation stability of virtual desktop, the caching volume of virtual desktop and virtual desktop are currently rolled up
Select shared storage dish.
On the basis of above-mentioned technical proposal, create before virtual desktop in storage device, also need to judge in storage device
Mirror image template caching whether is cached with, if not having, mirror image template is downloaded into storage device, and creates mirror image template caching,
Then virtual desktop is created in storage device;If having, judge whether the mirror image template cached in storage device caching can use,
If unavailable, the mirror image template caching cached in storage device is removed, and re-download mirror image template into storage device, so
Mirror image template caching is created afterwards, virtual desktop is created in storage device, if available, virtual table is created in storage device
Face.
On the basis of above-mentioned technical proposal, if the submission time of mirror image template is later than the submission time of caching record,
The mirror image template cached in storage device is unavailable;If the submission time of mirror image template is earlier than the submission time of caching record,
Continue contrast mirror image template cache contents whether consistent with mirror image template content, it is unavailable if inconsistent.
On the basis of above-mentioned technical proposal, this method also includes actively mirror image template being downloaded in storage device, creates
Mirror image template is cached.
On the basis of above-mentioned technical proposal, the shared storage dish caches and creates virtual table for caching mirror image template
Share behind face and use.
The present invention also provides a kind of establishment system of virtual desktop, including:
Storage device, it includes local solid state hard disc, local mechanical hard disk and shared storage dish;
Memory interface module, it is used to receive virtual desktop request to create, and the virtual desktop request to create includes waiting to create
The storage class of the virtual desktop built is required, and performance and cost needs of the user to virtual desktop to be created, described to deposit
Storage type includes available domain and storage active volume, and the available domain is the storage device being able to access that, the storage is available to be held
The active volume for measuring the storage device for selection is more than the capacity of virtual desktop to be created;
Storage scheduler module, it is used to select available storage device according to virtual desktop request to create;
Storage driving module, it is used to create virtual desktop in storage device.
On the basis of above-mentioned technical proposal, the system also includes memory buffers module, and it is used to judge storage scheduling
Mirror image template caching whether is cached with the storage device that module is selected, if not containing, mirror image template is downloaded to storage device
In, and create mirror image template caching.
On the basis of above-mentioned technical proposal, if be cached with mirror image template in the storage device of storage scheduler module selection delaying
Deposit, then memory buffers module is additionally operable to judge whether the mirror image template cached in storage device caching can use, if unavailable, clearly
Except the mirror image template caching of caching in storage device, and mirror image template is re-downloaded into storage device, then create mirror image mould
Plate is cached.
Compared with prior art, a kind of advantage of the creation method of virtual desktop of the invention exists:
(1) the storage class dynamic select of the performance and cost needs based on user to virtual desktop, and virtual desktop
Different storage devices, using flexible, makes full use of the performance and capacity of existing storage device, is ensureing virtual desktop availability
While reduces cost.
(2) caching of the mirror image template in storage device is divided into active cache strategy and passive cache policy, uses flexibly,
Accelerate the establishment speed of virtual desktop, it is adaptable to various different scenes;
(3) different storage devices such as mechanical hard disk, solid state hard disc, shared storage dish are supported for the establishment of virtual desktop,
Usability is wide.
A kind of establishment system of virtual desktop of the present invention obtains advantage and is:Scene is created according to specific, is made full use of
While the storage characteristics of different storage device ensures that virtual desktop creates efficiency, system carrying cost is reduced.
Description of the drawings
Fig. 1 is a kind of flow chart of the creation method of virtual desktop of the invention.
Specific embodiment
The present invention is described in further detail below in conjunction with accompanying drawing.
Shown in Figure 1, the present invention provides a kind of creation method of virtual desktop, in virtual desktop calculate node
Virtual desktop is created in storage device, storage device includes local mechanical hard disk, local solid state hard disc and shared storage dish, in cloud
The virtual desktop of calculating is realized in system, and at least including a virtual desktop calculate node, virtual desktop calculate node is by void
Intend desktop platform management node to be managed, and there is contact between each virtual desktop calculate node.
The creation method of the virtual desktop of the present invention includes:The performance and cost needs of virtual desktop are selected based on user
Storage device, and selected storage device meets the storage class requirement of virtual desktop to be created, the storage of virtual desktop
Type includes available domain and storage active volume, and available domain is the storage device being able to access that, that is, receiving the wound of virtual desktop
After building request, the storage device that can be selected;Storage active volume is the active volume of the storage device of selection more than to be created
Virtual desktop capacity;The storage device of selection need to be met after above-mentioned condition, and in the storage device for selecting virtual table is created
Face.
Create before virtual desktop in storage device, also need to judge mirror image template caching whether is cached with storage device,
If no, downloading mirror image template into storage device, and mirror image template caching is created, be then buffered in by mirror image template and deposited
Virtual desktop is created in storage equipment;If having, judge whether the mirror image template cached in storage device caching can use, if can not
With, then the mirror image template caching cached in storage device is removed, and mirror image template is re-downloaded into storage device, then create
Mirror image template is cached, and is then buffered in storage device by mirror image template and is created virtual desktop, if available, in storage device
In by mirror image template caching create virtual desktop.For in storage device cache mirror image template caching it is disabled judge according to
According to being:If the submission time of mirror image template is later than the submission time of caching record, the mirror image template cached in storage device is not
Can use;If the submission time of mirror image template is earlier than the submission time of caching record, continue to contrast mirror image template cache contents with
Whether mirror image template content is consistent, unavailable if inconsistent.
The concrete steps step of the creation method of virtual desktop of the present invention is:
Step S1:In specific cloud computing is implemented, as needed, need to select to create empty in different storage devices
Intend desktop, in the case where virtual desktop storage class is met, i.e., selected storage device for virtual desktop calculate node energy
It is enough to access, and the active volume of selected storage device is more than the capacity of virtual desktop to be created, according to user to virtual table
The performance in face and the demand of cost select storage device, and virtual desktop includes that caching volume and virtual desktop are currently rolled up, for user
The specifically chosen use scene of the demand of performance and cost to virtual desktop is:
If the 1, user is high to the performance requirement of virtual desktop, cost requirement is low, i.e., for the starting up speed etc. of virtual desktop
Experience requirements are high, and insensitive to cost, and currently volume selects local solid state hard disc for the caching volume of virtual desktop and virtual desktop;
If the 2, user is high to the performance requirement of virtual desktop, cost requirement is high, i.e., for the starting up speed etc. of virtual desktop
Experience requirements are high, and to cost sensitivity, caching volume selects local solid state hard disc, and it is hard that virtual desktop currently rolls up the local machinery of selection
Disk;
If the 3, user has high demands to the operation stability of virtual desktop, that is, the virtual desktop for creating need to meet making for High Availabitity
With demand, after the server that virtual desktop runs place delays machine, virtual desktop can also continue fortune on other servers
OK, now the caching volume of virtual desktop and the current volume of virtual desktop select to be created in shared storage dish, and this is suitable using scene
For individual office Desktop-scene.
If the 4, user is low to the performance requirement of virtual desktop, cost requirement is high, i.e. limited budget, and needs operation simultaneously
Virtual desktop quantity is few, and currently volume selects local mechanical hard disk for caching volume and virtual desktop.
According to the demand of virtual desktop, dynamic select storage device, while virtual desktop runnability is ensured, also have
Effect improves the utilization rate of storage device.
Step S2:Idle in the storage device of virtual desktop calculate node, that is, when being not used, keeper can be by
It is individual to download mirror image template in idle storage device, mirror image template caching is created, using active cache strategy, in order to shorten
The creation time of follow-up virtual desktop;But due to the restriction of time, it is impossible to ensure to be loaded with mirror image down in each storage device
Template, now whether also passive cache policy, after correspondence storage device is selected, need to delay in the storage device for judge selection
There is mirror image template caching, if not having, downloads mirror image template into storage device, and create mirror image template caching;If having,
Judge whether the mirror image template cached in storage device caching can use, if unavailable, remove the mirror image cached in storage device
Template is cached, and re-downloads mirror image template into storage device, then creates mirror image template caching, if available, subsequently then may be used
To create virtual desktop in storage device.For the mirror image template cached in storage device caches disabled basis for estimation
It is:If the submission time of mirror image template is later than the submission time of caching record, the mirror image template cached in storage device can not
With;If the submission time of mirror image template is earlier than the submission time of caching record, continue to contrast mirror image template cache contents and mirror
As template content whether unanimously, it is unavailable if inconsistent, it is available if unanimously.
Step S3:It is buffered in by mirror image template in the storage device of selection and creates virtual desktop.
Shared storage dish is used to cache mirror image template caching so that multiple virtual desktop calculate nodes are in shared storage dish
Virtual desktop is created, then shares using, be connected with each other between the shared storage dish of each virtual desktop calculate node, make different void
Intend Desktop Computing node shared mirror image template caching, i.e. virtual desktop calculate node when virtual desktop is created and create virtual table
Face can use the mirror image template caching in the shared storage dish of another virtual desktop calculate node.
Present invention additionally comprises a kind of establishment system of the virtual desktop based on said method, the system includes memory interface mould
Block, storage scheduler module, memory buffers module, storage driving module and storage device, storage device include local solid state hard disc,
Local mechanical hard disk and shared storage dish.
Memory interface module is used to receive the virtual desktop request to create of keeper, and virtual desktop request to create includes using
In virtual desktop request to create is received, virtual desktop request to create includes that the storage class of virtual desktop to be created is required, with
And performance and cost needs of the user to virtual desktop to be created, storage class is including available domain and stores active volume, can
It is the storage device being able to access that with domain, the active volume for storing the storage device that active volume is selection is more than void to be created
Intend the capacity of desktop;Storage scheduler module is used to select available storage device according to virtual desktop request to create, that is, what is selected deposits
Storage equipment need to meet the requirement in virtual desktop request to create and demand;Memory buffers module is used to judge storage scheduler module choosing
Mirror image template caching whether is cached with the storage device selected, if not containing, mirror image template is downloaded into storage device, and is created
Mirror image template caching is built, if it does, memory buffers module then judges whether the mirror image template for caching caching can use, if unavailable,
The mirror image template caching cached in storage device is then removed, and re-downloads mirror image template and mirror is created into storage device, then
As template caching, if available, virtual desktop subsequently then can be created in storage device;Storage driving module is used for according to mirror image mould
Plate is buffered in storage device and creates virtual desktop.
Shared storage dish caches and creates shared after virtual desktop use for caching mirror image template.
Scene is created according to specific, the storage characteristics for making full use of different storage device ensures that virtual desktop creates efficiency
While, reduce system carrying cost.
The present invention is not limited to above-mentioned embodiment, for those skilled in the art, without departing from
On the premise of the principle of the invention, some improvements and modifications can also be made, these improvements and modifications are also considered as the protection of the present invention
Within the scope of.The content not being described in detail in this specification belongs to prior art known to professional and technical personnel in the field.
Claims (10)
1. a kind of creation method of virtual desktop, for creating virtual desktop in the storage device of virtual desktop calculate node,
The storage device includes local solid state hard disc, local mechanical hard disk and shared storage dish, it is characterised in that:
Storage device is selected the performance of virtual desktop and cost needs based on user, and selected storage device meets and waits to create
The storage class for building virtual desktop is required;
Virtual desktop is created in the storage device for selecting;
The storage class of the virtual desktop includes available domain and storage active volume, and the available domain is the storage being able to access that
Equipment, the storage active volume is the capacity of the active volume more than virtual desktop to be created of the storage device of selection.
2. a kind of creation method of virtual desktop as claimed in claim 1, it is characterised in that:The virtual desktop includes caching
Volume and virtual desktop are currently rolled up.
3. a kind of creation method of virtual desktop as claimed in claim 2, it is characterised in that:
If user is high to the performance requirement of virtual desktop, cost requirement is low, the caching volume of virtual desktop and virtual desktop are current
Volume selects local solid state hard disc;
If performance requirement height, cost requirement height of the user to virtual desktop, the caching volume of virtual desktop selects local solid-state hard
Disk, virtual desktop currently rolls up the local mechanical hard disk of selection;
If user is low to the performance requirement of virtual desktop, cost requirement is high, the caching volume of virtual desktop and virtual desktop are current
Volume selects local mechanical hard disk;
If user has high demands to the operation stability of virtual desktop, currently volume is selected for the caching volume of virtual desktop and virtual desktop
Select shared storage dish.
4. a kind of creation method of virtual desktop as claimed in claim 1, it is characterised in that:Create in storage device virtual
Before desktop, also need to judge mirror image template caching whether is cached with storage device, if not having, download mirror image template and set to storage
In standby, and mirror image template caching is created, virtual desktop is then created in storage device;If having, judge to delay in storage device
Deposit mirror image template caching whether can use, if unavailable, remove storage device in cache mirror image template caching, and again under
Mirror image template is carried into storage device, mirror image template caching is then created, virtual desktop is created in storage device, if available,
Virtual desktop is then created in storage device.
5. a kind of creation method of virtual desktop as claimed in claim 4, it is characterised in that:
If the submission time of mirror image template is later than the submission time of caching record, the mirror image template cached in storage device can not
With;If the submission time of mirror image template is earlier than the submission time of caching record, continue to contrast mirror image template cache contents and mirror
As template content whether unanimously, it is unavailable if inconsistent.
6. a kind of creation method of virtual desktop as claimed in claim 1, it is characterised in that:This method is also included actively to depositing
Mirror image template is downloaded in storage equipment, mirror image template caching is created.
7. a kind of creation method of virtual desktop as claimed in claim 1, it is characterised in that:The shared storage dish is used to delay
Deposit mirror image template and cache and create shared after virtual desktop use.
8. the establishment system of a kind of virtual desktop, it is characterised in that include:
Storage device, it includes local solid state hard disc, local mechanical hard disk and shared storage dish;
Memory interface module, it is used to receive virtual desktop request to create, and the virtual desktop request to create includes to be created
The storage class of virtual desktop is required, and performance and cost needs of the user to virtual desktop to be created, the storage class
Type includes available domain and storage active volume, and the available domain is the storage device being able to access that, the storage active volume is
Capacity of the active volume of the storage device of selection more than virtual desktop to be created;
Storage scheduler module, it is used to select available storage device according to virtual desktop request to create;
Storage driving module, it is used to create virtual desktop in storage device.
9. the establishment system of a kind of virtual desktop as claimed in claim 8, it is characterised in that:The system also includes that storage is slow
Storing module, it is used to judge to store mirror image template caching whether is cached with the storage device that scheduler module is selected, if not containing,
Mirror image template is then downloaded into storage device, and creates mirror image template caching.
10. the establishment system of a kind of virtual desktop as claimed in claim 9, it is characterised in that:If storage scheduler module is selected
Storage device in be cached with mirror image template caching, then memory buffers module is additionally operable to judge the mirror image mould of caching in storage device
Whether plate caching can use, if unavailable, remove the mirror image template caching cached in storage device, and re-download mirror image template
Into storage device, mirror image template caching is then created.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611124326.0A CN106648637A (en) | 2016-12-08 | 2016-12-08 | Method and system for establishing virtual desktop |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611124326.0A CN106648637A (en) | 2016-12-08 | 2016-12-08 | Method and system for establishing virtual desktop |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106648637A true CN106648637A (en) | 2017-05-10 |
Family
ID=58818830
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201611124326.0A Pending CN106648637A (en) | 2016-12-08 | 2016-12-08 | Method and system for establishing virtual desktop |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106648637A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112882998A (en) * | 2019-11-29 | 2021-06-01 | 伊姆西Ip控股有限责任公司 | File storage method, electronic device and computer program product |
CN114564667A (en) * | 2022-04-28 | 2022-05-31 | 深圳市艾德网络科技发展有限公司 | Low-delay cache data processing method for analyzing large-scale data |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105718280A (en) * | 2015-06-24 | 2016-06-29 | 乐视云计算有限公司 | Method and management platform for accelerating IO of virtual machine |
CN105721551A (en) * | 2016-01-21 | 2016-06-29 | 上海龙田数码科技有限公司 | Desktop virtualization realizing method |
-
2016
- 2016-12-08 CN CN201611124326.0A patent/CN106648637A/en active Pending
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105718280A (en) * | 2015-06-24 | 2016-06-29 | 乐视云计算有限公司 | Method and management platform for accelerating IO of virtual machine |
CN105721551A (en) * | 2016-01-21 | 2016-06-29 | 上海龙田数码科技有限公司 | Desktop virtualization realizing method |
Non-Patent Citations (1)
Title |
---|
马思翔: "基于对象存储的混合块存储系统的研究", 《中国优秀硕士学位论文全文数据库》 * |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112882998A (en) * | 2019-11-29 | 2021-06-01 | 伊姆西Ip控股有限责任公司 | File storage method, electronic device and computer program product |
CN114564667A (en) * | 2022-04-28 | 2022-05-31 | 深圳市艾德网络科技发展有限公司 | Low-delay cache data processing method for analyzing large-scale data |
CN114564667B (en) * | 2022-04-28 | 2022-07-19 | 深圳市艾德网络科技发展有限公司 | Low-delay cache data processing method for analyzing large-scale data |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106294585B (en) | A kind of storage method under cloud computing platform | |
CN105100146B (en) | Date storage method, apparatus and system | |
CN102629941B (en) | Caching method of a virtual machine mirror image in cloud computing system | |
CN106325998B (en) | Application deployment method and device based on cloud computing | |
CN103607428B (en) | A kind of method and apparatus for accessing shared drive | |
CN105446813B (en) | A kind of method and device of resource allocation | |
CN104601680B (en) | A kind of method for managing resource and device | |
JP2012524946A5 (en) | ||
CN108900626B (en) | Data storage method, device and system in cloud environment | |
CN105025053A (en) | Distributed file upload method based on cloud storage technology and system | |
JP2021501358A (en) | How to manage cryptographic objects, computer implementations, systems and programs | |
CN104346345B (en) | The storage method and device of data | |
CN112463366A (en) | Cloud-native-oriented micro-service automatic expansion and contraction capacity and automatic fusing method and system | |
CN102577241A (en) | Method, device and system for scheduling distributed buffer resources | |
CN109085999A (en) | data processing method and processing system | |
CN108243239A (en) | A kind of method, apparatus, electronic equipment and system that web application service is provided | |
TW200813717A (en) | Reserve pool management in virtualized storage systems | |
CN108540510B (en) | Cloud host creation method and device and cloud service system | |
CN103795801A (en) | Metadata group design method based on real-time application group | |
CN108076078A (en) | A kind of cloud host creation method, device and cloud service system | |
WO2017095820A1 (en) | Methods and devices for acquiring data using virtual machine and host machine | |
CN106326226A (en) | Method and system for starting database service on public cloud | |
CN106657182B (en) | Cloud file processing method and device | |
CN103491193B (en) | A kind of method and apparatus of file-sharing | |
CN106648637A (en) | Method and system for establishing virtual desktop |
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 | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20170510 |