A cloud desktop switching method, device and electronic equipment

CN117176716BActive Publication Date: 2026-09-11RUIJIE NETWORKS CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202210591715.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-05-27
Publication Date
2026-09-11
Estimated Expiration
2042-05-27

AI Technical Summary

Technical Problem

[0004]1、云桌面在创建过程中,云服务器仅能创建单个云桌面至同一个云终端或者创建同一类型的云桌面至同一个云终端;

Benefits of technology

[0043] Fourthly, a computer-readable storage medium storing a computer program that, when executed by a processor, implements the above-described cloud desktop switching method steps.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117176716B_ABST
    Figure CN117176716B_ABST
Patent Text Reader

Abstract

A cloud desktop switching method, device and electronic equipment, the method comprising: a cloud terminal receiving a switching instruction indicating switching of a cloud desktop, and controlling a first cloud desktop currently running to switch to a second cloud desktop indicated to run in the switching instruction. Through the above method, when the switching instruction indicating switching of the cloud desktop is received, the first cloud desktop can be switched to the second cloud desktop indicated to run in the switching instruction in multiple ways, switching between different types of cloud desktops is realized, and resources of the cloud terminal can be maximized.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of cloud desktop system technology, and in particular to a cloud desktop switching method, device and electronic device. Background Technology

[0002] With the development of cloud desktop technology, cloud desktops have gradually become one of the choices for computer desktop applications. Different types of cloud desktops have different architectures and functions. For example, Virtual Desktop Infrastructure (VDI) consists of cloud terminals and cloud servers. The VDI cloud desktop architecture is as follows: Figure 1 As shown, a cloud server can virtualize n cloud desktops, and cloud terminals can connect to the cloud desktops deployed on the cloud server. Transparent Computing Infrastructure (TCI) or Intelligent Desktop Virtualization (IDV) consists of cloud servers and cloud terminals. The TCI or IDV architecture is as follows: Figure 2 As shown, when the cloud terminal receives instructions from the cloud server to manage and maintain the cloud desktop, the cloud terminal runs the cloud desktop, and the personal computer (PC) architecture is as follows: Figure 3 As shown, after the cloud terminal completes the installation of the PC cloud desktop, it generates a PC cloud desktop. The cloud terminal then uploads the PC cloud desktop information to the cloud server, enabling the cloud server to manage and maintain the PC cloud desktop.

[0003] Currently, only one architecture of cloud desktop can be guaranteed to be used on a cloud terminal. The reason why the cloud terminal can only run one of the four architectures is as follows:

[0004] 1. During the creation process of a cloud desktop, the cloud server can only create a single cloud desktop to the same cloud terminal or create cloud desktops of the same type to the same cloud terminal.

[0005] 2. When switching between cloud desktops of the same type, the cloud terminal needs to return to the client interface first, and then restart the new cloud desktop. The client interface is as follows: Figure 4 As shown, Figure 4 The document lists three cloud desktops with the TCI architecture that exist in the client interface.

[0006] In summary, the current problem to be solved is that cloud terminals can only run one of the four architectures mentioned above. Summary of the Invention

[0007] This application provides a method, apparatus, and electronic device for switching cloud desktops. By receiving a switching instruction to switch cloud desktops, the cloud terminal switches from a first cloud desktop to a second cloud desktop. During the switching process, multiple switching methods can be used to achieve the purpose of switching cloud desktops, enabling multiple types of cloud desktops to run on a single cloud terminal and facilitating flexible switching between these different cloud desktop architectures.

[0008] Firstly, this application provides a method for switching cloud desktops, the method comprising:

[0009] The cloud terminal receives a switching command instructing the user to switch to the cloud desktop.

[0010] Control the switching of the currently running first cloud desktop to the second cloud desktop indicated in the switching instruction, wherein the first cloud desktop and the second cloud desktop are of different types.

[0011] The method described above enables switching between different types of cloud desktops based on switching commands, solving the problem that cloud terminals can only switch between cloud desktops of one type of architecture.

[0012] In one possible design, before the cloud terminal receives the switching instruction instructing the user to switch cloud desktops, the following steps are included:

[0013] Receive the Intelligent Desktop Virtualization Architecture (IDV) file sent by the cloud server, configure the IDV file, and build the IDV cloud desktop corresponding to the IDV file; and / or

[0014] Receive the Transparent Computing Infrastructure (TCI) file sent by the cloud server, configure the TCI file, and build the TCI cloud desktop corresponding to the TCI file.

[0015] The above description enables cloud terminals to be configured with various types of cloud desktop files, thereby ensuring that there are multiple types of cloud desktops on the cloud terminal, which is beneficial for the cloud terminal to switch between different types of cloud desktops.

[0016] In one possible design, before the cloud terminal receives the switching instruction instructing the user to switch cloud desktops, the following steps are also included:

[0017] Receive a personal computer architecture (PC) file, configure the PC file, and build a PC cloud desktop corresponding to the PC file.

[0018] By using the above method, the PC file is configured on the cloud terminal, enabling the cloud terminal to build a PC cloud desktop and ensuring that the cloud terminal can run the PC cloud desktop.

[0019] In one possible design, controlling the switching of the currently running first cloud desktop to the second cloud desktop indicated to be running in the switching instruction includes:

[0020] Execute the start command to launch the second cloud desktop and the close command to shut down the first cloud desktop; or

[0021] The first cloud desktop is shut down, and the second cloud desktop is started during the shutdown process.

[0022] Using the methods described above, when the first cloud desktop switches to the second cloud desktop, the cloud terminal can use any of the methods described above to control the currently running first cloud desktop to switch to the second cloud desktop indicated in the switching instruction.

[0023] In one possible design, controlling the switching of the currently running first cloud desktop to the second cloud desktop indicated to be running in the switching instruction includes:

[0024] Determine the type of the first cloud desktop in the switching instruction and the percentage of first application resources occupied by the first cloud desktop;

[0025] The first preset threshold corresponding to the type of the first cloud desktop is obtained based on a preset correspondence set, wherein the preset correspondence set is a set of correspondences between each type of cloud desktop and the preset threshold corresponding to each type of cloud desktop;

[0026] Reduce the resource ratio of the first application to the first preset threshold, and switch the first cloud desktop to run the second cloud desktop.

[0027] Using the above method, when the application resource ratio of the cloud desktop is lower than the preset threshold of the cloud desktop, the cloud terminal will switch the first cloud desktop to run the second cloud desktop. This avoids the problem that the application resources occupied by the current cloud desktop are too large, which would cause the second cloud desktop to fail to run smoothly, and allows the first cloud desktop to switch to the second cloud desktop smoothly.

[0028] In one possible design, controlling the switching of the currently running first cloud desktop to the second cloud desktop indicated to be running in the switching instruction includes:

[0029] When the second cloud desktop is a VDI cloud desktop, an access request to access the VDI cloud desktop is sent to the cloud server;

[0030] In response to the access permission reply message from the cloud server, access is granted to the VDI cloud desktop based on the access permission reply message.

[0031] Using the above method, the cloud terminal sends an access request to the cloud server, and accesses the VDI cloud desktop based on the access permission reply message from the cloud server, thus enabling the cloud terminal to successfully access the VDI cloud desktop and switch from the first cloud desktop to the VDI cloud desktop.

[0032] Secondly, this application provides a cloud desktop switching device, the device comprising:

[0033] The receiving module is used for the cloud terminal to receive switching instructions that indicate switching to a cloud desktop;

[0034] The control module is used to control the switching of the currently running first cloud desktop to the second cloud desktop indicated in the switching instruction, wherein the first cloud desktop and the second cloud desktop are of different types.

[0035] In one possible design, the receiving module is specifically used to receive an Intelligent Desktop Virtualization Architecture (IDV) file sent by a cloud server, configure the IDV file, and build an IDV cloud desktop corresponding to the IDV file, and / or receive a Transparent Computing Infrastructure (TCI) file sent by a cloud server, configure the TCI file, and build a TCI cloud desktop corresponding to the TCI file.

[0036] In one possible design, the receiving module is further configured to receive a personal computer architecture (PC) file, configure the PC file, and construct a PC cloud desktop corresponding to the PC file.

[0037] In one possible design, the control module is specifically used to execute a startup command to start the second cloud desktop and a shutdown command to shut down the first cloud desktop, or to shut down the first cloud desktop and start running the second cloud desktop during the shutdown process of the first cloud desktop.

[0038] In one possible design, the control module is further configured to determine the type of the first cloud desktop in the switching instruction and the percentage of first application resources occupied by the first cloud desktop, obtain a first preset threshold corresponding to the type of the first cloud desktop based on a preset correspondence set, wherein the preset correspondence set is a set of correspondences between each type of cloud desktop and the preset threshold corresponding to each type of cloud desktop, reduce the percentage of first application resources to the first preset threshold, and switch the first cloud desktop to run the second cloud desktop.

[0039] In one possible design, the control module is further configured to send an access request to the cloud server to access the VDI cloud desktop when the second cloud desktop is a VDI cloud desktop, respond to the cloud server's access permission reply message, and access the VDI cloud desktop based on the access permission reply message.

[0040] Thirdly, this application provides an electronic device, comprising:

[0041] Memory, used to store computer programs;

[0042] When the processor executes the computer program stored in the memory, it implements the above-described method steps for switching cloud desktops.

[0043] Fourthly, a computer-readable storage medium storing a computer program that, when executed by a processor, implements the above-described cloud desktop switching method steps.

[0044] For details on each of the above-mentioned aspects one through four, and the technical effects that each aspect may achieve, please refer to the above description of the technical effects that can be achieved for the first aspect or the various possible solutions in the first aspect. These details will not be repeated here. Attached Figure Description

[0045] Figure 1 A schematic diagram of the architecture of the VDI cloud desktop provided in this application;

[0046] Figure 2 A schematic diagram of the architecture of the TCI or IDV cloud desktop provided in this application;

[0047] Figure 3 A schematic diagram of the architecture of the PC cloud desktop provided in this application;

[0048] Figure 4 A schematic diagram of the client interface provided in this application;

[0049] Figure 5 A flowchart illustrating the steps of a cloud desktop switching method provided in this application;

[0050] Figure 6 A schematic diagram of the cloud desktop icon for the client interface provided in this application;

[0051] Figure 7 A schematic diagram of the structure of a cloud desktop switching device provided in this application;

[0052] Figure 8 This is a schematic diagram of the structure of an electronic device provided in this application. Detailed Implementation

[0053] To make the objectives, technical solutions, and advantages of this application clearer, the application will be further described in detail below with reference to the accompanying drawings. The specific operational methods in the method embodiments can also be applied to the device embodiments or system embodiments. It should be noted that in the description of this application, "multiple" is understood as "at least two". "And / or" describes the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A existing alone, A and B existing simultaneously, and B existing alone. A connected to B can represent: A and B directly connected, and A and B connected through C. Furthermore, in the description of this application, terms such as "first" and "second" are used only for distinguishing the purpose of description and should not be construed as indicating or implying relative importance or order.

[0054] In previous technologies, cloud terminals could only run cloud desktops of the same architecture. When switching cloud desktops, the cloud terminal could only switch between cloud desktops of the same architecture. Furthermore, during the switching process, it was necessary to return to the client interface and then restart the new cloud desktop. Therefore, the problem that cloud terminals could only run one of the four architectures—VDI, IDV, TCI, and PC—was to be solved.

[0055] To address the problems described above, this application provides a method for switching cloud desktops, enabling the running of multiple cloud desktop architectures on a single cloud terminal and facilitating flexible switching between these architectures. The methods and apparatus described in this application are based on the same technical concept. Since the principles by which the methods and apparatus solve the problems are similar, embodiments of the apparatus and methods can be referred to interchangeably, and repeated details will not be elaborated further.

[0056] Currently, there are four types of cloud desktop architectures: VDI cloud desktop, IDV cloud desktop, PC cloud desktop, and TCI cloud desktop. These different cloud desktops have different compositions, and the way a cloud terminal launches a cloud desktop is influenced by the type of cloud desktop. The following sections will introduce each of the four types of cloud desktops:

[0057] VDI cloud desktops use virtualization technology to virtualize a cloud server into multiple logical computer desktops. Each logical computer is called a cloud desktop. In the architecture of VDI cloud desktops, multiple VDI cloud desktops created by the cloud server are distributed to cloud terminals through the cloud desktop protocol. When using VDI cloud desktops, cloud terminals need to connect to the VDI cloud desktops through the cloud server.

[0058] IDV Cloud Desktop moves the virtual machine's running location from the cloud server to the cloud terminal. When the network or server malfunctions, the operation of IDV Cloud Desktop will not be affected because it runs on the cloud terminal.

[0059] TCI Cloud Desktop runs entirely on cloud terminals using virtual disks. Apart from virtual disks, TCI Cloud Desktop consumes no virtualization layer. Furthermore, TCI Cloud Desktop technology can virtualize a cloud terminal into a logical computer that can be easily managed on a cloud server.

[0060] PC cloud desktop is a partition on a cloud terminal where an operating system is directly installed, and the desktop of that operating system is directly launched after booting up.

[0061] The above describes four types of cloud desktops. As can be seen from the above description, the virtualization level decreases sequentially from VDI cloud desktop, IDV cloud desktop, TCI cloud desktop, to PC cloud desktop. PC cloud desktop does not involve virtualization technology at all. Therefore, when the cloud terminal runs the above four types of cloud desktops, since VDI cloud desktop has the highest virtualization level and is created by the cloud server, the cloud terminal needs to connect to the cloud server to run VDI cloud desktop. IDV cloud desktop, TCI cloud desktop, and PC cloud desktop all run on the cloud terminal.

[0062] The method provided in this application will be described in detail below through specific embodiments.

[0063] The following is in conjunction with the appendix Figure 5 The embodiments of this application will be described in detail below.

[0064] Step S51: The cloud terminal receives a switching command instructing the user to switch to the cloud desktop.

[0065] In order to enable cloud terminals to flexibly switch between various types of cloud desktops, the cloud terminal will perform cloud desktop switching when it receives a switching instruction from the user terminal or the cloud desktop scheduling center.

[0066] Before the cloud terminal receives a switching command instructing it to switch cloud desktops, it will lack cloud desktop files for a specific architecture due to the absence of such files. This prevents the cloud terminal from flexibly switching between cloud desktops of any architecture. Therefore, to enable flexible switching between different types of cloud desktops, the cloud terminal will configure various cloud desktop files for different architectures before receiving the aforementioned switching command. The specific process for configuring different types of cloud desktop files is as follows:

[0067] The cloud terminal receives cloud desktop image files of various architectures from the cloud server. These various architectures include IDV architecture files and TCI architecture files.

[0068] After receiving the two types of cloud desktop files from the cloud server, the cloud terminal will configure a cloud desktop architecture file for each type of cloud desktop file and then generate the corresponding cloud desktop icon based on the configured cloud desktop architecture file.

[0069] For example, after the cloud terminal receives the TCI cloud desktop architecture file, it will configure the TCI cloud desktop architecture file and then build the TCI cloud desktop corresponding to the TCI cloud desktop architecture file based on the TCI cloud desktop architecture file. After the TCI cloud desktop is built, a TCI icon corresponding to the TCI cloud desktop will be generated. In this embodiment of the application, the process of the cloud terminal building the cloud desktop corresponding to other types of cloud desktop architecture files is the same as the construction process of the TCI cloud desktop, and will not be explained in detail here.

[0070] It should be noted that since VDI cloud desktops are created by cloud servers and reside on cloud servers, cloud terminals need to connect to the cloud server to run VDI cloud desktops. Therefore, cloud servers do not need to distribute VDI cloud desktop architecture files to cloud terminals. PC cloud desktops, on the other hand, run entirely on cloud terminals and do not use the virtualization technology of cloud terminals. Therefore, cloud servers also do not need to distribute PC cloud desktop architecture files.

[0071] This application embodiment will take the four cloud desktop architecture files described above as examples. The construction of cloud desktops of other types of architectures can refer to the construction of cloud desktops in this application embodiment, and will not be described in detail here.

[0072] Furthermore, the configuration process of the aforementioned cloud desktop architecture file for the cloud terminal describes the interaction between the cloud terminal and the cloud server. In one possible design, the cloud server contains a cloud desktop scheduling center, and the cloud terminal contains a client. The cloud terminal client can be one of a quick client, a management client, or a headless client. The client's display interface is as follows: Figure 4 As shown, Figure 4 The client displays three TCI cloud desktop icons. If this client is a headless client, since it lacks cloud desktop icons, it will not experience the loading time of cloud desktop icons compared to other clients, thus achieving the goal of quickly launching the cloud desktop. Other client interfaces in this embodiment can be referenced. Figure 4 The client-side interface will not be discussed in detail here. The specific process of interaction between the cloud terminal client and the cloud desktop dispatch center in the cloud server is as follows:

[0073] The cloud desktop dispatch center will distribute various types of architecture files to clients on the cloud terminal. These architecture files include IDV architecture files and TCI architecture files.

[0074] When a client on a cloud terminal receives different types of cloud desktop architecture files from the cloud desktop scheduling center, the client will configure each cloud desktop architecture file and build its corresponding cloud desktop and cloud desktop icon based on the cloud desktop architecture file. The process of the client building the cloud desktop and cloud desktop icon is the same as the process of the cloud terminal building the cloud desktop and cloud desktop, so it will not be elaborated on here.

[0075] As described above, different methods are used to configure different types of cloud desktop architecture files for cloud terminals, enabling cloud terminals to generate their own corresponding cloud desktops and icons based on these different cloud desktop architecture files. This achieves the integration of various types of cloud desktops on the cloud terminal, and provides switching conditions for switching between different types of cloud desktops on the cloud terminal.

[0076] Step S52: Control the currently running first cloud desktop to switch to the second cloud desktop indicated in the switching instruction.

[0077] The above describes the process of building each cloud desktop before the cloud terminal receives the switching instruction. After each cloud desktop is successfully built, when the cloud terminal receives the switching instruction to switch cloud desktops, it is triggered to execute the cloud desktop switching. The specific process of the cloud terminal executing the cloud desktop switching is as follows:

[0078] After receiving the switching instruction, the cloud terminal needs to determine a cloud desktop from all the cloud desktops, since there is more than one type of cloud desktop on the cloud terminal and there is at least one cloud desktop of each type. The determination of the cloud desktop will be determined by the switching instruction received by the cloud terminal. The switching instruction can come from any one of the following: cloud server, cloud desktop scheduling center in cloud server, cloud desktop selected by user, other devices connected to cloud server, and other devices connected to cloud terminal. The cloud terminal will then parse the second cloud desktop from the switching instruction.

[0079] After the cloud terminal obtains the second cloud desktop, it will switch from the first cloud desktop to the second cloud desktop. The first cloud desktop and the second cloud desktop are of different types. In this embodiment, the specific method of switching from the first cloud desktop to the second cloud desktop is as follows:

[0080] Method 1: Execute the startup command to start the second cloud desktop and the shutdown command to close the first cloud desktop.

[0081] When a cloud terminal switches from the first cloud desktop to the second cloud desktop, in order to prevent the switching time from being too long and thus affecting the user experience, the cloud terminal will trigger a start command to launch the second cloud desktop and a close command to shut down the first cloud desktop when it receives the switching command. The cloud terminal will not have to wait for the first cloud desktop to close before launching the second cloud desktop, thus shortening the switching time from the first cloud desktop to the second cloud desktop.

[0082] For example, at 13:00 on January 12, 2022, when the cloud terminal receives a switch command to switch from the first cloud desktop to the second cloud desktop, the cloud terminal will simultaneously shut down the first cloud desktop and start the second cloud desktop.

[0083] Method 2: Close the first cloud desktop and start running the second cloud desktop while the first cloud desktop is closing.

[0084] Since the first cloud desktop consumes cloud terminal resources during operation, to avoid it consuming excessive resources, the resources used by the first cloud desktop are released to provide sufficient resources for the startup of the second cloud desktop, ensuring its smooth operation. Furthermore, the second cloud desktop is started during the shutdown process of the first cloud desktop.

[0085] Method 3: Based on the different types of cloud desktops, reduce the proportion of application resources occupied by each cloud desktop to their respective set thresholds, and control the first cloud desktop to switch to the second cloud desktop.

[0086] Before the cloud terminal switches from the first cloud desktop to the second cloud desktop, the first cloud desktop will consume the application resources it occupies because the cloud terminal is running the first cloud desktop. Therefore, in order to ensure that the second cloud desktop can start normally, the cloud terminal will reduce the proportion of application resources occupied by the first cloud desktop to a preset threshold, so that there are more resources on the cloud terminal available for the second cloud desktop.

[0087] Furthermore, since different types of cloud desktops have different compositions and require different proportions of application resources to run on cloud terminals, in order to obtain the application resource proportion of the first cloud desktop, it is necessary to look up a preset correspondence set to obtain the application resource proportion of the first cloud desktop. This preset correspondence set is a collection of correspondences between each type of cloud desktop and the preset threshold corresponding to each type of cloud desktop. When the type of the first cloud desktop is a VDI cloud desktop, since the VDI cloud desktop is not on the cloud terminal, if the cloud terminal wants to run the VDI cloud desktop, the cloud terminal needs to interact with the cloud server through the communication module, which will consume the cloud terminal's resources. However, since IDV cloud desktops, TCI cloud desktops, and PC cloud desktops run on the cloud terminal, they do not need to interact with the cloud server through the communication module.

[0088] Specifically, when the cloud terminal switches the first cloud desktop to the second cloud desktop, and when the first cloud desktop is a VDI cloud desktop, the proportion of application resources occupied by the first cloud desktop is reduced to a first preset threshold.

[0089] When the first cloud desktop is an IDV cloud desktop, the proportion of application resources occupied by the first cloud desktop will be reduced to the second preset threshold.

[0090] When the first cloud desktop is a TCI cloud desktop, the proportion of application resources occupied by the first cloud desktop will be reduced to the third preset threshold.

[0091] When the first cloud desktop is a PC cloud desktop, the proportion of application resources occupied by the first cloud desktop will be reduced to the fourth preset threshold.

[0092] The first, second, third, and fourth preset thresholds described above are not equal in any pairwise combination.

[0093] For example: the first preset threshold is 20%, the second preset threshold is 16%, the third preset threshold is 12%, and the fourth preset threshold is 8%.

[0094] When the first cloud desktop is a VDI cloud desktop, the application resources occupied by the VDI cloud desktop account for 50% of all resources of the cloud terminal. When the cloud terminal needs to switch the VDI cloud desktop to the second cloud desktop, the cloud terminal will control the VDI cloud desktop to release the application resources it occupies, so that the application resources occupied by the VDI cloud desktop are reduced from 50% to 20%. When the cloud terminal determines that the application resources occupied by the VDI cloud desktop account for 20%, the cloud terminal will switch from the VDI cloud desktop to the second cloud desktop.

[0095] The above description illustrates how, when the application resource ratio of the VDI cloud desktop decreases to 20%, the cloud terminal switches from the VDI cloud desktop to the second cloud desktop. The process by which the cloud terminal reduces the application resource ratio of the other three types of cloud desktops to their respective preset thresholds is consistent with the process described above of reducing the application resource ratio of the VDI cloud desktop to 20%. Therefore, the process by which the cloud terminal reduces the application resource ratio of other types of cloud desktops to their respective preset thresholds can be referred to the example of the VDI cloud desktop in the embodiments of this application, and will not be elaborated further here.

[0096] The above describes three switching methods from the first cloud desktop to the second cloud desktop. In each switching method, the cloud terminal executes the switching command. In one possible design, the client in the cloud terminal can execute the switching command to switch from the first cloud desktop to the second cloud desktop.

[0097] When a cloud terminal switches from the first cloud desktop to the second cloud desktop, there are two different cloud desktop switching processes because the switching command can be issued by the cloud server or generated when the user selects a cloud desktop. The first is that the cloud terminal executes the switching process directly. The background program of the cloud terminal will remind the user that the current cloud desktop needs to be switched and execute the switch from the first cloud desktop to the second cloud desktop indicated in the switching command. The second is that the switching process is executed based on user operation. The user selects the cloud desktop icon of the second cloud desktop to achieve the switching of the cloud desktop.

[0098] Furthermore, the switching processes for the two cloud desktops described above can both adopt any one of the three cloud desktop switching methods described above to achieve the purpose of switching from the first cloud desktop to the second cloud desktop.

[0099] When switching from the first cloud desktop to the second cloud desktop based on user interaction, the cloud terminal displays a client interface for the user to select a cloud desktop icon. The cloud desktop icons displayed on the client interface seen by the user on the cloud terminal are as follows: Figure 6 As shown in the diagram of the cloud desktop icons in the client interface, it can be seen that three types of cloud desktops are configured on the current cloud terminal, with two of each type. For example, the IDV type cloud desktop has IDV1 and IDV2 cloud desktops. When the user needs to switch cloud desktops, the user can click on any of the cloud desktop icons in the cloud terminal to trigger the cloud terminal to run the cloud desktop corresponding to that icon. The number of cloud desktops of each type can be adjusted according to the actual situation, and there is no limit to the number of cloud desktops of each type here.

[0100] Furthermore, when the second cloud desktop is a VDI cloud desktop, the cloud terminal needs to send an access request to the cloud server to access the VDI cloud desktop. Only when the cloud terminal receives an access permission reply message from the cloud server can the cloud terminal access the VDI cloud desktop based on the access permission reply message.

[0101] It should be noted that during the process of switching from the first cloud desktop to the second cloud desktop described above, the cloud terminal continuously runs the configuration system. This configuration system can be a Linux system, Windows system, NeoKylin system, GalaxyKylin system, Ubuntu Kylin system, UOS unified operating system, etc. The operations performed by the cloud terminal can also be performed by the client on the cloud terminal. Since the operations performed by the client are the same as those performed on the cloud terminal, they will not be elaborated on here to avoid repetition.

[0102] This application describes four types of cloud desktops. As can be seen from the above description, there are three switching methods from the first cloud desktop to the second cloud desktop. The specific process of switching from one type of cloud desktop to the other three types of cloud desktops is as follows:

[0103] When the primary cloud desktop is a VDI cloud desktop, the switching scenarios from the VDI cloud desktop to the other three types of cloud desktops are shown in Table 1:

[0104]

[0105] Table 1

[0106] When the primary cloud desktop is a VDI cloud desktop, the specific process for switching the VDI cloud desktop to an IDV cloud desktop is as follows:

[0107] Method 1: When the cloud server or the cloud desktop scheduling center in the cloud server sends a switching instruction to switch to the IDV cloud desktop to the cloud terminal, the cloud terminal shuts down the VDI cloud desktop. During the shutdown process of the VDI cloud desktop, the cloud terminal then executes the instruction to switch from the VDI cloud desktop to the IDV cloud desktop.

[0108] Method 2: When the cloud server or the cloud desktop scheduling center in the cloud server sends a switching instruction to switch to the IDV cloud desktop to the cloud terminal, the cloud terminal is triggered to execute the start instruction to start the IDV cloud desktop, and at the same time, the cloud terminal is triggered to execute the shutdown instruction to shut down the VDI cloud desktop.

[0109] Method 3: Obtain the percentage of application resources occupied by the VDI cloud desktop on the cloud terminal. The percentage of application resources occupied by the VDI cloud desktop is 35%, and the first preset threshold for the VDI cloud desktop is 20%. Reduce the percentage of application resources occupied by the VDI cloud desktop from 35% to 20%. When the percentage of application resources occupied by the VDI cloud desktop is determined to be 20%, start the IDV cloud desktop.

[0110] When a cloud terminal switches from a VDI cloud desktop to a TCI cloud desktop, the specific switching process is as follows:

[0111] Method 1: When the cloud server or the cloud desktop scheduling center in the cloud server sends a switching instruction to switch to the TCI cloud desktop to the cloud terminal, the cloud terminal shuts down the VDI cloud desktop. During the shutdown process of the VDI cloud desktop, the cloud terminal executes the instruction to switch from the VDI cloud desktop to the TCI cloud desktop.

[0112] Method 2: When the cloud terminal or the client on the cloud terminal receives a switching command to switch to the TCI cloud desktop, it triggers the cloud terminal to execute the start command to launch the TCI cloud desktop, and at the same time, it triggers the cloud terminal to execute the shutdown command to shut down the VDI cloud desktop.

[0113] Method 3: Obtain the percentage of application resources occupied by the VDI cloud desktop on the cloud terminal. The percentage of application resources occupied by the VDI cloud desktop is 35%, and the first preset threshold for the VDI cloud desktop is 20%. Reduce the percentage of application resources occupied by the VDI cloud desktop from 35% to 20%. When the percentage of application resources occupied by the VDI cloud desktop is determined to be 20%, start the TCI cloud desktop.

[0114] When a cloud terminal switches from a VDI cloud desktop to a PC cloud desktop, the specific switching process is as follows:

[0115] Method 1: When the cloud terminal receives a switching instruction from the cloud server or the cloud desktop scheduling center in the cloud server to switch to the PC cloud desktop, the cloud terminal shuts down the VDI cloud desktop. During the shutdown process of the VDI cloud desktop, the cloud terminal then executes the instruction to switch from the VDI cloud desktop to the PC cloud desktop.

[0116] Method 2: When the cloud terminal or the client on the cloud terminal receives the switching command to switch to TCI cloud desktop, it triggers the cloud terminal to execute the start command to launch TCI cloud desktop, and at the same time, it triggers the cloud terminal to execute the shutdown command to close PC cloud desktop.

[0117] Method 3: Obtain the percentage of application resources occupied by the VDI cloud desktop on the cloud terminal. The percentage of application resources occupied by the VDI cloud desktop is 35%, and the first preset threshold for the VDI cloud desktop is 20%. Reduce the percentage of application resources occupied by the VDI cloud desktop from 35% to 20%. When the percentage of application resources occupied by the VDI cloud desktop is determined to be 20%, start the PC cloud desktop.

[0118] When the primary cloud desktop is an IDV cloud desktop, the switching scenarios from the IDV cloud desktop to the other three types of cloud desktops are shown in Table 2:

[0119]

[0120] Table 2

[0121] When a cloud terminal switches from an IDV cloud desktop to a VDI cloud desktop, the specific switching process is as follows:

[0122] Method 1: When the cloud terminal receives a switching instruction to switch to the VDI cloud desktop from the cloud server or the cloud desktop scheduling center in the cloud server, the cloud terminal shuts down the IDV cloud desktop. During the process of shutting down the IDV cloud desktop, the cloud terminal sends an access request to the cloud server to access the VDI cloud desktop. When the cloud terminal receives an access permission reply message from the cloud server, the cloud terminal accesses the VDI cloud desktop.

[0123] Method 2: When the cloud terminal or the client on the cloud terminal receives a switching instruction to switch to the VDI cloud desktop, the cloud terminal sends an access request to the cloud server to access the VDI cloud desktop. When the cloud terminal receives an access permission reply message from the cloud server, the cloud terminal accesses the VDI cloud desktop. At the same time, the cloud terminal is triggered to execute a shutdown instruction to close the IDV cloud desktop.

[0124] Method 3: Obtain the percentage of application resources occupied by the IDV cloud desktop on the cloud terminal. The percentage of application resources occupied by the IDV cloud desktop is 25%, and the second preset threshold for the VDI cloud desktop is 16%. Reduce the percentage of application resources occupied by the VDI cloud desktop from 25% to 16%. When the percentage of application resources occupied by the VDI cloud desktop is determined to be 16%, the cloud terminal sends an access request to the cloud server to access the VDI cloud desktop. When the cloud terminal receives an access permission reply message from the cloud server, the cloud terminal accesses the VDI cloud desktop.

[0125] When a cloud terminal switches from an IDV cloud desktop to a TCI cloud desktop, the specific switching process is as follows:

[0126] Method 1: When the cloud terminal receives a switching instruction from the cloud server or the cloud desktop scheduling center in the cloud server to switch to the TCI cloud desktop, the cloud terminal shuts down the IDV cloud desktop. During the process of shutting down the IDV cloud desktop, the cloud terminal then executes the instruction to switch from the IDV cloud desktop to the TCI cloud desktop.

[0127] Method 2: When the cloud terminal or the client on the cloud terminal receives a switching instruction to switch to the TCI cloud desktop, it triggers the cloud terminal to execute the start instruction to launch the TCI cloud desktop, and at the same time, it triggers the cloud terminal to execute the shutdown instruction to close the IDV cloud desktop.

[0128] Method 3: Obtain the percentage of application resources occupied by the IDV cloud desktop on the cloud terminal. The percentage of application resources occupied by the IDV cloud desktop is 25%, and the second preset threshold for the VDI cloud desktop is 16%. Reduce the percentage of application resources occupied by the VDI cloud desktop from 25% to 16%. When the percentage of application resources occupied by the VDI cloud desktop is determined to be 16%, start the TCI cloud desktop.

[0129] When a cloud terminal switches from an IDV cloud desktop to a PC cloud desktop, the specific switching process is as follows:

[0130] Method 1: When the cloud terminal receives a switching instruction from the cloud server or the cloud desktop scheduling center in the cloud server to switch to the PC cloud desktop, the cloud terminal shuts down the IDV cloud desktop. During the process of shutting down the IDV cloud desktop, the cloud terminal then executes the instruction to switch from the IDV cloud desktop to the PC cloud desktop.

[0131] Method 2: When the cloud terminal or the client on the cloud terminal receives a switching command to switch to the PC cloud desktop, it triggers the cloud terminal to execute the start command to launch the PC cloud desktop, and at the same time, it triggers the cloud terminal to execute the shutdown command to close the IDV cloud desktop.

[0132] Method 3: Obtain the percentage of application resources occupied by the IDV cloud desktop on the cloud terminal. The application resource percentage of the IDV cloud desktop is 25%, and the second preset threshold for the VDI cloud desktop is 16%. Reduce the application resource percentage of the VDI cloud desktop from 25% to 16%. When the application resource percentage of the VDI cloud desktop is determined to be 16%, start the PC cloud desktop.

[0133] When the primary cloud desktop is a TCI cloud desktop, the switching scenarios from the TCI cloud desktop to the other three types of cloud desktops are shown in Table 3:

[0134]

[0135]

[0136] Table 3

[0137] When a cloud terminal switches from a TCI cloud desktop to a VDI cloud desktop, the specific switching process is as follows:

[0138] Method 1: When the cloud terminal receives a switching instruction to switch to the VDI cloud desktop from the cloud server or the cloud desktop scheduling center in the cloud server, the cloud terminal shuts down the TCI cloud desktop. During the process of shutting down the TCI cloud desktop, the cloud terminal sends an access request to the cloud server to access the VDI cloud desktop. When the cloud terminal receives an access permission reply message from the cloud server, the cloud terminal accesses the VDI cloud desktop.

[0139] Method 2: When the cloud terminal or the client on the cloud terminal receives a switching instruction to switch to the VDI cloud desktop, the cloud terminal sends an access request to the cloud server to access the VDI cloud desktop. When the cloud terminal receives an access permission reply message from the cloud server, the cloud terminal accesses the VDI cloud desktop. At the same time, the cloud terminal is triggered to execute a shutdown instruction to close the TCI cloud desktop.

[0140] Method 3: Obtain the percentage of application resources occupied by the TCI cloud desktop on the cloud terminal. The percentage of application resources occupied by the TCI cloud desktop is 15%, and the third preset threshold for the TCI cloud desktop is 12%. Reduce the percentage of application resources occupied by the TCI cloud desktop from 15% to 12%. When the percentage of application resources occupied by the TCI cloud desktop is determined to be 12%, the cloud terminal sends an access request to the cloud server to access the VDI cloud desktop. When the cloud terminal receives the access permission reply message from the cloud server, the cloud terminal accesses the VDI cloud desktop.

[0141] When a cloud terminal switches from a TCI cloud desktop to an IDV cloud desktop, the specific switching process is as follows:

[0142] Method 1: When the cloud terminal receives a switching instruction from the cloud server or the cloud desktop scheduling center in the cloud server to switch to the IDV cloud desktop, the cloud terminal shuts down the TCI cloud desktop. During the process of shutting down the TCI cloud desktop, the cloud terminal then executes the switching instruction from the TCI cloud desktop to the IDV cloud desktop.

[0143] Method 2: When the cloud terminal or the client on the cloud terminal receives a switching instruction to switch to the IDV cloud desktop, it triggers the cloud terminal to execute the start instruction to launch the IDV cloud desktop, and at the same time, it triggers the cloud terminal to execute the shutdown instruction to close the TCI cloud desktop.

[0144] Method 3: Obtain the percentage of application resources occupied by TCI Cloud Desktop on the cloud terminal. The percentage of application resources occupied by TCI Cloud Desktop is 15%, and the third preset threshold for TCI Cloud Desktop is 12%. Reduce the percentage of application resources occupied by TCI Cloud Desktop from 15% to 12%. When the percentage of application resources occupied by TCI Cloud Desktop is determined to be 12%, start IDV Cloud Desktop.

[0145] When a cloud terminal switches from a TCI cloud desktop to a PC cloud desktop, the specific switching process is as follows:

[0146] Method 1: When the cloud terminal receives a switching instruction from the cloud server or the cloud desktop scheduling center in the cloud server to switch to the PC cloud desktop, the cloud terminal shuts down the TCI cloud desktop. During the process of shutting down the TCI cloud desktop, the cloud terminal then executes the switching instruction from the TCI cloud desktop to the PC cloud desktop.

[0147] Method 2: When the cloud terminal or the client on the cloud terminal receives a switching command to switch to the PC cloud desktop, it triggers the cloud terminal to execute the start command to launch the PC cloud desktop, and at the same time, it triggers the cloud terminal to execute the shutdown command to close the TCI cloud desktop.

[0148] Method 3: Obtain the percentage of application resources occupied by the TCI cloud desktop on the cloud terminal. The percentage of application resources occupied by the TCI cloud desktop is 15%, and the third preset threshold for the TCI cloud desktop is 12%. Reduce the percentage of application resources occupied by the TCI cloud desktop from 15% to 12%. When the percentage of application resources occupied by the TCI cloud desktop is determined to be 12%, start the PC cloud desktop.

[0149] When the primary cloud desktop is a PC cloud desktop, the switching scenarios from the PC cloud desktop to the other three types of cloud desktops are shown in Table 4:

[0150]

[0151] Table 4

[0152] When a cloud terminal switches from a PC cloud desktop to a VDI cloud desktop, the specific switching process is as follows:

[0153] Method 1: When the cloud terminal receives a switching instruction to switch to the VDI cloud desktop from the cloud server or the cloud desktop scheduling center in the cloud server, the cloud terminal shuts down the PC cloud desktop. During the process of shutting down the PC cloud desktop, the cloud terminal sends an access request to the cloud server to access the VDI cloud desktop. When the cloud terminal receives an access permission reply message from the cloud server, the cloud terminal accesses the VDI cloud desktop.

[0154] Method 2: When the cloud terminal or the client on the cloud terminal receives a switching instruction to switch to the VDI cloud desktop, the terminal sends an access request to the cloud server to access the VDI cloud desktop. When the cloud terminal receives an access permission reply message from the cloud server, the cloud terminal accesses the VDI cloud desktop. At the same time, the cloud terminal is triggered to execute a shutdown instruction to close the PC cloud desktop.

[0155] Method 3: Obtain the resource percentage of applications on the cloud terminal occupied by the PC cloud desktop. The application resource percentage of the PC cloud desktop is 10%, and the corresponding fourth preset threshold is 8%. Reduce the application resource percentage of the PC cloud desktop from 10% to 8%. When the application resource percentage of the PC cloud desktop is determined to be 8%, the cloud terminal sends an access request to the cloud server to access the VDI cloud desktop. When the cloud terminal receives the access permission reply message from the cloud server, the cloud terminal accesses the VDI cloud desktop.

[0156] When a cloud terminal switches from a PC cloud desktop to an IDV cloud desktop, the specific switching process is as follows:

[0157] Method 1: When the cloud terminal receives a switching instruction from the cloud server or the cloud desktop scheduling center in the cloud server to switch to the IDV cloud desktop, the cloud terminal shuts down the PC cloud desktop. During the process of shutting down the PC cloud desktop, the cloud terminal then executes the instruction to switch from the PC cloud desktop to the IDV cloud desktop.

[0158] Method 2: When the cloud terminal or the client on the cloud terminal receives a switching instruction to switch to the IDV cloud desktop, it triggers the cloud terminal to execute the start instruction to launch the IDV cloud desktop, and at the same time, it triggers the cloud terminal to execute the shutdown instruction to close the PC cloud desktop.

[0159] Method 3: Obtain the resource percentage of the PC cloud desktop on the cloud terminal. The application resource percentage of the PC cloud desktop is 10%, and the corresponding fourth preset threshold is 8%. Reduce the application resource percentage of the VDI cloud desktop from 10% to 8%. When the application resource percentage of the PC cloud desktop is determined to be 8%, start the IDV cloud desktop.

[0160] When a cloud terminal switches from a PC cloud desktop to a TCI cloud desktop, the specific switching process is as follows:

[0161] Method 1: When the cloud terminal receives a switching instruction from the cloud server or the cloud desktop scheduling center in the cloud server to switch to the TCI cloud desktop, the cloud terminal shuts down the PC cloud desktop. During the process of shutting down the PC cloud desktop, the cloud terminal then executes the instruction to switch from the PC cloud desktop to the TCI cloud desktop.

[0162] Method 2: When the cloud terminal or the client on the cloud terminal receives a switching instruction to switch to the IDV cloud desktop, it triggers the cloud terminal to execute the start instruction to launch the TCI cloud desktop, and at the same time, it triggers the cloud terminal to execute the shutdown instruction to close the PC cloud desktop.

[0163] Method 3: Obtain the resource percentage of the PC cloud desktop on the cloud terminal. The application resource percentage of the PC cloud desktop is 10%, and the corresponding fourth preset threshold is 8%. Reduce the application resource percentage of the VDI cloud desktop from 10% to 8%. When the application resource percentage of the PC cloud desktop is determined to be 8%, start the TCI cloud desktop.

[0164] It should be noted that when the second cloud desktop is a PC cloud desktop or a TCI cloud desktop, the cloud terminal can shut down the set system and directly start the PC cloud desktop on the hardware or start the TCI cloud desktop through transparent computing technology when starting the PC cloud desktop or TCI cloud desktop. When the second cloud desktop is a VDI cloud desktop or an IDV cloud desktop, the cloud terminal continues to maintain the running state of the set system.

[0165] The above describes the process of switching from one type of cloud desktop to another. The operations performed by the cloud server and the cloud desktop scheduling center within the cloud server are consistent, while the operations performed by the cloud terminal are consistent with the operations performed by the client within the cloud terminal. When the client on the cloud terminal starts the cloud desktop, the user can select a client and then have that client perform the cloud desktop switch. Therefore, to avoid repetition, the process of the client on the cloud terminal performing the switch can be referred to the process of the cloud terminal performing the switch, and the process of the cloud desktop scheduling center in the cloud server issuing the switch command can be referred to the process of the cloud server issuing the switch command. These will not be elaborated on further here.

[0166] Based on the description of the embodiments of this application, when a cloud terminal receives a switching instruction, the cloud terminal can switch the first cloud desktop to a second cloud desktop of a different type, thereby realizing the switching between different types of cloud desktops. Furthermore, multiple types of cloud desktops can run on a single cloud terminal.

[0167] Based on the same inventive concept, this application also provides a cloud desktop switching device, which implements the function of a cloud desktop switching method, referring to... Figure 7 The device includes:

[0168] The receiving module 701 is used for the cloud terminal to receive the switching command indicating the switching of the cloud desktop;

[0169] The control module 702 is used to control the switching of the currently running first cloud desktop to the second cloud desktop indicated in the switching instruction, wherein the first cloud desktop and the second cloud desktop are of different types.

[0170] In one possible design, the receiving module 701 is specifically used to receive an Intelligent Desktop Virtualization Architecture (IDV) file sent by a cloud server, configure the IDV file, construct an IDV cloud desktop corresponding to the IDV file, and / or receive a Transparent Computing Infrastructure (TCI) file sent by a cloud server, configure the TCI file, and construct a TCI cloud desktop corresponding to the TCI file.

[0171] In one possible design, the receiving module 701 is further configured to receive a personal computer architecture (PC) file, configure the PC file, and construct a PC cloud desktop corresponding to the PC file.

[0172] In one possible design, the control module 702 is specifically used to execute a startup command to start the second cloud desktop and a shutdown command to shut down the first cloud desktop, or to shut down the first cloud desktop and start running the second cloud desktop during the shutdown process of the first cloud desktop.

[0173] In one possible design, the control module 702 is further configured to determine the type of the first cloud desktop in the switching instruction and the percentage of first application resources occupied by the first cloud desktop, obtain a first preset threshold corresponding to the type of the first cloud desktop based on a preset correspondence set, wherein the preset correspondence set is a set of correspondences between each type of cloud desktop and the preset threshold corresponding to each type of cloud desktop, reduce the percentage of first application resources to the first preset threshold, and switch the first cloud desktop to run the second cloud desktop.

[0174] In one possible design, the control module 702 is further configured to send an access request to the cloud server to access the VDI cloud desktop when the second cloud desktop is a VDI cloud desktop, respond to the cloud server's access permission reply message, and access the VDI cloud desktop based on the access permission reply message.

[0175] Based on the same inventive concept, this application also provides an electronic device that can implement the aforementioned cloud desktop switching device, see reference. Figure 8 The electronic device includes:

[0176] At least one processor 801 and a memory 802 connected to at least one processor 801. In this embodiment, the specific connection medium between the processor 801 and the memory 802 is not limited. Figure 8 The example shown is the connection between processor 801 and memory 802 via bus 800. Bus 800 is... Figure 8 The connections between other components are indicated by thick lines and are for illustrative purposes only, not as limiting information. The 800 bus can be divided into address bus, data bus, control bus, etc., for ease of representation. Figure 8 The term is represented by a single thick line, but this does not imply that there is only one bus or one type of bus. Alternatively, the processor 801 can also be called a controller; there is no restriction on the name.

[0177] In this embodiment, the memory 802 stores instructions executable by at least one processor 801. By executing the instructions stored in the memory 802, the at least one processor 801 can execute a cloud desktop switching method described above. The processor 801 can implement... Figure 7 The functions of each module in the device shown.

[0178] The processor 801 is the control center of the device. It can connect to various parts of the control device through various interfaces and lines. By running or executing instructions stored in memory 802 and calling data stored in memory 802, the processor can perform various functions and process data, thereby monitoring the device as a whole.

[0179] In one possible design, processor 801 may include one or more processing units. Processor 801 may integrate an application processor and a modem processor, wherein the application processor mainly handles the operating system, user interface, and applications, and the modem processor mainly handles wireless communication. It is understood that the modem processor may also not be integrated into processor 801. In some embodiments, processor 801 and memory 802 may be implemented on the same chip; in some embodiments, they may also be implemented on separate chips.

[0180] The processor 801 can be a general-purpose processor, such as a central processing unit (CPU), digital signal processor, application-specific integrated circuit, field-programmable gate array or other programmable logic device, discrete gate or transistor logic device, or discrete hardware component, capable of implementing or executing the methods, steps, and logic block diagrams disclosed in the embodiments of this application. The general-purpose processor can be a microprocessor or any conventional processor. The steps of the cloud desktop switching method disclosed in the embodiments of this application can be directly manifested as execution by a hardware processor, or execution by a combination of hardware and software modules within the processor.

[0181] Memory 802, as a non-volatile computer-readable storage medium, can be used to store non-volatile software programs, non-volatile computer-executable programs, and modules. Memory 802 may include at least one type of storage medium, such as flash memory, hard disk, multimedia card, card-type memory, random access memory (RAM), static random access memory (SRAM), programmable read-only memory (PROM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), magnetic storage, magnetic disk, optical disk, etc. Memory 802 can be any other medium capable of carrying or storing desired program code in the form of instructions or data structures that can be accessed by a computer, but is not limited thereto. In the embodiments of this application, memory 802 can also be a circuit or any other device capable of implementing storage functions for storing program instructions and / or data.

[0182] By designing and programming the processor 801, the code corresponding to the cloud desktop switching method described in the foregoing embodiments can be embedded into the chip, enabling the chip to execute it during operation. Figure 5 The illustrated embodiment presents a cloud desktop switching step. How to design and program the processor 801 is a technique well-known to those skilled in the art and will not be described further here.

[0183] Based on the same inventive concept, embodiments of this application also provide a storage medium storing computer instructions that, when executed on a computer, cause the computer to perform a cloud desktop switching method described above.

[0184] In some possible implementations, various aspects of the cloud desktop switching method provided by this application can also be implemented in the form of a program product, which includes program code. When the program product is run on a device, the program code is used to cause the control device to perform the steps in the cloud desktop switching method according to various exemplary embodiments of this application described above.

[0185] Those skilled in the art will understand that embodiments of this application can be provided as methods, systems, or computer program products. Therefore, this application can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, this application can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0186] This application is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to this application. It should be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, generate instructions for implementing the flowchart illustrations. Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.

[0187] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.

[0188] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.

[0189] Obviously, those skilled in the art can make various modifications and variations to this application without departing from the spirit and scope of this application. Therefore, if such modifications and variations fall within the scope of the claims of this application and their equivalents, this application also intends to include such modifications and variations.

Claims

1. A method for switching cloud desktops, characterized in that, include: The cloud terminal receives the Intelligent Desktop Virtualization Architecture (IDV) file sent by the cloud server, configures the IDV file, and builds the IDV cloud desktop corresponding to the IDV file; it also receives the Transparent Computing Infrastructure (TCI) file sent by the cloud server, configures the TCI file, and builds the TCI cloud desktop corresponding to the TCI file. Receive a personal computer architecture (PC) file, configure the PC file, and build a PC cloud desktop corresponding to the PC file; The cloud terminal receives a switching command instructing the user to switch to a different cloud desktop. The cloud terminal controls the switching of the currently running first cloud desktop to the second cloud desktop indicated in the switching instruction. The first cloud desktop is of any one of the IDV cloud desktop, Virtual Desktop Infrastructure (VDI) cloud desktop, TCI cloud desktop, and PC cloud desktop. The second cloud desktop is of any one of the IDV cloud desktop, VDI cloud desktop, TCI cloud desktop, and PC cloud desktop, and the types of the first and second cloud desktops are different. Controlling the switching of the currently running first cloud desktop to the second cloud desktop indicated in the switching instruction includes: when the second cloud desktop is the VDI cloud desktop, sending an access request to the cloud server to access the VDI cloud desktop; responding to the cloud server's access permission reply message, and accessing the VDI cloud desktop based on the access permission reply message.

2. The method as described in claim 1, characterized in that, Controlling the switching of the currently running first cloud desktop to the second cloud desktop indicated in the switching instruction includes: Execute the start command to launch the second cloud desktop and the close command to shut down the first cloud desktop; or The first cloud desktop is shut down, and the second cloud desktop is started during the shutdown process.

3. The method as described in claim 1, characterized in that, Controlling the switching of the currently running first cloud desktop to the second cloud desktop indicated in the switching instruction includes: Determine the type of the first cloud desktop in the switching instruction and the percentage of first application resources occupied by the first cloud desktop; The first preset threshold corresponding to the type of the first cloud desktop is obtained based on a preset correspondence set, wherein the preset correspondence set is a set of correspondences between each type of cloud desktop and the preset threshold corresponding to each type of cloud desktop; Reduce the resource ratio of the first application to the first preset threshold, and switch the first cloud desktop to run the second cloud desktop.

4. A cloud desktop switching device, characterized in that, The device includes: The receiving module is used for receiving an Intelligent Desktop Virtualization Architecture (IDV) file sent by a cloud server, configuring the IDV file, and building an IDV cloud desktop corresponding to the IDV file; receiving a Transparent Computing Infrastructure (TCI) file sent by the cloud server, configuring the TCI file, and building a TCI cloud desktop corresponding to the TCI file; receiving a Personal Computer Architecture (PC) file, configuring the PC file, and building a PC cloud desktop corresponding to the PC file; and receiving a switching command indicating a switch to a cloud desktop. The control module is used by the cloud terminal to control the switching of the currently running first cloud desktop to the second cloud desktop indicated in the switching instruction. The first cloud desktop is of any one of the IDV cloud desktop, Virtual Desktop Infrastructure (VDI) cloud desktop, TCI cloud desktop, and PC cloud desktop. The second cloud desktop is of any one of the IDV cloud desktop, VDI cloud desktop, TCI cloud desktop, and PC cloud desktop, and the types of the first and second cloud desktops are different. Specifically, when controlling the switching of the currently running first cloud desktop to the second cloud desktop indicated in the switching instruction, if the second cloud desktop is the VDI cloud desktop, the control module sends an access request to the cloud server to access the VDI cloud desktop; responds to the cloud server's access permission reply message, and accesses the VDI cloud desktop based on the access permission reply message.

5. An electronic device, characterized in that, include: Memory, used to store computer programs; A processor, when executing a computer program stored in the memory, implements the method according to any one of claims 1-3.

6. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program that, when executed by a processor, implements the method described in any one of claims 1-3.

Citation Information

Patent Citations

  • Virtual desktop implementation method and device

    CN106959882A

  • Cloud desktop real-time fusion switching method and system

    CN110908756A

  • Cloud desktop switching method and system

    CN113391864A