Remote login method, device, system and medium

By generating and displaying graphic codes in the remote login device, the security risks and inconvenience of manually entering the account password during remote login are solved, and a simplified remote login process is achieved.

CN115664664BActive Publication Date: 2025-08-08SANGFOR TECH INC
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202211122982.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-09-15
Publication Date
2025-08-08
Estimated Expiration
2042-09-15

AI Technical Summary

Technical Problem

During the remote login process, the existing technology requires manual input of accounts and passwords, which poses a risk of information leakage and is complicated to operate. The graphic code login method needs to switch applications in the remote login scenario, resulting in inconvenient operation.

Method used

The graphics code generation module of the device to be logged in generates a graphics code containing graphic verification information. The client directly displays the graphics code without switching applications, and logs in using the remote connection between the client and the device to be logged in.

Benefits of technology

It reduces the security risks and cumbersome operation of manually entering account passwords, simplifies the remote login process, and improves security and convenience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115664664B_ABST
    Figure CN115664664B_ABST
Patent Text Reader

Abstract

The present application discloses a remote login method, device, system and medium, wherein the method is applied to a device to be logged in; after a client has remotely logged in to a first environment of the device to be logged in, the client further logs in to a second environment of the device to be logged in through the remote login method; the method comprises: upon receiving a login instruction input by a user in the first environment, the first environment starts a graphic code generation module; the login instruction includes an instruction requesting to log in to the second environment; a graphic code is generated by the graphic code generation module; the first environment receives the graphic code returned by the graphic code generation module, so that the client that has established a remote connection with the first environment can display the graphic code; wherein the graphic code includes graphic verification information for logging in to the second environment; after the graphic code is scanned, the client can remotely log in to the second environment.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of information processing technology, and in particular to a remote login method, device, system and medium. Background Art

[0002] In actual applications, when users access server devices through a client, they usually need to manually enter text information such as account and password on the client. However, when users manually enter account and password, there is a high probability that private data such as account and password will be leaked.

[0003] Login with a graphic code is simpler and more secure than manually entering an account password, such as with a QR code. However, the typical method involves the device generating the graphic code, and the client launching a new application, such as a browser, to access a Uniform Resource Locator (URL) to retrieve the graphic code and scan it. For remote login, the client needs to display the remote login interface while switching to the new application to display the graphic code. This requires switching between different interfaces, making the process cumbersome and inconvenient. Summary of the Invention

[0004] Based on the above problems, the embodiments of the present application provide a remote login method, device, system and medium.

[0005] The technical solution provided by the embodiments of this application is as follows:

[0006] An embodiment of the present application provides a remote login method, which is applied to a device to be logged in. After a client remotely logs in to a first environment of the device to be logged in, the client further logs in to a second environment of the device to be logged in through the remote login method. The remote login method includes:

[0007] The first environment starts the graphic code generation module when receiving a login instruction input by the user in the first environment; wherein the login instruction includes an instruction requesting to log in to the second environment;

[0008] Generate a graphic code through the graphic code generation module; wherein the graphic code includes graphic verification information for logging into the second environment; after the graphic code is scanned, the client can remotely log in to the second environment;

[0009] The first environment receives the graphic code returned by the graphic code generation module, so that the client that has established a remote connection with the first environment can display the graphic code.

[0010] In some embodiments, the graphic code includes an encrypted verification code; the method further includes:

[0011] Receive the decrypted verification code sent by the client, and determine whether to allow the client to remotely log in to the second environment based on the decrypted verification code and the encrypted verification code.

[0012] In some embodiments, generating the graphic code by the graphic code generating module includes:

[0013] The graphic code is generated by running the graphic code generation module in the sandbox environment of the device to be logged in.

[0014] The present application also provides a remote login method, which is applied to a remote login system, the system including a device to be logged in and a scanning module installed on the terminal device; wherein, after a client has remotely logged in to a first environment of the device to be logged in, the client further logs in to a second environment of the device to be logged in through the remote login method; the method includes:

[0015] After the first environment of the device to be logged in receives a login instruction input by the user in the first environment, the first environment activates a graphic code generation module to generate a graphic code; wherein the login instruction includes an instruction requesting to log in to the second environment; and the graphic code includes graphic verification information for logging into the second environment;

[0016] The first environment of the device to be logged in receives the graphic code returned by the graphic code generation module, so that the client that has established a remote connection with the first environment can display the graphic code;

[0017] The scanning module in the terminal device scans the graphic code presented by the client, so that the client logs in to the second environment.

[0018] In some embodiments, the method further comprises:

[0019] After scanning the graphic code, the scanning module in the terminal device obtains the encrypted verification code contained in the graphic code;

[0020] The scanning module in the terminal device obtains the decrypted verification code;

[0021] The device to be logged in obtains the decrypted verification code sent by the client;

[0022] The device to be logged in determines whether to enable the client to log in to the second environment based on the decrypted verification code and the encrypted verification code.

[0023] In some embodiments, the system further includes a verification device, and before the terminal device obtains the decrypted verification code, the method includes:

[0024] The scanning module in the terminal device sends the encrypted verification code to the verification device;

[0025] The verification device decrypts the encrypted verification code to obtain a decrypted verification code;

[0026] The verification device obtains the device identification sent by the scanning module in the terminal device;

[0027] The verification device obtains structural information of the graphic code sent by the scanning module in the terminal device;

[0028] When the verification device determines that the structure information is a specified structure and that the device identifier is an identifier in a specified identifier set, the verification device obtains a decryption key to decrypt the encrypted verification code to obtain a decrypted verification code;

[0029] The decrypted verification code is sent to the scanning module in the terminal device.

[0030] An embodiment of the present application also provides a device to be logged in, which includes a first processor and a first memory; a computer program is stored in the first memory; when the computer program is executed by the first processor, it can implement the remote login method applied to the device to be logged in as described in any of the above.

[0031] An embodiment of the present application also provides a remote login system, which includes a scanning module installed in a terminal device and a device to be logged in, the scanning module including a computer program product composed of instructions, and the device to be logged in including a first processor and a first memory; wherein, when the scanning module is loaded into the second memory and executed by the second processor, and when the computer program in the first memory in the device to be logged in is executed by the first processor, any remote login method as described above can be implemented.

[0032] In some embodiments, the remote login system also includes a verification device, the verification device includes a third processor and a third memory, and when the scanning module is loaded into the second memory and run by the second processor, the computer program in the first memory of the device to be logged in is executed by the first processor, and the computer program in the third memory is executed by the third processor, the remote login method as described above can be implemented.

[0033] An embodiment of the present application also provides a computer-readable storage medium, in which a computer program is stored; when the computer program is executed by a processor of an electronic device, it can implement any of the remote login methods described above.

[0034] The embodiment of the present application adopts a graphic code login method, which reduces the tediousness of operations caused by manually entering an account and password, and solves the security issues arising from the manual entry of an account and password; and, by making full use of the remote connection between the client and the first environment of the device to be logged in, such as the shell command line control environment, the client can directly display the graphic code in the first environment without starting a new application to obtain and display the graphic code, thereby simplifying the graphic code display process, and further simplifying the client's remote login process for the device to be logged in. BRIEF DESCRIPTION OF THE DRAWINGS

[0035] Figure 1 A flowchart of a remote login method for a device to be logged in provided in an embodiment of the present application;

[0036] Figure 2 A flowchart of a remote login method applied to a remote login system provided in an embodiment of the present application;

[0037] Figure 3 A flowchart of the remote login method provided in an embodiment of the present application;

[0038] Figure 4 A schematic diagram of the structure of the device to be logged in provided in an embodiment of the present application;

[0039] Figure 5 A schematic diagram of the structure of the remote login system provided in an embodiment of the present application;

[0040] Figure 6 Another structural diagram of the remote login system provided in an embodiment of the present application. DETAILED DESCRIPTION

[0041] The technical solutions in the embodiments of the present application will be described clearly and completely below in conjunction with the drawings in the embodiments of the present application.

[0042] It should be understood that the specific embodiments described herein are only used to explain the present application and are not intended to limit the present application.

[0043] In daily life, when a user remotely logs in to a server device on a client, they usually need to manually enter their account and password, and the client sends the account and password to the server device. When the server device receives the account and password and determines that the account and password verification has passed, it sends a verification pass message to the client. Only after the above processing process can a business data connection be established between the client and the server device.

[0044] However, in actual applications, when users manually enter their account and password, it is easy for the account and password to be accidentally leaked. Therefore, the security of the user manually entering the account and password operation is insufficient.

[0045] Graphic code login is simpler and more secure than manually entering an account password, such as using a QR code. However, the most common method for graphical code login involves the device to be logged in generating a graphical code and then sending that code to a separate device, such as a mobile phone or computer. For remote login, the client needs to display the remote login interface and launch a new application to display the graphical code, which is still cumbersome and inconvenient.

[0046] In response to the above problems, embodiments of the present application provide a remote login method, device, system, and medium. In the remote login method for a device to be logged in provided in embodiments of the present application, upon receiving a login instruction input by a user in the first environment requesting to log in to a second environment of the device to be logged in, a first environment of the device to be logged in can generate a graphical code through a graphical code generation module. The first environment can receive the graphical code returned by the graphical code generation module, so that a client that has established a remote connection with the first environment can display the graphical code, thereby enabling the client to remotely log in to the second environment after scanning the graphical code.

[0047] Therefore, in the remote login method provided in the embodiment of the present application, after receiving the login instruction sent by the client, the device to be logged in does not create an account and password input interface containing a text input box in the related technology, but generates a graphic code for scanning through a graphic code generation module, thereby reducing the unsafe factors in the process of inputting information such as account passwords, and can improve the security of the client logging in to the device to be logged in; and, by making full use of the remote connection between the client and the first environment of the device to be logged in, such as the shell command line control environment, the client can directly display the graphic code in the first environment without starting a new application to obtain and display the graphic code, thereby simplifying the graphic code display process, and then simplifying the client's remote login process of the device to be logged in.

[0048] It should be noted that the remote login method applied to the device to be logged in provided in the embodiment of the present application can be implemented by a processor of the device to be logged in. The above-mentioned processor can be at least one of an application-specific integrated circuit (ASIC), a digital signal processor (DSP), a digital signal processing device (DSPD), a programmable logic device (PLD), a field programmable gate array (FPGA), a central processing unit (CPU), a controller, a microcontroller, and a microprocessor.

[0049] In the remote login method applied to the device to be logged in provided in the embodiment of the present application, after the client has remotely logged in to the first environment of the device to be logged in, the client can further log in to the second environment of the device to be logged in through the remote login method.

[0050] In one embodiment, the device to be logged in may include a server device; exemplarily, the server device may include a computer device capable of providing data processing services (e.g., a firewall); exemplarily, the server device may include a computer device that provides computing or application services to the client in the network; exemplarily, the client may include a personal computer (PC), a smart mobile terminal, an automated teller machine (ATM), an access control device, an identification device, and a security inspection device, etc., which is not limited to the embodiments of the present application.

[0051] In one embodiment, the device to be logged in may include a physical machine device and / or a virtual machine device.

[0052] In one embodiment, the first environment may include an environment in which the security level of the device to be logged in is less than the security threshold, and correspondingly, the second environment may include an environment in which the security level of the device to be logged in is greater than the security threshold; exemplarily, the security threshold may be determined based on the source and / or type of data stored in the first environment and the second environment; exemplarily, the division of the first environment and the second environment may be fixed or flexibly adjusted based on the type of the client and the account corresponding to the client; exemplarily, the first environment may include at least part of the window data display environment in the device to be logged in, and the second environment may include at least part of the data processing environment of the device to be logged in.

[0053] In one embodiment, when a Linux operating system is set in the device to be logged in, the first environment may include a shell command line operating environment provided by the Linux operating system in the device to be logged in, and the second environment may include an environment composed of at least one software module with specified security permissions; exemplarily, the level of the specified security permissions may be higher than the security level of the shell command line operating environment.

[0054] In one embodiment, the first environment can isolate the client from the second environment; exemplarily, the isolation effect of the first environment on the client and the second environment can be pre-set, and exemplarily, the first environment determines the isolation level between the client and the second environment based on the client's attributes; exemplarily, the client's attributes can include the client's device type.

[0055] In one embodiment, the client can send a remote connection request to the device to be logged in. If the client's attributes meet the connection conditions of the first environment, the client can connect to the first environment of the device to be logged in; exemplarily, the client can present at least part of the data displayed by the first environment; exemplarily, at least part of the data includes at least one of window data, image data and text data.

[0056] Figure 1 A flowchart of a remote login method for a device to be logged in provided in an embodiment of the present application is shown in FIG. Figure 1 As shown, the process may include steps 101 to 103:

[0057] Step 101: When the first environment receives a login instruction input by a user in the first environment, the first environment starts a graphic code generation module.

[0058] The login instruction includes an instruction for requesting to log in to the second environment.

[0059] Correspondingly, if the first environment does not receive the login instruction sent by the client, the graphic code generation module may not be started.

[0060] In one implementation, a first connection may be established between the client and the first environment of the device to be logged in; illustratively, the first connection may include a wired connection or a wireless connection.

[0061] In one embodiment, the client and the device to be logged in may be located in the same local area network or in different local area networks.

[0062] In one embodiment, the first environment may be provided with a command input option or a command input window; illustratively, the client may be able to display the data displayed by the first environment in real time, so the user may input login instructions through the command input option or command input window provided by the first environment displayed on the client.

[0063] In one embodiment, the login instruction may include an instruction requesting access to at least part of the data in the second environment of the device to be logged in; exemplarily, under the condition that the operating system of the device to be logged in is Linux, the client may send the login instruction to the first environment of the device to be logged in through the Secure Shell Protocol (SSH); exemplarily, after receiving the login instruction, the first environment of the device to be logged in may start the SSHD process and start the graphic code generation module through the process.

[0064] In one embodiment, the graphic code generation module may include a hardware module or a software module; illustratively, the graphic code generation module may include executable code, such as a graphic code generation application.

[0065] In one embodiment, the graphic code generation module can be set in the first environment; illustratively, the graphic code generation module can be set in an environment other than the first environment in the device to be logged in. At this time, the graphic code generation module can interact with the first environment for data, for example, the graphic code generation module can receive the startup instruction of the first environment, and the graphic code generation module can send data to the first environment.

[0066] Step 102: Generate a graphic code through a graphic code generation module.

[0067] The graphic code includes graphic verification information for logging into the second environment; after the graphic code is scanned, the client can remotely log in to the second environment.

[0068] In one embodiment, the graphic code may include graphic verification information displayed in the form of a graphic; illustratively, the graphic verification information may include account information or address information; illustratively, the address information may include the URL of the client.

[0069] In one embodiment, the graphic verification information may include graphic information randomly generated by a graphic code generation module for authenticating the client; exemplarily, the graphic verification information may include a combination of graphic information of at least one dimension; exemplarily, when the graphic verification information includes a combination of graphic information of two dimensions, the graphic code may include a QR code.

[0070] In one embodiment, the graphic code may be generated by any of the following methods:

[0071] The graphic code generation module obtains the address information of the client and generates the graphic code according to the address information; illustratively, the address information of the client may include the physical address and / or network address information of the client.

[0072] The graphic code generation module obtains the client's historical login information and generates a graphic code based on the historical login information; illustratively, the historical login information may include whether the client has ever logged into the device to be logged in, and the data accessed by the client in the historical login operation.

[0073] The graphic code generation module obtains the permission information of the client and generates a graphic code according to the permission information; illustratively, the permission information may include information on the client's access or operation permission to at least one type of data in the login device.

[0074] Step 103: The first environment receives the graphic code returned by the graphic code generation module, so that the client that has established a remote connection with the first environment can display the graphic code.

[0075] In one embodiment, after the first environment receives the graphic code, it can remotely send an image containing the graphic code to the client, so that the client displays the received image on the interface displaying the first environment and parses the image to display the graphic code, so that the graphic code can be scanned.

[0076] In one embodiment, after the graphic code generation module generates the graphic code, it can send the graphic code to the first environment, and the first environment can display the graphic code in real time; exemplarily, the client can have a display device; exemplarily, the client's display device can display the data displayed by the first environment in real time, and after the first environment receives the graphic code, the client's display device can display the graphic code in real time.

[0077] Exemplarily, the terminal device or an application installed in the terminal device, such as a pocket assistant application installed on a mobile phone, can scan the graphic code displayed by the client; exemplary, the terminal device can be a mobile electronic device, such as a smart mobile phone; exemplary, a second connection is established between the terminal device and the client, at which time, a data acquisition module associated with the terminal device, such as a data acquisition or scanning device, can obtain the graphic code displayed by the client through the second connection; exemplary, the client can send the graphic code to the terminal device through the second connection.

[0078] In one embodiment, a communication connection may not be established between the client and the terminal device, and the terminal device can scan or detect the client's display device in real time. After scanning or detecting that the client's display device displays a graphic code, a scanning or image capture operation can be performed on the graphic code to obtain the graphic code and send it to the verification device.

[0079] In one embodiment, the terminal device can scan the graphic code by passive scanning or image acquisition; exemplarily, the passive scanning or image acquisition method can be that the operator or holder of the terminal device controls the data acquisition module of the terminal device to perform a scanning or acquisition operation on the graphic code when detecting that the display device of the client displays the graphic code, so that the terminal device can obtain the graphic code displayed by the client.

[0080] From the above, it can be seen that the remote login method applied to the device to be logged in provided in the embodiment of the present application is that when the client has remotely logged in to the first environment of the device to be logged in, the first environment can start the graphic code generation module when receiving the login instruction entered by the user in the first environment, and generate a graphic code through the graphic code generation module. After receiving the graphic code returned by the graphic code generation module, the first environment enables the client that has established a remote connection with the first environment to display the graphic code, so that after the graphic code is scanned, the client can log in to the second environment of the device to be logged in.

[0081] Therefore, the embodiment of the present application adopts a graphic code login method, which reduces the tediousness of operations caused by manually entering the account and password, and solves the security issues arising from the manual entry of the account and password; and, by making full use of the remote connection between the client and the first environment of the device to be logged in, such as the shell command line control environment, the client can directly display the graphic code in the first environment without starting a new application to obtain and display the graphic code, thereby simplifying the graphic code display process, and then simplifying the client's remote login process of the device to be logged in.

[0082] Based on the aforementioned embodiment, in the remote login method applied to the device to be logged in provided in the embodiment of the present application, the graphic code includes an encrypted verification code.

[0083] In one embodiment, the verification code can be randomly generated by the graphic code generation module; illustratively, the graphic code generation module can randomly generate a verification code based on the attributes of the client, encrypt the verification code to obtain an encrypted verification code, and then generate a graphic code based on the encrypted verification code.

[0084] In one embodiment, the verification code may include a random verification code of a specified number of digits; illustratively, the verification code may include a random combination of at least two of characters, numbers, pictures, and mathematical operation symbols.

[0085] Accordingly, the remote login method provided in the embodiment of the present application and applied to the device to be logged in may further include the following steps:

[0086] Receive the decrypted verification code sent by the client, and determine whether to allow the client to remotely log in to the second environment based on the decrypted verification code and the encrypted verification code.

[0087] In one embodiment, after the scanning module of the terminal device scans the graphic code, it can send it to the verification device. Exemplarily, the verification device can include an electronic device capable of parsing and verifying the data contained in the graphic code; Exemplarily, the verification device can include a server device capable of providing verification services; Exemplarily, the verification device can include a physical machine device or a virtual machine device; Exemplarily, a third connection can be established between the terminal device and the verification device; Exemplarily, the scanning module can include an application program configured in the terminal device; Exemplarily, the scanning module of the terminal device can send the acquired graphic code to the verification device; Exemplarily, the third connection can be a wired connection or a wireless connection.

[0088] Exemplarily, the verification device can parse the graphic code to obtain an encrypted verification code, and decrypt the encrypted verification code to obtain a decrypted verification code; exemplary, the verification device can determine the decryption key according to the type of the terminal device, and decrypt the encrypted verification code using the decryption key to obtain a decrypted verification code.

[0089] Exemplarily, the terminal device may parse the graphic code to obtain an encrypted verification code, and send the encrypted verification code to the verification device so that the verification device can parse the encrypted verification code to obtain a decrypted verification code.

[0090] In one embodiment, the verification device can send the decrypted verification code to the terminal device through a third connection; accordingly, the terminal device or the scanning module of the terminal device can send the decrypted verification code to the client through a second connection; exemplarily, the operator or holder of the terminal device can read the decrypted verification code and input it into the client; exemplarily, after the client obtains the decrypted verification code, it can send it to the device to be logged in through the first connection.

[0091] Exemplarily, the decrypted verification code can be encrypted to obtain an encryption result, and based on the degree of match between the encryption result and the encrypted verification code, it is determined whether to enable the client to access the second environment; exemplary, based on the degree of match between the decrypted verification code and the verification code, it is determined whether to enable the client to access the second environment.

[0092] From the above, it can be seen that in the remote login method applied to the device to be logged in provided in the embodiment of the present application, the graphic code includes an encrypted verification code. After the device to be logged in receives the decrypted verification code sent by the client, it can determine whether to allow the client to remotely log in to the second environment based on the decrypted verification code and the encrypted verification code.

[0093] Because the data structure and data organization form of the verification code are simpler than those of the account and password information, the data input by the client is simplified and the amount of data is greatly reduced; and the verification code is random, which can improve the security of the client logging into the second environment.

[0094] Based on the above embodiments, in the remote login method for the device to be logged in provided in the embodiments of the present application, the graphic code generation module generates a graphic code, which can be implemented in the following manner:

[0095] The graphic code is generated by running a graphic code generation module in the sandbox environment of the device to be logged in.

[0096] In one embodiment, after receiving the login instruction, the device to be logged in may start the sandbox environment in the first environment, and after the sandbox environment is started, start the graphic code generation module in the sandbox environment.

[0097] In one embodiment, the sandbox environment of the device to be logged in may be in an activated state, and after receiving the login instruction, the graphic code generation module may be activated in the sandbox environment; illustratively, the first environment may include the sandbox environment of the device to be logged in.

[0098] Exemplarily, the graphic code may be generated in the following manner:

[0099] The first environment parses the login instruction, obtains at least the device information of the client, and then sends the above device information to the sandbox environment so that the sandbox environment can start the graphic code generation module, and the graphic code generation module generates a graphic code based on the above device information; exemplarily, the device information may include at least one of the client's operating system information and the client's device type information.

[0100] For example, the device to be logged in can pre-process login instructions sent by multiple clients in a sandbox environment, namely, start the graphic code generation module corresponding to the login instruction, and then generate the graphic code through each graphic code generation module. For example, the device to be logged in can create at least two sandbox environments to achieve balanced pre-processing of the multiple login instructions it receives.

[0101] From the above, it can be seen that in the remote login method applied to the device to be logged in provided in the embodiment of the present application, a graphic code can be generated by a graphic code generation module in the sandbox environment of the device to be logged in.

[0102] Therefore, before the device to be logged in enables the login instruction, with the help of the data isolation and security advantages of the sandbox mechanism, the interference and impact of the operation of generating graphic codes on the data in the device to be logged in and the data processing process can be reduced, thereby further improving the security of the remote login operation.

[0103] Based on the aforementioned embodiments, the present application also provides a remote login method for a remote login system, the remote login system comprising a device to be logged in and a scanning module installed on the terminal device. After a client has remotely logged in to a first environment of the device to be logged in, the client further logs in to a second environment of the device to be logged in through the remote login method.

[0104] Figure 2 A flowchart of a remote login method for a remote login system provided in an embodiment of the present application is shown in FIG. Figure 2 As shown, the method may include steps 201 to 203:

[0105] Step 201: When the first environment of the device to be logged in receives a login instruction input by the user in the first environment, the first environment starts a graphic code generation module to generate a graphic code.

[0106] The login instruction includes an instruction for requesting to log in to the second environment; and the graphic code includes graphic verification information for logging in to the second environment.

[0107] Step 202: The first environment of the device to be logged in receives the graphic code returned by the graphic code generation module, so that the client that has established a remote connection with the first environment can display the graphic code.

[0108] Step 203: The scanning module in the terminal device scans the graphic code presented by the client, so that the client logs in to the second environment.

[0109] From the above, it can be seen that in the remote login method applied to the remote login system provided in the embodiment of the present application, the remote login system includes a device to be logged in and a scanning module installed on the terminal device. After the client remotely logs in to the first environment of the device to be logged in, if the first environment receives the login instruction entered by the user in the first environment, the first environment starts the graphic code generation module to generate a graphic code, and the first environment of the device to be logged in receives the graphic code returned by the graphic code generation module, so that the client that has established a remote connection with the first environment presents the graphic code displayed by the first environment, and the scanning module in the terminal device scans the graphic code presented by the client, so that the client logs in to the second environment, wherein the graphic code includes graphic verification information for logging into the second environment; the login instruction includes an instruction requesting to log in to the second environment.

[0110] Therefore, the embodiment of the present application adopts a graphic code login method, which reduces the tediousness of operations caused by manually entering the account and password, and solves the security issues arising from the manual entry of the account and password; and, by making full use of the remote connection between the client and the first environment of the device to be logged in, such as the shell command line control environment, the client can directly display the graphic code in the first environment without starting a new application to obtain and display the graphic code, thereby simplifying the graphic code display process, and then simplifying the client's remote login process of the device to be logged in.

[0111] Based on the above embodiment, the remote login method applied to the remote login system provided in the embodiment of the present application may further include steps A1 to A4:

[0112] Step A1: After scanning the graphic code, the scanning module in the terminal device obtains the encrypted verification code contained in the graphic code.

[0113] Exemplarily, the scanning module in the terminal device can parse the graphic code to obtain the encrypted verification code contained in the graphic code; exemplary, the scanning module in the terminal device can send the graphic code to other devices for the other devices to parse the graphic code to obtain the encrypted verification code, and send the encrypted verification code to the scanning module in the terminal device; exemplary, the other devices can include the verification device in the aforementioned embodiment.

[0114] Step A2: The scanning module in the terminal device obtains the decrypted verification code.

[0115] Exemplarily, the decrypted verification code may be obtained by the scanning module in the terminal device from other devices, such as the verification device in the aforementioned embodiment.

[0116] Step A3: The device to be logged in obtains the decrypted verification code sent by the client.

[0117] Exemplarily, the client may send the decrypted verification code to the first environment of the device to be logged in through the first connection; exemplarily, the user of the client may manually input the decrypted verification code into the human-computer interaction window of the first environment.

[0118] Step A4: The device to be logged in determines whether to enable the client to log in to the second environment based on the decrypted verification code and the encrypted verification code.

[0119] Exemplarily, the first environment of the device to be logged in may determine whether to enable the client to log in to the second environment based on the decrypted verification code and the encrypted verification code.

[0120] From the above, it can be seen that in the remote login method applied to the remote login system provided in the embodiment of the present application, after the scanning module of the terminal device scans the graphic code, the encrypted verification code and the decrypted verification code contained in the graphic code are obtained, and the decrypted verification code is sent to the device to be logged in, so that the device to be logged in can determine whether to enable the client to log in to the second environment based on the decrypted verification code and the encrypted verification code.

[0121] Therefore, the remote login method applied to the remote login system provided in the embodiment of the present application improves the security of the client logging into the second environment of the device to be logged in by adding the scanning operation of the terminal device scanning module, the encrypted verification code and the transmission operation of the decrypted verification code. In addition, with the help of the concise data organization form of the verification code, it can also improve the efficiency of the device to be logged in to parse and judge the login instructions of the client, thereby improving the efficiency of the client logging in to the second environment.

[0122] Based on the foregoing embodiment, in the remote login method applied to the remote login system provided in the embodiment of the present application, the remote login system further includes a verification device, and before the scanning module in the terminal device obtains the decrypted verification code, the method may further include steps B1 to B5:

[0123] Step B1: The scanning module in the terminal device sends the encrypted verification code to the verification device.

[0124] Exemplarily, the scanning module in the terminal device may send the encrypted verification code to the verification device via the third connection.

[0125] Step B2: The verification device obtains the terminal device identification sent by the scanning module in the terminal device.

[0126] In one embodiment, the terminal device identification may include identification information determined during the terminal device production process and used to uniquely distinguish the terminal device from other devices; illustratively, when the terminal device is a mobile smartphone, the device identification of the terminal device may include an International Mobile Subscriber Identity (IMSI).

[0127] In one embodiment, the terminal device identification may include an identification of a communication module of the terminal device; illustratively, when the terminal device is a mobile smart phone, the device identification of the terminal device may include identification information of a subscriber identity module (SIM) card. In this case, the device identification of the terminal device may include the communication number of a mobile designated mobile phone.

[0128] Exemplarily, the scanning module in the terminal device may send the terminal device identification to the verification device while sending the encrypted verification code.

[0129] Step B3: The verification device obtains the structural information of the graphic code sent by the scanning module in the terminal device.

[0130] Exemplarily, the structural information of the graphic code may include the structural organization form of the data contained in the graphic code; exemplary, the structural information may include the organizational structure form of the data of at least one dimension contained in the graphic code; exemplary, after scanning or photographing the graphic code, the scanning module in the terminal device may perform feature extraction on the graphic code to obtain the structural information of the graphic code, and send the structural information of the graphic code to the verification device; exemplary, the scanning module in the terminal device may send the structural information of the graphic code to the verification device at the same time as sending the encrypted verification code.

[0131] Step B4: When the verification device determines that the structure information is the specified structure and the terminal device identifier is an identifier in the specified identifier set, it obtains a decryption key to decrypt the encrypted verification code to obtain a decrypted verification code.

[0132] Exemplarily, if the verification device determines that the structure information is not a specified structure, or determines that the terminal device identifier is not an identifier in a specified identifier set, the operation of obtaining a decryption key and decrypting the encrypted verification code may not be performed.

[0133] In one embodiment, the designated structure may be pre-set; exemplarily, the device parameters or login account of the client may have an association relationship with the designated structure, such as the first parameter corresponds to the first structure, the second parameter corresponds to the second structure, the first account corresponds to the third structure, the second account corresponds to the fourth structure, etc.; exemplarily, the designated structure may include a QR code data structure.

[0134] In one embodiment, at least one terminal device can be authenticated, and after at least one terminal device passes the authentication, a set of at least one terminal device identifiers can be determined as a designated identifier set; exemplarily, the designated identifier set can include the IMSI, Media Access Control (MAC), and Internet Protocol (IP) address of the terminal device, etc.; exemplarily, under the condition that the terminal device identifier is the SIM card number of the terminal device, the designated identifier set can include a set of at least two SIM card numbers; exemplarily, the designated identifier set can include a set of SIM card number whitelists; exemplarily, the designated identifier set can be pre-set by professional and technical personnel; exemplarily, professional and technical personnel can pre-set the designated identifier set based on the authority information of the holder or user of the terminal device for at least part of the data in the login device, and share the designated identifier set to the verification device.

[0135] In one embodiment, the decryption key can be pre-set in the remote login system; exemplarily, the decryption key can be set in pair with the encryption key used to encrypt the verification code of the device to be logged in; exemplarily, the decryption key and the encryption key can be adjusted with at least one of the type of client, the network environment of the network in which the client is located, the security level of the data in the second environment requested to be accessed by the client, and the time when the client sends the login instruction. This embodiment of the present application is not limited to this.

[0136] Step B5: Send the decrypted verification code to the scanning module in the terminal device.

[0137] Exemplarily, the verification device may send the decrypted verification code to the scanning module in the terminal device through the third connection.

[0138] From the above, it can be seen that the remote login method applied to the remote login system provided by the embodiment of the present application, after the verification device receives the encrypted verification code sent by the scanning module of the terminal device, it can also obtain the terminal device identification and the structural information of the graphic code sent by the scanning module of the terminal device. When it is determined that the structural information is a specified structure and the terminal device identification is an identification in the specified identification set, it can obtain the decryption key, decrypt the encrypted verification code, and send the decrypted verification code to the scanning module in the terminal device.

[0139] Therefore, in the remote login method applied to the remote login system provided by the embodiment of the present application, the functions of the scanning module and the verification device in the terminal device are independent of each other and interdependent, thereby improving the security of decrypting the encrypted verification code and improving the efficiency of decrypting the encrypted verification code.

[0140] Figure 3 A flowchart of the remote login method provided in the embodiment of the present application is shown in FIG. Figure 3 As shown, the process may include steps 301 to 304:

[0141] Step 301: The client sends a login instruction and transmits an encrypted verification code.

[0142] Exemplarily, step 301 may include steps 3011 to 3013:

[0143] Step 3011: The client starts SSH and sends a login instruction.

[0144] Exemplarily, the client may start SSH to send a login instruction to the device to be logged in; exemplarily, after the device to be logged in receives the login instruction, steps 3021 to 3023 may be executed.

[0145] Exemplarily, after the client receives the QR code sent by the device to be logged in, step 3012 can be executed; exemplarily, after the client obtains the decrypted verification code, step 3013 can be executed.

[0146] Step 3012: The client displays the QR code.

[0147] Exemplarily, the QR code in step 3012 may be the graphic code provided in the aforementioned embodiment.

[0148] Exemplarily, the display device of the client may display the QR code generated by the graphic code generation module in the first environment of the device to be logged in.

[0149] Step 3013: The client obtains the decrypted verification code.

[0150] Exemplarily, after the client obtains the decrypted verification code, it can send it to the device to be logged in. Exemplarily, after the device to be logged in receives the decrypted verification code, it can execute step 3024 to process the login instruction.

[0151] Step 302: The device to be logged in processes the login instruction.

[0152] Exemplarily, step 302 may include steps 3021 to 3024:

[0153] Step 3021: Start the SSHD process.

[0154] Exemplarily, the device to be logged in may start the SSHD process after receiving the login instruction sent by the client.

[0155] Step 3022: Start the sandbox environment and generate a QR code.

[0156] Exemplarily, the device to be logged in may start a sandbox environment in the first environment, and generate a QR code through a graphic code generation module in the sandbox environment.

[0157] Exemplarily, the device to be logged in can generate a QR code based on the encrypted verification code, then use the QR code as a Get parameter, and then send the above Get parameters to the client; exemplary, the verification code can include a random verification code generated by a random number generation algorithm.

[0158] Step 3023: Send the QR code to the client.

[0159] Exemplarily, the display device of the client can display a QR code so that the scanning module of the terminal device can obtain the QR code.

[0160] Step 3024: Process the login instruction.

[0161] Illustratively, the device to be logged in may determine whether to enable the client's login instruction based on the encrypted verification code and the decrypted verification code using the method provided in the aforementioned embodiment.

[0162] Step 303: The terminal device transmits the verification code.

[0163] Exemplarily, step 303 may include steps 3031 and 3032:

[0164] Step 3031: The terminal device obtains the encrypted verification code.

[0165] Exemplarily, the scanning module of the terminal device can obtain the QR code displayed by the client through data collection or scanning, parse the QR code to obtain the encrypted verification code, and send the encrypted verification code to the verification device.

[0166] Exemplarily, the scanning module of the terminal device may also send the terminal device identification to the verification device; exemplarily, under the condition that the terminal device is a smart phone, the terminal device identification may include the SIM card number of the smart phone, that is, the mobile phone number.

[0167] Step 3032: The terminal device receives the decrypted verification code.

[0168] Exemplarily, after receiving the decrypted verification code sent by the verification device, the terminal device may display the decrypted verification code so that the user or holder of the terminal device can input the decrypted verification code into the client.

[0169] Exemplarily, the terminal device can also send the decrypted verification code to the client through a second connection between the terminal device and the client.

[0170] Step 304: The verification device processes the encrypted verification code.

[0171] Exemplarily, the verification device may include a device provided by a third party for verifying the encrypted verification code.

[0172] Exemplarily, step 304 may include steps 3041 to 3045:

[0173] Step 3041: The verification device starts the verification process.

[0174] Exemplarily, the verification device may start the verification process after receiving the QR code sent by the terminal device.

[0175] Step 3042: The verification process performs special character verification.

[0176] Exemplarily, the verification process may perform special character verification on the terminal device identifier sent by the terminal device.

[0177] Exemplarily, special characters may include verification of characters such as 0-9, az, AZ, mathematical operators, and punctuation marks; and exemplary, special character verification may be performed on the device identifier in the form of wildcard matching.

[0178] Exemplarily, the verification process performs special character verification and may also include the operation of verifying whether the structural information of the graphic code is a specified structure in the aforementioned embodiment.

[0179] Exemplarily, if the special character check passes, step 3043 may be executed; if the special character check fails, the process returns to step 3041.

[0180] Step 3043: The verification process performs mobile phone number whitelist verification.

[0181] Exemplarily, the mobile phone number whitelist may be the designated identifier set in the aforementioned embodiment.

[0182] Exemplarily, the verification process can obtain the SIM card number of the terminal device, i.e., the mobile phone number, from the terminal device identifier, and determine whether the SIM card number is a subset of the mobile phone number whitelist based on the matching relationship between the SIM card number and the mobile phone numbers in the mobile phone number whitelist.

[0183] Exemplarily, if the SIM card number is on the mobile phone number whitelist, the verification process may execute step 3044 ; if the SIM card number is not on the mobile phone number whitelist, the verification process may return to step 3042 .

[0184] Step 3044: The verification process performs a decryption operation.

[0185] For example, before the decryption operation is performed in the verification process, a second verification may be performed on the last several digits of the SIM card number, such as the last three digits, to improve the security of the SIM card number verification.

[0186] Exemplarily, the verification process may perform a decryption operation on the encrypted verification code to obtain a decrypted verification code; exemplarily, if the decryption fails, the process returns to step 3043; if the decryption succeeds, the process executes step 3045.

[0187] Step 3045: Send the decrypted verification code.

[0188] Exemplarily, the verification device may send the decrypted verification code to the terminal device or a scanning module of the terminal device.

[0189] As can be seen from the above, in the remote login method provided by the embodiment of the present application, the client, the device to be logged in, the terminal device, and the verification device cooperate with each other to complete the processing of the login instruction sent by the device to be logged in to the client. In this way, on the one hand, the QR code replaces the account and password input interface in the related art, thereby improving the security of the client logging into the device to be logged in. On the other hand, the function of the verification device is independent of the client and the server device, thereby improving the objectivity of the QR code verification.

[0190] Based on the above embodiment, the present application embodiment further provides a device to be logged in 4, Figure 4 A schematic diagram of the structure of the device to be logged in provided in the embodiment of the present application, such as Figure 4 As shown, the device may include a first processor 401 and a first memory 402; wherein, the first memory 402 may store a computer program, and when the computer program is executed by the first processor 401, it can implement the remote login method applied to the device to be logged in 4 as described in any of the previous embodiments.

[0191] In addition, the device to be logged in described in this application can be in a cluster form, such as a cloud computing platform. The so-called cloud computing platform is a business form that uses virtualization technology to organize multiple independent server physical hardware resources into pooled resources to provide the required resources and services to the outside world.

[0192] The present application also provides a computer program product comprising instructions that, when executed by a computer, cause the computer to perform the steps of a remote login method. The computer program product may be a program product that runs solely on the device to be logged in; a combination of a program product running on the device to be logged in, a terminal device, and a program product running on a verification device; or a combination of a program product running on the device to be logged in and a terminal device. The terminal device described in this paragraph is also a computer program product.

[0193] Based on the above embodiment, the present application embodiment also provides a remote login system 5, Figure 5 This is a schematic diagram of the structure of the remote login system 5 provided in the embodiment of the present application, as shown in FIG. Figure 5 As shown, the system may include a scanning module 501 installed in a terminal device (not shown in the figure) and a device to be logged in 4; wherein the scanning module 501 may include a computer program product composed of instructions, and the device to be logged in 4 includes a first processor 401 and a first memory 402; wherein, when the scanning module 501 is loaded into a second memory (not shown in the figure) and executed by the second processor (not shown in the figure), and when the computer program in the first memory 402 of the device to be logged in 4 is executed by the first processor, the following remote login method can be implemented:

[0194] After the client has remotely logged into the first environment of the device to be logged in 4, the first environment of the device to be logged in 4 receives the login instruction input by the user in the first environment, and the first environment activates the graphic code generation module to generate a graphic code; wherein the graphic code includes graphic verification information for logging into the second environment; and the login instruction includes an instruction requesting to log into the second environment;

[0195] The first environment of the device to be logged in 4 receives the graphic code returned by the graphic code generation module, so that the client that has established a remote connection with the first environment can display the graphic code;

[0196] The scanning module 501 in the terminal device scans the graphic code presented by the client, so that the client logs into the second environment;

[0197] In some embodiments, after the scanning module 501 in the terminal device scans the graphic code, it obtains the encrypted verification code contained in the graphic code and obtains the decrypted verification code; the device to be logged in 4 obtains the decrypted verification code sent by the client; based on the decrypted verification code and the encrypted verification code, it is determined whether to enable the client to log in to the second environment.

[0198] Figure 6 Another structural diagram of the remote login system 5 provided in the embodiment of the present application is as follows Figure 6As shown, the system further includes a verification device 502; the verification device 502 includes a third processor (not shown in the figure) and a third memory (not shown in the figure). When the terminal device 501 is loaded into the second memory and the second processor is running, the computer program in the first memory 402 of the device to be logged in 4 is executed by the first processor 401, and the computer program in the third memory is executed by the third processor, the following operations can be implemented:

[0199] Before the scanning module 501 of the terminal device obtains the decrypted verification code, the scanning module 501 in the terminal device sends the encrypted verification code to the verification device 502;

[0200] The verification device 502 obtains the terminal device identification and the structural information of the graphic code sent by the scanning module 501 in the terminal device, and when it is determined that the structural information is a specified structure and the terminal device identification is an identification in the specified identification set, obtains the decryption key to decrypt the encrypted verification code, obtains the decrypted verification code, and sends the decrypted verification code to the scanning module 501 in the terminal device.

[0201] It should be noted that the first processor 401, the second processor, and the third processor in the aforementioned embodiments may be at least one of an ASIC, a DSP, a DSPD, a PLD, an FPGA, a CPU, a controller, a microcontroller, and a microprocessor.

[0202] The first memory 402, the second memory, and the third memory in the aforementioned embodiment may be a volatile memory, such as RAM; or a non-volatile memory, such as ROM, flash memory, HDD or SSD; or a combination of the above types of memories, and provide instructions and data to the above-mentioned processors.

[0203] Based on the aforementioned embodiments, the embodiments of the present application further provide a computer-readable storage medium, wherein a computer program is stored in the computer-readable storage medium. When the computer program is executed by a processor of an electronic device, the remote login method provided in any of the previous embodiments can be implemented. The computer-readable storage medium may simply include a storage medium for a program running on the device to be logged in; or it may be a collection of readable storage media that respectively include: a program running on the device to be logged in, a terminal device, and a program running on a verification device; or it may be a collection of readable storage media that respectively include: a program product running on the device to be logged in and a terminal device. The terminal device described in this paragraph is also a computer program.

[0204] The above description of the various embodiments tends to emphasize the differences between the various embodiments. The same or similar aspects can be referenced with each other and will not be repeated herein for the sake of brevity.

[0205] The methods disclosed in the various method embodiments provided in this application can be arbitrarily combined without conflict to obtain new method embodiments.

[0206] The features disclosed in the various product embodiments provided in this application can be arbitrarily combined without conflict to obtain new product embodiments.

[0207] The features disclosed in the various method or device embodiments provided in this application can be arbitrarily combined without conflict to obtain new method embodiments or device embodiments.

[0208] It should be noted that the above-mentioned computer-readable storage medium can 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), a magnetic random access memory (FRAM), a flash memory (Flash Memory), a magnetic surface storage, an optical disc, or a compact disc read-only memory (CD-ROM); it can also be various electronic devices that include one or any combination of the above-mentioned memories, such as mobile phones, computers, tablet devices, personal digital assistants, etc.

[0209] It should be noted that, in this document, the terms "comprises," "includes," or any other variations thereof are intended to encompass non-exclusive inclusion, such that a process, method, article, or apparatus comprising a series of elements includes not only those elements but also other elements not explicitly listed, or elements inherent to such process, method, article, or apparatus. In the absence of further limitations, an element defined by the phrase "comprising a ..." does not exclude the presence of other identical elements in the process, method, article, or apparatus comprising the element.

[0210] The serial numbers of the above-mentioned embodiments of the present application are for description only and do not represent the advantages or disadvantages of the embodiments.

[0211] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus necessary general hardware nodes, and of course can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to the prior art can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk), including a number of instructions for enabling a terminal device (which can be a mobile phone, computer, server, air conditioner, or network device, etc.) to execute the methods described in each embodiment of the present application.

[0212] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a heating module of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the heating module of the computer or other programmable data processing device generate instructions for implementing the steps in the process. Figure 1 a process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0213] These computer program instructions may also be stored in a computer readable memory that can direct a computer or other programmable data processing device to work in a specific manner, so that the instructions stored in the computer readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 a process or multiple processes and / or boxes Figure 1 The function specified in one or more boxes.

[0214] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operational steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing the instructions executed on the computer or other programmable device for implementing the process. Figure 1 a process or multiple processes and / or boxes Figure 1 A step that specifies a function in one or more boxes.

[0215] The above are only preferred embodiments of the present application and do not limit the patent scope of the present application. Any equivalent structure or equivalent process transformation made using the contents of the present application specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present application.

Claims

1. A remote login method, characterized in that: The method is applied to a device to be logged in; wherein, after a client has remotely logged in to a first environment of the device to be logged in, the client further logs in to a second environment of the device to be logged in through the remote login method, wherein the first environment includes an environment in which the security level of the device to be logged in is less than a security threshold, and the second environment includes an environment in which the security level of the device to be logged in is greater than the security threshold, and the remote login method includes: The first environment starts the graphic code generation module when receiving a login instruction input by the user in the first environment; wherein the login instruction includes an instruction requesting to log in to the second environment; Generate a graphic code through the graphic code generation module; wherein the graphic code includes graphic verification information for logging into the second environment; after the graphic code is scanned, the client can remotely log in to the second environment; The first environment receives the graphic code returned by the graphic code generation module, so that the client that has established a remote connection with the first environment can display the graphic code.

2. The method according to claim 1, characterized in that The graphic code includes an encrypted verification code; the method further includes: Receive the decrypted verification code sent by the client, and determine whether to allow the client to remotely log in to the second environment based on the decrypted verification code and the encrypted verification code.

3. The method according to claim 1, characterized in that The step of generating a graphic code by the graphic code generating module includes: The graphic code is generated by running the graphic code generation module in the sandbox environment of the device to be logged in.

4. A remote login method, characterized in that: The method is applied to a remote login system, which includes a device to be logged in and a scanning module installed on the terminal device; wherein, after a client has remotely logged in to a first environment of the device to be logged in, the client further logs in to a second environment of the device to be logged in through the remote login method, wherein the first environment includes an environment in which the security level of the device to be logged in is less than a security threshold, and the second environment includes an environment in which the security level of the device to be logged in is greater than the security threshold, and the method includes: When the first environment of the device to be logged in receives a login instruction input by the user in the first environment, the first environment activates a graphic code generation module to generate a graphic code; wherein the login instruction includes an instruction requesting to log in to the second environment; and the graphic code includes graphic verification information for logging in to the second environment; The first environment of the device to be logged in receives the graphic code returned by the graphic code generation module, so that the client that has established a remote connection with the first environment can display the graphic code; The scanning module in the terminal device scans the graphic code presented by the client, so that the client logs in to the second environment.

5. The method according to claim 4, characterized in that The method further comprises: After scanning the graphic code, the scanning module in the terminal device obtains the encrypted verification code contained in the graphic code; The scanning module in the terminal device obtains the decrypted verification code; The device to be logged in obtains the decrypted verification code sent by the client; The device to be logged in determines whether to enable the client to log in to the second environment based on the decrypted verification code and the encrypted verification code.

6. The method according to claim 5, characterized in that The system further includes a verification device. Before the scanning module in the terminal device obtains the decrypted verification code, the method includes: The scanning module in the terminal device sends the encrypted verification code to the verification device; The verification device obtains the terminal device identification sent by the scanning module in the terminal device; The verification device obtains structural information of the graphic code sent by the scanning module in the terminal device; When the verification device determines that the structure information is a specified structure and that the terminal device identifier is an identifier in a specified identifier set, the verification device obtains a decryption key to decrypt the encrypted verification code to obtain a decrypted verification code; The decrypted verification code is sent to the scanning module in the terminal device.

7. A device to be logged in, characterized in that: The device to be logged in includes a first processor and a first memory; a computer program is stored in the first memory; when the computer program is executed by the first processor, it can implement the remote login method as described in any one of claims 1 to 3.

8. A remote login system, characterized in that: The remote login system includes a scanning module installed in a terminal device and a device to be logged in, the scanning module includes a computer program product composed of instructions, and the device to be logged in includes a first processor and a first memory; wherein, when the scanning module is loaded into the second memory and executed by the second processor, and when the computer program in the first memory in the device to be logged in is executed by the first processor, the remote login method as described in any one of claims 4 to 5 can be implemented.

9. The remote login system according to claim 8, characterized in that: The remote login system also includes a verification device, which includes a third processor and a third memory. When the scanning module is loaded into the second memory and run by the second processor, the computer program in the first memory of the device to be logged in is executed by the first processor, and the computer program in the third memory is executed by the third processor, the remote login method as described in claim 6 can be implemented.

10. A computer-readable storage medium, characterized in that The computer-readable storage medium stores a computer program; when the computer program is executed by a processor of an electronic device, it can implement the remote login method as described in any one of claims 1 to 3 or 4 to 6.

Citation Information

Patent Citations

  • Login verification method and system and computer storage medium

    CN111949954A

  • Application login control method and device, electronic equipment and storage medium

    CN112100613A