Login verification method and device, electronic equipment and nonvolatile storage medium
Verifying user login information through various verification methods solves the problem of multiple wrong passwords caused by specific groups of people due to unskilled operation, improves the login success rate, and reduces user login troubles and business loss.
Patent Information
- Application Number
- CN202410867491.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-28
- Publication Date
- 2024-11-01
- Estimated Expiration
- 2044-06-28
AI Technical Summary
Specific groups of people such as elderly people and disabled people log in to the client or website due to inexperienced operation, resulting in the inability to log in, which affects the user experience and causes business loss.
By receiving the login information entered by the user, it is determined whether it is consistent with the preset information stored in the database. If it is inconsistent, it is determined whether the user is a specific type of user, and through various verification methods (including password rough judgment, approximate judgment and parameter judgment) Verify the login information and the preset conditions are met to log in successfully.
It solves the problem of multiple wrong passwords caused by specific groups of people due to unskilled operation, improves the login success rate, and reduces user login troubles and business loss.
Smart Images

Figure CN118890170A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of network technology and security, and specifically, to a login verification method, device, electronic device and non-volatile storage medium. Background Art
[0002] With the development of the Internet and the popularization of smart phones, many businesses are handled through mobile apps or websites. In order to ensure the security of personal information, each app or website operator will conduct security verification for the user's login behavior.
[0003] At present, the commonly used login verification method is usually to verify the information entered by the user, including the account password and the SMS verification code. The verification is passed only when every character in the above information is correct. However, for some specific operators, such as the elderly and the disabled, these people are not proficient in the operation of smartphones or websites, and they input information slowly. Once an error occurs, they need to re-enter the information. As the number of input errors increases, it is easy to cause irritability and affect the accuracy of password typing. Multiple password errors will also cause account lockout, affecting user login, greatly affecting the user's login experience, bringing many inconveniences to users, and causing users to refuse to log in to the APP, resulting in business loss.
[0004] To address the above-mentioned problems, no effective solution has been proposed yet. Summary of the invention
[0005] The embodiments of the present application provide a login verification method, device, electronic device and non-volatile storage medium to at least solve the technical problem of being unable to log in due to multiple incorrect password inputs by a specific group of people when logging into a client or website due to their lack of familiarity with the operation of the input device.
[0006] According to one aspect of an embodiment of the present application, a login verification method includes: receiving login information input by a target object on a login page, wherein the login information includes a user name and a user password of the target object; judging whether the login information is consistent with preset information stored in a database, and obtaining a judgment result; if the judgment result indicates that the login information is inconsistent with the preset information, determining whether the target object is a user of a target type, and if the target object is a user of the target type, verifying the login information through multiple verification methods to obtain a verification result; if the verification result meets the preset conditions, determining that the target object has successfully logged in.
[0007] In some embodiments of the present application, determining whether the target object is a target type user includes: when the user name of the target object is consistent with the user name in the preset information, obtaining the registration information of the target object, wherein the registration information includes the age information of the target object and the health status of the target object; when the age information of the target object is greater than or equal to the preset age and / or the health status of the target object is unhealthy, determining that the target object is a target type user; when the age information of the target object is less than the preset age or the health status of the target object is healthy, determining that the target object is a non-target type user, and returning to the login page to log in again.
[0008] In some embodiments of the present application, the login information is verified through multiple verification methods, including: obtaining the number of characters that are inconsistent between the user password and the password in the preset information; when the number of characters is less than or equal to the preset number, completing the first verification method among the multiple verification methods; when the number of characters is greater than the preset number, completing the first verification method and increasing the number of errors once.
[0009] In some embodiments of the present application, login information is verified through multiple verification methods, including: after completing the first verification method, obtaining a first character string consisting of incorrectly entered characters in the user password, and obtaining a second character string corresponding to the incorrectly entered characters in the preset information; comparing the first character string and the second character string to obtain a comparison result; when the comparison result indicates that there is no case error or adjacent key error between the first character string and the second character string, completing the second verification method among the multiple verification methods; when the comparison result indicates that there is a case error or adjacent key error between the first character string and the second character string, completing the second verification method and increasing the number of errors by one.
[0010] In some embodiments of the present application, login information is verified by multiple verification methods, including: after completing the second verification method, determining a character group obtained by combining adjacent characters in the password in the preset information to obtain multiple comparison character groups; determining the total comparison input time of the password corresponding to each comparison character group and the comparison input interval time between characters; determining an input character group obtained by combining characters in the user password to obtain multiple input character groups; determining the total input time of the password corresponding to each input character group and the input interval time between characters; when the comparison character group and the input character group are consistent, judging whether the total input time and the input interval time are less than or equal to the comparison input total time and the comparison input interval time, and obtaining a first judgment result; when the first judgment result indicates that the total input time is less than or equal to the comparison input total time, and / or the input interval time is less than or equal to the comparison input interval time, completing a third verification method among the multiple verification methods; when the first judgment result indicates that the total input time is greater than the comparison input total time, and / or the input interval time is greater than the comparison input interval time, completing the third verification method and increasing the number of errors by one.
[0011] In some embodiments of the present application, when the verification result meets the preset conditions, it is determined that the target object has successfully logged in, including: after completing the third verification method, determining the total number of errors corresponding to the target object; when the total number of errors is less than the preset number of errors, determining that the verification result meets the preset conditions, and determining that the target object has successfully logged in.
[0012] In some embodiments of the present application, when the verification result does not meet the preset conditions, it is determined that the target object has failed to log in, and returns to the login page to log in again.
[0013] According to another aspect of an embodiment of the present application, a login verification device is also provided, including: a receiving module, used to receive login information entered by a target object on a login page, wherein the login information includes a user name and a user password of the target object; a judgment module, used to judge whether the login information is consistent with preset information stored in a database, and obtain a judgment result; a verification module, used to determine whether the target object is a user of a target type when the judgment result indicates that the login information is inconsistent with the preset information, and when the target object is a user of the target type, verify the login information through multiple verification methods to obtain a verification result; a determination module, used to determine that the target object has successfully logged in when the verification result meets the preset conditions.
[0014] According to another aspect of an embodiment of the present application, a non-volatile storage medium is further provided, in which a program is stored, wherein when the program is running, the device where the non-volatile storage medium is located is controlled to execute the above-mentioned login verification method.
[0015] According to another aspect of an embodiment of the present application, an electronic device is further provided, including: a memory and a processor, the processor being configured to run a program stored in the memory, wherein the above-mentioned login verification method is executed when the program is run.
[0016] According to another aspect of an embodiment of the present application, a computer program product is also provided, including computer instructions, which implement the above-mentioned login verification method when executed by a processor.
[0017] In an embodiment of the present application, the login information input by the target object on the login page is received, wherein the login information includes the user name and user password of the target object; it is determined whether the login information is consistent with the preset information stored in the database to obtain a judgment result; when the judgment result indicates that the login information is inconsistent with the preset information, it is determined whether the target object is a user of the target type, and when the target object is a user of the target type, the login information is verified by multiple verification methods to obtain a verification result; when the verification result meets the preset conditions, the method for the target object to successfully log in is determined, by receiving the login information input by the user and comparing it with the correct information in the database, and when it cannot be completely matched, it is determined whether the user is a specific user, and multiple rounds of verification are performed on the login information input by the user, and the login information is successfully logged in if the verification result is met, thereby achieving the purpose of successfully logging in for a specific user group through multiple verifications even if the login password entered does not completely match the correct password, without the need to repeatedly enter the password, thereby solving the technical problem of being unable to log in due to multiple wrong passwords entered due to the lack of familiarity with the operation of the input device by a specific group of people when logging in to the client or website. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] The drawings described herein are used to provide a further understanding of the present application and constitute a part of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:
[0019] Figure 1 It is a hardware structure block diagram of a computer terminal for implementing a login verification method provided in an embodiment of the present application;
[0020] Figure 2 It is a flowchart of a login verification method provided according to an embodiment of the present application;
[0021] Figure 3 It is a module diagram of a login verification method provided according to an embodiment of the present application;
[0022] Figure 4 It is a structural diagram of a login verification device provided according to an embodiment of the present application. DETAILED DESCRIPTION
[0023] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present application.
[0024] It should be noted that the terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0025] In order to better understand the embodiments of the present application, the technical terms involved in the embodiments of the present application are explained as follows:
[0026] Application (APP): It generally refers to third-party application software in smartphones, which is software generated through analysis, design, coding, and generation. Its role is to improve the deficiencies of the mobile phone system and personalize it, making its mobile phone functions more complete and providing users with a better experience.
[0027] Rough judgment of login password: Rough judgment of password means judging the number of incorrect characters. When the number of incorrect characters exceeds the allowed range, the number of failed logins is accumulated and then an approximate judgment is made. When the number of incorrect characters is within the allowed range, an approximate judgment is made.
[0028] Approximate judgment of login password: that is, compare the incorrectly entered characters with the correct characters. If the characters are case incorrect or the characters represented by the adjacent keys in the keystroke, the number of login failures will be accumulated and then the login parameter judgment will be performed. If the characters are not case incorrect or the characters represented by the adjacent keys in the keystroke, the login parameter judgment will be performed.
[0029] In the related art, the commonly used verification method is usually to verify the information input by the user, including the account password and the SMS verification code. Only when these information are correct can the verification be passed. However, for some specific operators, they are not proficient in the operation of smart phones and websites, and the speed of inputting information is very slow. Once an input error occurs, re-entering will cause great trouble to this group. As the number of input errors increases, it will not only affect the accuracy of the input password, but also reduce the user experience. Therefore, there is a problem that a specific group of people are not proficient in the operation of the input device when logging in to the client or website, resulting in multiple wrong password inputs, causing business loss due to inability to log in. In order to solve this problem, a relevant solution is provided in the embodiment of the present application, which is described in detail below.
[0030] According to an embodiment of the present application, a method embodiment of a login verification method is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.
[0031] The method embodiments provided in the embodiments of the present application can be executed in a mobile terminal, a computer terminal or a similar computing device. Figure 1 FIG. 1 shows a hardware structure block diagram of a computer terminal for implementing a login verification method. Figure 1 As shown, the computer terminal 10 may include one or more (102a, 102b, ..., 102n are used to illustrate) processors 102 (the processor 102 may include but is not limited to a processing device such as a microprocessor MCU or a programmable logic device FPGA), a memory 104 for storing data, and a transmission module 106 for communication functions. In addition, it may also include: a display, an input / output interface (I / O interface), a universal serial bus (USB) port (which may be included as one of the ports of the BUS bus), a network interface, a power supply and / or a camera. It can be understood by those skilled in the art that Figure 1 The structure shown is only for illustration and does not limit the structure of the above electronic device. Figure 1 More or fewer components as shown, or with Figure 1 Different configurations are shown.
[0032] It should be noted that the one or more processors 102 and / or other data processing circuits described above may generally be referred to herein as "data processing circuits". The data processing circuits may be embodied in whole or in part as software, hardware, firmware, or any other combination thereof. In addition, the data processing circuit may be a single independent processing module, or may be incorporated in whole or in part into any of the other components in the computer terminal 10. As described in the embodiments of the present application, the data processing circuit acts as a processor control (e.g., selection of a variable resistor terminal path connected to an interface).
[0033] The memory 104 can be used to store software programs and modules of application software, such as the program instructions / data storage device corresponding to the login verification method in the embodiment of the present application. The processor 102 executes various functional applications and data processing by running the software programs and modules stored in the memory 104, that is, the above-mentioned login verification method is realized. The memory 104 may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some instances, the memory 104 may further include a memory remotely arranged relative to the processor 102, and these remote memories may be connected to the computer terminal 10 via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0034] The transmission device 106 is used to receive or send data via a network. The specific example of the above network may include a wireless network provided by a communication provider of the computer terminal 10. In one example, the transmission device 106 includes a network adapter (Network Interface Controller, NIC), which can be connected to other network devices through a base station so as to communicate with the Internet. In one example, the transmission device 106 can be a radio frequency (RF) module, which is used to communicate with the Internet wirelessly.
[0035] The display may be, for example, a touch screen liquid crystal display (LCD) that enables a user to interact with a user interface of the computer terminal 10 .
[0036] In the above operating environment, the embodiment of the present application provides a login verification method. Figure 2 is a flowchart of a login verification method provided according to an embodiment of the present application, such as Figure 2 As shown, the method comprises the following steps:
[0037] Step S202: receiving login information input by the target object on the login page, wherein the login information includes the user name and password of the target object.
[0038] In the technical solution provided in step S202, the login page can be a mobile phone APP, website or client, etc. The user name of the target object in the login information can be a mobile phone number or ID number, etc. The device that receives the login information entered by the target object on the login page can be a server connected to the client, etc.
[0039] Step S204, determining whether the login information is consistent with the preset information stored in the database, and obtaining a determination result.
[0040] In the technical solution provided in step S204, there are many ways to determine whether the login information is consistent with the preset information stored in the database. For example, the judgment can be made in the following way: when the user name of the target object is consistent with the user name in the preset information, that is, there is a matching relationship between the user name in the input login information and the user name stored in the database, determine whether the password in the input login information is consistent with the user password of the user to which the user name stored in the database belongs. If they are consistent, it means that the password is completely correct and the login is successful. If they are inconsistent, it is determined whether the user is a user of the target type, that is, a specific user. For example, the specific user is a user whose health status selected during registration is unhealthy, such as a disabled person. The specific user can also be an elderly person whose age is greater than the preset age.
[0041] Step S206, when the judgment result indicates that the login information is inconsistent with the preset information, determine whether the target object is a user of the target type. When the target object is a user of the target type, verify the login information through multiple verification methods to obtain a verification result.
[0042] In the technical solution provided in step S204, when the judgment result indicates that the login information and the preset information are inconsistent, there are multiple ways to determine whether the target object is a target type of user. For example, it can be determined in the following way: when the user name of the target object is consistent with the user name in the preset information, the registration information of the target object is obtained, wherein the registration information includes the age information of the target object and the health status of the target object; when the age information of the target object is greater than or equal to the preset age and / or the health status of the target object is unhealthy, for example, the preset age may be 55 years old, the target object is determined to be a target type of user; when the age information of the target object is less than the preset age or the health status of the target object is healthy, the target object is determined to be a non-target type of user, and the login page is returned to log in again.
[0043] The following is a specific embodiment: the input login information is searched in a database, wherein the database stores the registration information of all users. The search method can be to match the input login information in the database to obtain the corresponding registration information of the user stored in the database, wherein the registration information includes but is not limited to the age information of the target object and the health status of the target object. For example, the age information can be obtained by directly viewing the age field in the registration information, or by viewing the age in the age field in the ID card number. For example, the health status of the target object can be selected through a radio button or a drop-down menu, such as providing two options of healthy and unhealthy for the user to choose, and the user must and can only select one of them. When the age information of the target object is greater than or equal to the preset age and / or the health status of the target object is unhealthy, the target object is determined to be a target type user, that is, a specific user; when the age information of the target object is less than the preset age or the health status of the target object is healthy, the target object is determined to be a non-target type user, and the login page is returned to log in again.
[0044] The following is an optional method for determining whether a user is a user of the target type: searching the input login information in a database, wherein the database stores registration information of all users. The search method may be to match the input login information in the database to obtain the corresponding historical login information of the user stored in the database, wherein the historical login information is the user login account, password and login time saved when the historical login is successful. The corresponding registration information can be found through the historical login information, thereby determining whether the user is a specific user.
[0045] In the technical solution provided in step S204, since the login information is extremely private and secure data, multiple factors must be considered in the process of verifying the login information. For example, the login information can be verified through multiple verification methods for the user to log in. For example, the login information can be verified from different aspects through three different verification methods.
[0046] The first verification method in the above technical solution can be a rough judgment method of the login password, which is used to determine whether the number of login passwords in the login information meets the requirements, and obtain the number of characters that are inconsistent between the user password and the password in the preset information; when the number of characters is less than or equal to the preset number, complete the first verification method among multiple verification methods; when the number of characters is greater than the preset number, complete the first verification method and increase the number of errors once. For example, the number of login passwords can be set to 18 digits or more, including uppercase and lowercase letters and English, and the preset number can be 5.
[0047] The second verification method in the above technical solution can be an approximate judgment method, which is used to judge the type of incorrect characters in the login password in the login information. After completing the first verification method, a first character string composed of incorrect characters in the user password is obtained, that is, the password manually entered by the user, and a second character string corresponding to the incorrect characters in the preset information is obtained, that is, the correct password stored in the database; the first character string and the second character string are compared to obtain a comparison result; when the comparison result indicates that there is no case error or adjacent key error between the first character string and the second character string, the second verification method among multiple verification methods is completed; when the comparison result indicates that there is a case error or adjacent key error between the first character string and the second character string, the second verification method is completed and the number of errors is increased once.
[0048] The following is a specific embodiment:
[0049] For example, the correct password stored in the database for a specific user is 1234Aa, but if the user enters the password as 1234AA when entering login information, it is a case error; if the user enters the password as 1234As when entering login information, it is an adjacent key error.
[0050] The third verification method in the above technical solution can be a parameter judgment, which is used to judge the specific content of the input characters in the login information for verification. After completing the second verification method, determine the character group obtained by combining adjacent characters in the password in the preset information to obtain multiple comparison character groups; determine the total comparison input time of the password corresponding to each comparison character group and the comparison input interval time between characters; determine the input character group obtained by combining characters in the user password to obtain multiple input character groups; determine the total input time of the password corresponding to the input character group and the input interval time between characters; when the comparison character group and the input character group are consistent, judge whether the total input time and the input interval time are less than or equal to the comparison input total time and the comparison input interval time to obtain a first judgment result; when the first judgment result indicates that the total input time is less than or equal to the comparison input total time, and / or the input interval time is less than or equal to the comparison input interval time, complete the third verification method among multiple verification methods; when the first judgment result indicates that the total input time is greater than the comparison input total time, and / or the input interval time is greater than the comparison input interval time, complete the third verification method and increase the number of errors once.
[0051] The following is a specific embodiment:
[0052] For example, the correct password of a specific user stored in the database is 1234Aa, and the character group obtained by combining adjacent characters is obtained to obtain multiple comparison character groups, that is, 1234Aa is combined into {12, 23, 34, 4A, Aa}, {12, 23, 34, 4A, Aa} is the comparison character group, the comparison input total time is the time when the group of passwords is input, and the comparison input interval time between characters is the time interval between each input character and the adjacent characters. The input character group obtained by combining characters in the user password is determined, and multiple input character groups are obtained, that is, the user enters the password into {12, 23, 34, 4A, Aa} when entering the login information. 1235Ca, then multiple input character groups can be expressed as: {12, 13, 14, 15, 1C, 1a, 23, 24, 25, 2C, 2a, 35, 3C, 3a, 5C, 5a, Ca}, select the input character group that is the same as the above-mentioned control character group, and determine whether the total input duration and the input interval duration are less than or equal to the control input total duration and the control input interval duration to obtain a first judgment result; when the first judgment result indicates that the total input duration is less than or equal to the control input total duration, and / or the input interval duration is less than or equal to the control input interval duration, complete the third verification method among the multiple verification methods.
[0053] Step S208: When the verification result meets the preset conditions, it is determined that the target object has successfully logged in.
[0054] In the technical solution provided in step S208, after completing the third verification method, the total number of errors corresponding to the target object is determined, that is, the accumulation of the number of errors in the above steps; when the total number of errors is less than the preset number of errors, it is determined that the verification result meets the preset conditions and that the target object has logged in successfully. For example, the preset number of errors can be 2.
[0055] Figure 3 is a module diagram of a login verification method provided according to an embodiment of the present application, such as Figure 3 As shown, it includes: a login module, a verification module and a failure number determination module;
[0056] First, the user enters the login information through the login module at the beginning. The system determines whether the login information is consistent with the login information stored in the database. If they are consistent, the password matches and the login is successful. If they are inconsistent (or the passwords do not match), it enters the verification module. The verification module includes a specific user judgment module, a password rough judgment module, an approximate judgment module and a parameter comparison module. The execution order of the above modules is fixed. The next module can be executed only after the previous module is executed. If the module is judged to be passed, the next module will be executed. If the module fails, the number of failures will be increased by 1. The specific user judgment module is used to determine whether the user belongs to the target type of user. The password rough judgment module is used to determine whether the number of login passwords in the login information meets the requirements. The approximate judgment module is used to determine the type of incorrect characters in the login password in the login information. The parameter comparison module is used to determine the specific content of the input characters in the login information for verification. When the total number of errors is less than the preset number of errors, the failure number judgment module determines that the verification result meets the preset conditions and determines that the target object has logged in successfully.
[0057] The specific implementation method of the above-mentioned specific user determination module is: when the user name of the target object is consistent with the user name in the preset information, the registration information of the target object is obtained, wherein the registration information includes the age information of the target object and the health status of the target object; when the age information of the target object is greater than or equal to the preset age and / or the health status of the target object is unhealthy, the target object is determined to be a user of the target type; when the age information of the target object is less than the preset age or the health status of the target object is healthy, the target object is determined to be a user of the non-target type, and returns to the login page to log in again; the specific implementation method of the password rough judgment module is: obtain the number of characters that are inconsistent between the user password and the password in the preset information; when the number of characters is less than or equal to the preset number, complete the first verification method among multiple verification methods; when the number of characters is greater than the preset number, complete the first verification method and increase the number of errors once; the specific implementation method of the approximate judgment module is: after completing the first verification method, obtain a first character string composed of the wrongly entered characters in the user password, and obtain a second character string corresponding to the wrongly entered characters in the preset information; compare the first character string and the second character string to obtain a comparison result; when the comparison result indicates that there is no case error or the first character string is the same as the second character string, In the case of an adjacent key error, the second verification method is completed; in the case where the comparison result indicates that there is a case error or an adjacent key error between the first character string and the second character string, the second verification method is completed and the number of errors is increased once; the specific execution method of the parameter comparison module is as follows: after completing the second verification method, determine the character group obtained by combining adjacent characters in the password in the preset information to obtain multiple comparison character groups; determine the total comparison input time of the password corresponding to each comparison character group and the comparison input interval time between characters; determine the input character group obtained by combining characters in the user password to obtain multiple input character groups; determine the password corresponding to each input character group The total input time of the code and the input interval time between characters; when the control character group and the input character group are consistent, determine whether the total input time and the input interval time are less than or equal to the control input total time and the control input interval time, and obtain a first judgment result; when the first judgment result indicates that the total input time is less than or equal to the control input total time, and / or the input interval time is less than or equal to the control input interval time, complete the third verification method; when the first judgment result indicates that the total input time is greater than the control input total time, and / or the input interval time is greater than the control input interval time, complete the second verification method and increase the number of errors once.
[0058] Figure 4 is a structural diagram of a login verification device provided according to an embodiment of the present application, such as Figure 4 As shown, it includes: a receiving module 40, a judging module 42, a verifying module 44, and a determining module 46.
[0059] The receiving module 40 is used to receive the login information input by the target object on the login page, wherein the login information includes the user name and user password of the target object.
[0060] The judgment module 42 is used to judge whether the login information is consistent with the preset information stored in the database, and obtain a judgment result.
[0061] The verification module 44 is used to determine whether the target object is a user of the target type when the judgment result indicates that the login information is inconsistent with the preset information. When the target object is a user of the target type, the login information is verified by multiple verification methods to obtain a verification result.
[0062] The determination module 46 is used to determine that the target object has successfully logged in when the verification result meets the preset conditions.
[0063] It should be noted that the various modules in the above-mentioned login verification method can be program modules (for example, a set of program instructions that implement a certain specific function) or hardware modules. For the latter, it can be expressed in the following forms, but is not limited to this: the expression form of each of the above-mentioned modules is a processor, or the functions of each of the above-mentioned modules are implemented by a processor.
[0064] in addition, Figure 4 The login verification device shown is used to execute Figure 2 A login verification method shown, so Figure 2 The relevant explanations in also apply to the login verification device and will not be repeated here.
[0065] The embodiment of the present application also provides a non-volatile storage medium, the non-volatile storage medium includes a stored program, wherein when the program is running, the device where the non-volatile storage medium is located is controlled to execute the above-mentioned login verification method. For example, receiving the login information entered by the target object on the login page, wherein the login information includes the user name and user password of the target object; judging whether the login information is consistent with the preset information stored in the database, and obtaining a judgment result; if the judgment result indicates that the login information is inconsistent with the preset information, determining whether the target object is a user of the target type, and if the target object is a user of the target type, verifying the login information through multiple verification methods to obtain a verification result; if the verification result meets the preset conditions, determining that the target object has successfully logged in.
[0066] The embodiment of the present application also provides an electronic device, the electronic device includes a processor, the processor is used to run a program, wherein the above-mentioned login verification method is executed when the program is running. For example, receiving login information input by the target object on the login page, wherein the login information includes the user name and user password of the target object; judging whether the login information is consistent with the preset information stored in the database, and obtaining a judgment result; if the judgment result indicates that the login information is inconsistent with the preset information, determining whether the target object is a user of the target type, and if the target object is a user of the target type, verifying the login information through multiple verification methods, and obtaining a verification result; if the verification result meets the preset conditions, determining that the target object has successfully logged in.
[0067] According to another aspect of the embodiment of the present application, a computer program product is also provided, including a computer program, which implements the above-mentioned login verification method when executed by a processor. For example, receiving login information input by a target object on a login page, wherein the login information includes a user name and a user password of the target object; judging whether the login information is consistent with preset information stored in a database, and obtaining a judgment result; if the judgment result indicates that the login information is inconsistent with the preset information, determining whether the target object is a user of the target type, and if the target object is a user of the target type, verifying the login information through multiple verification methods, and obtaining a verification result; if the verification result meets the preset conditions, determining that the target object has successfully logged in.
[0068] In the above embodiments of the present application, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, please refer to the relevant description of other embodiments.
[0069] In the several embodiments provided in this application, it should be understood that the disclosed technical content can be implemented in other ways. Among them, the device embodiments described above are only schematic. For example, the division of the units can be a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of units or modules, which can be electrical or other forms.
[0070] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple units. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.
[0071] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0072] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application, or the part that contributes to the relevant technology or all 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 a computer device (which can be a personal computer, a server or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, disk or optical disk, etc. Various media that can store program codes.
[0073] The above is only a preferred implementation of the present application. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present application. These improvements and modifications should also be regarded as the scope of protection of the present application.
Claims
1. A login verification method, It is characterized in that include: Receiving login information input by the target object on a login page, wherein the login information includes a user name and a user password of the target object; Determine whether the login information is consistent with the preset information stored in the database, and obtain a determination result; If the judgment result indicates that the login information is inconsistent with the preset information, determining whether the target object is a user of the target type, and if the target object is a user of the target type, verifying the login information through multiple verification methods to obtain a verification result; When the verification result satisfies a preset condition, it is determined that the target object has successfully logged in.
2. The method according to claim 1, It is characterized in that Determining whether the target object is a user of the target type includes: When the user name of the target object is consistent with the user name in the preset information, obtaining registration information of the target object, wherein the registration information includes age information of the target object and health status of the target object; In a case where the age information of the target object is greater than or equal to a preset age and / or the health status of the target object is unhealthy, determining that the target object is a user of the target type; In the case that the age information of the target object is less than the preset age or the health status of the target object is healthy, the target object is determined to be a non-target type user, and the user returns to the login page to log in again.
3. The method according to claim 2, It is characterized in that The login information is verified through a variety of verification methods, including: Obtain the number of characters that are inconsistent between the user password and the password in the preset information; When the number of characters is less than or equal to the preset number, completing the first verification method among the multiple verification methods; When the number of characters is greater than the preset number, the first verification method is completed and the number of errors is increased once.
4. The method according to claim 3, It is characterized in that The login information is verified through a variety of verification methods, including: After completing the first verification method, obtaining a first character string composed of incorrectly input characters in the user password, and obtaining a second character string corresponding to the incorrectly input characters in the preset information; Comparing the first character string with the second character string to obtain a comparison result; When the comparison result indicates that there is no capitalization error or adjacent key error between the first character string and the second character string, performing a second verification method among the multiple verification methods; When the comparison result indicates that the first character string and the second character string have the capitalization error or the adjacent key error, the second verification method is completed and the error count is increased once.
5. The method according to claim 4, It is characterized in that The login information is verified through a variety of verification methods, including: After completing the second verification method, determining a character group obtained by combining adjacent characters in the password in the preset information to obtain a plurality of comparison character groups; Determine the total comparison input time of the password corresponding to each comparison character group and the comparison input interval time between characters; Determine an input character group obtained by combining characters in the user password to obtain multiple input character groups; Determine the total input time of the password corresponding to each input character group and the input interval time between characters; In the case where the comparison character group and the input character group are consistent, determining whether the total input duration and the input interval duration are less than or equal to the comparison input total duration and the comparison input interval duration, and obtaining a first determination result; When the first judgment result indicates that the total input duration is less than or equal to the total input duration of the control, and / or the input interval duration is less than or equal to the input interval duration of the control, completing a third verification method among the multiple verification methods; When the first judgment result indicates that the total input duration is greater than the total control input duration, and / or the input interval duration is greater than the control input interval duration, the third verification method is completed and the number of errors is increased by one.
6. The method according to claim 5, It is characterized in that When the verification result satisfies a preset condition, determining that the target object has successfully logged in includes: After completing the third verification method, determining the total number of errors corresponding to the target object; When the total number of errors is less than the preset number of errors, it is determined that the verification result meets the preset condition and that the target object has successfully logged in.
7. The method according to claim 1, It is characterized in that The method further comprises: In the case that the verification result does not satisfy the preset condition, it is determined that the target object has failed to log in, and the target object is returned to the login page to log in again.
8. A login verification device, It is characterized in that include: A receiving module, configured to receive login information input by a target object on a login page, wherein the login information includes a user name and a user password of the target object; A judgment module, used to judge whether the login information is consistent with the preset information stored in the database, and obtain a judgment result; A verification module, configured to determine whether the target object is a user of a target type if the judgment result indicates that the login information is inconsistent with the preset information, and to verify the login information through multiple verification methods to obtain a verification result if the target object is a user of the target type; The determination module is used to determine that the target object has successfully logged in if the verification result meets a preset condition.
9. A non-volatile storage medium, It is characterized in that The non-volatile storage medium stores a program, wherein when the program is running, the device where the non-volatile storage medium is located is controlled to execute the login verification method described in any one of claims 1 to 7.
10. An electronic device, It is characterized in that include: A memory and a processor, wherein the processor is used to run a program stored in the memory, wherein the program executes the login verification method described in any one of claims 1 to 7 when running.
11. A computer program product comprising computer instructions, It is characterized in that When the computer instructions are executed by a processor, the login verification method described in any one of claims 1 to 7 is implemented.
Citation Information
Patent Citations
Method and system for conducting safety certification by input rhythms
CN104283679A
Website login authentication method and device
CN105577692A
Multi-dimensional user identity verification method and device
CN107632722A
Login authentication method and device, computer equipment and storage medium
CN108449323A
A login authentication method based on text password
CN108985045A
