Implementation method of cloud desktop management system based on container technology
By using container technology in cloud desktop systems to build container desktop images and Docker Swarm clusters, the traditional virtual machine cloud desktop system has solved the shortcomings in resource utilization, startup speed, management complexity and scalability, and achieved efficient, flexible and easy-to-manage cloud desktop services.
Patent Information
- Application Number
- CN202411982640.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-31
- Publication Date
- 2025-04-25
AI Technical Summary
Traditional virtual machine-based cloud desktop systems have shortcomings in resource utilization, startup speed, management complexity, mirror packaging and distribution efficiency, and scalability, resulting in waste of resources, poor user experience and high management and maintenance costs.
The cloud desktop management system based on container technology is adopted, and the container desktop is built, and the container desktop is quickly launched and managed, the user data persistence and sharing, network configuration and isolation, and the system's elastic expansion and logging and monitoring are realized.
It improves resource utilization and startup speed, reduces management complexity and expansion costs, achieves rapid deployment and elastic expansion, and improves user experience and system performance.
Smart Images

Figure CN119883518A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of cloud desktop technology, and in particular to an implementation method of a cloud desktop management system based on container technology. Background Art
[0002] Cloud desktop technology refers to the use of virtualization technology to host the user's desktop operating system, applications, etc. on the server in the data center, so that users can access the desktop resources in the cloud through terminal devices. This method effectively reduces the hardware dependence of client devices and can achieve centralized management and maintenance. It is widely used in scenarios such as education, corporate office, and R&D environment.
[0003] Traditional cloud desktop systems usually rely on virtualization technology, the most common of which is based on virtualization technologies such as KVM (Kernel-based Virtual Machine), VMware, and Xen. Such systems create virtual machines (VMs) and assign an independent virtual machine instance to each user, providing a complete operating system environment and user experience. Although this approach can achieve flexible resource scheduling and isolation, as the number of users increases, problems such as virtual machine management, resource consumption, and startup speed gradually emerge.
[0004] With the development of container technology, cloud desktop technology has gradually introduced container-based implementation methods. A significant advantage of containers (such as Docker containers) over traditional virtual machines is their lightweight and high efficiency. Containers share the host's operating system kernel, have fast startup speed, small resource usage, and support on-demand packaging and management of applications. Therefore, in some scenarios, containers have become an effective solution to replace virtual machines.
[0005] The defects and deficiencies of the existing technology include:
[0006] Although traditional virtual machine-based cloud desktop technology has been widely used, it has exposed some obvious shortcomings and deficiencies in actual use:
[0007] Low resource utilization:
[0008] In traditional cloud desktop systems based on virtual machines, each desktop user corresponds to a complete virtual machine instance, and the virtual machine requires an independent operating system and resources (CPU, memory, storage, etc.). As the number of users increases, the resource consumption of the virtual machine also increases exponentially, resulting in low server resource utilization.
[0009] The independent operation of each user operating system kernel in the virtual machine leads to high system overhead. Even inactive virtual machines will occupy more system resources, affecting the overall performance.
[0010] Slow startup:
[0011] The startup speed of a virtual machine is relatively slow, and it usually takes several minutes to fully load the operating system and related services. This may significantly affect the user experience in scenarios that require efficient desktop startup (such as experimental environments or educational environments).
[0012] Frequent virtual machine startup and restart operations will cause users to wait for a long time and fail to meet the needs of agile response.
[0013] High management complexity:
[0014] The management of traditional virtual machine cloud desktop systems requires operation and maintenance personnel to have a deep understanding of virtualization platforms (such as KVM, VMware), including virtual machine configuration, snapshot management, storage allocation, network configuration, etc. Each virtual machine instance is a complex operating system environment with high maintenance costs.
[0015] For scenarios with high requirements for dynamic adjustment and scalability (such as desktop systems in large-scale enterprises), traditional virtual machine solutions cannot respond to changes flexibly and quickly.
[0016] Low efficiency of image packaging and distribution:
[0017] In a virtual machine cloud desktop system, operating systems and applications are usually packaged into virtual machine images, which are bulky and difficult to update and maintain. Each update requires the redeployment of the entire virtual machine image, making the update and deployment process cumbersome and time-consuming.
[0018] The production, storage, and distribution of virtual machine images are inefficient, which increases system complexity, especially in large-scale scenarios.
[0019] Poor scalability:
[0020] The high resource consumption of virtual machines makes the horizontal expansion cost of the system high, especially when the number of users increases significantly, server resources are quickly exhausted, making it difficult to expand desktop services efficiently and economically.
[0021] Independent resources need to be reserved for each virtual machine instance, resulting in insufficient system scalability and elastic management capabilities in scenarios with a large number of concurrent users. Summary of the invention
[0022] In view of the above problems, the present invention is proposed to provide an implementation method of a cloud desktop management system based on container technology that overcomes the above problems or at least partially solves the above problems.
[0023] According to one aspect of the present invention, a method for implementing a cloud desktop management system based on container technology is provided, and the method includes:
[0024] Step S1: Build a container desktop image;
[0025] Step S2: Building and configuring the Docker Swarm cluster;
[0026] Step S3: Starting and managing the container desktop;
[0027] Step S4: Persistence and sharing of user data;
[0028] Step S5: Network configuration and isolation;
[0029] Step S6: Establish elastic expansion of the system;
[0030] Step S7: Create logs and monitor.
[0031] Optionally, the step S1: building a container desktop image specifically includes:
[0032] Image production: According to actual needs, build a desktop container image by writing a Dockerfile; the Dockerfile specifies the basic operating system, desktop environment, common software and other applications of the container;
[0033] Customize multiple container images according to the needs of different user groups;
[0034] Image storage and distribution: After the image is built, it is uploaded to the Docker image repository. When the system needs to start a desktop instance, the node pulls the corresponding image from the image repository to start it.
[0035] Images use a layered storage mechanism, and images of different versions share common layers.
[0036] Optionally, the step S2: building and configuring the Docker Swarm cluster specifically includes:
[0037] Cluster initialization:
[0038] The cloud desktop system uses the Docker Swarm cluster for container orchestration and management. In actual deployment, you need to install Docker on several physical or virtual servers and initialize the nodes into a Swarm cluster using the Swarm command line tool.
[0039] One of the nodes is used as the management node of the Swarm cluster, responsible for cluster scheduling and status monitoring, and the remaining nodes are used as working nodes to run desktop container services;
[0040] Load balancing and service scheduling:
[0041] When a user requests to start a cloud desktop, Docker Swarm will allocate container instances to working nodes with sufficient resources based on the system's resource usage;
[0042] The Swarm cluster automatically balances the load on each node to ensure proper performance and resource allocation for the desktop container.
[0043] Optionally, the step S3: starting and managing the container desktop specifically includes:
[0044] User login and desktop startup:
[0045] The user initiates a login request through the remote desktop client. The system determines the desktop instance type and the corresponding container image based on the user's identity information and permissions.
[0046] The system calls the Docker API to start a new desktop container instance on the Swarm cluster;
[0047] Container quick start:
[0048] Containers start much faster than virtual machines;
[0049] At startup, the system mounts the user's personal data storage directory into the container;
[0050] Dynamic destruction of containers: When a user ends a session or is inactive for a long time, the system automatically destroys the corresponding desktop container to release server resources.
[0051] Optionally, the step S4: persistence and sharing of user data specifically includes:
[0052] Storage mount:
[0053] Each user’s personal data and work files are stored in centralized network storage;
[0054] Any file operations performed by the user on the desktop are saved in the mounted storage;
[0055] Access to shared resources:
[0056] The system provides users with the function of accessing shared resources, mounting public files, applications, or project resources into the desktop containers of all users to support collaboration and resource sharing.
[0057] Optionally, the step S5: network configuration and isolation specifically includes:
[0058] Network Isolation:
[0059] Ensure that desktop instances between different users are isolated from each other and configure independent Docker network namespaces for each desktop container;
[0060] External access and proxies:
[0061] Applications inside the desktop container can be accessed externally by configuring port mapping, and users can connect to the desktop environment in the container through RDP or other remote desktop protocols;
[0062] Through Docker's port mapping and reverse proxy container, control the ports and services exposed by the container, while ensuring the isolation within the container;
[0063] Security policy and traffic control:
[0064] Configure traffic control, bandwidth restrictions, and access permissions through network policies based on user or tenant needs.
[0065] Optionally, the step S6: establishing elastic expansion of the system specifically includes:
[0066] Dynamic expansion and contraction:
[0067] As the number of users increases, more worker nodes are added to the Swarm cluster, and Swarm automatically assigns new desktop container instances to the newly added nodes;
[0068] When the number of users decreases or the system load decreases, dynamic capacity reduction is supported, destroying some idle desktop containers or shutting down some working nodes;
[0069] Multi-tenancy support:
[0070] Independent Docker networks and container images are allocated to different tenants, and the desktop instances of each tenant are isolated from each other in terms of resources and security;
[0071] Customize different desktop images, network configurations, and storage policies based on tenants' business needs.
[0072] Optionally, the step S7: establishing logs and monitoring specifically includes:
[0073] Real-time monitoring:
[0074] The system monitors the status and resource usage of each desktop container in real time through the Docker Swarm management interface. The system also checks the health status of all nodes and containers in the cluster through the dashboard, and detects and handles faults in a timely manner.
[0075] Logging and analysis: The operation logs of each container instance are centrally stored and analyzed.
[0076] Optionally, the resource usage includes: CPU, memory and network traffic.
[0077] The present invention provides a method for implementing a cloud desktop management system based on container technology, the method comprising: step S1: building a container desktop image; step S2: building and configuring a Docker Swarm cluster; step S3: starting and managing a container desktop; step S4: persisting and sharing user data; step S5: configuring and isolating networks; step S6: establishing elastic expansion of the system; step S7: establishing logs and monitoring. By combining traditional virtual machine desktop cloud technology with container technology and utilizing the lightweight and high efficiency of Docker containers, rapid deployment, resource optimization, and elastic expansion of the cloud desktop system can be achieved.
[0078] The above description is only an overview of the technical solution of the present invention. In order to more clearly understand the technical means of the present invention, it can be implemented according to the contents of the specification. In order to make the above and other purposes, features and advantages of the present invention more obvious and easy to understand, the specific implementation methods of the present invention are listed below. BRIEF DESCRIPTION OF THE DRAWINGS
[0079] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without paying creative work.
[0080] Figure 1 A flowchart of a method for implementing a cloud desktop management system based on container technology provided in an embodiment of the present invention. DETAILED DESCRIPTION
[0081] The exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although the exemplary embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be limited by the embodiments set forth herein. On the contrary, these embodiments are provided to enable a more thorough understanding of the present disclosure and to fully convey the scope of the present disclosure to those skilled in the art.
[0082] The terms "comprises" and "having" and any variations thereof in the description embodiments, claims and drawings of the present invention are intended to cover non-exclusive inclusions, for example, including a series of steps or units.
[0083] The technical solution of the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments.
[0084] A method for implementing a cloud desktop management system based on container technology, comprising:
[0085] 1. Construction of container desktop image
[0086] Mirror image production:
[0087] System administrators build desktop container images by writing Dockerfiles based on actual needs. Dockerfiles specify the container's basic operating system, desktop environment (such as GNOME, Xfce), common software (such as browsers, office suites), and other applications.
[0088] Administrators can also customize multiple container images based on the needs of different user groups. For example, one image may contain development environment tools (such as IDE and code management tools), while another may contain commonly used office software.
[0089] Image storage and distribution:
[0090] After the image is built, upload it to the Docker image repository (such as a private registry or cloud-based DockerHub). When the system needs to start a desktop instance, the node will pull the corresponding image from the image repository to start it.
[0091] The image uses a layered storage mechanism, and even images of different versions can share common layers, which reduces the storage overhead of the image and reduces the time to pull the image.
[0092] 2. Building and configuring a Docker Swarm cluster
[0093] Cluster initialization:
[0094] The cloud desktop system uses Docker Swarm cluster for container orchestration and management. In actual deployment, you first need to install Docker on several physical or virtual servers and initialize these nodes into a Swarm cluster using the Swarm command line tool.
[0095] One of the nodes serves as the management node of the Swarm cluster, responsible for cluster scheduling and status monitoring, and the other nodes serve as working nodes for running desktop container services.
[0096] Load balancing and service scheduling:
[0097] When a user requests to start a cloud desktop, Docker Swarm automatically allocates container instances to working nodes with sufficient resources based on the system's resource usage.
[0098] The Swarm cluster automatically balances the load on each node to ensure proper performance and resource allocation for the desktop container.
[0099] 3. Starting and destroying cloud desktop instances
[0100] User login and desktop startup:
[0101] The user initiates a login request through a remote desktop client (such as RDP or VNC). The system determines the desktop instance type and the corresponding container image based on the user's identity information and permissions.
[0102] The system calls the Docker API to start a new desktop container instance on the Swarm cluster. The container instance is based on a predefined desktop image and provides an independent operating system environment for users.
[0103] Container quick start:
[0104] Containers start much faster than virtual machines, usually in just a few seconds. Users can quickly connect to their cloud desktops after logging in, providing a seamless desktop experience.
[0105] At startup, the system will mount the user's personal data storage directory into the container to ensure the persistence of user data.
[0106] Dynamic destruction of containers:
[0107] When a user ends a session or is inactive for a long time, the system automatically destroys the corresponding desktop container to free up server resources. The dynamic startup and destruction mechanism of the container ensures efficient use of system resources.
[0108] 4. Persistence and sharing of user data
[0109] Storage mount:
[0110] Each user's personal data and work files are stored in centralized network storage (such as NFS, Ceph, etc.). When the user's desktop container is started, the system automatically mounts the user's personal storage directory to the container's file system.
[0111] Any file operations performed by the user on the desktop are saved in the mounted storage, ensuring data persistence and availability across sessions.
[0112] Access to shared resources:
[0113] The system provides users with the function of accessing shared resources. Administrators can mount public files, applications, or project resources into the desktop containers of all users to support collaboration and resource sharing.
[0114] 5. Network configuration and isolation
[0115] Network Isolation:
[0116] To ensure that desktop instances of different users are isolated from each other, the system configures an independent Docker network namespace for each desktop container. In this way, desktop instances of different users are in an isolated network environment and cannot communicate directly with each other.
[0117] External access and proxies:
[0118] Applications in the desktop container can be accessed externally by configuring port mapping. Users can connect to the desktop environment in the container through RDP or other remote desktop protocols.
[0119] Through Docker's port mapping and reverse proxy containers, the system can flexibly control the ports and services exposed by the container while ensuring the isolation within the container.
[0120] Security policy and traffic control:
[0121] Administrators can configure traffic control, bandwidth restrictions, and access rights through network policies based on user or tenant needs. For example, they can restrict certain users to access only specific external resources or perform network isolation between multiple tenants.
[0122] 6. Elastic expansion of the system
[0123] Dynamic expansion and contraction:
[0124] As the number of users increases, administrators can add more worker nodes to the Swarm cluster to increase the system's processing power. Swarm will automatically assign new desktop container instances to the newly added nodes to ensure system load balancing.
[0125] When the number of users decreases or the system load decreases, the system also supports dynamic scaling, destroying some idle desktop containers or shutting down some working nodes to save resources.
[0126] Multi-tenancy support:
[0127] The system supports multi-tenant environments. By allocating independent Docker networks and container images to different tenants, the desktop instances of each tenant are isolated from each other in terms of resources and security.
[0128] The system customizes different desktop images, network configurations, and storage policies based on tenants' business needs to ensure flexibility and security.
[0129] 7. Logging and Monitoring
[0130] Real-time monitoring:
[0131] The system monitors the status of each desktop container and resource usage (such as CPU, memory, network traffic, etc.) in real time through the Docker Swarm management interface. Administrators can view the health status of all nodes and containers in the cluster through the dashboard to detect and handle faults in a timely manner.
[0132] Logging and analysis:
[0133] The operation logs of each container instance can be centrally stored and analyzed to help administrators troubleshoot and optimize performance. For example, data such as user login time, session duration, container startup and destruction can be recorded.
[0134] A cloud desktop management system based on container technology, comprising:
[0135] Container desktop image: The traditional virtual machine desktop environment is packaged into a container image, each of which contains an operating system, a desktop environment, and necessary applications. These images can be generated, distributed, and maintained on demand.
[0136] Docker Swarm cluster: The entire cloud desktop system is managed and scheduled based on Docker Swarm. The Swarm cluster is responsible for allocating and scheduling container instances to ensure high availability and load balancing of desktop containers.
[0137] User terminal management module: Users connect to the remote cloud desktop through a lightweight client terminal. The terminal can be a PC, mobile device or thin client. The system automatically assigns a desktop container instance to each user.
[0138] Container startup and management module: This module is responsible for the dynamic startup, monitoring and destruction of containers. When a user initiates a connection request, the system starts the corresponding desktop container in the background and binds it to the user terminal.
[0139] Storage management module: provides users with personal data storage and shared directories, which are mounted to each container desktop through network storage (such as NFS and Ceph) to ensure the persistence of user data and cross-container access.
[0140] The construction and management of container desktop images include:
[0141] Image production and packaging:
[0142] Use Dockerfile to build a container desktop image, which contains a desktop environment (such as Xfce, GNOME) and basic applications required by users (such as browsers and office software).
[0143] Each image is equivalent to a lightweight desktop operating system, which is much smaller than a traditional virtual machine image, and is more efficient to produce and distribute.
[0144] Customize and update on demand:
[0145] The system supports on-demand customization of desktop images, for example, different desktop environments and applications can be provided according to different user groups or tenants.
[0146] When updating an image, you only need to modify the Dockerfile and rebuild the new version of the image. Updates can be made by simply pulling the new image, supporting rapid iteration and upgrades.
[0147] Image storage and distribution:
[0148] The image is stored in an image repository (such as Docker Registry). When a new desktop instance needs to be started, the system pulls the image from the image repository and starts the corresponding container service.
[0149] Image distribution and deployment are fast. Through the hierarchical storage mechanism of containers, different layers of images can be reused, reducing bandwidth usage and distribution time.
[0150] Launch and manage container desktops, including:
[0151] Service orchestration based on Docker Swarm:
[0152] The system uses Docker Swarm cluster for service orchestration, and all desktop containers are managed as Swarm services. Starting a cloud desktop is equivalent to starting a Docker service instance.
[0153] When a user requests to log in, Swarm automatically allocates the appropriate node and starts the container, ensuring load balancing and optimal utilization of resources.
[0154] Dynamic startup and recovery:
[0155] When a user connection request is initiated, the system will start a container instance in real time. When the user connection is disconnected or inactive for a long time, the system will automatically destroy the container to release resources.
[0156] The startup process is very fast, and the startup time of the container is much lower than that of the traditional virtual machine, thus improving the user experience.
[0157] Service Management and Monitoring:
[0158] The system monitors the running status of each desktop container in real time through the Swarm cluster management interface to ensure high availability and disaster recovery. When any node fails, Swarm will automatically reschedule the container to other healthy nodes.
[0159] At the same time, the system supports monitoring and logging of each desktop instance, making it easier for operation and maintenance personnel to manage and maintain user sessions.
[0160] Network and storage configuration for user desktops, including:
[0161] Network isolation and access control:
[0162] Each desktop container runs in an isolated network namespace, ensuring that desktop instances of different users do not interfere with each other and cannot directly communicate over the network.
[0163] The system supports flexible network policy configuration. User desktop containers can provide external services or access external network resources through NAT or proxy containers.
[0164] Traffic control and network isolation can be performed for different users or tenants based on user needs to ensure security between tenants.
[0165] Storage mounting and user data persistence:
[0166] When each user desktop container is started, the system automatically mounts the user's personal storage directory (such as NFS or Ceph storage) into the container to ensure that the user's personal data can be persistently stored across sessions and containers.
[0167] In addition, users' public resources (such as software and document libraries) can be mounted into containers through shared storage to ensure unified management and fast access to data.
[0168] Dynamic scalability of the system, including:
[0169] Resource elasticity management:
[0170] The system supports on-demand expansion of computing resources in the Swarm cluster. When the number of users increases, new physical or virtual nodes can be added to the cluster to achieve horizontal expansion. The Swarm cluster will automatically distribute the load to the new nodes to ensure stable system performance.
[0171] When user activity is low, the system can automatically destroy some idle containers or release computing resources to ensure maximum resource utilization.
[0172] User grouping and policy management:
[0173] The system supports dividing users into different groups or tenants, providing personalized desktop images and resource allocation strategies for different tenants to ensure security and isolation in a multi-tenant environment.
[0174] Each tenant's desktop instance can flexibly set CPU, memory and storage resources according to predefined policies, supporting on-demand billing and refined management.
[0175] Beneficial effects:
[0176] Fast startup:
[0177] Compared with traditional virtual machines, the startup speed of container-based cloud desktop systems is significantly improved. Containers share the host kernel and start up in just a few seconds, greatly shortening user waiting time.
[0178] High resource utilization:
[0179] Container technology reduces the consumption of system resources by sharing the kernel of the host operating system. More cloud desktop instances can be run on the same hardware resources, thereby greatly improving resource utilization and cost-effectiveness.
[0180] Convenient management and operation:
[0181] Through automated orchestration and management of the Docker Swarm cluster, operations and maintenance personnel can use standardized container management tools to operate, monitor, and expand desktop instances, reducing the complex maintenance of traditional virtual machines.
[0182] Flexible management of desktop images:
[0183] Through the flexible packaging mechanism of container images, the system can quickly create or update the desktop environment according to user needs to meet the customized needs in different business scenarios.
[0184] The above specific implementation methods further illustrate the objectives, technical solutions and beneficial effects of the present invention in detail. It should be understood that the above are only specific implementation methods of the present invention and are not intended to limit the scope of protection of the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included in the scope of protection of the present invention.
Claims
1. A method for implementing a cloud desktop management system based on container technology, characterized in that: The implementation method includes: Step S1: Build a container desktop image; Step S2: Building and configuring the Docker Swarm cluster; Step S3: Starting and managing the container desktop; Step S4: Persistence and sharing of user data; Step S5: Network configuration and isolation; Step S6: Establish elastic expansion of the system; Step S7: Create logs and monitor.
2. According to the implementation method of a cloud desktop management system based on container technology according to claim 1, it is characterized in that: The step S1: building a container desktop image specifically includes: Image production: According to actual needs, build a desktop container image by writing a Dockerfile; the Dockerfile specifies the basic operating system, desktop environment, common software and other applications of the container; Customize multiple container images according to the needs of different user groups; Image storage and distribution: After the image is built, it is uploaded to the Docker image repository. When the system needs to start a desktop instance, the node pulls the corresponding image from the image repository to start it. Images use a layered storage mechanism, and images of different versions share common layers.
3. According to the implementation method of a cloud desktop management system based on container technology according to claim 1, it is characterized in that: The step S2: building and configuring the Docker Swarm cluster specifically includes: Cluster initialization: The cloud desktop system uses the Docker Swarm cluster for container orchestration and management. In actual deployment, you need to install Docker on several physical or virtual servers and initialize the nodes into a Swarm cluster using the Swarm command line tool. One of the nodes is used as the management node of the Swarm cluster, responsible for cluster scheduling and status monitoring, and the remaining nodes are used as working nodes to run desktop container services; Load balancing and service scheduling: When a user requests to start a cloud desktop, Docker Swarm will allocate container instances to working nodes with sufficient resources based on the system's resource usage; The Swarm cluster automatically balances the load on each node to ensure proper performance and resource allocation for the desktop container.
4. According to the implementation method of a cloud desktop management system based on container technology according to claim 1, it is characterized in that: The step S3: starting and managing the container desktop specifically includes: User login and desktop startup: The user initiates a login request through the remote desktop client. The system determines the desktop instance type and the corresponding container image based on the user's identity information and permissions. The system calls the Docker API to start a new desktop container instance on the Swarm cluster; Container quick start: Containers start much faster than virtual machines; At startup, the system mounts the user's personal data storage directory into the container; Dynamic destruction of containers: When a user ends a session or is inactive for a long time, the system automatically destroys the corresponding desktop container to release server resources.
5. According to the implementation method of a cloud desktop management system based on container technology according to claim 1, it is characterized in that: The step S4: persistence and sharing of user data specifically includes: Storage mount: Each user’s personal data and work files are stored in centralized network storage; Any file operations performed by the user on the desktop are saved in the mounted storage; Access to shared resources: The system provides users with the function of accessing shared resources, mounting public files, applications, or project resources into the desktop containers of all users to support collaboration and resource sharing.
6. According to the implementation method of a cloud desktop management system based on container technology according to claim 1, it is characterized in that: The step S5: network configuration and isolation specifically includes: Network Isolation: Ensure that desktop instances between different users are isolated from each other and configure independent Docker network namespaces for each desktop container; External access and proxies: Applications inside the desktop container can be accessed externally by configuring port mapping, and users can connect to the desktop environment in the container through RDP or other remote desktop protocols; Through Docker's port mapping and reverse proxy container, control the ports and services exposed by the container, while ensuring the isolation within the container; Security policy and traffic control: Configure traffic control, bandwidth restrictions, and access permissions through network policies based on user or tenant needs.
7. According to the method for implementing a cloud desktop management system based on container technology in claim 1, it is characterized in that: The step S6: establishing elastic expansion of the system specifically includes: Dynamic expansion and contraction: As the number of users increases, more worker nodes are added to the Swarm cluster, and Swarm automatically assigns new desktop container instances to the newly added nodes; When the number of users decreases or the system load decreases, dynamic capacity reduction is supported, destroying some idle desktop containers or shutting down some working nodes; Multi-tenancy support: Independent Docker networks and container images are allocated to different tenants, and the desktop instances of each tenant are isolated from each other in terms of resources and security; Customize different desktop images, network configurations, and storage policies based on tenants' business needs.
8. According to the method for implementing a cloud desktop management system based on container technology in claim 1, it is characterized in that: The step S7: establishing logs and monitoring specifically includes: Real-time monitoring: The system monitors the status and resource usage of each desktop container in real time through the Docker Swarm management interface. The system also checks the health status of all nodes and containers in the cluster through the dashboard, and detects and handles faults in a timely manner. Logging and analysis: The operation logs of each container instance are centrally stored and analyzed.
9. The method for implementing a cloud desktop management system based on container technology according to claim 8 is characterized in that: The resource usage includes: CPU, memory, and network traffic.
Citation Information
Cited By
Multi-modal data acquisition method and device based on Sidecar container
CN120256027A
Generation method of containerized desktop system and related equipment
CN122470281A
A method for generating a containerized desktop system and related devices
CN122470281B