WO2023083208A1 - Cloud desktop system processing method, cloud desktop system control method and related device - Google Patents

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

Info

Publication number
WO2023083208A1
WO2023083208A1 PCT/CN2022/130820 CN2022130820W WO2023083208A1 WO 2023083208 A1 WO2023083208 A1 WO 2023083208A1 CN 2022130820 W CN2022130820 W CN 2022130820W WO 2023083208 A1 WO2023083208 A1 WO 2023083208A1
Authority
WO
WIPO (PCT)
Prior art keywords
cloud desktop
cloud
client
container
multimedia data
Prior art date
Application number
PCT/CN2022/130820
Other languages
French (fr)
Chinese (zh)
Inventor
张纪金
黄勇
刘俊云
胡特
Original Assignee
北京百度网讯科技有限公司
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 北京百度网讯科技有限公司 filed Critical 北京百度网讯科技有限公司
Publication of WO2023083208A1 publication Critical patent/WO2023083208A1/en

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

Definitions

  • the present disclosure relates to the technical field of computers, for example, to the technical field of cloud computing, for example, to a cloud desktop system processing method, a cloud desktop system control method, and related devices.
  • Cloud desktops are applied in more and more scenarios, for example, mobile teaching scenarios and mobile office scenarios.
  • Cloud desktop technology can deliver the display content of the cloud server to the local desktop, providing users with almost the same experience as the server.
  • the present disclosure provides a cloud desktop system processing method, a cloud desktop system control method and related equipment.
  • the present disclosure provides a cloud desktop system processing method, including:
  • the container is created based on the resource usage information of the cloud server;
  • the cloud desktop system is run by loading the cloud desktop image file in the container.
  • the present disclosure provides a cloud desktop system control method, including:
  • the cloud desktop system is configured in a container of the cloud server; the container is created by responding to the cloud desktop creation instruction of the client.
  • the present disclosure provides a cloud desktop system processing device, including:
  • the container creation module is configured to create a container based on the resource usage information of the cloud server in response to the client's cloud desktop creation instruction;
  • the cloud desktop system running module is configured to run the cloud desktop system by loading the cloud desktop image file in the container.
  • the present disclosure provides a cloud desktop system control device, including:
  • a control instruction acquisition module is configured to obtain cloud desktop control instructions from a client associated with the cloud desktop system
  • the multimedia data stream feedback module is configured to execute the cloud desktop control instruction through the cloud desktop system to obtain the 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 responding to the cloud desktop creation instruction of the client.
  • the present disclosure provides an electronic device, including:
  • 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 at least one processor can execute the cloud desktop system processing method described in any embodiment of the present disclosure, or execute the present disclosure.
  • the present disclosure provides a non-transitory computer-readable storage medium storing computer instructions, wherein the computer instructions are used to make the computer execute the cloud desktop system processing method described in any embodiment of the present disclosure, or execute any implementation of the present disclosure
  • the cloud desktop system control method described in the example is not limited to any embodiment of the present disclosure.
  • the present disclosure provides a computer program product, including a computer program.
  • the computer program When executed by a processor, the computer program implements the cloud desktop system processing method described in any embodiment of the present disclosure, or executes the cloud desktop system processing method described in any embodiment of the present disclosure.
  • Desktop system control method When executed by a processor, the computer program implements the cloud desktop system processing method described in any embodiment of the present disclosure, or executes the cloud desktop system processing method described in any embodiment of the present disclosure.
  • Desktop system control method When executed by a processor, the computer program implements the cloud desktop system processing method described in any embodiment of the present disclosure, or executes the cloud desktop system processing method described in any embodiment of the present disclosure.
  • 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 according to an embodiment of the present disclosure
  • FIG. 2B is an architecture diagram of a cloud desktop system provided according to an embodiment of the present disclosure.
  • FIG. 3 is a schematic diagram of a cloud desktop system control method provided according to an embodiment of the present disclosure
  • Fig. 4 is a schematic diagram of a cloud desktop system control method provided according to an embodiment of the present disclosure
  • Fig. 5 is a schematic diagram of a cloud desktop system processing device 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 used to implement the cloud desktop system processing method or the cloud desktop system control method according to an embodiment of the present disclosure.
  • Fig. 1 is a flow chart of a cloud desktop system processing method disclosed according to an embodiment of the present disclosure, and this embodiment may be applicable to a situation in which a cloud desktop system is constructed using container technology.
  • the method in this embodiment can be executed by a cloud desktop system processing device, which can be implemented in the form of software and/or hardware, and configured in an electronic device with data computing capabilities, and the electronic device can be a client device or a server device , client devices such as mobile phones, tablet computers, vehicle terminals, and desktop computers.
  • the cloud server can be an advanced reduced instruction set machine (Advanced Reduced Instruction Set Computer Machine, ARM) architecture (using a reduced instruction set (Reduced Instruction Set Computer, RISC)) or an X86 architecture (using a complex instruction set (Complex Instruction Set Computer) , CISC)) server.
  • a container manager runs in the cloud server, and the container manager can create or destroy container instances.
  • the operating system running in the cloud server may be a LINUX operating system, and a Linux container (Linux Container, LXC) manager runs in the LINUX operating system, which can create and destroy LXC container instances.
  • the container manager 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, and the new container is set to run the user's required cloud desktop system. For example, 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 judges the cloud desktop based on the resource usage information of the cloud server. Whether the unoccupied resources of the server can meet the resources expected by the client, and if so, create a container according to the resources expected by the client.
  • the container manager after the container manager receives the cloud desktop creation command sent by the client, it parses the cloud desktop creation command to determine that the client needs 3G of memory to run the cloud desktop system. At this time, the container manager is based on the resources of the cloud server Use the information to determine whether the container can be created, that is, to determine whether the remaining memory of the cloud server is greater than 3G. If the remaining memory of the cloud server is greater than 3G, the container manager can create a container occupying 3G memory in the cloud server to run the cloud desktop system required by the client in the container.
  • the cloud desktop image file is a file packaged by the services contained in the cloud desktop system.
  • Running the cloud desktop image file in the container can run the cloud desktop system.
  • 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 command sent by the client
  • the video streaming service is used to send the video stream of the cloud desktop to the client
  • the real-time control streaming service is used to control the cloud desktop sent by the client.
  • the command is sent to the cloud desktop operating system.
  • the container manager controls the container to load the cloud desktop image file to run the cloud desktop system.
  • the cloud desktop image file is packaged by the cloud desktop operating system, the video streaming service and the real-time control streaming service.
  • Running the cloud desktop image file in the container can run the cloud desktop system, and realize the cloud desktop operating system and Information transmission between remote clients can, for example, receive and execute cloud desktop control instructions sent by the client, and transmit the video stream of the cloud desktop to the client.
  • various third-party applications such as instant messaging software, office software, or entertainment software can be installed in the cloud desktop operating system to meet different usage needs of client users.
  • the container manager responds to the cloud desktop creation instruction of the client, creates the container based on the resource usage information of the cloud server, and then loads the cloud desktop image file in the container to run the cloud desktop system.
  • the technical solution of the present disclosure can allocate the resources of the cloud server according to the use requirements of the client, build a container based on the allocated resources, and run the cloud desktop system in the container, avoiding the waste of server resources and saving the construction cost of the cloud desktop system.
  • Fig. 2a is a schematic diagram of a cloud desktop system processing method in an embodiment of the present disclosure, which is described on the basis of the above-mentioned embodiments, and provides a method for creating a container based on the resource usage information of the cloud server in response to the client's cloud desktop creation instruction A step of.
  • a method for processing a cloud desktop system provided by an embodiment of the present disclosure will be described below in conjunction with FIG. 2a. The method includes the following steps:
  • Expected resource information refers to the resources required to run the cloud desktop system included in the cloud desktop creation instruction.
  • the expected resource information may include central processing unit (Central Processing Unit, CPU) occupancy, memory occupancy, and disk occupancy.
  • CPU Central Processing Unit
  • the container manager after receiving the cloud desktop creation instruction sent by the client, the container manager first parses the cloud desktop creation instruction, obtains the expected resource information included in the cloud desktop creation instruction, and uses the expected resource information as the The current client allocates resources and creates containers based on the allocated resources.
  • the container manager parses the cloud desktop creation command 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 needs of the client to create The amount of resources required by the container.
  • the container required by the client may be created according to the desired resource information and the resource usage information of the cloud server. For example, according to the resource usage information of the cloud server, determine the remaining resource amount of the cloud server, and determine whether the remaining resource amount can meet the expected resource amount in the client's expected resource information, and if so, create a container according to the expected resource information.
  • the solutions of the embodiments of the present disclosure can realize the reasonable allocation of cloud server resources and avoid the waste of cloud server resources.
  • the expected resource information includes expected CPU usage, expected memory usage, and expected disk usage.
  • the resource usage information of the cloud server determine the unoccupied CPU, memory, and disk in the cloud server, and determine whether the unoccupied amount can meet the expected CPU usage, expected memory usage, and expected disk contained in the above expected resource information If the occupancy is satisfied, the container is created according to the expected resource information, and the container is created according to the client's needs to run the cloud desktop system.
  • the cloud server is an ARM chip server;
  • the cloud desktop image file includes the cloud desktop operating system, real-time control streaming service and video streaming streaming service.
  • the cloud desktop system architecture is as shown in Figure 2b
  • the cloud server is an ARM chip server
  • the ARM chip server includes a CPU, a Mali Graphics Processing Unit (Mali Graphics Processing Unit, Mali GPU) and a network interface controller ( Network Interface Controller, NIC).
  • the Mali GPU can be set to encode multimedia data.
  • the cloud desktop system based on the ARM chip server does not need to integrate an additional graphics processing unit (Graphics Processing Unit, GPU) chip when sending multimedia data to the outside of the container, reducing the construction cost of the cloud desktop system .
  • GPU Graphics Processing Unit
  • the LINUX operating system supports the LXC manager.
  • the LXC manager is set up to create, manage and destroy LXC container instances. After the container is created on the cloud server, the cloud desktop system is run by loading the cloud desktop image file in the container.
  • the cloud desktop image file includes the cloud desktop operating system, real-time control streaming server, and video streaming streaming service.
  • the cloud desktop operating system is used to execute the cloud desktop control commands sent by the client, the video streaming service is used to send the video stream of the cloud desktop to the client, and the real-time control streaming service is used to transmit the cloud desktop control commands sent by the client to the cloud desktop operating system.
  • various 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 streaming streaming service and real-time control streaming service in the cloud desktop system are developed based on the ARM chip server for interacting with the cloud desktop system and the client.
  • this embodiment further includes: responding to the client's cloud desktop release instruction, destroying the container where the cloud desktop system associated with the client is located.
  • the client can send a cloud desktop release instruction to the container manager through the operating system of the cloud server.
  • the container manager may respond to the cloud desktop release instruction and destroy the container where the cloud desktop system associated with the client is located. After the client does not need to use the cloud desktop, timely destroy the container where the client-associated cloud desktop system resides, so as to realize the timely release of cloud server resources, avoid unreasonable occupation of resources, and realize full utilization of cloud server resources.
  • the expected resource information in the cloud desktop creation command is obtained, and the container is created according to the expected resource information and the resource usage information of the cloud server, and finally by loading the The cloud desktop image file runs the cloud desktop system.
  • the technical solution of the present disclosure can allocate the resources of the cloud server according to the use requirements of the client, and construct the container based on the allocated resources, avoiding the waste of server resources and saving the construction cost of the cloud desktop system.
  • Fig. 3 is a flow chart of a control method for a cloud desktop system according to an embodiment of the present disclosure, and this embodiment may be applicable to a situation in which a cloud desktop system is constructed by using container technology.
  • the method in this embodiment can be executed by the cloud desktop system control device, which can be implemented in the form of software and/or hardware, and configured in an electronic device with data computing capabilities, and the electronic device can be a client device or a server device , client devices such as mobile phones, tablet computers, vehicle terminals, and desktop computers.
  • the cloud desktop system first obtains the cloud desktop control command from the client associated with the cloud desktop system, for example, the client sends the cloud desktop control command to the cloud desktop system associated with the client through the operating system of the cloud server, The cloud desktop system obtains the cloud desktop control command sent by the client through the operating system of the cloud server.
  • S320 Execute the cloud desktop control command through the cloud desktop system to obtain the cloud desktop multimedia data stream, and feed back the cloud desktop multimedia data stream to the client.
  • the cloud desktop control command is executed by the cloud desktop system, and the multimedia data stream during the execution of the cloud desktop control command is obtained, and finally the multimedia data stream is fed back to the client.
  • the cloud desktop system executes the cloud desktop control command, and obtains the cloud desktop picture and audio data when executing the cloud desktop control command, and finally can feed the cloud desktop picture and audio data to the client through the operating system of the cloud server.
  • the cloud desktop system is configured in the container of the cloud server; the container is created by responding to the client's cloud desktop creation instruction.
  • the cloud desktop system is configured in a container of the cloud server, and the container is created by a container manager running on the cloud server in response to a client's cloud desktop creation instruction.
  • the present disclosure can allocate resources according to user requirements to run the cloud desktop system when the client user needs to use the cloud desktop, so that the resources of the cloud server can be fully utilized, and resource waste caused by excessive pre-allocated resources can be avoided.
  • the technical solution of the embodiment of the present disclosure obtains the cloud desktop control command from the client associated with the cloud desktop system, executes the cloud desktop control command through the cloud desktop system to obtain the cloud desktop multimedia data stream, and feeds back the cloud desktop multimedia data stream to the client .
  • the cloud desktop system is configured in the container of the cloud server; the container is created by responding to the cloud desktop creation instruction of the client.
  • the technical solution of the present disclosure can allocate the resources of the cloud server according to the use requirements of the client, build a container based on the allocated resources, and run the cloud desktop system in the container, avoiding the waste of server resources and saving the construction cost of the cloud desktop system.
  • Fig. 4 is a schematic diagram of a control method of a cloud desktop system in an embodiment of the present disclosure. It is described on the basis of the above-mentioned embodiments, providing the steps of obtaining a cloud desktop control command from a client associated with the cloud desktop system, and by The step of the cloud desktop system executing the cloud desktop control command to obtain the cloud desktop multimedia data stream, and feeding back the cloud desktop multimedia data stream to the client.
  • a method for controlling a cloud desktop system provided by an embodiment of the present disclosure will be described below in conjunction with FIG. 2. The method includes the following steps:
  • the cloud desktop system includes a real-time control stream service, and can receive the cloud desktop control command sent by the client associated with the cloud desktop system through the real-time control stream service, and the cloud desktop control command sent by the client is passed through the operation of the cloud server
  • the system is sent to the cloud desktop system, and then to the cloud desktop operating system.
  • third-party applications such as instant messaging applications, office applications or entertainment applications can be installed and run in the cloud desktop operating system.
  • 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 the cloud desktop sent by the client matching the current cloud desktop system from the LINUX operating system of the ARM chip server A control command, wherein the cloud desktop control command 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 can connect to and operate the cloud desktop through the virtual network console (Virtual Network Console, VNC) and other remote desktop control software.
  • VNC Virtual Network Console
  • the cloud desktop control instruction sent by the client is executed by the cloud desktop operating system in the cloud desktop system.
  • the cloud desktop system runs the instant messaging software according to the mouse event initiated by the client to open the instant messaging software, and can also display the text input by the client keyboard according to the keyboard event initiated by the client for inputting chat text.
  • 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 streaming service in the cloud desktop system
  • the video stream streaming service can feed back the cloud desktop multimedia data stream to the client to meet the needs of the client to use the cloud desktop and provide users with a good cloud desktop experience.
  • the cloud server is an ARM chip server, running a LINUX operating system
  • the video streaming push service in the cloud desktop system collects pictures and audio data of the cloud desktop during the execution of the cloud desktop control command by the cloud desktop operating system, Then the picture and audio data are encoded to obtain the multimedia data stream, and the video streaming service can finally send the multimedia data stream to the client through the operating system of the ARM chip server.
  • the video stream push service in the cloud desktop system determine the cloud desktop multimedia data stream during the execution of cloud desktop control instructions by the cloud desktop operating system, including: collecting the cloud desktop operating system execution through the video stream push service Multimedia data in the cloud desktop control command process; the Mali graphics processor Mali GPU of the ARM chip server is used to encode the multimedia data to obtain the cloud desktop multimedia data stream.
  • a method of determining the cloud desktop multimedia data stream during the execution of the cloud desktop control instruction by the cloud desktop operating system through the video streaming service in the cloud desktop system is provided.
  • the multimedia data in the process of executing the cloud desktop control command is collected by the cloud desktop operating system, 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 Mali GPU of the ARM chip server is used to encode the multimedia data to obtain the cloud desktop multimedia data stream.
  • Building a cloud desktop system based on the ARM chip server can directly use the built-in Mali GPU of the ARM chip server when performing video streaming, without configuring additional GPU chips, which reduces the construction cost of the cloud desktop system.
  • the cloud desktop control command is obtained from the client associated with the cloud desktop system, and the cloud desktop control command is executed through the cloud desktop operating system in the cloud desktop system
  • the video streaming service in the cloud desktop system determine the cloud desktop multimedia data stream during the execution of cloud desktop control instructions by the cloud desktop operating system, and feed back the cloud desktop multimedia data stream to the client.
  • the technical solution of the present disclosure can allocate the resources of the cloud server according to the use requirements of the client, build a container based on the allocated resources, and run the cloud desktop system in the container, avoiding the waste of server resources and saving the construction cost of the cloud desktop system.
  • FIG. 5 is a structural diagram of a cloud desktop system processing device in the embodiment of the present disclosure, and the embodiment of the present disclosure is applicable to the case of constructing a cloud desktop system by container technology.
  • the device is realized by software and/or hardware, and is configured in electronic equipment with data computing capability.
  • a cloud desktop system processing device 500 as shown in Figure 5 includes: a container creation module 510 and a cloud desktop system operation module 520; wherein, the container creation module 510 is set to respond to the client's cloud desktop creation instruction, based on the cloud server The resource usage information is used to create a container; the cloud desktop system running module 520 is configured to run the cloud desktop system by loading the cloud desktop image file in the container.
  • the container manager responds to the cloud desktop creation instruction of the client, creates the container based on the resource usage information of the cloud server, and then loads the cloud desktop image file in the container to run the cloud desktop system.
  • the present disclosure can allocate cloud server resources 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, avoiding the waste of server resources and saving the construction cost of the cloud desktop system.
  • the container creation module 510 includes: a resource information acquisition unit configured to respond to the client's cloud desktop creation instruction to obtain the desired resource information in the cloud desktop creation instruction; a container creation unit configured to obtain the desired resource information based on the desired resource information and The resource usage information of the cloud server is used for container creation.
  • the cloud desktop system processing device 500 further includes: a container destruction module configured to, in response to the client's cloud desktop release instruction, destroy the container where the cloud desktop system associated with the client is located.
  • the cloud server is an ARM chip server; the cloud desktop image file includes the cloud desktop operating system, real-time control streaming service and video streaming streaming service.
  • 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 corresponding functional modules and effects for executing the method.
  • FIG. 6 is a structural diagram of a cloud desktop system control device in the embodiment of the present disclosure, and the embodiment of the present disclosure is applicable to the case of constructing a cloud desktop system by container technology.
  • the device is realized by software and/or hardware, and is configured in electronic equipment with data computing capability.
  • a cloud desktop system control device 600 as shown in Figure 6 includes: a control instruction acquisition module 610 and a multimedia data stream feedback module 620; wherein, the control instruction acquisition module 610 is configured to acquire from a client associated with the cloud desktop system Cloud desktop control command; multimedia data stream feedback module 620, configured to execute the cloud desktop control command through the cloud desktop system to obtain the cloud desktop multimedia data stream, and feed back the cloud desktop multimedia data stream to the client; wherein, the cloud desktop The desktop system is configured in the container of the cloud server; the container is created by responding to the cloud desktop creation instruction of the client.
  • the technical solution of the embodiment of the present disclosure obtains the cloud desktop control command from the client associated with the cloud desktop system, executes the cloud desktop control command through the cloud desktop system to obtain the cloud desktop multimedia data stream, and feeds back the cloud desktop multimedia data stream to the client,
  • the cloud desktop system is configured in the container of the cloud server; the container is created by responding to the cloud desktop creation instruction of the client.
  • the present disclosure can allocate cloud server resources 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, avoiding the waste of server resources and saving the construction cost of the cloud desktop system.
  • the cloud server is an ARM chip server.
  • the control instruction acquisition module 610 includes: a control instruction acquisition unit configured to acquire cloud desktop control instructions 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: a control command execution unit configured to execute the cloud desktop control command through the cloud desktop operating system in the cloud desktop system; a multimedia data stream feedback unit configured to execute the cloud desktop control command through the cloud desktop system
  • the video stream pushing service in the system determines the multimedia data stream of the cloud desktop during the execution of the cloud desktop control instruction by the cloud desktop operating system, and feeds back the multimedia data stream of the cloud desktop to the client.
  • the multimedia data stream feedback unit is configured to: collect the multimedia data in the process of executing the cloud desktop control command by the cloud desktop operating system through the video stream push service;
  • the above multimedia data is encoded to obtain the cloud desktop multimedia data stream.
  • 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 corresponding functional modules and effects for executing the method.
  • the present disclosure also provides an electronic device, a readable storage medium, and a computer program product.
  • FIG. 7 shows a schematic block diagram of an example electronic device 700 that may be used to implement embodiments of the present disclosure.
  • Electronic devices may be various forms of digital computers, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other computers.
  • Electronic devices may also be various forms of mobile devices, such as personal digital processing, cellular telephones, smart phones, wearable devices, and other similar computing devices.
  • the components, connection relationships between the components, and functions of the components shown herein are merely examples.
  • the device 700 includes a computing unit 701 that can be loaded into a random access memory (Random Access Memory, RAM) according to a computer program stored in a read-only memory (Read-Only Memory, ROM) 702 or from a storage unit 708. ) 703 to perform various actions and processes. In the RAM 703, various programs and data necessary for the operation of the device 700 can also be stored.
  • the computing unit 701, ROM 702, and RAM 703 are connected to each other through a bus 704.
  • An input/output (Input/Output, I/O) interface 705 is also connected to the bus 704 .
  • Multiple components in the device 700 are connected to the I/O interface 705, and the multiple components include: 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 magnetic disk , an optical disc, etc.; and a communication unit 709, such as a network card, a modem, a wireless communication transceiver, and the like.
  • the communication unit 709 allows the device 700 to exchange information/data with other devices over a computer network such as the Internet and/or various telecommunication networks.
  • Computing unit 701 may be various general and/or special purpose processing components with processing and computing capabilities. Some examples of the computing unit 701 include, but are not limited to, CPUs, GPUs, various dedicated artificial intelligence (Artificial Intelligence, AI) computing chips, various computing units that run machine learning model algorithms, digital signal processors (Digital Signal Processor, DSP ), and processors, controllers, microcontrollers, etc.
  • the computing unit 701 executes multiple methods and processes described above, such as a cloud desktop system processing method or a cloud desktop system control method.
  • the cloud desktop system processing method or the cloud desktop system control method may be implemented as a computer software program, which is tangibly contained in a machine-readable medium, such as the storage unit 708 .
  • 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.
  • the computer program When the computer program is loaded into the RAM 703 and executed by the computing unit 701, one or more steps of the above-described cloud desktop system processing method or cloud desktop system control method can be executed.
  • the computing unit 701 may be configured in other ways (for example, by means of firmware) to execute a cloud desktop system processing method or a cloud desktop system control method.
  • programmable processor can be special-purpose or general-purpose programmable processor, can receive data and instruction from storage system, at least one input device, and at least one output device, and transmit data and instruction to this storage system, this at least one input device, and this at least one output device an output device.
  • Program codes for implementing the methods of the present disclosure may be written in any combination of one or more programming languages. These program codes can be provided to processors or controllers of general-purpose computers, special-purpose computers, or other programmable data processing devices, so that when the program codes are executed by the processors or controllers, the functions/operations specified in the flowcharts and/or block diagrams be implemented.
  • the program code may execute entirely or partially on the machine, or as a stand-alone software package that executes partly on the machine and partly on a remote machine or entirely on a remote machine or server.
  • 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, apparatus, or device.
  • 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, electronic, magnetic, optical, electromagnetic, infrared semiconductor systems, devices, or devices, or any combination of the foregoing.
  • the machine-readable storage medium may include one or more wire-based electrical connections, a portable computer disk, hard disk, RAM, ROM, Electrically Erasable Programmable read only memory (EPROM) or flash memory, Fiber optics, Compact Disc Read-Only Memory (CD-ROM), optical storage devices, magnetic storage devices, or any combination of the foregoing.
  • the systems and techniques described herein can be implemented on a computer having a display device (e.g., a Cathode Ray Tube (CRT) or a Liquid Crystal Display (LCD)) to display information to the user.
  • a display device e.g., a Cathode Ray Tube (CRT) or a Liquid Crystal Display (LCD)
  • LCD Liquid Crystal Display
  • keyboard and pointing device such as a mouse or trackball
  • Other types of devices may also be configured to provide interaction with the user, for example, the feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback), and may be in any form (including Acoustic input, speech input or, tactile input) to receive input from the user.
  • the systems and techniques described herein can 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., as a a user computer having a graphical user interface or web browser through which a user can interact with embodiments of the systems and techniques described herein), or including such backend components, middleware components, Or any combination of front-end components in a computing system.
  • 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 Network (LAN), Wide Area Network (Wide Area Network, WAN), and the Internet.
  • a computer system may include clients and servers.
  • Clients and servers are generally remote from each other and typically interact through a communication network.
  • the relationship of client and server arises by running a computer program on the computer having a client-server relationship.
  • the server can be a cloud server, a server of a distributed system, or a server combined with a blockchain.
  • steps may be reordered, added or deleted using the various forms of the flow shown above.
  • steps described in the present disclosure may be executed in parallel, sequentially, or in a different order, as long as the desired result of the technical solution disclosed in the present disclosure can be achieved, no limitation is imposed herein.

Abstract

The present disclosure provides a cloud desktop system processing method, a cloud desktop system control method and a related device. The implementation solution comprises: in response to a cloud desktop creation instruction of a client, creating a container on the basis of resource usage information of a cloud server; and by means of loading a cloud desktop mirror image file into the container, operating a cloud desktop system.

Description

云桌面系统处理方法、云桌面系统控制方法以及相关设备Cloud desktop system processing method, cloud desktop system control method, and related equipment
本申请要求在2021年11月09日提交中国专利局、申请号为202111322039.1的中国专利申请的优先权,该申请的全部内容通过引用结合在本申请中。This application claims the priority of a Chinese patent application with application number 202111322039.1 filed with the China Patent Office on November 09, 2021, the entire contents of which are incorporated herein by reference.
技术领域technical field
本公开涉及计算机技术领域,例如涉及云计算技术领域,例如涉及一种云桌面系统处理方法、云桌面系统控制方法以及相关设备。The present disclosure relates to the technical field of computers, for example, to the technical field of cloud computing, for example, to a cloud desktop system processing method, a cloud desktop system control method, and related devices.
背景技术Background technique
随着云计算领域的快速发展,云桌面在越来越多的场景中得到应用,例如,移动教学场景以及移动办公场景等。云桌面技术能够将云端服务器的显示内容投放至本地桌面,给用户提供与服务器几乎相同的体验。With the rapid development of the cloud computing field, cloud desktops are applied in more and more scenarios, for example, mobile teaching scenarios and mobile office scenarios. Cloud desktop technology can deliver the display content of the cloud server to the local desktop, providing users with almost the same experience as the server.
在服务器实现多个云桌面系统时,需要在保证每个云桌面系统用户使用体验的同时,避免服务器资源浪费,因此,如何在多个云桌面系统间进行资源分配,使服务器资源得到充分利用得到越来越多开发者的关注。When the server implements multiple cloud desktop systems, it is necessary to ensure the user experience of each cloud desktop system while avoiding the waste of server resources. Therefore, how to allocate resources among multiple cloud desktop systems so that server resources can be fully utilized is obtained. More and more developers are paying attention.
发明内容Contents of the invention
本公开提供了一种云桌面系统处理方法、云桌面系统控制方法以及相关设备。The present disclosure provides a cloud desktop system processing method, a cloud desktop system control method and related equipment.
本公开提供了一种云桌面系统处理方法,包括:The present disclosure provides a cloud desktop system processing method, including:
响应于客户端的云桌面创建指令,基于云端服务器的资源使用信息进行容器创建;In response to the client's cloud desktop creation instruction, the container is created based on the resource usage information of the cloud server;
通过在所述容器中加载云桌面镜像文件,运行云桌面系统。The cloud desktop system is run by loading the cloud desktop image file in the container.
本公开提供了一种云桌面系统控制方法,包括:The present disclosure provides a cloud desktop system control method, including:
从与云桌面系统关联的客户端获取云桌面控制指令;Obtain cloud desktop control instructions from a client associated with the cloud desktop system;
通过所述云桌面系统执行所述云桌面控制指令得到云桌面多媒体数据流,并向客户端反馈所述云桌面多媒体数据流;Execute the cloud desktop control instruction through the cloud desktop system to obtain the cloud desktop multimedia data stream, and feed back the cloud desktop multimedia data stream to the client;
其中,所述云桌面系统配置于云端服务器的容器中;所述容器通过响应于所述客户端的云桌面创建指令创建。Wherein, the cloud desktop system is configured in a container of the cloud server; the container is created by responding to the cloud desktop creation instruction of the client.
本公开提供了一种云桌面系统处理装置,包括:The present disclosure provides a cloud desktop system processing device, including:
容器创建模块,设置为响应于客户端的云桌面创建指令,基于云端服务器 的资源使用信息进行容器创建;The container creation module is configured to create a container based on the resource usage information of the cloud server in response to the client's cloud desktop creation instruction;
云桌面系统运行模块,设置为通过在所述容器中加载云桌面镜像文件,运行云桌面系统。The cloud desktop system running module is configured to run the cloud desktop system by loading the cloud desktop image file in the container.
本公开提供了一种云桌面系统控制装置,包括:The present disclosure provides a cloud desktop system control device, including:
控制指令获取模块,设置为从与云桌面系统关联的客户端获取云桌面控制指令;A control instruction acquisition module is configured to obtain cloud desktop control instructions from a client associated with the cloud desktop system;
多媒体数据流反馈模块,设置为通过所述云桌面系统执行所述云桌面控制指令得到云桌面多媒体数据流,并向客户端反馈所述云桌面多媒体数据流;The multimedia data stream feedback module is configured to execute the cloud desktop control instruction through the cloud desktop system to obtain the cloud desktop multimedia data stream, and feed back the cloud desktop multimedia data stream to the client;
其中,所述云桌面系统配置于云端服务器的容器中;所述容器通过响应于所述客户端的云桌面创建指令创建。Wherein, the cloud desktop system is configured in a container of the cloud server; the container is created by responding to the cloud desktop creation instruction of the client.
本公开提供了一种电子设备,包括:The present disclosure provides an electronic device, including:
至少一个处理器;以及at least one processor; and
与至少一个处理器通信连接的存储器;memory communicatively coupled to at least one processor;
其中,存储器存储有可被至少一个处理器执行的指令,指令被至少一个处理器执行,以使至少一个处理器能够执行本公开任一实施例所述的云桌面系统处理方法,或者执行本公开任一实施例所述的云桌面系统控制方法。Wherein, 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 at least one processor can execute the cloud desktop system processing method described in any embodiment of the present disclosure, or execute the present disclosure. The cloud desktop system control method described in any embodiment.
本公开提供了一种存储有计算机指令的非瞬时计算机可读存储介质,其中,计算机指令用于使计算机执行本公开任一实施例所述的云桌面系统处理方法,或者执行本公开任一实施例所述的云桌面系统控制方法。The present disclosure provides a non-transitory computer-readable storage medium storing computer instructions, wherein the computer instructions are used to make the computer execute the cloud desktop system processing method described in any embodiment of the present disclosure, or execute any implementation of the present disclosure The cloud desktop system control method described in the example.
本公开提供了一种计算机程序产品,包括计算机程序,计算机程序在被处理器执行时实现本公开任一实施例所述的云桌面系统处理方法,或者执行本公开任一实施例所述的云桌面系统控制方法。The present disclosure provides a computer program product, including a computer program. When executed by a processor, the computer program implements the cloud desktop system processing method described in any embodiment of the present disclosure, or executes the cloud desktop system processing method described in any embodiment of the present disclosure. Desktop system control method.
附图说明Description of drawings
图1是根据本公开实施例提供的一种云桌面系统处理方法的示意图;FIG. 1 is a schematic diagram of a cloud desktop system processing method provided according to an embodiment of the present disclosure;
图2A是根据本公开实施例提供的一种云桌面系统处理方法的示意图;2A is a schematic diagram of a cloud desktop system processing method provided according to an embodiment of the present disclosure;
图2B是根据本公开实施例提供的云桌面系统架构图;FIG. 2B is an architecture diagram of a cloud desktop system provided according to an embodiment of the present disclosure;
图3是根据本公开实施例提供的一种云桌面系统控制方法的示意图;FIG. 3 is a schematic diagram of a cloud desktop system control method provided according to an embodiment of the present disclosure;
图4是根据本公开实施例提供的一种云桌面系统控制方法的示意图;Fig. 4 is a schematic diagram of a cloud desktop system control method provided according to an embodiment of the present disclosure;
图5是根据本公开实施例提供的一种云桌面系统处理装置的示意图;Fig. 5 is a schematic diagram of a cloud desktop system processing device provided according to an embodiment of the present disclosure;
图6是根据本公开实施例提供的一种云桌面系统控制装置的示意图;Fig. 6 is a schematic diagram of a cloud desktop system control device provided according to an embodiment of the present disclosure;
图7是用来实现本公开实施例的云桌面系统处理方法或云桌面系统控制方法的电子设备的框图。Fig. 7 is a block diagram of an electronic device used to implement the cloud desktop system processing method or the cloud desktop system control method according to an embodiment of the present disclosure.
具体实施方式Detailed ways
以下结合附图对本公开的示范性实施例做出说明。Exemplary embodiments of the present disclosure will be described below with reference to the accompanying drawings.
图1是根据本公开实施例公开的一种云桌面系统处理方法的流程图,本实施例可以适用于通过容器技术构建云桌面系统的情况。本实施例方法可以由云桌面系统处理装置来执行,该装置可采用软件和/或硬件的方式实现,并配置于具有数据运算能力的电子设备中,该电子设备可以是客户端设备或服务器设备,客户端设备例如手机、平板电脑、车载终端和台式电脑等。Fig. 1 is a flow chart of a cloud desktop system processing method disclosed according to an embodiment of the present disclosure, and this embodiment may be applicable to a situation in which a cloud desktop system is constructed using container technology. The method in this embodiment can be executed by a cloud desktop system processing device, which can be implemented in the form of software and/or hardware, and configured in an electronic device with data computing capabilities, and the electronic device can be a client device or a server device , client devices such as mobile phones, tablet computers, vehicle terminals, and desktop computers.
S110、响应于客户端的云桌面创建指令,基于云端服务器的资源使用信息进行容器创建。S110. In response to the cloud desktop creation instruction of the client, create a container based on the resource usage information of the cloud server.
为了便于理解,首先对部署云桌面系统的云端服务器进行解释说明。云端服务器可以是进阶精简指令集机器(Advanced Reduced Instruction Set Computer Machine,ARM)架构(采用精简指令集(Reduced Instruction Set Computer,RISC))的服务器或者X86架构(采用复杂指令集(Complex Instruction Set Computer,CISC))的服务器。云端服务器中运行有容器管理器,容器管理器可以创建或销毁容器实例。示例性的,云端服务器中运行的操作系统可以是LINUX操作系统,LINUX操作系统中运行有Linux容器(Linux Container,LXC)管理器,可以创建和销毁LXC容器实例。For ease of understanding, firstly, explain the cloud server where the cloud desktop system is deployed. The cloud server can be an advanced reduced instruction set machine (Advanced Reduced Instruction Set Computer Machine, ARM) architecture (using a reduced instruction set (Reduced Instruction Set Computer, RISC)) or an X86 architecture (using a complex instruction set (Complex Instruction Set Computer) , CISC)) server. A container manager runs in the cloud server, and the container manager can create or destroy container instances. Exemplarily, the operating system running in the cloud server may be a LINUX operating system, and a Linux container (Linux Container, LXC) manager runs in the LINUX operating system, which can create and destroy LXC container instances.
本公开实施例中,容器管理器在获取到客户端通过云端服务器的操作系统发送的云桌面创建指令后,可以基于云端服务器的资源使用信息创建新的容器,新的容器设置为运行用户所需的云桌面系统。例如,容器管理器在收到客户端发送的云桌面创建指令后,通过解析云桌面创建指令,获取客户端所期望的用于创建云桌面的资源,进而基于云端服务器的资源使用信息,判断云端服务器未被占用的资源是否能够满足上述客户端期望的资源,若能够满足,则根据客户端所期望的资源进行容器创建。In the embodiment of the present disclosure, 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, and the new container is set to run the user's required cloud desktop system. For example, 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 judges the cloud desktop based on the resource usage information of the cloud server. Whether the unoccupied resources of the server can meet the resources expected by the client, and if so, create a container according to the resources expected by the client.
示例性的,容器管理器接收到客户端发送的云桌面创建指令后,对云桌面创建指令进行解析,确定客户端需要3G的内存来运行云桌面系统,此时容器管理器基于云端服务器的资源使用信息,来判断是否能够进行容器创建,即判断云端服务器的剩余内存是否大于3G。若云端服务器的剩余内存大于3G,则容器管理器可以在云端服务器中创建占用3G内存的容器,以在该容器中运行客户 端所需的云桌面系统。Exemplarily, after the container manager receives the cloud desktop creation command sent by the client, it parses the cloud desktop creation command to determine that the client needs 3G of memory to run the cloud desktop system. At this time, the container manager is based on the resources of the cloud server Use the information to determine whether the container can be created, that is, to determine whether the remaining memory of the cloud server is greater than 3G. If the remaining memory of the cloud server is greater than 3G, the container manager can create a container occupying 3G memory in the cloud server to run the cloud desktop system required by the client in the container.
S120、通过在容器中加载云桌面镜像文件,运行云桌面系统。S120. Run the cloud desktop system by loading the cloud desktop image file in the container.
云桌面镜像文件是由云桌面系统中包含的服务打包得到的文件,在容器中运行云桌面镜像文件即可运行云桌面系统。示例性的,云桌面镜像文件中包含云桌面操作系统、视频流推流服务和实时控制流服务。其中,云桌面操作系统用来执行客户端发送的云桌面控制指令,视频流推流服务用于将云桌面的视频流发送至客户端,实时控制流服务用于将客户端发送的云桌面控制指令传送至云桌面操作系统。The cloud desktop image file is a file packaged by the services contained in the cloud desktop system. Running the cloud desktop image file in the container can run the cloud desktop system. Exemplarily, the cloud desktop image file includes a cloud desktop operating system, a video streaming service and a real-time control streaming service. Among them, the cloud desktop operating system is used to execute the cloud desktop control command sent by the client, the video streaming service is used to send the video stream of the cloud desktop to the client, and the real-time control streaming service is used to control the cloud desktop sent by the client. The command is sent to the cloud desktop operating system.
本公开实施例中,在依据客户端期望的资源,在云端服务器完成容器创建后,容器管理器控制容器加载云桌面镜像文件,来运行云桌面系统。示例性的,云桌面镜像文件由云桌面操作系统、视频流推流服务和实时控制流服务打包得到,在容器中运行云桌面镜像文件,即可运行云桌面系统,并且实现云桌面操作系统与远程客户端之间的信息传输,例如可以实现接收并执行客户端发送的云桌面控制指令,并将云桌面的视频流传送至客户端。其中,云桌面操作系统中可以安装即时通信软件、办公软件或者娱乐软件等多种第三方应用,以满足客户端用户的不同使用需求。In the embodiment of the present disclosure, after the cloud server finishes creating the container according to 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. Running the cloud desktop image file in the container can run the cloud desktop system, and realize the cloud desktop operating system and Information transmission between remote clients can, for example, receive and execute cloud desktop control instructions sent by the client, and transmit the video stream of the cloud desktop to the client. Among them, various third-party applications such as instant messaging software, office software, or entertainment software can be installed in the cloud desktop operating system to meet different usage needs of client users.
本公开实施例的技术方案,容器管理器响应于客户端的云桌面创建指令,基于云端服务器的资源使用信息进行容器创建,进而通过在容器中加载云桌面镜像文件,运行云桌面系统。本公开的技术方案可以根据客户端的使用需求来分配云端服务器的资源,基于分配资源构建容器,并在容器中运行云桌面系统,避免了服务器资源的浪费,节省了云桌面系统构建成本。In the technical solution of the disclosed embodiment, the container manager responds to the cloud desktop creation instruction of the client, creates the container based on the resource usage information of the cloud server, and then loads the cloud desktop image file in the container to run the cloud desktop system. The technical solution of the present disclosure can allocate the resources of the cloud server according to the use requirements of the client, build a container based on the allocated resources, and run the cloud desktop system in the container, avoiding the waste of server resources and saving the construction cost of the cloud desktop system.
图2a是本公开实施例中的一种云桌面系统处理方法的示意图,在上述实施例的基础上进行说明,提供了响应于客户端的云桌面创建指令,基于云端服务器的资源使用信息进行容器创建的步骤。下面结合图2a对本公开实施例提供的一种云桌面系统处理方法进行说明,所述方法包括以下步骤:Fig. 2a is a schematic diagram of a cloud desktop system processing method in an embodiment of the present disclosure, which is described on the basis of the above-mentioned embodiments, and provides a method for creating a container based on the resource usage information of the cloud server in response to the client's cloud desktop creation instruction A step of. A method for processing a cloud desktop system provided by an embodiment of the present disclosure will be described below in conjunction with FIG. 2a. The method includes the following steps:
S210、响应于客户端的云桌面创建指令,获取云桌面创建指令中的期望资源信息。S210. In response to the cloud desktop creation instruction of the client, obtain expected resource information in the cloud desktop creation instruction.
期望资源信息是指云桌面创建指令中包含的,运行云桌面系统需要占用的资源,例如期望资源信息可以包括中央处理器(Central Processing Unit,CPU)占用量、内存占用量以及磁盘占用量等。Expected resource information refers to the resources required to run the cloud desktop system included in the cloud desktop creation instruction. For example, the expected resource information may include central processing unit (Central Processing Unit, CPU) occupancy, memory occupancy, and disk occupancy.
本公开实施例中,容器管理器接收到客户端发送的云桌面创建指令后,首先对云桌面创建指令进行解析,得到云桌面创建指令中所包含的期望资源信息, 以根据期望资源信息来为当前客户端分配资源,且依据分配的资源创建容器。示例性的,容器管理器通过解析客户端发送的云桌面创建指令,获取其中包含客户端需要的CPU占用量、内存占用量以及磁盘占用量,以判断云端服务器当前剩余资源是否能够满足客户端创建容器所需的资源量。In the embodiment of the present disclosure, after receiving the cloud desktop creation instruction sent by the client, the container manager first parses the cloud desktop creation instruction, obtains the expected resource information included in the cloud desktop creation instruction, and uses the expected resource information as the The current client allocates resources and creates containers based on the allocated resources. Exemplarily, the container manager parses the cloud desktop creation command 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 needs of the client to create The amount of resources required by the container.
S220、依据期望资源信息和云端服务器的资源使用信息进行容器创建。S220. Create a container according to the expected resource information and the resource usage information of the cloud server.
本公开实施例中,在获取到云桌面创建指令中包含的期望资源信息后,可以依据期望资源信息和云端服务器的资源使用信息来创建客户端所需容器。例如依据云端服务器的资源使用信息,确定云端服务器的剩余资源量,并判断剩余资源量是否能够满足客户端期望资源信息中的期望资源量,如果满足,则依据期望资源信息创建容器。相较于预先建立容器的方式,本公开实施例的方案可以实现云端服务器资源的合理分配,避免云端服务器资源浪费。In the embodiment of the present disclosure, after obtaining the desired resource information contained in the cloud desktop creation instruction, the container required by the client may be created according to the desired resource information and the resource usage information of the cloud server. For example, according to the resource usage information of the cloud server, determine the remaining resource amount of the cloud server, and determine whether the remaining resource amount can meet the expected resource amount in the client's expected resource information, and if so, create a container according to the expected resource information. Compared with the method of pre-establishing containers, the solutions of the embodiments of the present disclosure can realize the reasonable allocation of cloud server resources and avoid the waste of cloud server resources.
示例性的,期望资源信息中包括期望CPU占用量、期望内存占用量以及期望磁盘占用量。依据云端服务器的资源使用信息,确定云端服务器中未被占用的CPU、内存和磁盘,并判断未被占用量是否能够满足上述期望资源信息中包含的期望CPU占用量、期望内存占用量以及期望磁盘占用量,如果满足,则依据期望资源信息进行容器创建,依据客户端的需求创建容器来运行云桌面系统。Exemplarily, the expected resource information includes expected CPU usage, expected memory usage, and expected disk usage. According to the resource usage information of the cloud server, determine the unoccupied CPU, memory, and disk in the cloud server, and determine whether the unoccupied amount can meet the expected CPU usage, expected memory usage, and expected disk contained in the above expected resource information If the occupancy is satisfied, the container is created according to the expected resource information, and the container is created according to the client's needs to run the cloud desktop system.
可选的,云端服务器是ARM芯片服务器;云桌面镜像文件包括云桌面操作系统、实时控制流服务和视频流推流服务。Optionally, the cloud server is an ARM chip server; the cloud desktop image file includes the cloud desktop operating system, real-time control streaming service and video streaming streaming service.
可选的实施例中,云桌面系统架构如图2b所示,云端服务器是ARM芯片服务器,ARM芯片服务器中包含CPU、马里图形处理器(Mali Graphics Processing Unit,Mali GPU)以及网络接口控制器(Network Interface Controller,NIC)。其中,Mali GPU可以设置为对多媒体数据进行编码。相较于传统的X86架构的服务器,基于ARM芯片服务器构建的云桌面系统在向容器外部发送多媒体数据时,无需集成额外的图形处理器(Graphics Processing Unit,GPU)芯片,降低云桌面系统构建成本。ARM芯片服务器中运行LINUX操作系统,在LINUX操作系统中配置LINUX内核的名称空间Namespace、控制组群(Control Groups,Cgroup)、文件系统Overlayfs、虚拟以太网(Virtual Ethernet,Veth)等参数,可以使得LINUX操作系统支持LXC管理器。LXC管理器设置为创建、管理和销毁LXC容器实例。在云端服务器进行容器创建后,通过在容器中加载云桌面镜像文件来运行云桌面系统。其中,云桌面镜像文件包括云桌面操作系统、实时控制流服务器以及视频流推流服务。云桌面操作系统用来执行客户端发送的云桌面控制指令,视频流推流服务用于将云桌面的视频流发送至客户端,实时控制流服务用于将客户端发送的云桌面控制指令传送至云桌面操作系统。为了满足客户端用户的不同使用需求,云桌面操作系统中可以安装并运行多种第三 方应用,例如,娱乐应用、办公应用或者通讯应用。值得注意的是,云桌面系统中的视频流推流服务和实时控制流服务是基于ARM芯片服务器开发的用于与云桌面系统与客户端交互的服务。In an optional embodiment, the cloud desktop system architecture is as shown in Figure 2b, the cloud server is an ARM chip server, and the ARM chip server includes a CPU, a Mali Graphics Processing Unit (Mali Graphics Processing Unit, Mali GPU) and a network interface controller ( Network Interface Controller, NIC). Among them, the Mali GPU can be set to encode multimedia data. Compared with the traditional X86 architecture server, the cloud desktop system based on the ARM chip server does not need to integrate an additional graphics processing unit (Graphics Processing Unit, GPU) chip when sending multimedia data to the outside of the container, reducing the construction cost of the cloud desktop system . Run the LINUX operating system in the ARM chip server, and configure parameters such as the namespace Namespace of the LINUX kernel, the control group (Control Groups, Cgroup), the file system Overlayfs, and the virtual Ethernet (Virtual Ethernet, Veth) in the LINUX operating system. The LINUX operating system supports the LXC manager. The LXC manager is set up to create, manage and destroy LXC container instances. After the container is created on 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 the cloud desktop operating system, real-time control streaming server, and video streaming streaming service. The cloud desktop operating system is used to execute the cloud desktop control commands sent by the client, the video streaming service is used to send the video stream of the cloud desktop to the client, and the real-time control streaming service is used to transmit the cloud desktop control commands sent by the client to the cloud desktop operating system. In order to meet the different needs of client users, various 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 streaming streaming service and real-time control streaming service in the cloud desktop system are developed based on the ARM chip server for interacting with the cloud desktop system and the client.
S230、通过在容器中加载云桌面镜像文件,运行云桌面系统。S230. Run the cloud desktop system by loading the cloud desktop image file in the container.
可选的,本实施例还包括:响应于客户端的云桌面释放指令,销毁与客户端关联的云桌面系统所在容器。Optionally, this embodiment further includes: responding to the client's cloud desktop release instruction, 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, it can send a cloud desktop release instruction to the container manager through the operating system of the cloud server. The container manager may respond to the cloud desktop release instruction and destroy the container where the cloud desktop system associated with the client is located. After the client does not need to use the cloud desktop, timely destroy the container where the client-associated cloud desktop system resides, so as to realize the timely release of cloud server resources, avoid unreasonable occupation of resources, and realize full utilization of cloud server resources.
本公开实施例的技术方案,响应于客户端的云桌面创建指令,获取云桌面创建指令中的期望资源信息,并依据期望资源信息和云端服务器的资源使用信息进行容器创建,最终通过在容器中加载云桌面镜像文件,运行云桌面系统。本公开的技术方案可以根据客户端的使用需求来分配云端服务器的资源,基于分配资源构建容器,避免了服务器资源的浪费,节省了云桌面系统构建成本。In the technical solutions of the embodiments of the present disclosure, in response to the cloud desktop creation command of the client, the expected resource information in the cloud desktop creation command is obtained, and the container is created according to the expected resource information and the resource usage information of the cloud server, and finally by loading the The cloud desktop image file runs the cloud desktop system. The technical solution of the present disclosure can allocate the resources of the cloud server according to the use requirements of the client, and construct the container based on the allocated resources, avoiding the waste of server resources and saving the construction cost of the cloud desktop system.
图3是根据本公开实施例公开的一种云桌面系统控制方法的流程图,本实施例可以适用于通过容器技术构建云桌面系统的情况。本实施例方法可以由云桌面系统控制装置来执行,该装置可采用软件和/或硬件的方式实现,并配置于具有数据运算能力的电子设备中,该电子设备可以是客户端设备或服务器设备,客户端设备例如手机、平板电脑、车载终端和台式电脑等。Fig. 3 is a flow chart of a control method for a cloud desktop system according to an embodiment of the present disclosure, and this embodiment may be applicable to a situation in which a cloud desktop system is constructed by using container technology. The method in this embodiment can be executed by the cloud desktop system control device, which can be implemented in the form of software and/or hardware, and configured in an electronic device with data computing capabilities, and the electronic device can be a client device or a server device , client devices such as mobile phones, tablet computers, vehicle terminals, and desktop computers.
S310、从与云桌面系统关联的客户端获取云桌面控制指令。S310. Obtain a cloud desktop control instruction from a client associated with the cloud desktop system.
本公开实施例中,云桌面系统首先从与云桌面系统关联的客户端获取云桌面控制指令,例如客户端通过云端服务器的操作系统向与该客户端关联的云桌面系统发送云桌面控制指令,云桌面系统通过云端服务器的操作系统获取客户端发送的云桌面控制指令。In the embodiment of the present disclosure, the cloud desktop system first obtains the cloud desktop control command from the client associated with the cloud desktop system, for example, the client sends the cloud desktop control command to the cloud desktop system associated with the client through the operating system of the cloud server, The cloud desktop system obtains the cloud desktop control command sent by the client through the operating system of the cloud server.
S320、通过云桌面系统执行云桌面控制指令得到云桌面多媒体数据流,并向客户端反馈云桌面多媒体数据流。S320. Execute the cloud desktop control command through the cloud desktop system to obtain the cloud desktop multimedia data stream, and feed back the cloud desktop multimedia data stream to the client.
本公开实施例中,通过云桌面系统执行云桌面控制指令,并获取执行云桌面控制指令过程中的多媒体数据流,最终将多媒体数据流反馈至客户端。例如云桌面系统执行云桌面控制指令,并在执行云桌面控制指令时获取云桌面图片和音频数据,最终可以将云桌面图片和音频数据通过云端服务器的操作系统反 馈至客户端。In the embodiment of the present disclosure, the cloud desktop control command is executed by the cloud desktop system, and the multimedia data stream during the execution of the cloud desktop control command is obtained, and finally the multimedia data stream is fed back to the client. For example, the cloud desktop system executes the cloud desktop control command, and obtains the cloud desktop picture and audio data when executing the cloud desktop control command, and finally can feed the cloud desktop picture and audio data to the client through the operating system of the cloud server.
云桌面系统配置于云端服务器的容器中;容器通过响应于客户端的云桌面创建指令创建。The cloud desktop system is configured in the container of the cloud server; the container is created by responding to the client's cloud desktop creation instruction.
本公开实施例中,云桌面系统配置于云端服务器的容器中,容器由运行在云端服务器中的容器管理器,响应于客户端的云桌面创建指令而创建的。本公开可以在客户端用户需要使用云桌面时,针对用户使用需求分配资源以运行云桌面系统,可以使云端服务器的资源得到充分利用,避免因预先分配的资源过大导致的资源浪费。In the embodiment of the present disclosure, the cloud desktop system is configured in a container of the cloud server, and the container is created by a container manager running on the cloud server in response to a client's cloud desktop creation instruction. The present disclosure can allocate resources according to user requirements to run the cloud desktop system when the client user needs to use the cloud desktop, so that the resources of the cloud server can be fully utilized, and resource waste caused by excessive pre-allocated resources can be avoided.
本公开实施例的技术方案,从与云桌面系统关联的客户端获取云桌面控制指令,并通过云桌面系统执行云桌面控制指令得到云桌面多媒体数据流,并向客户端反馈云桌面多媒体数据流。其中,云桌面系统配置于云端服务器的容器中;容器通过响应于所述客户端的云桌面创建指令创建。本公开的技术方案可以根据客户端的使用需求来分配云端服务器的资源,基于分配资源构建容器,并在容器中运行云桌面系统,避免了服务器资源的浪费,节省了云桌面系统构建成本。The technical solution of the embodiment of the present disclosure obtains the cloud desktop control command from the client associated with the cloud desktop system, executes the cloud desktop control command through the cloud desktop system to obtain the 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 the container of the cloud server; the container is created by responding to the cloud desktop creation instruction of the client. The technical solution of the present disclosure can allocate the resources of the cloud server according to the use requirements of the client, build a container based on the allocated resources, and run the cloud desktop system in the container, avoiding the waste of server resources and saving the construction cost of the cloud desktop system.
图4是本公开实施例中的一种云桌面系统控制方法的示意图,在上述实施例的基础上进行说明,提供了从与云桌面系统关联的客户端获取云桌面控制指令的步骤,以及通过云桌面系统执行云桌面控制指令得到云桌面多媒体数据流,并向客户端反馈云桌面多媒体数据流的步骤。下面结合图2对本公开实施例提供的一种云桌面系统控制方法进行说明,所述方法包括以下步骤:Fig. 4 is a schematic diagram of a control method of a cloud desktop system in an embodiment of the present disclosure. It is described on the basis of the above-mentioned embodiments, providing the steps of obtaining a cloud desktop control command from a client associated with the cloud desktop system, and by The step of the cloud desktop system executing the cloud desktop control command to obtain the cloud desktop multimedia data stream, and feeding back the cloud desktop multimedia data stream to the client. A method for controlling a cloud desktop system provided by an embodiment of the present disclosure will be described below in conjunction with FIG. 2. The method includes the following steps:
S410、通过云桌面系统中的实时控制流服务,从与云桌面系统关联的客户端获取云桌面控制指令。S410. Obtain a cloud desktop control instruction from a client associated with the cloud desktop system through the real-time control stream service in the cloud desktop system.
本公开实施例中,云桌面系统包括实时控制流服务,可以通过实时控制流服务接收与云桌面系统关联的客户端发送的云桌面控制指令,客户端发送的云桌面控制指令通过云端服务器的操作系统传送至云桌面系统中,然后传送至云桌面操作系统。其中,云桌面操作系统中可以安装并运行即时通讯应用、办公应用或者娱乐应用等多种类型的第三方应用。In the embodiment of the present disclosure, the cloud desktop system includes a real-time control stream service, and can receive the cloud desktop control command sent by the client associated with the cloud desktop system through the real-time control stream service, and the cloud desktop control command sent by the client is passed through the operation of the cloud server The system is sent to the cloud desktop system, and then 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.
示例性的,云端服务器是ARM芯片服务器,运行有LINUX操作系统,云桌面系统中的实时控制流服务,可以从ARM芯片服务器的LINUX操作系统接收与当前云桌面系统匹配的客户端发送的云桌面控制指令,其中,云桌面控制指令可以是针对云桌面操作系统中安装的第三方应用的鼠标事件、键盘事件或者触屏事件等。客户端可以是通过虚拟网络控制台(Virtual Network Console, VNC)等运程桌面控制软件连接并操作云桌面。Exemplarily, the cloud server is an ARM chip server running a LINUX operating system, and the real-time control flow service in the cloud desktop system can receive the cloud desktop sent by the client matching the current cloud desktop system from the LINUX operating system of the ARM chip server A control command, wherein the cloud desktop control command 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 can connect to and operate the cloud desktop through the virtual network console (Virtual Network Console, VNC) and other remote desktop control software.
S420、通过云桌面系统中的云桌面操作系统执行云桌面控制指令。S420. Execute the cloud desktop control instruction through the cloud desktop operating system in the cloud desktop system.
本公开实施例中,通过云桌面系统中的云桌面操作系统执行客户端发送的云桌面控制指令。例如,云桌面系统根据客户端发起的打开即时通讯软件的鼠标事件,运行即时通讯软件,还可以是根据客户端发起的输入聊天文字的键盘事件,显示客户端键盘输入的文字。In the embodiment of the present disclosure, 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, and can also display the text input by the client keyboard according to the keyboard event initiated by the client for inputting chat text.
S430、通过云桌面系统中的视频流推流服务,确定云桌面操作系统执行云桌面控制指令过程中的云桌面多媒体数据流,并向客户端反馈云桌面多媒体数据流。S430. Using the video streaming push service in the cloud desktop system, determine the cloud desktop multimedia data stream during the execution of the cloud desktop control instruction by the cloud desktop operating system, and feed back the cloud desktop multimedia data stream to the client.
本公开实施例中,在云桌面操作系统执行云桌面控制指令时,可以通过云桌面系统中的视频流推流服务,来确定云桌面操作系统执行云桌面控制指令过程中的云桌面多媒体数据流,最终视频流推流服务可以向客户端反馈云桌面多媒体数据流,满足客户端使用云桌面的需求,给用户提供良好的云桌面使用体验。In the embodiment 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 streaming service in the cloud desktop system Finally, the video stream streaming service can feed back the cloud desktop multimedia data stream to the client to meet the needs of the client to use the cloud desktop and provide users with a good cloud desktop experience.
示例性的,云端服务器是ARM芯片服务器,运行有LINUX操作系统,云桌面系统中的视频流推流服务,采集云桌面操作系统在执行云桌面控制指令过程中的云桌面的图片和音频数据,然后将图片和音频数据进行编码得到多媒体数据流,视频流推流服务最终可以通过ARM芯片服务器的操作系统,将多媒体数据流发送至客户端。Exemplarily, the cloud server is an ARM chip server, running a LINUX operating system, and the video streaming push service in the cloud desktop system collects pictures and audio data of the cloud desktop during the execution of the cloud desktop control command by the cloud desktop operating system, Then the picture and audio data are encoded to obtain the multimedia data stream, and the video streaming service can finally send the multimedia data stream to the client through the operating system of the ARM chip server.
可选的,通过云桌面系统中的视频流推流服务,确定云桌面操作系统执行云桌面控制指令过程中的云桌面多媒体数据流,包括:通过视频流推流服务,采集云桌面操作系统执行云桌面控制指令过程中的多媒体数据;采用ARM芯片服务器的马里图形处理器Mali GPU对多媒体数据进行编码,得到云桌面多媒体数据流。Optionally, through the video stream push service in the cloud desktop system, determine the cloud desktop multimedia data stream during the execution of cloud desktop control instructions by the cloud desktop operating system, including: collecting the cloud desktop operating system execution through the video stream push service Multimedia data in the cloud desktop control command process; the Mali graphics processor Mali GPU of the ARM chip server is used to encode the multimedia data to obtain the cloud desktop multimedia data stream.
本公开实施例中,提供一种通过云桌面系统中的视频流推流服务,确定云桌面操作系统执行云桌面控制指令过程中的云桌面多媒体数据流的方式。首先通过视频流推流服务,采集云桌面操作系统执行云桌面控制指令过程中的多媒体数据,进而采用ARM芯片服务器的Mali GPU对多媒体数据进行编码,得到云桌面多媒体数据流。基于ARM芯片服务器构建云桌面系统,可以在进行视频流推流时直接使用ARM芯片服务器内置的Mali GPU,无需配置额外的GPU芯片,降低了云桌面系统构建成本。In the embodiment of the present disclosure, a method of determining the cloud desktop multimedia data stream during the execution of the cloud desktop control instruction by the cloud desktop operating system through the video streaming service in the cloud desktop system is provided. First, through the video streaming service, the multimedia data in the process of executing the cloud desktop control command is collected by the cloud desktop operating system, 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. Building a cloud desktop system based on the ARM chip server can directly use the built-in Mali GPU of the ARM chip server when performing video streaming, without configuring additional GPU chips, which reduces the construction cost of the cloud desktop system.
本公开实施例的技术方案,通过云桌面系统中的实时控制流服务,从与云桌面系统关联的客户端获取云桌面控制指令,并通过云桌面系统中的云桌面操 作系统执行云桌面控制指令,最终通过云桌面系统中的视频流推流服务,确定云桌面操作系统执行云桌面控制指令过程中的云桌面多媒体数据流,并向客户端反馈云桌面多媒体数据流。本公开的技术方案可以根据客户端的使用需求来分配云端服务器的资源,基于分配资源构建容器,并在容器中运行云桌面系统,避免了服务器资源的浪费,节省了云桌面系统构建成本。According to the technical solution of the embodiment of the present disclosure, through the real-time control flow service in the cloud desktop system, the cloud desktop control command is obtained from the client associated with the cloud desktop system, and the cloud desktop control command is executed through the cloud desktop operating system in the cloud desktop system Finally, through the video streaming service in the cloud desktop system, determine the cloud desktop multimedia data stream during the execution of cloud desktop control instructions by the cloud desktop operating system, and feed back the cloud desktop multimedia data stream to the client. The technical solution of the present disclosure can allocate the resources of the cloud server according to the use requirements of the client, build a container based on the allocated resources, and run the cloud desktop system in the container, avoiding the waste of server resources and saving the construction cost of the cloud desktop system.
根据本公开的实施例,图5是本公开实施例中的云桌面系统处理装置的结构图,本公开实施例适用于通过容器技术构建云桌面系统的情况。该装置采用软件和/或硬件实现,并配置于具备数据运算能力的电子设备中。According to an embodiment of the present disclosure, FIG. 5 is a structural diagram of a cloud desktop system processing device in the embodiment of the present disclosure, and the embodiment of the present disclosure is applicable to the case of constructing a cloud desktop system by container technology. The device is realized by software and/or hardware, and is configured in electronic equipment with data computing capability.
如图5所示的一种云桌面系统处理装置500,包括:容器创建模块510和云桌面系统运行模块520;其中,容器创建模块510,设置为响应于客户端的云桌面创建指令,基于云端服务器的资源使用信息进行容器创建;云桌面系统运行模块520,设置为通过在所述容器中加载云桌面镜像文件,运行云桌面系统。A cloud desktop system processing device 500 as shown in Figure 5 includes: a container creation module 510 and a cloud desktop system operation module 520; wherein, the container creation module 510 is set to respond to the client's cloud desktop creation instruction, based on the cloud server The resource usage information is used to create a container; the cloud desktop system running module 520 is configured to run the cloud desktop system by loading the cloud desktop image file in the container.
本公开实施例的技术方案,容器管理器响应于客户端的云桌面创建指令,基于云端服务器的资源使用信息进行容器创建,进而通过在容器中加载云桌面镜像文件,运行云桌面系统。本公开可以根据客户端的使用需求来分配云端服务器的资源,基于分配资源构建容器,并在容器中运行云桌面系统,避免了服务器资源的浪费,节省了云桌面系统构建成本。In the technical solution of the disclosed embodiment, the container manager responds to the cloud desktop creation instruction of the client, creates the container based on the resource usage information of the cloud server, and then loads the cloud desktop image file in the container to run the cloud desktop system. The present disclosure can allocate cloud server resources 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, avoiding the waste of server resources and saving the construction cost of the cloud desktop system.
容器创建模块510,包括:望资源信息获取单元,设置为响应于客户端的云桌面创建指令,获取所述云桌面创建指令中的期望资源信息;容器创建单元,设置为依据所述期望资源信息和云端服务器的资源使用信息进行容器创建。The container creation module 510 includes: a resource information acquisition unit configured to respond to the client's cloud desktop creation instruction to obtain the desired resource information in the cloud desktop creation instruction; a container creation unit configured to obtain the desired resource information based on the desired resource information and The resource usage information of the cloud server is used for container creation.
云桌面系统处理装置500,还包括:容器销毁模块,设置为响应于客户端的云桌面释放指令,销毁与所述客户端关联的云桌面系统所在容器。The cloud desktop system processing device 500 further includes: a container destruction module configured to, in response to the client's cloud desktop release instruction, destroy the container where the cloud desktop system associated with the client is located.
云端服务器是ARM芯片服务器;云桌面镜像文件包括云桌面操作系统、实时控制流服务和视频流推流服务。The cloud server is an ARM chip server; the cloud desktop image file includes the cloud desktop operating system, real-time control streaming service and video streaming streaming service.
本公开实施例所提供的云桌面系统处理装置可执行本公开任意实施例所提供的云桌面系统处理方法,具备执行方法相应的功能模块和效果。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 corresponding functional modules and effects for executing the method.
根据本公开的实施例,图6是本公开实施例中的云桌面系统控制装置的结构图,本公开实施例适用于通过容器技术构建云桌面系统的情况。该装置采用软件和/或硬件实现,并配置于具备数据运算能力的电子设备中。According to an embodiment of the present disclosure, FIG. 6 is a structural diagram of a cloud desktop system control device in the embodiment of the present disclosure, and the embodiment of the present disclosure is applicable to the case of constructing a cloud desktop system by container technology. The device is realized by software and/or hardware, and is configured in electronic equipment with data computing capability.
如图6所示的一种云桌面系统控制装置600,包括:控制指令获取模块610 和多媒体数据流反馈模块620;其中,控制指令获取模块610,设置为从与云桌面系统关联的客户端获取云桌面控制指令;多媒体数据流反馈模块620,设置为通过所述云桌面系统执行所述云桌面控制指令得到云桌面多媒体数据流,并向客户端反馈云桌面多媒体数据流;其中,所述云桌面系统配置于云端服务器的容器中;所述容器通过响应于所述客户端的云桌面创建指令创建。A cloud desktop system control device 600 as shown in Figure 6 includes: a control instruction acquisition module 610 and a multimedia data stream feedback module 620; wherein, the control instruction acquisition module 610 is configured to acquire from a client associated with the cloud desktop system Cloud desktop control command; multimedia data stream feedback module 620, configured to execute the cloud desktop control command through the cloud desktop system to obtain the cloud desktop multimedia data stream, and feed back the cloud desktop multimedia data stream to the client; wherein, the cloud desktop The desktop system is configured in the container of the cloud server; the container is created by responding to the cloud desktop creation instruction of the client.
本公开实施例的技术方案,从与云桌面系统关联的客户端获取云桌面控制指令,通过云桌面系统执行云桌面控制指令得到云桌面多媒体数据流,并向客户端反馈云桌面多媒体数据流,其中,云桌面系统配置于云端服务器的容器中;容器通过响应于所述客户端的云桌面创建指令创建。本公开可以根据客户端的使用需求来分配云端服务器的资源,基于分配资源构建容器,并在容器中运行云桌面系统,避免了服务器资源的浪费,节省了云桌面系统构建成本。The technical solution of the embodiment of the present disclosure obtains the cloud desktop control command from the client associated with the cloud desktop system, executes the cloud desktop control command through the cloud desktop system to obtain the 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 the container of the cloud server; the container is created by responding to the cloud desktop creation instruction of the client. The present disclosure can allocate cloud server resources 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, avoiding the waste of server resources and saving the construction cost of the cloud desktop system.
云端服务器是ARM芯片服务器。The cloud server is an ARM chip server.
控制指令获取模块610,包括:控制指令获取单元,设置为通过云桌面系统中的实时控制流服务,从与云桌面系统关联的客户端获取云桌面控制指令。The control instruction acquisition module 610 includes: a control instruction acquisition unit configured to acquire cloud desktop control instructions from a client associated with the cloud desktop system through a real-time control flow service in the cloud desktop system.
多媒体数据流反馈模块620,包括:控制指令执行单元,设置为通过所述云桌面系统中的云桌面操作系统执行所述云桌面控制指令;多媒体数据流反馈单元,设置为通过所述云桌面系统中的视频流推流服务,确定云桌面操作系统执行所述云桌面控制指令过程中的云桌面多媒体数据流,并向客户端反馈所述云桌面多媒体数据流。The multimedia data stream feedback module 620 includes: a control command execution unit configured to execute the cloud desktop control command through the cloud desktop operating system in the cloud desktop system; a multimedia data stream feedback unit configured to execute the cloud desktop control command through the cloud desktop system The video stream pushing service in the system determines the multimedia data stream of the cloud desktop during the execution of the cloud desktop control instruction by the cloud desktop operating system, and feeds back the multimedia data stream of the cloud desktop to the client.
多媒体数据流反馈单元,是设置为:通过所述视频流推流服务,采集云桌面操作系统执行所述云桌面控制指令过程中的多媒体数据;采用ARM芯片服务器的马里图形处理器Mali GPU对所述多媒体数据进行编码,得到云桌面多媒体数据流。The multimedia data stream feedback unit is configured to: collect the multimedia data in the process of executing the cloud desktop control command by the cloud desktop operating system through the video stream push service; The above multimedia data is encoded to obtain the cloud desktop multimedia data stream.
本公开实施例所提供的云桌面系统控制装置可执行本公开任意实施例所提供的云桌面系统控制方法,具备执行方法相应的功能模块和效果。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 corresponding functional modules and effects for executing the method.
本公开的技术方案中,所涉及的用户个人信息的收集、存储、使用、加工、传输、提供和公开等处理,均符合相关法律法规的规定,且不违背公序良俗。In the technical solution of this disclosure, the collection, storage, use, processing, transmission, provision, and disclosure of user personal information involved are all in compliance with relevant laws and regulations, and do not violate public order and good customs.
根据本公开的实施例,本公开还提供了一种电子设备、一种可读存储介质和一种计算机程序产品。According to the embodiments of the present disclosure, the present disclosure also provides an electronic device, a readable storage medium, and a computer program product.
图7示出了可以用来实施本公开的实施例的示例电子设备700的示意性框图。电子设备可以是多种形式的数字计算机,诸如,膝上型计算机、台式计算机、工作台、个人数字助理、服务器、刀片式服务器、大型计算机、和其它计 算机。电子设备还可以是多种形式的移动装置,诸如,个人数字处理、蜂窝电话、智能电话、可穿戴设备和其它类似的计算装置。本文所示的部件、部件之间的连接关系、以及部件的功能仅仅作为示例。FIG. 7 shows a schematic block diagram of an example electronic device 700 that may be used to implement embodiments of the present disclosure. Electronic devices may be various forms of digital computers, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other computers. Electronic devices may also be various forms of mobile devices, such as personal digital processing, cellular telephones, smart phones, wearable devices, and other similar computing devices. The components, connection relationships between the components, and functions of the components shown herein are merely examples.
如图7所示,设备700包括计算单元701,其可以根据存储在只读存储器(Read-Only Memory,ROM)702中的计算机程序或者从存储单元708加载到随机访问存储器(Random Access Memory,RAM)703中的计算机程序,来执行多种动作和处理。在RAM 703中,还可存储设备700操作所需的多种程序和数据。计算单元701、ROM 702以及RAM 703通过总线704彼此相连。输入/输出(Input/Output,I/O)接口705也连接至总线704。As shown in FIG. 7 , the device 700 includes a computing unit 701 that can be loaded into a random access memory (Random Access Memory, RAM) according to a computer program stored in a read-only memory (Read-Only Memory, ROM) 702 or from a storage unit 708. ) 703 to perform various actions and processes. In the RAM 703, various programs and data necessary for the operation of the device 700 can also be stored. The computing unit 701, ROM 702, and RAM 703 are connected to each other through a bus 704. An input/output (Input/Output, I/O) interface 705 is also connected to the bus 704 .
设备700中的多个部件连接至I/O接口705,多个部件包括:输入单元706,例如键盘、鼠标等;输出单元707,例如多种类型的显示器、扬声器等;存储单元708,例如磁盘、光盘等;以及通信单元709,例如网卡、调制解调器、无线通信收发机等。通信单元709允许设备700通过诸如因特网的计算机网络和/或多种电信网络与其他设备交换信息/数据。Multiple components in the device 700 are connected to the I/O interface 705, and the multiple components include: 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 magnetic disk , an optical disc, etc.; and a communication unit 709, such as a network card, a modem, a wireless communication transceiver, and the like. The communication unit 709 allows the device 700 to exchange information/data with other devices over a computer network such as the Internet and/or various telecommunication networks.
计算单元701可以是多种具有处理和计算能力的通用和/或专用处理组件。计算单元701的一些示例包括但不限于CPU、GPU、多种专用的人工智能(Artificial Intelligence,AI)计算芯片、多种运行机器学习模型算法的计算单元、数字信号处理器(Digital Signal Processor,DSP)、以及处理器、控制器、微控制器等。计算单元701执行上文所描述的多个方法和处理,例如云桌面系统处理方法或云桌面系统控制方法。例如,在一些实施例中,云桌面系统处理方法或云桌面系统控制方法可被实现为计算机软件程序,其被有形地包含于机器可读介质,例如存储单元708。在一些实施例中,计算机程序的部分或者全部可以经由ROM 702和/或通信单元709而被载入和/或安装到设备700上。当计算机程序加载到RAM 703并由计算单元701执行时,可以执行上文描述的云桌面系统处理方法或云桌面系统控制方法的一个或多个步骤。备选地,在其他实施例中,计算单元701可以通过其他方式(例如,借助于固件)而被配置为执行云桌面系统处理方法或云桌面系统控制方法。 Computing unit 701 may be various general and/or special purpose processing components with processing and computing capabilities. Some examples of the computing unit 701 include, but are not limited to, CPUs, GPUs, various dedicated artificial intelligence (Artificial Intelligence, AI) computing chips, various computing units that run machine learning model algorithms, digital signal processors (Digital Signal Processor, DSP ), and processors, controllers, microcontrollers, etc. The computing unit 701 executes multiple 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 contained in a machine-readable medium, such as the 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 above-described cloud desktop system processing method or cloud desktop system control method can be executed. Alternatively, in other embodiments, the computing unit 701 may be configured in other ways (for example, by means of firmware) to execute a cloud desktop system processing method or a cloud desktop system control method.
本文中以上描述的系统和技术的多种实施方式可以在数字电子电路系统、集成电路系统、场可编程门阵列(Field Programmable Gate Array,FPGA)、专用集成电路(Application Specific Integrated Circuit,ASIC)、专用标准产品(Application Specific Standard Parts,ASSP)、芯片上系统的系统(System on Chip,SOC)、负载可编程逻辑设备(Complex Programmable Logic Device,CPLD)、计算机硬件、固件、软件、和/或它们的组合中实现。这些多种实施方式可以包括:实施在一个或者多个计算机程序中,该一个或者多个计算机程序可在包括 至少一个可编程处理器的可编程系统上执行和/或解释,该可编程处理器可以是专用或者通用可编程处理器,可以从存储系统、至少一个输入装置、和至少一个输出装置接收数据和指令,并且将数据和指令传输至该存储系统、该至少一个输入装置、和该至少一个输出装置。Various implementations of the systems and technologies described above in this paper can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (Field Programmable Gate Array, FPGA), application specific integrated circuits (Application Specific Integrated Circuit, ASIC), Application Specific Standard Parts (ASSP), System on Chip (System on Chip, SOC), Load Programmable Logic Device (Complex Programmable Logic Device, CPLD), computer hardware, firmware, software, and/or their implemented in a combination. These various embodiments may include being implemented in one or more computer programs executable and/or interpreted on a programmable system including at least one programmable processor, the programmable processor Can be special-purpose or general-purpose programmable processor, can receive data and instruction from storage system, at least one input device, and at least one output device, and transmit data and instruction to this storage system, this at least one input device, and this at least one output device an output device.
用于实施本公开的方法的程序代码可以采用一个或多个编程语言的任何组合来编写。这些程序代码可以提供给通用计算机、专用计算机或其他可编程数据处理装置的处理器或控制器,使得程序代码由处理器或控制器执行时,流程图和/或框图中所规定的功能/操作被实施。程序代码可以完全在机器上执行或部分地在机器上执行,程序代码也可以作为独立软件包一部分地在机器上执行且另一部分在远程机器上执行或完全在远程机器或服务器上执行。Program codes for implementing the methods of the present disclosure may be written in any combination of one or more programming languages. These program codes can be provided to processors or controllers of general-purpose computers, special-purpose computers, or other programmable data processing devices, so that when the program codes are executed by the processors or controllers, the functions/operations specified in the flowcharts and/or block diagrams be implemented. The program code may execute entirely or partially on the machine, or as a stand-alone software package that executes partly on the machine and partly on a remote machine or entirely on a remote machine or server.
在本公开的上下文中,机器可读介质可以是有形的介质,其可以包含或存储以供指令执行系统、装置或设备使用或与指令执行系统、装置或设备结合地使用的程序。机器可读介质可以是机器可读信号介质或机器可读储存介质。机器可读介质可以包括但不限于电子的、磁性的、光学的、电磁的、红外的半导体系统、装置或设备,或者上述内容的任何组合。机器可读存储介质可以包括基于一个或多个线的电气连接、便携式计算机盘、硬盘、RAM、ROM、可擦除可编程只读存储器(Electrically Erasable Programmable read only memory,EPROM)或快闪存储器、光纤、便捷式紧凑盘只读存储器(Compact Disc Read-Only Memory,CD-ROM)、光学储存设备、磁储存设备、或上述内容的任何组合。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, apparatus, or device. 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, electronic, magnetic, optical, electromagnetic, infrared semiconductor systems, devices, or devices, or any combination of the foregoing. The machine-readable storage medium may include one or more wire-based electrical connections, a portable computer disk, hard disk, RAM, ROM, Electrically Erasable Programmable read only memory (EPROM) or flash memory, Fiber optics, Compact Disc Read-Only Memory (CD-ROM), optical storage devices, magnetic storage devices, or any combination of the foregoing.
为了提供与用户的交互,可以在计算机上实施此处描述的系统和技术,该计算机具有:向用户显示信息的显示装置(例如,阴极射线管(Cathode Ray Tube,CRT)或者液晶显示器(Liquid Crystal Display,LCD)监视器),以及键盘和指向装置(例如,鼠标或者轨迹球),用户可以通过该键盘和该指向装置来将输入提供给计算机。其它种类的装置还可以设置为提供与用户的交互,例如,提供给用户的反馈可以是任何形式的传感反馈(例如,视觉反馈、听觉反馈、或者触觉反馈),并且可以用任何形式(包括声输入、语音输入或者、触觉输入)来接收来自用户的输入。To provide for interaction with a user, the systems and techniques described herein can be implemented on a computer having a display device (e.g., a Cathode Ray Tube (CRT) or a Liquid Crystal Display (LCD)) to display information to the user. Display, LCD) monitor), and a keyboard and pointing device (such as a mouse or trackball) through which the user can provide input to the computer. Other types of devices may also be configured to provide interaction with the user, for example, the feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback), and may be in any form (including Acoustic input, speech input or, tactile input) to receive input from the user.
可以将此处描述的系统和技术实施在包括后台部件的计算系统(例如,作为数据服务器)、或者包括中间件部件的计算系统(例如,应用服务器)、或者包括前端部件的计算系统(例如,具有图形用户界面或者网络浏览器的用户计算机,用户可以通过该图形用户界面或者该网络浏览器来与此处描述的系统和技术的实施方式交互)、或者包括这种后台部件、中间件部件、或者前端部件的任何组合的计算系统中。可以通过任何形式或者介质的数字数据通信(例 如,通信网络)来将系统的部件相互连接。通信网络的示例包括:局域网(Local Area Network,LAN)、广域网(Wide Area Network,WAN)和互联网。The systems and techniques described herein can 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., as a a user computer having a graphical user interface or web browser through which a user can interact with embodiments of the systems and techniques described herein), or including such backend components, middleware components, Or any combination of front-end components in a computing system. 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 Network (LAN), Wide Area Network (Wide Area Network, WAN), and the Internet.
计算机系统可以包括客户端和服务器。客户端和服务器一般远离彼此并且通常通过通信网络进行交互。通过在计算机上运行具有客户端-服务器关系的计算机程序来产生客户端和服务器的关系。服务器可以是云服务器,也可以为分布式系统的服务器,或者是结合了区块链的服务器。A computer system may include clients and servers. Clients and servers are generally remote from each other and typically interact through a communication network. The relationship of client and server arises by running a computer program on the computer having a client-server relationship. The server can be a cloud server, a server of a distributed system, or a server combined with a blockchain.
应该理解,可以使用上面所示的多种形式的流程,重新排序、增加或删除步骤。例如,本发公开中记载的多个步骤可以并行地执行也可以顺序地执行也可以不同的次序执行,只要能够实现本公开公开的技术方案所期望的结果,本文在此不进行限制。It should be understood that steps may be reordered, added or deleted using the various forms of the flow shown above. For example, multiple steps described in the present disclosure may be executed in parallel, sequentially, or in a different order, as long as the desired result of the technical solution disclosed in the present disclosure can be achieved, no limitation is imposed herein.

Claims (17)

  1. 一种云桌面系统处理方法,包括:A method for processing a cloud desktop system, comprising:
    响应于客户端的云桌面创建指令,基于云端服务器的资源使用信息进行容器创建;In response to the client's cloud desktop creation instruction, the container is created based on the resource usage information of the cloud server;
    通过在所述容器中加载云桌面镜像文件,运行云桌面系统。The cloud desktop system is run by loading the cloud desktop image file in the container.
  2. 根据权利要求1所述的方法,其中,所述响应于客户端的云桌面创建指令,基于云端服务器的资源使用信息进行容器创建,包括:The method according to claim 1, wherein, in response to the client's cloud desktop creation instruction, creating the container based on the resource usage information of the cloud server includes:
    响应于客户端的云桌面创建指令,获取所述云桌面创建指令中的期望资源信息;Responding to the client's cloud desktop creation instruction, obtaining the desired resource information in the cloud desktop creation instruction;
    依据所述期望资源信息和云端服务器的资源使用信息进行容器创建。The container is created according to the desired resource information and the resource usage information of the cloud server.
  3. 根据权利要求1所述的方法,还包括:The method according to claim 1, further comprising:
    响应于客户端的云桌面释放指令,销毁与所述客户端关联的云桌面系统所在容器。In response to the client's cloud desktop release instruction, destroy the container where the cloud desktop system associated with the client is located.
  4. 根据权利要求1所述的方法,其中,所述云端服务器是进阶精简指令集机器ARM芯片服务器;所述云桌面镜像文件包括云桌面操作系统、实时控制流服务和视频流推流服务。The method according to claim 1, wherein the cloud server is an Advanced Reduced Instruction Set Machine (ARM) chip server; and the cloud desktop image file includes a cloud desktop operating system, real-time control streaming service and video streaming streaming service.
  5. 一种云桌面系统控制方法,包括:A cloud desktop system control method, comprising:
    从与云桌面系统关联的客户端获取云桌面控制指令;Obtain cloud desktop control instructions from a client associated with the cloud desktop system;
    通过所述云桌面系统执行所述云桌面控制指令得到云桌面多媒体数据流,并向客户端反馈所述云桌面多媒体数据流;Execute the cloud desktop control instruction through the cloud desktop system to obtain the cloud desktop multimedia data stream, and feed back the cloud desktop multimedia data stream to the client;
    其中,所述云桌面系统配置于云端服务器的容器中;所述容器通过响应于所述客户端的云桌面创建指令创建。Wherein, the cloud desktop system is configured in a container of the cloud server; the container is created by responding to the cloud desktop creation instruction of the client.
  6. 根据权利要求5所述的方法,其中,所述云端服务器是ARM芯片服务器;The method according to claim 5, wherein the cloud server is an ARM chip server;
    所述从与云桌面系统关联的客户端获取云桌面控制指令,包括:The described acquisition of cloud desktop control instructions from the client associated with the cloud desktop system includes:
    通过云桌面系统中的实时控制流服务,从与云桌面系统关联的客户端获取云桌面控制指令;Obtain cloud desktop control instructions from the client associated with the cloud desktop system through the real-time control flow service in the cloud desktop system;
    所述通过所述云桌面系统执行所述云桌面控制指令得到云桌面多媒体数据流,并向客户端反馈云桌面多媒体数据流,包括:The cloud desktop multimedia data stream obtained by executing the cloud desktop control instruction through the cloud desktop system, and feeding back the cloud desktop multimedia data stream to the client, includes:
    通过所述云桌面系统中的云桌面操作系统执行所述云桌面控制指令;Execute the cloud desktop control instruction through the cloud desktop operating system in the cloud desktop system;
    通过所述云桌面系统中的视频流推流服务,确定所述云桌面操作系统执行所述云桌面控制指令过程中的云桌面多媒体数据流,并向客户端反馈所述云桌面多媒体数据流。Through the video stream push service in the cloud desktop system, determine the cloud desktop multimedia data stream during the execution of the cloud desktop control instruction by the cloud desktop operating system, and feed back the cloud desktop multimedia data stream to the client.
  7. 根据权利要求6所述的方法,其中,所述通过所述云桌面系统中的视频流推流服务,确定所述云桌面操作系统执行所述云桌面控制指令过程中的云桌面多媒体数据流,包括:The method according to claim 6, wherein, through the video streaming service in the cloud desktop system, it is determined that the cloud desktop operating system executes the cloud desktop multimedia data stream during the process of executing the cloud desktop control instruction, include:
    通过所述视频流推流服务,采集所述云桌面操作系统执行所述云桌面控制指令过程中的多媒体数据;Collecting multimedia data in the process of executing the cloud desktop control instruction by the cloud desktop operating system through the video streaming streaming service;
    采用ARM芯片服务器的马里图形处理器Mali GPU对所述多媒体数据进行编码,得到云桌面多媒体数据流。The Mali graphics processor Mali GPU of the ARM chip server is used to encode the multimedia data to obtain the cloud desktop multimedia data stream.
  8. 一种云桌面系统处理装置,包括:A cloud desktop system processing device, comprising:
    容器创建模块,设置为响应于客户端的云桌面创建指令,基于云端服务器的资源使用信息进行容器创建;The container creation module is configured to respond to the client's cloud desktop creation instruction and create a container based on the resource usage information of the cloud server;
    云桌面系统运行模块,设置为通过在所述容器中加载云桌面镜像文件,运行云桌面系统。The cloud desktop system running module is configured to run the cloud desktop system by loading the cloud desktop image file in the container.
  9. 根据权利要求8所述的装置,其中,所述容器创建模块,包括:The device according to claim 8, wherein the container creation module comprises:
    期望资源信息获取单元,设置为响应于客户端的云桌面创建指令,获取所 述云桌面创建指令中的期望资源信息;The expected resource information acquisition unit is configured to respond to the client's cloud desktop creation instruction to obtain the expected resource information in the cloud desktop creation instruction;
    容器创建单元,设置为依据所述期望资源信息和云端服务器的资源使用信息进行容器创建。The container creation unit is configured to create the container according to the expected resource information and the resource usage information of the cloud server.
  10. 根据权利要求8所述的装置,还包括:The apparatus of claim 8, further comprising:
    容器销毁模块,设置为响应于客户端的云桌面释放指令,销毁与所述客户端关联的云桌面系统所在容器。The container destruction module is configured to, in response to the client's cloud desktop release instruction, destroy the container where the cloud desktop system associated with the client is located.
  11. 根据权利要求8所述的装置,其中,所述云端服务器是ARM芯片服务器;所述云桌面镜像文件包括云桌面操作系统、实时控制流服务和视频流推流服务。The device according to claim 8, wherein the cloud server is an ARM chip server; the cloud desktop image file includes a cloud desktop operating system, a real-time control streaming service and a video streaming push service.
  12. 一种云桌面系统控制装置,包括:A cloud desktop system control device, comprising:
    控制指令获取模块,设置为从与云桌面系统关联的客户端获取云桌面控制指令;A control instruction acquisition module is configured to obtain cloud desktop control instructions from a client associated with the cloud desktop system;
    多媒体数据流反馈模块,设置为通过所述云桌面系统执行所述云桌面控制指令得到云桌面多媒体数据流,并向客户端反馈所述云桌面多媒体数据流;The multimedia data stream feedback module is configured to execute the cloud desktop control instruction through the cloud desktop system to obtain the cloud desktop multimedia data stream, and feed back the cloud desktop multimedia data stream to the client;
    其中,所述云桌面系统配置于云端服务器的容器中;所述容器通过响应于所述客户端的云桌面创建指令创建。Wherein, the cloud desktop system is configured in a container of the cloud server; the container is created by responding to the cloud desktop creation instruction of the client.
  13. 根据权利要求12所述的装置,其中,所述云端服务器是ARM芯片服务器;The device according to claim 12, wherein the cloud server is an ARM chip server;
    所述控制指令获取模块,包括:The control instruction acquisition module includes:
    控制指令获取单元,设置为通过云桌面系统中的实时控制流服务,从与云桌面系统关联的客户端获取云桌面控制指令;The control instruction acquisition unit is configured to obtain the cloud desktop control instruction from the client associated with the cloud desktop system through the real-time control flow service in the cloud desktop system;
    所述多媒体数据流反馈模块,包括:The multimedia data stream feedback module includes:
    控制指令执行单元,设置为通过所述云桌面系统中的云桌面操作系统执行 所述云桌面控制指令;A control instruction execution unit is configured 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 configured to determine the cloud desktop multimedia data stream during the execution of the cloud desktop control instruction by the cloud desktop operating system through the video stream push service in the cloud desktop system, and feed back to the client The cloud desktop multimedia data stream.
  14. 根据权利要求13所述的装置,其中,所述多媒体数据流反馈单元,是设置为:The device according to claim 13, wherein the multimedia data stream feedback unit is configured to:
    通过所述视频流推流服务,采集云桌面操作系统执行所述云桌面控制指令过程中的多媒体数据;Through the video streaming streaming service, collecting multimedia data in the process of executing the cloud desktop control instruction by the cloud desktop operating system;
    采用ARM芯片服务器的马里图形处理器Mali GPU对所述多媒体数据进行编码,得到云桌面多媒体数据流。The Mali graphics processor Mali GPU of the ARM chip server is used to encode the multimedia data to obtain the cloud desktop multimedia data stream.
  15. 一种电子设备,包括:An electronic device comprising:
    至少一个处理器;以及at least one processor; and
    与所述至少一个处理器通信连接的存储器;memory communicatively coupled to the at least one processor;
    其中,所述存储器存储有可被所述至少一个处理器执行的指令,所述指令被所述至少一个处理器执行,以使所述至少一个处理器能够执行权利要求1-4中任一项所述的云桌面系统处理方法,或权利要求5-7中任一项所述的云桌面系统控制方法。Wherein, the memory stores instructions executable by the at least one processor, the instructions are executed by the at least one processor, so that the at least one processor can perform any one of claims 1-4 The cloud desktop system processing method, or the cloud desktop system control method according to any one of claims 5-7.
  16. 一种存储有计算机指令的非瞬时计算机可读存储介质,其中,所述计算机指令用于使所述计算机执行权利要求1-4中任一项所述的云桌面系统处理方法,或权利要求5-7中任一项所述的云桌面系统控制方法。A non-transitory computer-readable storage medium storing computer instructions, wherein the computer instructions are used to enable the computer to execute the cloud desktop system processing method according to any one of claims 1-4, or claim 5 The cloud desktop system control method described in any one of -7.
  17. 一种计算机程序产品,包括计算机程序和指令中的至少之一,所述计算机程序和指令中的至少之一在被处理器执行时实现权利要求1-4中任一项所述的云桌面系统处理方法,或权利要求5-7中任一项所述的云桌面系统控制方法。A computer program product, comprising at least one of computer programs and instructions, at least one of said computer programs and instructions implements the cloud desktop system described in any one of claims 1-4 when executed by a processor processing method, or the cloud desktop system control method described in any one of claims 5-7.
PCT/CN2022/130820 2021-11-09 2022-11-09 Cloud desktop system processing method, cloud desktop system control method and related device WO2023083208A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202111322039.1 2021-11-09
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
WO2023083208A1 true WO2023083208A1 (en) 2023-05-19

Family

ID=80377659

Family Applications (1)

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

Country Status (2)

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

Families Citing this family (3)

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

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102413150A (en) * 2010-09-20 2012-04-11 联想(北京)有限公司 Server and virtual desktop control method and virtual desktop control system
US20120179820A1 (en) * 2010-12-31 2012-07-12 Desktone, Inc. Providing Virtual Desktops Using Resources Accessed on Public Computer Networks
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
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

Family Cites Families (3)

* 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
CN110750331B (en) * 2019-10-21 2023-06-09 北京华育兴业科技有限公司 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

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102413150A (en) * 2010-09-20 2012-04-11 联想(北京)有限公司 Server and virtual desktop control method and virtual desktop control system
US20120179820A1 (en) * 2010-12-31 2012-07-12 Desktone, Inc. Providing Virtual Desktops Using Resources Accessed on Public Computer Networks
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
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

Also Published As

Publication number Publication date
CN114116092A (en) 2022-03-01

Similar Documents

Publication Publication Date Title
WO2023083208A1 (en) Cloud desktop system processing method, cloud desktop system control method and related device
EP3637771A1 (en) Cloud desktop system, and image sequence compression and encoding method, and medium therefor
WO2019174474A1 (en) Lag information acquisition method and device and terminal
US8762544B2 (en) Selectively communicating data of a peripheral device to plural sending computers
US10693816B2 (en) Communication methods and systems, electronic devices, and computer clusters
CN109376053B (en) Data processing method and device and mobile terminal
US10320886B2 (en) Image display method and apparatus
CN110489440B (en) Data query method and device
US20220357990A1 (en) Method for allocating data processing tasks, electronic device, and storage medium
CN111679911B (en) Management method, device, equipment and medium of GPU card in cloud environment
WO2019201340A1 (en) Processor core scheduling method and apparatus, terminal, and storage medium
WO2023066183A1 (en) Data processing method and apparatus, device, and storage medium
CN111200606A (en) Deep learning model task processing method, system, server and storage medium
KR20210122849A (en) Methods and devices for step-assisted workflows
CN114968567A (en) Method, apparatus and medium for allocating computing resources of a compute node
CN114201280A (en) Multimedia data processing method, device, equipment and storage medium
CN113703973A (en) Cloud task processing method, system, device, equipment and storage medium
CN110012003B (en) Cloud application screen capturing method and device
CN102968807A (en) Automatic image generating method and automatic image generating system
CN112769788B (en) Charging service data processing method and device, electronic equipment and storage medium
CN114146406A (en) Method and device for allocating operation resources, electronic equipment and storage medium
CN114298313A (en) Artificial intelligence computer vision reasoning method
CN113472638A (en) Edge gateway control method, system, device, electronic equipment and storage medium
EP3223161A1 (en) Information processing system, information processing method, information processing device, and control method and control program therefor
US11847510B2 (en) System for application self-optimization in serverless edge computing environments

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 22892002

Country of ref document: EP

Kind code of ref document: A1