A cloud desktop implementation method, system, device and storage medium
By introducing gateway devices and proxy clients into the cloud desktop system and forwarding data in a zero-copy manner, the problem of low performance of existing cloud desktop products is solved and a high-performance and controllable cloud desktop service is achieved.
Patent Information
- Application Number
- CN202111590369.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-12-23
- Publication Date
- 2024-08-30
- Estimated Expiration
- 2041-12-23
AI Technical Summary
The service agreements of existing cloud desktop products are usually fixed and cannot be modified, resulting in serious performance loss and poor implementation results in actual applications.
Introduce gateway devices and proxy clients for cloud desktop service management and control, use a zero-copy method to forward cloud desktop data, avoid system calls and data copies, and achieve straight-line transmission between cloud desktop clients and servers.
Without modifying the third-party cloud desktop product agreement, the cloud desktop service is highly performant and controllable, and data transmission delays and performance losses are reduced.
Smart Images

Figure CN114301978B
Abstract
Description
Technical Field
[0001] The present application relates to the field of cloud computing technology, and in particular to a cloud desktop implementation method, system, device and storage medium. Background Art
[0002] Cloud desktop, also known as desktop virtualization or cloud computer, is a new model that replaces traditional computers. After adopting cloud desktop, users no longer need to purchase computer hosts. After installing the client, users can access the virtual machine host on the back-end server through a unique communication protocol to achieve interactive operations, achieving the same experience as a computer.
[0003] Currently, cloud desktop technology providers can provide numerous cloud desktop products for users to choose from. However, since the service agreements in these cloud desktop products are usually fixed and cannot be modified, these cloud desktop products suffer great performance losses after actual application, and the implementation effect is poor. Summary of the invention
[0004] Multiple aspects of the present application provide a cloud desktop implementation method, system, device and storage medium to improve the performance of cloud desktop services.
[0005] The present application provides a cloud desktop implementation method, including:
[0006] In response to a cloud desktop service request, calling up a cloud desktop client through a proxy client, wherein the proxy client is used to perform customized management and control of the cloud desktop service;
[0007] The proxy client is used to obtain cloud desktop data provided by a cloud desktop server from a gateway device, and the gateway device is in communication connection with the cloud desktop server;
[0008] Providing the cloud desktop data to the cloud desktop client in a zero-copy manner using the proxy client;
[0009] The cloud desktop client performs cloud desktop presentation based on the cloud desktop data.
[0010] The embodiment of the present application also provides a cloud desktop system, including a user terminal, a gateway device and a cloud desktop server, wherein the user terminal is installed with a proxy client and a cloud desktop client;
[0011] The user terminal is used to respond to a cloud desktop service request, call up a cloud desktop client through a proxy client, and the proxy client is used to perform customized management and control of cloud desktop services; use the proxy client to obtain cloud desktop data provided by a cloud desktop server from a gateway device; use the proxy client to provide the cloud desktop data to the cloud desktop client in a zero-copy manner; and the cloud desktop client performs cloud desktop display based on the cloud desktop data;
[0012] The gateway device is used to communicate with the cloud desktop server, obtain the cloud desktop data required by the proxy client from the cloud desktop server and provide it to the proxy client;
[0013] The cloud desktop server is used to provide cloud desktop data.
[0014] The embodiment of the present application also provides a user terminal, including a memory, a processor and a communication component, and having a proxy client and a cloud desktop client installed therein;
[0015] The memory is used to store one or more computer instructions;
[0016] The processor is coupled to the memory and the communication component and is configured to execute the one or more computer instructions for:
[0017] In response to a cloud desktop service request, calling up a cloud desktop client through a proxy client, wherein the proxy client is used to perform customized management and control of the cloud desktop service;
[0018] The proxy client obtains the cloud desktop data provided by the cloud desktop server from the gateway device through the communication component, and the gateway device is in communication connection with the cloud desktop server;
[0019] Providing the cloud desktop data to the cloud desktop client in a zero-copy manner using the proxy client;
[0020] The cloud desktop client performs cloud desktop presentation based on the cloud desktop data.
[0021] An embodiment of the present application also provides a computer-readable storage medium storing computer instructions. When the computer instructions are executed by one or more processors, the one or more processors implement the aforementioned cloud desktop implementation method.
[0022] In the embodiment of the present application, a gateway device and a proxy client are introduced to manage and control the cloud desktop service. Therefore, customized management and control logic for the cloud desktop service can be accessed without modifying the relevant protocols used by the third-party cloud desktop product; moreover, a zero-copy method is used to forward cloud desktop data between the proxy client and the cloud desktop client, which can effectively avoid system calls and data copies during data forwarding, so that data is transmitted in a straight line between the cloud desktop client and the cloud desktop server as if no gateway device and proxy client are introduced, and the latency is very low, thereby ensuring the performance of the cloud desktop service, thereby realizing a high-performance and controllable cloud desktop service. BRIEF DESCRIPTION OF THE DRAWINGS
[0023] The drawings described herein are used to provide a further understanding of the present application and constitute a part of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:
[0024] Figure 1 A schematic diagram of the structure of a cloud desktop system provided for an exemplary embodiment of the present application;
[0025] Figure 2 A schematic diagram of an application scenario provided for an exemplary embodiment of the present application;
[0026] Figure 3 A flowchart of a cloud desktop implementation method provided by another exemplary embodiment of the present application;
[0027] Figure 4 A schematic diagram of the structure of a user terminal provided for another exemplary embodiment of the present application;
[0028] Figure 5a A logical diagram of a traditional forwarding solution provided for an exemplary embodiment of the present application;
[0029] Figure 5b A logical diagram of a zero-copy solution provided for an exemplary embodiment of the present application. DETAILED DESCRIPTION
[0030] In order to make the purpose, technical solution and advantages of the present application clearer, the technical solution of the present application will be clearly and completely described below in combination with the specific embodiments of the present application and the corresponding drawings. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present application.
[0031] At present, since the service protocols in third-party cloud desktop products are usually solidified and cannot be modified, these cloud desktop products suffer great performance losses after actual application, and the implementation effect is not good. For this reason, in some embodiments of the present application: a gateway device and a proxy client are introduced to manage and control the cloud desktop service, so that the customized management and control logic of the cloud desktop service can be accessed without modifying the relevant protocols used by the third-party cloud desktop product; and, a zero-copy method is used to forward cloud desktop data between the proxy client and the cloud desktop client, which can effectively avoid system calls and data copies during data forwarding, so that the cloud desktop client and the cloud desktop server can transmit data in a straight line as if no gateway device and proxy client are introduced, and the delay is very low, which ensures the performance of the cloud desktop service, thereby realizing a high-performance and controllable cloud desktop service.
[0032] The technical solutions provided by various embodiments of the present application are described in detail below in conjunction with the accompanying drawings.
[0033] Figure 1 The following is a schematic diagram of a cloud desktop system provided by an exemplary embodiment of the present application. Figure 1 As shown, the system includes: a user terminal 10 , a gateway device 20 and a cloud desktop server 30 , wherein a proxy client 11 and a cloud desktop client 12 are installed on the user terminal 10 .
[0034] In this embodiment, the cloud desktop client 12 and the cloud desktop server 30 can be provided by the third-party cloud desktop product itself. That is, the third-party cloud desktop product itself can provide the cloud desktop client and the cloud desktop server. This embodiment does not limit the provider of the third-party cloud desktop product, and the cloud desktop system provided in this embodiment can be adapted to various third-party cloud desktop products.
[0035] During the research process, the inventor found that when a third-party cloud desktop product is used alone, the relevant protocols used therein are usually not modifiable. However, in actual applications, in many cases, it is necessary to perform personalized management and control of the third-party cloud desktop product as needed. In this regard, in this embodiment, a gateway device 20 and a proxy client 11 are introduced on top of the third-party cloud desktop product to perform cloud desktop service management and control to form the cloud desktop system of this embodiment.
[0036] The cloud desktop system provided in this embodiment can be deployed based on cloud computing resources, wherein the cloud desktop server 30 can be deployed on cloud computing resources, for example, the cloud desktop server 30 can be installed on a cloud node, a cloud server, etc., so that the cloud desktop server 30 can use the computing power of cloud computing resources to provide cloud desktop services. Of course, this embodiment is not limited to this, and the cloud desktop server 30 can also be installed on a server within an enterprise, etc.
[0037] refer to Figure 1, the cloud desktop client 12 can be installed on the user terminal 10, wherein the user terminal 10 can be a terminal device such as a personal computer, a smart phone, a tablet computer, etc. In addition, the proxy client 11 is also installed on the user terminal 10, and the proxy client 11 can be understood as a client that provides proxy services, and the proxy client 11 can be used for customized management and control of cloud desktop services. The implementation form of the proxy client 11 can be an application APP, etc. The customized management and control of cloud desktop services supported by the proxy client 11 may include but is not limited to user authentication, user authorization, data encryption, security control or access control, etc. For example, the proxy client 11 can provide a user login interface, and the user can enter a user name and password to log in. It is worth noting that the user name and password here are provided by the cloud desktop service provider (such as the holder of cloud computing resources, the enterprise that needs to use cloud desktop services, etc.), rather than by the cloud desktop service provider. The user name and password here can be used as the basis for the cloud desktop service provider to perform customized management and control of cloud desktop services. In addition, the proxy client 11 can communicate with the control center of the cloud desktop service provider, and cooperate with the control center to realize customized management and control of the original desktop service. For example, the control center may also be located on the cloud, and various access control policies may be preset in the control center. The proxy client 11 may determine the user's access rights to the control center based on the current user's user name, thereby performing access control on the user. For example, if the current user is an ordinary employee, then if the user initiates an access request to a financial file on the cloud desktop, the proxy client 11 may determine from the control center that the user does not have access rights, and the proxy client 11 may issue an access denial prompt.
[0038] In actual applications, the user may first open the proxy client 11. The user may initiate a cloud desktop opening request through the proxy client 11. In this case, the proxy client 11 may connect to the cloud desktop client 12. Here, the process of the proxy client 11 connecting to the cloud desktop client 12 may be imperceptible to the user, that is, only the proxy client 11 may be used to face the user. Afterwards, the proxy client 11 may connect to the gateway device 20 and obtain the cloud desktop data provided by the cloud desktop server 30 from the gateway device 20. Since this is the process of opening the cloud desktop, the cloud desktop data obtained is usually some basic desktop content data, such as desktop background image, desktop layout data, desktop chart, menu bar, etc. For these cloud desktop data, the proxy client 11 can provide them to the cloud desktop client 12 in a zero-copy manner. In this way, the cloud desktop client 12 and the cloud desktop server 30 can transmit data almost in a straight line as if the proxy client 11 and the gateway device 20 do not exist. There is no need to switch between the user state and the kernel state multiple times in the user terminal 10 due to the introduction of the proxy client 11 and the gateway, and there is no need to copy the data. Instead, the cloud desktop data can be directly transmitted, which can effectively ensure the transmission rate of the cloud desktop data and reduce the transmission delay and transmission cost. The proxy client 11 can present the cloud desktop content to the user.
[0039] The above is the interaction logic of the cloud desktop startup stage. Similarly, during the use of the cloud desktop, the user can continue to present richer cloud desktop data through the cloud desktop system provided by this embodiment.
[0040] refer to Figure 1In the process of using the cloud desktop, the proxy client 11 can respond to the cloud desktop service request and call up the cloud desktop client 12 through the proxy client 11. In actual application, after the connection between the proxy client 11 and the cloud desktop client 12 is established in the above-mentioned cloud desktop opening process, the connection can be kept unbroken. Of course, the connection can also be disconnected after confirming that the cloud desktop data is transmitted to the cloud desktop client 12, and the connection can be established again when the next cloud desktop service request occurs. This embodiment does not limit this. Among them, the required cloud desktop data can be specified in the cloud desktop service request. Afterwards, the proxy client 11 can connect to the gateway device 20 and obtain the cloud desktop data provided by the cloud desktop server 30 from the gateway device 20. During the connection process of the gateway device 20 mentioned above or here, the proxy client 11 can authenticate the gateway device 20, and if the authentication is passed, a communication connection between the proxy client 11 and the gateway device 20 is established. The proxy client 11 can notify the gateway device 20 of the required cloud desktop data, and the gateway device 20 can obtain the cloud desktop data from the cloud desktop server 30 in real time. The gateway device 20 can also cache the cloud desktop data in the cloud desktop server 30 locally in advance, and send the cloud desktop data directly to the proxy client 11 from the local.
[0041] It is worth noting that in this embodiment, the cloud desktop client 12 does not interact directly with the gateway device 20, but interacts with the proxy client 11. Therefore, the cloud desktop data sent by the gateway device 20 will be stored in the storage area corresponding to the proxy client 11 after arriving at the user terminal 10. Moreover, the cloud desktop data is usually stored in the kernel state, while the proxy client 11 is in the user state. Therefore, if the proxy client 11 wants to obtain the cloud desktop data, the proxy client 11 must switch from the user state to the kernel state through the read() system call, copy the cloud desktop data from the kernel state to the user state and return; and in the process of the proxy client 11 providing data to the cloud desktop client 12, it is also necessary to switch from the user state to the kernel state through the write() system call, copy the cloud desktop data from the user state to the kernel state and return. In the whole process, there are 4 switches between the user state and the kernel state, and 2 data copies, and the performance loss is very large.
[0042] To this end, it is proposed in this embodiment that the proxy client 11 adopts a zero-copy method to provide the cloud desktop data obtained from the gateway device 20 to the cloud desktop client 12 without the need for the above-mentioned four switches between user mode and kernel mode and two data copies, thereby effectively avoiding the performance loss caused by cloud desktop data forwarding.
[0043] Similarly, after the cloud desktop data reaches the cloud desktop client 12, the cloud desktop client 12 can perform cloud desktop presentation based on the cloud desktop data. Therefore, the presentation function of the cloud desktop client 12 is an existing function, and the presentation details are not described in detail here.
[0044] In addition, in this embodiment, the process of transmitting cloud desktop data between the cloud desktop server 30 and the gateway device 20 can also be optimized. If the cloud desktop server 30 and the gateway device 20 are located under the same operating system, the cloud desktop server 30 can also forward the cloud desktop data to the gateway device 20 in a zero-copy manner. For example, if the cloud desktop server 30 and the gateway device 20 are both deployed on cloud computing resources, and these cloud computing resources are organized under the same operating system, the cloud desktop data can be transmitted between the cloud desktop server 30 and the gateway device 20 in a zero-copy manner. Among them, the zero-copy process between the cloud desktop server 30 and the gateway device 20 can refer to the zero-copy process between the proxy client 11 and the cloud desktop client 12, and will not be repeated here.
[0045] Accordingly, in this embodiment, a gateway device and a proxy client are introduced to control the cloud desktop service. Therefore, the customized control logic of the cloud desktop service can be accessed without modifying the relevant protocols used by the third-party cloud desktop product; moreover, the cloud desktop data is forwarded in a zero-copy manner between the proxy client and the cloud desktop client, which can effectively avoid system calls and data copies in the data forwarding process, so that the cloud desktop client and the cloud desktop server can transmit data in a straight line as if the gateway device and the proxy client are not introduced, and the latency is very low, which ensures the performance of the cloud desktop service, thereby realizing a high-performance and controllable cloud desktop service. The intrusion and modification of the third-party cloud desktop product are very small, and it has good adaptability to various third-party cloud desktop products, which is convenient for the customized development of cloud desktop services. In addition, through the customized control of the accessed cloud desktop service, the account system of the existing customer group can be easily and quickly accessed, and the existing customers can be seamlessly connected.
[0046] In the above or below embodiments, various implementations may be used to provide cloud desktop data to a cloud desktop client in a zero-copy manner using a proxy client.
[0047] Figure 5a A logical diagram of a traditional forwarding solution provided for an exemplary embodiment of the present application. Figure 5a, the cloud desktop data obtained from the gateway device will be stored in a socket in the kernel state of the user terminal, while the proxy client is in the user state. Therefore, if the proxy client wants to obtain the cloud desktop data, it must switch from the user state to the kernel state through the read() system call, copy the cloud desktop data from the kernel state to the user state and return; and in the process of the proxy client providing data to the cloud desktop client 12, it is also necessary to switch from the user state to the kernel state through the write() system call, copy the cloud desktop data from the user state to the kernel state and return. In the whole process, there are 4 switches between the user state and the kernel state, and 2 data copies, which has a very large performance loss.
[0048] Figure 5b A logical diagram of a zero-copy solution provided for an exemplary embodiment of the present application. Figure 5b In one implementation, the cloud desktop data obtained from the gateway device can be written into the first socket corresponding to the proxy client; the first socket and the second socket corresponding to the cloud desktop client are connected; the cloud desktop data is transferred between the first socket and the second socket to provide the cloud desktop data to the cloud desktop client in the kernel state. In this implementation, the sockets corresponding to the proxy client and the cloud desktop client are connected, so that the data transmission channel between the proxy client and the cloud desktop client in the kernel state can be opened, so that the cloud desktop data can be directly transferred in the kernel state, which can effectively avoid performance loss in the data forwarding process.
[0049] In this implementation, the proxy client can call a specified operation function to write the cloud desktop data in the first socket into the pipe; and the cloud desktop client reads the cloud desktop data from the pipe through the second socket. The specified operation function can be a splice function, etc., and the cloud desktop data can be moved based on the file descriptor. In the kernel state, both the proxy client and the cloud desktop client can access the cloud desktop data based on the file descriptor, thereby moving the cloud desktop data. No data copying occurs during the entire process.
[0050] Of course, in this embodiment, other implementation methods can also be used to use the proxy client to provide the cloud desktop data to the cloud desktop client in a zero-copy manner, for example, by calling the sendfile function to transfer the cloud desktop data between the proxy client and the cloud desktop client's respective corresponding sockets, etc., and this embodiment is not limited to this. Accordingly, in this embodiment, the data transmission channel between the proxy client and the cloud desktop client can be opened in the user state, so that the cloud desktop data can be directly transferred in the kernel state, and it is no longer necessary to go through multiple user state and kernel state switching and multiple data copies as mentioned above to provide the cloud desktop data to the cloud desktop client.
[0051] Figure 2 A schematic diagram of an application scenario provided by an exemplary embodiment of the present application. Figure 2 In this application scenario, the service process of the cloud desktop may include:
[0052] 1. Users can initiate cloud desktop service requests through the proxy client installed on the user terminal, and the proxy client can call up the cloud desktop client also installed on the user terminal;
[0053] 2. The proxy client can authenticate the gateway device and connect to the gateway device after passing the authentication;
[0054] 3. The gateway device can obtain the cloud desktop data required by the user from the cloud desktop server. The cloud desktop server can be deployed on cloud computing resources. Moreover, if the cloud desktop server and the gateway device are under the same operating system, the cloud desktop server can provide the cloud desktop data to the gateway device in a zero-copy manner. The gateway device can obtain the cloud desktop data from the cloud desktop server in advance and cache it.
[0055] 4. The gateway device can send the cached cloud desktop data to the user terminal through the network, and the user terminal will write the cloud desktop data into the corresponding socket of the proxy client in the kernel state;
[0056] 5. The proxy client uses zero copy in kernel state to pass cloud desktop data to the cloud desktop client, without switching between user state and kernel state and any data copy operation;
[0057] 6. The cloud desktop client can read the cloud desktop data from its corresponding socket in the kernel state and display the cloud desktop data to the user, so that the user can see the requested cloud desktop content.
[0058] Figure 3 A flowchart of a cloud desktop implementation method provided by another exemplary embodiment of the present application. Figure 3 , the method may include:
[0059] Step 300: In response to a cloud desktop service request, the cloud desktop client is called up through a proxy client, and the proxy client is used to perform customized management and control of the cloud desktop service;
[0060] Step 301: Using a proxy client to obtain cloud desktop data provided by a cloud desktop server from a gateway device, the gateway device is connected to the cloud desktop server in communication;
[0061] Step 302: Using a proxy client to provide cloud desktop data to a cloud desktop client in a zero-copy manner;
[0062] Step 303: The cloud desktop client performs cloud desktop display based on the cloud desktop data.
[0063] The cloud desktop implementation method provided in this embodiment can be implemented by the user terminal in the aforementioned system embodiment. For specific technical details, please refer to the description in the aforementioned system embodiment.
[0064] In an optional embodiment, the step of providing the cloud desktop data to the cloud desktop client in a zero-copy manner using a proxy client may include:
[0065] Write the cloud desktop data obtained from the gateway device into the first socket corresponding to the proxy client;
[0066] Connect the first socket to the second socket corresponding to the cloud desktop client;
[0067] The cloud desktop data is transferred between the first socket and the second socket to provide the cloud desktop data to the cloud desktop client in the kernel state.
[0068] In an optional embodiment, the step of transferring cloud desktop data between the first socket and the second socket may include:
[0069] Using the proxy client to call a specified operation function to write the cloud desktop data in the first socket into the pipe;
[0070] Control the cloud desktop client to read the cloud desktop data from the pipeline through the second socket.
[0071] In an optional embodiment, the step of using the proxy client to obtain cloud desktop data provided by the cloud desktop server from the gateway device includes:
[0072] Authenticate the gateway device through the proxy client;
[0073] When the gateway device passes the authentication, a communication connection is established between the proxy client and the gateway device;
[0074] The proxy client is used to receive the cloud desktop data sent by the gateway device, and the cloud desktop data is pre-cached in the gateway device.
[0075] In an optional embodiment, the customized management and control of the cloud desktop service includes one or more of user authentication, user authorization, data encryption, security control or access control.
[0076] It is worth noting that the technical details in the above-mentioned embodiments of the cloud desktop implementation method can refer to the relevant description on the user terminal side in the aforementioned system embodiment. In order to save space, they will not be repeated here, but this should not cause a loss in the scope of protection of this application.
[0077] In addition, in some of the processes described in the above embodiments and the accompanying drawings, multiple operations that appear in a specific order are included, but it should be clearly understood that these operations may not be executed in the order in which they appear in this article or executed in parallel, and the sequence numbers of the operations, such as 301, 302, etc., are only used to distinguish between different operations, and the sequence numbers themselves do not represent any execution order. In addition, these processes may include more or fewer operations, and these operations may be executed in sequence or in parallel. It should be noted that the descriptions of "first", "second", etc. in this article are used to distinguish different sockets, etc., do not represent the order of precedence, and do not limit the "first" and "second" to be different types.
[0078] Figure 4 A schematic diagram of the structure of a user terminal provided by another exemplary embodiment of the present application. Figure 4 As shown, the user terminal may include: a memory 40, a processor 41 and a communication component 42.
[0079] The processor 41 is coupled to the memory 40 and is used to execute the computer program in the memory 40 to:
[0080] In response to a cloud desktop service request, a cloud desktop client is called up through a proxy client, and the proxy client is used to perform customized management and control of the cloud desktop service;
[0081] The proxy client obtains the cloud desktop data provided by the cloud desktop server from the gateway device through the communication component, and the gateway device is connected to the cloud desktop server in communication;
[0082] Using a proxy client to provide cloud desktop data to a cloud desktop client in a zero-copy manner;
[0083] The cloud desktop client displays the cloud desktop based on the cloud desktop data.
[0084] In an optional embodiment, the processor 41, in the process of providing the cloud desktop data to the cloud desktop client in a zero-copy manner using the proxy client, may be used to:
[0085] Write the cloud desktop data obtained from the gateway device into the first socket corresponding to the proxy client;
[0086] Connect the first socket to the second socket corresponding to the cloud desktop client;
[0087] The cloud desktop data is transferred between the first socket and the second socket to provide the cloud desktop data to the cloud desktop client in the kernel state.
[0088] In an optional embodiment, the processor 41, during the process of transmitting cloud desktop data between the first socket and the second socket, may be used to:
[0089] Using the proxy client to call a specified operation function to write the cloud desktop data in the first socket into the pipe;
[0090] Control the cloud desktop client to read the cloud desktop data from the pipeline through the second socket.
[0091] In an optional embodiment, the processor 41, in the process of using the proxy client to obtain the cloud desktop data provided by the cloud desktop server from the gateway device, can be used to:
[0092] Authenticate the gateway device through the proxy client;
[0093] When the gateway device passes the authentication, a communication connection is established between the proxy client and the gateway device;
[0094] The proxy client is used to receive the cloud desktop data sent by the gateway device, and the cloud desktop data is pre-cached in the gateway device.
[0095] In an optional embodiment, the customized management and control of the cloud desktop service includes one or more of user authentication, user authorization, data encryption, security control or access control.
[0096] Further, if Figure 4 As shown, the user terminal also includes: a display 43, a power supply component 44, an audio component 45 and other components. Figure 4 Only some components are shown schematically, which does not mean that the user terminal only includes Figure 4 Components shown.
[0097] It is worth noting that the technical details in the above-mentioned embodiments of the user terminal can refer to the relevant description of the user terminal in the aforementioned system embodiment. In order to save space, they will not be repeated here, but this should not cause a loss in the scope of protection of this application.
[0098] Accordingly, an embodiment of the present application further provides a computer-readable storage medium storing a computer program, which, when executed, can implement each step that can be executed by a user terminal in the above method embodiment.
[0099] Above Figure 4 The memory in the computer is used to store computer programs and can be configured to store various other data to support operations on the computing platform. Examples of such data include instructions for any application or method operating on the computing platform, contact data, phone book data, messages, pictures, videos, etc. The memory can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk.
[0100] Above Figure 4 The communication component in is configured to facilitate wired or wireless communication between the device where the communication component is located and other devices. The device where the communication component is located can access a wireless network based on a communication standard, such as WiFi, 2G, 3G, 4G / LTE, 5G and other mobile communication networks, or a combination thereof. In an exemplary embodiment, the communication component receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.
[0101] Above Figure 4 The display in the embodiment includes a screen, and the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation.
[0102] Above Figure 4The power supply component in the device provides power to various components of the device where the power supply component is located. The power supply component may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to the device where the power supply component is located.
[0103] Above Figure 4 The audio component in can be configured to output and / or input audio signals. For example, the audio component includes a microphone (MIC), and when the device where the audio component is located is in an operating mode, such as a call mode, a recording mode, and a speech recognition mode, the microphone is configured to receive an external audio signal. The received audio signal can be further stored in a memory or sent via a communication component. In some embodiments, the audio component also includes a speaker for outputting an audio signal.
[0104] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented in one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that include computer-usable program code.
[0105] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0106] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0107] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0108] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.
[0109] The memory may include non-permanent storage in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. The memory is an example of a computer-readable medium.
[0110] Computer readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include temporary computer readable media (transitory media), such as modulated data signals and carrier waves.
[0111] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.
[0112] The above is only the embodiment of the present application and is not intended to limit the present application. For those skilled in the art, the present application may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the protection scope of the present application.
Claims
1. A cloud desktop implementation method, comprising: In response to a cloud desktop service request, calling up a cloud desktop client through a proxy client, wherein the proxy client is used to perform customized management and control of the cloud desktop service; The proxy client is used to obtain cloud desktop data provided by a cloud desktop server from a gateway device, and the gateway device is in communication connection with the cloud desktop server; Opening up a data transmission channel between the proxy client and the cloud desktop client in kernel state, so as to provide the cloud desktop data to the cloud desktop client in a zero-copy manner in kernel state by using the proxy client; The cloud desktop client performs cloud desktop presentation based on the cloud desktop data.
2. The method according to claim 1, wherein the step of opening up a data transmission channel between the proxy client and the cloud desktop client in kernel state, so as to provide the cloud desktop data to the cloud desktop client in a zero-copy manner in kernel state, comprises: Writing the cloud desktop data obtained from the gateway device into the first socket corresponding to the proxy client; Connecting the first socket to the second socket corresponding to the cloud desktop client; The cloud desktop data is transferred between the first socket and the second socket to provide the cloud desktop data to the cloud desktop client in kernel mode.
3. The method according to claim 2, wherein the transferring of the cloud desktop data between the first socket and the second socket comprises: Using the proxy client to call a specified operation function to write the cloud desktop data in the first socket into the pipe; The cloud desktop client is controlled to read the cloud desktop data from the pipeline through the second socket.
4. According to the method of claim 1, the step of using the proxy client to obtain the cloud desktop data provided by the cloud desktop server from the gateway device comprises: Authenticating the gateway device through the proxy client; When the gateway device passes the authentication, establishing a communication connection between the proxy client and the gateway device; The proxy client is used to receive the cloud desktop data sent by the gateway device, and the cloud desktop data is pre-cached in the gateway device.
5. According to the method of claim 1, the customized management and control of the cloud desktop service includes one or more of user authentication, user authorization, data encryption, security control or access control.
6. A cloud desktop system, comprising a user terminal, a gateway device and a cloud desktop server, wherein the user terminal is installed with a proxy client and a cloud desktop client; The user terminal is used to respond to a cloud desktop service request and call up a cloud desktop client through a proxy client, wherein the proxy client is used to perform customized management and control of the cloud desktop service; and the proxy client is used to obtain cloud desktop data provided by the cloud desktop server from the gateway device; Opening up a data transmission channel between the proxy client and the cloud desktop client in kernel state, so as to provide the cloud desktop data to the cloud desktop client in a zero-copy manner in kernel state by using the proxy client; The cloud desktop client performs cloud desktop display based on the cloud desktop data; The gateway device is used to communicate with the cloud desktop server, obtain the cloud desktop data required by the proxy client from the cloud desktop server and provide it to the proxy client; The cloud desktop server is used to provide cloud desktop data.
7. The system according to claim 6, wherein the user terminal, in the process of opening up a data transmission channel between the proxy client and the cloud desktop client in kernel state so as to provide the cloud desktop data to the cloud desktop client in a zero-copy manner in kernel state by using the proxy client, is used to: Writing the cloud desktop data obtained from the gateway device into the first socket corresponding to the proxy client; Connecting the first socket to the second socket corresponding to the cloud desktop client; The cloud desktop data is transferred between the first socket and the second socket to provide the cloud desktop data to the cloud desktop client in kernel mode.
8. According to the system of claim 6, the cloud desktop server is deployed on cloud computing resources.
9. According to the system of claim 6, if the cloud desktop server and the gateway device are located under the same operating system, the desktop server forwards the cloud desktop data to the gateway device in a zero-copy manner.
10. A user terminal, comprising a memory, a processor and a communication component, and having an agent client and a cloud desktop client installed therein; The memory is used to store one or more computer instructions; The processor is coupled to the memory and the communication component and is configured to execute the one or more computer instructions for: In response to a cloud desktop service request, calling up a cloud desktop client through a proxy client, wherein the proxy client is used to perform customized management and control of the cloud desktop service; The proxy client obtains the cloud desktop data provided by the cloud desktop server from the gateway device through the communication component, and the gateway device is in communication connection with the cloud desktop server; Opening up a data transmission channel between the proxy client and the cloud desktop client in kernel state, so as to provide the cloud desktop data to the cloud desktop client in a zero-copy manner in kernel state by using the proxy client; The cloud desktop client performs cloud desktop presentation based on the cloud desktop data.
11. A computer-readable storage medium storing computer instructions, which, when executed by one or more processors, causes the one or more processors to execute the cloud desktop implementation method described in any one of claims 1-5.
Citation Information
Patent Citations
Data processing method, data transmitting method, data processing device and data transmitting device of Flume system
CN110989935A
Providing a native desktop using cloud-synchronized data
US20140304326A1
