CN107147633B - Password input method and device - Google Patents

Password input method and device Download PDF

Info

Publication number
CN107147633B
CN107147633B CN201710295164.5A CN201710295164A CN107147633B CN 107147633 B CN107147633 B CN 107147633B CN 201710295164 A CN201710295164 A CN 201710295164A CN 107147633 B CN107147633 B CN 107147633B
Authority
CN
China
Prior art keywords
password
login
format information
network service
target
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201710295164.5A
Other languages
Chinese (zh)
Other versions
CN107147633A (en
Inventor
高毅
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN201710295164.5A priority Critical patent/CN107147633B/en
Publication of CN107147633A publication Critical patent/CN107147633A/en
Application granted granted Critical
Publication of CN107147633B publication Critical patent/CN107147633B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • H04L63/0815Network architectures or network communication protocols for network security for authentication of entities providing single-sign-on or federations
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • H04L63/083Network architectures or network communication protocols for network security for authentication of entities using passwords

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Computer Security & Cryptography (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Transfer Between Computers (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The disclosure provides a password input method and a password input device, and belongs to the technical field of internet. The method comprises the following steps: acquiring a target account number input by a user in a login interface of a target network service, and acquiring an identifier of the target network service; acquiring format information of a login password corresponding to a target account according to the target account and the identifier of the target network service, wherein the format information comprises the number of characters of the password and/or the type of at least one character in the password; and when the password input operation is detected in the login interface, the password input prompt is carried out on the login interface according to the format information of the login password. The password input method provided by the disclosure enables a user not to inquire the format information of the login password required by the network service when inputting the login password, thereby simplifying the input process of the login password and improving the input efficiency of the login password.

Description

Password input method and device
Technical Field
The present disclosure relates to the field of internet technologies, and in particular, to a password input method and apparatus.
Background
With the development of internet technology, various internet-based network services are becoming more and more common in people's daily lives. In practical applications, the variety of network services is various, such as video playing network services, mobile payment network services, social network services, and the like, wherein most of the network services require a user to log in before providing corresponding services for the user. In the process of logging in the network service, a user needs to input an account and a corresponding login password in a login interface of the network service, and the user can log in the network service after the account and the login password are verified. In practical applications, in order to ensure the security of an account, different network services have certain requirements on the format of a login password, for example, some network services require that the number of characters of the login password is not less than 6, some network services require that the login password include numbers and english letters, and some network services require that the login password include capitalized english letters. In order to meet the format requirements of different network services for login passwords, a user generally needs to set different login passwords for different network services, however, due to the fact that the network services are various, the passwords are difficult to accurately remember for the user, and then errors occur when the login passwords are input, so that the user cannot normally log in the network services.
In the related art, in the process of inputting a login password of a certain network service by a user, if the user cannot remember the login password set by the user because the user forgets the login password format required by the network service, the user needs to query the format of the login password required by the network service, remember the login password set by the user according to the query result, and then log in the network service by using the recalled login password.
In the course of implementing the present disclosure, the inventors found that the prior art has at least the following problems:
in the related art, when a user cannot remember a login password set by the user because the user forgets the login password format required by the network service, the user needs to inquire the format of the login password required by the network service, so that the process of inputting the login password by the user is complicated, and the efficiency is low; moreover, the format of the login password required by the network service is only inquired by the user, but not the specific format of the login password set by the user, so that the user is difficult to accurately remember the login password set by the user, the process of inputting the login password by the user is complicated, and the efficiency is low.
Disclosure of Invention
In order to solve the problems of complicated process of inputting a login password and low efficiency in the related art, the disclosure provides a password input method and a password input device.
According to a first aspect of the embodiments of the present disclosure, there is provided a password input method, including:
acquiring a target account number input by a user in a login interface of the target network service, and acquiring an identifier of the target network service;
acquiring format information of a login password corresponding to the target account according to the target account and the identifier of the target network service, wherein the format information comprises the number of characters of the password and/or the type of at least one character in the password;
and when the password input operation is detected in the login interface, performing password input prompt on the login interface according to the format information of the login password.
Optionally, before obtaining format information of a login password corresponding to the target account according to the identifier of the target account and the identifier of the target network service, the method further includes:
acquiring the target account and a first password input by a user in the login interface;
identifying format information of the first password after the target account and the first password pass verification;
and sending the format information of the first password to a server as the format information of the login password corresponding to the target account.
Optionally, before obtaining format information of a login password corresponding to the target account according to the identifier of the target account and the identifier of the target network service, the method further includes:
sending a password format acquisition request to a server, wherein the password format acquisition request is used for indicating the server to return identifiers and account numbers of network services and format information of corresponding login passwords;
receiving the identifier, the account and the format information of the corresponding login password of the network service returned by the server;
the acquiring format information of the login password corresponding to the target account according to the target account and the identifier of the target network service includes:
and according to the target account and the identifier of the target network service, acquiring the format information of the login password corresponding to the target account from the identifier of the network service, the account and the format information of the corresponding login password returned by the server.
Optionally, the obtaining format information of the login password corresponding to the target account according to the target account and the identifier of the target network service includes:
sending a password information acquisition request to a server, wherein the password information acquisition request carries the target account and the identifier of the target network service, and the password information acquisition request is used for indicating the server to return format information of a login password corresponding to the target account;
and receiving format information of a login password corresponding to the target account.
Optionally, the login interface includes a password format identification option, and the identifying the format information of the first password includes:
and when the triggering operation of the password format identification option is detected, identifying the format information of the first password.
According to a second aspect of the embodiments of the present disclosure, there is provided a password input apparatus including:
the first acquisition module is used for acquiring a target account number input by a user in a login interface of the target network service and acquiring an identifier of the target network service;
the second acquisition module is used for acquiring format information of a login password corresponding to the target account according to the target account and the identifier of the target network service, wherein the format information comprises the number of characters of the password and/or the type of at least one character in the password;
and the prompting module is used for prompting password input on the login interface according to the format information of the login password when the password input operation is detected in the login interface.
Optionally, the first obtaining module is further configured to: acquiring the target account and a first password input by a user in the login interface;
the device also comprises an identification module and a first sending module;
the identification module is used for identifying format information of the first password after the target account and the first password pass verification;
and the first sending module is used for sending the format information of the first password to a server as the format information of the login password corresponding to the target account.
Optionally, the apparatus further includes a second sending module and a receiving module;
the second sending module is used for sending a password format obtaining request to the server, wherein the password format obtaining request is used for indicating the server to return the identifier, the account and the format information of the corresponding login password of the network service;
the receiving module is used for receiving the identifier, the account number and the format information of the corresponding login password of the network service returned by the server;
and the second obtaining module is used for obtaining the format information of the login password corresponding to the target account from the format information of the identifier, the account and the corresponding login password of the network service returned by the server according to the target account and the identifier of the target network service.
Optionally, the second obtaining module is configured to:
sending a password information acquisition request to a server, wherein the password information acquisition request carries the target account and the identifier of the target network service, and the password information acquisition request is used for indicating the server to return format information of a login password corresponding to the target account;
the device further comprises a receiving module, wherein the receiving module is used for receiving the format information of the login password corresponding to the target account.
Optionally, the login interface includes a password format identification option, and the identification module is configured to:
and when the triggering operation of the password format identification option is detected, identifying the format information of the first password.
According to a third aspect of the embodiments of the present disclosure, there is provided a password input apparatus including:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
acquiring a target account number input by a user in a login interface of the target network service, and acquiring an identifier of the target network service;
acquiring format information of a login password corresponding to the target account according to the target account and the identifier of the target network service, wherein the format information comprises the number of characters of the password and/or the type of at least one character in the password;
and when the password input operation is detected in the login interface, performing password input prompt on the login interface according to the format information of the login password.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects:
by acquiring the format information of the login password corresponding to the target account according to the identification of the target network service and the target account input by the user in the process of logging in the target network service, and prompting the user in a login interface based on the format information in the process of inputting the password by the user, so that the user can remember the login password set by the user according to the format information, on one hand, the user does not need to inquire the format information of the login password required by the network service when inputting the login password, thereby simplifying the process of inputting the login password and improving the efficiency of inputting the login password, on the other hand, the format information for prompting the user is the specific format information of the login password set by the user, thereby enabling the user to easily remember the login password set by the user, avoiding the input error of the login password and further simplifying the process of inputting the login password, the efficiency of login password input is improved.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and together with the description, serve to explain the principles of the disclosure.
FIG. 1 is a schematic diagram illustrating a password entry system in accordance with an exemplary embodiment.
FIG. 2 is a flow diagram illustrating a password entry method according to an exemplary embodiment.
FIG. 3A is a flow diagram illustrating another password entry method according to an example embodiment.
FIG. 3B is a schematic diagram illustrating a login interface in accordance with an illustrative embodiment.
FIG. 3C is a schematic diagram illustrating another login interface, according to an example embodiment.
FIG. 3D is a diagram illustrating format information for a login password presented at a specified location in an input interface of an input method application, according to an example embodiment.
FIG. 3E is a diagram illustrating format information for a login password at a specified location of a login interface in accordance with an illustrative embodiment.
Fig. 4A is a block diagram illustrating a password input apparatus according to an exemplary embodiment.
FIG. 4B is a block diagram illustrating another password entry device, according to an example embodiment.
FIG. 5 is a block diagram illustrating another password entry device, according to an example embodiment.
Detailed Description
To make the objects, technical solutions and advantages of the present disclosure more apparent, embodiments of the present disclosure will be described in detail with reference to the accompanying drawings.
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
Fig. 1 is a schematic diagram of a password input system provided in an embodiment of the present disclosure. As shown in fig. 1, the password input system may include: the terminal 110 and the server 120, and the terminal 110 and the server 120 can communicate with each other through a wired or wireless network.
For example, the terminal 110 may be provided with an a network service application, and the user may open the a network service application, log in the a network service in a login interface provided by the a network service application, and then may use the a network service after logging in. Of course, the terminal 110 may also provide a web browsing function, and the user may log in the corresponding web service through the web page of the web service and use the web service after logging in, for example, the user may open the a-web page in the terminal 110, log in the a-web page for the a-web service, and then may use the a-web service after logging in.
In practical application, no matter the network service is logged in through a network service application or a webpage, a user needs to input an account and a login password, and the user can successfully log in the network service only if the input account and the input login password are correct. In practical application, different network services have certain requirements on the format of the login password in order to ensure the security of the account, and in order to meet the requirements on the format of the login password by different network services, a user generally needs to set different login passwords for different network services. However, for the convenience of memory, the user will generally use some characters commonly used by the user to set the login password for the network service, so the login passwords set by the user for different network services are generally similar, and the format of the login password has to be adjusted according to the format requirements of different network services. For example, if the format requirement of the login password for the a network service is that capital english letters must be included, the login password set by the user for the a network service may be Gaoyi _2016, and the format requirement of the login password for the B network service is that special symbols must be included, the login password set by the user for the B network service may be Gaoyi _2016, and if the format requirement of the login password for the C network service is that the password length must be less than 8 characters, the login password set by the user for the C network service may be Gaoyi _ 2. The login passwords Gaoyi _2016, Gaoyi _2016 and Gaoyi _2 set by the user all contain characters commonly used by the user when the login password is set, so that the login passwords are similar, and only the format of the login passwords is different in order to meet the format requirements of different network services. This results in that in practical applications, the user may be able to remember the characters of the login password when logging in a certain network service, but cannot remember the format of the characters specifically, so that the user cannot input the correct login password normally. In this case, in order to recall the login password, the user often needs to query the format of the login password required by the network service, which results in a complicated login password input process and low efficiency.
In order to solve the above problem, in the embodiment of the present disclosure, in the process of logging in a certain network service by a user, a terminal may prompt the user about the format of a login password when the user inputs the password, so that the user can quickly recall a correct login password without performing a query operation, thereby simplifying the process of inputting the login password and improving the efficiency of inputting the login password. For example, when the user logs in the a network service in the above example, the terminal may prompt the user to enter the login password "number of characters 10, and the first character is capital english letter" when the user enters the password, and at this time, the user may remember that the login password set by the user is "Gaoyi _ 2016" relatively easily under the prompt, so as to enter the login password correctly. In addition, because other users do not know the characters commonly used when the user sets the login password, even if the terminal prompts the format of the login password, other users cannot accurately know the login password, so that other users cannot illegally log in the network service, and the security of the network service account is also ensured.
Fig. 2 is a flowchart illustrating a password input method according to an exemplary embodiment, which may be applied to the terminal 110 in the password hint system shown in fig. 1, as shown in fig. 2, and includes the following steps:
step 201, the terminal obtains a target account number input by a user in a login interface of the target network service, and obtains an identifier of the target network service.
Step 202, the terminal acquires format information of a login password corresponding to the target account according to the target account and the identifier of the target network service, wherein the format information comprises the number of characters of the password and/or the type of at least one character in the password.
And step 203, when the password input operation is detected in the login interface, the terminal carries out password input prompt on the login interface according to the format information of the login password.
To sum up, in the password input method provided by the embodiment of the disclosure, in the process of logging in the target network service, the format information of the login password corresponding to the target account is obtained according to the identifier of the target network service and the target account input by the user, and the user is prompted in the login interface based on the format information in the process of inputting the password by the user, so that the user can recall the login password set by the user according to the format information, on one hand, the user does not need to query the format information of the login password required by the network service when inputting the login password, thereby simplifying the process of inputting the login password, improving the efficiency of inputting the login password, on the other hand, the format information prompted by the user is the specific format information of the login password set by the user, thereby the user can easily recall the login password set by the user, therefore, the input error of the login password is avoided, the input process of the login password is simplified, and the input efficiency of the login password is improved.
Fig. 3A is a flowchart illustrating a password input method according to an exemplary embodiment, which may be applied to the terminal 110 in the password input system shown in fig. 1, as shown in fig. 3A, and includes the following steps:
step 301, the terminal obtains a target account number input by the user in a login interface of the target network service, and obtains an identifier of the target network service.
In order to prompt the user of the format of the login password in the process of inputting the login password by the user, the terminal needs to execute step 301 to obtain the identifier of the target network service that the user needs to log in and the target account number used when the user logs in the target network service, so that in the subsequent steps, the terminal can obtain the format information of the corresponding login password according to the identifier of the target network service and the target account number, and prompt the user by using the format information.
Specifically, as described above, the terminal may have a web service application installed therein, and may also provide a web browsing function, and the user may log in the web service through the web service application or the web page of the web service, although the login manner is different, the login technical process is the same. Therefore, in the following, the embodiment of the present disclosure only describes the technical process of step 301 in the case that the user logs in the web service through the web service application.
In practical applications, a target web service application may be installed in the terminal, and after the target web service application is opened, the target web service application may provide a login interface as shown in fig. 3B, where the login interface may include at least an account number input box 31, a password input box 32, and a login option 33.
In the process of logging in the target network service, the terminal can detect the clicking operation of the user on any input box in the login interface, and acquire the identifier of the clicked input box and the identifier of the target network service corresponding to the login interface. In practical application, the terminal stores the identifiers of all the input boxes in the login interface, the terminal can compare the obtained identifiers of the clicked input boxes with the identifiers of all the input boxes in the login interface stored in the terminal, and when the fact that the identifiers of the clicked input boxes are the same as the identifiers of the account number input boxes is determined, the terminal can obtain the characters input in the clicked input boxes by the user as the target account number.
It should be noted that, in practical applications, the network service may provide different types of login interfaces, for example, the network service may provide a login interface of a network service application in different types of terminals (such as a mobile phone terminal, a computer terminal, and the like), and may also provide a login interface of a web page version network service. And the identification of each input box in different types of login interfaces provided by the network service is probably different. For example, the network service a may provide a login interface a of an android client and a login interface b on a webpage, where the identifiers of the account input boxes in the login interface a and the login interface b are different, and the identifiers of the password input boxes in the login interface a and the login interface b are also different. Therefore, in order to accurately identify which input frame the user clicks when the user logs in the web service through the web service application and the web page of the web service, the terminal needs to store the identifiers of the input frames in all types of login interfaces provided by the target web service, that is, in the above example, the terminal needs to store the identifiers of all input frames in the login interface a and the login interface b.
Step 302, according to the target account and the identifier of the target network service, the terminal obtains format information of a login password corresponding to the target account.
After the terminal acquires the target account and the identifier of the target network service in step 301, format information of a corresponding login password needs to be acquired according to the target account and the identifier of the target network service, so as to prompt the user based on the format information, that is, the terminal needs to execute the technical process of step 302.
It should be noted that the format information may include the number of characters of the password and/or the type of at least one character in the password, the number of characters of the password refers to the number of characters included in the password, and the type of characters in the password may be a number type, a lower case english alphabet type, an upper case english alphabet type, a special symbol type, a chinese symbol type, an english symbol type, a korean character type, or the like. For example, the format information of the Gaoyi _2016 password may be "number of characters 10, first character in upper case english alphabet, second character in lower case english alphabet, third character in lower case english alphabet, fourth character in lower case english alphabet, fifth character in lower case english alphabet, sixth character in english alphabet, seventh character in number, eighth character in number, ninth character in number, and tenth character in number".
In practical application, the terminal may maintain a password format database, and the password format database may store a plurality of sets of identifiers and accounts of network services and format information of corresponding login passwords. After the terminal obtains the target account and the identifier of the target network service, format information of a corresponding login password may be queried and obtained in a password format database maintained by the terminal based on the target account and the identifier of the target network service.
In practical applications, the user may register a new network service on another terminal, or change a login password of a registered network service on another terminal. Therefore, the password format database maintained by the terminal needs to be periodically updated to obtain the new identifier, account and format information of the corresponding login password of the network service, or obtain the modified identifier, account and format information of the corresponding login password of the network service.
Specifically, after the user registers a new network service on another terminal, the other terminal may send the identifier of the registered new network service, the registered account, and the format information of the corresponding login password to the server when the user logs in the new network service, and the server stores the format information in the password format database maintained by the server. Similarly, after the user changes the login password of the registered network service on another terminal, the other terminal may also send the format information of the changed login password to the server when the user logs in the network service by using the changed login password, and the server stores the format information in the password format database maintained by the server. In order to update the password format database maintained by the terminal, the terminal needs to send a password format acquisition request to the server, where the password format acquisition request is used to instruct the server to return the identifier, the account and the format information of the corresponding login password of the network service, and then the terminal can store the identifier, the account and the format information of the corresponding login password of the network service returned by the server into the password format database maintained by the terminal itself. The terminal may obtain format information of a login password corresponding to the target account from format information of the identifier, the account and the corresponding login password of the network service returned by the server in step 302 according to the identifier of the target network service and the target account.
Of course, in practical applications, the terminal may not maintain the above-mentioned password format database. In this case, after the terminal acquires the target account and the identifier of the target network service, a password information acquisition request may be sent to the server, where the password information acquisition request carries the target account and the identifier of the target network service, and the password information acquisition request is used to instruct the server to return format information of a login password corresponding to the target account. After receiving the password information acquisition request, the server can query format information of a corresponding login password in a password format database maintained by the server based on the target account and the identifier of the target network service, and return the format information of the login password to the terminal, and then the terminal can receive the format information of the login password corresponding to the target account.
When a user logs in the target network service by using the target account and the login password corresponding to the target account for the first time, the terminal needs to identify the format information of the password input by the user after the password input by the user passes the verification, and send the format information of the password input by the user to the server, and the server stores the format information in the password format database maintained by the server. And then the server can send the format information of the password input by the user as the format information of the login password corresponding to the target account to other terminals when the other terminals request, so that the other terminals can synchronize the format information of the login password corresponding to the target account.
Specifically, the terminal may obtain a target account and a first password input by a user in a login interface when the user logs in the target network service by using the target account for the first time, after the target account and the first password pass verification, the terminal may identify and obtain format information of the first password, and then the terminal may send the format information of the first password to the server as format information of a login password corresponding to the target account.
In practical applications, as shown in fig. 3B, the login interface may include a password input box 32 in addition to the account input box 31. As described above, the terminal may determine what input frame the user clicks on based on the identifications of all input frames in the login interface stored in the terminal, and therefore, in this step, the terminal may determine that the input frame the user clicks on as a password input frame, and obtain the character input by the user in the clicked input frame as the first password after the determination. And then, the terminal can verify whether the first password is matched with the target account, and if the first password is matched with the target account, namely the target account and the first password pass the verification, the first password is the login password corresponding to the target account. The terminal may acquire the format information of the first password as the format information of the login password corresponding to the target account, and send the format information to the server, and the server stores the format information in a password format database maintained by the server.
In practical applications, as shown in fig. 3C, the login interface may further include a password format identification option 34. When the trigger operation of the password format identification option is detected, the terminal can identify and acquire the format information of the first password. Certainly, in practical application, after the first password and the target account number pass verification, the terminal may also automatically identify and acquire format information of the first password, which is not specifically limited in this embodiment of the disclosure.
And step 303, when the password input operation is detected in the login interface, the terminal carries out password input prompt on the login interface according to the format information of the login password.
In practical applications, the terminal may perform the technical processes of steps 301 to 303 through an input method application, a system service, or other application.
When the terminal performs the technical process of step 303 through the input method application, the terminal may show format information of the login password at a designated position in the input interface of the input method application in the login interface. Fig. 3D is a schematic diagram illustrating the terminal displaying format information of the login password at a designated location 35 in an input interface of the input method application, where it should be noted that the designated location 35 is only an example and is not intended to limit the present invention.
When the terminal performs the technical process of step 303 through the system service, the terminal may display format information of the login password at a designated location of the login interface. Fig. 3E is a schematic diagram illustrating the terminal displaying the format information of the login password at the designated location 36 of the login interface, and it should be noted that the designated location 36 is only an example and is not intended to limit the present invention.
Of course, in practical applications, the terminal may also perform the password input prompt based on the format information of the login password in other manners, such as voice announcement, and the embodiments of the present disclosure are not necessarily described herein.
And step 304, the terminal acquires the password input by the user in the login interface and logs in the target network service based on the password input by the user.
The terminal prompts the user by using the format information of the login password in the process of inputting the password by the user, so that the user can remember the login password more easily, and therefore, the probability of the correctness of the password input by the user in the login interface is higher. The password input method can avoid the situation that the user has to input the password for multiple times under the condition of wrong password input, thereby simplifying the password input process and improving the password input efficiency.
To sum up, in the password input method provided by the embodiment of the disclosure, in the process of logging in the target network service, the format information of the login password corresponding to the target account is obtained according to the identifier of the target network service and the target account input by the user, and the user is prompted in the login interface based on the format information in the process of inputting the password by the user, so that the user can recall the login password set by the user according to the format information, on one hand, the user does not need to query the format information of the login password required by the network service when inputting the login password, thereby simplifying the process of inputting the login password, improving the efficiency of inputting the login password, on the other hand, the format information prompted by the user is the specific format information of the login password set by the user, thereby the user can easily recall the login password set by the user, therefore, the input error of the login password is avoided, the input process of the login password is simplified, and the input efficiency of the login password is improved.
Fig. 4A is a block diagram illustrating a password input apparatus 400 according to an exemplary embodiment. Referring to fig. 4A, the apparatus includes a first obtaining module 401, a second obtaining module 402, and a prompt module 403.
The first obtaining module 401 is configured to obtain a target account input by a user in a login interface of the target network service, and obtain an identifier of the target network service.
The second obtaining module 402 is configured to obtain format information of a login password corresponding to the target account according to the target account and the identifier of the target network service, where the format information includes the number of characters of the password and/or the type of at least one character in the password.
The prompting module 403 is configured to perform password input prompting on the login interface according to format information of the login password when the password input operation is detected in the login interface.
As shown in fig. 4B, another password input device 420 is further provided, where the password input device 420 includes, in addition to the modules of the password input device 400, an identification module 404, a first sending module 405, a second sending module 406, and a receiving module 407.
In an embodiment of the present disclosure, the first obtaining module 401 is further configured to obtain the target account number and the first password input by the user in the login interface.
The identification module 404 is configured to identify format information of the first password after the target account number and the first password are verified.
The first sending module 405 is configured to send the format information of the first password to the server as the format information of the login password corresponding to the target account.
The second sending module 406 is configured to send a password format obtaining request to the server, where the password format obtaining request is used to instruct the server to return format information of an identifier, an account, and a corresponding login password of the network service.
The receiving module 407 is configured to receive the identifier of the network service, the account number, and format information of the corresponding login password returned by the server.
The second obtaining module 402 is configured to obtain, according to the target account and the identifier of the target network service, format information of a login password corresponding to the target account from format information of the identifier of the network service, the account, and the corresponding login password returned by the server.
In an embodiment of the present disclosure, the second obtaining module 402 is configured to: and sending a password information acquisition request to a server, wherein the password information acquisition request carries the target account and the identifier of the target network service, and the password information acquisition request is used for indicating the server to return format information of a login password corresponding to the target account.
In an embodiment of the present disclosure, the receiving module 407 is configured to receive format information of a login password corresponding to the target account.
In an embodiment of the disclosure, the login interface includes a password format identification option, and the identification module 404 is configured to: and when the triggering operation of the password format identification option is detected, identifying the format information of the first password.
In summary, the password input device provided in the embodiment of the disclosure obtains the format information of the login password corresponding to the target account according to the identifier of the target network service and the target account input by the user during the process of logging in the target network service, and prompts the user at the login interface based on the format information during the process of inputting the password by the user, so that the user can recall the login password set by the user according to the format information, on one hand, the user does not need to query the format information of the login password required by the network service when inputting the login password, thereby simplifying the process of inputting the login password, improving the efficiency of inputting the login password, on the other hand, the format information prompted to the user is the specific format information of the login password set by the user, thereby enabling the user to easily recall the login password set by the user, therefore, the input error of the login password is avoided, the input process of the login password is simplified, and the input efficiency of the login password is improved.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
Fig. 5 is a block diagram illustrating a password input apparatus 500 according to an exemplary embodiment. For example, the apparatus 500 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, an exercise device, a personal digital assistant, and the like.
Referring to fig. 5, the apparatus 500 may include one or more of the following components: processing component 502, memory 504, power component 506, multimedia component 508, audio component 510, input/output (I/O) interface 512, sensor component 514, and communication component 516.
The processing component 502 generally controls overall operation of the device 500, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing components 502 may include one or more processors 520 to execute instructions to perform all or a portion of the steps of the methods described above. Further, the processing component 502 can include one or more modules that facilitate interaction between the processing component 502 and other components. For example, the processing component 502 can include a multimedia module to facilitate interaction between the multimedia component 508 and the processing component 502.
The memory 504 is configured to store various types of data to support operations at the apparatus 500. Examples of such data include instructions for any application or method operating on device 500, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 504 may be implemented by any type or combination of volatile or non-volatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
The power supply component 506 provides power to the various components of the device 500. The power components 506 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the apparatus 500.
The multimedia component 508 includes a screen that provides an output interface between the device 500 and the user. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 508 includes a front facing camera and/or a rear facing camera. The front camera and/or the rear camera may receive external multimedia data when the device 500 is in an operating mode, such as a shooting mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
The audio component 510 is configured to output and/or input audio signals. For example, audio component 510 includes a Microphone (MIC) configured to receive external audio signals when apparatus 500 is in an operating mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may further be stored in the memory 504 or transmitted via the communication component 516. In some embodiments, audio component 510 further includes a speaker for outputting audio signals.
The I/O interface 512 provides an interface between the processing component 502 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
The sensor assembly 514 includes one or more sensors for providing various aspects of status assessment for the device 500. For example, the sensor assembly 514 may detect an open/closed state of the apparatus 500, the relative positioning of the components, such as a display and keypad of the apparatus 500, the sensor assembly 514 may also detect a change in the position of the apparatus 500 or a component of the apparatus 500, the presence or absence of user contact with the apparatus 500, orientation or acceleration/deceleration of the apparatus 500, and a change in the temperature of the apparatus 500. The sensor assembly 514 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 514 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 514 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 516 is configured to facilitate communication between the apparatus 500 and other devices in a wired or wireless manner. The apparatus 500 may access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 516 receives a broadcast signal or broadcast associated information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communications component 516 further includes a Near Field Communication (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the apparatus 500 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors or other electronic components for performing the above-described methods.
In an exemplary embodiment, a non-transitory computer-readable storage medium comprising instructions, such as the memory 504 comprising instructions, executable by the processor 520 of the apparatus 500 to perform the above-described method is also provided. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
In an exemplary embodiment, there is also provided a non-transitory computer readable storage medium having instructions which, when executed by a processor of a mobile terminal, enable the mobile terminal to perform a method of: acquiring a target account number input by a user in a login interface of the target network service, and acquiring an identifier of the target network service; acquiring format information of a login password corresponding to the target account according to the target account and the identifier of the target network service, wherein the format information comprises the number of characters of the password and/or the type of at least one character in the password; and when the password input operation is detected in the login interface, performing password input prompt on the login interface according to the format information of the login password.
The term "and/or" in the present invention is only an association relationship describing an associated object, and means that there may be three relationships, for example, a and/or B, which may mean: a exists alone, A and B exist simultaneously, and B exists alone. In addition, the character "/" herein generally indicates that the former and latter related objects are in an "or" relationship.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (7)

1. A password input method is applied to a terminal, and the method comprises the following steps:
acquiring a target account number input by a user in a login interface of the target network service, and acquiring an identifier of the target network service; acquiring format information of a login password corresponding to the target account according to the target account and the identifier of the target network service, wherein the format information comprises the number of characters of the password and the type of at least one character in the password;
when a password input operation is detected in the login interface, displaying format information of the login password at a specified position in an input interface of an input method application in the login interface; or displaying the format information of the login password at the specified position of the login interface; or the format information of the login password is broadcasted in a voice mode;
before the obtaining of the format information of the login password corresponding to the target account according to the target account and the identifier of the target network service, the method further includes:
sending a password format acquisition request to a server, wherein the password format acquisition request is used for indicating the server to return identifiers and account numbers of network services and format information of corresponding login passwords; receiving the identifier, the account and the format information of the corresponding login password of the network service returned by the server;
the acquiring format information of the login password corresponding to the target account according to the target account and the identifier of the target network service includes:
according to the target account and the identifier of the target network service, obtaining the format information of the login password corresponding to the target account from the identifier of the network service returned by the server, the account and the format information of the corresponding login password, and storing the identifier of the network service returned by the server, the account and the format information of the corresponding login password into a password format database maintained by the terminal.
2. The method according to claim 1, wherein before obtaining format information of a login password corresponding to the target account according to the target account and the identifier of the target network service, the method further comprises:
acquiring the target account and a first password input by a user in the login interface;
identifying format information of the first password after the target account and the first password pass verification;
and sending the format information of the first password to a server as the format information of the login password corresponding to the target account.
3. The method of claim 2, wherein the login interface includes a password format identification option, and the format information for identifying the first password comprises:
and when the triggering operation of the password format identification option is detected, identifying the format information of the first password.
4. A password input apparatus, characterized in that the apparatus comprises:
the first acquisition module is used for acquiring a target account number input by a user in a login interface of the target network service and acquiring an identifier of the target network service;
the second acquisition module is used for acquiring format information of a login password corresponding to the target account according to the target account and the identifier of the target network service, wherein the format information comprises the character number of the password and the type of at least one character in the password;
the prompt module is used for displaying format information of the login password at a specified position in an input interface of an input method application in the login interface when the password input operation is detected in the login interface; or displaying the format information of the login password at the specified position of the login interface; or the format information of the login password is broadcasted in a voice mode;
the device also comprises a second sending module and a receiving module;
the second sending module is used for sending a password format obtaining request to the server, wherein the password format obtaining request is used for indicating the server to return the identifier, the account and the format information of the corresponding login password of the network service;
the receiving module is used for receiving the identifier, the account number and the format information of the corresponding login password of the network service returned by the server;
the second obtaining module is configured to obtain format information of a login password corresponding to the target account from format information of the network service identifier, the account and the corresponding login password returned by the server according to the target account and the identifier of the target network service, and store the format information of the network service identifier, the account and the corresponding login password returned by the server in a password format database maintained by the terminal.
5. The apparatus of claim 4, wherein the first obtaining module is further configured to: acquiring the target account and a first password input by a user in the login interface;
the device also comprises an identification module and a first sending module;
the identification module is used for identifying format information of the first password after the target account and the first password pass verification;
and the first sending module is used for sending the format information of the first password to a server as the format information of the login password corresponding to the target account.
6. The apparatus of claim 5, wherein the login interface comprises a password format identification option, and the identification module is configured to:
and when the triggering operation of the password format identification option is detected, identifying the format information of the first password.
7. A password input apparatus, comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
acquiring a target account number input by a user in a login interface of the target network service, and acquiring an identifier of the target network service; acquiring format information of a login password corresponding to the target account according to the target account and the identifier of the target network service, wherein the format information comprises the number of characters of the password and the type of at least one character in the password;
when a password input operation is detected in the login interface, displaying format information of the login password at a specified position in an input interface of an input method application in the login interface; or displaying the format information of the login password at the specified position of the login interface; or the format information of the login password is broadcasted in a voice mode;
before the obtaining of the format information of the login password corresponding to the target account according to the target account and the identifier of the target network service, the method further includes:
sending a password format acquisition request to a server, wherein the password format acquisition request is used for indicating the server to return identifiers and account numbers of network services and format information of corresponding login passwords; receiving the identifier, the account and the format information of the corresponding login password of the network service returned by the server;
the acquiring format information of the login password corresponding to the target account according to the target account and the identifier of the target network service includes:
according to the target account and the target network service identification, obtaining the format information of the login password corresponding to the target account from the network service identification, the account and the format information of the corresponding login password returned by the server, and storing the network service identification, the account and the format information of the corresponding login password returned by the server into a password format database maintained by the terminal.
CN201710295164.5A 2017-04-28 2017-04-28 Password input method and device Active CN107147633B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710295164.5A CN107147633B (en) 2017-04-28 2017-04-28 Password input method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710295164.5A CN107147633B (en) 2017-04-28 2017-04-28 Password input method and device

Publications (2)

Publication Number Publication Date
CN107147633A CN107147633A (en) 2017-09-08
CN107147633B true CN107147633B (en) 2020-11-06

Family

ID=59774110

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710295164.5A Active CN107147633B (en) 2017-04-28 2017-04-28 Password input method and device

Country Status (1)

Country Link
CN (1) CN107147633B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108965472B (en) * 2018-08-23 2020-11-20 珠海格力电器股份有限公司 Account information pushing method and device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103177204A (en) * 2013-03-29 2013-06-26 北京奇虎科技有限公司 Password information tip method and device
CN104660406A (en) * 2013-11-22 2015-05-27 华为终端有限公司 Method, device and equipment for logging in service
CN105550551A (en) * 2015-12-25 2016-05-04 北京奇虎科技有限公司 Password processing method and equipment, and password prompt method and equipment
CN105808995A (en) * 2016-05-04 2016-07-27 青岛海信电器股份有限公司 Password prompting method and device and terminal
CN106130968A (en) * 2016-06-21 2016-11-16 佛山科学技术学院 A kind of identity identifying method and system

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102104484A (en) * 2009-12-22 2011-06-22 鸿富锦精密工业(深圳)有限公司 Electronic equipment and password protection method
CN105320864A (en) * 2015-10-28 2016-02-10 广东欧珀移动通信有限公司 Method and apparatus for processing event operation

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103177204A (en) * 2013-03-29 2013-06-26 北京奇虎科技有限公司 Password information tip method and device
CN104660406A (en) * 2013-11-22 2015-05-27 华为终端有限公司 Method, device and equipment for logging in service
CN105550551A (en) * 2015-12-25 2016-05-04 北京奇虎科技有限公司 Password processing method and equipment, and password prompt method and equipment
CN105808995A (en) * 2016-05-04 2016-07-27 青岛海信电器股份有限公司 Password prompting method and device and terminal
CN106130968A (en) * 2016-06-21 2016-11-16 佛山科学技术学院 A kind of identity identifying method and system

Also Published As

Publication number Publication date
CN107147633A (en) 2017-09-08

Similar Documents

Publication Publication Date Title
CN106709399B (en) Fingerprint identification method and device
CN105843615B (en) Notification message processing method and device
CN106170004B (en) Method and device for processing verification code
US20160028741A1 (en) Methods and devices for verification using verification code
CN109039990B (en) Behavior verification method and device based on verification code
US10242678B2 (en) Friend addition using voiceprint analysis method, device and medium
US11004163B2 (en) Terminal-implemented method, server-implemented method and terminal for acquiring certification document
CN107230060B (en) Account loss reporting method and device
CN105263126B (en) Short-message verification method, apparatus and system
CN105095366A (en) Method and device for processing character messages
CN107145771B (en) Application program unlocking method and device and terminal
CN107395624B (en) Information processing method and device
CN109246094B (en) User terminal verification method, device and storage medium
CN107018502B (en) Short message identification method and device
CN110213062B (en) Method and device for processing message
CN106506808B (en) Method and device for prompting communication message
CN110008668B (en) Data processing method, device and storage medium
CN109246317B (en) User information updating method, system and server
CN107147633B (en) Password input method and device
CN109842688B (en) Content recommendation method and device, electronic equipment and storage medium
CN106712960B (en) Processing method and device of verification code information
CN108347401B (en) Method and device for processing login information
CN112351131B (en) Control method and device of electronic equipment, electronic equipment and storage medium
CN110708427B (en) Information processing method, device and storage medium
CN109992937B (en) Identity authentication method and identity authentication device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant