Cloud desktop implementation method and device based on Linux system
Through the implementation method of cloud desktop based on Linux system, XServer image service and window management program is used to solve the problem of inconsistent cloud resources and UI styles in traditional cloud desktop environments, and lightweight cloud desktops and personalized customization are realized, reducing cloud load.
Patent Information
- Application Number
- CN202510121528.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-01-26
- Publication Date
- 2025-05-30
AI Technical Summary
Traditional cloud desktop environments occupy large cloud storage and computing resources, and the difference in user operating systems and cloud systems leads to inconsistent UI styles, making it difficult to achieve personalized customization.
The cloud desktop implementation method based on Linux system is adopted, through clients, authentication servers and cloud computers, XServer image services and window management programs are used to realize the local installation and operation of applications, reduce the load on the cloud, and create cloud application icons locally for operation.
It effectively reduces the load on the cloud, solves the problem of inconsistent UI styles, realizes personalized customization of desktop UI, and customization and updates of desktop programs are more convenient and fast.
Smart Images

Figure CN120066648A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to a method and device for implementing a cloud desktop based on the Linux system. Background Art
[0002] A cloud desktop is a virtual desktop environment based on cloud computing, used to manage and use cloud applications just like using a local computer. The traditional cloud desktop environment installs a desktop environment in a cloud virtualization system. The desktop environment includes a desktop window manager, a desktop application manager, a resource manager, a file browser, etc., which will occupy a large amount of storage and computing resources in the cloud. At the same time, due to the influence of the cloud computer operating system on the traditional cloud desktop system, if the cloud computer operating system is the Ubuntu system and the user sees the traditional Ubuntu desktop, it is difficult to meet the personalized requirements of the desktop UI. Summary of the Invention
[0003] The technical problem to be solved by the present invention is to provide a method and device for implementing a cloud desktop based on the Linux system, which effectively reduces the cloud load and at the same time well solves the problem of inconsistent UI styles caused by different user operating systems and cloud systems, greatly facilitating user use.
[0004] In a first aspect, the present invention provides a method for implementing a cloud desktop based on the Linux system, including a client, an authentication server, and a cloud computer. An XServer image service and a window management program are provided in the cloud computer, and the method includes the following steps:
[0005] Step 1: The client performs authentication through the authentication server. After passing the authentication, the client establishes a network connection with the cloud computer;
[0006] Step 2: Open the cloud computer application store through the client, and download the application installation package and application information to the application cloud disk;
[0007] Step 3: Click to install the application installation package in the cloud computer application store. Then the application store sends an application installation instruction to the cloud computer through the client. After receiving the application installation instruction, the cloud computer reads the application installation package in the application cloud disk and completes the installation, and returns the installation result to the client;
[0008] Step 4: If the installation result is successful, write the application information into the application list configuration file, and create a corresponding cloud application icon on the local desktop of the client;
[0009] Step 5: When the client sends a command to display the cloud computer screen to the cloud computer, the cloud computer encodes the real-time screen information and sends it to the client. The client creates a window and displays the screen; listens for window operation events on the displayed screen, the client sends the window operation events to the cloud computer, the cloud computer performs corresponding operations according to the window operation events, and sends screen update information to the client, and the client updates the displayed screen.
[0010] In a second aspect, the present invention provides a cloud desktop implementation device based on the Linux system, including a client, an authentication server, and a cloud computer. The cloud computer is provided with an XServer image service and a window management program, and includes the following modules:
[0011] Connection module: The client performs authentication through the authentication server. After passing the authentication, the client establishes a network connection with the cloud computer.
[0012] Download module: The client opens the cloud computer application store and downloads the application installation package and application information to the application cloud disk.
[0013] Installation module: When the application installation package is clicked to be installed in the cloud computer application store, the application store sends an application installation instruction to the cloud computer through the client. After receiving the application installation instruction, the cloud computer reads the application installation package in the application cloud disk and completes the installation, and returns the installation result to the client.
[0014] Create icon module: If the installation result is successful, write the application information into the application list configuration file and create a corresponding cloud application icon on the local desktop of the client.
[0015] Operation desktop module: When the client sends a command to display the cloud computer screen to the cloud computer, the cloud computer encodes the real-time screen information and sends it to the client. The client creates a window and displays the screen; listens for window operation events on the displayed screen, the client sends the window operation events to the cloud computer, the cloud computer performs corresponding operations according to the window operation events, and sends screen update information to the client, and the client updates the displayed screen.
[0016] One or more technical solutions provided by the present invention have at least the following technical effects or advantages:
[0017] The present invention utilizes the user's local computing and storage resources to implement a lightweight cloud desktop. Since the desktop runs on the user's local computer, it effectively reduces the load on the cloud, and at the same time well solves the problems of inconsistent UI styles caused by different user operating systems and cloud systems, and cumbersome personalized customization of the desktop UI.
[0018] The desktop of the present invention runs on the user's local machine, and the customization and update of the desktop program only require modifying the user's local program. Compared with the traditional cloud desktop, the desktop environment needs to modify the cloud system image, and the maintenance and update are also more convenient and fast.
[0019] The above description is only an overview of the technical solution of the present invention. In order to be able to understand the technical means of the present invention more clearly, it can be implemented according to the content of the specification. And in order to make the above and other purposes, features and advantages of the present invention more obvious and understandable, the following specifically gives the specific embodiments of the present invention. Brief Description of the Drawings
[0020] The present invention will be further described below with reference to the accompanying drawings in conjunction with embodiments.
[0021] Figure 1 It is a flowchart of the method in Embodiment 1 of the present invention;
[0022] Figure 2 It is a schematic structural diagram of the device in Embodiment 2 of the present invention. Detailed Embodiments
[0023] Embodiment 1
[0024] As Figure 1 shown, this embodiment provides a method for implementing a cloud desktop based on the Linux system, including a client, an authentication server, and a cloud computer. The cloud computer is provided with an XServer image service and a window management program, and includes the following steps:
[0025] Step 1: The client performs authentication through the authentication server. After passing the authentication, the client establishes a network connection with the cloud computer;
[0026] Step 2: Open the cloud computer application store through the client, and download the application installation package and application information to the application cloud disk;
[0027] Step 3: Click to install the application installation package in the cloud computer application store. Then the application store sends an application installation instruction to the cloud computer through the client. After receiving the application installation instruction, the cloud computer reads the application installation package in the application cloud disk and completes the installation, and returns the installation result to the client;
[0028] Step 4: If the installation result is successful, write the application information into the application list configuration file, and create a corresponding cloud application icon on the local desktop of the client;
[0029] Step 5: When the client sends a command to display the cloud computer screen to the cloud computer, the cloud computer encodes the real-time screen information and sends it to the client. The client creates a window and displays the screen. Listen for window operation events on the displayed screen. The client sends the window operation events to the cloud computer. The cloud computer performs corresponding operations based on the window operation events and sends screen update information to the client. The client updates the displayed screen.
[0030] In this embodiment, preferably, step 1 is specifically as follows: The client performs authentication through an authentication server. After passing the authentication, the client establishes a network connection with the cloud computer. The client obtains a reference list configuration file through the cloud computer and creates corresponding cloud application icons on the local desktop according to the list configuration file.
[0031] In this embodiment, preferably, it further includes step 6: When the mouse of the client hovers over a cloud application icon, the client sends a request for application information command to the cloud computer. The cloud computer sends the real-time screen thumbnail information of the current corresponding application to the client in real time. The client then displays the cloud computer screen thumbnail information in real time for the user to view the running screen of the application.
[0032] In this embodiment, preferably, it further includes step 7: If the client starts a cloud application through the cloud application icon on the local desktop, the client sends a start application command to the cloud computer. After receiving the start application command, the cloud computer starts the corresponding application program.
[0033] In this embodiment, preferably, it further includes step 8: When uninstalling an application in the cloud computer application store, the application store sends an uninstall application command to the cloud computer through the client. After receiving the uninstall application command, the cloud computer closes the corresponding application and completes the uninstallation, and returns the result to the client. After receiving the application uninstallation reply, the client deletes the cloud application icon on the local desktop of the client.
[0034] Based on the same inventive concept, the present application also provides a device corresponding to the method in Embodiment 1. For details, see Embodiment 2.
[0035] Embodiment 2
[0036] As Figure 2 shown, in this embodiment, a cloud desktop implementation device based on the Linux system is provided, including a client, an authentication server, and a cloud computer. The cloud computer is provided with an XServer image service and a window management program, and includes the following modules:
[0037] A connection module. The client performs authentication through an authentication server. After passing the authentication, the client establishes a network connection with the cloud computer.
[0038] Download module, which opens the cloud computer application store through the client and downloads the application installation package and application information to the application cloud disk;
[0039] Installation module, when the installation of the application installation package is clicked in the cloud computer application store, the application store sends an application installation instruction to the cloud computer through the client. After receiving the application installation instruction, the cloud computer reads the application installation package in the application cloud disk and completes the installation, and returns the installation result to the client;
[0040] Create icon module, if the installation result is successful, write the application information into the application list configuration file, and create a corresponding cloud application icon on the local desktop of the client;
[0041] Operation desktop module, when the client sends a cloud computer screen display instruction to the cloud computer, the cloud computer encodes the real-time screen information and sends it to the client, and the client creates a window and displays the screen; listens for the window operation events of the displayed screen, the client sends the window operation events to the cloud computer, the cloud computer performs corresponding operations according to the window operation events, and sends the screen update information to the client, and the client updates the displayed screen.
[0042] In this embodiment, preferably, the connection module is specifically: the client performs authentication through the authentication server, and after passing the authentication, the client establishes a network connection with the cloud computer; the client obtains the reference list configuration file through the cloud computer, and creates corresponding cloud application icons on the local desktop according to the list configuration file.
[0043] In this embodiment, preferably, it further includes a thumbnail module. When the mouse of the client hovers over the cloud application icon, the client sends a request for application information instruction to the cloud computer, and the cloud computer sends the real-time screen thumbnail information of the current corresponding application to the client in real time, and the client then displays the cloud computer screen thumbnail information in real time for the user to view the running screen of the application.
[0044] In this embodiment, preferably, it further includes a start application module. If the client starts a cloud application through the cloud application icon on the local desktop, the client sends a start application instruction to the cloud computer, and the cloud computer starts the corresponding application program after receiving the start application instruction.
[0045] In this embodiment, preferably, it further includes an uninstall module. When uninstalling an application in the cloud computer application store, the application store sends an uninstall application instruction to the cloud computer through the client. After receiving the uninstall application instruction, the cloud computer closes the corresponding application and completes the uninstallation, and returns the result to the client; after receiving the application uninstallation reply, the client deletes the cloud application icon on the local desktop of the client.
[0046] Since the device introduced in the second embodiment of the present invention is the device used to implement the method of the first embodiment of the present invention, based on the method introduced in the first embodiment of the present invention, those skilled in the art can understand the specific structure and variations of the device, so it will not be elaborated here. Any device used in the method of the first embodiment of the present invention falls within the scope of protection of the present invention.
[0047] Embodiment Three
[0048] Based on the Linux window system, this embodiment provides a method for transplanting a cloud desktop to the user's machine for localization. This method is implemented through the following components: the cloud computer permission authentication service running at the backend, the cloud computer client running on the user terminal, the cloud computer application store, the cloud disk browser, the cloud computer resource manager, as well as the remote server, XServer graphics service, and window management program running on the cloud computer. The specific implementation steps are as follows:
[0049] Step 1: Connection establishment
[0050] The user opens the cloud computer client and establishes a network connection with the remote server inside the cloud computer through the cloud computer permission authentication service.
[0051] Step 2: Application download
[0052] The user opens the cloud computer application store through the cloud computer client and downloads the application and its related information (including application icons, application names, etc.) to the cloud disk of the cloud computer.
[0053] Step 3: Application installation
[0054] The user installs the application in the application store. At this time, the application store sends the "install application" instruction to the remote server inside the cloud computer through the cloud computer client. After receiving the "install application" instruction, the remote server reads the application installation package in the cloud disk and completes the installation, and then returns the installation result to the user client program.
[0055] Step 4: Installation result processing
[0056] The client program reads the returned result. If the installation is successful, it writes the information of the installed application into the "application list" configuration file and creates a cloud application icon on the local desktop.
[0057] Step 5: Application startup
[0058] The user clicks the cloud application icon on the local desktop, triggering the cloud computer client program to send a "start application instruction" to the remote server inside the cloud computer. After receiving the instruction, the remote server starts the application.
[0059] Step 6: Window status monitoring and feedback
[0060] The window manager inside the cloud computer monitors window events (including window creation, destruction, status changes, etc.) and sends these events to the cloud computer client through a remote server. The client modifies the display status of the cloud application icons in the local desktop navigation bar according to the received event information, enabling users to understand the current running status of the cloud applications through the icon status in the navigation bar.
[0061] Step Seven: Screen Thumbnail Display
[0062] When the user's mouse hovers over the cloud application icon on the local desktop, the cloud computer client sends a command to the remote server to request cloud computer screen thumbnail information. The remote server sends the current cloud computer screen information to the client in real time, and the client then displays the cloud computer screen thumbnail to the right of the mouse in real time for the user to view the running screen of the application.
[0063] Step Eight: Remote Screen Display
[0064] When the user needs to remotely operate a cloud application, they can click a button on the cloud computer client to send a "display cloud computer screen" command to the remote server. The remote server encodes the real-time screen information and sends it to the client, and the client creates a window and displays the cloud computer screen.
[0065] Step Nine: Keyboard and Mouse Control
[0066] When the user operates the cloud computer screen displayed in Step Eight through the keyboard and mouse, the cloud computer client passes the keyboard and mouse input events to the remote server of the cloud computer, and the remote server responds to the local keyboard and mouse operations.
[0067] Step Ten: Window Status Update
[0068] When the user minimizes, maximizes, or closes the window of the cloud computer screen, the window manager inside the cloud computer passes the window status change event to the cloud computer client through the remote server, and the client modifies the display status of the cloud application icons in the navigation bar according to the event.
[0069] Step Eleven: Application Uninstallation
[0070] When the user uninstalls an application in the cloud computer application store, the application store sends an "uninstall application" command to the remote server through the cloud computer client. After receiving the command, the remote server closes the application and completes the uninstallation, and returns the result to the cloud computer client.
[0071] Step Twelve: Uninstallation Result Processing
[0072] After the cloud computer client receives the "application uninstall" reply, it deletes the cloud application icon on the local desktop.
[0073] Through the above steps, this embodiment realizes the localization operation of the cloud desktop, providing users with an efficient and convenient cloud computer usage experience.
[0074] The technical solutions provided in the embodiments of this application have at least the following technical effects or advantages:
[0075] Through this embodiment, the cloud computer no longer needs to create a desktop. By only cooperating with the window management program through XServer to manage the desktop application programs, the cloud storage and computing resources of the cloud computer can be significantly reduced; directly create cloud application icons on the local screen of the user for cloud application operations, and a cloud desktop can be created locally for reference operations. Users can manage cloud computer desktop applications like managing local desktop applications, and the experience is better than that of traditional cloud computer cloud desktop systems.
[0076] Those skilled in the art should understand that the embodiments of the present invention can be provided as a method, a system, or a computer program product. Therefore, the present invention can take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware aspects. Moreover, the present invention can take the form of a computer program product implemented 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.
[0077] The present invention is described with reference to the flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to the embodiments of the present invention. It should be understood that each flow and / or block in the flowchart and / or block diagram can be implemented by computer program instructions, and the combination of the flows and / or blocks in the flowchart and / or block diagram can also be implemented by computer program instructions. These computer program instructions can be provided to the processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing devices to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing devices generate means for implementing the specified functions in Figure 1 one process or multiple processes and / or blocks Figure 1 one block or multiple blocks.
[0078] These computer program instructions can also be stored in a computer-readable memory that can direct a computer or other programmable data processing device to work in a specific manner, so that the instructions stored in the computer-readable memory generate a manufactured product including instruction means, and the instruction means implements the specified functions in Figure 1 one process or multiple processes and / or blocks Figure 1 one block or multiple blocks.
[0079] These computer program instructions can also be loaded onto a computer or other programmable data processing apparatus, so that a series of operation steps are performed on the computer or other programmable apparatus to generate a computer-implemented process, thereby providing instructions for implementing the steps specified in one process or a plurality of processes and / or blocks Figure 1 one process or a plurality of processes and / or blocks Figure 1 in one block or a plurality of blocks.
[0080] Although the specific embodiments of the present invention have been described above, those skilled in the art of this technology should understand that the specific embodiments we described are illustrative only and not used to limit the scope of the present invention. Equivalent modifications and variations made by those skilled in the art in accordance with the spirit of the present invention should be covered by the scope of the claims of the present invention.
Claims
1. A cloud desktop implementation method based on Linux system, characterized by: The method comprises a client, an authentication server and a cloud computer, wherein the cloud computer is provided with an XServer image service and a window management program, and comprises the following steps: Step 1: The client is authenticated by the authentication server. After authentication, the client establishes a network connection with the cloud computer; Step 2: Open the cloud computer application store through the client, download the application installation package and application information to the application cloud disk; Step 3: Click to install the application installation package in the cloud computer application store, and the application store will send the application installation instruction to the cloud computer through the client. After receiving the application installation instruction, the cloud computer reads the application installation package in the application cloud disk and completes the installation, and returns the installation result to the client; Step 4: If the installation result is successful, the application information is written into the application list configuration file, and a corresponding cloud application icon is created on the local desktop of the client; Step 5. When the client sends a command to display the cloud computer screen to the cloud computer, the cloud computer encodes the real-time screen information and sends it to the client. The client creates a window and displays the screen. The client monitors the window operation events of the display screen. The client sends the window operation events to the cloud computer. The cloud computer performs corresponding operations based on the window operation events and sends the screen update information to the client. The client updates the display screen.
2. According to a Linux-based cloud desktop implementation method according to claim 1, it is characterized in that: The step 1 is specifically as follows: the client is authenticated by the authentication server, and after authentication, the client establishes a network connection with the cloud computer; the client obtains the reference list configuration file through the cloud computer, and creates a corresponding cloud application icon on the local desktop according to the list configuration file.
3. The cloud desktop implementation method based on Linux system according to claim 1, characterized in that: It also includes step 6. When the client's mouse hovers over the cloud application icon, the client sends a request for application information to the cloud computer. The cloud computer sends the screen thumbnail information of the current corresponding application to the client in real time, and the client displays the cloud computer screen thumbnail information in real time for the user to view the running screen of the application.
4. The method for implementing a cloud desktop based on a Linux system according to claim 1, characterized in that: The method also includes step 7: if the client starts a cloud application through the cloud application icon on the local desktop, the client sends a start application instruction to the cloud computer, and the cloud computer starts the corresponding application after receiving the start application instruction.
5. The method for implementing a cloud desktop based on a Linux system according to claim 1, characterized in that: It also includes step 8. When uninstalling an application in the cloud computer application store, the application store sends an uninstall application instruction to the cloud computer through the client. After the cloud computer receives the uninstall application instruction, it closes the corresponding application and completes the uninstallation, and returns the result to the client; after the client receives the application uninstall reply, it deletes the cloud application icon on the client's local desktop.
6. A cloud desktop implementation device based on Linux system, characterized in that: It includes a client, an authentication server and a cloud computer. The cloud computer is equipped with an XServer image service and a window management program, including the following modules: In the connection module, the client is authenticated by the authentication server. After authentication, the client establishes a network connection with the cloud computer; Download module, open the cloud computer application store through the client, download the application installation package and application information to the application cloud disk; Installation module: Click to install the application installation package in the cloud computer application store, and the application store will send the application installation instruction to the cloud computer through the client. After receiving the application installation instruction, the cloud computer reads the application installation package in the application cloud disk and completes the installation, and returns the installation result to the client; Create an icon module. If the installation result is successful, write the application information into the application list configuration file and create a corresponding cloud application icon on the local desktop of the client; Operation desktop module, when the client sends a command to display the cloud computer screen to the cloud computer, the cloud computer encodes the real-time screen information and sends it to the client, the client creates a window and displays the screen; monitors the window operation events of the display screen, the client sends the window operation events to the cloud computer, the cloud computer performs corresponding operations according to the window operation events, and sends the screen update information to the client, and the client updates the display screen.
7. The cloud desktop implementation device based on Linux system according to claim 6, characterized in that: The connection module is specifically as follows: the client is authenticated by the authentication server, and after authentication, the client establishes a network connection with the cloud computer; the client obtains the reference list configuration file through the cloud computer, and creates a corresponding cloud application icon on the local desktop according to the list configuration file.
8. The cloud desktop implementation device based on Linux system according to claim 6, characterized in that: It also includes a thumbnail module. When the client's mouse hovers over the cloud application icon, the client sends a request for application information to the cloud computer. The cloud computer sends the screen thumbnail information of the current corresponding application to the client in real time. The client then displays the cloud computer screen thumbnail information in real time for the user to view the running screen of the application.
9. The cloud desktop implementation device based on Linux system according to claim 6, characterized in that: It also includes a startup application module. If the client starts a cloud application through the cloud application icon on the local desktop, the client sends a startup application instruction to the cloud computer, and the cloud computer starts the corresponding application after receiving the startup application instruction.
10. The cloud desktop implementation device based on Linux system according to claim 6, characterized in that: It also includes an uninstall module. When uninstalling an application in the cloud computer application store, the application store sends an uninstall application instruction to the cloud computer through the client. After receiving the uninstall application instruction, the cloud computer closes the corresponding application and completes the uninstallation, and returns the result to the client; after the client receives the application uninstall reply, it deletes the cloud application icon on the client's local desktop.