A cloud desktop connection method and related devices

By obtaining and sending connection credential information and login status information on the cloud server, the problem that users cannot obtain real-time feedback when the terminal connects to the cloud desktop is solved, and the connection speed and user experience are improved.

CN116319765BActive Publication Date: 2025-07-18ALIBABA (CHINA) CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202310350929.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-03-29
Publication Date
2025-07-18
Estimated Expiration
2043-03-29

AI Technical Summary

Technical Problem

Users cannot obtain feedback information in real time when connecting through terminals and logging into the cloud desktop, resulting in a long wait time and poor user experience.

Method used

By responding to the client's login request on the cloud server, the detection results and login status information of the connection environment are obtained, and the connection credential information is sent when the detection results indicate that it is ready. The client obtains the link address and establishes a connection based on the credential information, and finally feeds the login status information back to the client.

Benefits of technology

It improves the connection speed between the client and the cloud desktop, improves the user experience, and reduces the connection time and displays the login status in real time by separate connection and login steps.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116319765B_ABST
    Figure CN116319765B_ABST
Patent Text Reader

Abstract

The present invention relates to a cloud desktop connection method, which is applied to a cloud server and includes: in response to a login request sent by a client, obtaining a detection result of a connection environment corresponding to the cloud desktop and login status information generated by the cloud desktop based on the login request; in the case where the detection result indicates that the connection environment is ready, sending connection credential information corresponding to the cloud desktop to the client so that the client can obtain a link address for connecting to the cloud desktop based on the connection credential information; and in response to a connection request generated by the client based on the link address, establishing a connection between the cloud desktop and the client so as to send the login status information to the client. Based on this method, not only is the connection speed between the client and the cloud desktop improved, but also the login status information of the client can be fed back to the client for display, thereby improving the user experience.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of computer technologies, and particularly to a cloud desktop connection method and related devices thereof. Background Art

[0002] This section aims to provide background or context for the embodiments of the present invention described in the claims. It should not be admitted that the descriptions herein are prior art by virtue of their inclusion in this section.

[0003] A cloud desktop is a cloud-based virtualized system desktop. Users can use the cloud desktop to realize functions similar to those of a traditional computer system desktop, such as editing documents using office software, designing drawings using professional drawing software, and accessing the network through a browser.

[0004] Currently, users have a large number of operations for connecting to cloud desktops every day. When users connect to and log in to a cloud desktop through a terminal, they cannot obtain the feedback information of the cloud desktop in real time, and the waiting time is relatively long, resulting in a poor user experience. Summary of the Invention

[0005] A cloud desktop connection method and related devices provided by the embodiments of the present invention at least solve the problem that when a user connects to and logs in to a cloud desktop through a terminal, the user cannot obtain the feedback information of the cloud desktop in real time, and the waiting time is relatively long, resulting in a poor user experience.

[0006] In a first aspect, an embodiment of the present invention provides a cloud desktop connection method applied to a cloud server. The method includes:

[0007] Responding to a login request sent by a client, obtaining a detection result of a connection environment corresponding to the cloud desktop, and login status information generated by the cloud desktop based on the login request;

[0008] When the detection result indicates that the client can connect to the cloud desktop, sending connection credential information corresponding to the cloud desktop to the client, so that the client can obtain a link address for connecting to the cloud desktop based on the connection credential information;

[0009] Responding to a connection request generated by the client based on the link address, establishing a connection between the cloud desktop and the client, so as to send the login status information to the client.

[0010] In a second aspect, an embodiment of the present invention provides a cloud desktop connection method applied to a client. The method includes:

[0011] Send a login request to the cloud server so that the cloud server can obtain the detection result of the connection environment corresponding to the cloud desktop and the login status information generated by the cloud desktop based on the login request, and send the connection credential information corresponding to the cloud desktop to the client when the detection result indicates that the connection environment is ready;

[0012] Obtain the link address for connecting to the cloud desktop based on the connection credential information;

[0013] Send a connection request to the cloud server based on the link address so that the cloud server can establish a connection between the cloud desktop and the client and send the login status information to the client;

[0014] Display the login status information.

[0015] In a third aspect, an embodiment of the present invention provides a cloud desktop connection device applied to a cloud server, and the device includes:

[0016] An acquisition module, in response to a login request sent by a client, acquires the detection result of the connection environment corresponding to the cloud desktop and the login status information generated by the cloud desktop based on the login request;

[0017] A sending module, when the detection result indicates that the client can connect to the cloud desktop, sends the connection credential information corresponding to the cloud desktop to the client so that the client can obtain the link address for connecting to the cloud desktop based on the connection credential information;

[0018] An establishment module, in response to a connection request generated by the client based on the link address, establishes a connection between the cloud desktop and the client so as to send the login status information to the client.

[0019] In a fourth aspect, an embodiment of the present invention provides a cloud desktop connection device applied to a client, and the device includes:

[0020] A sending module, used to send a login request to the cloud server so that the cloud server can obtain the detection result of the connection environment corresponding to the cloud desktop and the login status information generated by the cloud desktop based on the login request, and send the connection credential information corresponding to the cloud desktop to the client when the detection result indicates that the connection environment is ready;

[0021] An acquisition module, used to obtain the link address for connecting to the cloud desktop based on the connection credential information;

[0022] The sending module is configured to send a connection request to the cloud server based on the link address, so that the cloud server establishes a connection between the cloud desktop and the client, and sends the login status information to the client;

[0023] The display module is configured to display the login status information.

[0024] In a fifth aspect, an embodiment of the present invention provides an electronic device, including: a processor, and a memory storing a program, where the program includes instructions that, when executed by the processor, cause the processor to execute the method according to the first aspect or the second aspect.

[0025] In a fourth aspect, an embodiment of the present invention provides a non-transitory machine-readable medium storing computer instructions, where the computer instructions are used to cause the computer to execute the method according to the first aspect or the second aspect.

[0026] Advantageous effects of the embodiments of the present invention:

[0027] The embodiments of the present invention provide a cloud desktop connection method. Based on this method, the connection speed between the client and the cloud desktop can be improved, thereby enhancing the user experience. During actual use, after receiving the login request sent by the client, the detection result of the connection environment corresponding to the cloud desktop and the login status information generated by the cloud desktop based on the login request are obtained. When the detection result indicates that the connection environment is ready, the connection credential information corresponding to the cloud desktop is sent to the client. In this way, the client can obtain the link address for connecting to the cloud desktop based on the connection credential information. After receiving the connection request generated by the client based on the link address, a connection between the cloud desktop and the client is established. Finally, the login status information of the client is sent to the client for the user to view.

[0028] In the solution provided by the embodiments of the present invention, the steps of connecting the client to the cloud desktop and logging in to the cloud desktop are separated independently, that is, the client can first connect to the cloud desktop and then log in. In this way, not only the connection speed between the client and the cloud desktop is improved, but also based on the connection between the client and the cloud desktop, the login status information of the client can be fed back to the client for display, thereby improving the user experience. Description of the Drawings

[0029] In order to more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the following will briefly introduce the drawings required for the description of the embodiments or the prior art. Obviously, the following drawings are only some embodiments of the present invention. For those of ordinary skill in the art, other embodiments can be obtained based on these drawings without creative efforts.

[0030] Figure 1 A flowchart of a cloud desktop connection method provided for an exemplary embodiment of the present invention.

[0031] Figure 2 An application diagram of a cloud desktop connection method provided for an exemplary embodiment of the present invention.

[0032] Figure 3 An application diagram of a cloud desktop connection method provided for an exemplary embodiment of the present invention.

[0033] Figure 4 A structural diagram of a cloud desktop connection device provided for an exemplary embodiment of the present invention.

[0034] Figure 5 A flowchart of a cloud desktop connection method provided for an exemplary embodiment of the present invention.

[0035] Figure 6 A structural diagram of a cloud desktop connection device provided for an exemplary embodiment of the present invention.

[0036] Figure 7 A structural diagram of an electronic device provided for an exemplary embodiment of the present invention. Detailed implementation manners

[0037] The embodiments of the present embodiment will be described in more detail with reference to the accompanying drawings. Although some embodiments of the present embodiment are shown in the drawings, it should be understood that the present embodiment can be implemented in various forms and should not be construed as limited to the embodiments set forth herein. On the contrary, these embodiments are provided to more thoroughly and completely understand the present embodiment. It should be understood that the drawings and embodiments of the present embodiment are only for exemplary purposes and are not used to limit the protection scope of the present embodiment.

[0038] A cloud desktop can refer to the virtualization of the system desktop of a traditional computer, storing the operating system software, application software, user data, etc. required for the operation of the traditional computer in a cloud server. The cloud server can provide a cloud desktop to the user to implement functions similar to those of the system desktop of a traditional computer. A cloud application refers to running traditional software using the cloud instance resources of a cloud server based on desktop virtualization technology. The user can use traditional software by remotely accessing the cloud application in the cloud server and is not restricted by the hardware capabilities of their own computer.

[0039] In an embodiment of the present invention, a cloud server can be communicatively connected to a client. Thus, several containers or virtual machines can be deployed on the cloud server, and functions such as cloud desktops and cloud applications can be provided for the client in the containers and virtual machines. Among them, the client can refer to an electronic device used by a user to use cloud functions such as cloud desktops or cloud applications, and the electronic device can include a computer, a notebook, a mobile phone, and so on.

[0040] Currently, users have a large number of operations to connect to cloud desktops every day. Related cloud desktop connection solutions generally rely on the registration mechanism inside the cloud desktop, that is, only after the client registers successfully, the connection logic of certain services or drivers is used for connection. Such a connection method has a long waiting time, and users cannot obtain the feedback information of the cloud desktop in real time when connecting and logging in to the cloud desktop through the terminal, resulting in a poor user experience.

[0041] In order to improve the connection speed between the client and the cloud desktop and improve the user experience, an embodiment of the present invention provides a cloud desktop connection method applied to a cloud server. Specifically, first, in response to a login request sent by the client, obtain the detection result of the connection environment corresponding to the cloud desktop and the login status information generated by the cloud desktop based on the login request. When the detection result indicates that the connection environment is ready, send the connection credential information corresponding to the cloud desktop to the client. Then, the client can obtain the link address for connecting to the cloud desktop based on the connection credential information. In response to the connection request generated by the client based on the link address, establish a connection between the cloud desktop and the client, and at the same time, the login status information can be sent to the client based on the connection between the cloud desktop and the client for the user to view.

[0042] The following will describe in detail the technical solutions provided by the embodiments of the present invention with reference to the accompanying drawings.

[0043] Figure 1 It is a schematic flowchart of a cloud desktop connection method provided by an exemplary embodiment of the present invention. Refer to Figure 1 This method can be applied to a cloud server and specifically includes the following steps:

[0044] Step S101: In response to a login request sent by the client, obtain the detection result of the connection environment corresponding to the cloud desktop and the login status information generated by the cloud desktop based on the login request.

[0045] Step S102: When the detection result indicates that the connection environment is ready, send the connection credential information corresponding to the cloud desktop to the client so that the client can obtain the link address for connecting to the cloud desktop based on the connection credential information.

[0046] Step S103: In response to a connection request generated by the client based on the link address, establish a connection between the cloud desktop and the client so that the login status information can be sent to the client.

[0047] The cloud desktop connection method provided by the present invention can be applied to various application scenarios, such as office application scenarios, learning application scenarios, and so on. Taking the office application scenario as an example, in actual applications, there may be a situation where the hardware performance of the client device (such as a computer) used by the user cannot meet the requirements of office software. To solve the above problem, office software can be used through the cloud desktop, thereby meeting the office requirements. At this time, before using the cloud desktop, the user needs to establish a connection between the client and the cloud desktop.

[0048] To establish a connection between the client and the cloud desktop, first, in response to a login request sent by the client, obtain the detection result of the connection environment corresponding to the cloud desktop and the login status information generated by the cloud desktop based on the login request.

[0049] To ensure that the client can establish a connection with the cloud desktop, the connection environment of the cloud desktop can be detected first and a detection result can be generated. In this embodiment, the connection environment corresponding to the cloud desktop is the connection environment for connecting between the client and the cloud desktop. That is to say, after the cloud server receives the login request sent by the user end, it needs to first determine whether the current connection conditions for connecting with this client are met. In this embodiment, the above connection conditions can include various ones. For example, the connection conditions can include the network connection status between the client and the cloud server, such as whether the network connection between the client and the cloud server is stable and whether the network connection speed meets the standard; or, the connection conditions can include whether the connection tools, application processes, etc. deployed in the cloud server for connecting between the cloud server and the client are ready; or, the connection conditions can also include whether the client meets the hardware requirements, such as whether the hardware such as the operating system, memory, and hard disk space of the client can ensure the normal operation of the cloud desktop, and so on.

[0050] The login status information can include progress information during the process of the user end logging in to the cloud desktop, etc., and specifically can include information such as each step when the user end logs in to the cloud desktop. For example, the login status information can include connecting to the network, initializing the configuration, connecting successfully, connecting failed, and so on. It should be noted that after receiving the login request sent by the client, the login status information corresponding to this login request can be monitored and obtained in real time.

[0051] After obtaining the detection result of the connection environment corresponding to the cloud desktop, it can be determined whether the client can connect to the cloud desktop based on the detection result. If the detection result indicates that the connection environment is ready, the cloud server can send the connection credential information corresponding to the cloud desktop to the client, so that the client can obtain the link address for connecting to the cloud desktop based on the connection credential information.

[0052] In the implementation of the present invention, connection credential information is sent to the client only when the detection result indicates that the connection environment is ready. This can improve the success rate of the client's connection to the cloud desktop while avoiding the problem of connection failure between the client and the cloud desktop due to insufficient connection conditions, and further save the connection time between the client and the cloud desktop.

[0053] In this embodiment, the connection credential information may include information such as credentials or identifiers, which is used to authorize the client to access the link address of the cloud desktop. Specifically, the connection credential information may include the link address for connecting to the cloud desktop, and the link address may include a Uniform Resource Locator (URL) address, an Internet Protocol (IP) address, and so on.

[0054] After obtaining the connection credential information, the client can parse the connection credential information to obtain the link address for connecting to the cloud desktop. After that, the client can send a connection request to the cloud server based on this link address. Correspondingly, in response to the connection request generated by the client based on the link address, the cloud server can establish a connection between the cloud desktop and the client, so as to send the login status information to the client.

[0055] The login status information sent by the cloud server to the client can be used for display on the above-mentioned client, so that the user can view the progress of connecting to and logging in to the cloud desktop.

[0056] By separating the steps of the client connecting to the cloud desktop and logging in to the cloud desktop independently in the embodiment of the present invention, not only the connection speed between the client and the cloud desktop is improved, but also the login status information of the client can be fed back to the client for display based on the connection between the client and the cloud desktop, thereby improving the user experience.

[0057] As described above, taking the connection of the cloud desktop in the office application scenario as an example, combined with Figure 2 Exemplarily illustrate the cloud desktop connection method in this application scenario.

[0058] Such as Figure 2 shown, taking the client (taking the user's computer as an example in this embodiment) connecting to the cloud desktop in the cloud server as an example.

[0059] The user accesses the login page corresponding to the cloud desktop through the computer, fills in the login information based on the prompts on the login page and clicks the login button to generate a login request, and sends the login request to the cloud server.

[0060] The cloud server receives the login request and makes a response. Based on the login request, it obtains the detection result of the connection environment corresponding to the cloud desktop and real-time obtains the login status information generated by the cloud desktop based on the login request. In this embodiment, assuming that the connection environment is whether the connection tool for connecting between the cloud server and the client is ready, it is necessary to detect the working status of the connection tool. At this time, the detection result of the connection environment corresponding to the cloud desktop is the detection result of detecting the working status of the connection tool.

[0061] If the working status of the connection tool is ready or working, it indicates that the user can connect to the cloud desktop through the computer. At this time, the cloud server generates the connection credential information of the user and sends the connection credential information to the user's computer.

[0062] After the user obtains the above connection credential information, the user can parse it through the computer to obtain the link address for connecting to the cloud desktop. Then, the user can click on the link address to generate a connection request for the cloud desktop and send the connection request to the cloud server. After the cloud server obtains the connection request, it establishes a connection between the cloud desktop and the computer and sends the real-time obtained login status information to the user's computer.

[0063] In an alternative embodiment, when obtaining the detection result of the connection environment corresponding to the cloud desktop, the working status of the connection tool corresponding to the cloud desktop can be obtained. When the above working status indicates that the connection tool is running, a detection result indicating that the connection environment is ready is generated. In this embodiment, the connection tool can include, but is not limited to, an application process that communicates based on the Adaptive Stream Protocol (ASP for short). Specifically, the connection tool can use an efficient encoding and decoding technology to encode the graphical exchange interface and / or audio of the cloud desktop or cloud application in the cloud server, and push data such as video streams, images, and audio to the client currently used by the user to whom the cloud desktop belongs in a streaming manner. The client decodes and displays the graphical interface and / or plays the audio. At the same time, it can also redirect the interaction events generated by the client's interaction devices such as the mouse and keyboard to the cloud server based on the Adaptive Stream Protocol, so as to realize the input of interaction events between the client and the cloud.

[0064] The cloud server can include a desktop management server, a cloud desktop proxy tool, a login management server, a process manager, and so on.

[0065] In an optional embodiment, when obtaining the working state of the above connection tool, the login information corresponding to the login request can be obtained through the cloud desktop management server, and then the login information is sent to the cloud desktop proxy tool through the cloud desktop management server, so that the cloud desktop proxy tool can obtain the working state of the connection tool corresponding to the cloud desktop. After that, when the working state indicates that the connection tool is running, a detection result is generated through the cloud desktop proxy tool.

[0066] When the above detection result indicates that the connection environment is ready, the connection credential information corresponding to the cloud desktop can be sent to the client. Specifically, the detection result can be sent to the cloud desktop management server through the cloud desktop proxy tool, so that the cloud desktop management server generates connection credential information based on the detection result, where the connection credential information includes the link address for the client to connect to the cloud desktop. Finally, the connection credential information is sent to the client through the desktop management server.

[0067] In an optional embodiment, the login information sent by the client may include account information and password information. To obtain the login status information in the above embodiment, the account information and password information can be sent to the login management server through the cloud desktop proxy tool, so that the login management server verifies the account information and password information and outputs a verification result. Based on the verification result, the login status information corresponding to the client is generated through the cloud desktop proxy tool.

[0068] In this embodiment, after receiving the account information and password information, the login management server verifies them. In practical applications, to ensure information security, the account information and password information can be encrypted and transmitted using an encryption algorithm. The login management server can query the account information and password information from the database. If the verification passes, the login management server performs subsequent login operations, and the cloud desktop proxy tool generates the login status information; if the verification fails, a login failure information is generated.

[0069] In an optional embodiment, when the working state indicates that the connection tool fails to run, the connection tool is restarted through the process manager. In practical applications, the process manager can detect the working state of the connection tool in real time. When it detects that the connection tool fails to run, the process manager can promptly restart the connection tool.

[0070] In an optional embodiment, the connection between the cloud desktop proxy tool and the client can be established through the connection tool. Further, after establishing the connection between the cloud desktop proxy tool and the client through the connection tool, the login status information can also be sent to the connection tool through the cloud desktop proxy tool, so that the connection tool can send the login status information to the client.

[0071] For ease of understanding, the following takes the connection of a cloud desktop in an office application scenario as an example to Figure 3 exemplarily illustrate the cloud desktop connection method in this application scenario.

[0072] As Figure 3 shown, take the connection of a client (in this embodiment, a user computer is used as an example) to a cloud desktop in a cloud server as an example. In this embodiment, the cloud server includes a desktop management server, a cloud desktop proxy tool, a login management server, and a process manager.

[0073] The process manager continuously detects the working state of the connection tool. When it detects that the connection tool is not running, the process manager starts the connection tool to make it in a working state.

[0074] After the user accesses the login page corresponding to the cloud desktop through the computer, fills in the login information based on the prompts on the login page, and clicks the login button to generate a login request, the login request is sent to the desktop management server.

[0075] After obtaining the login request, the desktop manager sends the login information to the cloud desktop proxy tool.

[0076] The cloud desktop proxy tool sends the login information to the login management server, meanwhile obtains the working state of the connection tool corresponding to the cloud desktop, and generates a detection result of the connection environment corresponding to the cloud desktop according to the working state of the connection tool.

[0077] If the working state of the connection tool indicates that the connection tool is running, it means that the connection environment is ready. At this time, the desktop manager can obtain the above detection result through the cloud desktop proxy tool, and generate connection credential information containing a link address for the client to connect to the cloud desktop based on this detection result. Then, the desktop manager sends the connection credential information to the user's computer.

[0078] After obtaining the above connection credential information, the user can parse it through the computer to obtain the link address for connecting to the cloud desktop. Then, the user can click on the link address to generate a connection request for the cloud desktop, and send the connection request to the connection tool to establish a connection between the cloud desktop proxy tool and the client through the connection tool.

[0079] After establishing the connection between the cloud desktop proxy tool and the client, the login management server verifies the login information sent by the cloud desktop proxy tool. After successful verification, the login management server performs subsequent login operations, and the cloud desktop proxy tool generates login status information corresponding to the client, and the cloud desktop proxy tool generates login status information. In addition, if the verification fails, a login failure message is generated.

[0080] Finally, the cloud desktop proxy tool sends the generated login status information to the user's computer through the connection tool so that the user can obtain the login status of their cloud desktop.

[0081] Figure 4 The following is a schematic structural diagram of a cloud desktop connection device provided by an exemplary embodiment of the present invention, as Figure 4 shown. The device is applied to a cloud server and includes: an acquisition module 401, a sending module 402, and an establishment module 403.

[0082] The acquisition module 401, in response to a login request sent by a client, acquires the detection result of the connection environment corresponding to the cloud desktop and the login status information generated by the cloud desktop based on the login request;

[0083] The sending module 402, when the detection result indicates that the connection environment is ready, sends the connection credential information corresponding to the cloud desktop to the client so that the client can obtain the link address for connecting to the cloud desktop based on the connection credential information;

[0084] The establishment module 403, in response to a connection request generated by the client based on the link address, establishes a connection between the cloud desktop and the client so as to send the login status information to the client.

[0085] Optionally, the acquisition module 401 is specifically configured to acquire the working status of the connection tool corresponding to the cloud desktop; and generate a detection result indicating that the connection environment is ready when the working status indicates that the connection tool is running.

[0086] Optionally, the cloud server includes a cloud desktop management server and a cloud desktop proxy tool.

[0087] Correspondingly, the acquisition module 401 is specifically configured to acquire the login information corresponding to the login request through the cloud desktop management server; send the login information to the cloud desktop proxy tool through the cloud desktop management server so that the cloud desktop proxy tool can acquire the working status of the connection tool corresponding to the cloud desktop; and generate a detection result through the cloud desktop proxy tool when the working status indicates that the connection tool is running.

[0088] Optionally, the sending module 402 is specifically configured to send the detection result to the cloud desktop management server through the cloud desktop proxy tool so that the cloud desktop management server generates connection credential information based on the detection result, where the connection credential information includes the link address for the client to connect to the cloud desktop; and send the connection credential information to the client through the desktop management server.

[0089] Optionally, the cloud server further includes a login management server, and the login information includes account information and password information.

[0090] Accordingly, the obtaining module 401 is specifically configured to send the account information and password information to the login management server through the cloud desktop proxy tool, so that the login management server verifies the account information and password information and outputs a verification result; and based on the verification result, generate the login status information corresponding to the client through the cloud desktop proxy tool.

[0091] Optionally, the cloud server further includes a process manager.

[0092] Accordingly, the sending module 402 is further configured to restart the connection tool through the process manager when the working status indicates that the connection tool fails to run.

[0093] Optionally, the establishing module 403 is specifically configured to establish a connection between the cloud desktop proxy tool and the client through the connection tool.

[0094] Optionally, after establishing the connection between the cloud desktop proxy tool and the client through the connection tool, the sending module 402 is specifically configured to send the login status information to the connection tool through the cloud desktop proxy tool, so that the connection tool sends the login status information to the client.

[0095] Figure 5 It is a schematic flowchart of a cloud desktop connection method provided by an exemplary embodiment of the present invention. Refer to Figure 5 , this method can be applied to the client, and specifically includes the following steps:

[0096] Step S501: Send a login request to the cloud server, so that the cloud server obtains the detection result of the connection environment corresponding to the cloud desktop and the login status information generated by the cloud desktop based on the login request, and when the detection result indicates that the connection environment is ready, send the connection credential information corresponding to the cloud desktop to the client.

[0097] Step S502: Obtain the link address for connecting to the cloud desktop based on the connection credential information.

[0098] Step S503: Send a connection request to the cloud server based on the link address, so that the cloud server establishes a connection between the cloud desktop and the client and sends the login status information to the client.

[0099] Step S504: Display the login status information.

[0100] The cloud desktop connection method in this embodiment can be applied to the client. It should be noted that the above execution process can refer to the relevant descriptions in the foregoing other embodiments, and will not be elaborated here.

[0101] Figure 6 It is a schematic structural diagram of a cloud desktop connection device provided by an exemplary embodiment of the present invention, as shown in Figure 6As shown in the figure, the device is applied to a client and includes: a sending module 601, a obtaining module 602, and a displaying module 603.

[0102] The sending module 601 is configured to send a login request to a cloud server, so that the cloud server obtains a detection result of a connection environment corresponding to a cloud desktop and login status information generated by the cloud desktop based on the login request, and sends connection credential information corresponding to the cloud desktop to the client when the detection result indicates that the connection environment is ready;

[0103] The obtaining module 602 is configured to obtain a link address for connecting to the cloud desktop based on the connection credential information;

[0104] The sending module 601 is configured to send a connection request to the cloud server based on the link address, so that the cloud server establishes a connection between the cloud desktop and the client and sends the login status information to the client;

[0105] The displaying module 603 is configured to display the login status information.

[0106] An embodiment of the present invention further provides an electronic device, including: at least one processor; and a memory communicatively connected to the at least one processor. The memory stores a computer program executable by the at least one processor, and the computer program, when executed by the at least one processor, is configured to cause the electronic device to execute the method of the embodiment of the present invention.

[0107] An embodiment of the present invention further provides a non-transitory machine-readable medium storing a computer program, wherein the computer program, when executed by a processor of a computer, is configured to cause the computer to execute the method of the embodiment of the present invention.

[0108] An embodiment of the present invention further provides a computer program product, including a computer program, wherein the computer program, when executed by a processor of a computer, is configured to cause the computer to execute the method of the embodiment of the present invention.

[0109] Reference Figure 7 , a block diagram of an electronic device that can be a server or a client according to an embodiment of the present invention will now be described. It is an example of a hardware device that can be applied to various aspects of the present invention. The electronic device is intended to represent various forms of digital electronic computer devices, such as, a laptop computer, a desktop computer, a workbench, a personal digital assistant, a server, a blade server, a mainframe computer, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as, a personal digital processor, a cellular phone, a smart phone, a wearable device, and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present invention described and / or claimed herein.

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

[0111] Multiple components in the electronic device are connected to the I / O interface 705, including: an input unit 706, an output unit 707, a storage unit 708, and a communication unit 709. The input unit 706 can be any type of device capable of inputting information into the electronic device. The input unit 706 can receive input digital or character information and generate key signal inputs related to the user settings and / or function controls of the electronic device. The output unit 707 can be any type of device capable of presenting information and can include, but is not limited to, a display, a speaker, a video / audio output terminal, a vibrator, and / or a printer. The storage unit 708 can include, but is not limited to, magnetic disks and optical discs. The communication unit 709 allows the electronic device to exchange information / data with other devices via a computer network such as the Internet and / or various telecommunication networks and can include, but is not limited to, a modem, a network card, an infrared communication device, a wireless communication transceiver, and / or a chipset, such as a Bluetooth device, a WiFi device, a WiMax device, a cellular communication device, and / or the like.

[0112] The computing unit 701 can be various general-purpose and / or special-purpose processing components with processing and computing capabilities. Some examples of the computing unit 701 include, but are not limited to, a CPU, a graphics processing unit (GPU), various dedicated artificial intelligence (AI) computing chips, various computing units running machine learning model algorithms, a digital signal processor (DSP), and any appropriate processor, controller, microcontroller, etc. The computing unit 701 executes the various methods and processes described above. For example, in some embodiments, the method embodiments of the present invention can be implemented as a computer program tangibly contained in a machine-readable medium, such as the storage unit 708. In some embodiments, part or all of the computer program can be loaded and / or installed onto the electronic device via the ROM 702 and / or the communication unit 709. In some embodiments, the computing unit 701 can be configured to execute the above-described method by any other appropriate means (e.g., by means of firmware).

[0113] The computer program for implementing the method of the embodiments of the present invention can be written in any combination of one or more programming languages. These computer programs can be provided to a processor or controller of a general-purpose computer, a special-purpose computer, or other programmable data processing devices, such that when the computer programs are executed by the processor or controller, the functions / operations specified in the flowcharts and / or block diagrams are implemented. The computer programs can be executed entirely on the machine, partially on the machine, executed partially on the machine and partially on a remote machine as an independent software package, or executed entirely on a remote machine or server.

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

[0115] It should be noted that the term "including" and its variations used in the embodiments of the present invention are open-ended, that is, "including but not limited to". The term "based on" is "based at least in part on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments". The modifications of "one" and "a plurality" mentioned in the embodiments of the present invention are illustrative rather than restrictive. Those skilled in the art should understand that, unless clearly specified otherwise in the context, it should be understood as "one or more".

[0116] The user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data for analysis, stored data, displayed data, etc.) involved in the embodiments of the present invention are all information and data that have been authorized by the user or fully authorized by all parties. Moreover, the collection, use, and processing of the relevant data need to comply with the relevant laws, regulations, and standards of the relevant countries and regions, and corresponding operation entrances are provided for the user to select to authorize or reject.

[0117] In the method embodiments provided by the embodiments of the present invention, the steps described may be executed in different orders and / or executed in parallel. In addition, the method embodiments may include additional steps and / or omit the steps shown. The protection scope of the present invention is not limited in this regard.

[0118] The term "embodiment" in this specification means that the specific features, structures or characteristics described in connection with the embodiments may be included in at least one embodiment of the present invention. The phrase appears in various positions in the specification does not necessarily mean the same embodiment, nor does it mean independence or alternative to other embodiments that are mutually exclusive. The various embodiments in this specification are described in a related manner, and the same or similar parts between the various embodiments are referred to each other. In particular, for device, equipment, and system embodiments, since they are basically similar to method embodiments, the description is relatively simple, and the relevant parts refer to the partial description of the method embodiments.

[0119] The above-described embodiments merely represent several implementation manners of the present invention, and the description is relatively specific and detailed, but should not be construed as a limitation on the scope of patent protection. It should be noted that for those of ordinary skill in the art, without departing from the concept of the present invention, several modifications and improvements can still be made, and these all belong to the protection scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the appended claims.

Claims

1. A cloud desktop connection method, characterized in that, Applied to a cloud server, the method includes: In response to a login request sent by a client, obtain a detection result of a connection environment corresponding to a cloud desktop and login status information generated by the cloud desktop based on the login request; When the detection result indicates that the connection environment is ready, send the connection credential information corresponding to the cloud desktop to the client, so that the client can obtain a link address for connecting to the cloud desktop based on the connection credential information; In response to a connection request generated by the client based on the link address, establish a connection between the cloud desktop and the client; After the connection between the cloud desktop and the client is established, verify the login information sent by the cloud desktop; If the verification is successful, perform subsequent login operations and send the login status information generated by the cloud desktop to the client; If the verification fails, generate a login failure message.

2. The method according to claim 1, wherein The obtaining a detection result of a connection environment corresponding to a cloud desktop in response to a login request sent by a client includes: Obtain the working status of a connection tool corresponding to the cloud desktop; When the working status indicates that the connection tool is running, generate a detection result indicating that the connection environment is ready.

3. The method according to claim 2, characterized in that, The cloud server includes a cloud desktop management server and a cloud desktop proxy tool; The obtaining the working status of a connection tool corresponding to the cloud desktop includes: Obtain login information corresponding to the login request through the cloud desktop management server; Send the login information to the cloud desktop proxy tool through the cloud desktop management server, so that the cloud desktop proxy tool can obtain the working status of the connection tool corresponding to the cloud desktop; The generating a detection result indicating that the connection environment is ready when the working status indicates that the connection tool is running includes: When the working status indicates that the connection tool is running, generate the detection result through the cloud desktop proxy tool.

4. The method according to claim 3, wherein The sending the connection credential information corresponding to the cloud desktop to the client when the detection result indicates that the connection environment is ready includes: Send the detection result to the cloud desktop management server through the cloud desktop proxy tool, so that the cloud desktop management server can generate the connection credential information based on the detection result, where the connection credential information includes a link address for the client to connect to the cloud desktop; Send the connection credential information to the client through the desktop management server.

5. The method according to claim 3, wherein The cloud server further includes a login management server, and the login information includes account information and password information; The obtaining login status information generated by the cloud desktop based on the login request in response to a login request sent by a client includes: Send the account information and password information to the login management server through the cloud desktop proxy tool, so that the login management server can verify the account information and password information and output a verification result; Based on the verification result, generate login status information corresponding to the client through the cloud desktop proxy tool.

6. The method according to claim 3, characterized in that, The cloud server further includes a process manager; In the case that the working state indicates that the connection tool fails to run, restart the connection tool through the process manager.

7. The method according to claim 3, characterized in that, The establishing of the connection between the cloud desktop and the client in response to the connection request generated by the client based on the link address includes: Establish the connection between the cloud desktop proxy tool and the client through the connection tool.

8. The method according to claim 7, characterized in that, After establishing the connection between the cloud desktop proxy tool and the client through the connection tool, the method further includes: Send the login status information to the connection tool through the cloud desktop proxy tool, so that the connection tool sends the login status information to the client.

9. A cloud desktop connection method, characterized in that, Applied to the client, the method includes: Send a login request to the cloud server, so that the cloud server obtains the detection result of the connection environment corresponding to the cloud desktop and the login status information generated by the cloud desktop based on the login request, and in the case that the detection result indicates that the connection environment is ready, send the connection credential information corresponding to the cloud desktop to the client; Obtain the link address for connecting to the cloud desktop based on the connection credential information; Send a connection request to the cloud server based on the link address, so that the cloud server establishes the connection between the cloud desktop and the client, and after the cloud desktop and the client are connected, verify the login information sent by the cloud desktop; if the verification is successful, then perform subsequent login operations and send the login status information generated by the cloud desktop to the client; if the verification fails, then generate a login failure message; Display the login status information.

10. A cloud desktop connection device, characterized in that, Applied to the cloud server, the device includes: An obtaining module, configured to obtain the detection result of the connection environment corresponding to the cloud desktop and the login status information generated by the cloud desktop based on the login request in response to the login request sent by the client; A sending module, configured to send the connection credential information corresponding to the cloud desktop to the client in the case that the detection result indicates that the client can connect to the cloud desktop, so that the client obtains the link address for connecting to the cloud desktop based on the connection credential information; An establishing module, configured to establish the connection between the cloud desktop and the client in response to the connection request generated by the client based on the link address; after the cloud desktop and the client are connected, verify the login information sent by the cloud desktop; if the verification is successful, then perform subsequent login operations and send the login status information generated by the cloud desktop to the client; if the verification fails, then generate a login failure message.

11. A cloud desktop connection device, characterized in that, Applied to the client, the device includes: A sending module, configured to send a login request to the cloud server, so that the cloud server obtains the detection result of the connection environment corresponding to the cloud desktop and the login status information generated by the cloud desktop based on the login request, and in the case that the detection result indicates that the connection environment is ready, send the connection credential information corresponding to the cloud desktop to the client; An acquisition module, configured to acquire a link address for connecting to the cloud desktop based on the connection credential information; The sending module is configured to send a connection request to the cloud server based on the link address, so that the cloud server establishes a connection between the cloud desktop and the client, and after the connection between the cloud desktop and the client is established, verify the login information sent by the cloud desktop; if the verification is successful, perform subsequent login operations and send the login status information generated by the cloud desktop to the client; if the verification fails, generate a login failure message; A display module, configured to display the login status information.

12. An electronic device, comprising: A processor and a memory storing a program, wherein the program includes instructions that, when executed by the processor, cause the processor to execute the method according to any one of claims 1 to 9.

13. A non-transitory machine-readable medium storing computer instructions, wherein, The computer instructions are used to cause the computer to execute the method according to any one of claims 1 to 9.

Citation Information

Patent Citations

  • Cloud desktop connection method, device and system as well as equipment

    CN108769135A

  • Cloud desktop management method and computer storage medium

    CN114416251A