Cloud desktop system processing method, cloud desktop system control method and related equipment

By creating and managing cloud desktop systems in the container of cloud servers, the problem of resource allocation and waste in multiple cloud desktop systems is solved, and efficient resource utilization and cost reduction of cloud desktop systems are achieved.

CN114116092BActive Publication Date: 2025-03-18BEIJING BAIDU NETCOM SCI & TECH CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202111322039.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-11-09
Publication Date
2025-03-18
Estimated Expiration
2041-11-09

AI Technical Summary

Technical Problem

In multiple cloud desktop systems, how to effectively allocate server resources to avoid resource waste while ensuring user experience?

Method used

By creating a cloud desktop system in a container of a cloud server, responding to the client's creation instructions, creating containers based on resource usage information, and loading cloud desktop image files in the container to run the cloud desktop system.

Benefits of technology

It realizes dynamic allocation of server resources according to client needs, avoids resource waste and reduces the implementation cost of cloud desktop systems.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114116092B_ABST
    Figure CN114116092B_ABST
Patent Text Reader

Abstract

The present disclosure provides a cloud desktop system processing method, a cloud desktop system control method and related equipment, which relate to the field of computer technology, and in particular to the field of cloud computing technology. The specific implementation scheme is: in response to the cloud desktop creation instruction of the client, a container is created based on the resource usage information of the cloud server; by loading the cloud desktop image file in the container, the cloud desktop system is run. The embodiment of the present disclosure can avoid the waste of cloud server resources and reduce the cost of cloud desktop implementation.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of computer technology, in particular to the field of cloud computing technology, and specifically to a cloud desktop system processing method, a cloud desktop system control method, and related equipment. Background Art

[0002] With the rapid development of cloud computing, cloud desktops are being used in more and more scenarios, such as mobile teaching scenarios and mobile office scenarios. Cloud desktop technology can deliver the display content of cloud servers to the local desktop, providing users with an experience that is almost the same as that of the server.

[0003] When implementing multiple cloud desktop systems on a server, it is necessary to avoid wasting server resources while ensuring the user experience of each cloud desktop system. Therefore, how to allocate resources among multiple cloud desktop systems to make full use of server resources has attracted the attention of more and more developers. Summary of the invention

[0004] The present invention provides a cloud desktop system processing method, a cloud desktop system control method and related devices.

[0005] According to one aspect of the present disclosure, a cloud desktop system processing method is provided, including:

[0006] In response to a cloud desktop creation instruction from a client, a container is created based on resource usage information of a cloud server;

[0007] The cloud desktop system is run by loading the cloud desktop image file in the container.

[0008] According to another aspect of the present disclosure, a cloud desktop system control method is provided, comprising:

[0009] Obtaining cloud desktop control instructions from a client associated with the cloud desktop system;

[0010] The cloud desktop system executes the cloud desktop control instruction to obtain a cloud desktop multimedia data stream, and feeds back the cloud desktop multimedia data stream to the client;

[0011] The cloud desktop system is configured in a container of a cloud server; the container is created by responding to a cloud desktop creation instruction of the client.

[0012] According to another aspect of the present disclosure, a cloud desktop system processing device is provided, comprising:

[0013] A container creation module, for responding to a cloud desktop creation instruction from a client and creating a container based on resource usage information of a cloud server;

[0014] The cloud desktop system running module is used to run the cloud desktop system by loading the cloud desktop image file in the container.

[0015] According to another aspect of the present disclosure, a cloud desktop system control device is provided, comprising:

[0016] A control instruction acquisition module, used to acquire cloud desktop control instructions from a client associated with the cloud desktop system;

[0017] A multimedia data stream feedback module, configured to obtain a cloud desktop multimedia data stream by executing the cloud desktop control instruction through the cloud desktop system, and to feed back the cloud desktop multimedia data stream to the client;

[0018] The cloud desktop system is configured in a container of a cloud server; the container is created by responding to a cloud desktop creation instruction of the client.

[0019] According to another aspect of the present disclosure, there is provided an electronic device, comprising:

[0020] at least one processor; and

[0021] a memory communicatively connected to at least one processor; wherein,

[0022] The memory stores instructions that can be executed by at least one processor, and the instructions are executed by at least one processor so that the at least one processor can execute the cloud desktop system processing method described in any embodiment of the present disclosure, or execute the cloud desktop system control method described in any embodiment of the present disclosure.

[0023] According to another aspect of the present disclosure, a non-transitory computer-readable storage medium storing computer instructions is provided, wherein the computer instructions are used to enable a computer to execute the cloud desktop system processing method described in any embodiment of the present disclosure, or to execute the cloud desktop system control method described in any embodiment of the present disclosure.

[0024] According to another aspect of the present disclosure, a computer program product is provided, including a computer program, which, when executed by a processor, implements the cloud desktop system processing method described in any embodiment of the present disclosure, or executes the cloud desktop system control method described in any embodiment of the present disclosure.

[0025] The disclosed embodiments can avoid wasting resources of cloud servers and reduce the cost of implementing cloud desktops.

[0026] It should be understood that the content described in this section is not intended to identify the key or important features of the embodiments of the present disclosure, nor is it intended to limit the scope of the present disclosure. Other features of the present disclosure will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS

[0027] The accompanying drawings are used to better understand the present solution and do not constitute a limitation of the present disclosure.

[0028] Figure 1 is a schematic diagram of a cloud desktop system processing method provided according to an embodiment of the present disclosure;

[0029] Figure 2a is a schematic diagram of a cloud desktop system processing method provided according to an embodiment of the present disclosure;

[0030] Figure 2b is a cloud desktop system architecture diagram provided according to an embodiment of the present disclosure;

[0031] Figure 3 is a schematic diagram of a cloud desktop system control method provided according to an embodiment of the present disclosure;

[0032] Figure 4 is a schematic diagram of a cloud desktop system control method provided according to an embodiment of the present disclosure;

[0033] Figure 5 is a schematic diagram of a cloud desktop system processing device provided according to an embodiment of the present disclosure;

[0034] Figure 6 is a schematic diagram of a cloud desktop system control device provided according to an embodiment of the present disclosure;

[0035] Figure 7 It is a block diagram of an electronic device used to implement the cloud desktop system processing method or cloud desktop system control method of the embodiment of the present disclosure. DETAILED DESCRIPTION

[0036] The following is a description of exemplary embodiments of the present disclosure in conjunction with the accompanying drawings, including various details of the embodiments of the present disclosure to facilitate understanding, which should be considered as merely exemplary. Therefore, it should be recognized by those of ordinary skill in the art that various changes and modifications may be made to the embodiments described herein without departing from the scope and spirit of the present disclosure. Similarly, for the sake of clarity and conciseness, descriptions of well-known functions and structures are omitted in the following description.

[0037] Figure 1 This is a flow chart of a cloud desktop system processing method disclosed in an embodiment of the present disclosure. This embodiment can be applied to the case where a cloud desktop system is constructed through container technology. The method of this embodiment can be executed by a cloud desktop system processing device, which can be implemented in software and / or hardware, and is specifically configured in an electronic device with certain data computing capabilities. The electronic device can be a client device or a server device, and the client device can be a mobile phone, a tablet computer, a vehicle terminal, a desktop computer, etc.

[0038] S110 . In response to a cloud desktop creation instruction from the client, create a container based on resource usage information of the cloud server.

[0039] For ease of understanding, the cloud server for deploying the cloud desktop system is first explained. The cloud server can be an ARM architecture server or an X86 architecture server. A container manager runs in the cloud server, and the container manager can be used to create or destroy containers. Exemplarily, the operating system running in the cloud server can be a LINUX operating system, and an LXC (Linux container) container manager runs in the LINUX operating system for creating and destroying LXC containers.

[0040] In the disclosed embodiment, after the container manager obtains the cloud desktop creation instruction sent by the client through the operating system of the cloud server, it can create a new container based on the resource usage information of the cloud server to run the cloud desktop system required by the user. Specifically, after receiving the cloud desktop creation instruction sent by the client, the container manager parses the cloud desktop creation instruction to obtain the resources expected by the client for creating the cloud desktop, and then based on the resource usage information of the cloud server, determines whether the unoccupied resources of the cloud server can meet the resources expected by the client, and if so, creates a container based on the resources expected by the client.

[0041] Exemplarily, after receiving the cloud desktop creation instruction sent by the client, the container manager parses the cloud desktop creation instruction and determines that the client needs 3G of memory to run the cloud desktop system. At this time, the container manager determines whether the container can be created based on the resource usage information of the cloud server, that is, whether the remaining memory of the cloud server is greater than 3G. If so, a container occupying 3G of memory can be created to run the cloud desktop system required by the client in the container.

[0042] S120: Run the cloud desktop system by loading the cloud desktop image file in the container.

[0043] The cloud desktop image file is a file packaged from the services included in the cloud desktop system. The desktop system can be run by running the cloud desktop image file in the container. Exemplarily, the cloud desktop image file includes a cloud desktop operating system, a video stream push service, and a real-time control stream service. The cloud desktop operating system is used to execute cloud desktop control instructions sent by the client, the video stream push service is used to send the video stream of the cloud desktop to the client, and the real-time control stream service is used to transmit the cloud desktop control instructions sent by the client to the cloud desktop operating system.

[0044] In the disclosed embodiment, after the cloud server completes the creation of the container based on the resources expected by the client, the container manager controls the container to load the cloud desktop image file to run the cloud desktop system. Exemplarily, the cloud desktop image file is packaged by the cloud desktop operating system, the video streaming service and the real-time control streaming service. By running the cloud desktop image file in the container, the cloud desktop operating system can be run, and information transmission between the cloud desktop operating system and the remote client can be realized. Specifically, it can receive and execute the cloud desktop control instructions sent by the client, and transmit the video stream of the cloud desktop to the client. Among them, a variety of third-party applications such as instant messaging software, office software or entertainment software can be installed in the cloud desktop operating system to meet the different usage needs of client users.

[0045] According to the technical solution of the disclosed embodiment, the container manager responds to the cloud desktop creation instruction of the client, creates a container based on the resource usage information of the cloud server, loads the cloud desktop image file in the container, runs the cloud desktop system, and can allocate the resources of the cloud server according to the usage requirements of the client, builds a container based on the allocated resources, and runs the cloud desktop system in the container, thereby avoiding the waste of server resources and saving the cost of building the cloud desktop system.

[0046] Figure 2a This is a schematic diagram of a cloud desktop system processing method in an embodiment of the present disclosure, which is further refined on the basis of the above embodiment, and provides specific steps for creating a container based on the resource usage information of the cloud server in response to the cloud desktop creation instruction of the client. Figure 2a A cloud desktop system processing method provided by an embodiment of the present disclosure is described, including the following:

[0047] S210: In response to a cloud desktop creation instruction from a client, obtain desired resource information in the cloud desktop creation instruction.

[0048] The expected resource information refers to the resources required to run the cloud desktop system and contained in the cloud desktop creation instruction. Specifically, the expected resource information may include CPU (Central Processing Unit) usage, memory usage, and disk usage.

[0049] In the disclosed embodiment, after receiving the cloud desktop creation instruction sent by the client, the container manager first parses the cloud desktop creation instruction to obtain the expected resource information contained in the cloud desktop creation instruction, so as to allocate resources to the current client according to the expected resource information, and create a container based on the allocated resources. Exemplarily, the container manager parses the cloud desktop creation instruction sent by the client to obtain the CPU usage, memory usage, and disk usage required by the client, so as to determine whether the current remaining resources of the cloud server can meet the resource amount required by the client to create a container.

[0050] S220: Create a container based on the expected resource information and the resource usage information of the cloud server.

[0051] In the disclosed embodiment, after obtaining the expected resource information contained in the cloud desktop creation instruction, the container required by the client can be created based on the expected resource information and the resource usage information of the cloud server. Specifically, based on the resource usage information of the cloud server, the remaining resource amount of the cloud server is determined, and it is judged whether the remaining resource amount can meet the expected resource amount in the client's expected resource information. If it does, the container is created based on the expected resource information. Compared with the method of pre-establishing containers, the solution of the disclosed embodiment can achieve reasonable allocation of cloud server resources and avoid waste of cloud server resources.

[0052] Exemplarily, the expected resource information includes expected CPU occupancy, expected memory occupancy and expected disk occupancy. Based on the resource usage information of the cloud server, the unoccupied CPU, memory and disk in the cloud server are determined, and a judgment is made as to whether the unoccupied amount can satisfy the expected CPU occupancy, expected memory occupancy and expected disk occupancy contained in the above-mentioned expected resource information. If so, a container is created based on the expected resource information, and a container is created based on the client's needs to run the cloud desktop system.

[0053] Optionally, the cloud server is an ARM chip server; the cloud desktop image file includes a cloud desktop operating system, a real-time control flow service, and a video stream push service.

[0054] In this optional embodiment, the cloud desktop system architecture is as follows Figure 2bAs shown, the cloud server is an ARM chip server, which includes a CPU, a Mali GPU (Mali, Graphics Processing Unit) and a NIC (Network Interface Controller). Among them, the Mali GPU can be used for encoding multimedia data. Compared with the traditional X86 architecture server, when sending multimedia data to the outside of the container, there is no need to integrate additional GPU chips, thereby reducing the cost of building a cloud desktop system. The LINUX operating system runs in the ARM chip server, and the Namespace, Cgroup, Overlayfs, Veth and other parameters of the LINUX kernel are configured in the LINUX operating system, so that the LINUX operating system can support the LXC container manager. The LXC container manager is used to create, manage and destroy LXC containers. After the specific LXC container is created in the cloud server, the cloud desktop system is run by loading the cloud desktop image file in the container. Among them, the cloud desktop image file includes a cloud desktop operating system, a real-time control stream server and a video stream push service. The cloud desktop operating system is used to execute the cloud desktop control instructions sent by the client, the video stream push service is used to send the cloud desktop video stream to the client, and the real-time control stream service is used to transmit the cloud desktop control instructions sent by the client to the cloud desktop operating system. In order to meet the different usage needs of client users, a variety of third-party applications can be installed and run in the cloud desktop operating system, such as entertainment applications, office applications or communication applications. It is worth noting that the video stream push service and real-time control stream service in the cloud desktop system are services developed based on ARM chip servers for interacting with the cloud desktop system and clients.

[0055] S230: Run the cloud desktop system by loading the cloud desktop image file in the container.

[0056] Optionally, this embodiment also includes:

[0057] In response to a cloud desktop release instruction from the client, the container where the cloud desktop system associated with the client is located is destroyed.

[0058] In this optional embodiment, if the client does not need to use the cloud desktop, the operating system of the cloud server can send a cloud desktop release instruction to the container manager, and the container manager can respond to the cloud desktop release instruction and destroy the container where the cloud desktop system associated with the client is located. By destroying the container where the cloud desktop system associated with the client is located in a timely manner after the client no longer needs to use the cloud desktop, the cloud server resources can be released in a timely manner, avoiding unnecessary occupation of resources and achieving full utilization of the cloud server resources.

[0059] The technical solution of the disclosed embodiment responds to the cloud desktop creation instruction of the client, obtains the expected resource information in the cloud desktop creation instruction, and creates a container based on the expected resource information and the resource usage information of the cloud server. Finally, by loading the cloud desktop image file in the container and running the cloud desktop system, the resources of the cloud server can be allocated according to the usage requirements of the client, and the container is built based on the allocated resources, thereby avoiding the waste of server resources and saving the cost of building the cloud desktop system.

[0060] Figure 3 This is a flow chart of a cloud desktop system control method disclosed in an embodiment of the present disclosure. This embodiment can be applied to the case where a cloud desktop system is constructed by container technology. The method of this embodiment can be executed by a cloud desktop system control device, which can be implemented in software and / or hardware, and is specifically configured in an electronic device with certain data computing capabilities. The electronic device can be a client device or a server device, and the client device can be a mobile phone, a tablet computer, a vehicle terminal, a desktop computer, etc.

[0061] S310: Obtain a cloud desktop control instruction from a client associated with the cloud desktop system.

[0062] In the disclosed embodiment, the cloud desktop system first obtains a cloud desktop control instruction from a client associated with the cloud desktop system. Specifically, the client sends a cloud desktop control instruction to the cloud desktop system associated with the client through the operating system of the cloud server, and the cloud desktop system obtains the cloud desktop control instruction sent by the client through the operating system of the cloud server.

[0063] S320: Execute the cloud desktop control instruction through the cloud desktop system to obtain a cloud desktop multimedia data stream, and feed back the cloud desktop multimedia data stream to the client.

[0064] In the disclosed embodiment, the cloud desktop system executes the cloud desktop control instruction, obtains the multimedia data stream in the process of executing the cloud desktop control instruction, and finally feeds back the multimedia data stream to the client. Specifically, the cloud desktop system executes the cloud desktop control instruction, obtains the cloud desktop image and audio data in the process of executing the control instruction, and finally feeds back the cloud desktop image and audio data to the client through the operating system of the cloud server.

[0065] The cloud desktop system is configured in a container of a cloud server; the container is created by responding to a cloud desktop creation instruction from a client.

[0066] In the disclosed embodiment, the cloud desktop system is configured in a container of a cloud server. The container is created by a container manager running on the cloud server in response to a cloud desktop creation instruction from a client. When a client user needs to use the cloud desktop, resources can be allocated for running the cloud desktop system according to user usage needs. This can make full use of the resources of the cloud server and avoid waste of resources due to excessive pre-allocated resources.

[0067] The technical solution of the disclosed embodiment obtains a cloud desktop control instruction from a client associated with a cloud desktop system, executes the cloud desktop control instruction through the cloud desktop system to obtain a cloud desktop multimedia data stream, and feeds back the cloud desktop multimedia data stream to the client, wherein the cloud desktop system is configured in a container of a cloud server; the container is created by responding to a cloud desktop creation instruction of the client, and can allocate resources of the cloud server according to the usage requirements of the client, build a container based on the allocated resources, and run the cloud desktop system in the container, thereby avoiding waste of server resources and saving the cost of building the cloud desktop system.

[0068] Figure 4 It is a schematic diagram of a cloud desktop system control method in an embodiment of the present disclosure, which is further refined on the basis of the above embodiment, and provides specific steps of obtaining a cloud desktop control instruction from a client associated with the cloud desktop system, and obtaining a cloud desktop multimedia data stream by executing the cloud desktop control instruction through the cloud desktop system, and feeding back the cloud desktop multimedia data stream to the client. The following is a description of a cloud desktop system control method provided in an embodiment of the present disclosure in conjunction with FIG. 2, including the following:

[0069] S410: Obtain cloud desktop control instructions from a client associated with the cloud desktop system through a real-time control stream service in the cloud desktop system.

[0070] In the disclosed embodiment, the cloud desktop system includes a real-time control stream service, which can receive a client associated with the cloud desktop system through the real-time control stream service, and transmit the cloud desktop control instruction transmitted by the operating system of the cloud server, and then transparently transmit the cloud desktop control instruction to the cloud desktop operating system. Among them, various types of third-party applications such as instant messaging applications, office applications or entertainment applications can be installed and run in the cloud desktop operating system.

[0071] For example, the cloud server is an ARM chip server running a LINUX operating system. The real-time control flow service in the cloud desktop system can receive cloud desktop control instructions sent by a client matching the current cloud desktop system from the LINUX operating system of the ARM chip server, wherein the cloud desktop control instructions can be mouse events, keyboard events, or touch screen events for third-party applications installed in the cloud desktop operating system. The client can connect to and operate the cloud desktop through remote desktop control software such as VNC (Virtual Network Console).

[0072] S420: Execute the cloud desktop control instruction through the cloud desktop operating system in the cloud desktop system.

[0073] In the disclosed embodiment, the cloud desktop control instruction sent by the client is executed by the cloud desktop operating system in the cloud desktop system. For example, the cloud desktop system runs the instant messaging software according to the mouse event initiated by the client to open the instant messaging software. It can also be based on the keyboard event initiated by the client to input chat text, and display the text input by the client keyboard.

[0074] S430: Determine the cloud desktop multimedia data stream in the process of the cloud desktop operating system executing the cloud desktop control instruction through the video stream push service in the cloud desktop system, and feed back the cloud desktop multimedia data stream to the client.

[0075] In the embodiments of the present disclosure, when the cloud desktop operating system executes the cloud desktop control instruction, the cloud desktop multimedia data stream in the process of the cloud desktop operating system executing the cloud desktop control instruction can be determined through the video stream push service in the cloud desktop system. Finally, the video stream push service can feedback the cloud desktop multimedia data stream to the client, meet the client's needs for using the cloud desktop, and provide users with a good cloud desktop usage experience.

[0076] Exemplarily, the cloud server is an ARM chip server running a LINUX operating system. The video stream push service in the cloud desktop system collects images and audio data of the cloud desktop when the cloud desktop operating system executes cloud desktop control instructions, and then encodes the images and audio data to obtain a multimedia data stream. The video stream push service can ultimately send the multimedia data stream to the client through the operating system of the ARM chip server.

[0077] Optionally, determining the cloud desktop multimedia data stream in the process of the cloud desktop operating system executing the cloud desktop control instruction through the video stream push service in the cloud desktop system includes:

[0078] Through the video streaming service, multimedia data collected during the cloud desktop operating system's execution of cloud desktop control instructions is collected;

[0079] The Mali GPU of the ARM chip server is used to encode the multimedia data to obtain the cloud desktop multimedia data stream.

[0080] In the disclosed embodiment, a video streaming service is provided in the cloud desktop system to determine the specific method of the cloud desktop multimedia data stream in the process of the cloud desktop operating system executing the cloud desktop control instruction. First, the video streaming service is used to collect the multimedia data in the process of the cloud desktop operating system executing the cloud desktop control instruction, and then the Mali GPU of the ARM chip server is used to encode the multimedia data to obtain the cloud desktop multimedia data stream. The cloud desktop system is built based on the ARM chip server, and the Mali GPU built into the ARM chip server can be directly used when the video stream is pushed, without the need to configure an additional GPU chip, which reduces the cost of building the cloud desktop system.

[0081] The technical solution of the disclosed embodiment obtains cloud desktop control instructions from a client associated with the cloud desktop system through a real-time control stream service in the cloud desktop system, executes the cloud desktop control instructions through a cloud desktop operating system in the cloud desktop system, and finally determines the cloud desktop multimedia data flow in the process of the cloud desktop operating system executing the cloud desktop control instructions through a video stream push service in the cloud desktop system, and feeds back the cloud desktop multimedia data flow to the client. The resources of the cloud server can be allocated according to the usage requirements of the client, a container can be built based on the allocated resources, and the cloud desktop system can be run in the container, thereby avoiding waste of server resources and saving the cost of building the cloud desktop system.

[0082] According to an embodiment of the present disclosure, Figure 5 This is a structural diagram of a cloud desktop system processing device in an embodiment of the present disclosure. The embodiment of the present disclosure is applicable to the case where a cloud desktop system is constructed by container technology. The device is implemented by software and / or hardware and is specifically configured in an electronic device with certain data computing capabilities.

[0083] like Figure 5 The cloud desktop system processing device 500 shown includes: a container creation module 510 and a cloud desktop system operation module 520; wherein,

[0084] The container creation module 510 is used to create a container based on the resource usage information of the cloud server in response to the cloud desktop creation instruction of the client;

[0085] The cloud desktop system running module 520 is used to run the cloud desktop system by loading the cloud desktop image file in the container.

[0086] According to the technical solution of the disclosed embodiment, the container manager responds to the cloud desktop creation instruction of the client, creates a container based on the resource usage information of the cloud server, loads the cloud desktop image file in the container, runs the cloud desktop system, and can allocate the resources of the cloud server according to the usage requirements of the client, builds a container based on the allocated resources, and runs the cloud desktop system in the container, thereby avoiding the waste of server resources and saving the cost of building the cloud desktop system.

[0087] Furthermore, the container creation module 510 includes:

[0088] An expected resource information acquisition unit, configured to respond to a cloud desktop creation instruction from a client and acquire the expected resource information in the cloud desktop creation instruction;

[0089] The container creation unit is used to create a container according to the expected resource information and the resource usage information of the cloud server.

[0090] Furthermore, the cloud desktop system processing device 500 further includes:

[0091] The container destroying module is used to destroy the container where the cloud desktop system associated with the client is located in response to the cloud desktop release instruction of the client.

[0092] Furthermore, the cloud server is an ARM chip server; the cloud desktop image file includes a cloud desktop operating system, a real-time control flow service, and a video streaming service.

[0093] The cloud desktop system processing device provided in the embodiments of the present disclosure can execute the cloud desktop system processing method provided in any embodiment of the present disclosure, and has functional modules and beneficial effects corresponding to the execution method.

[0094] According to an embodiment of the present disclosure, Figure 6 This is a structural diagram of a cloud desktop system control device in an embodiment of the present disclosure. The embodiment of the present disclosure is applicable to the case where a cloud desktop system is constructed by container technology. The device is implemented by software and / or hardware and is specifically configured in an electronic device with certain data computing capabilities.

[0095] like Figure 6 The cloud desktop system control device 600 shown in the figure includes: a control instruction acquisition module 610 and a multimedia data stream feedback module 620; wherein,

[0096] A control instruction acquisition module 610 is used to acquire a cloud desktop control instruction from a client associated with the cloud desktop system;

[0097] The multimedia data stream feedback module 620 is used to obtain a cloud desktop multimedia data stream by executing the cloud desktop control instruction through the cloud desktop system, and to feed back the cloud desktop multimedia data stream to the client;

[0098] The cloud desktop system is configured in a container of a cloud server; the container is created by responding to a cloud desktop creation instruction of the client.

[0099] The technical solution of the disclosed embodiment obtains a cloud desktop control instruction from a client associated with a cloud desktop system, executes the cloud desktop control instruction through the cloud desktop system to obtain a cloud desktop multimedia data stream, and feeds back the cloud desktop multimedia data stream to the client, wherein the cloud desktop system is configured in a container of a cloud server; the container is created by responding to a cloud desktop creation instruction of the client, and can allocate resources of the cloud server according to the usage requirements of the client, build a container based on the allocated resources, and run the cloud desktop system in the container, thereby avoiding waste of server resources and saving the cost of building the cloud desktop system.

[0100] Furthermore, the cloud server is an ARM chip server;

[0101] The control instruction acquisition module 610 includes:

[0102] A control instruction acquisition unit, used to acquire a cloud desktop control instruction from a client associated with the cloud desktop system through a real-time control stream service in the cloud desktop system;

[0103] The multimedia data stream feedback module 620 includes:

[0104] A control instruction execution unit, used to execute the cloud desktop control instruction through the cloud desktop operating system in the cloud desktop system;

[0105] The multimedia data stream feedback unit is used to determine the cloud desktop multimedia data stream in the process of the cloud desktop operating system executing the cloud desktop control instruction through the video stream push service in the cloud desktop system, and feed back the cloud desktop multimedia data stream to the client.

[0106] Furthermore, the multimedia data stream feedback unit is specifically used for:

[0107] Collect multimedia data during the process of the cloud desktop operating system executing the cloud desktop control instruction through the video stream push service;

[0108] The Mali GPU of the ARM chip server is used to encode the multimedia data to obtain a cloud desktop multimedia data stream.

[0109] The cloud desktop system control device provided in the embodiments of the present disclosure can execute the cloud desktop system control method provided in any embodiment of the present disclosure, and has the corresponding functional modules and beneficial effects of the execution method.

[0110] In the technical solution of the present disclosure, the collection, storage, use, processing, transmission, provision and disclosure of user personal information involved are in compliance with the provisions of relevant laws and regulations and do not violate public order and good morals.

[0111] According to an embodiment of the present disclosure, the present disclosure also provides an electronic device, a readable storage medium and a computer program product.

[0112] Figure 7 A schematic block diagram of an example electronic device 700 that can be used to implement an embodiment of the present disclosure is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present disclosure described and / or required herein.

[0113] like Figure 7 As shown, the device 700 includes a computing unit 701, which can perform various appropriate actions and processes according to a computer program stored in a read-only memory (ROM) 702 or a computer program loaded from a storage unit 708 into a random access memory (RAM) 703. In the RAM 703, various programs and data required for the operation of the device 700 can also be stored. The computing unit 701, the ROM 702, and the RAM 703 are connected to each other via a bus 704. An input / output (I / O) interface 705 is also connected to the bus 704.

[0114] A number of components in the device 700 are connected to the I / O interface 705, including: an input unit 706, such as a keyboard, a mouse, etc.; an output unit 707, such as various types of displays, speakers, etc.; a storage unit 708, such as a disk, an optical disk, etc.; and a communication unit 709, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 709 allows the device 700 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.

[0115] The computing unit 701 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the computing unit 701 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various dedicated artificial intelligence (AI) computing chips, various computing units running machine learning model algorithms, digital signal processors (DSPs), and any appropriate processors, controllers, microcontrollers, etc. The computing unit 701 performs the various methods and processes described above, such as a cloud desktop system processing method or a cloud desktop system control method. For example, in some embodiments, the cloud desktop system processing method or the cloud desktop system control method may be implemented as a computer software program, which is tangibly included in a machine-readable medium, such as a storage unit 708. In some embodiments, part or all of the computer program may be loaded and / or installed on the device 700 via the ROM 702 and / or the communication unit 709. When the computer program is loaded into the RAM 703 and executed by the computing unit 701, one or more steps of the cloud desktop system processing method or the cloud desktop system control method described above may be performed. Alternatively, in other embodiments, the computing unit 701 may be configured to execute the cloud desktop system processing method or the cloud desktop system control method in any other appropriate manner (for example, by means of firmware).

[0116] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.

[0117] The program code for implementing the method of the present disclosure may be written in any combination of one or more programming languages. These program codes may be provided to a processor or controller of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that the program code, when executed by the processor or controller, enables the functions / operations specified in the flow chart and / or block diagram to be implemented. The program code may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.

[0118] In the context of the present disclosure, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or equipment. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or equipment, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0119] To provide interaction with a user, the systems and techniques described herein can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and pointing device (e.g., a mouse or trackball) through which the user can provide input to the computer. Other types of devices can also be used to provide interaction with the user; for example, the feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including acoustic input, voice input, or tactile input).

[0120] The systems and techniques described herein may be implemented in a computing system that includes back-end components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes front-end components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such back-end components, middleware components, or front-end components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), and the Internet.

[0121] A computer system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The relationship of client and server is generated by computer programs running on respective computers and having a client-server relationship with each other. The server may be a cloud server, a server of a distributed system, or a server combined with a blockchain.

[0122] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps recorded in this disclosure can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solutions disclosed in this disclosure can be achieved, and this document does not limit this.

[0123] The above specific implementations do not constitute a limitation on the protection scope of the present disclosure. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present disclosure shall be included in the protection scope of the present disclosure.

Claims

1. A cloud desktop system processing method, comprising: In response to a cloud desktop creation instruction from a client, obtaining desired resource information in the cloud desktop creation instruction; The client has usage requirements for multiple different third-party applications; The expected resource information is the resources required to run the cloud desktop system contained in the cloud desktop creation instruction; Determine the remaining resources of the cloud server according to the resource usage information of the cloud server, and judge whether the remaining resources meet the expected resources in the expected resource information of the client; if so, allocate resources to the client according to the expected resource information, and create a container according to the allocated resources; Running the cloud desktop system by loading the cloud desktop image file in the container; The cloud desktop image file includes a cloud desktop operating system, a video stream push service and a real-time control stream service; the cloud desktop operating system is used to execute the cloud desktop control instructions sent by the client; The video stream push service is used to send the video stream of the cloud desktop to the client; the real-time control stream service is used to transmit the cloud desktop control instruction sent by the client to the cloud desktop operating system; Among them, the cloud server is an ARM chip server, which includes a CPU, a Mali graphics processor and a network interface controller; the cloud server runs an LXC container manager; the video stream push service and real-time control stream service in the cloud desktop system are services developed based on the ARM chip server for the interaction between the cloud desktop system and the client.

2. The method according to claim 1, further comprising: In response to a cloud desktop release instruction from a client, a container where a cloud desktop system associated with the client is located is destroyed.

3. A cloud desktop system control method, comprising: Obtaining cloud desktop control instructions from a client associated with the cloud desktop system; The cloud desktop system executes the cloud desktop control instruction to obtain a cloud desktop multimedia data stream, and feeds back the cloud desktop multimedia data stream to the client; The cloud desktop system is configured in a container of a cloud server; the container allocates resources to the client according to the expected resource information in the cloud desktop creation instruction in response to the cloud desktop creation instruction of the client, and creates according to the allocated resources; the client has usage requirements of multiple different third-party applications; the expected resource information is the resources required to run the cloud desktop system contained in the cloud desktop creation instruction; Among them, the cloud server is an ARM chip server, which includes a CPU, a Mali graphics processor and a network interface controller; the cloud server runs an LXC container manager; the video stream push service and real-time control stream service in the cloud desktop system are services developed based on the ARM chip server for the interaction between the cloud desktop system and the client.

4. The method according to claim 3, wherein: Obtain cloud desktop control instructions from the client associated with the cloud desktop system, including: Obtaining cloud desktop control instructions from a client associated with the cloud desktop system through a real-time control stream service in the cloud desktop system; The cloud desktop system executes the cloud desktop control instruction to obtain a cloud desktop multimedia data stream, and feeds back the cloud desktop multimedia data stream to the client, including: Executing the cloud desktop control instruction through the cloud desktop operating system in the cloud desktop system; The cloud desktop multimedia data stream in the process of the cloud desktop operating system executing the cloud desktop control instruction is determined through the video stream push service in the cloud desktop system, and the cloud desktop multimedia data stream is fed back to the client.

5. The method according to claim 4, wherein: Determining the cloud desktop multimedia data stream in the process of the cloud desktop operating system executing the cloud desktop control instruction through the video stream push service in the cloud desktop system includes: Collect multimedia data during the process of the cloud desktop operating system executing the cloud desktop control instruction through the video stream push service; The Mali GPU of the ARM chip server is used to encode the multimedia data to obtain a cloud desktop multimedia data stream.

6. A cloud desktop system processing device, comprising: The container creation module includes an expected resource information acquisition unit and a container creation unit. The expected resource information acquisition unit is used to respond to the cloud desktop creation instruction of the client and acquire the expected resource information in the cloud desktop creation instruction; the client has the use requirements of multiple different third-party applications; the expected resource information is the resources required to run the cloud desktop system contained in the cloud desktop creation instruction; The container creation unit is used to determine the remaining resource amount of the cloud server according to the resource usage information of the cloud server, and judge whether the remaining resource amount meets the expected resource amount in the expected resource information of the client; if so, allocate resources to the client according to the expected resource information, and create a container according to the allocated resources; A cloud desktop system running module, used to run the cloud desktop system by loading the cloud desktop image file in the container; The cloud desktop image file includes a cloud desktop operating system, a video streaming service and a real-time control streaming service; The cloud desktop operating system is used to execute the cloud desktop control instructions sent by the client, the video stream push service is used to send the video stream of the cloud desktop to the client, and the real-time control stream service is used to transmit the cloud desktop control instructions sent by the client to the cloud desktop operating system; Among them, the cloud server is an ARM chip server, which includes a CPU, a Mali graphics processor and a network interface controller; the cloud server runs an LXC container manager; the video stream push service and real-time control stream service in the cloud desktop system are services developed based on the ARM chip server for the interaction between the cloud desktop system and the client.

7. The apparatus according to claim 6, further comprising: The container destroying module is used to destroy the container where the cloud desktop system associated with the client is located in response to the cloud desktop release instruction of the client.

8. A cloud desktop system control device, comprising: A control instruction acquisition module, used to acquire cloud desktop control instructions from a client associated with the cloud desktop system; A multimedia data stream feedback module, configured to obtain a cloud desktop multimedia data stream by executing the cloud desktop control instruction through the cloud desktop system, and to feed back the cloud desktop multimedia data stream to the client; The cloud desktop system is configured in a container of a cloud server; the container is created according to the expected resource information in the cloud desktop creation instruction by responding to the cloud desktop creation instruction of the client; The client has usage requirements for multiple different third-party applications; the expected resource information is the resources required to run the cloud desktop system contained in the cloud desktop creation instruction; Among them, the cloud server is an ARM chip server, which includes a CPU, a Mali graphics processor and a network interface controller; the cloud server runs an LXC container manager; the video stream push service and real-time control stream service in the cloud desktop system are services developed based on the ARM chip server for the interaction between the cloud desktop system and the client.

9. The device according to claim 8, wherein: The control instruction acquisition module includes: A control instruction acquisition unit, used to acquire a cloud desktop control instruction from a client associated with the cloud desktop system through a real-time control stream service in the cloud desktop system; The multimedia data stream feedback module comprises: A control instruction execution unit, used to execute the cloud desktop control instruction through the cloud desktop operating system in the cloud desktop system; The multimedia data stream feedback unit is used to determine the cloud desktop multimedia data stream in the process of the cloud desktop operating system executing the cloud desktop control instruction through the video stream push service in the cloud desktop system, and feed back the cloud desktop multimedia data stream to the client.

10. The device according to claim 9, wherein: The multimedia data stream feedback unit is specifically used for: Collect multimedia data during the process of the cloud desktop operating system executing the cloud desktop control instruction through the video stream push service; The Mali GPU of the ARM chip server is used to encode the multimedia data to obtain a cloud desktop multimedia data stream.

11. An electronic device, comprising: at least one processor; as well as a memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the cloud desktop system processing method described in any one of claims 1-2, or the cloud desktop system control method described in any one of claims 3-5.

12. A non-transitory computer-readable storage medium storing computer instructions, wherein: The computer instructions are used to enable a computer to execute the cloud desktop system processing method according to any one of claims 1-2, or the cloud desktop system control method according to any one of claims 3-5.

13. A computer program product, comprising a computer program / instruction, which, when executed by a processor, implements the cloud desktop system processing method according to any one of claims 1-2, or the cloud desktop system control method according to any one of claims 3-5.

Citation Information

Patent Citations

  • System and method for realizing remote virtual desktop display based on cloud computing

    CN103873568A

  • Cloud desktop service method and platform and computer readable storage medium

    CN109960551A

  • Container cluster scheduling method and platform for education desktop cloud application

    CN110750331A

  • In-vehicle infotainment system and cloud interaction method and device

    CN111083155A