CN114116092A - Cloud desktop system processing method, cloud desktop system control method and related equipment - Google Patents

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

Info

Publication number
CN114116092A
CN114116092A CN202111322039.1A CN202111322039A CN114116092A CN 114116092 A CN114116092 A CN 114116092A CN 202111322039 A CN202111322039 A CN 202111322039A CN 114116092 A CN114116092 A CN 114116092A
Authority
CN
China
Prior art keywords
cloud desktop
cloud
client
container
multimedia data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202111322039.1A
Other languages
Chinese (zh)
Inventor
张纪金
黄勇
刘俊云
胡特
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Baidu Netcom Science and Technology Co Ltd
Original Assignee
Beijing Baidu Netcom Science and Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Baidu Netcom Science and Technology Co Ltd filed Critical Beijing Baidu Netcom Science and Technology Co Ltd
Priority to CN202111322039.1A priority Critical patent/CN114116092A/en
Publication of CN114116092A publication Critical patent/CN114116092A/en
Priority to PCT/CN2022/130820 priority patent/WO2023083208A1/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • G06F9/452Remote windowing, e.g. X-Window System, desktop virtualisation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • G06F9/45558Hypervisor-specific management and integration aspects
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5005Allocation of resources, e.g. of the central processing unit [CPU] to service a request
    • G06F9/5027Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resource being a machine, e.g. CPUs, Servers, Terminals
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5061Partitioning or combining of resources
    • G06F9/5072Grid computing

Abstract

The disclosure provides a cloud desktop system processing method, a cloud desktop system control method and related equipment, and relates to the technical field of computers, in particular to the technical field of cloud computing. The specific implementation scheme is as follows: responding to a cloud desktop creating instruction of a client, and creating a container based on resource use information of a cloud server; and operating the cloud desktop system by loading the cloud desktop mirror image file in the container. The embodiment of the disclosure can avoid resource waste of the cloud server and reduce the implementation cost of the cloud desktop.

Description

Cloud desktop system processing method, cloud desktop system control method and related equipment
Technical Field
The disclosure relates to the technical field of computers, in particular to the technical field of cloud computing, and specifically relates to a cloud desktop system processing method, a cloud desktop system control method and related equipment.
Background
With the rapid development of the cloud computing field, the cloud desktop is applied to more and more scenes, such as a mobile teaching scene, a mobile office scene and the like. The cloud desktop technology can deliver the display content of the cloud server to the local desktop, and the user experience almost the same as that of the server is provided.
When the server realizes a plurality of cloud desktop systems, the user experience of each cloud desktop system user needs to be ensured, and meanwhile, the waste of server resources is avoided, so that how to distribute resources among the plurality of cloud desktop systems is realized, and the server resources are fully utilized and are paid more and more attention of developers.
Disclosure of Invention
The disclosure provides a cloud desktop system processing method, a cloud desktop system control method and related equipment.
According to an aspect of the present disclosure, a cloud desktop system processing method is provided, including:
responding to a cloud desktop creating instruction of a client, and creating a container based on resource use information of a cloud server;
and operating the cloud desktop system by loading the cloud desktop mirror image file in the container.
According to another aspect of the present disclosure, there is provided a cloud desktop system control method, including:
acquiring a cloud desktop control instruction from a client associated with a cloud desktop system;
executing the cloud desktop control instruction through the cloud desktop system to obtain a cloud desktop multimedia data stream, and feeding back the cloud desktop multimedia data stream to the client;
the cloud desktop system is configured in a container of the cloud server; the container is created by a cloud desktop creation instruction in response to the client.
According to another aspect of the present disclosure, there is provided a cloud desktop system processing apparatus, including:
the container creation module is used for responding to a cloud desktop creation instruction of the client and creating a container based on the resource use information of the cloud server;
and the cloud desktop system operation module is used for operating the cloud desktop system by loading the cloud desktop mirror image file in the container.
According to another aspect of the present disclosure, there is provided a cloud desktop system control apparatus including:
the control instruction acquisition module is used for acquiring a cloud desktop control instruction from a client associated with the cloud desktop system;
the multimedia data stream feedback module is used for executing the cloud desktop control instruction through the cloud desktop system to obtain a cloud desktop multimedia data stream and feeding back the cloud desktop multimedia data stream to the client;
the cloud desktop system is configured in a container of the cloud server; the container is created by a cloud desktop creation instruction in response to the client.
According to another aspect of the present disclosure, there is provided an electronic device including:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores instructions executable by the at least one processor, and the instructions are executable by the at least one processor to enable the at least one processor to perform the cloud desktop system processing method according to any one of the embodiments of the present disclosure, or to perform the cloud desktop system control method according to any one of the embodiments of the present disclosure.
According to another aspect of the present disclosure, there is provided a non-transitory computer readable storage medium storing computer instructions for causing a computer to execute the cloud desktop system processing method according to any one of the embodiments of the present disclosure or execute the cloud desktop system control method according to any one of the embodiments of the present disclosure.
According to another aspect of the present disclosure, there is provided a computer program product, including a computer program, which when executed by a processor, implements the cloud desktop system processing method according to any embodiment of the present disclosure, or executes the cloud desktop system control method according to any embodiment of the present disclosure.
The embodiment of the disclosure can avoid resource waste of the cloud server and reduce the implementation cost of the cloud desktop.
It should be understood that the statements in this section do not necessarily identify key or critical features of the embodiments of the present disclosure, nor do they limit the scope of the present disclosure. Other features of the present disclosure will become apparent from the following description.
Drawings
The drawings are included to provide a better understanding of the present solution and are not to be construed as limiting the present disclosure. Wherein:
fig. 1 is a schematic diagram of a cloud desktop system processing method provided according to an embodiment of the present disclosure;
fig. 2a is a schematic diagram of a cloud desktop system processing method provided in an embodiment of the present disclosure;
FIG. 2b is a cloud desktop system architecture diagram provided in accordance with an embodiment of the present disclosure;
fig. 3 is a schematic diagram of a cloud desktop system control method provided in accordance with an embodiment of the present disclosure;
fig. 4 is a schematic diagram of a cloud desktop system control method provided in accordance with an embodiment of the present disclosure;
fig. 5 is a schematic diagram of a cloud desktop system processing apparatus provided according to an embodiment of the present disclosure;
fig. 6 is a schematic diagram of a cloud desktop system control device provided according to an embodiment of the present disclosure;
fig. 7 is a block diagram of an electronic device for implementing a cloud desktop system processing method or a cloud desktop system control method according to an embodiment of the present disclosure.
Detailed Description
Exemplary embodiments of the present disclosure are described below with reference to the accompanying drawings, in which various details of the embodiments of the disclosure are included to assist understanding, and which are to be considered as merely exemplary. Accordingly, those of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the present disclosure. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness.
Fig. 1 is a flowchart of a cloud desktop system processing method disclosed in an embodiment of the present disclosure, and this embodiment may be applied to a case where a cloud desktop system is built by a container technology. The method of the embodiment may be executed by a cloud desktop system processing apparatus, which may be implemented in a software and/or hardware manner and is specifically configured in an electronic device with a certain data operation capability, where the electronic device may be a client device or a server device, and the client device may be, for example, a mobile phone, a tablet computer, a vehicle-mounted terminal, a desktop computer, and the like.
S110, responding to a cloud desktop creating instruction of the client, and creating a container based on the resource use information of the cloud server.
For convenience of understanding, the cloud server for deploying the cloud desktop system is first explained, where the cloud server may be an ARM-based server or an X86-based server, and a container manager runs in the cloud server, and the container manager may be used to create or destroy a container. For example, the operating system running in the cloud server may be a LINUX operating system, in which an LXC (LINUX container) container manager runs, and is used for creating and destroying an LXC container.
In the embodiment of the disclosure, after the container manager acquires the cloud desktop creation instruction sent by the client through the operating system of the cloud server, a new container can be created based on the resource usage information of the cloud server, so as to run the cloud desktop system required by the user. Specifically, after receiving a cloud desktop creating instruction sent by a client, a container manager analyzes the cloud desktop creating instruction to obtain resources expected by the client and used for creating the cloud desktop, and then judges whether the unoccupied resources of the cloud server can meet the resources expected by the client based on the resource use information of the cloud server, and if so, creates a container according to the resources expected by the client.
Illustratively, after receiving a cloud desktop creating instruction sent by a client, a container manager analyzes the cloud desktop creating instruction, and determines that the client needs a 3G memory to operate a cloud desktop system, at this time, the container manager determines whether container creation can be performed based on resource usage information of a cloud server, that is, whether the remaining memory of the cloud server is greater than 3G is determined, and if so, a container occupying the 3G memory can be created, so as to operate the cloud desktop system needed by the client in the container.
And S120, operating the cloud desktop system by loading the cloud desktop mirror image file in the container.
The cloud desktop image file is a file obtained by packaging services contained in the cloud desktop system, and the desktop system can be operated by operating the cloud desktop image file in the container. Illustratively, the cloud desktop image file comprises a cloud desktop operating system, a video stream plug-flow service and a real-time control stream service, wherein the cloud desktop operating system is used for executing a cloud desktop control instruction sent by a client, the video stream plug-flow service is used for sending a video stream of a cloud desktop to the client, and the real-time control stream service is used for transmitting the cloud desktop control instruction sent by the client to the cloud desktop operating system.
In the embodiment of the disclosure, after the cloud server completes container creation according to resources expected by the client, the container manager controls the container to load the cloud desktop image file to operate the cloud desktop system. Illustratively, the cloud desktop image file is obtained by packaging a cloud desktop operating system, a video stream plug-flow service and a real-time control stream service, and the cloud desktop image file is operated in the container, that is, the cloud desktop operating system can be operated, and information transmission between the cloud desktop operating system and a remote client is realized. The cloud desktop operating system can be provided with various third-party applications such as instant messaging software, office software or entertainment software, so as to meet different use requirements of client users.
According to the technical scheme, the container manager responds to a cloud desktop creating instruction of the client, container creation is carried out based on resource use information of the cloud server, the cloud desktop mirror image file is loaded in the container, the cloud desktop system is operated, resources of the cloud server can be distributed according to use requirements of the client, the container is built based on resource distribution, and the cloud desktop system is operated in the container, so that waste of server resources is avoided, and the building cost of the cloud desktop system is saved.
Fig. 2a is a schematic diagram of a cloud desktop system processing method in an embodiment of the present disclosure, which is further detailed on the basis of the above embodiment, and provides specific steps of creating a container based on resource usage information of a cloud server in response to a cloud desktop creation instruction of a client. A cloud desktop system processing method provided in the embodiment of the present disclosure is described below with reference to fig. 2a, which includes the following steps:
s210, responding to a cloud desktop creating instruction of the client, and acquiring expected resource information in the cloud desktop creating instruction.
The expected resource information refers to resources that need to be occupied for operating the cloud desktop system and are included in the cloud desktop creation instruction, and specifically, the expected resource information may include a Central Processing Unit (CPU) occupation amount, a memory occupation amount, a disk occupation amount, and the like.
In the embodiment of the disclosure, after receiving a cloud desktop creation instruction sent by a client, a container manager firstly analyzes the cloud desktop creation instruction to obtain 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 according to the allocated resources. Illustratively, the container manager obtains the CPU occupation amount, the memory occupation amount and the disk occupation amount which are required by the client by analyzing the cloud desktop creation instruction sent by the client, so as to determine whether the current remaining resources of the cloud server can satisfy the resource amount required by the client to create the container.
And S220, creating a container according to the expected resource information and the resource use information of the cloud server.
In the embodiment of the disclosure, after the expected resource information included in the cloud desktop creating instruction is acquired, the container required by the client may be created according to the expected resource information and the resource use information of the cloud server. Specifically, the residual resource amount of the cloud server is determined according to the resource usage information of the cloud server, whether the residual resource amount can meet the expected resource amount in the client expected resource information is judged, if yes, a container is created according to the expected resource information, and compared with a mode of pre-establishing the container, the scheme of the embodiment of the disclosure can achieve reasonable distribution of cloud server resources, and waste of cloud server resources is avoided.
Illustratively, the expected resource information includes expected CPU occupation amount, expected memory occupation amount and expected disk occupation amount, according to the resource use information of the cloud server, the unoccupied CPUs, memories and disks in the cloud server are determined, whether the unoccupied amounts can meet the expected CPU occupation amount, expected memory occupation amount and expected disk occupation amount included in the expected resource information is judged, if yes, container creation is performed according to the expected resource information, and a container is created according to the requirement of the client to operate the cloud desktop system.
Optionally, the cloud server is an ARM chip server; the cloud desktop image file comprises a cloud desktop operating system, a real-time control flow service and a video flow push flow service.
In this optional embodiment, as shown in fig. 2b, the cloud desktop system architecture is an ARM chip server, and the ARM chip server includes a CPU, a Mali GPU (Graphics Processing Unit, mary Graphics processor), and an NIC (Network Interface Controller). Compared with a traditional server with an X86 architecture, when the multimedia data are sent to the outside of the container, an additional GPU chip does not need to be integrated, and the construction cost of the cloud desktop system is reduced. The LINUX operating system is operated in the ARM chip server, and parameters such as Namespace, Cgroup, Overlayfs, Veth and the like of a 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 for creating, managing and destroying the LXC container, and after the specific LXC container is created in the cloud server, the cloud desktop system is operated by loading a cloud desktop image file in the container. The cloud desktop image file comprises a cloud desktop operating system, a real-time control stream server and a video stream plug-flow service. The cloud desktop operating system is used for executing a cloud desktop control instruction sent by a client, the video stream plug-flow service is used for sending a video stream of a cloud desktop to the client, the real-time control stream service is used for sending the cloud desktop control instruction sent by the client to the cloud desktop operating system, and in order to meet different using requirements of a client user, various third-party applications such as entertainment applications, office applications or communication applications can be installed and operated in the cloud desktop operating system. Notably, the video streaming push flow service and the real-time control flow service in the cloud desktop system are services developed based on an ARM chip server and used for interacting with the cloud desktop system and the client.
And S230, operating the cloud desktop system by loading the cloud desktop mirror image file in the container.
Optionally, this embodiment further includes:
and responding to a cloud desktop release instruction of the client, and destroying the container where the cloud desktop system associated with the client is located.
In this optional embodiment, if the client does not need to use the cloud desktop, the cloud desktop release instruction may be sent to the container manager through the operating system of the cloud server, and the container manager may destroy the container in which the cloud desktop system associated with the client is located in response to the cloud desktop release instruction. By timely destroying the container where the client-side associated cloud desktop system is located after the client-side does not need to use the cloud desktop, the cloud server resources are timely released, the resources are prevented from being occupied without reasons, and the cloud server resources are fully utilized.
According to the technical scheme, the expected resource information in the cloud desktop creating instruction is obtained in response to the cloud desktop creating instruction of the client, the container is created according to the expected resource information and the resource using information of the cloud server, finally, the cloud desktop mirror image file is loaded in the container, the cloud desktop system is operated, the resources of the cloud server can be distributed according to the using requirements of the client, the container is built based on the distributed resources, the waste of server resources is avoided, and the building cost of the cloud desktop system is saved.
Fig. 3 is a flowchart of a cloud desktop system control method disclosed in an embodiment of the present disclosure, where the present embodiment may be applied to a case where a cloud desktop system is built by a container technology. The method of the embodiment may be executed by a cloud desktop system control device, which may be implemented in a software and/or hardware manner and is specifically configured in an electronic device with a certain data operation capability, where the electronic device may be a client device or a server device, and the client device may be, for example, a mobile phone, a tablet computer, a vehicle-mounted terminal, a desktop computer, and the like.
S310, obtaining a cloud desktop control instruction from a client associated with the cloud desktop system.
In the embodiment of the disclosure, the cloud desktop system first obtains a cloud desktop control instruction from a client associated with the cloud desktop system, specifically, the client sends the cloud desktop control instruction to the cloud desktop system associated with the client through an operating system of a 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.
And S320, executing the cloud desktop control instruction through the cloud desktop system to obtain the cloud desktop multimedia data stream, and feeding back the cloud desktop multimedia data stream to the client.
In the embodiment of the disclosure, the cloud desktop control instruction is executed through the cloud desktop system, the multimedia data stream in the process of executing the cloud desktop control instruction is obtained, and finally the multimedia data stream is fed back to the client. Specifically, the cloud desktop system executes the cloud desktop control instruction, acquires the cloud desktop picture and the audio data in the process of executing the control instruction, and finally feeds the cloud desktop picture and the audio data back to the client through the operating system of the cloud server.
The cloud desktop system is configured in a container of the cloud server; the container is created by a cloud desktop creation instruction in response to the client.
In the embodiment of the disclosure, in the cloud desktop system configuration and the cloud server container, the container is created by the container manager operating in the cloud server in response to the cloud desktop creation instruction of the client, and when the client user needs to use the cloud desktop, resources are allocated to the user using requirements for operating the cloud desktop system, so that the resources of the cloud server can be fully utilized, and the resource waste caused by the excessively large pre-allocated resources is avoided.
According to the technical scheme of the embodiment, the cloud desktop control instruction is obtained from the client side associated with the cloud desktop system, the cloud desktop control instruction is executed through the cloud desktop system to obtain the cloud desktop multimedia data stream, and the cloud desktop multimedia data stream is fed back to the client side, wherein the cloud desktop system is configured in the container of the cloud server; the container is created by responding to the cloud desktop creating instruction of the client, resources of the cloud server can be distributed according to the using requirements of the client, the container is constructed based on the distributed resources, and the cloud desktop system is operated in the container, so that the waste of server resources is avoided, and the construction cost of the cloud desktop system is saved.
Fig. 4 is a schematic diagram of a cloud desktop system control method in an embodiment of the present disclosure, which is further detailed based on the above embodiment, and provides specific steps of obtaining a cloud desktop control instruction from a client associated with a cloud desktop system, 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. A cloud desktop system control method provided by the embodiment of the present disclosure is described below with reference to fig. 2, which includes the following steps:
s410, acquiring a cloud desktop control instruction from a client associated with the cloud desktop system through a real-time control flow service in the cloud desktop system.
In the embodiment of the disclosure, the cloud desktop system comprises a real-time control flow service, the client associated with the cloud desktop system can be received through the real-time control flow service, the cloud desktop control instruction transmitted through the operating system of the cloud server is transmitted, and then the cloud desktop control instruction is transmitted to the cloud desktop operating system. The cloud desktop operating system can be used for installing and running various types of third-party applications such as instant messaging applications, office applications or entertainment applications.
Illustratively, the cloud server is an ARM chip server, a LINUX operating system is operated, and a real-time control flow service in the cloud desktop system can receive a cloud desktop control instruction sent by a client matched with a current cloud desktop system from the LINUX operating system of the ARM chip server, where the cloud desktop control instruction may be a mouse event, a keyboard event, or a touch screen event for a third-party application installed in the cloud desktop operating system. The client may be connected to and operate a cloud desktop through a remote desktop control software such as a VNC (Virtual Network Console).
And S420, executing a cloud desktop control instruction through a cloud desktop operating system in the cloud desktop system.
In the embodiment of the disclosure, the cloud desktop control instruction sent by the client is executed through a cloud desktop operating system in the cloud desktop system. For example, the cloud desktop system runs the instant messaging software according to a mouse event initiated by the client to open the instant messaging software. And the characters input by the keyboard of the client can be displayed according to the keyboard event initiated by the client for inputting the characters of the chat.
S430, determining the cloud desktop multimedia data stream in the process of executing the cloud desktop control instruction by the cloud desktop operating system through the video stream plug-flow service in the cloud desktop system, and feeding back the cloud desktop multimedia data stream to the client.
In the embodiment of the disclosure, when the cloud desktop operating system executes the cloud desktop control instruction, the cloud desktop multimedia data stream in the process of executing the cloud desktop control instruction by the cloud desktop operating system can be determined through the video stream plug-flow service in the cloud desktop system, and finally the video stream plug-flow service can feed back the cloud desktop multimedia data stream to the client, so that the requirement of the client for using the cloud desktop is met, and good cloud desktop use experience is provided for a user.
Illustratively, the cloud server is an ARM chip server, the LINUX operating system is operated, a video stream plug-flow service in the cloud desktop system collects pictures and audio data of a cloud desktop when the cloud desktop operating system executes a cloud desktop control instruction, then codes the pictures and the audio data to obtain a multimedia data stream, and the video stream plug-flow service can finally send the multimedia data stream to the client through the operating system of the ARM chip server.
Optionally, determining, by using a video stream plug-flow service in the cloud desktop system, a cloud desktop multimedia data stream in the process of executing the cloud desktop control instruction by the cloud desktop operating system includes:
acquiring multimedia data in the process of executing a cloud desktop control instruction by a cloud desktop operating system through a video streaming push service;
and encoding the multimedia data by adopting a Mali graphics processing unit (Mali GPU) of the ARM chip server to obtain the cloud desktop multimedia data stream.
In the embodiment of the disclosure, a specific mode of cloud desktop multimedia data stream in a process of executing a cloud desktop control instruction by a cloud desktop operating system is determined through a video stream streaming service in a cloud desktop system. The cloud desktop system is constructed based on the ARM chip server, the built-in Mali GPU of the ARM chip server can be directly used during video stream plug-streaming, an additional GPU chip does not need to be configured, and construction cost of the cloud desktop system is reduced.
According to the technical scheme of the embodiment, the cloud desktop control instruction is obtained from the client associated with the cloud desktop system through the real-time control flow service in the cloud desktop system, the cloud desktop control instruction is executed through the cloud desktop operating system in the cloud desktop system, finally, the cloud desktop multimedia data stream in the cloud desktop control instruction execution process of the cloud desktop operating system is determined through the video stream plug-flow service in the cloud desktop system, the cloud desktop multimedia data stream is fed back to the client, resources of the cloud server can be distributed according to the using requirements of the client, a container is constructed based on the distributed resources, and the cloud desktop system is operated in the container, so that the waste of server resources is avoided, and the construction cost of the cloud desktop system is saved.
Fig. 5 is a structural diagram of a cloud desktop system processing apparatus in an embodiment of the present disclosure, and the embodiment of the present disclosure is applicable to a case where a cloud desktop system is built by a container technology. The device is realized by software and/or hardware and is specifically configured in electronic equipment with certain data operation capacity.
Fig. 5 shows a cloud desktop system processing apparatus 500, which includes: a container creation module 510 and a cloud desktop system running module 520; wherein the content of the first and second substances,
a container creation module 510, configured to, in response to a cloud desktop creation instruction of a client, perform container creation based on resource usage information of a cloud server;
and a cloud desktop system running module 520, configured to run the cloud desktop system by loading the cloud desktop image file in the container.
According to the technical scheme, the container manager responds to a cloud desktop creating instruction of the client, container creation is carried out based on resource use information of the cloud server, the cloud desktop mirror image file is loaded in the container, the cloud desktop system is operated, resources of the cloud server can be distributed according to use requirements of the client, the container is built based on resource distribution, and the cloud desktop system is operated in the container, so that waste of server resources is avoided, and the building cost of the cloud desktop system is saved.
Further, a container creation module 510 includes:
the expected resource information acquisition unit is used for responding to a cloud desktop creating instruction of a client and acquiring expected resource information in the cloud desktop creating instruction;
and the container creating unit is used for creating a container according to the expected resource information and the resource use information of the cloud server.
Further, the cloud desktop system processing apparatus 500 further includes:
and the container destroying module is used for responding to a cloud desktop release instruction of the client and destroying the container where the cloud desktop system associated with the client is located.
Further, the cloud server is an ARM chip server; the cloud desktop image file comprises a cloud desktop operating system, a real-time control flow service and a video flow push flow service.
The cloud desktop system processing device provided by the embodiment of the disclosure can execute the cloud desktop system processing method provided by any embodiment of the disclosure, and has the corresponding functional modules and beneficial effects of the execution method.
According to an embodiment of the present disclosure, fig. 6 is a structural diagram of a cloud desktop system control device in an embodiment of the present disclosure, and the embodiment of the present disclosure is applicable to a case where a cloud desktop system is constructed by a container technology. The device is realized by software and/or hardware and is specifically configured in electronic equipment with certain data operation capacity.
Fig. 6 shows a cloud desktop system control apparatus 600, including: a control instruction acquisition module 610 and a multimedia data stream feedback module 620; wherein the content of the first and second substances,
a control instruction obtaining module 610, configured to obtain a cloud desktop control instruction from a client associated with the cloud desktop system;
the multimedia data stream feedback module 620 is configured to 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;
the cloud desktop system is configured in a container of the cloud server; the container is created by a cloud desktop creation instruction in response to the client.
According to the technical scheme of the embodiment, the cloud desktop control instruction is obtained from the client side associated with the cloud desktop system, the cloud desktop control instruction is executed through the cloud desktop system to obtain the cloud desktop multimedia data stream, and the cloud desktop multimedia data stream is fed back to the client side, wherein the cloud desktop system is configured in the container of the cloud server; the container is created by responding to the cloud desktop creating instruction of the client, resources of the cloud server can be distributed according to the using requirements of the client, the container is constructed based on the distributed resources, and the cloud desktop system is operated in the container, so that the waste of server resources is avoided, and the construction cost of the cloud desktop system is saved.
Further, the cloud server is an ARM chip server;
the control instruction obtaining module 610 includes:
the control instruction acquisition unit is used for acquiring a cloud desktop control instruction from a client associated with the cloud desktop system through a real-time control flow service in the cloud desktop system;
the multimedia data stream feedback module 620 includes:
the control instruction execution unit is used for executing the cloud desktop control instruction through a cloud desktop operating system in the cloud desktop system;
and the multimedia data stream feedback unit is used for determining the cloud desktop multimedia data stream in the process of executing the cloud desktop control instruction by the cloud desktop operating system through the video stream plug-flow service in the cloud desktop system and feeding back the cloud desktop multimedia data stream to the client.
Further, the multimedia data stream feedback unit is specifically configured to:
acquiring multimedia data in the process of executing the cloud desktop control instruction by the cloud desktop operating system through the video streaming push service;
and encoding the multimedia data by adopting a Mali graphic processing unit (Mali GPU) of the ARM chip server to obtain the cloud desktop multimedia data stream.
The cloud desktop system control device provided by the embodiment of the disclosure can execute the cloud desktop system control method provided by any embodiment of the disclosure, and has the corresponding functional modules and beneficial effects of the execution method.
In the technical scheme of the disclosure, the collection, storage, use, processing, transmission, provision, disclosure and other processing of the personal information of the related user are all in accordance with the regulations of related laws and regulations and do not violate the good customs of the public order.
The present disclosure also provides an electronic device, a readable storage medium, and a computer program product according to embodiments of the present disclosure.
FIG. 7 illustrates a schematic block diagram of an example electronic device 700 that can be used to implement embodiments of the present disclosure. Electronic devices are intended to represent various forms of digital computers, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. The electronic device may 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 meant to be examples only, and are not meant to limit implementations of the disclosure described and/or claimed herein.
As shown in fig. 7, the device 700 comprises a computing unit 701, which may perform various suitable 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 by a bus 704. An input/output (I/O) interface 705 is also connected to bus 704.
Various components in the device 700 are connected to the I/O interface 705, including: an input unit 706 such as a keyboard, a mouse, or the like; an output unit 707 such as various types of displays, speakers, and the like; a storage unit 708 such as a magnetic disk, optical disk, or the like; and a communication unit 709 such as a network card, modem, wireless communication transceiver, etc. The communication unit 709 allows the device 700 to exchange information/data with other devices via a computer network, such as the internet, and/or various telecommunication networks.
Computing unit 701 may be a variety of general purpose and/or special purpose 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 specialized Artificial Intelligence (AI) computing chips, various computing units running machine learning model algorithms, a Digital Signal Processor (DSP), and any suitable processor, controller, microcontroller, and so forth. The computing unit 701 executes the respective methods and processes described above, such as the cloud desktop system processing method or the 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 tangibly embodied in a machine-readable medium, such as storage unit 708. In some embodiments, part or all of a computer program may be loaded onto and/or installed onto device 700 via ROM 702 and/or communications 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 by any other suitable means (e.g., by means of firmware) to perform the cloud desktop system processing method or the cloud desktop system control method.
Various implementations of the systems and techniques described here above may be implemented in digital electronic circuitry, integrated circuitry, Field Programmable Gate Arrays (FPGAs), Application Specific Integrated Circuits (ASICs), Application Specific Standard Products (ASSPs), system on a chip (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include: implemented in one or more computer programs that are executable and/or interpretable on a programmable system including at least one programmable processor, which may be special or general purpose, receiving data and instructions from, and transmitting data and instructions to, a storage system, at least one input device, and at least one output device.
Program code for implementing the methods 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, special purpose computer, or other programmable data processing apparatus, such that the program codes, when executed by the processor or controller, cause the functions/operations specified in the flowchart and/or block diagram to be performed. The program code may execute entirely on the machine, partly on the machine, as a stand-alone software package partly on the machine and partly on a remote machine or entirely on the remote machine or server.
In the context of this disclosure, a machine-readable medium may be a tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. The 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, apparatus, or device, or any suitable combination of the foregoing. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, 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 disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
To provide for interaction with a user, the systems and techniques described here 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 a user; and a keyboard and a pointing device (e.g., a mouse or a trackball) by which a user can provide input to the computer. Other kinds of devices may also be used to provide for interaction with a user; for example, 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 may be received in any form, including acoustic, speech, or tactile input.
The systems and techniques described here can be implemented in a computing system that includes a back-end component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front-end component (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such back-end, middleware, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: local Area Networks (LANs), Wide Area Networks (WANs), and the Internet.
The computer system may include clients and servers. A client and server are generally remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other. The server may be a cloud server, a server of a distributed system, or a server with a combined blockchain.
It should be understood that various forms of the flows shown above may be used, with steps reordered, added, or deleted. For example, the steps described in the present disclosure may be executed in parallel, sequentially, or in different orders, as long as the desired results of the technical solutions disclosed in the present disclosure can be achieved, and the present disclosure is not limited herein.
The above detailed description should not be construed as limiting the scope of the disclosure. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions may be made in accordance with design requirements and other factors. Any modification, equivalent replacement, and improvement made within the spirit and principle of the present disclosure should be included in the scope of protection of the present disclosure.

Claims (17)

1. A cloud desktop system processing method comprises the following steps:
responding to a cloud desktop creating instruction of a client, and creating a container based on resource use information of a cloud server;
and operating the cloud desktop system by loading the cloud desktop mirror image file in the container.
2. The method of claim 1, wherein in response to a cloud desktop creation instruction of the client, performing container creation based on resource usage information of the cloud server comprises:
responding to a cloud desktop creating instruction of a client, and acquiring expected resource information in the cloud desktop creating instruction;
and creating a container according to the expected resource information and the resource use information of the cloud server.
3. The method of claim 1, further comprising:
and responding to a cloud desktop release instruction of the client, and destroying the container where the cloud desktop system associated with the client is located.
4. The method of claim 1, wherein the cloud server is an ARM chip server; the cloud desktop image file comprises a cloud desktop operating system, a real-time control flow service and a video flow push flow service.
5. A cloud desktop system control method comprises the following steps:
acquiring a cloud desktop control instruction from a client associated with a cloud desktop system;
executing the cloud desktop control instruction through the cloud desktop system to obtain a cloud desktop multimedia data stream, and feeding back the cloud desktop multimedia data stream to the client;
the cloud desktop system is configured in a container of the cloud server; the container is created by a cloud desktop creation instruction in response to the client.
6. The method of claim 5, wherein the cloud server is an ARM chip server;
obtaining a cloud desktop control instruction from a client associated with a cloud desktop system, comprising:
acquiring a cloud desktop control instruction from a client associated with the cloud desktop system through a real-time control flow 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 the cloud desktop multimedia data stream back to the client, and the method comprises the following steps:
executing the cloud desktop control instruction through a cloud desktop operating system in the cloud desktop system;
and determining a cloud desktop multimedia data stream in the process of executing the cloud desktop control instruction by the cloud desktop operating system through the video stream plug-flow service in the cloud desktop system, and feeding back the cloud desktop multimedia data stream to the client.
7. The method of claim 6, wherein determining, by a video streaming plug-flow service in the cloud desktop system, a cloud desktop multimedia data stream during execution of the cloud desktop control instructions by a cloud desktop operating system comprises:
acquiring multimedia data in the process of executing the cloud desktop control instruction by the cloud desktop operating system through the video streaming push service;
and encoding the multimedia data by adopting a Mali graphic processing unit (Mali GPU) of the ARM chip server to obtain the cloud desktop multimedia data stream.
8. A cloud desktop system processing apparatus, comprising:
the container creation module is used for responding to a cloud desktop creation instruction of the client and creating a container based on the resource use information of the cloud server;
and the cloud desktop system operation module is used for operating the cloud desktop system by loading the cloud desktop mirror image file in the container.
9. The apparatus of claim 8, wherein the container creation module comprises:
the expected resource information acquisition unit is used for responding to a cloud desktop creating instruction of a client and acquiring expected resource information in the cloud desktop creating instruction;
and the container creating unit is used for creating a container according to the expected resource information and the resource use information of the cloud server.
10. The apparatus of claim 8, further comprising:
and the container destroying module is used for responding to a cloud desktop release instruction of the client and destroying the container where the cloud desktop system associated with the client is located.
11. The apparatus of claim 8, wherein the cloud server is an ARM chip server; the cloud desktop image file comprises a cloud desktop operating system, a real-time control flow service and a video flow push flow service.
12. A cloud desktop system control apparatus, comprising:
the control instruction acquisition module is used for acquiring a cloud desktop control instruction from a client associated with the cloud desktop system;
the multimedia data stream feedback module is used for executing the cloud desktop control instruction through the cloud desktop system to obtain a cloud desktop multimedia data stream and feeding back the cloud desktop multimedia data stream to the client;
the cloud desktop system is configured in a container of the cloud server; the container is created by a cloud desktop creation instruction in response to the client.
13. The apparatus of claim 12, wherein the cloud server is an ARM chip server;
the control instruction obtaining module comprises:
the control instruction acquisition unit is used for acquiring a cloud desktop control instruction from a client associated with the cloud desktop system through a real-time control flow service in the cloud desktop system;
the multimedia data stream feedback module comprises:
the control instruction execution unit is used for executing the cloud desktop control instruction through a cloud desktop operating system in the cloud desktop system;
and the multimedia data stream feedback unit is used for determining the cloud desktop multimedia data stream in the process of executing the cloud desktop control instruction by the cloud desktop operating system through the video stream plug-flow service in the cloud desktop system and feeding back the cloud desktop multimedia data stream to the client.
14. The apparatus of claim 13, wherein the multimedia data stream feedback unit is specifically configured to:
acquiring multimedia data in the process of executing the cloud desktop control instruction by the cloud desktop operating system through the video streaming push service;
and encoding the multimedia data by adopting a Mali graphic processing unit (Mali GPU) of the ARM chip server to obtain the cloud desktop multimedia data stream.
15. An electronic device, comprising:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the cloud desktop system processing method of any one of claims 1-4 or the cloud desktop system control method of any one of claims 5-7.
16. A non-transitory computer-readable storage medium storing computer instructions for causing the computer to execute the cloud desktop system processing method according to any one of claims 1 to 4 or the cloud desktop system control method according to any one of claims 5 to 7.
17. A computer program product comprising a computer program/instructions which, when executed by a processor, implement the cloud desktop system processing method of any of claims 1-4 or the cloud desktop system control method of any of claims 5-7.
CN202111322039.1A 2021-11-09 2021-11-09 Cloud desktop system processing method, cloud desktop system control method and related equipment Pending CN114116092A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202111322039.1A CN114116092A (en) 2021-11-09 2021-11-09 Cloud desktop system processing method, cloud desktop system control method and related equipment
PCT/CN2022/130820 WO2023083208A1 (en) 2021-11-09 2022-11-09 Cloud desktop system processing method, cloud desktop system control method and related device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111322039.1A CN114116092A (en) 2021-11-09 2021-11-09 Cloud desktop system processing method, cloud desktop system control method and related equipment

Publications (1)

Publication Number Publication Date
CN114116092A true CN114116092A (en) 2022-03-01

Family

ID=80377659

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111322039.1A Pending CN114116092A (en) 2021-11-09 2021-11-09 Cloud desktop system processing method, cloud desktop system control method and related equipment

Country Status (2)

Country Link
CN (1) CN114116092A (en)
WO (1) WO2023083208A1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114371926A (en) * 2022-03-22 2022-04-19 清华大学 Refined resource allocation method and device, electronic equipment and medium
CN114710323A (en) * 2022-03-16 2022-07-05 苏州木星科技有限公司 Cloud desktop device based on block chain and data processing method
WO2023083208A1 (en) * 2021-11-09 2023-05-19 北京百度网讯科技有限公司 Cloud desktop system processing method, cloud desktop system control method and related device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103873568A (en) * 2014-03-04 2014-06-18 赛特斯信息科技股份有限公司 System and method for realizing remote virtual desktop display based on cloud computing
CN109951545A (en) * 2019-03-14 2019-06-28 广州云晫信息科技有限公司 The emerging system of adaptive container and cloud desktop and its method for obtaining cloud resource
CN109960551A (en) * 2017-12-26 2019-07-02 中国电信股份有限公司 Cloud desktop services method, platform and computer readable storage medium
CN110750331A (en) * 2019-10-21 2020-02-04 北京华育兴业科技有限公司 Container cluster scheduling method and platform for education desktop cloud application
CN111083155A (en) * 2019-12-25 2020-04-28 斑马网络技术有限公司 Vehicle machine and cloud interaction method and device

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102413150B (en) * 2010-09-20 2015-04-29 联想(北京)有限公司 Server and virtual desktop control method and virtual desktop control system
WO2012092553A1 (en) * 2010-12-31 2012-07-05 Desktone, Inc. Providing virtual desktops using resources accessed on public computer networks
CN110225088A (en) * 2019-05-09 2019-09-10 厦门网宿有限公司 A kind of cloud desktop management method and system
CN114116092A (en) * 2021-11-09 2022-03-01 北京百度网讯科技有限公司 Cloud desktop system processing method, cloud desktop system control method and related equipment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103873568A (en) * 2014-03-04 2014-06-18 赛特斯信息科技股份有限公司 System and method for realizing remote virtual desktop display based on cloud computing
CN109960551A (en) * 2017-12-26 2019-07-02 中国电信股份有限公司 Cloud desktop services method, platform and computer readable storage medium
CN109951545A (en) * 2019-03-14 2019-06-28 广州云晫信息科技有限公司 The emerging system of adaptive container and cloud desktop and its method for obtaining cloud resource
CN110750331A (en) * 2019-10-21 2020-02-04 北京华育兴业科技有限公司 Container cluster scheduling method and platform for education desktop cloud application
CN111083155A (en) * 2019-12-25 2020-04-28 斑马网络技术有限公司 Vehicle machine and cloud interaction method and device

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023083208A1 (en) * 2021-11-09 2023-05-19 北京百度网讯科技有限公司 Cloud desktop system processing method, cloud desktop system control method and related device
CN114710323A (en) * 2022-03-16 2022-07-05 苏州木星科技有限公司 Cloud desktop device based on block chain and data processing method
CN114371926A (en) * 2022-03-22 2022-04-19 清华大学 Refined resource allocation method and device, electronic equipment and medium
CN114371926B (en) * 2022-03-22 2022-05-17 清华大学 Refined resource allocation method and device, electronic equipment and medium

Also Published As

Publication number Publication date
WO2023083208A1 (en) 2023-05-19

Similar Documents

Publication Publication Date Title
EP3751418B1 (en) Resource configuration method and apparatus, terminal, and storage medium
CN114116092A (en) Cloud desktop system processing method, cloud desktop system control method and related equipment
CN104813309A (en) Method and system for cloud based virtualized graphics processing for remote displays
EP3637771A1 (en) Cloud desktop system, and image sequence compression and encoding method, and medium therefor
US10693816B2 (en) Communication methods and systems, electronic devices, and computer clusters
CN109218356B (en) Method and apparatus for managing stateful applications on a server
CN109376053B (en) Data processing method and device and mobile terminal
EP2849080A1 (en) Image display method and device
CN112260853B (en) Disaster recovery switching method and device, storage medium and electronic equipment
CN113181646A (en) Game data method and device, electronic equipment and storage medium
CN113849312A (en) Data processing task allocation method and device, electronic equipment and storage medium
CN115904761B (en) System on chip, vehicle and video processing unit virtualization method
CN114748873B (en) Interface rendering method, device, equipment and storage medium
CN111200606A (en) Deep learning model task processing method, system, server and storage medium
CN107682389B (en) Method, terminal and computer readable storage medium for executing network request
CN111026406A (en) Application running method, device and computer readable storage medium
CN112882826B (en) Resource cooperative scheduling method and device
CN110012003B (en) Cloud application screen capturing method and device
CN114265648B (en) Code scheduling method, server, client and system for acquiring remote desktop
CN114726657A (en) Method and device for interrupt management and data receiving and sending management and intelligent network card
CN113905040A (en) File transmission method, device, system, equipment and storage medium
CN112925521A (en) Interface generation method and device
CN111580882A (en) Application program starting method, device, computer system and medium
CN112398915B (en) APP application auditing method and system of cloud rendering platform
CN113778600A (en) Resolution setting method, resolution setting device, resolution setting apparatus, storage medium, and program product

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination