Login verification method, computer equipment and computer readable storage medium
By adding login environment information verification and administrator verification steps to login verification, the problem of low security of account password verification in the prior art is solved, and higher user login security is achieved.
Patent Information
- Application Number
- CN202411304809.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-18
- Publication Date
- 2025-01-03
AI Technical Summary
The existing login verification method is verified through an account and password, which is low in security and cannot effectively avoid illegal user login.
In the login verification process, add login environment information verification steps, and compare the user's network IP, physical address and device code with the preset environment information. If it is different, send a login verification request to the administrator for verification to ensure login permissions; When logging in, a verification request is also sent to the administrator, and the abnormal user group is handled according to the login risk identification.
It improves the security of user login, avoids illegal users stealing their account passwords and logging in directly, and enhances the security of the system.
Smart Images

Figure CN119254474A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of login verification, and more specifically, to a login verification method, a computer device, and a computer-readable storage medium. Background Art
[0002] Login verification is a crucial part in ensuring user information security and system security. In related technologies, login verification is usually performed through the user's account and password, but this login verification method has low security and cannot effectively prevent illegal users from logging in. Summary of the invention
[0003] Embodiments of the present application provide a login verification method, a computer device, and a computer-readable storage medium.
[0004] The present application provides a login verification method, which includes:
[0005] Get the user's login request;
[0006] If it is not the first time for the user to log in, determine the user's login environment information according to the login request;
[0007] In the case where the login environment information is different from the preset login environment information, a login verification request is sent to a login administrator of the user group to which the user belongs, so as to verify the login authority of the user through the login administrator.
[0008] In this way, the login verification method, computer device and computer-readable storage medium of the implementation mode of the present application, by adding a step of verifying the login environment information, sends a login verification request to the login administrator of the user group to which the user belongs when the login environment information is different, so that the administrator can verify whether the login is allowed, thereby avoiding the situation where illegal users log in directly by stealing the account password.
[0009] In some embodiments, the login environment information includes the network IP, physical address and / or device code of the user, and when the login environment information is different from the preset login environment information, sending a login verification request to a login administrator of the user group to which the user belongs includes:
[0010] When at least one of the network IP, the physical address, and the device code is different from the preset login environment information, a login verification request is sent to a login administrator of the user group to which the user belongs.
[0011] In this way, when at least one of the network IP, physical address, and device code is different from the preset login environment information, the login environment information verification fails, the login request is judged to be unsafe, and a login verification request is sent to the login administrator, requesting the login administrator to perform further verification.
[0012] In some embodiments, the login verification method further includes:
[0013] When the login environment information is the same as the preset login environment information, it is determined that the user can log in.
[0014] In this way, when the login environment information is the same as the preset login environment information, it is determined that the user can log in through the login environment information verification.
[0015] In some embodiments, the login verification method further includes:
[0016] When the user logs in for the first time, a login verification request is sent to the login administrator of the user group to which the user belongs.
[0017] In this way, when a user logs in for the first time, a login verification request is sent to the login administrator of the user group to which the user belongs, requesting the login administrator to perform further verification, thereby ensuring the security of the user's login.
[0018] In some embodiments, the login verification method further includes:
[0019] Determine the current password input by the user according to the login request;
[0020] If the current password and the preset password are the same and it is not the first time for the user to log in, determine the login environment information of the user according to the login request;
[0021] When the current password is different from the preset password, a prompt message indicating that the login verification has failed is sent to the user.
[0022] In this way, the current password entered by the user can be verified to be correct based on the current password and the preset password. If the current password is incorrect, a prompt message indicating that the login verification failed is sent; if the current password is correct, the login environment information is verified through password verification.
[0023] In some embodiments, the login verification method further includes:
[0024] If the number of abnormal users in the user group is greater than a set number within a set time, a login risk indicator is set for the user group, wherein the abnormal user is a user whose login environment information is different from the preset login environment information.
[0025] In this way, a login risk indicator can be set for a user group with a large number of abnormal users to remind this user group that the security when logging in is low and verification is required.
[0026] In some implementations, after obtaining the user's login request, the login verification method further includes:
[0027] Determining the user group to which the user belongs according to the login request and the preset corresponding relationship;
[0028] In the case where the login risk identifier exists in the user group, sending the login request to a login administrator of the user group;
[0029] In a case where the login risk identifier does not exist in the user group, the login environment information of the user is determined according to the login request.
[0030] In this way, the security of users in the user group can be determined based on the login risk identifier. If a login risk identifier exists in the user group, the security of the login request of the users in the user group is low and is directly sent to the login administrator for verification; if there is no login risk identifier, the login environment information is verified.
[0031] In some embodiments, the login verification method further includes:
[0032] After at least one user receives an invitation request to join the user group, establishing the user group, the user group including the logged-in administrator and the user receiving the invitation request;
[0033] A corresponding relationship between the user group and the users in the user group is established.
[0034] In this way, the creator sends an invitation request to the user. After the user receives the invitation request, a user group can be established, and the correspondence between users and user groups in the user group can be recorded as a preset correspondence, so that when the user subsequently sends a login request, the user group to which the user belongs can be determined based on the preset correspondence and the login request.
[0035] An embodiment of the present application provides a computer device, which includes one or more processors and a memory, wherein the memory stores a computer program, and when the computer program is executed by the processor, the steps of the login verification method as described in any of the above embodiments are implemented.
[0036] An embodiment of the present application provides a computer-readable storage medium having a computer program stored thereon. When the program is executed by a processor, the steps of the login verification method as described in any of the above embodiments are implemented.
[0037] Additional aspects and advantages of the present application will be given in part in the description below, and in part will become apparent from the description below, or will be learned through the practice of the present application. BRIEF DESCRIPTION OF THE DRAWINGS
[0038] The above and / or additional aspects and advantages of the present application will become apparent and easily understood from the description of the embodiments in conjunction with the following drawings, in which:
[0039] Figure 1 It is a flowchart of a login verification method according to an implementation mode of the present application;
[0040] Figure 2 is a schematic diagram of a user group of an implementation method of the present application;
[0041] Figure 3 It is a flowchart of a login verification method according to an implementation mode of the present application;
[0042] Figure 4 It is a flowchart of a login verification method according to an implementation mode of the present application;
[0043] Figure 5 It is a flowchart of a login verification method according to an implementation mode of the present application;
[0044] Figure 6 It is a flowchart of a login verification method according to an implementation mode of the present application;
[0045] Figure 7 It is a flowchart of a login verification method according to an implementation mode of the present application;
[0046] Figure 8 It is a flowchart of a login verification method according to an implementation mode of the present application;
[0047] Fig. 9 It is a flowchart of the login verification method of the implementation mode of the present application. DETAILED DESCRIPTION
[0048] The embodiments of the present application are described in detail below, and examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements with the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain the present application, and cannot be understood as limiting the present application.
[0049] Login verification is a crucial part in ensuring user information security and system security. In an intranet system with a high level of confidentiality, registered users can be invited by the creator of the user group to join the user group to use specific functions or modules of the intranet system.
[0050] In the related art, users usually perform login verification of the intranet system through their account number and password, but this login verification method has low security and cannot effectively prevent illegal users from logging in.
[0051] Based on the above possible problems, please refer to Figure 1 and Figure 2 The present application embodiment provides a login verification method, the login verification method comprising:
[0052] 01: Get the login request of user 10;
[0053] 02: When the user 10 is not logging in for the first time, determine the login environment information of the user 10 according to the login request;
[0054] 03: When the login environment information is different from the preset login environment information, a login verification request is sent to the login administrator 11 of the user group 100 to which the user 10 belongs, so as to verify the login authority of the user 10 through the login administrator 11 .
[0055] The embodiment of the present application provides a computer device, which includes one or more processors and a memory, wherein the memory stores a computer program. The processor can be used to obtain a login request from a user 10; and to determine the login environment information of the user 10 according to the login request when the user 10 is not logging in for the first time; and can also be used to send a login verification request to a login administrator 11 of a user group 100 to which the user 10 belongs when the login environment information is different from the preset login environment information, so as to verify the login authority of the user 10 through the login administrator 11.
[0056] The embodiment of the present application provides a login verification device, which includes an acquisition module, a first determination module, and a first sending module. The acquisition module can be used to acquire a login request of a user 10; the first determination module can be used to determine the login environment information of the user 10 according to the login request when the user 10 is not logging in for the first time; the first sending module can be used to send a login verification request to a login administrator 11 of a user group 100 to which the user 10 belongs when the login environment information is different from the preset login environment information, so as to verify the login authority of the user 10 through the login administrator 11.
[0057] Specifically, the login request includes the account of the user 10, the current password input, the login environment information when sending the login request, the preset correspondence between the account and the user group 100, etc.
[0058] Among them, the pre-stored known password can be determined according to the account of the user 10, and whether the current password is correct can be determined according to the known password and the current password input, so as to verify whether the login request can be passed. According to the login environment information, it can be determined whether the login environment when sending the login request is the same as the previously known login environment, so as to determine whether the login request is safe. According to the preset corresponding relationship of the login request, the user group 100 to which the user 10 account belongs can be determined, thereby determining the login administrator 11 of the user group 100.
[0059] After receiving the login request from user 10, the system determines whether user 10 is logging in for the first time (first login). If user 10 is not logging in for the first time, the system determines the login environment information of user 10 according to the login request, and determines whether the login environment has changed according to the login environment information and the preset login environment information. If the login environment information is different from the preset login environment information, a login verification request is sent to the login administrator 11 of the user group 100 to which user 10 belongs. The login administrator 11 can contact user 10 in an offline manner to determine whether the login operation is performed by user 10 himself. If it is not the operation of user 10 himself, the login request is unsafe and is sent by an illegal user. The login request is not allowed to pass, and a prompt message of login verification failure is sent to user 10; if it is the operation of user 10 himself and the login request is verified to be safe, the login request is allowed to pass.
[0060] The login verification method of the implementation mode of the present application adds login environment information verification and login administrator verification of the user group on the basis of conventional password verification, thereby improving the security of user login.
[0061] In one embodiment, see Figure 2 , user 10 is user 10 in the intranet system. Login administrator 11 includes main login administrator 111. The main login administrator 111 of user group 100 can be an administrator set for the intranet system. Login administrator 11 and other users 10 of the intranet system form user group 100. When user 10 logs in to the intranet system with a device that is not a common device, the server of the intranet system receives the login request of user 10, and determines that the login device is not a common device according to the login environment information and the preset login environment information, and sends a login verification request to login administrator 11. After verifying that user 10 is the real person, login administrator 11 passes the login request and allows login, and user 10 can log in to the intranet system.
[0062] In this way, the login verification method of the implementation mode of the present application adds a step of verifying the login environment information. When the login environment information is different, a login verification request is sent to the login administrator 11 of the user group 100 to which the user 10 belongs, so that the administrator can verify whether the login is allowed, thereby avoiding the situation where an illegal user logs in directly by stealing the account and password.
[0063] See also Figure 3 In some embodiments, the login environment information includes the network IP, physical address and / or device code of the user 10, and step 03 (sending a login verification request to the login administrator 11 of the user group 100 to which the user 10 belongs when the login environment information is different from the preset login environment information) includes:
[0064] 031: When at least one of the network IP, physical address, and device code is different from the preset login environment information, a login verification request is sent to the login administrator 11 of the user group 100 to which the user 10 belongs.
[0065] In some embodiments, the processor may be configured to send a login verification request to a login administrator 11 of the user group 100 to which the user 10 belongs when at least one of the network IP, physical address, and device code is different from the preset login environment information.
[0066] In some embodiments, the first sending module includes a sending submodule, which can be used to send a login verification request to the login administrator 11 of the user group 100 to which the user 10 belongs when at least one of the network IP, physical address, and device code is different from the preset login environment information.
[0067] Specifically, the login environment information includes one or more of the network IP, physical address, and device code of the user 10, and the preset login environment information includes a known network IP, a known physical address, and / or a known device code. If at least one of the network IP, physical address, and device code of the user 10 is different from the preset login environment information, the server fails to verify the login environment information and sends a login verification request to the login administrator 11.
[0068] In addition, the preset login environment information may be the login environment information of the user 10 account when it last logged in, that is, it may be the network IP, physical address and / or device code when it last logged in.
[0069] In one embodiment, the login environment information includes a network IP and a physical address. When the network IP is the same as a known network IP and the physical address is different from a known physical address, the login environment information verification fails.
[0070] In another embodiment, the login environment information includes a network IP, a device code and a physical address. When the network IP is different from a known network IP, the physical address is the same as a known physical address, and the device code is different from a known device code, the login environment information verification fails.
[0071] In this way, when at least one of the network IP, physical address, and device code is different from the preset login environment information, the login environment information verification fails, the login request is judged to be unsafe, and a login verification request is sent to the login administrator 11, requesting the login administrator 11 to perform further verification.
[0072] See also Figure 4 In some embodiments, the login verification method further includes:
[0073] 04: When the login environment information is the same as the preset login environment information, it is determined that the user 10 can log in.
[0074] In some implementations, the processor may be configured to determine that the user 10 is able to log in when the login environment information is the same as the preset login environment information.
[0075] In some embodiments, the login verification device further includes a second determination module. The second determination module can be used to determine that the user 10 can log in when the login environment information is the same as the preset login environment information.
[0076] Specifically, when the login environment information is the same as the preset login environment information, it is determined that the user 10 is logging in using a known device or a commonly used device, and the login request is considered safe and approved.
[0077] The login environment information may include a network IP, a physical address and / or a device code. If the network IP, the physical address and / or the device code included in the login environment information are the same as the preset login environment information, it is determined that the login request is safe and the login request of the user 10 is approved.
[0078] In one embodiment, the login environment information includes a device code, and the preset login environment information includes a known device code. When the device code and the known device code are the same, the login environment information verification is successful, and the login request of the user 10 is approved.
[0079] In another embodiment, the login environment information includes a device code and a physical address, and the preset login environment information includes a known device code and a known physical address. When the device code is the same as the known device code, and the physical address is the same as the known physical address, the login environment information verification is successful, and the login request of the user 10 is approved.
[0080] In this way, when the login environment information is the same as the preset login environment information, it is determined that the user 10 can log in through the login environment information verification.
[0081] See also Figure 5 In some embodiments, the login verification method further includes:
[0082] 05: When the user 10 logs in for the first time, a login verification request is sent to the login administrator 11 of the user group 100 to which the user 10 belongs.
[0083] In some implementations, the processor may be configured to send a login verification request to a login administrator 11 of the user group 100 to which the user 10 belongs when the user 10 logs in for the first time.
[0084] In some embodiments, the login verification device further includes a second sending module. The second sending module can be used to send a login verification request to a login administrator 11 of the user group 100 to which the user 10 belongs when the user 10 logs in for the first time.
[0085] Specifically, since the server does not have the user 10's common device record when the user 10 logs in for the first time, i.e., lacks the preset login environment information, the login environment information of the login request cannot be verified. Therefore, a login verification request is directly sent to the login administrator 11 of the user group 100 to which the user 10 belongs, requesting the login administrator 11 to perform login verification.
[0086] The login administrator 11 can contact the user 10 who sent the login request through online or offline communication to determine whether the login operation is performed by the user 10 himself. If it is determined that the login is performed by the user 10 himself, the user 10 is allowed to log in through the login request.
[0087] In this way, when the user 10 logs in for the first time, a login verification request is sent to the login administrator 11 of the user group 100 to which the user 10 belongs, so as to request the login administrator 11 to perform further verification, thereby ensuring the security of the user 10's login.
[0088] See also Figure 6 In some embodiments, the login verification method further includes:
[0089] 06: Determine the current password entered by the user 10 according to the login request;
[0090] 07: When the current password and the preset password are the same and it is not the first time for the user 10 to log in, determine the login environment information of the user 10 according to the login request;
[0091] 08: When the current password and the preset password are different, a prompt message indicating that the login verification has failed is sent to the user 10.
[0092] In certain embodiments, the processor may be used to determine the current password entered by user 10 based on a login request; and to determine login environment information of user 10 based on a login request when the current password and a preset password are the same and it is not the first time for user 10 to log in; and may also be used to send a prompt message to user 10 indicating login verification failure when the current password and the preset password are different.
[0093] In some embodiments, the login verification device further includes a third determination module, a fourth determination module and a third sending module. The third determination module may be used to determine the current password input by the user 10 according to the login request; the fourth determination module may be used to determine the login environment information of the user 10 according to the login request when the current password and the preset password are the same and the user 10 is not logging in for the first time; the third sending module may be used to send a prompt message indicating that the login verification failed to the user 10 when the current password and the preset password are different.
[0094] Specifically, the current password entered by the user 10 when submitting the login request can be determined based on the login request, and the correctness of the current password can be verified by comparing the current password with the preset password. When the current password and the preset password are the same, the login request passes the password verification and enters the next level of verification (login environment information verification). When the current password and the preset password are different, the current password is incorrect and fails the password verification, and a prompt message indicating that the login verification failed is sent to the user 10 to prompt the user 10 to change the entered password and log in again.
[0095] In this way, the current password entered by the user 10 can be verified to be correct based on the current password and the preset password. If the current password is wrong, a prompt message indicating that the login verification failed is sent; if the current password is correct, the login environment information is verified through password verification.
[0096] See also Figure 7 In some embodiments, the login verification method further includes:
[0097] 09: If the number of abnormal users 10 in the user group 100 within the set time is greater than the set number, a login risk flag is set for the user group 100, wherein the abnormal user 10 is a user 10 whose login environment information is different from the preset login environment information.
[0098] In some embodiments, the processor may be used to set a login risk flag for the user group 100 if the number of abnormal users 10 in the user group 100 within a set time is greater than a set number, wherein the abnormal user 10 is a user 10 whose login environment information is different from the preset login environment information.
[0099] In some embodiments, the login verification device further includes a setting module. The setting module can be used to set a login risk flag for the user group 100 if the number of abnormal users 10 in the user group 100 within a set time is greater than a set number, wherein the abnormal user 10 is a user 10 whose login environment information is different from the preset login environment information.
[0100] Specifically, the set time can be a preset duration value, and the set number can be a preset number value, both of which can be set according to actual needs. The set number can be proportional to the number of users 10 in the user group 100, increase as the number of users 10 increases, or can be set to a fixed value.
[0101] Within the set time, if the number of abnormal users 10 in the user group 100 is greater than the set number, it means that multiple users 10 in the user group 100 have changed their login devices, and there is a risk of batch hacking. Therefore, a login risk indicator can be set for the user group 100 to prompt the users 10 in the user group 100 that the risk is higher when logging in and further verification is required.
[0102] In addition, the abnormal user 10 may also be a user 10 whose login environment information is different from the preset login environment information and whose login request is rejected by the login administrator 11 .
[0103] In this way, a login risk indicator may be set for a user group 100 with a large number of abnormal users 10 to prompt the user group 100 that the security when logging in is low and verification is required.
[0104] See also Figure 8 In some implementations, after obtaining the login request of the user 10, the login verification method further includes:
[0105] 010: Determine the user group 100 to which the user 10 belongs according to the login request and the preset corresponding relationship;
[0106] 011: When the user group 100 has a login risk indicator, a login request is sent to the login administrator 11 of the user group 100;
[0107] 012: When there is no login risk identifier for the user group 100, the login environment information of the user 10 is determined according to the login request.
[0108] In certain embodiments, the processor may be used to determine the user group 100 to which the user 10 belongs based on the login request and a preset correspondence; and to send a login request to the login administrator 11 of the user group 100 when a login risk identification exists in the user group 100; and may also be used to determine the login environment information of the user 10 based on the login request when no login risk identification exists in the user group 100.
[0109] In some embodiments, the login verification device further includes a fifth determination module, a fourth sending module, and a sixth determination module, which can be used to determine the user group 100 to which the user 10 belongs according to the login request and the preset correspondence relationship; can be used to send the login request to the login administrator 11 of the user group 100 when there is a login risk identifier in the user group 100; can be used to determine the login environment information of the user 10 according to the login request when there is no login risk identifier in the user group 100.
[0110] Specifically, the user group 100 to which the user 10 belongs can be determined based on the user 10 account in the login request and the preset correspondence. In the case where the user group 100 has a login risk identifier, it means that the security of the user 10 in the user group 100 when logging in is low. At this time, no matter what the verification result of the login environment information is, the login administrator 11 needs to verify and verify it, so the login request is directly sent to the login administrator 11 of the user group 100. And after being verified by the login administrator 113 once, the user 10 can perform login verification in the subsequent login, that is, the user 10 can be logged in after the login environment information verification is passed.
[0111] In the case that there is no login risk identification for the user group 100, the login environment information of the user 10 is determined according to the login request. If the login environment information of the user 10 is the same as the preset login environment information, the login request passes the login environment information verification, and the user 10 is allowed to log in. If the login environment information of the user 10 is different from the preset login environment information, the login environment information verification fails, and the login verification information is sent to the login administrator 11 for further verification by the login administrator 11.
[0112] In one embodiment, user 10 sends a login request. The server performs password verification on the login request, determines that the current password of the login request is the same as the preset password, and then determines the user group 100 to which user 10 belongs based on the account number of the login request and the preset correspondence. If the user group 100 has a login risk identifier, a login verification request is directly sent to the login administrator 11 of the user group 100.
[0113] Furthermore, if the user group 100 to which the user 10 belongs cannot be determined based on the login request, the login request is rejected and the login is not allowed.
[0114] In this way, the security of user 10 in user group 100 can be determined based on the login risk identifier. If there is a login risk identifier in user group 100, the security of the login request of user 10 in user group 100 is low and is directly sent to the login administrator 11 for verification; if there is no login risk identifier, the login environment information is verified.
[0115] See also Fig. 9 In some embodiments, the login verification method further includes:
[0116] 013: after at least one user 10 receives an invitation request to join the user group 100, the user group 100 is established, the user group 100 includes the logged-in administrator 11 and the user 10 receiving the invitation request;
[0117] 014: Establish a corresponding relationship between the user group 100 and the user 10 in the user group 100.
[0118] In some embodiments, the processor may be used to establish a user group 100 after at least one user 10 receives an invitation request to join the user group 100 , wherein the user group 100 includes a logged-in administrator 11 and the user 10 receiving the invitation request; and to establish a corresponding relationship between the user group 100 and the users 10 within the user group 100 .
[0119] In some embodiments, the login verification device further includes a first establishment module and a second establishment module. The first establishment module can be used to establish a user group 100 after at least one user 10 receives an invitation request to join the user group 100, and the user group 100 includes a login administrator 11 and the user 10 receiving the invitation request; the second establishment module can be used to establish a corresponding relationship between the user group 100 and the users 10 in the user group 100.
[0120] Specifically, see Figure 2 , the user group 100 includes at least two users 10, including a primary login administrator 111 and a secondary login administrator 113 and / or a common user 13. The primary login administrator 111 is the creator of the user group 100. The login verification requests generated by the users 10 other than the primary login administrator 111 in the user group 100 during login verification are all sent to the primary login administrator 111. The secondary login administrator 113 is the user 10 who performs login verification on the primary login administrator 111 and is designated by the primary login administrator 111.
[0121] It is worth mentioning that Figure 2 The number of ordinary users 13 is only for illustration. The actual user group 100 may not include ordinary users 13, but may only include the main login administrator 111 and the secondary login administrator 113; it may also include the main login administrator 111, the secondary login administrator 113 and one or more ordinary users 13.
[0122] Figure 2 The arrow in is used to indicate the object to which the login review request is sent. For example, the login review request determined according to the login request of the primary login administrator 111 is sent to the secondary login administrator 113 .
[0123] When inviting a user 10 to join the user group 100, the creator of the user group 100 may invite one user 10 to join the user group 100, or may invite multiple users 10 to join the user group 100. After at least one invited user 10 receives the invitation request to join the user group 100, the user group 100 is successfully created. A correspondence between the user group 100 and the account of the user 10 in the user group 100 is established as a preset correspondence, and when the user 10 subsequently logs in, the login request sent includes the user 10 account and the preset correspondence.
[0124] It is worth noting that all users 10 in the user group 100 have accounts that have completed registration in the application or internal system, that is, the user 10 cannot invite users 10 who have not registered accounts to join the user group 100.
[0125] Before the main login administrator 111 or the secondary login administrator 113 logs in, there are only functions of sending a login request and allowing another login administrator 11. Before the ordinary user 13 logs in, there is only the function of sending a login request.
[0126] In one embodiment, see Figure 2 , the login request is issued by the primary login administrator 111 of the user group 100. When the server sends the login verification request, the secondary login administrator 113 of the user group 100 is used as the login administrator 11, that is, the login verification request is sent to the secondary login administrator 113.
[0127] In another embodiment, see Figure 2 , the login request is issued by the secondary login administrator 113 of the user group 100. When the server sends the login verification request, the primary login administrator 111 of the user group 100 is used as the login administrator 11, that is, the login verification request is sent to the primary login administrator 111.
[0128] In this way, the creator sends an invitation request to user 10. After user 10 receives the invitation request, user group 100 can be established, and the correspondence between user 10 and user group 100 in user group 100 can be resumed as a preset correspondence, so that when user 10 subsequently sends a login request, the user group 100 to which user 10 belongs can be determined based on the preset correspondence and the login request.
[0129] An embodiment of the present application provides a computer-readable storage medium on which a computer program is stored. When the program is executed by a processor, the steps of the login verification method as described in any of the above embodiments are implemented.
[0130] It is understood that a computer program includes computer program code. The computer program code may be in source code form, object code form, executable file or some intermediate form. Computer readable storage media may include: any entity or device capable of carrying computer program code, recording medium, USB flash drive, mobile hard disk, magnetic disk, optical disk, computer memory, read-only memory (ROM), random access memory (RAM), and software distribution medium.
[0131] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "illustrative embodiments", "examples", "specific examples" or "some examples" etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiments or examples are included in at least one embodiment or example of the present application. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. In addition, those skilled in the art may combine and combine different embodiments or examples described in this specification and the features of different embodiments or examples without contradiction.
[0132] In addition, the term "connection" should be understood in a broad sense, for example, it can include fixed connection, detachable connection, or integral connection; it can include direct connection, indirect connection through an intermediate medium, and internal communication between two elements. For ordinary technicians in this field, the specific meanings of the above terms in this application can be understood according to specific circumstances.
[0133] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include at least one of the features. In the description of this application, the meaning of "plurality" is at least two, such as two, three, etc., unless otherwise clearly and specifically defined.
[0134] Any process or method description in a flowchart or otherwise described herein may be understood to represent a module, fragment or portion of code that includes one or more executable instructions for implementing the steps of a specific logical function or process, and the scope of the preferred embodiments of the present application includes alternative implementations in which functions may not be performed in the order shown or discussed, including performing functions in a substantially simultaneous manner or in reverse order depending on the functions involved, which should be understood by technicians in the technical field to which the embodiments of the present application belong.
[0135] Although the embodiments of the present application have been shown and described above, it can be understood that the above embodiments are exemplary and cannot be understood as limitations on the present application. Ordinary technicians in this field can change, modify, replace and modify the above embodiments within the scope of the present application.
Claims
1. A login verification method, characterized in that: The login verification method comprises: Get the user's login request; If it is not the first time for the user to log in, determine the user's login environment information according to the login request; In the case where the login environment information is different from the preset login environment information, a login verification request is sent to a login administrator of the user group to which the user belongs, so as to verify the login authority of the user through the login administrator.
2. The login verification method according to claim 1, characterized in that: The login environment information includes the network IP, physical address and / or device code of the user, and when the login environment information is different from the preset login environment information, sending a login verification request to a login administrator of the user group to which the user belongs includes: When at least one of the network IP, the physical address, and the device code is different from the preset login environment information, a login verification request is sent to a login administrator of the user group to which the user belongs.
3. The login verification method according to claim 1, characterized in that: The login verification method further includes: When the login environment information is the same as the preset login environment information, it is determined that the user can log in.
4. The login verification method according to claim 1, characterized in that: The login verification method further includes: When the user logs in for the first time, a login verification request is sent to the login administrator of the user group to which the user belongs.
5. The login verification method according to claim 1, characterized in that: The login verification method further includes: Determine the current password input by the user according to the login request; If the current password and the preset password are the same and it is not the first time for the user to log in, determine the login environment information of the user according to the login request; When the current password is different from the preset password, a prompt message indicating that the login verification has failed is sent to the user.
6. The login verification method according to claim 1, characterized in that: The login verification method further includes: If the number of abnormal users in the user group is greater than a set number within a set time, a login risk indicator is set for the user group, wherein the abnormal user is a user whose login environment information is different from the preset login environment information.
7. The login verification method according to claim 6, characterized in that: After obtaining the user's login request, the login verification method further includes: Determining the user group to which the user belongs according to the login request and the preset corresponding relationship; In the case where the login risk identifier exists in the user group, sending the login request to a login administrator of the user group; In a case where the login risk identifier does not exist in the user group, the login environment information of the user is determined according to the login request.
8. The login verification method according to claim 1, characterized in that: The login verification method further includes: After at least one user receives an invitation request to join the user group, establishing the user group, the user group including the logged-in administrator and the user receiving the invitation request; A corresponding relationship between the user group and the users in the user group is established.
9. A computer device, characterized in that: The computer device includes one or more processors and a memory, the memory stores a computer program, and when the computer program is executed by the processor, the steps of the login verification method according to any one of claims 1 to 8 are implemented.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the steps of the login verification method described in any one of claims 1 to 8 are implemented.
