A cloud desktop deployment method that can save storage space

By creating a mirrored virtual machine as a basic template, the problem of repeated installation of application software by multiple virtual machines is solved, efficient utilization of server storage space is achieved, and waste of storage space is reduced.

CN114398046BActive Publication Date: 2025-08-01SHENZHEN RENDERBUS TECH
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202210062653.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-01-19
Publication Date
2025-08-01
Estimated Expiration
2042-01-19

AI Technical Summary

Technical Problem

In the prior art, repeated installation of the same application software on multiple virtual machines results in large amounts of server storage space, low storage space utilization, and waste.

Method used

Create a mirrored virtual machine through virtualization technology, install a shared application software and use it as a basic template to mirror it. It is used to publish several application virtual machines, reduce the duplicate installation of each virtual machine, and use qemu-kvm, vmware or hyperv technology to create a virtual image.

Benefits of technology

Effectively reduce the storage space occupied by each virtual machine on the server, improve memory space utilization, prevent disk storage space from being overcrowded, and save storage space.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114398046B_ABST
    Figure CN114398046B_ABST
Patent Text Reader

Abstract

The present invention discloses a cloud desktop deployment method capable of saving storage space, comprising the following steps: S1: Count the common application software on virtual machines with the same system version in the same server. S2: Use virtualization technology to publish a mirrored virtual machine, install all the common application software corresponding to the virtual machines with the same system version in step S1 on the mirrored virtual machine, and mark the image of the mirrored virtual machine as the basic template image; S3: The mirrored virtual machine publishes a number of application virtual machines based on the basic template image, creates virtual images of the number of application virtual machines, and sequentially performs identification numbering. The present invention does not need to download the same application software on each application virtual machine, effectively reducing the application space occupied by the application virtual machines on the server, thereby improving the utilization rate of the memory space of the server and preventing the problem of the disk storage space on the server being full.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of cloud desktop deployment methods, and particularly to a cloud desktop deployment method that can save storage space. Background Art

[0002] With the rapid development of cloud computing, cloud desktops are becoming more and more popular. For example, a single server can virtualize multiple virtual machines for independent use by multiple users. Since users are isolated from each other, each user has their own virtual machine. For example, when each user needs office software, the user needs to install it on their respective virtual machines. This means that for the server, multiple copies of office software are stored. For example, when 45 virtual machines are released (Windows 10 + office = 40G), the storage space required is 40G * 45 = 1800GB, resulting in an increase in the storage space occupied by the server and causing unnecessary waste.

[0003] Therefore, there are deficiencies in the prior art and improvements are needed. Summary of the Invention

[0004] The object of the present invention is to overcome the deficiencies of the prior art and provide a cloud desktop deployment method that can save storage space, solving the problems in the prior art where on the same server, the same application software is downloaded on multiple virtual machines, resulting in a large amount of storage space occupied on the server, low storage space utilization rate, and waste of storage space.

[0005] The technical solution of the present invention is as follows: A cloud desktop deployment method that can save storage space, comprising the following steps:

[0006] S1: Statistically analyze the common application software on virtual machines with the same system version in the same server.

[0007] The common application software is the application software installed on at least two virtual machines with the same system version. <*

[0008] S2: Use virtualization technology to release a mirrored virtual machine, install all the common application software corresponding to the virtual machines with the same system version in step S1 on the mirrored virtual machine, and mark the mirror of the mirrored virtual machine as the base template mirror.

[0009] The system version of the mirrored virtual machine is the same as that of the virtual machines with the same system version in step S1.

[0010] S3: The mirrored virtual machine releases several application virtual machines based on the base template mirror, creates virtual images of the several application virtual machines, and sequentially assigns identification numbers.

[0011] Further, the step S2 further includes: after identifying the image of the mirrored virtual machine as the base image template, setting the storage space value of the mirrored virtual machine on the server.

[0012] Further, in the step S3, the mirrored virtual machine creates virtual images of the several application virtual machines through virtualization commands.

[0013] Further, the virtualization technology is qemu-kvm technology or vmware technology or hyperv technology.

[0014] Adopting the above solution, the present invention provides a cloud desktop deployment method that can save storage space, and has the following beneficial effects: all application virtual machines with the same system version on the same server can obtain all the common application software on the mirrored virtual machine through the corresponding virtual images and use them, without downloading the same application software on each application virtual machine, effectively reducing the application space occupied by the application virtual machines on the server, thereby improving the utilization rate of the memory space on the server and preventing the problem of the disk storage space on the server being full. BRIEF DESCRIPTION OF THE DRAWINGS

[0015] Figure 1 It is a flowchart of the present invention. DETAILED DESCRIPTION OF THE EMBODIMENTS

[0016] The present invention will be described in detail below with reference to the accompanying drawings and specific embodiments.

[0017] Please refer to Figure 1 , the present invention provides a cloud desktop deployment method that can save storage space, including the following steps:

[0018] S1: Count the common application software on the virtual machines with the same system version in the same server;

[0019] The common application software is the application software installed on at least two virtual machines with the same system version; for example, if WeChat is set on two of the three virtual machines with the same system version in the server, then WeChat is the common application software. If the Tencent QQ software is installed on all three virtual machines, then the Tencent QQ software is also the common application software; therefore, the common application software can be application software such as Office office software, WeChat, Tencent QQ software, 3D rendering software, drawing software, etc., which is specifically determined according to the actual statistical situation. In addition, the system version of the virtual machine can be system versions such as Windows10 or Windows7.

[0020] S2: Use virtualization technology to publish a mirrored virtual machine, install all the common application software corresponding to the virtual machine with the same system version in step S1 on the mirrored virtual machine, and mark the image of the mirrored virtual machine as the base template image. It should be noted that if there are virtual machines with multiple system versions on the server, a mirrored virtual machine will be correspondingly set for each virtual machine with the same system version, and the system version of the mirrored virtual machine is the same as that of the virtual machine with the same system version in step S1. Specifically, in this embodiment, the virtualization technology is the qemu-kvm technology.

[0021] S3: The mirrored virtual machine publishes several application virtual machines based on the base template image, creates virtual images of the several application virtual machines, and sequentially assigns identification numbers to them. Each virtual image corresponds to an identification number for easy distinction and management.

[0022] A cloud desktop deployment method capable of saving storage space in the present invention first counts the same application software existing on the virtual machines with the same system version in the same server, marks it as common application software. After the counting is completed, further use virtualization technology to publish a mirrored virtual machine, and download all the common application software corresponding to the virtual machine with the same system version on the mirrored virtual machine. The mirrored virtual machine publishes several application virtual machines based on its base template image, and creates virtual images corresponding one by one to the several application virtual machines, so that each application virtual machine corresponds to a virtual image. The application virtual machine can obtain all the common application software on the mirrored virtual machine through the corresponding virtual image and use it, without downloading the same application software on each application virtual machine, effectively reducing the application space occupied by each application virtual machine on the server, greatly improving the utilization rate of the memory space on the server, thereby preventing the disk storage space on the server from being full and saving storage space.

[0023] Specifically, in this embodiment, step S2 further includes: after marking the image of the mirrored virtual machine as the base image template, setting the storage space value of the mirrored virtual machine on the server.

[0024] Specifically, in this embodiment, in step S3, the mirrored virtual machine creates the virtual images of the several application virtual machines through virtualization commands.

[0025] Taking the system version of the virtual machine as Windows 10, the number of application virtual machines to be allocated as 45, and the common application software as office operating software + WeChat + Tencent QQ software as an example, the operation process of a cloud desktop deployment method capable of saving storage space in the present invention is as follows: Count the common application software installed on the virtual machines with the system version of Windows 10 in the same server. Release a Windows 10 image virtual machine through the qemu-kvm technology, and download the office operating software, WeChat, and Tencent QQ software on this Windows 10 image virtual machine. Mark the image of the Windows 10 image virtual machine installed with the common application software as the basic template image win10_base.img, set its occupied space as 40GB, and release 45 Windows 10 application virtual machines based on the basic template image. First, create virtual images of 45 Windows 10 application virtual machines through the virtualization command qemu-img create -f qcow2 vm$(1 - 45).img – backing_file = win10_base.img, and name them vm + 1.img, vm + 2.img, vm + 3.img... vm + n.img (n is a natural number other than 0) in sequence. At this time, the storage space occupied by each Windows 10 application virtual machine on the server is 200KB, and the storage space of 45 Windows 10 application virtual machines on the server only needs 40GB + 45 * 200KB, which is approximately equal to 40GB. Compared with the prior art, it can save 45 times, greatly reducing the occupied storage space, so as to achieve the saving of the storage space by the multiple of the number of virtual machines.

[0026] In summary, the present invention provides a cloud desktop deployment method capable of saving storage space, which has the following beneficial effects: All application virtual machines with the same system version on the same server can obtain all the common application software on the image virtual machine through the corresponding virtual image and use it, without downloading the same application software on each application virtual machine, effectively reducing the application space occupied by the application virtual machines on the server, thereby improving the utilization rate of the memory space on the server and preventing the problem of the disk storage space on the server being full.

[0027] The above is only a preferred embodiment of the present invention and is not used to limit the present invention. Any modifications, equivalent replacements, and improvements made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.

Claims

1. A cloud desktop deployment method capable of saving storage space, characterized in that Including the following steps: S1: Count the common application software on virtual machines with the same system version in the same server; The common application software is the application software installed on at least two virtual machines with the same system version; S2: Use virtualization technology to release a mirrored virtual machine, install all the common application software corresponding to the virtual machines with the same system version in step S1 on the mirrored virtual machine, and mark the image of the mirrored virtual machine as the base template image; The system version of the mirrored virtual machine is the same as that of the virtual machines with the same system version in step S1; S3: The mirrored virtual machine releases a number of application virtual machines based on the base template image, creates virtual images of the number of application virtual machines, and sequentially assigns identification numbers; Step S2 further includes: after marking the image of the mirrored virtual machine as the base image template, setting the storage space value of the mirrored virtual machine on the server; In step S3, the mirrored virtual machine creates virtual images of the number of application virtual machines through virtualization commands.

2. The method for deploying a cloud desktop capable of saving storage space according to claim 1, wherein, The virtualization technology is qemu-kvm technology or vmware technology or hyperv technology.

Citation Information

Patent Citations

  • Method and system for managing user density at host server in virtual desktop infrastructure

    US20180210748A1