Cloud desktop allocation method and system, and electronic device

By allocating cloud desktop according to the active level of users, the problem of vacuum occupation of cloud desktop resources has been solved, and the efficient utilization of resources and the improvement of user experience have been realized.

CN114461378BActive Publication Date: 2025-01-24CHINA TELECOM CLOUD TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202111593287.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-12-23
Publication Date
2025-01-24
Estimated Expiration
2041-12-23

AI Technical Summary

Technical Problem

The empty usage of cloud desktop resources causes the server resources to fail to maximize utilization, resulting in waste of resources.

Method used

By dividing user activity levels according to order source channels, active level users are directly assigned cloud desktops, and inactive level users activate and allocate cloud desktops after logging in to ensure efficient use of resources.

Benefits of technology

The efficient utilization of cloud desktop resources has been realized, the waste of resources is reduced, the user experience is improved, and the resource utilization rate is improved through resource recovery and utilization.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114461378B_ABST
    Figure CN114461378B_ABST
Patent Text Reader

Abstract

The present invention discloses a cloud desktop allocation method and system, and an electronic device. By dividing user activity levels according to order source channels, cloud desktops are directly allocated to users with high activity levels, allowing users to use the cloud desktops immediately after logging in, thereby improving user experience; and cloud desktops to be allocated are marked for users with low activity levels.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of data processing, and in particular to a cloud desktop allocation method and system, and electronic equipment. Background Art

[0002] Normally, if people need to use a computer, they will choose to buy a physical machine. However, because they are often unable to correctly assess their own needs, this can easily lead to excess resources and low utilization of physical devices in actual applications, resulting in the inability of resources to fully exert their performance and causing waste of resources.

[0003] With the development of Internet technology, many advanced computer technologies have emerged. Cloud desktops use virtualization technology to generate a large number of independent desktop operating systems for users through virtualization on the servers in the data center, thereby effectively improving resource utilization, saving costs, improving application quality, and solving a series of difficulties such as data security, unified desktop management, and centralized IT operation and maintenance. Summary of the invention

[0004] The embodiment of the present invention provides a cloud desktop allocation method and system, and electronic equipment, which are used to reduce the vacant occupation of cloud desktop resources, maximize the utilization of server resources, and reduce resource waste.

[0005] An embodiment of the present invention provides a method for allocating a cloud desktop, comprising:

[0006] Classify different order source channels in advance;

[0007] Receive order requests from users;

[0008] Determining whether the order request belongs to an active level;

[0009] If so, directly assign a cloud desktop to the user;

[0010] If not, a cloud desktop to be assigned is marked for the user.

[0011] In some embodiments, marking the user with a cloud desktop to be assigned specifically includes:

[0012] Determine whether the user has reached the inactivity level;

[0013] If so, determine whether the user has a cloud desktop;

[0014] If yes, determine whether the user has logged into the cloud desktop;

[0015] If yes, the system disk and data disk of the cloud desktop are stripped and retained, the cloud desktop is released, and the user is marked with the existence of a cloud desktop to be allocated and the system disk and data disk information associated with the cloud desktop;

[0016] If not, directly release the cloud desktop and mark the user as having a cloud desktop to be assigned.

[0017] In some embodiments, after the system disk and data disk of the cloud desktop are stripped and retained, the cloud desktop is released, and the user is marked with the existence of the cloud desktop to be allocated and the system disk and data disk information associated with the cloud desktop, the method further includes:

[0018] The user logs in to the cloud desktop;

[0019] Determine whether the user has a cloud desktop to be assigned;

[0020] If yes, assign a cloud desktop to the user;

[0021] Determine whether the cloud desktop has associated system disk and data disk information. If so, bind the corresponding system disk and data disk to the cloud desktop and restore the user's cloud desktop usage status; if not, directly allocate a new cloud desktop to the user.

[0022] In some embodiments, after directly releasing the cloud desktop and marking the user as having a cloud desktop to be assigned, the method further includes:

[0023] The user logs in to the cloud desktop;

[0024] Determine whether the user has a cloud desktop to be assigned;

[0025] If yes, assign a cloud desktop to the user;

[0026] Determine whether the cloud desktop has associated system disk and data disk information. If so, bind the corresponding system disk and data disk to the cloud desktop and restore the user's cloud desktop usage status; if not, directly allocate a new cloud desktop to the user.

[0027] A cloud desktop distribution system provided by an embodiment of the present invention includes:

[0028] A classification module, the classification module is used to classify different order source channels in advance;

[0029] A receiving module, wherein the receiving module is used to receive an order request sent by a user;

[0030] A judgment module, the judgment module is used to judge whether the order request belongs to an active level;

[0031] If so, directly assign a cloud desktop to the user;

[0032] If not, a cloud desktop to be assigned is marked for the user.

[0033] In some embodiments, the determination module is specifically used to:

[0034] Determine whether the user has reached the inactivity level;

[0035] If so, determine whether the user has a cloud desktop;

[0036] If yes, determine whether the user has logged into the cloud desktop;

[0037] If yes, the system disk and data disk of the cloud desktop are stripped and retained, the cloud desktop is released, and the user is marked with the existence of a cloud desktop to be allocated and the system disk and data disk information associated with the cloud desktop;

[0038] If not, directly release the cloud desktop and mark the user as having a cloud desktop to be assigned.

[0039] In some embodiments, after the system disk and data disk of the cloud desktop are stripped and retained, the cloud desktop is released, and the user is marked with the existence of the cloud desktop to be allocated and the system disk and data disk information associated with the cloud desktop, the method further includes:

[0040] The user logs in to the cloud desktop;

[0041] The judging module is also used for:

[0042] Determine whether the user has a cloud desktop to be assigned;

[0043] If yes, assign a cloud desktop to the user;

[0044] Determine whether the cloud desktop has associated system disk and data disk information. If so, bind the corresponding system disk and data disk to the cloud desktop and restore the user's cloud desktop usage status; if not, directly allocate a new cloud desktop to the user.

[0045] In some embodiments, after directly releasing the cloud desktop and marking the user as having a cloud desktop to be assigned, the method further includes:

[0046] The user logs in to the cloud desktop;

[0047] The judging module is also used for:

[0048] Determine whether the user has a cloud desktop to be assigned;

[0049] If yes, assign a cloud desktop to the user;

[0050] Determine whether the cloud desktop has associated system disk and data disk information. If so, bind the corresponding system disk and data disk to the cloud desktop and restore the user's cloud desktop usage status; if not, directly allocate a new cloud desktop to the user.

[0051] An electronic device provided by an embodiment of the present invention includes:

[0052] one or more processors;

[0053] A storage device is used to store one or more programs. When the one or more programs are executed by the one or more processors, the one or more processors implement the cloud desktop allocation method provided in an embodiment of the present invention.

[0054] An embodiment of the present invention provides a computer-readable storage medium, on which a computer program is stored. When the program is executed by a processor, the cloud desktop allocation method provided by the embodiment of the present invention is implemented.

[0055] The present invention discloses a cloud desktop allocation method and system, and electronic equipment. By dividing user activity levels according to order source channels, active users are directly allocated cloud desktops, allowing users to use the cloud desktops immediately after logging in, thereby improving user experience; for inactive users, login activation and allocation of cloud desktops are implemented, thereby reducing resource waste caused by long-term non-use of resources. BRIEF DESCRIPTION OF THE DRAWINGS

[0056] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0057] Figure 1 A flowchart of a cloud desktop allocation method provided in an embodiment of the present application;

[0058] Figure 2 A flowchart of another cloud desktop allocation method provided in an embodiment of the present application;

[0059] Figure 3 A flowchart of another cloud desktop allocation method provided in an embodiment of the present application;

[0060] Figure 4 A schematic diagram of a cloud desktop distribution system provided in an embodiment of the present application;

[0061] Figure 5 A schematic diagram of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0062] Example embodiments will now be described more fully with reference to the accompanying drawings. However, example embodiments can be implemented in a variety of forms and should not be construed as limited to the examples set forth herein; rather, these embodiments are provided so that this disclosure will be more comprehensive and complete and will fully convey the concept of the example embodiments to those skilled in the art.

[0063] In addition, the described features, structures or characteristics may be combined in one or more embodiments in any suitable manner. In the following description, many specific details are provided to provide a full understanding of the embodiments of the present disclosure. However, those skilled in the art will appreciate that the technical solutions of the present disclosure may be practiced without one or more of the specific details, or other methods, components, devices, steps, etc. may be adopted. In other cases, known methods, devices, implementations or operations are not shown or described in detail to avoid blurring the various aspects of the present disclosure.

[0064] The block diagrams shown in the accompanying drawings are merely functional entities and do not necessarily correspond to physically independent entities. That is, these functional entities may be implemented in software form, or in one or more hardware modules or integrated circuits, or in different networks and / or processor devices and / or microcontroller devices.

[0065] The flowcharts shown in the accompanying drawings are only exemplary and do not necessarily include all the contents and operations / steps, nor must they be executed in the order described. For example, some operations / steps can be decomposed, and some operations / steps can be combined or partially combined, so the actual execution order may change according to actual conditions.

[0066] As a virtualized resource, the number of cloud desktops that can be virtualized by fixed server resources is limited. If a corresponding cloud desktop is allocated (reserved) for each user in advance, when some users do not log in for a long time or never use it, it will cause vacant resources, making it impossible to maximize the utilization of server resources, resulting in resource waste.

[0067] In order to solve the above problems, an embodiment of the present invention provides a method for allocating a cloud desktop, such as Figure 1 As shown, including:

[0068] S101. Classify different order source channels in advance;

[0069] For example, users can be divided into levels according to the number of times they log in to the cloud desktop within a certain period of time.

[0070] S102, receiving an order request sent by a user;

[0071] S103, determining whether the order request belongs to the active level;

[0072] For example, a user logs in to the cloud desktop every n days. If n≤5, the user can be classified as active; if n>5, the user can be classified as inactive.

[0073] If yes, execute step S104 to directly assign a cloud desktop to the user;

[0074] If not, execute step S105 to mark the user as having a cloud desktop to be assigned.

[0075] The cloud desktop allocation method provided in the embodiment of the present invention divides the user activity levels according to the order source channels, and directly allocates cloud desktops to users with high activity levels, so that users can use the cloud desktops immediately after logging in, thereby improving the user experience; and marks the existence of cloud desktops to be allocated for users with low activity levels.

[0076] In addition, the process ends after step S104 and step S105.

[0077] In some embodiments, step S105 marks the user with a cloud desktop to be assigned, such as Figure 2 As shown, specifically including:

[0078] S201, determine whether the user has reached the inactive level; if not, end the process;

[0079] If yes, execute step S202 to determine whether the user has a cloud desktop; if no, end the process;

[0080] If yes, execute step S203 to determine whether the user has logged into the cloud desktop;

[0081] If yes, execute step S204, strip off and retain the system disk and data disk of the cloud desktop, release the cloud desktop, and mark the user with the cloud desktop to be allocated and the system disk and data disk information associated with the cloud desktop;

[0082] If not, execute step S205 to directly release the cloud desktop and mark the user as having a cloud desktop to be assigned.

[0083] Specifically, step S201 determines whether the user has reached the inactive level, and the user login data can be regularly detected to determine whether the user has reached the inactive level. If the user does not log in for a long time and reaches the inactive level, the cloud desktop system disk and data disk are selectively stripped and retained according to whether the cloud desktop has been logged in and used, and the cloud desktop is cleared to release computing and storage resources, so as to achieve resource recycling, improve resource utilization, reduce costs, and increase benefits. That is, for users at the inactive level, login activation is implemented to allocate cloud desktops to reduce resource waste caused by long-term non-use of resources.

[0084] In some embodiments, in step S204, the system disk and data disk of the cloud desktop are stripped and retained, the cloud desktop is released, and the user is marked with the cloud desktop to be allocated and the system disk and data disk information associated with the cloud desktop. Figure 3 As shown, it also includes:

[0085] S301, user logs in to the cloud desktop;

[0086] S302, determine whether the user has a cloud desktop to be assigned; if not, end the process;

[0087] If yes, execute step S303 to assign a cloud desktop to the user;

[0088] S304, determining whether the cloud desktop has associated system disk and data disk information;

[0089] If yes, execute step S305, bind the corresponding system disk and data disk to the cloud desktop, and restore the user's cloud desktop usage status;

[0090] If not, execute step S306 to directly allocate a new cloud desktop to the user.

[0091] In some embodiments, in step S205, after directly releasing the cloud desktop and marking the user as having a cloud desktop to be assigned, Figure 3 As shown, it also includes:

[0092] S301, user logs in to the cloud desktop;

[0093] S302, determining whether the user has a cloud desktop to be assigned;

[0094] If yes, execute step S303 to assign a cloud desktop to the user;

[0095] S304, determining whether the cloud desktop has associated system disk and data disk information;

[0096] If yes, execute step S305, bind the corresponding system disk and data disk to the cloud desktop, and restore the user's cloud desktop usage status;

[0097] If not, execute step S306 to directly allocate a new cloud desktop to the user.

[0098] In addition, the process ends after step S305 and step S306.

[0099] Compared with the most recent existing technology, the technical solution proposed in this patent has the following advantages:

[0100] In summary, the cloud desktop allocation method provided by the embodiment of the present invention divides the user activity level according to the order source channel, and the active users are directly allocated cloud desktops, so that the users can use the cloud desktops immediately after logging in, thereby improving the user experience; for the inactive users, the cloud desktops are allocated after login activation, thereby reducing the waste of resources due to long-term non-use of resources. If the user does not log in for a long time and reaches the inactive level, the cloud desktop system disk and data disk are selectively stripped and retained according to whether the cloud desktop has been logged in and used, and the cloud desktop is cleared to release computing and storage resources, thereby achieving resource recycling, improving resource utilization, reducing costs, and increasing benefits.

[0101] Based on the same inventive concept, the embodiment of the present invention also provides a cloud desktop distribution system, such as Figure 4 As shown, including:

[0102] The classification module 101 is used to classify different order source channels in advance;

[0103] Receiving module 102, receiving module 102 is used to receive an order request sent by a user;

[0104] A judgment module 103, which is used to judge whether the order request belongs to the active level;

[0105] If so, directly assign a cloud desktop to the user;

[0106] If not, mark the user as having a cloud desktop to be assigned.

[0107] The cloud desktop allocation system provided in the embodiment of the present invention divides users into active levels according to order source channels. Active users are directly allocated cloud desktops, allowing users to use the cloud desktops immediately after logging in, thereby improving user experience; and inactive users are allocated cloud desktops through login activation, thereby reducing resource waste caused by long-term non-use of resources.

[0108] In some embodiments, the determination module 103 is specifically used to:

[0109] Determine whether the user has reached the inactivity level;

[0110] If so, determine whether the user has a cloud desktop;

[0111] If yes, determine whether the user has logged into the cloud desktop;

[0112] If yes, the system disk and data disk of the cloud desktop are stripped and retained, the cloud desktop is released, and the user is marked with the cloud desktop to be allocated and the system disk and data disk information associated with the cloud desktop;

[0113] If not, the cloud desktop is released directly and the user is marked as having a cloud desktop to be assigned.

[0114] Specifically, to determine whether a user has reached an inactive level, the user login data can be periodically detected to determine whether the user has reached an inactive level. If a user has not logged in for a long time and has reached an inactive level, the cloud desktop system disk and data disk are selectively stripped and retained based on whether the cloud desktop has been logged in and used, and the cloud desktop is cleared to release computing and storage resources, thereby achieving resource recycling, improving resource utilization, reducing costs, and increasing benefits.

[0115] In some embodiments, after the system disk and data disk of the cloud desktop are stripped and retained, the cloud desktop is released, and the user is marked with the existence of the cloud desktop to be allocated and the system disk and data disk information associated with the cloud desktop, the method further includes:

[0116] The user logs in to the cloud desktop;

[0117] The judging module 103 is further used for:

[0118] Determine whether the user has a cloud desktop to be assigned;

[0119] If yes, assign a cloud desktop to the user;

[0120] Determine whether the cloud desktop has associated system disk and data disk information. If so, bind the corresponding system disk and data disk to the cloud desktop and restore the user's cloud desktop usage status; if not, directly allocate a new cloud desktop to the user.

[0121] In some embodiments, after directly releasing the cloud desktop and marking the user as having a cloud desktop to be assigned, the method further includes:

[0122] The user logs in to the cloud desktop;

[0123] The judging module 103 is further used for:

[0124] Determine whether the user has a cloud desktop to be assigned;

[0125] If yes, assign a cloud desktop to the user;

[0126] Determine whether the cloud desktop has associated system disk and data disk information. If so, bind the corresponding system disk and data disk to the cloud desktop and restore the user's cloud desktop usage status; if not, directly allocate a new cloud desktop to the user.

[0127] In summary, the cloud desktop allocation system provided by the embodiment of the present invention divides the user activity level according to the order source channel, and the active users are directly allocated cloud desktops, so that the users can use the cloud desktops immediately after logging in, thereby improving the user experience; for the inactive users, the cloud desktops are allocated after login activation, thereby reducing the waste of resources due to long-term non-use of resources. If the user does not log in for a long time and reaches the inactive level, the cloud desktop system disk and data disk are selectively stripped and retained according to whether the cloud desktop has been logged in and used, and the cloud desktop is cleared to release computing and storage resources, so as to achieve the effect of resource recycling, improve resource utilization, reduce costs, and increase benefits.

[0128] Based on the same inventive concept, an embodiment of the present application further provides an electronic device, including:

[0129] one or more processors;

[0130] A storage device is used to store one or more programs. When the one or more programs are executed by one or more processors, the one or more processors implement the cloud desktop allocation method provided in the embodiment of the present application.

[0131] The electronic device may specifically be a desktop computer, a portable computer, a smart phone, a tablet computer, a personal digital assistant (PDA), a server, etc. In some embodiments, the storage device is, for example, a memory, such as Figure 5 As shown, the electronic device may include a processor 201 and a memory 202 .

[0132] The processor 201 may be a general-purpose processor, such as a central processing unit (CPU), a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components, and may implement or execute the methods, steps and logic block diagrams disclosed in the embodiments of the present application. A general-purpose processor may be a microprocessor or any conventional processor, etc. The steps of the method disclosed in the embodiments of the present application may be directly embodied as being executed by a hardware processor, or may be executed by a combination of hardware and software modules in the processor.

[0133] The memory 202 is a non-volatile computer-readable storage medium that can be used to store non-volatile software programs, non-volatile computer executable programs and modules. The memory may include at least one type of storage medium, such as a flash memory, a hard disk, a multimedia card, a card-type memory, a random access memory (Random Access Memory, RAM), a static random access memory (Static Random Access Memory, SRAM), a programmable read-only memory (Programmable Read Only Memory, PROM), a read-only memory (Read Only Memory, ROM), an electrically erasable programmable read-only memory (Electrically Erasable Programmable Read-Only Memory, EEPROM), a magnetic memory, a disk, an optical disk, etc. The memory is any other medium that can be used to carry or store a desired program code in the form of an instruction or data structure and can be accessed by a computer, but is not limited thereto. The memory 202 in the embodiment of the present application can also be a circuit or any other device that can realize a storage function, for storing program instructions and / or data.

[0134] A person of ordinary skill in the art can understand that: all or part of the steps of implementing the above method embodiments can be completed by hardware related to program instructions, and the aforementioned program can be stored in a computer-readable storage medium. When the program is executed, it executes the steps of the above method embodiments; the above computer storage medium can be any available medium or data storage device that can be accessed by a computer, including but not limited to: mobile storage devices, random access memory (RAM, Random Access Memory), magnetic storage (such as floppy disks, hard disks, magnetic tapes, magneto-optical disks (MO)), optical storage (such as CD, DVD, BD, HVD, etc.), and semiconductor storage (such as ROM, EPROM, EEPROM, non-volatile memory (NAND FLASH), solid-state drive (SSD)) and other media that can store program codes.

[0135] Alternatively, if the above-mentioned integrated unit of the present application is implemented in the form of a software function module and sold or used as an independent product, it can also be stored in a computer-readable storage medium. Based on such an understanding, the technical solution of the embodiment of the present application is essentially or the part that contributes to the prior art can be embodied in the form of a software product, which is stored in a storage medium, including several instructions to enable an electronic device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the methods of each embodiment of the present application. The aforementioned storage medium includes: a mobile storage device, a random access memory (RAM, Random Access Memory), a magnetic storage (such as a floppy disk, a hard disk, a magnetic tape, a magneto-optical disk (MO), etc.), an optical storage (such as CD, DVD, BD, HVD, etc.), and a semiconductor memory (such as ROM, EPROM, EEPROM, non-volatile memory (NAND FLASH), a solid-state drive (SSD)) and other various media that can store program codes.

[0136] In some possible implementations, various aspects of the method provided by the present disclosure may also be implemented in the form of a program product, which includes a program code. When the program product is run on an electronic device, the program code is used to enable the electronic device to execute the steps of the method according to various exemplary embodiments of the present disclosure described above in this specification. For example, the electronic device may execute the cloud desktop allocation method described in the embodiment of the present disclosure. The program product may adopt any combination of one or more readable media.

[0137] In summary, the cloud desktop allocation method and system, electronic device, computer-readable storage medium, and computer program product provided in the embodiments of the present invention divide users into active levels according to order source channels, and directly allocate cloud desktops to users of active levels, so that users can use the cloud desktops immediately after logging in, thereby improving user experience; for users of inactive levels, login activation is implemented to allocate cloud desktops, thereby reducing resource waste caused by long-term non-use of resources.

[0138] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage and optical storage, etc.) that contain computer-usable program code.

[0139] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0140] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0141] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process in the computer or other programmable device. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0142] Although the preferred embodiments of the present invention have been described, those skilled in the art may make other changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications that fall within the scope of the present invention.

[0143] Obviously, those skilled in the art can make various changes and modifications to the present application without departing from the spirit and scope of the present application. Thus, if these modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is also intended to include these modifications and variations.

Claims

1. A method for allocating a cloud desktop, characterized in that: include: Classify different order source channels in advance; Receive order requests from users; Determining whether the order request belongs to an active level; If so, directly assign a cloud desktop to the user; If not, determine whether the user has reached the inactivity level; If so, determine whether the user has a cloud desktop; If yes, determine whether the user has logged into the cloud desktop; If the user has logged into the cloud desktop, the system disk and data disk of the cloud desktop are stripped and retained, the cloud desktop is released, and the user is marked with the existence of a cloud desktop to be allocated and the system disk and data disk information associated with the cloud desktop; After that, the user logs in to the cloud desktop; Determine whether the user has a cloud desktop to be assigned; If yes, assign a cloud desktop to the user; Determine whether the cloud desktop has associated system disk and data disk information. If so, bind the corresponding system disk and data disk to the cloud desktop and restore the cloud desktop usage status of the user; if not, directly allocate a new cloud desktop to the user; If the user has not logged into the cloud desktop, the cloud desktop is released directly and the user is marked as having a cloud desktop to be assigned; The user logs in to the cloud desktop; Determine whether the user has a cloud desktop to be assigned; If yes, assign a cloud desktop to the user; Determine whether the cloud desktop has associated system disk and data disk information. If so, bind the corresponding system disk and data disk to the cloud desktop and restore the user's cloud desktop usage status; if not, directly allocate a new cloud desktop to the user.

2. A cloud desktop distribution system, characterized in that: include: A classification module, the classification module is used to classify different order source channels in advance; A receiving module, wherein the receiving module is used to receive an order request sent by a user; A judgment module, the judgment module is used to judge whether the order request belongs to an active level; If so, directly assign a cloud desktop to the user; If not, determine whether the user has reached the inactivity level; If so, determine whether the user has a cloud desktop; If yes, determine whether the user has logged into the cloud desktop; If the user has logged into the cloud desktop, the system disk and data disk of the cloud desktop are stripped and retained, the cloud desktop is released, and the user is marked with the existence of a cloud desktop to be allocated and the system disk and data disk information associated with the cloud desktop; After that, the user logs in to the cloud desktop; The judging module is also used for: Determine whether the user has a cloud desktop to be assigned; If so, assigning a cloud desktop to the user; Determine whether the cloud desktop has associated system disk and data disk information. If so, bind the corresponding system disk and data disk to the cloud desktop and restore the cloud desktop usage status of the user; if not, directly allocate a new cloud desktop to the user; If the user has not logged into the cloud desktop, the cloud desktop is released directly and the user is marked as having a cloud desktop to be assigned; The user logs in to the cloud desktop; The judging module is also used for: Determine whether the user has a cloud desktop to be assigned; If so, assigning a cloud desktop to the user; Determine whether the cloud desktop has associated system disk and data disk information. If so, bind the corresponding system disk and data disk to the cloud desktop and restore the user's cloud desktop usage status; if not, directly allocate a new cloud desktop to the user.

3. An electronic device, characterized in that: include: one or more processors; A storage device for storing one or more programs, when the one or more programs are executed by the one or more processors, enables the one or more processors to implement the cloud desktop allocation method as described in claim 1.

4. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the cloud desktop allocation method as claimed in claim 1 is implemented.

Citation Information

Patent Citations

  • Method for free computer operation through cloud desktop and cloud desktop system

    CN105847333A

  • System and method for dynamic user assignment in a virtual desktop environment

    US20160274948A1