A login verification method, system and computer storage medium
By introducing asymmetric encryption login verification of authentication servers and mobile devices into server login verification, combined with cloud login event records, the problem of malicious login and data leakage caused by leaked account passwords is solved, and server login security and problem location efficiency are improved.
Patent Information
- Application Number
- CN202010664498.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-07-10
- Publication Date
- 2024-10-18
- Estimated Expiration
- 2040-07-10
AI Technical Summary
The account and password verification method in the existing server backend is easily leaked, allowing illegal personnel to log in at will, increasing the risk of data information leakage. Moreover, it lacks an effective secondary verification mechanism, making it difficult to quickly locate and solve server downtime or data leakage problems.
Adopt an asymmetric encryption login verification method based on the authentication server and mobile device, receive the user login information sent by the client through the target server, generate the information to be reviewed, including device information, and perform secondary verification through the authentication server and mobile device, and send feedback Information to determine the legitimacy of user login, improve login security, and record login event data in the cloud to quickly locate problems.
It effectively avoids malicious login problems caused by account and password leaks, improves the security of server login, quickly locates problems in unexpected situations, and reduces the risk of data leaks and economic losses.
Smart Images

Figure CN111949954B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of communication security technology, and in particular to a login verification method, system and computer storage medium. Background Art
[0002] At present, most server backends use account and password verification to log in, but common account and password are easily leaked. If there is no additional verification method, illegal personnel can directly log in to the server backend after obtaining the account and password. This means that once the server backend account and password are leaked and the password is not changed in time, the server backend information is exposed, increasing the risk of data leakage on the server. Summary of the invention
[0003] The present application provides a login verification method, system and computer storage medium. In addition to traditional account and password verification, it also combines a login verification method based on asymmetric encryption of an authentication server and a mobile device, thereby improving the security of server login.
[0004] The technical solution of this application is implemented as follows:
[0005] In a first aspect, an embodiment of the present application provides a login verification method, which is applied to a login verification system, and the method includes:
[0006] Receive user login information sent by the client through the target server;
[0007] In the case where the user login information is successfully verified, controlling the target server to generate information to be reviewed; wherein the information to be reviewed at least includes target server device information;
[0008] Obtaining feedback information based on responses of the authentication server and the mobile device to the information to be reviewed;
[0009] The feedback information is secondary verified by the target server, and the secondary verification result is sent to the client; wherein the secondary verification result is used to indicate whether the user corresponding to the user login information is allowed to log in.
[0010] In a second aspect, an embodiment of the present application provides a login verification system, which includes a client, a target server, a mobile device, and an authentication server; wherein:
[0011] The client is configured to obtain user login information and send the user login information to the target server;
[0012] The target server is configured to generate information to be reviewed if the user login information is successfully verified, and the information to be reviewed at least includes target server device information;
[0013] The authentication server is configured to respond to the information to be reviewed in conjunction with the mobile device, obtain feedback information and send it to the target server;
[0014] The target server is further configured to perform secondary verification on the feedback information and send the secondary verification result to the client; wherein the secondary verification result is used to indicate whether the user corresponding to the user login information is allowed to log in.
[0015] In a third aspect, an embodiment of the present application provides a computer storage medium, which stores a login verification method, and when the login verification method is executed by a login verification system, the steps of the method described in the first aspect are implemented.
[0016] The embodiment of the present application provides a login verification method, system and computer storage medium, which receives user login information sent by a client through a target server; when the user login information is successfully verified, controls the target server to generate information to be reviewed; wherein the information to be reviewed includes at least target server device information; based on the response of the authentication server and the mobile device to the information to be reviewed, feedback information is obtained; the feedback information is secondary verified by the target server, and the secondary verification result is sent to the client; wherein the secondary verification result is used to indicate whether the user corresponding to the user login information is allowed to log in. In this way, in the process of user login information verification, not only the verification based on user login information such as account and password is involved, but also the login verification method based on asymmetric encryption of the authentication server and the mobile device is involved, that is, the feedback information of the information to be reviewed can be obtained through the authentication server and the mobile device to complete the cloud-aware verification of the user login, thereby effectively avoiding the malicious login problem caused by the leakage of account and password, and improving the security of server login. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] Figure 1 A flowchart of a login verification method provided in an embodiment of the present application;
[0018] Figure 2 A flowchart of another login verification method provided in an embodiment of the present application;
[0019] Figure 3 A flowchart of another login verification method provided in an embodiment of the present application;
[0020] Figure 4A schematic diagram of the interaction process of a login verification method provided in an embodiment of the present application;
[0021] Figure 5 A schematic diagram of the interaction process of another login verification method provided in an embodiment of the present application;
[0022] Figure 6 A schematic diagram of the composition structure of a login verification system provided in an embodiment of the present application. DETAILED DESCRIPTION
[0023] The technical solutions 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.
[0024] At present, the verification method for most server backends is account plus password verification login, but the general account and password are lengthy and easy to leak. If there is no additional verification method, illegal personnel can directly log in to the server backend by obtaining the account and password. This means that if the server backend account and password are leaked and the password is not modified in time, the server backend information will be exposed, increasing the risk of server data information leakage.
[0025] The mainstream server backend login methods mainly include the following:
[0026] (1) Account and password login, that is, logging in to the server backend using an account and password, for example, remote login through the Secure Shell (SSH) protocol, which is a security protocol for remote login sessions and other network services, and can effectively make up for network vulnerabilities. When the server has the SSH service enabled, the user can remotely log in to the server from another client (including a Linux system or a Windows system) by entering the account, password, server address and connection port on the client. Once the password is verified correctly, the user can remotely log in to the server backend through SSH.
[0027] (2) Public-private key authentication login: both parties hold a public key and the client holds a private key. This pair of secret keys is generated by the client, and then the public key is sent to the server. The login user can log in using the public key. For example, the public key / private key encrypted using the RSA asymmetric encryption rule. RSA is composed of the initials of the last names of the founders of this method, Ronald Rivest, Adi Shamir, and Leonard Adleman.
[0028] (3) Secure File Transfer Protocol login, Secure File Transfer Protocol (SFTP) can provide secure encryption / decryption technology for file transfer. When the server starts the sftp-server service and grants the sftp account permissions, the login user can log in from the client to upload and download files. In addition, the principles of other protocols such as the file transfer protocol and the simple file transfer protocol are similar and will not be repeated here.
[0029] The current remote login method for the server backend effectively solves the problem that the administrator needs to connect to the server physically (network cable or other media). Public-private key symmetric encryption login can increase the security of remote login. However, from the perspective of network security and server data security, the above login methods still have some defects, including:
[0030] (1) If the server only uses account and password verification without other authentication methods, once the server account and password are leaked, the backend can be logged in at will by others, and the data is likely to be damaged or leaked, causing economic losses to the company or individuals;
[0031] (2) If a server crash occurs, causing a serious impact on the business, then without a visual backend login audit platform, it will be impossible to quickly locate the problem, making subsequent troubleshooting more difficult.
[0032] Based on this, the embodiment of the present application provides a login verification method, which receives user login information sent by a client through a target server; when the user login information is successfully verified, controls the target server to generate information to be reviewed; wherein the information to be reviewed includes at least target server device information; based on the response of the authentication server and the mobile device to the information to be reviewed, feedback information is obtained; the feedback information is secondary verified by the target server, and the secondary verification result is sent to the client; wherein the secondary verification result is used to indicate whether the user corresponding to the user login information is allowed to log in. In this way, in the process of user login information verification, not only the verification based on user login information such as account and password is involved, but also the login verification method based on asymmetric encryption of the authentication server and the mobile device is involved, that is, the feedback information of the information to be reviewed can be obtained through the authentication server and the mobile device to complete the cloud-aware verification of the user login, thereby effectively avoiding the malicious login problem caused by the leakage of account and password, and improving the security of server login.
[0033] The embodiments of the present application will be described in detail below with reference to the accompanying drawings.
[0034] In one embodiment of the present application, see Figure 1, which shows a flow chart of a login verification method provided by an embodiment of the present application, such as Figure 1 As shown, the method may include:
[0035] S101: receiving user login information sent by a client through a target server;
[0036] It should be noted that the login verification method described in the embodiment of the present application is applied to a login verification system, which may include a client, a target server, a mobile device, and an authentication server (or referred to as a cloud platform, cloud server, etc.). Among them, the target server is the server that the user logs in to and accesses through the client, that is, the user logs in to the target server through the client to call the resources of the target server or manage the target server; the authentication server is the server involved in the user's login verification process, that is, the user needs to complete the login verification process of the target server through the authentication server, and finally log in to the target server remotely through the client.
[0037] It should also be noted that the client and the server have installed relevant applications for login access, that is, the logged-in user uses the relevant application on the client to input the user login information, and the client uses the relevant application to send the user login information to the relevant application on the server, so that the server can receive the user login information sent by the client. Among them, the relevant application can be an SSH protocol related application, an sftp related application, etc., which is not limited in the embodiments of this application.
[0038] It should also be noted that the user login information includes information in various forms. Exemplarily, the user login information includes a user account, a user password, and a server identifier, wherein the user account and the user password are used to verify the user through the account and the password, and the server identifier is used to uniquely determine the server that the logged-in user needs to log in, such as the server address. In addition, the user login information may also include the IP address of the target server for easy addressing.
[0039] S102: When the user login information is successfully verified, controlling the target server to generate information to be reviewed;
[0040] It should be noted that the information to be reviewed at least includes target server device information, wherein the target server device information refers to an identification code that can uniquely identify the server, such as the Media Access Control Address (MAC) address of the target server.
[0041] It should be noted that after receiving the login information sent by the client, the login information needs to be initially verified. Exemplarily, when the user login information includes a user account and a user password, before step S102, the method may further include:
[0042] The target server is controlled to verify the user account and the user password, and when the pre-stored user password of the user account is consistent with the user password, it is confirmed that the user login information verification is successful.
[0043] It should be understood that the target server has pre-stored user accounts and corresponding pre-stored account passwords that allow remote login. When receiving the user login information sent by the client, the user account is first searched from multiple pre-stored user accounts; if it can be found, the pre-stored account password corresponding to the pre-stored user account is compared with the user password to see if they are consistent. If they are consistent, it can be considered that the user login information verification is successful.
[0044] It should also be noted that the method of performing a single verification only through user login information lacks security. Therefore, the login verification method of the embodiment of the present application also requires secondary verification. Therefore, when the user login information is successfully verified, the target server will also generate information to be reviewed for secondary verification, and the information to be reviewed includes at least the target server device information. Among them, the target server device information refers to the unique device mark of the server, specifically, it refers to the information data that can uniquely identify a server device within the enterprise's local area network or public network. The target server device information can be a MAC address, and the specific server device can be uniquely located through this target server device information.
[0045] It should also be noted that the information to be reviewed is generated based on the target server device information, but the information to be reviewed does not only include the target server device information, but may also include other information, such as login time, login location, and login person, etc., which is not limited in this embodiment of the present application.
[0046] S103: Obtaining feedback information based on responses of the authentication server and the mobile device to the information to be reviewed;
[0047] It should be noted that the login verification method of the embodiment of the present application realizes secondary authentication with the help of cloud perception technology, so after the information to be reviewed is generated, it is necessary to review the information to be reviewed again through the authentication server and the mobile device, and finally obtain feedback information, thereby increasing the security of remote login. A specific form of the authentication server is a cloud platform, and it can also be in the form of a transit server, an online server, etc.
[0048] It should be noted that the feedback information includes multiple forms. For example, the feedback information can be the audit result of the information to be audited obtained by the authentication server and the mobile device. In one case, the feedback information is the audit result of the mobile device (the user of the mobile device is the server administrator) for the information to be audited, that is, the audit is successful or failed, and then forwarded to the client by the authentication server; in another case, the feedback information is the verification code returned to the mobile device (the user of the mobile device is the logon user) after the authentication server successfully verifies the information to be audited. The mobile device displays it to the logon user, who enters the verification code into the client, and then determines whether the audit is successful or failed by comparing the returned verification code with the initial verification code. The embodiment of the present application does not limit the specific form of the feedback information.
[0049] S104: Perform secondary verification on the feedback information through the target server, and send the secondary verification result to the client.
[0050] It should be noted that the secondary verification result is used to indicate whether the user corresponding to the user login information is allowed to log in.
[0051] It should be noted that, since the specific form of the feedback information is not limited, the specific content of the secondary verification needs to be determined based on the feedback information. When the secondary verification result is successful, it can be determined that the user corresponding to the user login information is a legal user, and the user corresponding to the user login information is allowed to log in; conversely, if the user corresponding to the user login information is an illegal user, the user corresponding to the user login information is not allowed to log in. In this way, the embodiment of the present application avoids the drawbacks of only using the account password authentication method through the dual authentication remote login server involving cloud perception technology, and improves the security of remote login to the server.
[0052] This embodiment provides a login verification method, which receives user login information sent by a client through a target server; when the user login information is successfully verified, controls the target server to generate information to be reviewed; wherein the information to be reviewed includes at least target server device information; based on the response of the authentication server and the mobile device to the information to be reviewed, feedback information is obtained; the feedback information is verified twice by the target server, and the secondary verification result is sent to the client; wherein the secondary verification result is used to indicate whether the user corresponding to the user login information is allowed to log in. In this way, in the process of user login information verification, not only the verification based on user login information such as account and password is involved, but also the login verification method based on asymmetric encryption of the authentication server and the mobile device is involved, that is, the feedback information of the information to be reviewed can be obtained through the authentication server and the mobile device to complete the cloud-aware verification of the user login, thereby effectively avoiding the malicious login problem caused by the leakage of account and password, and improving the security of server login.
[0053] In another embodiment of the present application, see Figure 2 , which shows a flow chart of another login verification method provided by an embodiment of the present application. Figure 2 As shown, the method may include:
[0054] S201: sending the information to be reviewed to an authentication server, and forwarding the information to be reviewed to the mobile device through the authentication server;
[0055] It should be noted that in the embodiment of the present application, the login method involves a total of four devices, namely, a client, a server, a cloud platform (equivalent to an authentication server) and a mobile device, and the user of the mobile device is the server administrator corresponding to the target server. It should be understood that the mobile device provides services through the application installed on it, so in the implementation of this application, it can be understood that an audit application is installed on the mobile device, and the user of the audit application is the server administrator. Based on this, the login verification method in the embodiment of the present application can be summarized as the administrator auditing method for server login, that is, after the user logs in to the backend account and password verification successfully, it does not directly enter the server backend, but sends a push message to the mobile application installed on the administrator's mobile terminal. After receiving the push message, the administrator can directly review the server backend login message to determine whether to allow the user corresponding to the user login information to log in.
[0056] In addition, for each server, there will be a corresponding server manager, so there are actually many mobile devices. In actual use, it is necessary to send the information to be reviewed to the mobile device of the corresponding server manager for the target server. In other words, after the server generates the information to be reviewed, it sends the information to be reviewed to the authentication server, and the authentication server sends it to the mobile device corresponding to the server in the information to be reviewed according to the preset rules. In this way, the mobile device can push the information to be reviewed to the server manager, and the server manager will conduct a security audit on it. In addition, the information to be reviewed can also include information such as user name, client number, and time and place of user application for login, which is not limited in the embodiments of the present application.
[0057] S202: Conducting an online review of the information to be reviewed through the mobile device, and generating a review reply message;
[0058] It should be noted that after the mobile device pushes the information to be reviewed to the user (i.e., the server administrator), the server administrator can manually review the information to be reviewed and then return a review reply message. The review reply message is used to indicate that the server administrator believes that the user corresponding to the information to be reviewed (i.e., the user corresponding to the user login information) is a legal user or an illegal user.
[0059] S203: Forward the review reply message to the authentication server, and determine the review reply message as the feedback information and return it to the target server.
[0060] It should be noted that the review reply message is the feedback information corresponding to the information to be reviewed. The authentication server returns the feedback information to the target server. Here, the authentication server may synchronize multiple servers of the administrator, and still needs to determine the corresponding target server based on the feedback information, and then send the feedback information to the target server.
[0061] In summary, in the embodiment of the present application, the authentication server actually only involves the forwarding function, and the mobile device completes the review of the information to be reviewed, or more precisely, the server administrator completes the manual review of the information to be reviewed.
[0062] In addition, to solve the problem that the server login information is not uploaded to the cloud, in some implementations, after forwarding the review reply message to the authentication server, the method may further include:
[0063] The authentication server records the information to be reviewed and the review reply message to generate login event data.
[0064] It should be noted that when encountering unexpected situations, such as server downtime, large-scale leakage of server data, etc., it is necessary to quickly check the people who have recently logged into the server in order to quickly locate the problem. Therefore, a record will be kept for each login event, and the record will be saved locally on the server and on the authentication server at the same time, so as to generate login event data regularly. In this way, when the server encounters an unexpected situation, the login event data of the server can be retrieved from the authentication server, so as to quickly locate the problem when encountering an unexpected situation. Among them, the login event data can be displayed and stored in the form of a report, that is, a visual form table can be generated in the web page file based on the saved login event data for management personnel to check.
[0065] Therefore, the user account and target server device information can be obtained through the information to be reviewed, and the verification result of this login event can be obtained through the review reply message. Then, the login event data is generated according to the user account, target server device information and the verification result, and the login event data is saved locally and in the cloud. In addition, the login event data may also include other information such as time, location and client number, which is not limited in the embodiments of the present application.
[0066] In order to improve the security of the information to be reviewed during transmission, in some embodiments, the step of controlling the target server to generate the information to be reviewed includes:
[0067] Based on the user login information and the target server device information, generating login request information through the target server;
[0068] According to a preset encryption rule, the login request information is encrypted by the target server to generate the information to be reviewed;
[0069] Accordingly, generating a review reply message according to the online review of the information to be reviewed by the mobile device includes:
[0070] Decrypting the information to be reviewed by the mobile device to obtain decrypted login request information;
[0071] The decryption login request information is audited online to obtain the audit reply message.
[0072] It should be noted that in the embodiment of the present application, the audit information is encrypted based on the login request information. The login request information mainly refers to the user's request to remotely log in to the target server, which is generated based on the user's login information and the target server device information. In this way, the audit information at least includes information for indicating the user account and information for indicating the target server, thereby performing secondary verification.
[0073] It should be noted that before sending the information to be reviewed to the authentication server, the information to be reviewed can be generated using preset encryption rules, thereby ensuring the information security of the information to be reviewed during transmission. In addition, when the mobile device receives the information to be reviewed, it is also necessary to decrypt the information to be reviewed to obtain the decrypted login request information, and then the server administrator can conduct an online review of the decrypted login request information to obtain the review reply message. Other information that needs to be transmitted in the embodiment of the present application can also be encrypted using preset encryption rules.
[0074] It should also be noted that, in the embodiment of the present application, the authentication server only plays a role of transfer, and generally speaking, it is impossible to decrypt the information to be audited. However, the authentication server needs to confirm the mobile device corresponding to the information to be audited, and the target server corresponding to the feedback information. Therefore, when sending the information to be audited to the authentication server / sending feedback information to the target server, a server identifier / mobile device identifier in plain text can be carried so that the authentication server can determine the mobile device / target server corresponding to the information to be audited / feedback information. In addition, the authentication server can also be designed to be able to decrypt the information to be audited, and this method can also be covered within the protection scope of the embodiment of the present application.
[0075] It should also be noted that the preset encryption rules include at least RSA asymmetric encryption rules, and can also be asymmetric encryption rules such as backpack algorithm, elliptic curve encryption algorithm, and of course, symmetric encryption rules, etc., which are not specifically limited in this embodiment.
[0076] Further, in some embodiments, performing secondary verification on the feedback information by the target server and sending the secondary verification result to the client may specifically include:
[0077] The audit reply message is parsed by the target server to obtain the secondary verification result, and the secondary verification result is sent to the client.
[0078] It should be noted that the target server is controlled to parse the review reply message, thereby obtaining the secondary verification result of the mobile device for this login, and returning the secondary verification result to the client.
[0079] The present embodiment provides a login verification method, and elaborates on the specific implementation of the aforementioned embodiment. It can be seen that, through the technical scheme of the aforementioned embodiment, in the process of user login information verification, it not only involves the verification of user login information such as account and password, but also involves a login verification method based on asymmetric encryption of authentication server and mobile device, that is, feedback information of the information to be reviewed can be obtained through the authentication server and mobile device to complete the cloud-aware verification of user login, thereby effectively avoiding malicious login problems caused by account and password leakage, and improving the security of server login; in addition, the login event can also be reported to the cloud, so as to establish a security event database, which can improve the efficiency of problem location in the event of an unexpected situation.
[0080] In another embodiment of the present application, see Figure 3 , which shows a flow chart of another login verification method provided by an embodiment of the present application. Figure 3 As shown, the method may include:
[0081] S301: Generate a verification code through the target server based on the user login information;
[0082] It should be noted that in the embodiment of the present application, the login method involves a total of four devices, namely, a client, a server, a cloud platform and a mobile device, and the user of the mobile device is the user corresponding to the user login information. It should be understood that the mobile device provides services through the application installed thereon, so in the implementation of the present application, it can be understood that a login application is installed on the mobile device, and the user who logs in to the user application is the user corresponding to the user login information. Based on this, the login method in the embodiment of the present application can be summarized as a verification code for server login, that is, after the user login backend account password is successfully verified, it does not directly enter the server backend, but generates a QR code. The user uses a mobile application to scan the QR code, gets the correct verification code, and enters the verification code on the server backend login page to successfully log in to the server backend. In addition, in the embodiment of the present application, the verification code is randomly generated by the server.
[0083] S302: Based on a preset encryption rule, encrypt the verification code and the target server device information through the target server to generate the information to be reviewed;
[0084] It should be noted that in the embodiment of the present application, the audit information is obtained by encrypting the verification code and the server identification code. In addition, the audit information may also include information such as the time, location, and client number of the user's application for login, which is not limited in the embodiment of the present application.
[0085] S303: Displaying the information to be reviewed on the client in the form of a QR code.
[0086] It should be noted that the client presents the audit information to the mobile device in the form of a QR code, and the mobile device scans the QR code to obtain the audit information. Afterwards, the mobile device sends the acquired audit information and user identity information to the cloud platform to obtain feedback information.
[0087] It should be noted that the target server can generate audit information by encrypting it according to the rules, so that the QR code actually contains the encrypted information to be audited, thereby improving the security of the information transmission process. In contrast, when the authentication server receives the encrypted information to be audited, it is also necessary to parse the information to be audited, so as to determine whether the user corresponding to the user login information is legal based on the decrypted information to be audited and the user identity information. Similarly, other information that needs to be transmitted in the embodiment of the present application can also be encrypted using preset encryption rules. In addition, for mobile applications, it also only serves as a transfer message, so the mobile device does not need to decrypt, that is, the mobile device itself will not get the plaintext of the information to be audited.
[0088] It should be noted that in the embodiment of the present application, the mobile device is oriented to the user who applies for login. That is to say, a login application is installed on the mobile device, and the user who logs in to the user application is the user corresponding to the user login information. Based on this, the login verification method in the embodiment of the present application can be summarized as logging in to the server through a QR code, that is, after the user logs in to the backend account and password and verifies successfully, it does not directly enter the server backend, but generates information to be reviewed in the form of a QR code. The user uses the mobile application to scan the QR code, and then the mobile application sends the QR code information and user identity information to the authentication server for authentication, thereby obtaining feedback information to determine whether this login is allowed.
[0089] It should be noted that in the embodiments of the present application, the feedback information also has multiple forms, such as the feedback information can directly include an admission / rejection instruction, and when the server receives the feedback information, it will directly admit or reject the user; the feedback information can also be a verification code returned to the mobile device, and the user can directly enter the verification code into the client and pass it to the server, so that the server compares the received verification code with the verification code generated to determine whether the user corresponding to the user login information is legitimate. After the feedback information is generated, the feedback information is sent to the server through the authentication server, so that the server can perform secondary verification based on the feedback information to determine whether the user corresponding to the login information is legitimate.
[0090] Further, in some embodiments, obtaining feedback information based on responses of the authentication server and the mobile device to the information to be reviewed may specifically include:
[0091] Scan the QR code with the mobile device to obtain user identity information and the information to be reviewed, encrypt the user identity information and the information to be reviewed twice, and send the encrypted data to the authentication server;
[0092] Decrypting the encrypted data through the authentication server to obtain decrypted user identity information, decrypted target server device information and a decrypted verification code;
[0093] According to the decrypted user identity information and the decrypted target server device information, judging whether the login is legal through the authentication server;
[0094] When the judgment result is that the login is legal, the authentication server is controlled to return the decrypted verification code as the feedback information to the target server.
[0095] It should be noted that the mobile device obtains the information to be reviewed by scanning the QR code. The information to be reviewed can provide the target server device information, and the user identity information can provide the actual user account. The authentication server can determine whether the user corresponding to the user login information is legitimate based on these two information and obtain the review result.
[0096] It should be noted that the user identity information is pre-stored in the mobile device. It should be understood that for the mobile device, the user's identity information (ie, user identity information) has been obtained through the application, so that the user can use the application to scan the QR code.
[0097] In this way, after the mobile device scans the QR code to obtain the information to be reviewed, the mobile device sends the obtained information to be reviewed and the user identity information to the authentication server.
[0098] It should be noted that when the authentication server determines that the user corresponding to the user login information is legitimate, a decryption verification code is obtained from the information to be reviewed. Under the premise of correct parsing, the decryption verification code is the aforementioned verification code. The decryption verification code is sent to the mobile device. At this time, the user of the mobile device (i.e., the user corresponding to the user login information) can input the decryption verification code into the client, and the client sends it to the server for verification.
[0099] It should also be noted that, in actual use, the verification code can also be completed by a service verification module installed on the client, and the service verification module can communicate with the server, that is, the service verification module sends the user login information to the server for review. After the review is successful, the verification module generates a verification code and information to be reviewed, and presents the information to be reviewed in the form of a QR code. The mobile device obtains the information to be reviewed by scanning the QR code, and sends the information to be reviewed to the authentication server for review, and displays the decrypted verification code fed back by the authentication server to the user, and the user enters it into the service verification module to complete the secondary verification. This situation is also within the scope of protection of the present application.
[0100] Further, in some embodiments, performing secondary verification on the feedback information by the target server and sending the secondary verification result to the client may specifically include:
[0101] The target server receives the decrypted verification code through the client, and verifies the decrypted verification code and the verification code to obtain the secondary verification result;
[0102] The secondary verification result is sent to the client through the target server.
[0103] It should be noted that, for the server, under the premise that the login is legal, after displaying the QR code to the mobile device, a decryption verification code will be received. At this time, if the decryption verification code is consistent with the verification code, the user corresponding to the user login information is allowed to log in.
[0104] To solve the problem that the server login information is not uploaded to the cloud, in some implementations, before controlling the authentication server to return the decrypted verification code as the feedback information to the target server, the method may further include:
[0105] The authentication server is controlled to record the information to be reviewed and the user identity information, and generate login event data.
[0106] It should be noted that, for the authentication server, the target server device information of this login event can be obtained based on the information to be reviewed, the user account of this login event can be obtained based on the user identity information, and the verification result of this login event can be obtained based on the judgment result. Then, according to the user account, the target server device information and the verification result, the record is recorded to generate login event data. In this way, in addition to saving the record information locally on the server, the record information can also be saved in the cloud. In addition, the record information can also include other information such as time, location and client number. Similarly, the login event data can be stored and displayed in the form of reports, which is not limited in the embodiments of the present application.
[0107] It should be noted that the preset encryption rules at least include RSA asymmetric encryption rules, and can also be asymmetric encryption rules such as backpack algorithm, elliptic curve encryption algorithm, etc., and of course can also be symmetric encryption rules, etc., which is not limited in this embodiment.
[0108] In summary, in order to solve the problem that after the backend password is leaked, the server backend information can be accessed by others at will, a solution of secondary verification of the server backend combined with RSA asymmetric encryption is proposed. Solution 1: The administrator audits the server backend login. After the user logs in to the backend account and password and verifies successfully, he does not directly enter the server backend, but sends a push message to the mobile application installed on the administrator's mobile terminal. After receiving the push message, the administrator can directly review the server backend login message; Solution 2: The verification code method is used to log in to the server backend. After the user logs in to the backend account and password and verifies successfully, he does not directly enter the server backend, but generates an encrypted QR code. The user uses the mobile application to scan the QR code, gets the correct verification code, and enters the verification code on the server backend login page to successfully log in to the server backend.
[0109] In order to solve the problem of no visible login records in the server backend, a solution of adding a login audit platform in the cloud and adding login records locally is proposed. After the server backend login is successful, the server locally records the current login behavior and reports the server backend record time, location, and user information data to the cloud. The cloud processes the reported data information and forms a server backend login security event database with the terminal MAC address as the index, and a visual view is generated by the web page.
[0110] Specifically, a basic solution of the embodiment of the present application is as follows:
[0111] (1) The user logs in to the server. The server backend service generates a login information string using the local device's unique identification code (which can be a MAC address) and a generated random number. The login information is then encrypted using the RSA public key stored on the server, and the encrypted information is then displayed through a QR code.
[0112] (2) The user logs in to the server backend and installs the corresponding mobile application on the mobile terminal. The mobile application scans the QR code encrypted by the public key, and then calls the Hyper Text Transfer Protocol over Secure Socket Layer (https) interface to send the encrypted information to the cloud. The cloud uses the corresponding RSA private key to decrypt and then returns the decrypted data;
[0113] (3) The data returned at this time can be a verification code entered by the user into the server to complete the login, or the result of a successful decryption verification, allowing the user to click Allow Login on the mobile terminal to complete the login operation; after the mobile application receives the server backend login message, it can directly click Review to perform online verification; it can also scan the QR code to obtain the verification code and enter the verification code on the server backend login page for offline verification;
[0114] (4) When the user uses a mobile terminal to scan the QR code, the cloud receives the https request from the user, parses the unique device identification code in the login information, the login account of the mobile application, and the current time, and then records the request in the database, performs statistics according to the year, month and day, and generates a table for audit.
[0115] That is, this application proposes the following:
[0116] (1) A new login verification method combining RSA asymmetric encryption is proposed for server backend login in addition to the traditional account and password.
[0117] (2) Propose a method for displaying the server backend login information in a QR code;
[0118] (3) A server-based cloud-based backend login security function is proposed, which uses the server-based backend device information as identification information and the login events reported by the device to the cloud to establish a security event database.
[0119] The present embodiment provides a login verification method, and elaborates on the specific implementation of the aforementioned embodiment. It can be seen that, through the technical scheme of the aforementioned embodiment, in the process of user login information verification, it not only involves the verification of user login information such as account and password, but also involves a login verification method based on asymmetric encryption of authentication server and mobile device, that is, feedback information of the information to be reviewed can be obtained through the authentication server and mobile device to complete the cloud-aware verification of user login, thereby effectively avoiding malicious login problems caused by account and password leakage, and improving the security of server login; in addition, the login event can also be reported to the cloud, so as to establish a security event database, which can improve the efficiency of problem location in the event of an unexpected situation.
[0120] In another embodiment of the present application, see Figure 4 , which shows a schematic diagram of the interaction process of a login verification method provided by an embodiment of the present application. Figure 4 As shown, the interaction process may include the following steps:
[0121] S401: A user logs in to a server through SSH via a client;
[0122] It should be noted that the login verification method is applied to a login verification system, which includes a client, a target server, an authentication server and a mobile device, and the user of the mobile device is the administrator of the target server. The purpose of the login verification method is to enable the user to remotely log in to the target server through the client. Therefore, the user enters the account password and the address of the target server into the client, and remotely logs in to the server through SSH.
[0123] S402: The target server reports an admission request including device information to the authentication server;
[0124] It should be noted that after receiving the user account and password, the target server performs an initial verification of the account and password. After the initial verification is successful, an access request containing device information (equivalent to the aforementioned pending information) is sent to the authentication server. Among them, the device information refers to the identification code of the target server, such as the MAC address, etc. It should be understood that the access request may also include the user's account information, login location and login time, etc.
[0125] S403: The authentication server records the access request;
[0126] It should be noted that the authentication server records this access request in order to generate login event data.
[0127] S404: The authentication server forwards the admission request to the mobile device;
[0128] It should be noted that the authentication server sends the access request to the mobile device so that the administrator of the target server can review the access request.
[0129] S405: The mobile device reviews the access request and determines an access response;
[0130] It should be noted that the mobile device pushes the admission request to the administrator, so as to determine the admission reply sent by the administrator, and sends the admission reply to the authentication server.
[0131] S406: The authentication server records the access response;
[0132] It should be noted that the authentication server records the access response, that is, the access request and access response recorded by the authentication server represent the current login time, so as to generate a login time report later.
[0133] S407: The authentication server forwards the admission reply to the target server;
[0134] It should be noted that the authentication server forwards the admission reply (equivalent to the aforementioned feedback information) to the target server.
[0135] S408: Based on the access response, the target server allows / denies the login.
[0136] It should be noted that the target server allows / denies the user to log in remotely through the client based on the access response, thereby completing the secondary authentication using cloud perception and improving the security of the server login process.
[0137] That is to say, the embodiment of the present application conducts online audit of all server backend logins by the administrator. The client starts the verification service by remotely logging into the target server. The target server verification service internally sends the user's request information for logging into the target server to the cloud transit server. The cloud transit server then forwards the data to the server administrator's mobile terminal application, and the cloud transit server records the login request. The administrator receives the server login request and replies with an approval or rejection message to the cloud transit server. The transit server records the administrator's reply message, which is then forwarded by the cloud transit server to the verification service module of the corresponding target server. The verification service makes a release or rejection action by parsing the message.
[0138] The present embodiment provides a login verification method and elaborates on the specific implementation of the aforementioned embodiment. It can be seen that, through the technical scheme of the aforementioned embodiment, in the process of user login information verification, it not only involves the verification of user login information such as account and password, but also involves a login verification method based on asymmetric encryption of an authentication server and a mobile device, that is, feedback information of the information to be reviewed can be obtained through the authentication server and the mobile device to complete the cloud-aware verification of the user login, thereby effectively avoiding malicious login problems caused by account and password leakage and improving the security of server login.
[0139] In another embodiment of the present application, see Figure 5 , which shows a schematic diagram of the interaction process of another login verification method provided by an embodiment of the present application. Figure 5 As shown, the interaction process may include the following steps:
[0140] S501: A user logs in to a server through SSH via a client;
[0141] It should be noted that the remote method is applied to the login verification system, which includes a client, a target server, an authentication server and a mobile device, and the user of the mobile device is a person who wants to remotely log in to the target server through the client. First, the user enters the account password and the address of the target server into the client, and remotely logs in to the server through SSH.
[0142] S502: The target server generates encrypted device information and displays it through a QR code;
[0143] It should be noted that the target server generates encrypted device information, where the device information includes not only the server identification code of the target server, but also the verification code. At the same time, the server identification code and the verification code are encrypted using the RSA encryption rule to generate encrypted device information.
[0144] S503: The mobile device scans the QR code to obtain encrypted device information;
[0145] It should be noted that when a mobile device scans a QR code through an installed application, the encrypted device information can be obtained.
[0146] S504: The mobile device obtains the login user information;
[0147] It should be noted that the mobile device obtains the registrant information through the installed application.
[0148] S505: The mobile device encrypts and sends the encrypted device information and the registrant information to the authentication server via https;
[0149] It should be noted that the encrypted device information and registrant information are encrypted and sent to the authentication server via https.
[0150] S506: The authentication server decrypts the received information, records the login event, and returns a verification code;
[0151] It should also be noted that the authentication server decrypts the received information, records the login event, and returns the verification code contained therein. Here, the verification code contained therein will only be returned if the authentication server determines that the login event is legitimate.
[0152] S507: The authentication server returns a verification code to the mobile device;
[0153] It should be noted that the authentication server sends the decrypted verification code to the mobile device, which is then displayed to the user.
[0154] S508: The user inputs the verification code to the target server;
[0155] It should be noted that the user enters the verification code into the target server to complete the secondary verification process.
[0156] S509: The target server verifies the verification code;
[0157] It should be noted that the target server compares the verification code entered by the user with the originally generated verification code. If they are consistent, it means that the login is legal.
[0158] S510: Based on the verification result, the target server allows / denies the login.
[0159] It should be noted that, according to the result of verification code verification, the target server can approve / deny the user's login.
[0160] That is to say, the embodiment of the present application performs server backend login through the verification code method, and the client triggers the start-up verification service by remotely logging into the target server. The verification service generates a verification code, splices the device information to generate encrypted data, and displays the encrypted data through a QR code. The login user uses a mobile application to scan the QR code, and the mobile application) obtains the encrypted information, and at the same time obtains the user information of the app, encrypts the encrypted device information plus the app user information together, and sends it to the cloud platform for decryption. The cloud platform receives the data and decrypts the data. The information of the login user and the target server is recorded and used to form a server login report later, and the user information and the target server information are used to determine whether the login is legal (illegal login will be directly exited). After judging that it is legal, the verification code is returned, and the login user gets the decrypted verification code and inputs it for verification. The verification service returns to a normal session or exits according to the verification result.
[0161] In addition, the embodiment of the present application can also generate security incident reports based on cloud records. When the administrator reviews the server backend login method online, a server login request and the administrator's access / rejection reply record will be left on the cloud transfer server. The QR code server backend login method will leave user information and the destination server device information for login on the cloud decoding server. The above information can be generated as a visual view on the web page, or a server backend login record report can be generated in the required format, which can be used as an important file for post-accident investigation and tracing.
[0162] This embodiment provides a login verification method and elaborates on the specific implementation of the aforementioned embodiment. It can be seen that through the technical solution of the aforementioned embodiment, on the basis of user login information verification, feedback information of the information to be reviewed can be obtained through the authentication server, thereby completing cloud-aware verification of user login, avoiding malicious login due to account password leakage, and improving the security of server login; and by recording login events locally and in the cloud, problems can be quickly located when encountering unexpected situations, thereby improving the efficiency of troubleshooting.
[0163] In another embodiment provided in this application, see Figure 6 , which shows a schematic diagram of the composition structure of a login verification system 60 provided in an embodiment of the present application. Figure 6 As shown, the login verification system 60 may include a client 601, a target server 602, a mobile device 603 and an authentication server 604; wherein,
[0164] The client 601 is configured to obtain user login information and send the user login information to the target server 602;
[0165] The target server 602 is configured to generate information to be reviewed if the user login information is successfully verified, and the information to be reviewed at least includes device information of the target server 602;
[0166] The authentication server 604 is configured to respond to the information to be reviewed in conjunction with the mobile device 603, obtain feedback information and send it to the target server 602;
[0167] The target server 602 is further configured to perform secondary verification on the feedback information and send the secondary verification result to the client 601; wherein the secondary verification result is used to indicate whether the user corresponding to the user login information is allowed to log in.
[0168] In the above solution, the authentication server 604 is further configured to receive the information to be reviewed and forward the information to be reviewed to the mobile device 603;
[0169] The mobile device 603 is further configured to conduct an online review of the information to be reviewed, generate a review reply message, and forward the review reply message to the authentication server 604;
[0170] The authentication server 604 is further configured to receive the review reply message, and determine the review reply message as the feedback information and return it to the target server 602 .
[0171] In the above solution, the authentication server 604 is further configured to record the information to be reviewed and the review reply message, and generate a login event report.
[0172] In the above solution, the target server 602 is further configured to generate login request information based on the user login information and the target server 602 device information; and encrypt the target server 602 device information according to a preset encryption rule to generate the information to be reviewed;
[0173] The mobile device 603 is further configured to decrypt the information to be reviewed to obtain decrypted login request information; and to conduct an online review on the decrypted login request information to obtain the review reply message.
[0174] In the above scheme, the target server 602 is also configured to parse the review reply message, obtain the secondary verification result, and send the secondary verification result to the client 601.
[0175] In the above scheme, the target server 602 is also configured to generate a verification code based on the user login information; encrypt the verification code and the target server 602 device information based on a preset encryption rule to generate the information to be reviewed; and display the information to be reviewed on the client 601 in the form of a QR code.
[0176] In the above solution, the mobile device 603 is further configured to scan the QR code, obtain the user identity information and the information to be reviewed, perform secondary encryption on the user identity information and the information to be reviewed, and send the encrypted data obtained after encryption to the authentication server 604;
[0177] The authentication server 604 is also configured to decrypt the encrypted data to obtain decrypted user identity information, decrypted target server 602 device information and a decrypted verification code; determine whether it is a legal login based on the decrypted user identity information and the decrypted target server 602 device information; if the judgment result is a legal login, return the decrypted verification code to the target server 602 as the feedback information.
[0178] In the above solution, the target server 602 is further configured to receive the decrypted verification code through the client 601, and verify the decrypted verification code with the verification code to obtain the secondary verification result; and send the secondary verification result to the client 601.
[0179] In the above solution, the authentication server 604 is further configured to record the information to be reviewed and the user identity information, and generate login event data.
[0180] This embodiment provides a login verification system 60, which includes a client 601, a target server 602, a mobile device 603 and an authentication server 604. Through the login verification system 60, in the process of user login information verification, not only the verification of user login information such as account and password is involved, but also the login verification method based on asymmetric encryption of the authentication server and the mobile device is involved, that is, the feedback information of the information to be reviewed can be obtained through the authentication server and the mobile device to complete the cloud-aware verification of the user login, thereby effectively avoiding the malicious login problem caused by the leakage of account and password, and improving the security of server login.
[0181] The technical solution of this embodiment, in essence, or the part that contributes to the prior art, or the whole or 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 enabling a computer device (which can be a personal computer, a server, or a network device, etc.) or a processor to execute all or part of the steps of the method described in this embodiment. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.
[0182] Therefore, for the login verification system 60, during the implementation process, each step of the above method embodiment can be completed by the hardware integrated logic circuit in the login verification system 60 combined with the instructions in the form of software. Based on this understanding, some functions of the technical solution of the present application can be embodied in the form of a software product; therefore, this embodiment provides a computer storage medium, which stores a computer program, and when the computer program is executed by the login verification system 60, the steps of the login verification method described in the above embodiment are implemented.
[0183] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed in this application can be implemented in electronic hardware, or a combination of 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.
[0184] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0185] It should be noted that, in this application, the terms "include", "comprises" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "includes a ..." does not exclude the existence of other identical elements in the process, method, article or device including the element.
[0186] 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.
[0187] The methods disclosed in several method embodiments provided in this application can be arbitrarily combined without conflict to obtain new method embodiments.
[0188] The features disclosed in several product embodiments provided in this application can be arbitrarily combined without conflict to obtain new product embodiments.
[0189] The features disclosed in several method or device embodiments provided in this application can be arbitrarily combined without conflict to obtain new method embodiments or device embodiments.
[0190] 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 login verification method, characterized in that: Applied to a login verification system, the method comprises: Receive user login information sent by the client through the target server; In the case where the user login information is successfully verified, controlling the target server to generate information to be reviewed; wherein the information to be reviewed at least includes target server device information; Based on the responses of the authentication server and the mobile device to the information to be reviewed, feedback information is obtained, where the feedback information is determined by the mobile device through review of the information to be reviewed, and the information to be reviewed is forwarded to the mobile device by the target server through the authentication server, or the feedback information is determined by the authentication server through judging whether the information to be reviewed and the user identity information is a legal login, and the information to be reviewed and the user identity information are determined by the mobile device through scanning a QR code generated by the target server and displayed on the client, and sent to the authentication server; The feedback information is verified twice by the target server, and the secondary verification result is sent to the client; wherein the secondary verification result is used to indicate whether the user corresponding to the user login information is allowed to log in, and the secondary verification is used to determine whether the user corresponding to the user login information is legal.
2. The login verification method according to claim 1, characterized in that: The obtaining of feedback information based on responses of the authentication server and the mobile device to the information to be reviewed includes: Sending the information to be reviewed to an authentication server, and forwarding the information to be reviewed to the mobile device through the authentication server; Conducting an online review of the information to be reviewed through the mobile device, and generating a review reply message; The audit reply message is forwarded to the authentication server, and the audit reply message is determined as the feedback information and returned to the target server.
3. The login verification method according to claim 2, characterized in that: After forwarding the review reply message to the authentication server, the method further includes: The authentication server records the information to be reviewed and the review reply message to generate login event data.
4. The login verification method according to claim 2, characterized in that: The controlling the target server to generate information to be reviewed includes: Based on the user login information and the target server device information, generating login request information through the target server; According to a preset encryption rule, the login request information is encrypted by the target server to generate the information to be reviewed; Accordingly, generating a review reply message according to the online review of the information to be reviewed by the mobile device includes: Decrypting the information to be reviewed by the mobile device to obtain decrypted login request information; The decryption login request information is audited online to obtain the audit reply message.
5. The login verification method according to claim 2, characterized in that: The performing secondary verification on the feedback information by the target server and sending the secondary verification result to the client comprises: The target server parses the audit reply message to obtain the secondary verification result, and sends the secondary verification result to the client.
6. The login verification method according to claim 1, characterized in that: The controlling the target server to generate information to be reviewed includes: Based on the user login information, generating a verification code through the target server; Based on a preset encryption rule, the verification code and the target server device information are encrypted by the target server to generate the information to be reviewed; The information to be reviewed is displayed on the client in the form of a QR code.
7. The login verification method according to claim 6, characterized in that: The obtaining of feedback information based on responses of the authentication server and the mobile device to the information to be reviewed includes: Scan the QR code with the mobile device to obtain user identity information and the information to be reviewed, encrypt the user identity information and the information to be reviewed twice, and send the encrypted data to the authentication server; Decrypting the encrypted data through the authentication server to obtain decrypted user identity information, decrypted target server device information and a decrypted verification code; According to the decrypted user identity information and the decrypted target server device information, judging whether the login is legal through the authentication server; When the judgment result is that the login is legal, the authentication server is controlled to return the decrypted verification code as the feedback information to the target server.
8. The login verification method according to claim 7, characterized in that: The performing secondary verification on the feedback information by the target server and sending the secondary verification result to the client comprises: The target server receives the decrypted verification code through the client, and verifies the decrypted verification code and the verification code to obtain the secondary verification result; The secondary verification result is sent to the client through the target server.
9. The login verification method according to claim 7, characterized in that: Before controlling the authentication server to return the decrypted verification code as the feedback information to the target server, the method further includes: The authentication server records the information to be reviewed and the user identity information to generate login event data.
10. The login verification method according to claim 4 or 6, characterized in that: The preset encryption rules at least include RSA asymmetric encryption rules.
11. A login verification system, characterized in that: The login verification system includes a client, a target server, a mobile device and an authentication server; wherein, The client is configured to obtain user login information and send the user login information to the target server; The target server is configured to generate information to be reviewed if the user login information is successfully verified, and the information to be reviewed at least includes target server device information; The authentication server is configured to respond to the information to be reviewed in conjunction with the mobile device, obtain feedback information and send it to the target server, the feedback information is determined by the mobile device reviewing the information to be reviewed, the information to be reviewed is forwarded to the mobile device by the target server through the authentication server, or the feedback information is determined by the authentication server by judging whether the information to be reviewed and the user identity information is a legal login, the information to be reviewed and the user identity information are determined by the mobile device by scanning a QR code generated by the target server and displayed on the client, and sent to the authentication server; The target server is configured to perform a secondary verification on the feedback information and send the secondary verification result to the client; wherein the secondary verification result is used to indicate whether the user corresponding to the user login information is allowed to log in, and the secondary verification is used to determine whether the user corresponding to the user login information is legal.
12. The login verification system according to claim 11, characterized in that: The authentication server is configured to receive the information to be reviewed and forward the information to be reviewed to the mobile device; The mobile device is configured to perform online review on the information to be reviewed, generate a review reply message, and forward the review reply message to the authentication server; The authentication server is configured to receive the review reply message, and determine the review reply message as the feedback information and return it to the target server.
13. The login verification system according to claim 11, characterized in that: The target server is configured to generate a verification code based on the user login information; encrypt the verification code and the target server device information based on a preset encryption rule to generate the information to be reviewed; The information to be reviewed is displayed on the client in the form of a QR code.
14. The login verification system according to claim 13, characterized in that: The mobile device is configured to scan the QR code, obtain the user identity information and the information to be reviewed, perform secondary encryption on the user identity information and the information to be reviewed, and send the encrypted data obtained after encryption to the authentication server; The authentication server is configured to decrypt the encrypted data to obtain decrypted user identity information, decrypted target server device information and a decrypted verification code; and determine whether the login is legal based on the decrypted user identity information and the decrypted target server device information; If the judgment result is a legal login, the decrypted verification code is returned to the target server as the feedback information.
15. A computer storage medium, characterized in that: The computer storage medium stores a login verification method, which implements the steps of any one of claims 1 to 10 when executed by a login verification system.
Citation Information
Patent Citations
Login verification method, system and instant messaging (IM) server
CN102651739A
Mobile terminal, and method, server and system for authenticating identities on basis of mobile terminal
CN103546430A
