Virtual application method and device based on shared cloud desktop, equipment and medium
By configuring multiple user sessions on the cloud desktop and associating them with clients, the problem of low utilization of single cloud desktop resources is solved, and efficient cloud desktop resource utilization and performance optimization is achieved.
Patent Information
- Application Number
- CN202411794169.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-06
- Publication Date
- 2025-05-13
AI Technical Summary
In the prior art, a single cloud desktop only runs a small number of applications, resulting in low resource utilization of cloud desktops and excessive performance.
By configuring multiple user sessions on the cloud desktop and associating each user session with the corresponding client, the application screen of each user session is transmitted to the client display, thereby enabling multiple clients to share a cloud desktop.
The resource utilization rate of a single cloud desktop is improved, the problem of overperformance is solved, and the efficient utilization of cloud desktop resources is achieved through multi-user session scheduling.
Smart Images

Figure CN119987912A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of communication technology, and in particular to a virtual application method, device, equipment and medium based on a shared cloud desktop. Background Art
[0002] Virtual applications are applications that do not require installation, are ready to use, and have a user experience similar to that of local applications. Traditional applications, on the other hand, require users to pre-install them on local terminal systems and run them on local terminal systems. Virtual applications run in the cloud, so there is no need to solve the compatibility issues of traditional applications on local terminal systems, and they have low requirements for terminal hardware configuration.
[0003] Generally speaking, virtual applications run in cloud desktops in cloud servers. A single user using a virtual application often occupies a cloud desktop exclusively, while multiple users using virtual applications need to occupy the same number of cloud desktops. This resource allocation granularity of allocating cloud desktops by number of users is large. The running scenario of multiple users with a small number of applications occupies a large number of cloud desktops and consumes a large amount of server resources. However, a single cloud desktop only runs a small number of applications, and the cloud desktop resource utilization rate is low, resulting in the problem of overperformance. Summary of the invention
[0004] In view of this, the present invention provides a virtual application method, device, equipment and medium based on a shared cloud desktop to solve the problem in the prior art that a single cloud desktop only runs a small number of applications, the cloud desktop resource utilization is low, and there is excess performance.
[0005] In a first aspect, the present invention provides a virtual application method based on a shared cloud desktop, the virtual application method based on a shared cloud desktop is applied to a server, the server is connected to a client for communication, and the method includes:
[0006] Configure multiple user sessions on the cloud desktop;
[0007] Each user session is controlled to be associated with each of the clients, and an application screen of each user session is transmitted to respective displays of the associated clients.
[0008] The virtual application method based on a shared cloud desktop provided in this embodiment configures the cloud desktop into multiple user sessions, and associates each user session with each client, so that the application screen of each user session is transmitted to the respective display of the associated client, so that multiple clients only need to occupy one cloud desktop, thereby improving the resource utilization of a single cloud desktop and solving the problem of excess performance of a single cloud desktop.
[0009] In an optional implementation, the step of controlling each user session to be associated with each of the clients includes:
[0010] Upon receiving a request from a target client to query user session information, controlling the virtual service management platform to confirm an idle target user session;
[0011] The virtual service management platform is controlled to send the target user session information corresponding to the target user session to the target client, so as to associate the target user session with the target client.
[0012] In an optional implementation manner, after the step of controlling the virtual service management platform to send the target user session information corresponding to the target user session to the target client to associate the target user session with the target client, the method further includes:
[0013] Upon receiving an application opening instruction from a target client, controlling the process of the target user session to open an application corresponding to the application opening instruction;
[0014] The process controlling the target user session captures the image and application window information of the target user session, sends the image and application window information to the client, and sends information that the state of the target user session is in the running state to the virtual service management platform.
[0015] In an optional implementation, after the step of the process controlling the target user session intercepting the image and application window information of the target user session and sending the image and application window information to the client, the method further includes:
[0016] Upon receiving an input instruction from the client, the process controlling the target user session adjusts the application according to the input instruction;
[0017] The process controlling the target user session captures the adjusted image and the adjusted application window information, and sends the adjusted image and the adjusted application window information to the client.
[0018] In an optional embodiment, the method further includes:
[0019] When starting the cloud desktop, log in to the user session;
[0020] The control session application unit runs the process of each user session, and the process of the user session sends the current user session state as a ready state to the virtual service management platform.
[0021] In an optional embodiment, the method further includes:
[0022] Upon receiving a logout instruction from the client, the process controlling the target user session executes the logout operation;
[0023] The target user session is logged in again, and the control session application unit sends a status of the target user session to the virtual service management platform as a ready state.
[0024] In an optional implementation, multiple numbers of users are configured for the cloud desktop according to hardware specifications, wherein the hardware specifications include the number of central processing units and memory size.
[0025] In a second aspect, the present invention provides a virtual application device based on a shared cloud desktop, the device comprising:
[0026] A configuration module for configuring multiple user sessions on a cloud desktop;
[0027] The association module is used to control each user session to be associated with each of the clients, and transmit the application screen of each user session to the respective displays of the associated clients.
[0028] In a third aspect, the present invention provides a computer device comprising: a memory and a processor, the memory and the processor being communicatively connected to each other, the memory storing computer instructions, and the processor executing the virtual application method based on a shared cloud desktop according to the first aspect or any corresponding embodiment thereof by executing the computer instructions.
[0029] In a fourth aspect, the present invention provides a computer-readable storage medium having computer instructions stored thereon, the computer instructions being used to enable a computer to execute the virtual application method based on a shared cloud desktop according to the first aspect or any corresponding embodiment thereof. BRIEF DESCRIPTION OF THE DRAWINGS
[0030] In order to more clearly illustrate the specific implementation methods of the present invention or the technical solutions in the prior art, the drawings required for use in the specific implementation methods or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some implementation methods of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0031] Figure 1 is a flow chart of a virtual application method based on a shared cloud desktop according to an embodiment of the present invention;
[0032] Figure 2 is an application schematic diagram of a virtual application method based on a shared cloud desktop according to an embodiment of the present invention;
[0033] Figure 3 is another flow chart of a virtual application method based on a shared cloud desktop according to an embodiment of the present invention;
[0034] Figure 4is a client flow chart of a virtual application method based on a shared cloud desktop according to an embodiment of the present invention;
[0035] Figure 5 is a structural block diagram of a virtual application device based on a shared cloud desktop according to an embodiment of the present invention;
[0036] Figure 6 It is a schematic diagram of the hardware structure of a computer device according to an embodiment of the present invention. DETAILED DESCRIPTION
[0037] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present invention.
[0038] Virtual applications are applications that do not require installation, are ready to use, and have a user experience similar to that of local applications. Traditional applications, on the other hand, require users to pre-install them on local terminal systems and run them on local terminal systems. Virtual applications run in the cloud, so there is no need to solve the compatibility issues of traditional applications on local terminal systems, and they have low requirements for terminal hardware configuration.
[0039] Generally speaking, virtual applications run in cloud desktops in cloud servers. A single user using a virtual application often occupies a cloud desktop exclusively, while multiple users using virtual applications need to occupy the same number of cloud desktops. This resource allocation granularity of allocating cloud desktops by number of users is large. The running scenario of multiple users with a small number of applications occupies a large number of cloud desktops and consumes a large amount of server resources. However, a single cloud desktop only runs a small number of applications, and the cloud desktop resource utilization rate is low, resulting in the problem of overperformance.
[0040] According to an embodiment of the present invention, an embodiment of a virtual application method based on a shared cloud desktop is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.
[0041] In this embodiment, a virtual application method based on a shared cloud desktop is provided, which can be used for the above-mentioned mobile terminals, such as mobile phones, tablet computers, etc. Figure 1 is a flow chart of a virtual application method based on a shared cloud desktop according to an embodiment of the present invention. Figure 1As shown, the virtual application method based on shared cloud desktop is applied to the server, and the server is connected to the client in communication. The process includes the following steps:
[0042] Step S101, configuring multiple user sessions on the cloud desktop.
[0043] Specifically, the server includes multiple cloud desktops, namely the first cloud desktop, the second cloud desktop, and so on. For each cloud desktop, configuration is performed. Figure 2 , the first cloud desktop can be configured as two user sessions, user1 and user2. It should be noted that one or more user sessions can be configured on each cloud desktop. The server is connected to multiple clients, and the clients are user A and user B. Of course, in addition to two user sessions, the cloud desktop can be configured as three, four, or any other user sessions.
[0044] Step S102 , controlling each user session to be associated with each of the clients, and transmitting the driving application screen of each user session to respective displays of the associated clients.
[0045] Specifically, when a client enters an application, the server controls each user session to be associated with each of the clients. Optionally, the server can associate the client with the user session in a preset order, which is to first associate in the order of multiple user sessions in the cloud desktop, and when each user session in the cloud desktop is associated with the client, continue to associate with the user session in the next cloud desktop. Thus, when entering an application based on a user's operation, the application screen of the user session is transmitted to the respective displays of the associated clients.
[0046] For example, user1 is associated with user A, user2 is associated with user B, and so on.
[0047] The virtual application method based on a shared cloud desktop provided in this embodiment configures the cloud desktop into multiple user sessions, and associates each user session with each client, so that the application screen of each user session is transmitted to the respective display of the associated client, so that multiple clients only need to occupy one cloud desktop, thereby improving the resource utilization of a single cloud desktop and solving the problem of excess performance of a single cloud desktop.
[0048] In addition, a multi-user session scheduling method is used to achieve efficient use of cloud desktop resources, so that the same server resources can serve more users; the present invention is based on the multi-user mechanism of the operating system, allowing virtual application instances of different users to run in different user sessions in the same cloud desktop, and different users access their own virtual application instances without affecting each other, so as to obtain a better user experience.
[0049] In some optional implementations, the step of “controlling each user session to be associated with each of the clients” in step S102 includes:
[0050] Step 1: upon receiving a request from a target client to query user session information, controlling the virtual service management platform to confirm an idle target user session;
[0051] Specifically, when the client receives an operation request from the user to open an application, it queries the virtual service management platform for available user session information. At this time, the server controls the virtual service management platform to confirm the target user session in the idle state. It should be noted that the virtual service management platform is a service platform that manages each user session. It realizes querying the user session in the idle state and confirming the target user session in the idle state in a preset order.
[0052] For example, the virtual service management platform confirms that user1 and user2 of the first cloud desktop are in an idle state.
[0053] Step 2: Control the virtual service management platform to send the target user session information corresponding to the target user session to the target client, so as to associate the target user session with the target client.
[0054] Specifically, after the virtual service management platform confirms the target user session information corresponding to the target user session, it sends it to the target client. At this time, the client uses the target user session information to establish a connection with the virtual application server. At this time, the target user session is associated with the target client.
[0055] For example, the virtual service management platform sends user1 of the first cloud desktop as user session information to user A, and the virtual service management platform sends user2 of the first cloud desktop as user session information to user B.
[0056] In some optional implementations, after step 2, the virtual application method based on a shared cloud desktop further includes:
[0057] Step 3: upon receiving the application opening instruction from the target client, controlling the process of the target user session to open the application corresponding to the application opening instruction;
[0058] Specifically, after the target client is associated with the target user session, the target client sends an application opening instruction to the process of the target user session. At this time, the process of the target user session opens the application corresponding to the application opening instruction sent by the target client.
[0059] It should be noted that each target user session has its own corresponding process, which is used to execute the instruction command sent by the target client. The process of the user session is the vapp_agent process.
[0060] For example, when the process of user1 receives the instruction sent by user A to open the first application, the second application, and the third application, the process of user1 opens the first application, the second application, and the third application, and creates application window 1, application window 2, and application window 3. When the process of user2 receives the instruction sent by user B to open the first application and the second application, the process of user2 opens the first application and the second application, and creates application window 1 and application window 2. It should be noted that an application can include one application window or multiple application windows.
[0061] Step 4: The process controlling the target user session captures the image and application window information of the target user session, sends the image and application window information to the client, and sends information indicating that the state of the target user session is in the running state to the virtual service management platform.
[0062] Specifically, the application window information may include information such as the position, size, and style of the opened application window. After receiving the image of the target user session and the application window information, the client synchronously creates an application window of the same position and size on the local system desktop of the client according to the image, position, size, and style of the target user session, and uses the image of the same position on the user desktop to render the application window.
[0063] For example, after user1's process captures user1's image, application window position, application window size, and application window style, it sends it to user A. User A synchronously creates an application window of the same position and size on the local system desktop based on user1's image, application window position, application window size, and application window style, and uses the image at the same position on the user's desktop to render the application window. Also, after user2's process captures user2's image, application window position, application window size, and application window style, it sends it to user B. User B synchronously creates an application window of the same position and size on the local system desktop based on user2's image, application window position, application window size, and application window style, and uses the image at the same position on the user's desktop to render the application window.
[0064] It should be noted that the process of the user session captures the image of the application layer. By capturing the desktop images of each user of the cloud desktop and obtaining the application window position, size, style and other information at the same time, it is sent to each client. Application windows are created and rendered on multiple clients respectively. For the server-side cloud desktop, only the computer operating system needs to support multiple users, and the network bandwidth requirement is not high. For the client, it only needs to support image decoding and display capabilities.
[0065] In some optional implementations, after the step of "controlling the process of the target user session to intercept the image and application window information of the target user session, and sending the image and application window information to the client" in step 4, the virtual application method based on the shared cloud desktop further includes:
[0066] Step 5: upon receiving the input instruction from the client, the process controlling the target user session adjusts the application according to the input instruction;
[0067] Specifically, when the client receives an input request for an application window from the user, the client sends an input instruction to the process of the target user session, and controls the process of the target user session to adjust the target user session application according to the input instruction. Optionally, the input request includes the target application and an adjustment signal.
[0068] Step 6: Control the process of the target user session to capture the adjusted image and the adjusted application window information, and send the adjusted image and the adjusted application window information to the client.
[0069] Specifically, the process of the target user session re-captures the adjusted image and the adjusted application window information, and sends the adjusted image and the adjusted application window information to the client. The client receives the adjusted image and the adjusted application window information, synchronously updates the application window position and size on the local system desktop according to the adjusted application window information, and uses the image at the same position of the updated desktop to render the application window.
[0070] For example, when the process of user1 receives an input instruction of application window 1, it adjusts application window 1 according to the input instruction, re-captures the adjusted image of user1, application window position, application window size, and application window style, and sends it to user A. User A synchronously creates an application window of the same position and size on the local system desktop according to the adjusted image of user1, application window position, application window size, and application window style, and uses the image at the same position on the user's desktop to render the application window.
[0071] In some optional implementations, the virtual application method based on a shared cloud desktop further includes:
[0072] Step (1): when starting the cloud desktop, log in to the user session;
[0073] Step (2): Control the session application unit to run the process of each user session, and the process of the user session sends the current user session state as ready state to the virtual service management platform.
[0074] Specifically, when the cloud desktop is turned on, each user session of the cloud desktop is automatically logged in. At this time, the session application unit running on the cloud desktop starts the process of the user session under each logged-in user session, and the process of the user session sends the current user session status to the virtual service management platform as a ready state. It should be noted that the session application unit is a vapp_service service process, which runs on each cloud desktop.
[0075] In some optional implementations, the virtual application method based on a shared cloud desktop further includes:
[0076] Step (1): upon receiving a logout instruction from the client, the process controlling the target user session executes a logout operation;
[0077] Specifically, after receiving the request for the user to log out of the session, the client sends a logout instruction to the process of the target user session, and the process of the target user session executes the logout operation of the target user session.
[0078] Step (2): re-login the target user session, and control the session application unit to send the status of the target user session to the virtual service management platform as a ready state.
[0079] Specifically, the target user session is logged in again, and at the same time, the session application unit is controlled to send a message to the virtual service management platform indicating that the state of the target user session is in a ready state, and the target user session is waiting to be associated with the next client.
[0080] In some optional implementations, multiple numbers of users are configured for the cloud desktop according to hardware specifications, wherein the hardware specifications include the number of central processing units and memory size.
[0081] Specifically, the hardware specifications of the cloud desktop are obtained, and multiple numbers of users are configured for the cloud desktop according to the hardware specifications. Optionally, two user sessions are configured with the hardware specifications of 4 CPUs and 8G memory.
[0082] refer to Figure 3 , Figure 3a1 to a6 are flow charts of the server. The server pre-configures the maximum number of users to log in according to the hardware specifications of the cloud desktop. The cloud desktop is turned on and automatically logs in multiple users. The vapp_service (session application unit) service process running on the cloud desktop session ID0 (i.e., the path of the first cloud desktop) pulls up the vapp_agent process (i.e., the user session process) under each logged-in user session, and the vapp_agent process reports to the business management that the current user session status is in the ready state. When receiving a request from the client to open an application, the vapp_agent process opens the corresponding application and reports to the business management (virtual business management platform) that the current user session status is in the running state. The vapp_agent process continuously captures the image of the current user's desktop and obtains information such as the position, size, and attributes of the application window and sends it to the client. The vapp_agent process receives the user input command sent by the client to control the application window to move or change the size, and sends the updated user desktop image and the position, size, and attributes of the application window to the client. When the vapp_agent process receives the session logout command from the client, it performs the logout operation, and the cloud desktop logs in the current user again, and repeats step a2.
[0083] refer to Figure 4 , Figure 4 b1 to b6 are the process flow diagram of the client. When the client receives an operation request from the user to open an application, it queries the business management for available virtual application user session information; uses the virtual application user session information returned by the business management to establish a connection with the virtual application server and send an instruction to open the application; after receiving the user desktop image and application window information sent by the server, it synchronously creates an application window with the same position and size on the local system desktop according to the position and size of the application window, and uses the image at the same position of the user desktop to render the application window; when receiving the user's input request for the application window, it sends the corresponding input instruction to the server; when receiving the updated user desktop image and application window position, size and style information sent by the server, it synchronously updates the application window position and size on the local system desktop and re-renders the application window using the updated image at the same position of the user desktop; after receiving the user's request to log out of the session, it sends a logout session instruction to the server and then closes the client.
[0084] In this embodiment, a virtual application device based on a shared cloud desktop is also provided, which is used to implement the above-mentioned embodiments and preferred implementation modes, and will not be repeated hereafter. As used below, the term "module" may be a combination of software and / or hardware that implements a predetermined function. Although the devices described in the following embodiments are preferably implemented in software, the implementation of hardware, or a combination of software and hardware, is also possible and conceivable.
[0085] This embodiment provides a virtual application device based on a shared cloud desktop, such as Figure 5 As shown, including:
[0086] The configuration module 501 is used to configure multiple user sessions on the cloud desktop.
[0087] The association module 502 is used to control each user session to be associated with each of the clients, and transmit the application screen of each user session to the respective displays of the associated clients.
[0088] In some optional implementations, the association module 502 includes:
[0089] The first confirmation unit is used to control the virtual service management platform to confirm the target user session in an idle state upon receiving a request for querying user session information from the target client.
[0090] The first sending unit is used to control the virtual service management platform to send the target user session information corresponding to the target user session to the target client, so as to associate the target user session with the target client.
[0091] In some optional implementations, the association module 502 further includes:
[0092] An opening unit, configured to control the process of the target user session to open the application corresponding to the opening application instruction upon receiving the opening application instruction from the target client;
[0093] The second sending unit is used to control the process of the target user session to intercept the image and application window information of the target user session, send the image and application window information to the client, and send information that the state of the target user session is running to the virtual service management platform.
[0094] In some optional implementations, the association module 502 further includes:
[0095] An input unit, configured to control the process of the target user session to adjust the application according to the input instruction upon receiving the input instruction from the client;
[0096] The third sending unit is used to control the process of the target user session to intercept the adjusted image and the adjusted application window information, and send the adjusted image and the adjusted application window information to the client.
[0097] In some optional implementations, the configuration module 501 further includes:
[0098] A login unit, used to log in to the user session when starting the cloud desktop;
[0099] The fourth sending unit is used to control the session application unit to run the process of each user session, and the process of the user session sends the current user session state as a ready state to the virtual service management platform.
[0100] In some optional implementations, the association module 502 further includes:
[0101] A control unit, configured to control the process of the target user session to perform a logout operation upon receiving a logout instruction from the client;
[0102] The fifth sending unit is used to re-login the target user session and control the session application unit to send the state of the target user session to the virtual service management platform as a ready state.
[0103] In some optional implementations, the device is used to configure multiple user numbers for the cloud desktop according to hardware specifications, wherein the hardware specifications include the number of central processing units and memory size.
[0104] The further functional description of each of the above modules and units is the same as that of the above corresponding embodiments and will not be repeated here.
[0105] The virtual application device based on the shared cloud desktop in this embodiment is presented in the form of a functional unit, where the unit refers to an ASIC (Application Specific Integrated Circuit) circuit, a processor and memory that executes one or more software or fixed programs, and / or other devices that can provide the above functions.
[0106] The embodiment of the present invention also provides a computer device having the above Figure 5 A virtual application device based on a shared cloud desktop is shown.
[0107] See also Figure 6 , Figure 6 Schematic diagram of the hardware structure of the computer device according to the embodiment of the present invention. Figure 6As shown, the computer device includes: one or more processors 10, a memory 20, and interfaces for connecting various components, including high-speed interfaces and low-speed interfaces. Various components are connected to each other using different buses for communication, and can be installed on a common mainboard or installed in other ways as needed. The processor can process the instructions executed in the computer device, including instructions stored in or on the memory to display the graphical information of the GUI on an external input / output device (such as, a display device coupled to the interface). In some optional embodiments, if necessary, multiple processors and / or multiple buses can be used together with multiple memories and multiple memories. Similarly, multiple computer devices can be connected, and each device provides some necessary operations (for example, as a server array, a group of blade servers, or a multi-processor system). Figure 6 A processor 10 is taken as an example.
[0108] The processor 10 may be a central processing unit, a network processor or a combination thereof. The processor 10 may further include a hardware chip. The hardware chip may be a dedicated integrated circuit, a programmable logic device or a combination thereof. The programmable logic device may be a complex programmable logic device, a field programmable gate array, a general purpose array logic or any combination thereof.
[0109] The memory 20 stores instructions executable by at least one processor 10, so that at least one processor 10 executes the method shown in the above embodiment.
[0110] The memory 20 may include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function; the data storage area may store data created according to the use of the computer device, etc. In addition, the memory 20 may include a high-speed random access memory, and may also include a non-transient memory, such as at least one disk storage device, a flash memory device, or other non-transient solid-state storage device. In some optional embodiments, the memory 20 may optionally include a memory remotely arranged relative to the processor 10, and these remote memories may be connected to the computer device via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0111] The memory 20 may include a volatile memory, such as a random access memory; the memory may also include a non-volatile memory, such as a flash memory, a hard disk or a solid state drive; the memory 20 may also include a combination of the above types of memory.
[0112] The computer device also includes an input device 30 and an output device 40. The processor 10, the memory 20, the input device 30 and the output device 40 may be connected via a bus or other means. Figure 6 The example of connecting through bus is taken in the following.
[0113] The input device 30 can receive input digital or character information, and generate key signal input related to the user settings and function control of the computer device, such as a touch screen, a keypad, a mouse, a track pad, a touch pad, an indicator bar, one or more mouse buttons, a trackball, a joystick, etc. The output device 40 may include a display device, an auxiliary lighting device (e.g., an LED) and a tactile feedback device (e.g., a vibration motor), etc. The above-mentioned display device includes but is not limited to a liquid crystal display, a light emitting diode, a display and a plasma display. In some optional embodiments, the display device can be a touch screen.
[0114] The embodiment of the present invention also provides a computer-readable storage medium. The method according to the embodiment of the present invention can be implemented in hardware, firmware, or can be implemented as a computer code that can be recorded in a storage medium, or can be implemented as a computer code that is originally stored in a remote storage medium or a non-temporary machine-readable storage medium and will be stored in a local storage medium through a network download, so that the method described herein can be stored in such software processing on a storage medium using a general-purpose computer, a dedicated processor, or programmable or dedicated hardware. Among them, the storage medium can be a magnetic disk, an optical disk, a read-only storage memory, a random access memory, a flash memory, a hard disk or a solid-state hard disk, etc.; further, the storage medium can also include a combination of the above types of memories. It can be understood that a computer, a processor, a microprocessor controller, or programmable hardware includes a storage component that can store or receive software or computer code. When the software or computer code is accessed and executed by a computer, a processor, or hardware, the method shown in the above embodiment is implemented.
[0115] Although the embodiments of the present invention have been described in conjunction with the accompanying drawings, those skilled in the art may make various modifications and variations without departing from the spirit and scope of the present invention, and such modifications and variations are all within the scope defined by the appended claims.
Claims
1. A virtual application method based on a shared cloud desktop, characterized in that: The virtual application method of the shared cloud desktop is applied to a server, the server is connected to a client via communication, and the method includes: Configure multiple user sessions on the cloud desktop; Each user session is controlled to be associated with each of the clients, and an application screen of each user session is transmitted to respective displays of the associated clients.
2. The method according to claim 1, characterized in that The step of controlling each user session to be associated with each of the clients comprises: Upon receiving a request from a target client to query user session information, controlling the virtual service management platform to confirm an idle target user session; The virtual service management platform is controlled to send the target user session information corresponding to the target user session to the target client, so as to associate the target user session with the target client.
3. The method according to claim 2, characterized in that After the step of controlling the virtual service management platform to send the target user session information corresponding to the target user session to the target client to associate the target user session with the target client, the method further includes: Upon receiving an application opening instruction from a target client, controlling the process of the target user session to open an application corresponding to the application opening instruction; The process controlling the target user session captures the image and application window information of the target user session, sends the image and application window information to the client, and sends information that the state of the target user session is in the running state to the virtual service management platform.
4. The method according to claim 3, characterized in that After the step of the process controlling the target user session intercepting the image and application window information of the target user session and sending the image and application window information to the client, the method further includes: Upon receiving an input instruction from the client, the process controlling the target user session adjusts the application according to the input instruction; The process controlling the target user session captures the adjusted image and the adjusted application window information, and sends the adjusted image and the adjusted application window information to the client.
5. The method according to claim 1, characterized in that The method further comprises: When starting the cloud desktop, log in to the user session; The control session application unit runs the process of each user session, and the process of the user session sends the current user session state as a ready state to the virtual service management platform.
6. The method according to claim 5, characterized in that The method further comprises: Upon receiving a logout instruction from the client, the process controlling the target user session executes the logout operation; The target user session is logged in again, and the control session application unit sends a status of the target user session to the virtual service management platform as a ready state.
7. The method according to claim 1, characterized in that A plurality of user quantities are configured for the cloud desktop according to hardware specifications, wherein the hardware specifications include the number of central processing units and memory size.
8. A virtual application device based on a shared cloud desktop, characterized in that: The virtual application device based on the shared cloud desktop includes: A configuration module for configuring multiple user sessions on a cloud desktop; The association module is used to control the association of each user session with each client, and transmit the application screen of each user session to the respective display of the associated client.
9. A computer device, characterized in that: include: A memory and a processor, wherein the memory and the processor are communicatively connected to each other, the memory stores computer instructions, and the processor executes the virtual application method based on a shared cloud desktop as described in any one of claims 1 to 7 by executing the computer instructions.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a computer to execute the virtual application method based on a shared cloud desktop according to any one of claims 1 to 7.