CN114301978A - Cloud desktop implementation method, system, equipment and storage medium - Google Patents

Cloud desktop implementation method, system, equipment and storage medium Download PDF

Info

Publication number
CN114301978A
CN114301978A CN202111590369.9A CN202111590369A CN114301978A CN 114301978 A CN114301978 A CN 114301978A CN 202111590369 A CN202111590369 A CN 202111590369A CN 114301978 A CN114301978 A CN 114301978A
Authority
CN
China
Prior art keywords
cloud desktop
client
data
cloud
proxy client
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202111590369.9A
Other languages
Chinese (zh)
Inventor
张克
朴云
胡晓虎
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Alibaba China Co Ltd
Original Assignee
Alibaba China Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Alibaba China Co Ltd filed Critical Alibaba China Co Ltd
Priority to CN202111590369.9A priority Critical patent/CN114301978A/en
Publication of CN114301978A publication Critical patent/CN114301978A/en
Pending legal-status Critical Current

Links

Images

Abstract

The embodiment of the application provides a cloud desktop implementation method, a cloud desktop implementation system, cloud desktop implementation equipment and a storage medium. In the embodiment of the application, the gateway equipment and the proxy client are introduced to carry out cloud desktop service management and control, so that customized management and control logic of the cloud desktop service can be accessed under the condition that relevant protocols used by third-party cloud desktop products do not need to be modified; moreover, the cloud desktop data is forwarded between the agent client and the cloud desktop client in a zero-copy mode, so that system calling and data copying in the data forwarding process can be effectively avoided, data can be transmitted between the cloud desktop client and the cloud desktop server in a straight line manner as if gateway equipment and the agent client are not introduced, time delay is very low, the performance of the cloud desktop service is guaranteed, and the high-performance and controllable cloud desktop service can be realized.

Description

Cloud desktop implementation method, system, equipment and storage medium
Technical Field
The present application relates to the field of cloud computing technologies, and in particular, to a method, a system, a device, and a storage medium for implementing a cloud desktop.
Background
The cloud desktop is also called desktop virtualization and cloud computer, and is a new mode for replacing the traditional computer. After the cloud desktop is adopted, a user does not need to purchase a computer host, and after the user installs a client, the user accesses the virtual machine host on the back-end server through a specific communication protocol to realize interactive operation, so that the experience effect consistent with that of a computer is achieved.
At present, cloud desktop technology providers can provide numerous cloud desktop products for users to select, but service protocols in the cloud desktop products are usually solidified and cannot be modified, so that the cloud desktop products have great performance loss after practical application, and the realization effect is poor.
Disclosure of Invention
Aspects of the present disclosure provide a cloud desktop implementation method, system, device, and storage medium to improve performance of a cloud desktop service.
The embodiment of the application provides a cloud desktop implementation method, which comprises the following steps:
responding to a cloud desktop service request, and calling a cloud desktop client through a proxy client, wherein the proxy client is used for performing customized management and control on the cloud desktop service;
acquiring cloud desktop data provided by a cloud desktop server from gateway equipment by using the proxy client, wherein the gateway equipment is in communication connection with the cloud desktop server;
providing the cloud desktop data to the cloud desktop client by using the proxy client in a zero-copy mode;
and performing cloud desktop display by the cloud desktop client based on the cloud desktop data.
The embodiment of the application further provides a cloud desktop system, which comprises a user terminal, gateway equipment and a cloud desktop server, wherein the user terminal is provided with an agent client and a cloud desktop client;
the user terminal is used for responding to the cloud desktop service request, calling the cloud desktop client through the proxy client, and the proxy client is used for performing customized management and control on the cloud desktop service; acquiring cloud desktop data provided by a cloud desktop server from gateway equipment by using the proxy client; providing the cloud desktop data to the cloud desktop client by using the proxy client in a zero-copy mode; performing, by the cloud desktop client, cloud desktop display based on the cloud desktop data;
the gateway device is used for communicating with the cloud desktop server, acquiring cloud desktop data required by the agent client from the cloud desktop server and providing the cloud desktop data to the agent client;
the cloud desktop server is used for providing cloud desktop data.
The embodiment of the application also provides a user terminal, which comprises a memory, a processor and a communication component, wherein the user terminal is provided with an agent client and a cloud desktop client;
the memory is to store one or more computer instructions;
the processor, coupled with the memory and the communication component, to execute the one or more computer instructions to:
responding to a cloud desktop service request, and calling a cloud desktop client through a proxy client, wherein the proxy client is used for performing customized management and control on the cloud desktop service;
the proxy client is used for acquiring cloud desktop data provided by a cloud desktop server from gateway equipment through the communication component, and the gateway equipment is in communication connection with the cloud desktop server;
providing the cloud desktop data to the cloud desktop client by using the proxy client in a zero-copy mode;
and performing cloud desktop display by the cloud desktop client based on the cloud desktop data.
Embodiments of the present application also provide a computer-readable storage medium storing computer instructions, which, when executed by one or more processors, cause the one or more processors to implement the aforementioned cloud desktop implementation method.
In the embodiment of the application, the gateway equipment and the proxy client are introduced to carry out cloud desktop service management and control, so that customized management and control logic of the cloud desktop service can be accessed under the condition that relevant protocols used by third-party cloud desktop products do not need to be modified; moreover, the cloud desktop data is forwarded between the agent client and the cloud desktop client in a zero-copy mode, so that system calling and data copying in the data forwarding process can be effectively avoided, data can be transmitted between the cloud desktop client and the cloud desktop server in a straight line manner as if gateway equipment and the agent client are not introduced, time delay is very low, the performance of the cloud desktop service is guaranteed, and the high-performance and controllable cloud desktop service can be realized.
Drawings
The accompanying drawings, which are included to provide a further understanding of the application and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the application and together with the description serve to explain the application and not to limit the application. In the drawings:
fig. 1 is a schematic structural diagram of a cloud desktop system according to an exemplary embodiment of the present application;
FIG. 2 is a schematic diagram of an application scenario provided in an exemplary embodiment of the present application;
fig. 3 is a flowchart illustrating a cloud desktop implementation method according to another exemplary embodiment of the present application;
fig. 4 is a schematic structural diagram of a user terminal according to another exemplary embodiment of the present application;
FIG. 5a is a logical representation of a conventional forwarding scheme provided by an exemplary embodiment of the present application;
fig. 5b is a logic diagram of a zero-copy scheme according to an exemplary embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the technical solutions of the present application will be described in detail and completely with reference to the following specific embodiments of the present application and the accompanying drawings. It should be apparent that the described embodiments are only some of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
At present, service protocols in third-party cloud desktop products are usually solidified and cannot be modified, so that the cloud desktop products have great performance loss after practical application, and the realization effect is poor. To this end, in some embodiments of the present application: the gateway equipment and the agent client are introduced to carry out cloud desktop service management and control, so that customized management and control logic of the cloud desktop service can be accessed under the condition that relevant protocols used by a third-party cloud desktop product do not need to be modified; moreover, the cloud desktop data is forwarded between the agent client and the cloud desktop client in a zero-copy mode, so that system calling and data copying in the data forwarding process can be effectively avoided, data can be transmitted between the cloud desktop client and the cloud desktop server in a straight line manner as if gateway equipment and the agent client are not introduced, time delay is very low, the performance of the cloud desktop service is guaranteed, and the high-performance and controllable cloud desktop service can be realized.
The technical solutions provided by the embodiments of the present application are described in detail below with reference to the accompanying drawings.
Fig. 1 is a schematic structural diagram of a cloud desktop system according to an exemplary embodiment of the present application. As shown in fig. 1, the system includes: the cloud desktop server comprises a user terminal 10, a gateway device 20 and a cloud desktop server 30, wherein the user terminal 10 is provided with a proxy client 11 and a cloud desktop client 12.
In this embodiment, the cloud desktop client 12 and the cloud desktop server 30 may be provided by a third party cloud desktop product itself. That is, the third party cloud desktop product itself may provide a cloud desktop client and a cloud desktop server. The third-party cloud desktop product provider is not limited in this embodiment, and the cloud desktop system provided in this embodiment can be adapted to various different third-party cloud desktop products.
The inventor finds that, in the research process, when a third-party cloud desktop product is used alone, because a related protocol used in the third-party cloud desktop product is usually not modifiable, in practical application, personalized management and control of the third-party cloud desktop product are required in many cases, for this reason, in this embodiment, the gateway device 20 and the proxy client 11 are introduced on the third-party cloud desktop product to perform cloud desktop service management and control, so as to build the cloud desktop system of this embodiment.
The cloud desktop system provided in this embodiment may be deployed based on cloud computing resources, where the cloud desktop server 30 may be deployed on the cloud computing resources, for example, the cloud desktop server 30 may be installed on a cloud node, a cloud server, or the like, so that the cloud desktop server 30 may provide cloud desktop services by using computing capabilities of the cloud computing resources. Of course, the present embodiment is not limited to this, and the cloud desktop server 30 may also be installed on a server inside an enterprise, and the like.
Referring to fig. 1, a cloud desktop client 12 may be installed on a user terminal 10, wherein the user terminal 10 may be a terminal device such as a personal computer, a smart phone, a tablet computer, and the like. In addition, a proxy client 11 is also installed on the user terminal 10, the proxy client 11 can be understood as a client providing a proxy service, and the proxy client 11 can be used for customizing and managing the cloud desktop service. The proxy client 11 may be implemented in the form of an application APP or the like. The customized management of the cloud desktop service supported by the proxy client 11 may include, but is not limited to, user authentication, user authorization, data encryption, security control or access control, and the like. For example, the proxy client 11 may provide a user login interface, and the user may input a user name and a password for login, where the user name and the password are provided by a cloud desktop service party (e.g., a holder of cloud computing resources, an enterprise that needs to use cloud desktop services, etc.), rather than by a cloud desktop service provider, and where the user name and the password may serve as a basis for the cloud desktop service party to perform customized management and control of cloud desktop services. In addition, the agent client 11 can communicate with a management and control center of the cloud desktop service party, and cooperate with the management and control center to realize customized management and control of the original desktop service. For example, the management and control center may also be located on the cloud, various access control policies may be preset in the management and control center, and the agent client 11 may determine an access right of a user from the management and control center based on a user name of the current user, so as to perform access control on the user, for example, if the current user is an ordinary employee, if the user initiates an access request for a financial file on a cloud desktop, the agent client 11 may determine that the user does not have the access right from the management and control center, so that the agent client 11 may issue an access denial prompt.
In practice, the user may first turn on the proxy client 11. The user may initiate a cloud desktop open request through the proxy client 11, in which 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, may be directed to the user using only the proxy client 11. Thereafter, the proxy client 11 may connect to the gateway device 20 and obtain cloud desktop data provided by the cloud desktop server 30 from the gateway device 20. Since the cloud desktop is started, the acquired cloud desktop data is usually some desktop basic content data, such as a desktop background map, desktop layout data, a desktop chart, a menu bar, and the like. For these cloud desktop data, the proxy client 11 may provide the cloud desktop data to the cloud desktop client 12 in a zero-copy manner, so that the cloud desktop client 12 and the cloud desktop server 30 may almost linearly transfer the data as there is no proxy client 11 and gateway device 20, and it is not necessary to switch between the user mode and the kernel mode in the user terminal 10 for many times due to introduction of the proxy client 11 and the gateway, and it is also not necessary to copy the data, but rather to directly transfer the cloud desktop data, which may effectively ensure the transmission rate of the cloud desktop data, and reduce the transmission delay and transmission cost. The proxy client 11 may present the cloud desktop content to the user.
The above is the interaction logic in the cloud desktop opening stage. Similarly, in the using process of the cloud desktop, the user can continue to present richer cloud desktop data through the cloud desktop system provided by the embodiment.
Referring to fig. 1, during cloud desktop usage, a proxy client 11 may invoke a cloud desktop client 12 through the proxy client 11 in response to a cloud desktop service request. In practical applications, after the connection between the proxy client 11 and the cloud desktop client 12 is established in the cloud desktop opening process, the connection may be kept without being disconnected, and certainly, the connection may also be disconnected after the cloud desktop data is confirmed to be transmitted to the cloud desktop client 12, and the connection is established when a cloud desktop service request occurs next time, which is not limited in this embodiment. The cloud desktop service request can specify the required cloud desktop data. Then, the proxy client 11 may connect to the gateway device 20, and obtain cloud desktop data provided by the cloud desktop server 30 from the gateway device 20, in the above or this connection process of the gateway device 20, the proxy client 11 may authenticate the gateway device 20, and when the authentication passes, establish a communication connection between the proxy client 11 and the gateway device 20, the proxy client 11 may notify the gateway device 20 of the required cloud desktop data, the gateway device 20 may obtain the cloud desktop data from the cloud desktop server 30 in real time, and the gateway device 20 may also cache the cloud desktop data in the cloud desktop server 30 to the local in advance, and directly send the cloud desktop data to the proxy client 11 from the local.
It should be noted 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, so that the cloud desktop data sent by the gateway device 20 reaches the user terminal 10 and is stored in the storage area corresponding to the proxy client 11. Moreover, the cloud desktop data is usually stored in the kernel state, and the proxy client 11 is in the user state, so if the proxy client 11 wants to acquire the cloud desktop data, it must be switched from the user state to the kernel state by the proxy client 11 through a read () system call, and the cloud desktop data is copied from the kernel platform to the user state and returned; in the process of providing the data to the cloud desktop client 12, the proxy client 11 needs to switch from the user mode to the kernel mode through a write () system call, copy the cloud desktop data from the user mode to the kernel mode, and return the cloud desktop data. In the whole process, 4 times of switching between the user mode and the kernel mode occurs, 2 times of data copying occurs, and the performance loss is very large.
Therefore, in this embodiment, it is proposed that the proxy client 11 provides the cloud desktop data acquired from the gateway device 20 to the cloud desktop client 12 in a zero-copy manner, without the need of switching between the user mode and the kernel mode for 4 times and data copying for 2 times, so that performance loss caused by cloud desktop data forwarding can be effectively avoided.
Similarly, after the cloud desktop data reaches the cloud desktop client 12, the cloud desktop client 12 may perform cloud desktop display based on the cloud desktop data. Thus, the presentation function of the cloud desktop client 12 is an existing function, and the details of the presentation are not described in detail here.
In addition, in this embodiment, the process of transferring the cloud desktop data between the cloud desktop server 30 and the gateway device 20 may also be optimized, and if the cloud desktop server 30 and the gateway device 20 are located under the same operating system, the cloud desktop server 30 may 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 deployed on the cloud computing resources that are built under the same operating system, the cloud desktop data can be transferred between the cloud desktop server 30 and the gateway device 20 by means of zero copy. The zero copy process between the cloud desktop server 30 and the gateway device 20 may refer to the zero copy process between the proxy client 11 and the cloud desktop client 12, and will not be described herein again.
Accordingly, in the embodiment, the gateway device and the proxy client are introduced to perform cloud desktop service management and control, so that customized management and control logic of the cloud desktop service can be accessed without modifying related protocols used by third-party cloud desktop products; moreover, the cloud desktop data is forwarded between the agent client and the cloud desktop client in a zero-copy mode, so that system calling and data copying in the data forwarding process can be effectively avoided, data can be transmitted between the cloud desktop client and the cloud desktop server in a straight line manner as if gateway equipment and the agent client are not introduced, time delay is very low, the performance of the cloud desktop service is guaranteed, and the high-performance and controllable cloud desktop service can be realized. The cloud desktop service system has the advantages that the intrusion and the change to the third-party cloud desktop products are very small, the adaptability to various different third-party cloud desktop products is good, and the customized development of the cloud desktop service is facilitated. In addition, the account systems of the existing customer groups can be conveniently and quickly accessed through the customized control of the accessed cloud desktop service, and the existing customers can be seamlessly docked.
In the above or below embodiments, various implementations may be employed to provide cloud desktop data to a cloud desktop client in a zero-copy manner using a proxy client.
Fig. 5a is a logic diagram of a conventional forwarding scheme according to an exemplary embodiment of the present application. Referring to fig. 5a, the cloud desktop data obtained from the gateway device will be stored in a socket in the kernel state in the user terminal, and the proxy client is in the user state, so if the proxy client wants to obtain the cloud desktop data, the proxy client must be called by the read () system to switch from the user state to the kernel state, copy the cloud desktop data from the kernel stage to the user state, and return; in the process of providing the data to the cloud desktop client 12, the proxy client needs to switch from the user mode to the kernel mode through a write () system call, and copy the cloud desktop data from the user mode to the kernel mode and return the cloud desktop data. In the whole process, 4 times of switching between the user mode and the kernel mode occurs, 2 times of data copying occurs, and the performance loss is very large.
Fig. 5b is a logic diagram of a zero-copy scheme according to an exemplary embodiment of the present application. Referring to fig. 5b, in an implementation manner, cloud desktop data obtained from a gateway device may be written into a first socket corresponding to a proxy client; the first socket is in butt joint with a second socket corresponding to the cloud desktop client; and transmitting the cloud desktop data between the first socket and the second socket so as to provide the cloud desktop data to the cloud desktop client in the kernel state. In the implementation mode, the socket corresponding to each of the agent client and the cloud desktop client is connected, so that a data transmission channel of the agent client and the cloud desktop client in the kernel state can be opened, the cloud desktop data is directly transmitted in the kernel state, and performance loss in the data forwarding process can be effectively avoided.
In the implementation mode, the proxy client can call a specified operation function to write cloud desktop data in the first socket into a pipe; and the cloud desktop client reads the cloud desktop data from the pipeline through the second socket. Wherein, the specified operation function can be a splice function or the like, and can move the cloud desktop data based on the file descriptor. In the kernel mode, 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.
Of course, in this embodiment, other implementation manners may also be adopted to provide the cloud desktop data to the cloud desktop client by using the proxy client in a zero-copy manner, for example, the cloud desktop data is transferred between the respective sockets of the proxy client and the cloud desktop client by calling a sendfile function, and the like. Accordingly, in this embodiment, a data transfer channel between the proxy client and the cloud desktop client may be opened in the user mode, so that the cloud desktop data is directly transferred in the kernel mode, and the cloud desktop data may be provided to the cloud desktop client without undergoing multiple user mode and kernel mode switching and multiple data copying as mentioned above.
Fig. 2 is a schematic diagram of an application scenario provided in an exemplary embodiment of the present application. Referring to fig. 2, in the application scenario, the service process of the cloud desktop may include:
1. a user can initiate a cloud desktop service request through a proxy client installed on a user terminal, and the proxy client can call the cloud desktop client also installed on the user terminal;
2. the proxy client can authenticate the gateway equipment and is connected to the gateway equipment after the authentication is passed;
3. the gateway equipment can acquire cloud desktop data required by a user from the cloud desktop server, the cloud desktop server can be deployed on cloud computing resources, and if the cloud desktop server and the gateway equipment are located under the same operating system, the cloud desktop server can provide the cloud desktop data to the gateway equipment in a zero-copy mode; the gateway equipment can acquire cloud desktop data from the cloud desktop server in advance and cache the cloud desktop data;
4. the gateway equipment can send the cached cloud desktop data to the user terminal through a network, and the user terminal can write the cloud desktop data into a socket corresponding to the proxy client in a kernel mode;
5. the agent client transmits the cloud desktop data to the cloud desktop client in a zero-copy mode in the kernel mode without switching between the user mode and the kernel mode and copying any data;
6. the cloud desktop client can read the cloud desktop data from the socket corresponding to the kernel state and display the cloud desktop data to the user, so that the user can see the requested cloud desktop content.
Fig. 3 is a flowchart illustrating a cloud desktop implementation method according to another exemplary embodiment of the present application. Referring to fig. 3, the method may include:
step 300, responding to a cloud desktop service request, calling a cloud desktop client through a proxy client, wherein the proxy client is used for performing customized management and control on the cloud desktop service;
301, acquiring cloud desktop data provided by a cloud desktop server from gateway equipment by using a proxy client, wherein the gateway equipment is in communication connection with the cloud desktop server;
step 302, providing cloud desktop data to a cloud desktop client by using a proxy client in a zero-copy mode;
and 303, performing cloud desktop display by the cloud desktop client based on the cloud desktop data.
The cloud desktop implementation method provided by this embodiment may be implemented by the user terminal in the foregoing system embodiment, and specific technical details may refer to the description in the foregoing system embodiment.
In an optional embodiment, the step of providing the cloud desktop data to the cloud desktop client in a zero copy manner by using the proxy client may include:
writing the cloud desktop data acquired from the gateway equipment into a first socket corresponding to the proxy client;
the first socket is in butt joint with a second socket corresponding to the cloud desktop client;
and transmitting the cloud desktop data between the first socket and the second socket so as to provide the cloud desktop data to the cloud desktop client in the kernel state.
In an alternative embodiment, the step of transferring the cloud desktop data between the first socket and the second socket may include:
calling a designated operation function by using the proxy client to write the cloud desktop data in the first socket set into the pipe;
and controlling the cloud desktop client to read the cloud desktop data from the pipeline through the second socket.
In an optional embodiment, the step of acquiring, by using the proxy client, cloud desktop data provided by the cloud desktop server from the gateway device includes:
authenticating the gateway equipment through the proxy client;
under the condition that the gateway equipment passes the authentication, establishing communication connection between the proxy client and the gateway equipment;
and receiving cloud desktop data sent by the gateway equipment by using the proxy client, wherein the cloud desktop data is cached in the gateway equipment in advance.
In an optional embodiment, the cloud desktop service customization governance includes one or more of user authentication, user authorization, data encryption, security control, or access control.
It should be noted that, for the technical details in the embodiments of the cloud desktop implementation method, reference may be made to the related description on the user terminal side in the foregoing system embodiment, and for the sake of brevity, no further description is provided herein, which should not cause a loss of the protection scope of the present application.
In addition, in some of the flows described in the above embodiments and the drawings, a plurality of operations are included in a specific order, but it should be clearly understood that the operations may be executed out of the order presented herein or in parallel, and the sequence numbers of the operations, such as 301, 302, etc., are merely used for distinguishing different operations, and the sequence numbers do not represent any execution order per se. Additionally, the flows may include more or fewer operations, and the operations may be performed sequentially or in parallel. It should be noted that, the descriptions of "first", "second", etc. in this document are used to distinguish different sockets, etc., and do not represent a sequential order, nor limit "first" and "second" to be different types.
Fig. 4 is a schematic structural diagram of a user terminal according to another exemplary embodiment of the present application. As shown in fig. 4, the user terminal may include: memory 40, processor 41, and communication component 42.
A processor 41, coupled to the memory 40, for executing the computer program in the memory 40 for:
responding to the cloud desktop service request, calling the cloud desktop client through the proxy client, wherein the proxy client is used for performing customized management and control on the cloud desktop service;
the method comprises the steps that a proxy client is used for obtaining cloud desktop data provided by a cloud desktop server from gateway equipment through a communication component, and the gateway equipment is in communication connection with the cloud desktop server;
providing the cloud desktop data to a cloud desktop client by using a proxy client in a zero-copy mode;
and performing cloud desktop display by the cloud desktop client based on the cloud desktop data.
In an optional embodiment, in the process of providing the cloud desktop data to the cloud desktop client in a zero copy manner by using the proxy client, the processor 41 may be configured to:
writing the cloud desktop data acquired from the gateway equipment into a first socket corresponding to the proxy client;
the first socket is in butt joint with a second socket corresponding to the cloud desktop client;
and transmitting the cloud desktop data between the first socket and the second socket so as to provide the cloud desktop data to the cloud desktop client in the kernel state.
In an optional embodiment, in the process of transferring the cloud desktop data between the first socket and the second socket, the processor 41 may be configured to:
calling a designated operation function by using the proxy client to write the cloud desktop data in the first socket set into the pipe;
and controlling the cloud desktop client to read the cloud desktop data from the pipeline through the second socket.
In an optional embodiment, in the process of acquiring, by the proxy client, cloud desktop data provided by the cloud desktop server from the gateway device, the processor 41 may be configured to:
authenticating the gateway equipment through the proxy client;
under the condition that the gateway equipment passes the authentication, establishing communication connection between the proxy client and the gateway equipment;
and receiving cloud desktop data sent by the gateway equipment by using the proxy client, wherein the cloud desktop data is cached in the gateway equipment in advance.
In an optional embodiment, the cloud desktop service customization governance includes one or more of user authentication, user authorization, data encryption, security control, or access control.
Further, as shown in fig. 4, the user terminal further includes: display 43, power supply 44, audio 45, and the like. Only some of the components are schematically shown in fig. 4, and the user terminal is not meant to include only the components shown in fig. 4.
It should be noted that, for the sake of brevity, details of the technical details in the embodiments of the user terminal described above may be referred to in the related description of the user terminal in the foregoing system embodiments, and are not described herein again, but this should not cause a loss of the scope of the present application.
Accordingly, the present application further provides a computer-readable storage medium storing a computer program, where the computer program is capable of implementing the steps that can be executed by the user terminal in the foregoing method embodiments when executed.
The memory of FIG. 4, described above, is used to store a computer program and may be configured to store other various data to support operations on a computing platform. Examples of such data include instructions for any application or method operating on the computing platform, contact data, phonebook data, messages, pictures, videos, and so forth. The memory may be implemented by any type or combination of volatile or non-volatile memory devices, 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 or optical disks.
The communication component in fig. 4 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 a WiFi, a 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 one exemplary embodiment, the communication component further includes a Near Field Communication (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
The display of fig. 4 includes a screen, which 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 an input signal 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.
The power supply assembly of fig. 4 described above provides power to the various components of the device in which the power supply assembly is located. The power components may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the device in which the power component is located.
The audio component of fig. 4 described above may be configured to output and/or input an audio signal. For example, the audio component includes a Microphone (MIC) configured to receive an external audio signal when the device in which the audio component is located is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signal may further be stored in a memory or transmitted via a communication component. In some embodiments, the audio assembly further comprises a speaker for outputting audio signals.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
In a typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include forms of volatile memory in a computer readable medium, Random Access Memory (RAM) and/or non-volatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). Memory is an example of a computer-readable medium.
Computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, 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 disc read only memory (CD-ROM), Digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, a computer readable medium does not include a transitory computer readable medium such as a modulated data signal and a carrier wave.
It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The above description is only an example of the present application and is not intended to limit the present application. Various modifications and changes may occur to those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application shall be included in the protection scope of the present application.

Claims (11)

1. A cloud desktop implementation method comprises the following steps:
responding to a cloud desktop service request, and calling a cloud desktop client through a proxy client, wherein the proxy client is used for performing customized management and control on the cloud desktop service;
acquiring cloud desktop data provided by a cloud desktop server from gateway equipment by using the proxy client, wherein the gateway equipment is in communication connection with the cloud desktop server;
providing the cloud desktop data to the cloud desktop client by using the proxy client in a zero-copy mode;
and performing cloud desktop display by the cloud desktop client based on the cloud desktop data.
2. The method of claim 1, wherein the providing, with the proxy client, the cloud desktop data to the cloud desktop client in a zero-copy manner comprises:
writing the cloud desktop data acquired from the gateway equipment into a first socket corresponding to the agent client;
the first socket is in butt joint with a second socket corresponding to the cloud desktop client;
and transmitting the cloud desktop data between the first socket and the second socket so as to provide the cloud desktop data to the cloud desktop client in a kernel state.
3. The method of claim 1, the passing the cloud desktop data between the first socket and the second socket, comprising:
calling a specified operation function by using the proxy client to write the cloud desktop data in the first socket into a pipeline pipe;
and controlling the cloud desktop client to read the cloud desktop data from the pipeline through the second socket.
4. The method of claim 1, wherein the obtaining, by the proxy client, cloud desktop data provided by a cloud desktop server from a gateway device comprises:
authenticating the gateway device through the proxy client;
under the condition that the gateway equipment passes the authentication, establishing communication connection between the proxy client and the gateway equipment;
and receiving cloud desktop data sent by the gateway equipment by using the proxy client, wherein the cloud desktop data is cached in the gateway equipment in advance.
5. The method of claim 1, the cloud desktop service customization governance comprising one or more of user authentication, user authorization, data encryption, security control, or access control.
6. A cloud desktop system comprises a user terminal, gateway equipment and a cloud desktop server, wherein the user terminal is provided with an agent client and a cloud desktop client;
the user terminal is used for responding to the cloud desktop service request, calling the cloud desktop client through the proxy client, and the proxy client is used for performing customized management and control on the cloud desktop service; acquiring cloud desktop data provided by a cloud desktop server from gateway equipment by using the proxy client; providing the cloud desktop data to the cloud desktop client by using the proxy client in a zero-copy mode; performing, by the cloud desktop client, cloud desktop display based on the cloud desktop data;
the gateway device is used for communicating with the cloud desktop server, acquiring cloud desktop data required by the agent client from the cloud desktop server and providing the cloud desktop data to the agent client;
the cloud desktop server is used for providing cloud desktop data.
7. The system of claim 6, wherein the user terminal, in the process of providing the cloud desktop data to the cloud desktop client in a zero-copy manner by using the proxy client, is configured to:
writing the cloud desktop data acquired from the gateway equipment into a first socket corresponding to the agent client;
the first socket is in butt joint with a second socket corresponding to the cloud desktop client;
and transmitting the cloud desktop data between the first socket and the second socket so as to provide the cloud desktop data to the cloud desktop client in a kernel state.
8. The system of claim 6, the cloud desktop server deployed on a cloud computing resource.
9. The system of claim 6, wherein 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 comprises a memory, a processor and a communication component, and is provided with an agent client and a cloud desktop client;
the memory is to store one or more computer instructions;
the processor, coupled with the memory and the communication component, to execute the one or more computer instructions to:
responding to a cloud desktop service request, and calling a cloud desktop client through a proxy client, wherein the proxy client is used for performing customized management and control on the cloud desktop service;
the proxy client is used for acquiring cloud desktop data provided by a cloud desktop server from gateway equipment through the communication component, and the gateway equipment is in communication connection with the cloud desktop server;
providing the cloud desktop data to the cloud desktop client by using the proxy client in a zero-copy mode;
and performing cloud desktop display by the cloud desktop client based on the cloud desktop data.
11. A computer-readable storage medium storing computer instructions that, when executed by one or more processors, cause the one or more processors to perform the cloud desktop implementation method of any of claims 1-5.
CN202111590369.9A 2021-12-23 2021-12-23 Cloud desktop implementation method, system, equipment and storage medium Pending CN114301978A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111590369.9A CN114301978A (en) 2021-12-23 2021-12-23 Cloud desktop implementation method, system, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111590369.9A CN114301978A (en) 2021-12-23 2021-12-23 Cloud desktop implementation method, system, equipment and storage medium

Publications (1)

Publication Number Publication Date
CN114301978A true CN114301978A (en) 2022-04-08

Family

ID=80969598

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111590369.9A Pending CN114301978A (en) 2021-12-23 2021-12-23 Cloud desktop implementation method, system, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN114301978A (en)

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120096271A1 (en) * 2010-10-15 2012-04-19 Microsoft Corporation Remote Access to Hosted Virtual Machines By Enterprise Users
CN103188300A (en) * 2011-12-29 2013-07-03 华为技术有限公司 Method, device and system for achieving voice over internet phone (VOIP) call in cloud computing environment
US20140304326A1 (en) * 2013-04-09 2014-10-09 Citrix Systems, Inc. Providing a native desktop using cloud-synchronized data
CN107547623A (en) * 2017-06-28 2018-01-05 新华三云计算技术有限公司 Application data transmission method, device, application server and Application Launcher
CN108933801A (en) * 2017-05-24 2018-12-04 中兴通讯股份有限公司 A kind of cloud desktop Path Setup and the method and device of cloud desktop communication
CN110989935A (en) * 2019-12-06 2020-04-10 中盈优创资讯科技有限公司 Data processing and transmitting method and device of flash system
CN111597546A (en) * 2020-07-24 2020-08-28 北京志翔科技股份有限公司 Cloud desktop sharing method, device and system and storage medium
CN112583874A (en) * 2019-09-30 2021-03-30 中兴通讯股份有限公司 Message forwarding method and device for heterogeneous network
CN112995753A (en) * 2019-12-16 2021-06-18 中兴通讯股份有限公司 Media stream distribution method, CDN node server, CDN system and readable storage medium
CN112988317A (en) * 2021-05-20 2021-06-18 浙江华网俊业科技有限公司 Multi-mode cloud desktop management and control method and device
CN113452711A (en) * 2021-06-29 2021-09-28 新华三大数据技术有限公司 Single sign-on method of cloud desktop and network equipment

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120096271A1 (en) * 2010-10-15 2012-04-19 Microsoft Corporation Remote Access to Hosted Virtual Machines By Enterprise Users
CN103188300A (en) * 2011-12-29 2013-07-03 华为技术有限公司 Method, device and system for achieving voice over internet phone (VOIP) call in cloud computing environment
US20140304326A1 (en) * 2013-04-09 2014-10-09 Citrix Systems, Inc. Providing a native desktop using cloud-synchronized data
CN108933801A (en) * 2017-05-24 2018-12-04 中兴通讯股份有限公司 A kind of cloud desktop Path Setup and the method and device of cloud desktop communication
CN107547623A (en) * 2017-06-28 2018-01-05 新华三云计算技术有限公司 Application data transmission method, device, application server and Application Launcher
CN112583874A (en) * 2019-09-30 2021-03-30 中兴通讯股份有限公司 Message forwarding method and device for heterogeneous network
CN110989935A (en) * 2019-12-06 2020-04-10 中盈优创资讯科技有限公司 Data processing and transmitting method and device of flash system
CN112995753A (en) * 2019-12-16 2021-06-18 中兴通讯股份有限公司 Media stream distribution method, CDN node server, CDN system and readable storage medium
CN111597546A (en) * 2020-07-24 2020-08-28 北京志翔科技股份有限公司 Cloud desktop sharing method, device and system and storage medium
CN112988317A (en) * 2021-05-20 2021-06-18 浙江华网俊业科技有限公司 Multi-mode cloud desktop management and control method and device
CN113452711A (en) * 2021-06-29 2021-09-28 新华三大数据技术有限公司 Single sign-on method of cloud desktop and network equipment

Similar Documents

Publication Publication Date Title
US10645573B2 (en) Postponed carrier configuration
US8725808B2 (en) Method for transferring data between a first device and a second device
US8442521B2 (en) Carrier configuration at activation
CA2752942C (en) Communications system providing mobile wireless communications device application module associations for respective wireless communications formats and related methods
US8966092B2 (en) System and method for information sharing using near proximity communication
US8990406B2 (en) System and method for information sharing using near proximity communication
US11831650B2 (en) Personalized services based on confirmed proximity of user
JP4973558B2 (en) Information processing apparatus, data sharing method, and data sharing program
EP2817936A1 (en) Information sharing using token received via near proximity communication
US20100261464A1 (en) Mobile terminal, associated storage devices and methods of using the same
WO2020216204A1 (en) Information acquisition method and apparatus
WO2019010734A1 (en) Method and system for guiding service application traffic
KR102121358B1 (en) Data transmission method and device
CN113810760B (en) Method for controlling screen projection, electronic device and computer readable storage medium
CN105379224A (en) Managing data communications based on phone calls between mobile computing devices
TW201903604A (en) System and method for application navigation
CN115272623A (en) Online tape viewing method, device, equipment and storage medium
CN112788362B (en) Video playing method, video playing device and storage medium
CN109660579B (en) Data processing method and system and electronic equipment
US20180337922A1 (en) Method and device for controlling smart device, server and storage medium
WO2023246927A1 (en) Cloud desktop system, network redirection method, and device and storage medium
CN112114804A (en) Application program generation method, device and system
CN114301978A (en) Cloud desktop implementation method, system, equipment and storage medium
AlDuaij et al. Tap: an app framework for dynamically composable mobile systems
CN114844744B (en) Virtual private cloud network configuration method and device, electronic equipment and computer readable storage medium

Legal Events

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