User login verification method, device, equipment and storage medium
Patent Information
- Application Number
- CN202211624826.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-12-16
- Publication Date
- 2026-11-03
- Estimated Expiration
- 2042-12-16
AI Technical Summary
In existing technologies, during the user login verification process, the user account and password need to be entered in separate text boxes, which makes the login process cumbersome and inefficient, and slows down the user's access to network services.
The system uses custom special characters to recognize and segment user-input strings in the same text box, automatically recognizing and segmenting them into multiple user login information, such as user account, password, and other input items, and generating a user login request for verification.
It enables users to enter their usernames and passwords simultaneously, improving login efficiency, enhancing the user experience of accessing online services, and saving users time while ensuring security.
Smart Images

Figure CN116192445B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the fields of network technology and security technology, and in particular to a user login verification method, a user login verification device, a corresponding electronic device, and a corresponding computer storage medium. Background Technology
[0002] With the development of network technology, the internet and mobile internet have become increasingly advanced, leading to a rapid increase in the number of users. Various network services and applications are constantly being updated and improved, becoming more and more convenient for users. Among these network services and applications, some have a certain degree of privacy and confidentiality, requiring user authentication before use. Examples include personal email, instant messaging clients, and online games. These services and applications all require users to complete authentication and authorization procedures before accessing the corresponding web pages and applications is granted by the relevant servers.
[0003] For some online services that require user authentication, the related technologies for user login verification still need to provide text boxes for users to enter their username and password. Under this login method, the user login process is still cumbersome and will slow down the user login speed to some extent. Summary of the Invention
[0004] In view of the above problems, embodiments of the present invention are proposed to provide a user login verification method, a user login verification device, a corresponding electronic device, and a corresponding computer storage medium to overcome or at least partially solve the above problems.
[0005] This invention discloses a user login verification method applied to a client, wherein the client communicates with a server, and the method includes: Responds to user input instructions for any string within the same text box; the arbitrary string contains multiple user login information entries identified based on custom special characters; A user login request is generated based on the multiple user login information and the custom special character, and the user login request is sent to the server; the user login request is used to instruct the server to verify user login based on the multiple user login information. Receive the user login verification result returned by the server in response to the user login request.
[0006] Optionally, the custom special character is used to split the input string into multiple user login information; the method further includes: Retrieves any string entered into the same text box; Based on the custom special characters, multiple user login information entries entered by the user in the same text box are displayed sequentially.
[0007] Optionally, the step of sequentially displaying multiple user login information entries entered by the user in the same text box based on the custom special characters includes: If any string entered by the user in the same text box contains the custom special character, the user can use the custom special character as a splitting point to split the arbitrary string into multiple substrings. The user login information corresponding to the information type of the substring is displayed in the preset order according to the information type of the substring.
[0008] Optionally, the multiple user login information includes at least a user account and a user password, and / or includes other input items besides the user account and user password; wherein the other input items include at least one of a login identifier and a treaty agreement identifier; The sequential display of multiple user login information entries entered by the user in the same text box includes: The received user accounts are displayed in plaintext or semi-encrypted, the received user passwords are displayed in encrypted form, and / or the received login identification code and / or the agreement identifier are displayed in plaintext.
[0009] This invention also discloses a user login verification method applied to a server, wherein the server and the client are connected in a communication connection, and the method includes: The system receives a user login request sent by the client, and responds to the user login request to obtain any string entered by the user, as well as custom special characters; wherein, any string entered by the user is input in the same text box; Based on the custom special characters, the arbitrary string is (automatically) identified to obtain multiple user login information; User login verification is performed based on the multiple user login information, and the corresponding user login verification result is returned to the client.
[0010] Optionally, before recognizing the arbitrary string based on the custom special character, the method further includes: Validate any string entered by the user in the user login request; The step of recognizing the arbitrary string based on the custom special characters to obtain multiple user login information includes: If the arbitrary string contains a custom special character, the arbitrary string is identified based on the custom special character to obtain multiple user login information.
[0011] Optionally, the custom special character is used for string splitting; the step of recognizing the arbitrary string based on the custom special character to obtain multiple user login information includes: Using the custom special character as the dividing position, the arbitrary string is divided into multiple substrings; Based on the preset order of the information types to which the substrings belong, the substrings in the corresponding order are determined to be the user login information of the corresponding information type.
[0012] Optionally, the user login verification result includes the corresponding web page information requested by the user and / or login failure information. The step of verifying user login based on the multiple user login information and returning the corresponding user login verification result to the client includes: Upon successful user login verification based on the multiple user login information, the system returns the corresponding web page information requested by the user to the client. And / or, in response to a failed user login verification based on the multiple user login information, a login failure message is returned to the client.
[0013] Optionally, the multiple user login information includes at least a user account and a user password, and / or includes other input items besides the user account and user password; wherein the other input items include at least one of a login identifier and a treaty agreement identifier; The step of verifying user login based on the multiple user login information includes: The login verification is performed sequentially using the login identification code, user account, user password, and agreement identifier.
[0014] This invention also discloses a user login verification device applied to a client, wherein the client is communicatively connected to a server, and the device includes: An input instruction response module is used to respond to user input instructions for any string based on the same text box; the arbitrary string contains multiple user login information based on custom special characters. The user login request generation module is used to generate a user login request based on the multiple user login information and the custom special characters, and send the user login request to the server; the user login request is used to instruct the server to perform user login verification based on the multiple user login information; The user login verification result receiving module is used to receive the user login verification result returned by the server in response to the user login request.
[0015] Optionally, the custom special character is used to split the input string into multiple user login information entries, and the device further includes: The arbitrary string acquisition module is used to acquire any string entered into the same text box; The user login information display module is used to sequentially display multiple user login information entries entered by the user in the same text box based on the custom special characters.
[0016] Optionally, the user login information display module includes: The string splitting submodule is used to respond to any string entered by the user in the same text box containing the custom special character, and to split the arbitrary string into multiple substrings using the custom special character as the splitting position; The user login information display submodule is used to display user login information corresponding to the information type of the substring in a preset order according to the information type to which the substring belongs.
[0017] Optionally, the multiple user login information includes at least a user account and a user password, and / or includes other input items besides the user account and user password; wherein the other input items include at least one of a login identifier and a treaty agreement identifier; The user login information display submodule includes: The user login information display unit is used to display the received user accounts in plaintext or semi-encrypted, to display the received user passwords in encrypted form, and / or to display the received login identification code and / or the agreement identifier in plaintext.
[0018] This invention also discloses a user login verification device applied to a server, wherein the server is communicatively connected to a client, and the device includes: The user login request response module is used to receive the user login request sent by the client, and respond to the user login request to obtain any string entered by the user, as well as custom special characters; wherein, the arbitrary string entered by the user is input based on the same text box; The user login information recognition module is used to recognize the arbitrary string based on the custom special characters to obtain multiple user login information. The user login verification module is used to verify user login based on the multiple user login information and return the corresponding user login verification result to the client.
[0019] Optionally, before recognizing the arbitrary string based on the custom special character, the device further includes: The string validation module is used to validate any string entered by the user in the user login request; Optionally, the user login information recognition module includes: The string recognition submodule is used to respond to any string containing custom special characters, and to recognize the arbitrary string based on the custom special characters to obtain multiple user login information.
[0020] Optionally, the custom special character is used for string splitting; the string recognition submodule includes: A string splitting unit is used to split the arbitrary string into multiple substrings using the custom special character as the splitting position; The user login information determination unit is used to determine the user login information of the corresponding information type by a substring in a preset order according to the information type to which the substring belongs.
[0021] Optionally, the user login verification result includes the corresponding web page information requested by the user and / or login failure information, and the user login verification module includes: The web page information return submodule is used to respond to the successful user login verification based on the multiple user login information and return the corresponding web page information requested by the user to the client. The login failure information return submodule is used to respond to the failure of user login verification based on the multiple user login information and return login failure information to the client.
[0022] Optionally, the plurality of user login information includes at least a user account and a user password, and / or includes other input items besides the user account and user password; wherein the other input items include at least one of a login identification code and a treaty agreement identifier; the user login verification module includes: The user login verification submodule is used to sequentially verify the login identification code, user account, user password, and agreement identifier for user login.
[0023] This invention also discloses an electronic device, including: a processor, a memory, and a computer program stored in the memory and capable of running on the processor, wherein the computer program, when executed by the processor, implements any of the user login verification methods described above.
[0024] This invention also discloses a computer-readable storage medium storing a computer program, which, when executed by a processor, implements any of the user login verification methods described above.
[0025] The embodiments of the present invention have the following advantages: In this embodiment of the invention, by responding to a user's input instruction for any string within the same text box, where the arbitrary string contains multiple user login information entries identified based on custom special characters, a user login request can be generated based on these multiple login entries and the custom special characters. This allows the server to verify the user login based on the multiple login entries and return the corresponding verification result to the client. The ability to automatically identify user login information from any string enables multiple login entries to be entered into the same text box at once, achieving rapid input of user login information. While ensuring the security of user authentication, this effectively improves the efficiency of users entering their usernames and passwords, enhances the user experience of accessing web pages and applications, and saves user time. Attached Figure Description
[0026] Figure 1 This is a schematic diagram of a user login page in the related technologies for user login verification. Figure 2 This is a flowchart illustrating the steps of an embodiment of the user login verification method of the present invention; Figure 3 This is a schematic diagram of a user login page for quickly entering user account and password, provided by an embodiment of the present invention; Figure 4 This is a flowchart illustrating the steps of another embodiment of the user login verification method of the present invention; Figure 5 This is a schematic diagram of an application scenario for user login verification provided in an embodiment of the present invention; Figure 6 This is a schematic diagram of the server data processing process provided in an embodiment of the present invention; Figure 7 This is a structural block diagram of an embodiment of a user login verification device according to the present invention; Figure 8 This is a structural block diagram of another embodiment of the user login verification device of the present invention. Detailed Implementation
[0027] To make the above-mentioned objects, features and advantages of the present invention more apparent and understandable, the present invention will be further described in detail below with reference to the accompanying drawings and specific embodiments.
[0028] Among various network services and applications, some network services have a certain degree of privacy and confidentiality, requiring user authentication before they can be used. Examples include personal email, instant messaging clients, and online games. When using these network services and applications, users are required to perform authentication and authorization operations so that the relevant servers can authenticate and authorize the user before the user can access the corresponding network pages and applications.
[0029] For certain online services that require user authentication, while the technologies related to user login verification have greatly simplified the input of user accounts and passwords, text boxes are still needed for users to enter their user accounts and passwords separately. Figure 1 The example shows that two text boxes need to be provided for user account and password input. For the client, users need to use the keyboard and mouse to log in. In this login method, the login process is still cumbersome, time-consuming and inefficient, which will slow down the login speed and result in a poor user experience for accessing the web pages and applications of a certain network service.
[0030] To further reduce the time spent entering user accounts and passwords, the core idea of this invention is to propose inputting user accounts and passwords simultaneously in the same text box. Specifically, the system can automatically recognize any string of user accounts and passwords entered in the same text box based on defined special characters, enabling simultaneous input of user accounts and passwords. This effectively improves the efficiency of user input while ensuring the security of user authentication, enhances the user's experience of accessing web pages and applications, and saves user time. Furthermore, the system can also display user accounts in plaintext or partially encrypted form, as well as encrypted passwords, further improving security while maintaining input convenience.
[0031] Reference Figure 2 This diagram illustrates a flowchart of an embodiment of a user login verification method according to the present invention. Applied to a client, the client communicates with a server, focusing on the user login process on the client, and specifically including the following steps: Step 201: Respond to the user's input command for any string based on the same text box; To further save time in entering user accounts and passwords, embodiments of the present invention can input user accounts and passwords in the same frame, enabling simultaneous input of user accounts and passwords.
[0032] In one embodiment of the present invention, when the client responds to the user's input instruction for any string based on the same text box, the arbitrary string entered by the user may contain custom special characters. The custom special characters can be used to automatically identify multiple user login information contained in the arbitrary string, automatically identify the user account and password of any string entered, and realize the simultaneous entry of user account and password without the user having to use the keyboard and mouse to enter data into the text boxes corresponding to the user login information.
[0033] The arbitrary string entered by the user at one time contains multiple user login information based on custom special characters. Specifically, the arbitrary string entered is split into multiple user login information based on custom special characters.
[0034] The word segmentation function of custom special characters can be mainly achieved through pre-defined semantics for these characters. Based on pre-defined semantic rules, the defined special characters can possess corresponding semantic parsing capabilities, enabling them to segment the input string. In specific implementations, word segmentation keyword groups can also exist to store characters after the semantic rules have been defined. That is, all characters contained in the word segmentation keyword group can be special characters capable of segmenting the input string.
[0035] In some embodiments of this application, while responding to a user's input command for any string in the same text box, the client can also display the input string on the user login page. Specifically, multiple user login information entries entered by the user in the same text box can be displayed sequentially based on custom special characters.
[0036] In practical applications, it can respond to any string entered by the user in the same text box containing custom special characters. Using the custom special characters as delimiters, the string can be split into multiple substrings. Then, the user login information corresponding to the information type of the substrings can be displayed in a preset order according to the information type of the substrings.
[0037] The user login information may include at least a user account and a user password, and / or other input items besides the user account and user password. These other input items may specifically include at least one of the following: a login identification code (e.g., a graphic verification code, a text verification code, a mathematical formula verification code, etc.) or a terms of agreement identifier (used to indicate the user's agreement to the terms of the agreement).
[0038] When displaying login information for multiple users sequentially, some user login information can be anonymized. The anonymized characters are then converted into encrypted symbols for display. Specifically, this can involve anonymizing the user account or a portion of the user account, as well as anonymizing all parts of the password. In other words, the received user account can be displayed in plaintext or semi-encrypted, the received user password can be displayed in encrypted form, and / or the received login identification code and / or agreement identifier can be displayed in plaintext.
[0039] It should be noted that, in order to meet the user's need to input while the input is displayed so that the user can confirm the symbols they have entered, special characters can be entered repeatedly after the entered user account. That is, if there are two special characters after the user account, the password input can be displayed in plain text. In addition, symbols such as "1" or "ALL" can be added after the special symbols after the entered password to indicate agreement to all agreements or policies, without the need for mouse operation to check.
[0040] For example, assuming a preset order based on the information type of the substring, it can be represented as "user account + user password + agreement identifier". Assuming the custom special character is the space bar, then after responding to the user's input command for any string within the same text box, it can be displayed as follows: Figure 3 As shown, the string "153XXXX_********_1" is displayed on the user login page. Here, "153XXXX" is a substring representing the user's account, "********" is a substring representing the user's password, and "1" can be a substring representing the user's agreement to the terms of service.
[0041] It should be noted that, generally speaking, to avoid the situation where a custom special character overlaps with a character in the login information of various users, the special character defined in this case can be a character that is not allowed to be part of the user account, password, or login identification code according to the general rules of the software implementation. Such characters include spaces, Ctrl keys, colons, and "@" keys. The general rules of the software can be dynamically changed based on the setting rules of the user account, password, and login identification code of the network service to be logged in. For example, if a network service requires that no symbols are allowed when setting the user account, password, and login identification code, and only uppercase and lowercase letters and numbers are allowed, then any symbol can exist as a special character for that network service. That is, according to the predefined semantic rules, the word segmentation keyword group can set the semantics corresponding to any symbol as a special character.
[0042] In a preferred embodiment, there may be cases where a custom special character overlaps with a character in each user's login information. In this case, a predefined escape character can be obtained. Suppose the password contains a special character that overlaps with a character in a word segmentation group. The overlapping character can be processed by the escape character so that the word segmentation algorithm can process the entered string. The specific definition of the escape character and the specific escape processing method are not described in detail in this embodiment of the invention.
[0043] Step 202: Generate a user login request based on multiple user login information and custom special characters, and send the user login request to the server; After responding to the user's input command of any string based on the same text box, since the arbitrary string contains multiple user login information based on custom special characters, the client can generate a user login request based on the multiple user login information and custom special characters, so that the server can verify the user login information entered by the user on the login interface.
[0044] In practical applications, the client can send the generated user login request to the server to instruct the server to verify the user login based on multiple user login information.
[0045] Specifically, after receiving a user login request from a client, the server can validate any string entered by the user in the login request to determine whether the string contains custom special characters. If the string contains custom special characters, it can identify the string based on the custom special characters to obtain multiple user login information. Then, it can sequentially verify the login identification code, user account, user password, and agreement identifier. If the string does not contain custom special characters, it can report an error to the client.
[0046] Step 203: Receive the user login verification result returned by the server in response to the user login request.
[0047] After the server responds to a user login request and verifies the login information of multiple users, it can respond that the login verification is successful and return the corresponding web page information requested by the user to the client; and / or respond that the login verification is unsuccessful and return a login failure message to the client.
[0048] In this embodiment of the invention, by responding to a user's input instruction for any string within the same text box, where the arbitrary string contains multiple user login information entries identified based on custom special characters, a user login request can be generated based on these multiple login entries and the custom special characters. This allows the server to verify the user login based on the multiple login entries and return the corresponding verification result to the client. The ability to automatically identify user login information from any string enables multiple login entries to be entered into the same text box at once, achieving rapid input of user login information. While ensuring the security of user authentication, this effectively improves the efficiency of users entering their usernames and passwords, enhances the user experience of accessing web pages and applications, and saves user time.
[0049] Reference Figure 4The diagram illustrates a flowchart of another embodiment of the user login verification method of the present invention, applied to a server. The server and client are connected via a communication connection. The focus is on the server's login verification process based on the information entered by the user, which may specifically include the following steps: Step 401: Receive the user login request sent by the client, respond to the user login request to obtain any string entered by the user, as well as custom special characters; To further save time in entering user accounts and passwords, embodiments of the present invention can input user accounts and passwords in the same frame, enabling simultaneous input of user accounts and passwords.
[0050] In one embodiment of the present invention, when the client responds to the user's input instruction for any string based on the same text box, the arbitrary string entered by the user may contain custom special characters. The custom special characters can be used to automatically identify multiple user login information contained in the arbitrary string, automatically identify the user account and password of any string entered, and realize the simultaneous entry of user account and password without the user having to use the keyboard and mouse to enter data into the text boxes corresponding to the user login information.
[0051] In practical applications, after the client responds to the user's input instruction of any string based on the same text box, the input string contains multiple user login information based on custom special characters. At this time, the client can generate a user login request based on multiple user login information and custom special characters, so that the server can verify the user login information entered by the user on the login interface.
[0052] Step 402: Recognize any string based on custom special characters to obtain login information for multiple users; Custom special characters can be used for string splitting. In this case, any string obtained can be automatically recognized based on the custom special characters to obtain login information for multiple users.
[0053] The word segmentation function of custom special characters can be mainly achieved through pre-defined semantics for these characters. Based on pre-defined semantic rules, the defined special characters can possess corresponding semantic parsing capabilities, enabling them to segment the input string. In specific implementations, word segmentation keyword groups can also exist to store characters after the semantic rules have been defined. That is, all characters contained in the word segmentation keyword group can be special characters capable of segmenting the input string.
[0054] In practical applications, after receiving a user login request from a client, the server can validate any string entered by the user in the login request to determine whether the string contains custom special characters. If the string contains custom special characters, the server can respond that the string contains custom special characters and identify the string based on the custom special characters to obtain multiple user login information. If the string does not contain custom special characters, the server can report an error to the client.
[0055] Specifically, the system can recognize and segment the input string in real time based on user input characters, dividing it into word groups to determine the login information for each user. It can use custom special characters as delimiters to split any string into multiple substrings, and then determine the substrings in the corresponding order according to their information type to identify the user's login information.
[0056] The user login information may include at least a user account and a user password, and / or other input items besides the user account and user password. These other input items may specifically include at least one of the following: a login identification code (e.g., a graphic verification code, a text verification code, a mathematical formula verification code, etc.) or a terms of agreement identifier (used to indicate the user's agreement to the terms of the agreement).
[0057] For example, assuming a preset order based on the information type of the substring, it can be represented as "user account + user password + agreement identifier". Assuming the custom special character is the space bar, then after responding to the user's input command for any string within the same text box, it can be displayed as follows: Figure 3 As shown, the string "153XXXX_********_1" is displayed on the user login page. Here, "153XXXX" is a substring representing the user's account, "********" is a substring representing the user's password, and "1" can be a substring representing the user's agreement to the terms of service.
[0058] Step 403: Verify user login based on multiple user login information and return the corresponding user login verification result to the client.
[0059] After receiving a user login request from a client and determining whether any string in the login request contains custom special characters, the server can sequentially verify the user login by checking the login identifier, user account, user password, and agreement identifier.
[0060] Specifically, this can be achieved by decrypting the information in the user login request using an asymmetric encryption private key, parsing out the user login information, including the user account, password, login identification code, and agreement token. Based on the authentication logic, the login identification code (e.g., image verification code, text verification code, mathematical formula verification code) can be verified first. If the login identification code sent by the client does not match the data cached by the server, the client can be directly notified of verification failure. If the login identification code matches, the account and password can be verified next. If the account and password verification fails, the client can be directly notified of an incorrect account or password and asked to retry. If the account and password verification passes, authentication is successful. At this point, the permissions of the user who has passed the login verification can be controlled based on whether they agree to the agreement, and a verification success message can be returned.
[0061] In practical applications, after the server responds to a user login request and verifies the login information of multiple users, it can respond that the login verification is successful based on the login information of multiple users and return the corresponding web page information requested by the user to the client; and / or, respond that the login verification is unsuccessful based on the login information of multiple users and return login failure information to the client.
[0062] In this embodiment of the invention, the server, in response to a user login request sent by the client, obtains any string and custom special characters entered by the user in the same text box. Then, it can automatically identify multiple user login information based on the custom special characters, perform user login verification based on the multiple user login information, and return the corresponding user login verification result to the client. The ability to automatically identify user login information from any string allows multiple user login information to be entered into the same text box at once, achieving rapid input of user login information. While ensuring the security of user authentication, it effectively improves the efficiency of users entering user accounts and passwords, enhances the user's experience of accessing network service web pages and applications, and saves user time.
[0063] Reference Figure 5 This illustration shows an application scenario diagram of user login verification provided by an embodiment of the present invention. It can be applied to various network services and applications. Some network services have certain privacy and confidentiality requirements and require user authentication before they can be used, such as personal email, instant messaging clients, and online games. When using these network services and applications, users are required to perform authentication and authorization operations so that the relevant server can authenticate and authorize the user before the user can access the corresponding network pages and applications.
[0064] This application scenario involves a client 510 and a server 511 for a specific network service. In this embodiment of the invention, to further save time in entering user accounts and passwords, the user account and password can be entered in the same text box. Specifically, the user account and password can be automatically recognized based on defined special characters in the same text box, enabling simultaneous entry of user accounts and passwords. In practical applications, the client 510 typically needs to develop a dedicated input box component for entering user login information such as user accounts and passwords, and perform word segmentation for special characters. Simultaneously, the server side also needs to have the ability to recognize this format.
[0065] Specifically, taking logging into a website as an example, for client 510, when a user wants to log into a website, they can enter the website address and open the website login page. Then, they can enter their username, password, and other input items in the text boxes on the login interface. The username, password, and other input items can be separated by special symbols with word segmentation functions, such as spaces. The spaces can be used to recognize and segment the strings entered by the user in real time, obtaining substrings corresponding to the user's login information. Each substring can be stored in a phrase.
[0066] The client 510 can also perform desensitization processing on user-input strings to protect user privacy. This means that after a user enters their username and then enters a space, the password will be automatically displayed as encrypted symbols such as "*". After entering login information on the login page, the user can press Enter to confirm completion. At this point, the client 510 can use a public key to perform asymmetric encryption on the complete authentication data entered by the user, generate a user login request, and send it to the server 511.
[0067] After receiving a user login request, server 511 can split the string using the same special characters to obtain multiple user login information, including the entered username and password. Server 511 can then verify the validity of the identified user login information. If the verification passes, server 511 can return the corresponding web page information requested by the user to client 510; if the verification fails, server 511 can return a login failure message to client 510.
[0068] Specifically, such as Figure 6As shown, after receiving the user login request sent by the client 510, the server 511 can verify any string entered by the user in the user login request, and determine whether the arbitrary string contains custom special characters. If the arbitrary string contains custom special characters, it can respond that the arbitrary string contains custom special characters, and identify the arbitrary string based on the custom special characters to obtain multiple user login information. That is, the information is split by special characters. For example, if the information is identified as source, the information is parsed by sa=source.split(" ") to obtain the user account as sa[0] and the password as sa[1]. If the arbitrary string does not contain custom special characters, such as " " (i.e., space), it can report an error to the client 510.
[0069] Then, the server performs the specific validity verification, i.e., the login verification process. This can be manifested as follows: according to the authentication logic, the login identification code, such as image verification code, text verification code, mathematical formula verification code, etc., is first verified. If the login identification code sent by the client does not match the data cached by the server, the client can be directly informed of the verification failure. If the login identification code matches, the account and password are then verified. If the account and password verification fails, the client can be directly informed of an incorrect account or password and asked to retry. If the account and password verification passes, the authentication is successful. At this point, the permissions of the user who has passed the login verification can be controlled according to whether they agree to the terms, and a verification success message is returned.
[0070] For example, when a user logs into a personal email website, assuming the client 510 enters the URL "https: / / webmail30.XXX.cn / w2 / index.html", the client 510 sends this URL "https: / / webmail30.XXX.cn / w2 / index.html" to the XXX email server. At this time, the client 510 can open and display the user login page for the personal email account. On the user login page, the user can enter the string "153XXXX5678_ ********_ 1". The client 510 can then send the entered string "153XXXX5678 _********_1" to the email server. The server 511 can parse the received string based on special characters, such as spaces, as follows: "153XXXX" represents the user's account name, "********" represents the user's password, and "1" can represent the user's agreement to the terms of service. Then, the server 511 can perform user login verification based on the multiple user login information obtained from the aforementioned parsing and return the corresponding user login verification result to the client. If the login verification is successful, the client 510 can directly send the full page content of the personal email address.
[0071] In this embodiment of the invention, user accounts and passwords are entered in the same text box, enabling simultaneous input of user accounts and passwords. Specifically, the system can automatically recognize any string of user accounts and passwords entered in the same text box based on defined special characters, achieving simultaneous input of user accounts and passwords. This effectively improves the efficiency of user input of user accounts and passwords while ensuring the security of user authentication, and enhances the user's experience of accessing network service pages and applications, saving user time. Furthermore, the system can also display user accounts in plaintext or partially encrypted form, as well as encrypted passwords, further improving security while ensuring input convenience.
[0072] It should be noted that, for the sake of simplicity, the method embodiments are all described as a series of actions. However, those skilled in the art should understand that the embodiments of the present invention are not limited to the described order of actions, because according to the embodiments of the present invention, some steps can be performed in other orders or simultaneously. Furthermore, those skilled in the art should also understand that the embodiments described in the specification are preferred embodiments, and the actions involved are not necessarily essential to the embodiments of the present invention.
[0073] Reference Figure 7The diagram illustrates a structural block diagram of an embodiment of a user login verification device according to the present invention. This device is applied to a client, which communicates with a server. Specifically, it may include the following modules: The input instruction response module 701 is used to respond to the user's input instruction of any string based on the same text box; the arbitrary string contains multiple user login information based on custom special characters; The user login request generation module 702 is used to generate a user login request based on multiple user login information and custom special characters, and send the user login request to the server; the user login request is used to instruct the server to verify user login based on multiple user login information. The user login verification result receiving module 703 is used to receive the user login verification result returned by the server in response to the user login request.
[0074] In one embodiment of the present invention, a custom special character is used to split any input string to obtain multiple user login information. The device may further include the following modules: The arbitrary string acquisition module is used to acquire any string entered into the same text box; The user login information display module is used to sequentially display multiple user login information entries entered by the user in the same text box, based on custom special characters.
[0075] In one embodiment of the present invention, the user login information display module may include the following sub-modules: The string splitting submodule is used to respond to any string entered by the user in the same text box containing a custom special character. The custom special character is used as the splitting position to split the arbitrary string into multiple substrings. The user login information display submodule is used to display user login information corresponding to the information type of the substring in a preset order according to the information type to which the substring belongs.
[0076] In one embodiment of the present invention, the multiple user login information includes at least a user account and a user password, and / or includes other input items besides the user account and user password; wherein the other input items include at least one of a login identification code and a treaty agreement identifier; The user login information display submodule may include the following units: The user login information display unit is used to display the received user accounts in plaintext or semi-encrypted, to display the received user passwords in encrypted form, and / or to display the received login identification code and / or agreement identifier in plaintext.
[0077] In this embodiment of the invention, the user login verification device responds to user input instructions for any string within the same text box. This arbitrary string contains multiple user login information entries identified based on custom special characters. The device then generates a user login request based on these multiple login entries and the custom special characters. The server then verifies the user login based on the multiple login entries and returns the corresponding verification result to the client. This ability to automatically identify user login information from any string allows multiple login entries to be entered into the same text box at once, enabling rapid input of user login information. While ensuring the security of user authentication, this effectively improves the efficiency of users entering their usernames and passwords, enhances the user experience of accessing web pages and applications, and saves users time.
[0078] Reference Figure 8 The diagram illustrates a structural block diagram of another embodiment of the user login verification device of the present invention, which is applied to a server and has a communication connection with the client. Specifically, it may include the following modules: The user login request response module 801 is used to receive user login requests sent by the client, respond to user login requests to obtain any string entered by the user, as well as custom special characters; wherein, any string entered by the user is input based on the same text box; The user login information recognition module 802 is used to recognize any string based on custom special characters to obtain multiple user login information. The user login verification module 803 is used to verify user login based on multiple user login information and return the corresponding user login verification result to the client.
[0079] In one embodiment of this application, before recognizing any string based on custom special characters, the device may further include the following modules: The string validation module is used to validate any string entered by the user in the user login request; The user login information recognition module 802 may include the following sub-modules: The string recognition submodule is used to respond to any string containing custom special characters, and to recognize any string based on the custom special characters to obtain login information for multiple users.
[0080] In one embodiment of this application, custom special characters are used for string splitting; the string recognition submodule may include the following units: String splitting unit, used to split any string into multiple substrings by using a custom special character as the splitting position; The user login information determination unit is used to determine the user login information of the corresponding information type by a substring in a preset order according to the information type to which the substring belongs.
[0081] In one embodiment of this application, the user login verification result includes the corresponding web page information requested by the user and / or login failure information. The user login verification module 803 may include the following sub-modules: The Web Page Information Return Submodule is used to respond to successful user login verification based on multiple user login information and return the corresponding web page information requested by the user to the client. The login failure information return submodule is used to respond to login failures when multiple user login information fails to be verified, and to return login failure information to the client.
[0082] In one embodiment of this application, the multiple user login information includes at least a user account and a user password, and / or includes other input items besides the user account and user password; wherein the other input items include at least one of a login identification code and a treaty agreement identifier; the user login verification module 803 may include the following sub-modules: The user login verification submodule is used to verify the user login in sequence using the login identification code, user account, user password, and agreement identifier.
[0083] In this embodiment of the invention, the user login verification device responds to a user login request sent by a client, obtains any string and custom special characters entered by the user in the same text box, and then automatically identifies multiple user login information based on the custom special characters. User login verification is then performed based on this multiple login information, and the corresponding user login verification result is returned to the client. The ability to automatically identify user login information from any string allows multiple user login information to be entered into the same text box at once, enabling rapid input of user login information. While ensuring the security of user authentication, this effectively improves the efficiency of users entering user accounts and passwords, enhances the user's experience of accessing network service pages and applications, and saves user time.
[0084] As the device embodiment is basically similar to the method embodiment, the description is relatively simple, and relevant parts can be found in the description of the method embodiment.
[0085] This invention also provides an electronic device, comprising: It includes a processor, a memory, and a computer program stored in the memory and capable of running on the processor. When the computer program is executed by the processor, it implements the various processes of the above-described user login verification method embodiments and achieves the same technical effect. To avoid repetition, it will not be described again here.
[0086] This invention also provides a computer-readable storage medium storing a computer program. When the computer program is executed by a processor, it implements the various processes of the above-described user login verification method embodiments and achieves the same technical effect. To avoid repetition, it will not be described again here.
[0087] The various embodiments in this specification are described in a progressive manner, with each embodiment focusing on the differences from other embodiments. The same or similar parts between the various embodiments can be referred to each other.
[0088] Those skilled in the art will understand that embodiments of the present invention can be provided as methods, apparatus, or computer program products. Therefore, embodiments of the present invention can take the form of entirely hardware embodiments, entirely software embodiments, or embodiments combining software and hardware aspects. Furthermore, embodiments of the present invention can take the form of computer program products implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0089] Embodiments of the present invention are described with reference to flowchart illustrations and / or block diagrams of methods, terminal devices (systems), and computer program products according to embodiments of the invention. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing terminal device to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing terminal device, generate instructions for implementing the flowchart illustrations and / or block diagrams. Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.
[0090] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing terminal device to operate in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.
[0091] These computer program instructions can also be loaded onto a computer or other programmable data processing terminal equipment, causing a series of operational steps to be performed on the computer or other programmable terminal equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable terminal equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.
[0092] Although preferred embodiments of the present invention have been described, those skilled in the art, upon learning the basic inventive concept, can make other changes and modifications to these embodiments. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments as well as all changes and modifications falling within the scope of the embodiments of the present invention.
[0093] Finally, it should be noted that in this document, relational terms such as "first" and "second" are used only to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or terminal device that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or terminal device. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or terminal device that includes said element.
[0094] The foregoing has provided a detailed description of a user login verification method, a user login verification device, a corresponding electronic device, and a corresponding computer storage medium provided by the present invention. Specific examples have been used to illustrate the principles and implementation methods of the present invention. The descriptions of the above embodiments are only for the purpose of helping to understand the method and core ideas of the present invention. At the same time, for those skilled in the art, there will be changes in the specific implementation methods and application scope based on the ideas of the present invention. Therefore, the content of this specification should not be construed as a limitation of the present invention.
Claims
1. A user login verification method, characterized in that, Applied to a client, the client communicating with the server, the method includes: Responds to user input instructions for any string within the same text box; the arbitrary string contains multiple user login information entries identified based on custom special characters; A user login request is generated based on the multiple user login information and the custom special characters, and the user login request is sent to the server; the user login request is used to instruct the server to perform user login verification based on the multiple user login information; wherein, the multiple user login information includes at least a user account and a user password, and / or includes other input items besides the user account and user password, wherein the other input items include at least one of a login identification code and a treaty agreement identifier; Receive the user login verification result returned by the server in response to the user login request; The custom special character is used to split any input string to obtain multiple user login information; the method also includes: Retrieves any string entered into the same text box; Based on the custom special characters, multiple user login information entries entered by the user in the same text box are displayed sequentially; the sequential display of multiple user login information entries entered by the user in the same text box based on the custom special characters includes: If any string entered by the user in the same text box contains the custom special character, the user can use the custom special character as a splitting point to split the arbitrary string into multiple substrings. The user login information corresponding to the information type of the substring is displayed in the preset order according to the information type of the substring. The sequential display of multiple user login information entries entered by the user in the same text box includes: The received user accounts are displayed in plaintext or semi-encrypted, the received user passwords are displayed in encrypted form, and / or the received login identification code and / or the agreement identifier are displayed in plaintext.
2. A user login verification method, characterized in that, Applied to a server, wherein the server communicates with a client, the method includes: The system receives a user login request sent by the client, and responds to the user login request to obtain any string entered by the user, as well as custom special characters; wherein, any string entered by the user is input in the same text box; The arbitrary string is identified based on the custom special character to obtain multiple user login information; wherein, the multiple user login information includes at least a user account and a user password, and / or includes other input items besides the user account and user password, wherein the other input items include at least one of a login identification code and a treaty agreement identifier; User login verification is performed based on the multiple user login information, and the corresponding user login verification result is returned to the client.
3. The method according to claim 2, characterized in that, Before recognizing the arbitrary string based on the custom special character, the method further includes: Validate any string entered by the user in the user login request; The step of recognizing the arbitrary string based on the custom special characters to obtain multiple user login information includes: If the arbitrary string contains a custom special character, the arbitrary string is identified based on the custom special character to obtain multiple user login information.
4. The method according to claim 2 or 3, characterized in that, The custom special character is used for string splitting; the step of recognizing the arbitrary string based on the custom special character to obtain multiple user login information includes: Using the custom special character as the dividing position, the arbitrary string is divided into multiple substrings; Based on the preset order of the information types to which the substrings belong, the substrings in the corresponding order are determined to be the user login information of the corresponding information type.
5. The method according to claim 3, characterized in that, The user login verification result includes the corresponding web page information requested by the user and / or login failure information. The step of verifying the user login based on the multiple user login information and returning the corresponding user login verification result to the client includes: Upon successful user login verification based on the multiple user login information, the system returns the corresponding web page information requested by the user to the client. And / or, in response to a failed user login verification based on the multiple user login information, a login failure message is returned to the client.
6. The method according to claim 3 or 5, characterized in that, The step of verifying user login based on the multiple user login information includes: The login verification is performed sequentially using the login identification code, user account, user password, and agreement identifier.
7. A user login verification device, characterized in that, Applied to a client, the client communicating with a server, the device includes: An input instruction response module is used to respond to user input instructions for any string based on the same text box; the arbitrary string contains multiple user login information based on custom special characters. The user login request generation module is used to generate a user login request based on the multiple user login information and the custom special characters, and send the user login request to the server; the user login request is used to instruct the server to perform user login verification based on the multiple user login information; wherein, the multiple user login information includes at least a user account and a user password, and / or includes other input items besides the user account and user password, wherein the other input items include at least one of a login identification code and a treaty agreement identifier; The user login verification result receiving module is used to receive the user login verification result returned by the server in response to the user login request; The custom special characters are used to split any input string to obtain multiple user login information; The device is also used to acquire any string input based on the same text box; Based on the custom special characters, multiple user login information entries entered by the user in the same text box are displayed sequentially; The device is also configured to respond to any string input by the user based on the same text box containing the custom special character, and to divide the arbitrary string into multiple substrings using the custom special character as the dividing position; The user login information corresponding to the information type of the substring is displayed in the preset order according to the information type of the substring. The received user accounts are displayed in plaintext or semi-encrypted, the received user passwords are displayed in encrypted form, and / or the received login identification code and / or the agreement identifier are displayed in plaintext.
8. A user login verification device, characterized in that, Applied to a server, the server communicating with a client, the device includes: The user login request response module is used to receive the user login request sent by the client, and respond to the user login request to obtain any string entered by the user, as well as custom special characters; wherein, the arbitrary string entered by the user is input based on the same text box; The user login information recognition module is used to recognize the arbitrary string according to the custom special characters to obtain multiple user login information; wherein, the multiple user login information includes at least a user account and a user password, and / or includes other input items besides the user account and user password, wherein the other input items include at least one of a login identification code and a treaty agreement identifier; The user login verification module is used to verify user login based on the multiple user login information and return the corresponding user login verification result to the client.
9. An electronic device, characterized in that, include: A processor, a memory, and a computer program stored in the memory and capable of running on the processor, wherein the computer program, when executed by the processor, implements the user login verification method as described in claim 1 or any one of claims 2 to 6.
10. A computer-readable storage medium, characterized in that, A computer program is stored on the computer-readable storage medium, which, when executed by a processor, implements the user login verification method as described in claim 1 or any one of claims 2 to 6.
Citation Information
Patent Citations
Password verification method and electronic equipment
CN103546287A
