Login method of cloud desktop, electronic equipment and storage medium
The method of scanning the QR code to log in can solve the problem of cumbersome login process for individual users on the cloud desktop, and realizes convenient login without entering information, which is suitable for individual users' usage habits.
Patent Information
- Application Number
- CN202310971380.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-08-02
- Publication Date
- 2025-02-14
AI Technical Summary
The existing cloud desktop login method is relatively inconvenient for individual users, and requires inputting complex workspace information and account password.
Using the method of scanning the QR code to log in, the login QR code is displayed by the first terminal, and the user scans the code in the preset application of the second terminal and confirms the login process without inputting information.
It simplifies the cloud desktop login process for individual users, improves convenience, and conforms to the usage habits of individual users.
Smart Images

Figure CN119442194A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of cloud desktops, and more specifically, to a login method, electronic device and storage medium for a cloud desktop. Background Art
[0002] Cloud desktop is a desktop system based on cloud computing technology. It can integrate desktop applications, files, data and all related resources into the cloud, allowing users to achieve a consistent work experience anywhere and on any device.
[0003] Cloud desktops were initially designed for corporate users, and the opening and management of cloud desktops depended on the administrator of the corporate account. When logging in, employees needed to first enter the company's cloud desktop workspace information, and then enter a specific account and password to log in. With the development of cloud desktops, cloud desktops have begun to be open to individual users. How to provide a more convenient way for individual users to log in to cloud desktops is a problem that needs to be solved. Summary of the invention
[0004] The present application provides a cloud desktop login method, electronic device and storage medium to achieve convenient cloud desktop login for individual users.
[0005] In a first aspect, the present application provides a cloud desktop login method, which is applied to a first terminal, and the method includes:
[0006] In response to the user opening the cloud desktop client, requesting a QR code login from the server, and receiving a QR code login page returned by the server, wherein the QR code in the QR code login page is used to scan the code through a preset application of the second terminal to log in to the cloud desktop;
[0007] The server is queried about the scanning status of the QR code, and after receiving a scan and login success message returned by the server, at least one cloud desktop of the user is displayed on the cloud desktop client.
[0008] In one implementation, the method further includes:
[0009] In response to a user's configuration change operation on the cloud desktop displayed in the cloud desktop client, a request is made to the server to update the configuration of the cloud desktop.
[0010] In one implementation, the method further includes:
[0011] A shutdown policy input by a user is received, and the shutdown policy is sent to a server, wherein the shutdown policy is used to instruct the server to perform a shutdown operation after the cloud desktop is disconnected for a preset time.
[0012] In one implementation, the method further includes:
[0013] The snapshot policy input by the user is received, and the snapshot policy is sent to the server, wherein the snapshot policy is used to instruct the server to perform cloud desktop backup according to the time set by the user.
[0014] In a second aspect, the present application provides a cloud desktop login method, which is applied to a second terminal, and the method includes:
[0015] In response to the user scanning a QR code in the first terminal through a preset application, displaying a scan code login confirmation page, wherein the QR code is used to scan and log in to the cloud desktop;
[0016] In response to the user confirming the login operation, based on the QR code information and the user's identity authentication information, a login request is sent to the server to log in to the cloud desktop at the first terminal.
[0017] In one implementation, the method further includes:
[0018] In the cloud desktop applet of the preset application, at least one cloud desktop of the user is displayed.
[0019] In one implementation, the method further includes:
[0020] In response to a user's connection operation to the cloud desktop displayed in the cloud desktop applet, the cloud desktop is opened in the cloud desktop applet in the form of a web page.
[0021] In one implementation, the method further includes:
[0022] In response to a user triggering an operation of opening a cloud desktop in the cloud desktop applet, displaying a plurality of preset cloud desktop options of different configurations;
[0023] In response to a user confirmation operation on any one of the plurality of differently configured cloud desktop options, a request is made to the server to activate a cloud desktop with a corresponding configuration.
[0024] In one implementation, the method further includes:
[0025] In response to a user's configuration change operation on the cloud desktop displayed in the cloud desktop applet, a request is made to the server to update the configuration of the cloud desktop.
[0026] In one implementation, the method further includes:
[0027] A shutdown policy input by a user is received, and the shutdown policy is sent to a server, wherein the shutdown policy is used to instruct the server to perform a shutdown operation after the cloud desktop is disconnected for a preset time.
[0028] In one implementation, the method further includes:
[0029] The snapshot policy input by the user is received, and the snapshot policy is sent to the server, wherein the snapshot policy is used to instruct the server to perform cloud desktop backup according to the time set by the user.
[0030] In a second aspect, the present application provides a cloud desktop login method, which is applied to a server, and the method includes:
[0031] In response to the QR code login request sent by the first terminal, a QR code login page is sent to the first terminal, wherein the QR code in the QR code login page is used to scan the code through a preset application of the second terminal to log in to the cloud desktop;
[0032] Receiving a login request sent by the second terminal, wherein the login request includes QR code information and user identity authentication information;
[0033] When the identity authentication information of the user is verified, the scanning status of the QR code is updated to login success;
[0034] In response to the scan status query request for the QR code sent by the first terminal, a scan code login success message is returned to the first terminal.
[0035] In a fourth aspect, the present application provides an electronic device, including: a memory and a processor;
[0036] The memory is used to store computer programs;
[0037] The processor is used to execute a computer program stored in the memory, and when the computer program is run, the processor is caused to execute the method according to the first aspect, the second aspect or the third aspect.
[0038] In a fifth aspect, the present application provides a computer-readable storage medium, in which a computer program is stored. When the computer program is executed by a processor, the processor executes the method described in the first aspect, the second aspect or the third aspect.
[0039] In the cloud desktop login method, electronic device and storage medium provided in this application, the cloud desktop applet is used to scan the code to log in to the cloud desktop client. The user does not need to remember and enter the workspace information and account password. It is simple and convenient, and more in line with the current usage habits of individual users. BRIEF DESCRIPTION OF THE DRAWINGS
[0040] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, a brief introduction will be given below to the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.
[0041] Figure 1 This is a flowchart of a cloud desktop login method provided in an embodiment of the present application. Figure 1 ;
[0042] Figure 2 This is a flowchart of a cloud desktop login method provided in an embodiment of the present application. Figure 2 ;
[0043] Figure 3 This is a flowchart of a cloud desktop login method provided in an embodiment of the present application. Figure 3 ;
[0044] Figure 4 It is a schematic diagram of a method for opening a cloud desktop provided in an embodiment of the present application;
[0045] Figure 5 This is a schematic diagram of a cloud desktop login method provided in an embodiment of the present application;
[0046] Figure 6 This is a schematic diagram of a method for using a cloud desktop provided in an embodiment of the present application;
[0047] Figure 7 It is a schematic diagram of a cloud desktop configuration method provided in an embodiment of the present application;
[0048] Figure 8 This is a schematic diagram of a cloud desktop login device provided in an embodiment of the present application. Figure 1 ;
[0049] Fig. 9 This is a schematic diagram of a cloud desktop login device provided in an embodiment of the present application. Figure 2 ;
[0050] Fig.10 This is a schematic diagram of a cloud desktop login device provided in an embodiment of the present application. Figure 3 ;
[0051] Fig.11 It is a schematic block diagram of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0052] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0053] First, the terms involved in the embodiments of the present application are introduced.
[0054] Mini Programs: Mini Programs have comprehensive functions similar to native applications (APPs). You can use the basic libraries provided by Mini Programs to complete complex business logic. At the same time, you can also better connect with users through various features provided by the application where the Mini Program is located, such as scanning and payment.
[0055] Cloud desktop: Cloud desktop is a desktop system based on cloud computing technology. It can integrate desktop applications, files, data and all related resources into the cloud, allowing users to achieve a consistent work experience anywhere and on any device.
[0056] Streaming technology: Streaming technology is a bridge connecting cloud applications and users. Its main function is to collect user interaction behavior data and transmit it to cloud applications, and to feed back the audio and video rendered in the cloud to users.
[0057] In the enterprise version of cloud desktop, when enterprise users use cloud desktop, they need to first enter the company's workspace information, and then enter the account password assigned by the administrator to log in, which is inconvenient to use. As cloud desktop is promoted for individual users, how to make the login and use of cloud desktop more convenient is a problem that needs to be solved. In the embodiment of this application, it is proposed to use QR code scanning to log in to realize desktop cloud login. When the user logs in to the desktop cloud on the first terminal, the login QR code is displayed through the first terminal, and the user scans the code and logs in through the second terminal. No information needs to be entered during the login process, which is more convenient to use. The following is an explanation in conjunction with specific embodiments.
[0058] Figure 1 This is a flowchart of a cloud desktop login method provided in an embodiment of the present application. Figure 1 The method is applied to the first terminal. Figure 1 As shown, the method includes:
[0059] S101. In response to a user opening a cloud desktop client, a QR code login is requested from a server, and a QR code login page returned by the server is received. The QR code in the QR code login page is used to scan the code through a preset application of a second terminal to log in to the cloud desktop.
[0060] The cloud desktop client is a client that is compatible with the first terminal. For example, if the first terminal is a personal computer, the cloud desktop client can be a web client, a client that matches the operating system of the personal computer, etc. When the user opens the cloud desktop client on the first terminal, the cloud desktop client requests a QR code login from the server, which is the cloud desktop server. The server returns a QR code login page to the cloud desktop client. Optionally, in addition to displaying the QR code on the QR code login page, a prompt message can also be displayed to prompt the user to scan the code and log in through a preset application.
[0061] S102: query the server for the scanning status of the QR code, and after receiving a scan code login success message returned by the server, display at least one cloud desktop of the user on the cloud desktop client.
[0062] After the cloud desktop client of the first terminal displays the QR code login page, the user can use the preset application in the second terminal to scan the code to log in. At this time, the first terminal will query the server for the scanning status of the QR code to determine whether the login has been successful. After the user scans the QR code using the preset application in the second terminal, the second terminal can display a scan code login confirmation page to prompt the user to confirm the login. If the user confirms the login, the second terminal will send a login request to the server based on the QR code information and the user's identity authentication information in the preset application. After the server verifies the user's identity authentication information, it can update the scanning status of the QR code to the state of successful scanning login. At this time, the first terminal queries the server for the scanning status of the QR code and will obtain the scanning code login success message returned by the server. It will also receive the information of at least one cloud desktop of the user returned by the server, and display the at least one cloud desktop on the cloud desktop client. At this time, what is displayed can be a real-time screenshot preview of the cloud desktop, and the user can operate any cloud desktop to use the cloud desktop.
[0063] When the cloud desktop client displays at least one cloud desktop of the user, each cloud desktop can display corresponding operation buttons, such as a power button, a restart button, a configuration button, etc. The user can trigger a response operation through the operation button.
[0064] Optionally, in response to a user's configuration change operation on the cloud desktop displayed in the cloud desktop client, a request is made to the server to update the configuration of the cloud desktop. The user can modify the hardware configuration of the cloud desktop, such as CPU, memory, etc., through the configuration change operation.
[0065] Optionally, a shutdown policy input by the user is received and sent to the server. The shutdown policy is used to instruct the server to perform a shutdown operation after the cloud desktop is disconnected for a preset time. Since the billing method of the cloud desktop usually stops billing when the computer is shut down, if the user disconnects but shuts down the computer, billing will continue. Therefore, in the embodiment of the present application, the user can set a shutdown policy for the cloud desktop, and the shutdown policy can indicate that the shutdown operation is performed after the preset time of disconnection, thereby avoiding waste.
[0066] Optionally, a snapshot policy input by a user is received and sent to the server. The snapshot policy is used to instruct the server to perform a cloud desktop backup at a time set by the user. In an embodiment of the present application, the server can back up the cloud desktop in a default manner and generate a snapshot. In addition, the user can also customize the snapshot policy, such as setting a desired backup time, and the server can perform the backup at the time set by the user in the snapshot policy.
[0067] Figure 2 This is a flowchart of a cloud desktop login method provided in an embodiment of the present application. Figure 2 The method is applied to the second terminal. Figure 2 As shown, the method includes:
[0068] S201. In response to a user scanning a QR code in a first terminal through a preset application, a scan code login confirmation page is displayed, where the QR code is used to scan and log in to a cloud desktop.
[0069] The QR code in the first terminal can be referred to the description in the above embodiment, which will not be repeated here. The user scans the QR code through the preset application in the second terminal, and the second terminal parses the QR code and displays the scan code login confirmation page to prompt the user to confirm the login.
[0070] S202: In response to the user confirming the login operation, based on the QR code information and the user's identity authentication information, a login request is sent to the server to log in to the cloud desktop at the first terminal.
[0071] After the user confirms the login, the second terminal sends a login request to the server, which carries the QR code information and the user's identity authentication information in the preset application. After the server verifies the user's identity authentication information, it can update the scanning status of the QR code to the state of successful scanning and login. At this time, the first terminal queries the server for the scanning status of the QR code and obtains the scanning and login success message returned by the server, that is, the user successfully logs in to the cloud desktop at the first terminal.
[0072] In addition to the first terminal, the second terminal can also log in and display the user's cloud desktop. In the embodiment of the present application, the preset application may have a cloud desktop applet, and the user can activate and use the cloud desktop through the cloud desktop applet.
[0073] Optionally, in response to the user's operation of activating a cloud desktop in the cloud desktop applet, a plurality of preset cloud desktop options with different configurations are displayed; in response to the user's confirmation operation on any of the plurality of cloud desktop options with different configurations, a request is made to the server to activate a cloud desktop with the corresponding configuration. Cloud desktops with different configurations can meet the different usage requirements of users, and cloud desktops with different configurations can also correspond to different billing standards. Users can make choices as needed when activating a cloud desktop, and the server will activate the corresponding cloud desktop for the user based on the configuration selected by the user. Each user can activate one or more cloud desktops. After the user activates the cloud desktop, or after the user confirms logging into the cloud desktop through the second terminal, at least one cloud desktop of the user is displayed in the cloud desktop applet, and what is displayed at this time may be a real-time screenshot preview of the cloud desktop.
[0074] Optionally, the cloud desktop applet may integrate the H5 webclient version of the cloud desktop streaming technology client, which can be directly connected to the cloud desktop in the form of webview, so that the user can operate the cloud desktop even if he does not have other client environments. That is, in response to the user's connection operation to the cloud desktop displayed in the cloud desktop applet, the cloud desktop is opened in the cloud desktop applet in the form of a web page.
[0075] Similar to the aforementioned embodiment, the cloud desktops displayed in the cloud desktop applet can all display corresponding operation buttons, such as a power button, a restart button, a configuration button, etc., and users can trigger response operations through the operation buttons.
[0076] Optionally, in response to a user's configuration change operation on the cloud desktop displayed in the cloud desktop applet, a request is made to the server to update the configuration of the cloud desktop.
[0077] Optionally, a shutdown policy input by a user is received and sent to the server, where the shutdown policy is used to instruct the server to perform a shutdown operation after the cloud desktop is disconnected for a preset time.
[0078] Optionally, a snapshot policy input by a user is received and sent to a server, where the snapshot policy is used to instruct the server to perform cloud desktop backup at a time set by the user.
[0079] Figure 3 This is a flowchart of a cloud desktop login method provided in an embodiment of the present application. Figure 3 This method is applied to the server, such as Figure 3 As shown, the method includes:
[0080] S301. In response to a QR code login request sent by a first terminal, a QR code login page is sent to the first terminal, where the QR code in the QR code login page is used to scan the code through a preset application of a second terminal to log in to the cloud desktop.
[0081] S302: Receive a login request sent by the second terminal, where the login request includes QR code information and user identity authentication information.
[0082] S303: When the user's identity authentication information is verified, the scanning status of the QR code is updated to successful login.
[0083] S304: In response to the QR code scanning status query request sent by the first terminal, a scan code login success message is returned to the first terminal.
[0084] In the method provided in the embodiment of the present application, the cloud desktop applet is used to scan the code to log in to the cloud desktop client. The user does not need to remember and enter a long list of workspace information and account passwords. It is simple and convenient, and more in line with the current usage habits of individual users. In addition, the cloud desktop applet can be used to open, log in, use and configure the cloud desktop. The usage method is convenient and convenient for users to manage the cloud desktop.
[0085] The response of the server to the first terminal and the second terminal has been introduced in the above-mentioned embodiment and will not be repeated here.
[0086] The following is combined with Figures 4 to 7 The specific example of the activation, login and use of the cloud desktop in the embodiment of the present application is introduced.
[0087] like Figure 4 As shown, in the cloud desktop applet of the preset application, after the user clicks the "Open Cloud Desktop" button, the user interface displays five cloud desktop options with different configurations for the user to choose from. After the user clicks the "Open Cloud Desktop" button under "Basic", the user interface displays the configuration information of the "Basic" cloud desktop, including the cloud desktop name, rules, GPU, system disk / data disk, network, operating system and regional information. It also displays the billing information of the "Basic" cloud desktop as 10 coins per hour. The coin can be a token pre-charged or gifted by the user in the cloud desktop applet. After the user checks the above information, if he decides to open the "Basic" cloud desktop, he clicks the "Confirm Opening" button. After the opening is successful, the user interface displays the cloud desktop that the user has opened. Each user can choose to open multiple cloud desktops, and the user can choose according to actual needs.
[0088] After the user activates the cloud desktop, he can log in and use the cloud desktop in various clients, such as Figure 5As shown, the user uses the cloud desktop client of the personal computer. The user opens the cloud desktop client, and the cloud desktop client displays a login QR code. After the user uses the preset application in the mobile phone to scan the QR code, the scan code login confirmation page is displayed on the user's mobile phone. The user clicks the "Confirm Login" button on the scan code login confirmation page. After successfully logging in, the cloud desktop client of the personal computer displays the two cloud desktops that the user has activated (taking the example that the user has activated two cloud desktops in advance). In addition, the cloud desktop applet on the user's mobile phone also displays the two cloud desktops that the user has activated. The cloud desktop displayed in the cloud desktop client or cloud desktop applet can be as follows. Figure 5 As shown in the figure, the cards are displayed one by one, and the cards can be real-time screenshots of the cloud desktop. Compared with the enterprise version of the cloud desktop, users need to enter cumbersome workspace information and account passwords. The method of automatically logging in by scanning the QR code with the mobile app is simple and convenient, and more in line with the current daily usage habits of individual users.
[0089] In addition to logging in using the cloud desktop applet, users can also use the cloud desktop applet to connect to and use the cloud desktop, such as Figure 6 As shown, the cloud desktop card displayed in the cloud desktop applet includes a series of operation buttons, such as power on / off, restart, and settings. In addition, it can also include the cloud desktop name. Users can customize the name by clicking on the cloud desktop name; users can open the cloud desktop as a web page in the cloud desktop applet by clicking on the arrow icon or clicking on the card; the cloud desktop status can also be displayed on the cloud desktop card.
[0090] The user clicks the Settings button to enter the Settings interface. Figure 7 As shown in the figure, in the settings interface, users can also modify the cloud desktop name, set the shutdown policy, manage snapshots, and change configurations. The shutdown policy can also be called the saving policy. Figure 7 As shown in the figure, the user clicks to enter the shutdown policy interface. In the shutdown policy interface, the user chooses to disconnect for 10 minutes before shutting down the computer to avoid waste. The automatically generated snapshots are displayed in the snapshot management interface. The user can also add a snapshot policy to create a custom snapshot by clicking the "+" button.
[0091] In the embodiment of the present application, users can complete the selection, activation and scan code login of the cloud desktop in the mini program, which greatly reduces the user's usage threshold.
[0092] Figure 8 This is a schematic diagram of a cloud desktop login device provided in an embodiment of the present application. Figure 1 .like Figure 8 As shown, the cloud desktop login device 800 includes:
[0093] The login module 801 is used to request a QR code login from the server in response to the user opening the cloud desktop client, and receive a QR code login page returned by the server, wherein the QR code in the QR code login page is used to scan the code through a preset application of the second terminal to log in to the cloud desktop;
[0094] The display module 802 is used to query the server for the scanning status of the QR code, and after receiving the scanning login success message returned by the server, display at least one cloud desktop of the user on the cloud desktop client.
[0095] Optionally, also include:
[0096] The configuration module is used to request the server to update the configuration of the cloud desktop in response to the user's configuration change operation on the cloud desktop displayed in the cloud desktop client.
[0097] Optionally, configure the module to:
[0098] A shutdown policy input by a user is received, and the shutdown policy is sent to a server, wherein the shutdown policy is used to instruct the server to perform a shutdown operation after the cloud desktop is disconnected for a preset time.
[0099] Optionally, configure the module to:
[0100] The snapshot policy input by the user is received, and the snapshot policy is sent to the server, wherein the snapshot policy is used to instruct the server to perform cloud desktop backup according to the time set by the user.
[0101] The device of the embodiment of the present application is used to implement the method implemented by the first terminal in the aforementioned embodiment. Its implementation principle and technical effects are similar and will not be repeated here.
[0102] Fig. 9 This is a schematic diagram of a cloud desktop login device provided in an embodiment of the present application. Figure 2 .like Fig. 9 As shown, the cloud desktop login device 900 includes:
[0103] Display module 901, used for displaying a scan code login confirmation page in response to the user scanning a QR code in the first terminal through a preset application, wherein the QR code is used for scanning to log in to the cloud desktop;
[0104] The login module 902 is used to respond to the user's confirmation of the login operation and send a login request to the server based on the QR code information and the user's identity authentication information to log in to the cloud desktop at the first terminal.
[0105] Optionally, the display module 901 is used for:
[0106] In the cloud desktop applet of the preset application, at least one cloud desktop of the user is displayed.
[0107] Optionally, also include:
[0108] The connection module is used to open the cloud desktop in the form of a web page in the cloud desktop applet in response to a user's connection operation on the cloud desktop displayed in the cloud desktop applet.
[0109] Optionally, also include:
[0110] A configuration module, configured to display a plurality of preset cloud desktop options of different configurations in response to a cloud desktop opening operation triggered by a user in the cloud desktop applet;
[0111] In response to a user confirmation operation on any one of the plurality of differently configured cloud desktop options, a request is made to the server to activate a cloud desktop with a corresponding configuration.
[0112] Optionally, configure the module to:
[0113] In response to a user's configuration change operation on the cloud desktop displayed in the cloud desktop applet, a request is made to the server to update the configuration of the cloud desktop.
[0114] Optionally, configure the module to:
[0115] A shutdown policy input by a user is received, and the shutdown policy is sent to a server, wherein the shutdown policy is used to instruct the server to perform a shutdown operation after the cloud desktop is disconnected for a preset time.
[0116] Optionally, configure the module to:
[0117] The snapshot policy input by the user is received, and the snapshot policy is sent to the server, wherein the snapshot policy is used to instruct the server to perform cloud desktop backup according to the time set by the user.
[0118] The device of the embodiment of the present application is used to implement the method implemented by the second terminal in the aforementioned embodiment. Its implementation principle and technical effect are similar and will not be repeated here.
[0119] Fig.10 This is a schematic diagram of a cloud desktop login device provided in an embodiment of the present application. Figure 3 .like Fig.10 As shown, the cloud desktop login device 1000 includes:
[0120] The sending module 1001 is used to send a QR code login page to the first terminal in response to the QR code login request sent by the first terminal, wherein the QR code in the QR code login page is used to scan the code through a preset application of the second terminal to log in to the cloud desktop;
[0121] The receiving module 1002 is used to receive a login request sent by the second terminal, wherein the login request includes the QR code information and the user's identity authentication information;
[0122] An updating module 1003 is used to update the scanning status of the QR code to successful login when the identity authentication information of the user is verified;
[0123] The sending module 1001 is used to return a scan code login success message to the first terminal in response to a scan code status query request for the QR code sent by the first terminal.
[0124] The device of the embodiment of the present application is used to implement the method implemented by the server in the aforementioned embodiment. Its implementation principle and technical effect are similar and will not be repeated here.
[0125] Fig.11 is a schematic block diagram of an electronic device provided in an embodiment of the present application. Fig.11 As shown, the electronic device 1100 may include at least one processor 1101, which is used to implement the method provided in the embodiment of the present application. The electronic device 1100 may be the first terminal, the second terminal or the server in the above-mentioned embodiment.
[0126] Optionally, the electronic device 1100 also includes at least one memory 1102 for storing program instructions and / or data. The memory 1102 is coupled to the processor 1101. The coupling in the embodiment of the present application is an indirect coupling or communication connection between devices, units or modules, which can be electrical, mechanical or other forms, and is used for information exchange between devices, units or modules. The processor 1101 may operate in conjunction with the memory 1102. The processor 1101 may execute program instructions stored in the memory 1102. At least one of the at least one memory may be included in the processor.
[0127] Optionally, the electronic device 1100 also includes a communication interface 1103, which is used to communicate with other devices through a transmission medium, so that the electronic device 1100 can communicate with other devices. The communication interface 1103 can be, for example, a transceiver, an interface, a bus, a circuit, or a device capable of implementing a transceiver function. The processor 1101 can use the communication interface 1103 to send and receive data and / or information, and is used to implement the method provided in the embodiment of the present application. Please refer to the detailed description in the previous embodiment for details, which will not be repeated here.
[0128] The specific connection medium between the processor 1101, the memory 1102 and the communication interface 1103 is not limited in the embodiment of the present application. Fig.11In the embodiment, the processor 1101, the memory 1102 and the communication interface 1103 are connected via a bus 1104. The bus 1104 is Fig.11 The connection between other components is only for illustration and is not intended to be limiting. The bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Fig.11 Only one thick line is used in the diagram, but this does not mean that there is only one bus or only one type of bus.
[0129] It should be understood that the processor in the embodiment of the present application can be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method embodiment can be completed by the hardware integrated logic circuit or software instructions in the processor. The above processor can be a general processor, a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components. The methods, steps and logic block diagrams disclosed in the embodiments of the present application can be implemented or executed. The general processor can be a microprocessor or the processor can also be any conventional processor. The steps of the method disclosed in the embodiment of the present application can be directly embodied as a hardware decoding processor to perform, or the hardware and software modules in the decoding processor can be combined to perform. The software module can be located in a mature storage medium in the field such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory or an electrically erasable programmable memory, a register, etc. The storage medium is located in the memory, and the processor reads the information in the memory and completes the steps of the above method in combination with its hardware.
[0130] It should also be understood that the memory in the embodiments of the present application may be a volatile memory or a non-volatile memory, or may include both volatile and non-volatile memories. Among them, the non-volatile memory may be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory may be a random access memory (RAM), which is used as an external cache. By way of example and not limitation, many forms of RAM are available, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDR SDRAM), enhanced SDRAM (ESDRAM), synchronous link DRAM (SLDRAM), and direct RAM (DR RAM). It should be noted that the memory of the systems and methods described herein is intended to include, but is not limited to, these and any other suitable types of memory.
[0131] The present application also provides a computer-readable storage medium, which stores a computer program (also referred to as code or instruction). When the computer program is executed, the computer executes the method in any of the above embodiments.
[0132] The terms "unit", "module" and the like used in this specification may be used to represent a computer-related entity, hardware, firmware, a combination of hardware and software, software, or software in execution.
[0133] It will be appreciated by those skilled in the art that the various illustrative logical blocks and steps described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or in combination with computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application. In the several embodiments provided in this application, it should be understood that the disclosed devices, equipment and methods can be implemented in other ways. For example, the device embodiments described above are only schematic, for example, the division of the unit is only a logical function division, and there may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point, the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0134] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0135] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
[0136] In the above-described embodiments, the functions of each functional unit can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions (programs). When the computer program instructions (programs) are loaded and executed on a computer, the flow or function according to the embodiment of the present application is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network or other programmable devices. The computer instructions may be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions may be transmitted from one website, computer, server or data center to another website, computer, server or data center via wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) means. The computer-readable storage medium may be any available medium that can be accessed by a computer or a data storage device such as a server or data center that includes one or more available media integrated therein. The available medium may be a magnetic medium (e.g., a floppy disk, a hard disk, a magnetic tape), an optical medium (e.g., a digital video disc (DVD)), or a semiconductor medium (e.g., a solid state disk (SSD)), etc.
[0137] If this function is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, server, or network device, etc.) to perform all or part of the steps of the various embodiments of the present application. The aforementioned storage medium includes: various media that can store program codes, such as USB flash drives, mobile hard drives, ROM, RAM, magnetic disks, or optical disks.
[0138] The user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with the relevant laws, regulations and standards of relevant countries and regions, and provide corresponding operation entrances for users to choose to authorize or refuse.
[0139] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
Claims
1. A cloud desktop login method, characterized in that: Applied in a first terminal, the method includes: In response to the user opening the cloud desktop client, requesting a QR code login from the server, and receiving a QR code login page returned by the server, wherein the QR code in the QR code login page is used to scan the code through a preset application of the second terminal to log in to the cloud desktop; The server is queried about the scanning status of the QR code, and after receiving a scan and login success message returned by the server, at least one cloud desktop of the user is displayed on the cloud desktop client.
2. The method according to claim 1, characterized in that Also includes: In response to a user's configuration change operation on the cloud desktop displayed in the cloud desktop client, a request is made to the server to update the configuration of the cloud desktop.
3. The method according to claim 1, characterized in that Also includes: A shutdown policy input by a user is received, and the shutdown policy is sent to a server, wherein the shutdown policy is used to instruct the server to perform a shutdown operation after the cloud desktop is disconnected for a preset time.
4. The method according to any one of claims 1 to 3, characterized in that Also includes: The snapshot policy input by the user is received, and the snapshot policy is sent to the server, wherein the snapshot policy is used to instruct the server to perform cloud desktop backup according to the time set by the user.
5. A cloud desktop login method, characterized in that: Applied in the second terminal, the method includes: In response to the user scanning a QR code in the first terminal through a preset application, displaying a scan code login confirmation page, wherein the QR code is used to scan and log in to the cloud desktop; In response to the user confirming the login operation, based on the QR code information and the user's identity authentication information, a login request is sent to the server to log in to the cloud desktop at the first terminal.
6. The method according to claim 5, characterized in that Also includes: In the cloud desktop applet of the preset application, at least one cloud desktop of the user is displayed.
7. The method according to claim 6, characterized in that Also includes: In response to a user's connection operation to the cloud desktop displayed in the cloud desktop applet, the cloud desktop is opened in the cloud desktop applet in the form of a web page.
8. The method according to claim 6, characterized in that Also includes: In response to a user triggering an operation of opening a cloud desktop in the cloud desktop applet, displaying a plurality of preset cloud desktop options of different configurations; In response to a user confirmation operation on any one of the plurality of differently configured cloud desktop options, a request is made to the server to activate a cloud desktop with a corresponding configuration.
9. The method according to claim 6, characterized in that Also includes: In response to a user's configuration change operation on the cloud desktop displayed in the cloud desktop applet, a request is made to the server to update the configuration of the cloud desktop.
10. The method according to any one of claims 6 to 9, characterized in that: Also includes: A shutdown policy input by a user is received, and the shutdown policy is sent to a server, wherein the shutdown policy is used to instruct the server to perform a shutdown operation after the cloud desktop is disconnected for a preset time.
11. The method according to any one of claims 6 to 9, characterized in that: Also includes: The snapshot policy input by the user is received, and the snapshot policy is sent to the server, wherein the snapshot policy is used to instruct the server to perform cloud desktop backup according to the time set by the user.
12. A cloud desktop login method, characterized in that: Applied in the server, the method includes: In response to the QR code login request sent by the first terminal, a QR code login page is sent to the first terminal, wherein the QR code in the QR code login page is used to scan the code through a preset application of the second terminal to log in to the cloud desktop; Receiving a login request sent by the second terminal, wherein the login request includes QR code information and user identity authentication information; When the identity authentication information of the user is verified, the scanning status of the QR code is updated to login success; In response to the scan status query request for the QR code sent by the first terminal, a scan code login success message is returned to the first terminal.
13. An electronic device, characterized in that: include: Memory and processor; The memory is used to store computer programs; The processor is used to execute a computer program stored in the memory, and when the computer program is run, the processor is enabled to execute the method according to any one of claims 1 to 12.
14. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the processor executes the method according to any one of claims 1 to 12.
Citation Information
Patent Citations
Cloud desktop login method, device and equipment based on cloud security and storage medium
CN109873805A
Cloud desktop authentication method based on two-dimensional code recognition
CN112261011A
Cloud desktop intelligent management system and method
CN113110902A
Application page login method, terminal equipment, server and storage medium
CN115186248A
Cloud desktop running state management and control method and device, electronic equipment and storage medium
CN116339925A