CN108804189B - Cloud desktop management method and system - Google Patents

Cloud desktop management method and system Download PDF

Info

Publication number
CN108804189B
CN108804189B CN201810557599.7A CN201810557599A CN108804189B CN 108804189 B CN108804189 B CN 108804189B CN 201810557599 A CN201810557599 A CN 201810557599A CN 108804189 B CN108804189 B CN 108804189B
Authority
CN
China
Prior art keywords
cloud desktop
user
cloud
virtual
disk
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
Application number
CN201810557599.7A
Other languages
Chinese (zh)
Other versions
CN108804189A (en
Inventor
陈鹏
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Chengdu Raincloud Technology Co ltd
Original Assignee
Chengdu Raincloud Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Chengdu Raincloud Technology Co ltd filed Critical Chengdu Raincloud Technology Co ltd
Priority to CN201810557599.7A priority Critical patent/CN108804189B/en
Publication of CN108804189A publication Critical patent/CN108804189A/en
Application granted granted Critical
Publication of CN108804189B publication Critical patent/CN108804189B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements 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/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • G06F9/452Remote windowing, e.g. X-Window System, desktop virtualisation
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

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)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Stored Programmes (AREA)

Abstract

The invention relates to a cloud desktop management method and a cloud desktop management system, which are used for solving the technical problems of low cloud desktop switching efficiency and potential safety hazards of user data in the prior art, wherein the method comprises the following steps: a virtual system disk is distributed for the cloud desktop and used for storing system data required by the operation of the cloud desktop, a virtual user disk is distributed for a user from a cloud end and used for storing user data generated in the process of using the cloud desktop by the user, and the user data is protected in the process of using the cloud desktop; when the user is switched from a source cloud desktop to a target cloud desktop, mapping from the virtual user disk to the source cloud desktop is released, and the virtual user disk is redirected and mapped to the target cloud desktop; according to the cloud desktop switching method and device, the system data and the user data of the cloud desktop are stored separately, the user data before switching can be used immediately after the cloud desktop is switched, the user data are protected, the cloud desktop switching efficiency is improved, and the safety of the user data is enhanced.

Description

Cloud desktop management method and system
Technical Field
The present disclosure relates to the field of cloud computing, and in particular, to a cloud desktop management method and system.
Background
In recent years, cloud desktop technology is gradually mature, the novel desktop use mode is widely applied to enterprises and public institutions such as schools, hospitals and design companies, and the cloud desktop can replace a personal computer desktop.
The data required by the normal operation of the cloud desktop are called as 'system data', the system data are often data which are not concerned by users, the data generated by the users in the process of using the cloud desktop are called as 'user data', and the user data are very important for the users; in a conventional cloud desktop system, system data of a cloud desktop and user data are stored in the same storage medium, and when the cloud desktop is switched, namely when a user is switched from one cloud desktop (hereinafter referred to as a desktop 1) to another cloud desktop (hereinafter referred to as a desktop 2), in order to ensure that the user can use the user data of the user in the original desktop 1 in the desktop 2, the user data in the same storage medium need to be extracted in the desktop 1 and be transmitted and/or copied to the desktop 2 through a network; based on this, the conventional cloud desktop switching method has the following disadvantages: (1) In order to ensure that user data is available across desktops, more time cost is required to be spent in the cloud desktop switching process to extract the user data in the desktop 1 and transmit and/or copy the user data into the desktop 2, so that the cloud desktop switching efficiency is low; (2) If the desktop 1 is damaged before switching, after the cloud desktop is switched to the desktop 2, the user data in the desktop 1 cannot be recovered, so that important data is lost, and the data security is poor.
Disclosure of Invention
The invention provides a cloud desktop management method and a cloud desktop management system, which aim to solve the problems of low cloud desktop switching efficiency and potential safety hazards of data in the prior art.
The invention provides a cloud desktop management method, which comprises the following steps.
A cloud desktop creation step of creating one or more cloud desktops for one or more users, wherein one cloud desktop can only be used by one user at the same time; specifically, a virtual CPU, a virtual memory and a virtual system disk are allocated to each cloud desktop, an operating system is installed for each cloud desktop, and system data required by each cloud desktop in operation are stored in the virtual system disk corresponding to the cloud desktop.
A cloud desktop using step, namely determining that a user uses a cloud desktop, wherein a cloud end distributes a virtual user disk for the user, and storing user data generated in the process of using the cloud desktop by the user into the virtual user disk corresponding to the user, judging whether cloud desktop switching is performed or not, and if so, entering a cloud desktop switching step; the cloud end distributes a virtual user disk for the user, which comprises the following steps: and virtualizing a physical disk storage space of a cloud into the virtual user disk, and mapping the virtual user disk into the cloud desktop.
A cloud desktop switching step, wherein the cloud desktop switching step comprises a switching judging step and a data migration step, and after a user is determined to switch from a source cloud desktop to a target cloud desktop, the switching judging step comprises the steps of judging whether the target cloud desktop exists, if so, executing the data migration step, and if not, executing the cloud desktop creation step to create the target cloud desktop, and then executing the data migration step; the data migration step comprises the following steps: and removing the mapping from the virtual user disk corresponding to the user to the source cloud desktop, and re-mapping the virtual user disk corresponding to the user to the target cloud desktop.
Preferably, in the cloud desktop creating step, the allocating a virtual CPU, a virtual memory, and a virtual system disk includes: the cloud end is used for the cloud desktop by virtualizing physical CPU resources, physical memory resources and a physical disk storage space of the cloud end and mapping the virtual CPU resources, the physical memory resources and the physical disk storage space to the cloud desktop, or is used for the cloud desktop by virtualizing local physical CPU resources, physical memory resources and the physical disk storage space.
Preferably, in the cloud desktop creating step, the installing an operating system includes: the operating system is provided and installed by the cloud desktop management system, or the operating system is installed by a user.
Preferably, in the cloud desktop creation step, before the user uses the cloud desktop, one or more cloud desktops are created in advance, or when the user needs to use the cloud desktop, one or more cloud desktops are created immediately.
Preferably, in the cloud desktop switching step, when the user sends a cloud desktop switching instruction, or when the source cloud desktop operating system is damaged, it is determined that the user switches from the source cloud desktop to the target cloud desktop.
Preferably, the method further includes a user data protection step, the user data protection step includes a user data backup step and a user data recovery step, the user data backup step includes monitoring whether there is an operation in the first virtual user disk that causes the stored user data to change, if yes, storing the changed user data in the cloud physical disk storage space in the form of a log, and recording a timestamp when the data changes and/or an operation behavior that causes the user data to change; the user data recovery step includes monitoring whether user data in the first virtual user disk needs to be recovered at a certain data moment, if yes, selecting a time stamp and/or an operation behavior, extracting and recombining log data before the selected time stamp and/or operation behavior, and writing back to the first virtual user disk.
The invention also provides a cloud desktop management system, which comprises the following modules.
The cloud desktop creation module is used for creating one or more cloud desktops for one or more users, wherein one cloud desktop can only be used by one user at the same time; specifically, a virtual CPU, a virtual memory and a virtual system disk are allocated to each cloud desktop, an operating system is installed for each cloud desktop, and system data required by each cloud desktop in operation are stored in the virtual system disk corresponding to the cloud desktop.
The cloud desktop application module is used for determining that a user uses a cloud desktop, the cloud end distributes a virtual user disk for the user, user data generated in the process of using the cloud desktop by the user are stored in the virtual user disk corresponding to the user, whether cloud desktop switching is performed or not is judged, and if yes, the cloud desktop switching module is called; the cloud end distributes a virtual user disk for the user, which comprises the following steps: and virtualizing a physical disk storage space of a cloud into the virtual user disk, and mapping the virtual user disk into the cloud desktop.
The cloud desktop switching module comprises a switching judging module and a data migration module, wherein the switching judging module is called after a user is determined to switch from a source cloud desktop to a target cloud desktop, and is used for judging whether the target cloud desktop exists or not, if yes, the data migration module is called, and if not, the data migration module is called after the cloud desktop creation module creates the target cloud desktop; the data migration module comprises: and removing the mapping from the virtual user disk corresponding to the user to the source cloud desktop, and re-mapping the virtual user disk corresponding to the user to the target cloud desktop.
Preferably, in the cloud desktop creation module, the allocating a virtual CPU, a virtual memory, and a virtual system disk includes: the cloud end is used for the cloud desktop by virtualizing physical CPU resources, physical memory resources and a physical disk storage space of the cloud end and mapping the virtual CPU resources, the physical memory resources and the physical disk storage space to the cloud desktop, or is used for the cloud desktop by virtualizing local physical CPU resources, physical memory resources and the physical disk storage space.
Preferably, in the cloud desktop creation module, the installing an operating system includes: the operating system is provided and installed by the cloud desktop management system, or the operating system is installed by a user.
Preferably, in the cloud desktop creation module, before a user uses a cloud desktop, one or more cloud desktops are created in advance, or when the user needs to use the cloud desktop, one or more cloud desktops are created immediately.
Preferably, in the cloud desktop switching module, when the user sends a cloud desktop switching instruction or when the source cloud desktop operating system is damaged, it is determined that the user switches from the source cloud desktop to the target cloud desktop.
Preferably, the system further comprises: the user data protection module comprises a user data backup module and a user data recovery module, wherein the user data backup module is used for monitoring whether the user data stored in the first virtual user disk changes due to operation or not, if so, the changed user data is stored in the cloud physical disk storage space in a log mode, and the time stamp when the data changes and/or the operation behavior which causes the user data to change are recorded; the user data recovery module is used for monitoring whether user data in the first virtual user disk needs to be restored at a certain data moment, if yes, selecting a time stamp and/or an operation behavior, extracting and reorganizing log data before the selected time stamp and/or operation behavior, and writing the log data back to the first virtual user disk.
According to the cloud desktop management method and the cloud desktop management system, the system data and the user data in the cloud desktop are stored separately by using different storage media, when a user changes the cloud desktop, the user data storage media are redirected, the user data in the original cloud desktop can be quickly migrated, network transmission and/or mobile storage media copying which are inconvenient and time-consuming are not needed any more, the cloud desktop switching efficiency is effectively improved, and further the user experience of the user using the cloud desktop is improved; meanwhile, the invention can carry out data backup on the user data which are separately stored, and when the user data are destroyed by events such as misoperation, virus Trojan horse infection, hacking invasion and the like in the cloud desktop, the invention can recover the user data before the destruction, thereby ensuring the safety of the user data.
From the foregoing, it is apparent that the foregoing description is merely an overview of the embodiments of the present invention, and it is to be understood that the invention may be practiced in light of this disclosure.
Drawings
Various other advantages and benefits will become apparent to those of ordinary skill in the art from the following detailed description of the preferred embodiments. The drawings are only for purposes of illustrating the preferred embodiments and are not to be construed as limiting the invention, and like parts are designated by like reference numerals throughout the drawings.
Fig. 1 is a flow chart of a cloud desktop management method according to an embodiment of the present invention.
Fig. 2 is a schematic flow chart of a cloud desktop creation step in the cloud desktop management method according to the embodiment of the present invention.
Fig. 3 is a flowchart illustrating a procedure of using a cloud desktop in a cloud desktop management method according to an embodiment of the present invention.
Fig. 4 is a schematic flow chart of a cloud desktop switching step in the cloud desktop management method according to the embodiment of the present invention.
Fig. 5 is a schematic flow chart of a user data protection step in the cloud desktop management method according to the embodiment of the present invention.
Fig. 6 is a schematic deployment diagram of a cloud desktop management system according to an embodiment of the present invention.
Fig. 7 is a schematic structural diagram of a cloud desktop management system according to an embodiment of the present invention.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present invention, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to fall within the scope of the invention.
Referring to fig. 1, fig. 1 is a flowchart of a cloud desktop management method according to an embodiment of the present invention, where the method is applied to a cloud desktop management system, and the method includes a cloud desktop creation step S101, a cloud desktop use step S102, and a cloud desktop switching step S103, and preferably further includes a user data protection step S104.
And a cloud desktop creation step S101, wherein one or more cloud desktops are created by the cloud in the cloud desktop management system for one or more users, and one cloud desktop created by the cloud can only be used by one user at the same time.
Specifically, referring to fig. 2, fig. 2 is a schematic flow chart of a cloud desktop creation step in a cloud desktop management method according to an embodiment of the present invention, taking creating a first cloud desktop as an example, a cloud desktop creation step S101 includes: the cloud end distributes a first virtual CPU, a first virtual memory and a first virtual system disk for a first cloud desktop, installs a first operating system for the first cloud desktop, and stores system data required by the first cloud desktop in the first virtual system disk when the first cloud desktop operates.
Preferably, the allocating a first virtual CPU, a first virtual memory, and a first virtual system disk to the first cloud desktop includes: the cloud terminal virtualizes a first physical CPU resource, a first physical memory resource and a first physical disk storage space of the cloud terminal and then maps the virtualized first physical CPU resource, the virtualized first physical memory resource and the virtualized first physical disk storage space to the first cloud desktop for the first cloud desktop to use.
Preferably, the allocating a first virtual CPU, a first virtual memory, and a first virtual system disk to the first cloud desktop includes: the cloud end virtualizes a local first physical CPU resource, a first physical memory resource and a first physical disk storage space and then provides the virtualized first physical CPU resource, the first physical memory resource and the first physical disk storage space for the first cloud desktop to use.
Preferably, the first operating system installed for the first cloud desktop is provided and installed by the cloud desktop management system.
Preferably, the first operating system installed for the first cloud desktop is installed by a first user using the first cloud desktop.
Preferably, one or more cloud desktops are created in advance before a user uses the cloud desktops.
Preferably, one or more cloud desktops are created on the fly when a user needs to use the cloud desktops.
Cloud desktop use step S102: this step stores user data generated when each user uses the cloud desktop.
Specifically, referring to fig. 3, fig. 3 is a flowchart illustrating a procedure of using a cloud desktop in the cloud desktop management method according to the embodiment of the present invention, and taking a case that a first user uses a first cloud desktop as an example, a cloud desktop using step S102 includes: determining that a first user uses a first cloud desktop, distributing a first virtual user disk for the first user by a cloud, judging whether a user data read-write request exists, if so, storing user data corresponding to the user data read-write request into the first virtual user disk, if not, judging whether cloud desktop switching is performed, if so, entering a cloud desktop switching step S103, and if not, continuously judging whether the user data read-write request exists.
The cloud end distributes a first virtual user disk for the first user, which comprises the following steps: the cloud end virtualizes a second physical disk storage space of the cloud end into a first virtual user disk, maps the first virtual user disk into a first cloud desktop, and is different from the first physical disk storage space of the cloud end.
Cloud desktop switching step S103: when a user needs to switch cloud desktops, switching from a source cloud desktop to a target cloud desktop is achieved; the cloud desktop switching step S103 includes a switching determining step S113 and a data migration step S123, where the cloud desktop switching step S113 determines whether the target cloud desktop exists, if so, executes the data migration step S123, and if not, executes the cloud desktop creating step S101 to create the target cloud desktop, and then executes the data migration step S123; in the data migration step S123, the cloud end releases the mapping from the virtual user disk corresponding to the user to the source cloud desktop, and redirects and maps the virtual user disk corresponding to the user to the target cloud desktop.
Specifically, referring to fig. 4, fig. 4 is a schematic flow chart of a cloud desktop switching step in the cloud desktop management method according to the embodiment of the present invention, taking a first user switching from a first cloud desktop (source cloud desktop) to a second cloud desktop (target cloud desktop) as an example, the cloud desktop switching step S103 includes: after the first user is determined to be switched from the first cloud desktop to the second cloud desktop, judging whether the second cloud desktop exists, if so, removing the mapping from the first virtual user disk to the first cloud desktop by the cloud end, re-mapping the first virtual user disk to the second cloud desktop, if not, removing the mapping from the first virtual user disk to the first cloud desktop by the cloud end, and re-mapping the first virtual user disk to the second cloud desktop by the cloud end after the second cloud desktop is created; when the first user sends a cloud desktop switching instruction or the first cloud desktop operating system is damaged, determining that the first user is switched from the first cloud desktop to a second cloud desktop.
Preferably, the method further comprises a user data protection step S104: the step protects user data generated when a user uses a cloud desktop; the user data protection step S104 includes a user data backup step S114 and a user data recovery step S124, where the user data backup step S114 backs up user data in the virtual user disk, and the user data recovery step S124 recovers user data in the virtual user disk.
Specifically, referring to fig. 5, fig. 5 is a schematic flow chart of a user data protection step in a cloud desktop management method according to an embodiment of the present invention, taking data protection of user data in a first user using a first cloud desktop process as an example, a user data protection step S104 includes: monitoring whether the first virtual user disk has operation to cause the change of the stored user data, if so, storing the changed user data in a log form in the cloud physical disk storage space, and recording a time stamp when the data is changed and/or an operation behavior causing the change of the user data; and monitoring whether user data in the first virtual user disk needs to be restored at a certain data moment, if so, selecting a time stamp and/or an operation behavior, extracting and reorganizing log data before the selected time stamp and/or operation behavior, and writing back to the first virtual user disk.
As can be seen from the above solution, according to the cloud desktop management method provided by the embodiment of the present invention, a one-to-one correspondence between a cloud desktop and a virtual system disk is established, cloud desktop system data is stored in the virtual system disk, user data generated in a process of using the cloud desktop by a user is stored in the virtual user disk, and further separation storage of system data and user data is achieved, after the cloud desktop is switched, mapping of the virtual user disk and a source cloud desktop is redirected and mapped to a target cloud desktop, so that instantaneous migration of the user data is achieved, and further instant availability of the user data stored in the source cloud desktop in the target cloud desktop is ensured, and cloud desktop switching efficiency is effectively improved; meanwhile, in the process of using the cloud desktop by a user, disaster recovery backup and recovery of user data can be realized, data safety is protected, and the loss risk of the user data is reduced.
For the purposes of simplicity of explanation, the methodologies are shown and described as a series of acts, it is to be understood and appreciated by one of ordinary skill in the art that the methodologies are not limited by the order of acts, as some acts may, in accordance with the methodologies, take place in other order or concurrently. Further, those skilled in the art will appreciate that the embodiments described in the specification are presently preferred embodiments, and that the acts are not necessarily required by the embodiments of the invention.
Referring to fig. 6, fig. 6 is a schematic deployment diagram of a cloud desktop management system according to an embodiment of the present invention, where the cloud desktop management system has a capacity of virtualizing cloud and/or local computing resources and storage resources, and may virtualize computing resources such as physical CPUs and physical memories of the cloud and storage resources such as physical disks of the cloud, and may virtualize computing resources such as local physical CPUs and physical memories and storage resources such as local physical disks.
The cloud desktop management system virtualizes cloud and/or local computing resources and storage resources to create one or more cloud desktops for one or more users, and one cloud desktop created by the cloud can only be used by one user at the same time.
In the aspect of deployment of computing resources, the cloud desktop management system allocates a virtual CPU and a virtual memory for each cloud desktop, and installs an operating system for each cloud desktop.
In the aspect of the deployment of storage resources, when each cloud desktop is created, the cloud end distributes a virtual system disk for each cloud desktop, wherein the virtual system disk is used for storing system data required by the operation of the cloud desktop, and further a one-to-one correspondence between the cloud desktop and the virtual system disk is formed; when each user uses a cloud desktop for the first time, the cloud desktop used by each user is determined, a virtual user disk is allocated to each user by the cloud, and the virtual user disk is used for storing user data generated in the process that the user uses the cloud desktop, so that a one-to-one correspondence relationship between the user and the virtual user disk is formed.
Preferably, the user data stored in the virtual user disk is subjected to data protection.
According to the deployment mode of the cloud desktop management system, cloud desktop system data and user data are stored separately, support is provided for rapid switching of the follow-up cloud desktops, and meanwhile safety of the user data is protected.
Fig. 7 is a schematic structural diagram of a cloud desktop management system according to an embodiment of the present invention, where the cloud desktop management system includes: the cloud desktop creation module 701, the cloud desktop use module 702 and the cloud desktop switching module 703 preferably further comprise a user data protection module 704.
The cloud desktop creation module 701 is configured to create one or more cloud desktops for one or more users in a cloud desktop management system, where one cloud desktop created by the cloud can only be used by one user at a time.
Specifically, taking the creation of the first cloud desktop as an example, the cloud desktop creation module 701 is configured to allocate a first virtual CPU, a first virtual memory, and a first virtual system disk for the first cloud desktop, install a first operating system for the first cloud desktop, and store system data required by the first cloud desktop during operation into the first virtual system disk.
Preferably, the allocating a first virtual CPU, a first virtual memory, and a first virtual system disk to the first cloud desktop includes: the cloud terminal virtualizes a first physical CPU resource, a first physical memory resource and a first physical disk storage space of the cloud terminal and then maps the virtualized first physical CPU resource, the virtualized first physical memory resource and the virtualized first physical disk storage space to the first cloud desktop for the first cloud desktop to use.
Preferably, the allocating a first virtual CPU, a first virtual memory, and a first virtual system disk to the first cloud desktop includes: the cloud end virtualizes a local first physical CPU resource, a first physical memory resource and a first physical disk storage space and then provides the virtualized first physical CPU resource, the first physical memory resource and the first physical disk storage space for the first cloud desktop to use.
Preferably, the first operating system installed for the first cloud desktop is provided and installed by the cloud desktop management system.
Preferably, the first operating system installed for the first cloud desktop is installed by a first user using the first cloud desktop.
Preferably, one or more cloud desktops are created in advance before a user uses the cloud desktops.
Preferably, one or more cloud desktops are created on the fly when a user needs to use the cloud desktops.
The cloud desktop usage module 702 is configured to store user data generated when each user uses the cloud desktop.
Specifically, taking the first user using the first cloud desktop as an example, the cloud desktop using module 702 is configured to determine that the first user uses the first cloud desktop, allocate a first virtual user disk to the first user by using the cloud, determine whether a user data read-write request exists, if yes, store user data corresponding to the user data read-write request into the first virtual user disk, if no, determine whether to perform cloud desktop switching, if yes, call the cloud desktop switching module 703, and if no, continue to determine whether the user data read-write request exists;
the cloud end distributes a first virtual user disk for the first user, which comprises the following steps: the cloud end virtualizes a second physical disk storage space of the cloud end into a first virtual user disk, maps the first virtual user disk into a first cloud desktop, and is different from the first physical disk storage space of the cloud end.
The cloud desktop switching module 703 is configured to switch from the source cloud desktop to the target cloud desktop when the user needs to switch the cloud desktop; the cloud desktop switching module 703 includes a switching judging module 713 and a data migration module 723.
The switching judging module 713 is configured to judge whether the target cloud desktop exists, if so, call the data migration step 723, and if not, call the cloud desktop creating module 701 to create the target cloud desktop, and then call the data migration module 723.
The data migration module 723 is configured to remove mapping from the virtual user disk corresponding to the user to the source cloud desktop by using a cloud, and redirect and map the virtual user disk corresponding to the user to the target cloud desktop.
Specifically, taking the example that the first user switches from the first cloud desktop (source cloud desktop) to the second cloud desktop (target cloud desktop), the cloud desktop switching module 703 includes: after the first user is determined to be switched from the first cloud desktop to the second cloud desktop, judging whether the second cloud desktop exists, if so, removing the mapping from the first virtual user disk to the first cloud desktop by the cloud end, re-mapping the first virtual user disk to the second cloud desktop, if not, removing the mapping from the first virtual user disk to the first cloud desktop by the cloud end, and re-mapping the first virtual user disk to the second cloud desktop by the cloud end after the second cloud desktop is created; when the first user sends a cloud desktop switching instruction or the first cloud desktop operating system is damaged, determining that the first user is switched from the first cloud desktop to a second cloud desktop.
Preferably, the cloud desktop management system further comprises: the user data protection module 704 is configured to perform data protection on user data generated during a process of using the cloud desktop by a user, and specifically, the user data protection module 704 includes a user data backup module 714 and a user data recovery module 724, where: the user data backup module 714 is configured to backup user data in the virtual user disk; the user data recovery module 724 is configured to recover user data in the virtual user disk.
Specifically, taking an example of data protection for user data in the process of using the first cloud desktop by the first user, the user data protection module 704 includes: monitoring whether the first virtual user disk has operation to cause the change of the stored user data, if so, storing the changed user data in a log form in the cloud physical disk storage space, and recording a time stamp when the data is changed and/or an operation behavior causing the change of the user data; and monitoring whether user data in the first virtual user disk needs to be restored at a certain data moment, if so, selecting a time stamp and/or an operation behavior, extracting and reorganizing log data before the selected time stamp and/or operation behavior, and writing back to the first virtual user disk.
For system embodiments, reference is made to the description of method embodiments for the relevant points as they are substantially similar to the method embodiments.
As can be seen from the above solution, in the cloud desktop management system provided by the embodiment of the present invention, a one-to-one correspondence between a cloud desktop and a virtual system disk is established, cloud desktop system data is stored in the virtual system disk, user data generated in a process of using the cloud desktop by a user is stored in the virtual user disk, and further separation storage of system data and user data is achieved, after the cloud desktop is switched, mapping between the virtual user disk and a source cloud desktop is redirected and mapped to a target cloud desktop, so that instantaneous migration of the user data is achieved, and further instant availability of the user data stored in the source cloud desktop in the target cloud desktop is ensured, and cloud desktop switching efficiency is effectively improved; meanwhile, in the process of using the cloud desktop by a user, disaster recovery backup and recovery of user data can be realized, data safety is protected, and the loss risk of the user data is reduced.
Those skilled in the art will appreciate that the modules in the apparatus of the embodiments may be adaptively changed and disposed in one or more apparatuses different from the embodiments. The modules or units or components of the embodiments may be combined into one module or unit or component and, furthermore, they may be divided into a plurality of sub-modules or sub-units or sub-components. Any combination of all features disclosed in this specification (including any accompanying claims, abstract and drawings), and all of the processes or units of any method or apparatus so disclosed, may be used in combination, except insofar as at least some of such features and/or processes or units are mutually exclusive. Each feature disclosed in this specification (including any accompanying claims, abstract and drawings), may be replaced by alternative features serving the same, equivalent or similar purpose, unless expressly stated otherwise.
Furthermore, those skilled in the art will appreciate that while some embodiments described herein include some features but not others included in other embodiments, combinations of features of different embodiments are meant to be within the scope of the invention and form different embodiments. For example, in the following claims, any of the claimed embodiments can be used in any combination.
Various component embodiments of the invention may be implemented in hardware, or in software modules running on one or more processors, or in a combination thereof. Those skilled in the art will appreciate that some or all of the functions of some or all of the components in an application program interface display device according to embodiments of the present invention may be implemented in practice using a microprocessor or Digital Signal Processor (DSP). The present invention can also be implemented as an apparatus or device program (e.g., a computer program and a computer program product) for performing a portion or all of the methods described herein. Such a program embodying the present invention may be stored on a computer readable medium, or may have the form of one or more signals. Such signals may be downloaded from an internet website, provided on a carrier signal, or provided in any other form.
It should be noted that the above-mentioned embodiments illustrate rather than limit the invention, and that those skilled in the art will be able to design alternative embodiments without departing from the scope of the appended claims. In the claims, any reference signs placed between parentheses shall not be construed as limiting the claim. The word "comprising" does not exclude the presence of elements or steps not listed in a claim. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. The invention may be implemented by means of hardware comprising several distinct elements, and by means of a suitably programmed computer. In the unit claims enumerating several means, several of these means may be embodied by one and the same item of hardware. The use of the words first, second, third, etc. do not denote any order. These words may be interpreted as names.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the application. Thus, the present application is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (8)

1. The cloud desktop management method is applied to a cloud desktop management system and is characterized by comprising the following steps:
a cloud desktop creation step of creating one or more cloud desktops for one or more users, wherein one cloud desktop can only be used by one user at the same time; specifically, a virtual CPU, a virtual memory and a virtual system disk are allocated for each cloud desktop, an operating system is installed for each cloud desktop, and system data required by each cloud desktop in operation are stored in the virtual system disk corresponding to the cloud desktop;
a cloud desktop using step, namely determining that a user uses a cloud desktop, distributing a first virtual user disk for the user by a cloud, judging whether a user data read-write request exists, if so, storing user data corresponding to the user data read-write request into the virtual user disk corresponding to the user, if not, judging whether cloud desktop switching is performed, if so, entering a cloud desktop switching step, and if not, continuously judging whether the user data read-write request exists; the cloud end distributes a first virtual user disk for the user, which comprises the following steps: virtualizing a physical disk storage space of a cloud into the virtual user disk, and mapping the virtual user disk into the cloud desktop;
a cloud desktop switching step, wherein the cloud desktop switching step comprises a switching judging step and a data migration step, and after a user is determined to switch from a source cloud desktop to a target cloud desktop, the switching judging step comprises the steps of judging whether the target cloud desktop exists, if so, executing the data migration step, and if not, executing the cloud desktop creation step to create the target cloud desktop, and then executing the data migration step; the data migration step comprises the following steps: the mapping from the virtual user disk corresponding to the user to the source cloud desktop is released, and the virtual user disk corresponding to the user is redirected and mapped to the target cloud desktop;
the method also comprises a user data protection step, wherein the user data protection step comprises a user data backup step and a user data recovery step;
the user data backup step comprises the steps of monitoring whether the user data stored in the first virtual user disk changes due to operation, if so, storing the changed user data in a log form in the cloud physical disk storage space, and recording a time stamp when the data changes and/or an operation behavior which causes the user data to change;
the user data recovery step includes monitoring whether user data in the first virtual user disk needs to be recovered at a certain data moment, if yes, selecting a time stamp and/or an operation behavior, extracting and recombining log data before the selected time stamp and/or operation behavior, and writing back to the first virtual user disk.
2. The cloud desktop management method of claim 1, wherein in said cloud desktop creation step, said allocating virtual CPU, virtual memory, and a virtual system disk comprises: the cloud end virtualizes physical CPU resources, physical memory resources and a physical disk storage space of the cloud end and then maps to a cloud desktop for the cloud desktop, or virtualizes local physical CPU resources, physical memory resources and a physical disk storage space for the cloud desktop; the installing an operating system includes: the operating system is provided and installed by the cloud desktop management system, or the operating system is installed by a user.
3. The cloud desktop management method according to claim 1, wherein in the cloud desktop creation step, one or more cloud desktops are created in advance before the user uses the cloud desktop, or are created immediately when the user needs to use the cloud desktop.
4. The cloud desktop management method according to any one of claims 1 to 3, wherein in the cloud desktop switching step, when the user issues a cloud desktop switching instruction, or when the source cloud desktop operating system is damaged, it is determined that the user switches from the source cloud desktop to the target cloud desktop.
5. A cloud desktop management system, the system comprising:
the cloud desktop creation module is used for creating one or more cloud desktops for one or more users, wherein one cloud desktop can only be used by one user at the same time; specifically, a virtual CPU, a virtual memory and a virtual system disk are allocated for each cloud desktop, an operating system is installed for each cloud desktop, and system data required by each cloud desktop in operation are stored in the virtual system disk corresponding to the cloud desktop;
the cloud desktop application module is used for determining that a user uses a cloud desktop, the cloud end distributes a first virtual user disk for the user and judges whether a user data read-write request exists or not, if yes, user data corresponding to the user data read-write request is stored in the virtual user disk corresponding to the user, if not, whether cloud desktop switching is performed is judged, if yes, the cloud desktop switching module is entered, and if not, whether the user data read-write request exists is continuously judged; the cloud end distributes a first virtual user disk for the user, which comprises the following steps: virtualizing a physical disk storage space of a cloud into the virtual user disk, and mapping the virtual user disk into the cloud desktop;
the cloud desktop switching module comprises a switching judging module and a data migration module, wherein the switching judging module is called after a user is determined to switch from a source cloud desktop to a target cloud desktop, and is used for judging whether the target cloud desktop exists or not, if yes, the data migration module is called, and if not, the data migration module is called after the cloud desktop creation module creates the target cloud desktop; the data migration module comprises: the mapping from the virtual user disk corresponding to the user to the source cloud desktop is released, and the virtual user disk corresponding to the user is redirected and mapped to the target cloud desktop;
the system further comprises: the user data protection module comprises a user data backup module and a user data recovery module;
the user data backup module is used for monitoring whether the user data stored in the first virtual user disk changes due to operation, if so, the user data changing is stored in the cloud physical disk storage space in a log form, and a time stamp when the data changes and/or operation behaviors causing the user data to change are recorded;
the user data recovery module is used for monitoring whether user data in the first virtual user disk needs to be restored at a certain data moment, if yes, selecting a time stamp and/or an operation behavior, extracting and reorganizing log data before the selected time stamp and/or operation behavior, and writing the log data back to the first virtual user disk.
6. The cloud desktop management system of claim 5, wherein said assigning virtual CPU, virtual memory, and a virtual system disk in said cloud desktop creation module comprises: the cloud end virtualizes physical CPU resources, physical memory resources and a physical disk storage space of the cloud end and then maps to a cloud desktop for the cloud desktop, or virtualizes local physical CPU resources, physical memory resources and a physical disk storage space for the cloud desktop; the installing an operating system includes: the operating system is provided and installed by the cloud desktop management system, or the operating system is installed by a user.
7. The cloud desktop management system of claim 5, wherein the cloud desktop creation module creates one or more cloud desktops in advance before a user uses the cloud desktop, or creates one or more cloud desktops in real time when the user needs to use the cloud desktop.
8. The cloud desktop management system of any of claims 5-7, wherein in the cloud desktop switching module, when the user issues a cloud desktop switching instruction, or when the source cloud desktop operating system is damaged, it is determined that the user switches from the source cloud desktop to the target cloud desktop.
CN201810557599.7A 2018-06-01 2018-06-01 Cloud desktop management method and system Active CN108804189B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810557599.7A CN108804189B (en) 2018-06-01 2018-06-01 Cloud desktop management method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810557599.7A CN108804189B (en) 2018-06-01 2018-06-01 Cloud desktop management method and system

Publications (2)

Publication Number Publication Date
CN108804189A CN108804189A (en) 2018-11-13
CN108804189B true CN108804189B (en) 2023-07-28

Family

ID=64090205

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810557599.7A Active CN108804189B (en) 2018-06-01 2018-06-01 Cloud desktop management method and system

Country Status (1)

Country Link
CN (1) CN108804189B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109583182B (en) * 2018-11-29 2021-06-04 北京元心科技有限公司 Method and device for starting remote desktop, electronic equipment and computer storage medium
CN109712060B (en) * 2018-12-04 2022-12-23 成都雨云科技有限公司 Cloud desktop display card sharing method and system based on GPU container technology
CN109739594A (en) * 2018-12-14 2019-05-10 北京恒远志成信息服务有限公司 Cloud desktop system
CN113742414A (en) * 2020-05-27 2021-12-03 中兴通讯股份有限公司 Method, device, system and computer readable storage medium for sharing operating system
CN112269682A (en) * 2020-10-20 2021-01-26 深圳市前海手绘科技文化有限公司 Animation video backup method
CN114827162A (en) * 2022-03-30 2022-07-29 河南保营机电有限公司 Migratable cloud desktop system based on edge computing

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103595773A (en) * 2013-11-01 2014-02-19 浪潮电子信息产业股份有限公司 System performance optimization method based on cloud desktop
CN104468741A (en) * 2014-11-21 2015-03-25 中兴通讯股份有限公司 Cloud desktop processing method and device
CN104539716A (en) * 2015-01-04 2015-04-22 国网四川省电力公司信息通信公司 Cloud desktop management system desktop virtual machine dispatching control system and method
CN105704249A (en) * 2016-04-18 2016-06-22 广州优达信息科技有限公司 Composite cloud desktop system
CN106354559A (en) * 2015-07-13 2017-01-25 中兴通讯股份有限公司 Method and device for processing cloud desktop resources
CN106998357A (en) * 2017-03-13 2017-08-01 深圳市京华科讯科技有限公司 The method and cloud desktop system of a kind of use cloud desktop
CN107480237A (en) * 2017-08-08 2017-12-15 中南大学 Towards the data fusion method and system of isomery desktop cloud platform
CN107609414A (en) * 2017-09-26 2018-01-19 国云科技股份有限公司 A kind of method that desktop cloud is automatically prevented from data leak
CN107621992A (en) * 2017-09-15 2018-01-23 深圳粒云科技有限公司 It is a kind of to separate and back up the software of windows computer user data
CN107885564A (en) * 2017-10-31 2018-04-06 南京斯坦德云科技股份有限公司 The super fusion cloud desktop system of one kind
CN107995318A (en) * 2018-01-04 2018-05-04 西安雷风电子科技有限公司 A kind of high-availability system of network cloud disk

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104050013B (en) * 2014-05-22 2018-08-10 中兴通讯股份有限公司 virtual desktop processing method, device and virtual desktop server
US9954933B2 (en) * 2014-09-30 2018-04-24 Amazon Technologies, Inc. Scheduled virtual desktops

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103595773A (en) * 2013-11-01 2014-02-19 浪潮电子信息产业股份有限公司 System performance optimization method based on cloud desktop
CN104468741A (en) * 2014-11-21 2015-03-25 中兴通讯股份有限公司 Cloud desktop processing method and device
CN104539716A (en) * 2015-01-04 2015-04-22 国网四川省电力公司信息通信公司 Cloud desktop management system desktop virtual machine dispatching control system and method
CN106354559A (en) * 2015-07-13 2017-01-25 中兴通讯股份有限公司 Method and device for processing cloud desktop resources
CN105704249A (en) * 2016-04-18 2016-06-22 广州优达信息科技有限公司 Composite cloud desktop system
CN106998357A (en) * 2017-03-13 2017-08-01 深圳市京华科讯科技有限公司 The method and cloud desktop system of a kind of use cloud desktop
CN107480237A (en) * 2017-08-08 2017-12-15 中南大学 Towards the data fusion method and system of isomery desktop cloud platform
CN107621992A (en) * 2017-09-15 2018-01-23 深圳粒云科技有限公司 It is a kind of to separate and back up the software of windows computer user data
CN107609414A (en) * 2017-09-26 2018-01-19 国云科技股份有限公司 A kind of method that desktop cloud is automatically prevented from data leak
CN107885564A (en) * 2017-10-31 2018-04-06 南京斯坦德云科技股份有限公司 The super fusion cloud desktop system of one kind
CN107995318A (en) * 2018-01-04 2018-05-04 西安雷风电子科技有限公司 A kind of high-availability system of network cloud disk

Also Published As

Publication number Publication date
CN108804189A (en) 2018-11-13

Similar Documents

Publication Publication Date Title
CN108804189B (en) Cloud desktop management method and system
US11436091B2 (en) Method and apparatus for generating virtual machine snapshot
US9092248B1 (en) Systems and methods for restoring distributed applications within virtual data centers
EP2840495B1 (en) Container-based processing method and apparatus
US7669020B1 (en) Host-based backup for virtual machines
US8473462B1 (en) Change tracking for shared disks
US8555278B2 (en) Method and system for migrating a selected set of virtual machines between volumes
US9354907B1 (en) Optimized restore of virtual machine and virtual disk data
US8209290B1 (en) Generic granular restore of application data from a volume image backup
US9817734B2 (en) Virtual machine recovery on non-shared storage in a single virtual infrastructure management instance
CN104407938A (en) Recovery method for various granularities after mirror-image-level backup of virtual machine
EP3022647B1 (en) Systems and methods for instantly restoring virtual machines in high input/output load environments
US9524215B1 (en) Systems and methods for managing virtual machine backups
US9417973B2 (en) Apparatus and method for fault recovery
JP6663995B2 (en) System and method for backing up a large-scale distributed scale-out data system
CN104216801A (en) Data copying method oriented to virtual environment and data copying system oriented to virtual environment
CN106777394B (en) Cluster file system
CN107423301B (en) Data processing method, related equipment and storage system
US10169027B2 (en) Upgrade of an operating system of a virtual machine
US20140082275A1 (en) Server, host and method for reading base image through storage area network
CN103995772A (en) RAID card log completely-storing method based on LINUX operation system
JP6677803B2 (en) System and method for provisioning frequently used image segments from cache
US9753810B1 (en) Systems and methods for backing up virtual machines deployed in virtual storage area networks
KR101544899B1 (en) Backup system and backup method in virtualization environment
KR101552580B1 (en) Method for system recovery including mobile device and backup supporting multi operation system

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