Prompt method and device
By obtaining and outputting the prompt information of the login password during the login process, the problem of users forgetting their passwords is solved, the login accuracy rate is improved and the password security is ensured.
Patent Information
- Application Number
- CN202110978003.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-08-24
- Publication Date
- 2024-12-27
- Estimated Expiration
- 2041-08-24
AI Technical Summary
Users are prone to forget their passwords. The existing technology skips the manual password input process through auxiliary login, which intensifies the problem of password forgetting.
A prompt method and device are provided, which obtains stored memo data by receiving input, and outputs prompt information of a login password based on the data, so as to help the user remember the password. The method includes detecting authentication, generating memo data, and prompting by displaying or voice outputting password content or type.
Effectively avoid users forgetting their passwords, improve login accuracy, and ensure password security, avoid reset problems caused by forgetting.
Smart Images

Figure CN113672886B_ABST
Abstract
Description
Technical Field
[0001] The present application belongs to the technical field of password input, and specifically relates to a prompting method and a prompting device. Background Art
[0002] Each user usually has multiple passwords. Commonly used passwords can generally be remembered, but some passwords were set a long time ago, or some passwords are required to be changed regularly, making it easy for users to forget the correct passwords, which causes inconvenience to users when logging in with passwords.
[0003] Currently, users can be assisted in logging in by assisting them. For example, automatic password filling can be set, or facial recognition and fingerprint recognition can be used to assist users in logging in.
[0004] However, this implementation method directly skips the verification step of manually entering the password to achieve login, which will increase the user's tendency to forget the password. Summary of the invention
[0005] The purpose of the embodiments of the present application is to provide a prompt method and device that can solve the problem that users easily forget their passwords.
[0006] In a first aspect, an embodiment of the present application provides a prompt method, the method comprising: receiving a first input; in response to the first input, obtaining stored memo data, the memo data being data generated according to a login password set by a user; and outputting prompt information corresponding to the login password according to the memo data.
[0007] In a second aspect, an embodiment of the present application provides a prompt device, which includes: a receiving module for receiving a first input; an acquisition module for acquiring stored memo data in response to the first input, wherein the memo data is data generated according to a login password set by a user; and an output module for outputting prompt information corresponding to the login password according to the memo data.
[0008] In a third aspect, an embodiment of the present application provides an electronic device, which includes a processor, a memory, and a program or instruction stored in the memory and executable on the processor, wherein the program or instruction, when executed by the processor, implements the steps of the method described in the first aspect.
[0009] In a fourth aspect, an embodiment of the present application provides a readable storage medium, on which a program or instruction is stored, and when the program or instruction is executed by a processor, the steps of the method described in the first aspect are implemented.
[0010] In a fifth aspect, an embodiment of the present application provides a chip, comprising a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run a program or instruction to implement the method described in the first aspect.
[0011] In the embodiment of the present application, in response to the first input, the stored data generated according to the login password set by the user is obtained, and then the prompt information corresponding to the login password is output according to the data to prompt the login password. By prompting the login password in the manual password input stage, the user can avoid forgetting the password. BRIEF DESCRIPTION OF THE DRAWINGS
[0012] Figure 1 is a flow chart of a prompting method provided by this embodiment;
[0013] Figure 2 is a schematic diagram of a user interface of an electronic device provided in this embodiment;
[0014] Figure 3 is a block diagram of a prompting device provided in this embodiment;
[0015] Figure 4 It is a schematic diagram of the hardware structure of an electronic device provided in this embodiment. DETAILED DESCRIPTION
[0016] The following will be combined with the drawings in the embodiments of the present application to clearly describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, rather than all the embodiments. All other embodiments obtained by ordinary technicians in this field based on the embodiments in the present application belong to the scope of protection of this application.
[0017] The terms "first", "second", etc. in the specification and claims of the present application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable under appropriate circumstances, so that the embodiments of the present application can be implemented in an order other than those illustrated or described here, and the objects distinguished by "first", "second", etc. are generally of one type, and the number of objects is not limited. For example, the first object can be one or more. In addition, "and / or" in the specification and claims represents at least one of the connected objects, and the character " / " generally indicates that the objects associated with each other are in an "or" relationship.
[0018] The prompt method provided in the embodiment of the present application is described in detail below through specific embodiments and their application scenarios in conjunction with the accompanying drawings.
[0019] Please refer to Figure 1The prompting method provided in this embodiment may include the following steps S110 to S130:
[0020] Step S110, receiving a first input.
[0021] In detail, the first input may be a login request input by a user, or may be a request for displaying password prompt information input by a user on a login page.
[0022] Step S120: in response to the first input, obtaining stored memo data, wherein the memo data is data generated according to the login password set by the user.
[0023] In this embodiment, after receiving the first input, the stored memo data can be obtained so as to output password prompt information based on the first input and prompt the user for the login password to be input.
[0024] In this embodiment, when the user sets a login password, memo data can be generated according to the login password, so that when the user logs in again later, the login password can be prompted according to the memo data.
[0025] In detail, it can be determined whether to generate memo data according to the user's login password in combination with the user's setting information. In this way, there may be a situation where some login passwords correspond to memo data, while some login passwords do not correspond to memo data. If the login password used by the user to log in does not correspond to memo data, no password prompt is given.
[0026] Based on this, in one embodiment of the present disclosure, in response to the first input, obtaining the stored memo data may include the following steps S120a1 to S120a2:
[0027] Step S120a1: in response to the first input, detecting whether the memo data is stored.
[0028] In the embodiment, considering that there may be a situation where no memo data is stored, after receiving the first input, it may be detected whether there is any memo data stored.
[0029] In detail, the user's identification information, such as a user name used for logging in, may be mapped to the memo data, and whether the corresponding memo data is stored may be detected based on the identification information provided by the user.
[0030] Step S120a2: if the memo data is stored, obtain the memo data.
[0031] If memo data is stored, the memo data is obtained, and the prompt information can be displayed on the prompt page accordingly. If memo data is not stored, the prompt page is not displayed.
[0032] In this embodiment, in order to ensure the security of the password, the user's identity may be authenticated before obtaining the memo data, and the memo data may be obtained only if the authentication is passed.
[0033] Based on this, in one embodiment of the present disclosure, in response to the first input, obtaining the stored memo data may include the following steps S120b1 to S120b3:
[0034] Step S120b1: In response to the first input, obtain the identity information of the user.
[0035] In one embodiment of the present disclosure, the identity information includes at least one of face information, fingerprint information, and audio information.
[0036] In detail, taking the case where the user sends the first input via a smart phone as an example, the smart phone may be provided with an identity information collection device, such as a microphone, a camera, etc., so as to collect the user's voice, facial image, etc.
[0037] Step S120b2, verifying the identity information.
[0038] Specifically, when setting a login password, the user can upload his or her own identity information, so that when a password prompt is requested later, the identity of the user making the request can be effectively verified based on the identity information.
[0039] Taking identity information including facial information as an example, after the user sends a first input through the mobile phone, the mobile phone can collect the user's facial information, and compare the collected facial information with the pre-stored facial information to verify the identity information.
[0040] Considering that there are usually other people in a noisy environment, in order to prevent the prompt information from being known by other people when prompting the password, in a feasible implementation, the identity information may include a sound signal collected by a microphone. Based on the sound information, the identity information is verified by detecting whether the first input is issued by the user in a quiet environment.
[0041] Step S120b3, when the identity information is verified, the stored memo data is obtained.
[0042] The memo data can be obtained if the verification is passed, ensuring that the memo data is obtained in a safe environment to avoid password leakage.
[0043] This embodiment can collect identity information through a microphone and a front camera to ensure that the user is prompted for a password in a quiet and safe environment, thereby improving the security of the password prompt.
[0044] In this embodiment, the memo data is data used to prompt the login password. Specifically, the memo data can be generated from two aspects: password content and / or password type, so that the password can be prompted from two aspects: password content and / or password type.
[0045] Based on this, the memo data in this embodiment can be at least any one of the following data existence modes:
[0046] Method 1: Data used to prompt the password content;
[0047] Method 2: Data used to prompt the password type;
[0048] Method 3: A combination of method 1 and method 2.
[0049] After the stored memo data is obtained, the following step S130 may be performed to output password prompt information.
[0050] Step S130: outputting prompt information corresponding to the login password according to the memo data.
[0051] Specifically, the output modes include display output and voice playback output.
[0052] Specifically, the prompt information may be displayed on the password login page or in a pop-up window superimposed on the password login page. For example, Figure 2 A schematic diagram of an interface for displaying prompt information is shown.
[0053] Please refer to Figure 2 When displaying the prompt information, the prompt information can be displayed through the password auxiliary input box as shown in number a. In the password auxiliary input box, the password content can be displayed through the password input bar as shown in number b, and the password type can be displayed through the display box as shown in number d. The password auxiliary input box can also display a switch as shown in number c, and the user can request to display or not display the password type by operating the switch.
[0054] In a feasible implementation, before outputting the prompt information, it can be detected whether the electronic device is connected to a Bluetooth headset. If the Bluetooth headset is connected, the prompt information can be played, otherwise the prompt information can be displayed.
[0055] In this step, the corresponding password prompt information is output according to the content of the memo data. For example, for the above method 1, at least information for prompting the password content is output, and for the above method 2, at least information for prompting the password type is output.
[0056] In detail, corresponding to the above method 1:
[0057] In one embodiment of the present disclosure, the memo data includes first data, and the first data includes some characters in the login password and the sorting positions of the characters in the login password.
[0058] In this embodiment, in order to prompt the user with the password content, the first data may include some characters in the login password and the positions of these characters in the login password.
[0059] For example, when the login password is "123456", the first data may include "3" and "6" and the sorting positions of these two characters. For example, the first data stored may be: 3(3), 6(6), where the content outside the brackets indicates the characters and the content inside the brackets indicates the sorting position.
[0060] For another example, when the login password is "abcDD_89", the first data may include "c" and "8" and the sorting positions of these two characters. For example, the first data stored may be: c(3), 8(7), where the content outside the brackets indicates the characters and the content inside the brackets indicates the sorting position.
[0061] In one embodiment of the present disclosure, the ratio of the number of the partial characters to the total number of characters is within a set ratio range.
[0062] The ratio range can be set as needed, for example, it can be set to an integer of n≤N / 4, and can be set to an integer of 1 / N<n<N / 2, where N is the total number of characters and n is the number of partial characters. Thus, when the login password is "abcDD_89", the number of partial characters can be 1, 2, etc.
[0063] This embodiment can not only achieve a good prompt effect but also ensure good password security by appropriately limiting the number of some characters.
[0064] Correspondingly, the step S130, outputting prompt information corresponding to the login password according to the memo data, may include the following steps S130a:
[0065] Step S130a: Displaying the characters in the first data in order on the target page according to the sorting positions of the characters in the first data.
[0066] In this embodiment, the first data includes characters in the login password and their sorting positions. When the prompt information is displayed accordingly, the corresponding characters can be displayed in order according to the sorting positions of the characters.
[0067] This embodiment provides a prompt for the password content, so that the user can quickly and accurately know the login password based on some characters and their positions in the login password.
[0068] In this embodiment, displaying characters in order can be understood as that the display position of the characters is related to the sorting position of the characters, but the two are not necessarily equal. Based on this, the password content display method can be at least the following method A or method B:
[0069] Mode A: The display position of the character is equal to the sorting position of the character;
[0070] Mode B: The display position of a character is related to but not equal to the sort position of the character.
[0071] Among them, method A provides a more obvious hint for the password content, while method B provides a safer hint for the password content.
[0072] In detail, corresponding to the above method A:
[0073] In one embodiment of the present disclosure, the first data further includes: the total number of characters in the login password.
[0074] For example, when the login password is "123456", the total number of characters is 6, and when the login password is "abcDD_89", the total number of characters is 8.
[0075] Correspondingly, the step S130a, displaying the characters in the first data in order on the target page according to the sorting positions of the characters in the first data, may include the following steps S130a1 to S130a2:
[0076] Step S130a1, displaying a first number of password input positions on the target page, wherein the first number is equal to the total number of characters.
[0077] In this embodiment, the target page may be a login page, or a pop-up window superimposed on the login page.
[0078] For example, when the login password is "abcDD_89", the total number of characters is 8, and 8 password input positions can be displayed. This display effect can be as follows: Figure 2 shown.
[0079] Step S130a2: displaying the characters at the password input positions corresponding to the sorting positions of the characters in the first data.
[0080] Assume that the first data stored is: D(4), 9(8), the content outside the brackets represents the characters, and the content inside the brackets represents the sorting position, then the corresponding display effect can be as follows: Figure 2 shown.
[0081] It can be seen that this embodiment can provide an obvious prompt for the password content so that the user can quickly and accurately know the login password.
[0082] In detail, corresponding to the above method B:
[0083] In one embodiment of the present disclosure, the first data further includes: the total number of characters in the login password.
[0084] For example, when the login password is "123456", the total number of characters is 6, and when the login password is "abcDD_89", the total number of characters is 8.
[0085] In this embodiment, the number of the partial characters is greater than or equal to 2. In this way, the login password can be obtained based on at least the relative position between two characters.
[0086] Correspondingly, the step S130a, displaying the characters in the first data in order on the target page according to the sorting positions of the characters in the first data, may include the following steps S130a3 to S130a4:
[0087] Step S130a3: displaying a second number of password input positions on the target page, wherein the second number is not equal to the total number of characters.
[0088] In this embodiment, the target page may be a login page, or a pop-up window superimposed on the login page.
[0089] For example, when the login password is "cDD_89", the total number of characters is 6, and 8 password input positions can be displayed. This display effect can be as follows: Figure 2 shown.
[0090] For example, when the login password is "abcDD_89XX", the total number of characters is 10, and 8 password input digits can be displayed. This display effect can be as follows: Figure 2 shown.
[0091] In this embodiment, the number of password input digits is not equal to the total number of characters, which avoids excessive exposure of the login password in terms of the total number of characters and the actual positions of the characters. It is also confusing and increases the difficulty of cracking the password based on this prompt information.
[0092] Step S130a4, displaying the character on one of the password input positions according to the sorting position of the character in the first data, so that the number of intervals between the password input positions of any two characters is equal to the number of intervals between the sorting positions of the two characters.
[0093] For example, assuming that the login password is "cDD_89", the first data stored is: D(2), 9(6), the content outside the brackets represents the characters, and the content inside the brackets represents the sorting position. The corresponding display effect can be as follows: Figure 2 shown.
[0094] For another example, when the login password is "abcDD_89XX", the first data stored is: D(4), 9(8), the content outside the brackets represents the characters, and the content inside the brackets represents the sorting position. The corresponding display effect can also be as follows: Figure 2 shown.
[0095] It can be seen that although the display positions of the two characters are inconsistent with the actual positions, the number of intervals between them is the same as the actual number of intervals between them, which is 3 characters.
[0096] It can be seen that this embodiment can implement a secure prompt for the password content so that the user can safely know the login password.
[0097] In detail, corresponding to the above method 2:
[0098] In one embodiment of the present disclosure, the memo data includes second data, and the second data includes: the type and sorting position of each character in the login password.
[0099] In this embodiment, in order to prompt the user for the password type, the second data may include the type and sort position of each character in the login password.
[0100] Specifically, the type and sorting position of the characters may be recorded and stored according to a preset mapping relationship between the characters and the identifiers.
[0101] For example, lowercase letters are represented by a, uppercase letters are represented by A, numbers are represented by 0, special symbols are represented by #, and length is represented by *x.
[0102] For example, when the login password is "123456", the recorded second data may be 0*6; when the login password is "abcDD_89", the recorded second data may be a*3A*2#0*2.
[0103] Correspondingly, the step S130, outputting prompt information corresponding to the login password according to the memo data, may include the following steps S130b:
[0104] Step S130b: Display the type and sort position of each character in the login password in text form on the target page.
[0105] In this embodiment, the second data includes the type and sort position of each character in the login password, and when the prompt information is displayed based on this, the password type defined by the second data can be displayed in text form.
[0106] For example, when the login password is "abcDD_89" and the second data recorded can be a*3A*2#0*2, the corresponding display effect can be as follows: Figure 2 shown.
[0107] This embodiment provides a prompt for the password type, so that the user can quickly and accurately know the login password based on the type and position of each character in the login password.
[0108] In detail, corresponding to the above method 3:
[0109] In one embodiment of the present disclosure, the memo data includes first data and second data.
[0110] The first data includes: some characters in the login password and the sorting positions of the characters in the login password.
[0111] Wherein, the second data includes: the type and sorting position of each character in the login password.
[0112] In this embodiment, the first data is used to prompt the password content, and the second data is used to prompt the password type.
[0113] Correspondingly, in response to the first input, acquiring the stored memo data, and outputting the prompt information corresponding to the login password according to the memo data may include the following steps A to C:
[0114] Step A: acquiring the first data in response to the first input, and outputting prompt information corresponding to the login password according to the first data.
[0115] In this embodiment, during the user login stage, a prompt message for the password content may be displayed first. The display effect of the prompt message may be as follows: Figure 2 As shown in the number b.
[0116] Step B: after outputting prompt information corresponding to the login password according to the first data, receiving a second input.
[0117] If the user still cannot quickly and accurately know the login password after viewing the prompt information for the password content, a second input can be issued. Figure 2 The switch indicated by number c in FIG. 1 is set to the on state to request display of prompt information for the password type.
[0118] Step C: acquiring the second data in response to the second input, and outputting prompt information corresponding to the login password according to the second data.
[0119] In this step, prompt information for the password type is output according to the second data. The display effect of the prompt information can be as follows: Figure 2 As shown in the figure numbered d.
[0120] This embodiment provides prompts for password content and password type, so that the user can quickly and accurately know the login password based on some characters and their positions in the login password, as well as the type and position of each character in the login password.
[0121] Specifically, while providing convenience for password input, the security of the password is equally important. Based on this, in one embodiment of the present disclosure, the memo data is encrypted data.
[0122] In detail, when the memo data is generated, encryption processing may be performed according to a set encryption rule to generate the memo data in ciphertext form, and the memo data in ciphertext form may be stored to ensure data storage security.
[0123] For example, the ciphertext may be obtained by encrypting the user name used by the user to log in.
[0124] Correspondingly, the step S130, outputting prompt information corresponding to the login password according to the memo data, may include the following steps S1301 to S1302:
[0125] Step S1301: Use the set key to decrypt the memo data to obtain plain text.
[0126] After obtaining the ciphertext, the memo data is decrypted based on the decryption key corresponding to the encryption key to obtain the plaintext. For example, the ciphertext can also be decrypted using the user name entered by the user.
[0127] Step S1302: Output prompt information corresponding to the login password according to the plain text.
[0128] After decrypting the plaintext, a password hint is generated based on the plaintext content.
[0129] In this embodiment, the memo data is encrypted and stored when not in use, and is decrypted and displayed only when the user enters the password, so as to avoid leakage of the memo data and thus the password being cracked and leaked.
[0130] As can be seen from the above, this embodiment provides a prompting method, which obtains the stored data generated according to the login password set by the user in response to the first input, and then outputs the prompt information corresponding to the login password according to the data to prompt the login password. By prompting the login password in the manual password input stage, the user can avoid forgetting the password.
[0131] As for the implementation method of supporting user login by assisting user login, this implementation method directly skips the verification step of manually entering the password to realize login, so that the user can complete the login without manually entering the password, but it will increase the user's forgetfulness of the password. Once the user is required to manually enter the password to log in, forgetting the password will cause inconvenience to the user's login. For example, when the password is needed, the user forgets the password and cannot enter it correctly in time, and has no choice but to reset the password.
[0132] The method provided in this embodiment supports users to log in by means of password prompts. Specifically, in the verification link where the user needs to manually enter the password, the login password previously set by the user is prompted, so that the user can accurately and quickly enter the password based on the prompt information, avoiding the problem of being unable to log in due to the user forgetting the password.
[0133] It can be seen that the method provided in this embodiment can effectively awaken the user's memory of the original password and prevent the user from forgetting the password, rather than simply assisting the user to log in. In addition, this embodiment only prompts the login password rather than excessively exposing the login password, so while assisting the user to remember the password, the security of the login password can also be guaranteed.
[0134] In addition, this embodiment can also improve the accuracy of password input by users by providing password prompts.
[0135] It should be noted that the prompt method provided in the embodiment of the present application can be executed by a prompt device or a control module in the prompt device for executing the prompt method. In the embodiment of the present application, the prompt device provided in the embodiment of the present application is described by taking the prompt device executing the prompt method as an example.
[0136] like Figure 3 As shown, the prompting device 200 provided in the embodiment of the present application may include a receiving module 210 , an acquiring module 220 and an output module 230 .
[0137] The receiving module 210 is used to receive a first input. The acquiring module 220 is used to acquire stored memo data in response to the first input, wherein the memo data is data generated according to the login password set by the user. The output module 230 is used to output prompt information corresponding to the login password according to the memo data.
[0138] In this embodiment, in response to the first input, the stored data generated according to the login password set by the user is obtained, and then the prompt information corresponding to the login password is output according to the data to prompt the login password. By prompting the login password in the manual password input stage, the user can avoid forgetting the password.
[0139] In one embodiment of the present disclosure, the memo data includes first data, which includes some characters in the login password and the sorting position of the characters in the login password; the output module 230 is used to display the characters in the first data in sequence on the target page according to the sorting position of the characters in the first data.
[0140] In one embodiment of the present disclosure, the first data also includes: the total number of characters of the login password; the output module 230 is used to display a first number of password input positions on the target page, the first number being equal to the total number of characters; and according to the sorting position of the characters in the first data, displaying the characters on the password input positions corresponding to the sorting positions of the characters.
[0141] In one embodiment of the present disclosure, the first data also includes: the total number of characters of the login password; the number of the partial characters is greater than or equal to 2; the output module 230 is used to display a second number of password input positions on the target page, and the second number is not equal to the total number of characters; according to the sorting position of the characters in the first data, the characters are displayed on one of the password input positions, so that the number of intervals between the password input positions of any two characters is equal to the number of intervals between the sorting positions of the two characters.
[0142] In one embodiment of the present disclosure, the ratio of the number of the partial characters to the total number of characters is within a set ratio range.
[0143] In one embodiment of the present disclosure, the memo data includes second data, which includes: the type and sort position of each character in the login password; the output module 230 is used to display the type and sort position of each character in the login password in text form on the target page.
[0144] In one embodiment of the present disclosure, the memo data includes first data and second data; the first data includes: some characters in the login password and the sorting position of the characters in the login password; the second data includes: the type and sorting position of each character in the login password; the acquisition module 220 is used to acquire the first data in response to the first input; after the output module 230 outputs the prompt information corresponding to the login password according to the first data, receives the second input; acquires the second data in response to the second input; the output module 230 is used to output the prompt information corresponding to the login password according to the first data; and output the prompt information corresponding to the login password according to the second data.
[0145] In one embodiment of the present disclosure, the acquisition module 220 is used to detect whether the memo data is stored in response to the first input; if the memo data is stored, acquire the memo data.
[0146] In one embodiment of the present disclosure, the memo data is encrypted data; the output module 230 is used to decrypt the memo data using a set key to obtain plain text; and output prompt information corresponding to the login password according to the plain text.
[0147] In one embodiment of the present disclosure, the acquisition module 220 is used to acquire the identity information of the user in response to the first input; verify the identity information; and acquire the stored memo data when the identity information is verified.
[0148] In one embodiment of the present disclosure, the identity information includes at least one of face information, fingerprint information, and audio information.
[0149] The prompting device in the embodiment of the present application can be a device, or a component, integrated circuit, or chip in a terminal. The device can be a mobile electronic device or a non-mobile electronic device. For example, the mobile electronic device can be a mobile phone, a tablet computer, a laptop computer, a PDA, an in-vehicle electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook, or a personal digital assistant (PDA), etc. The non-mobile electronic device can be a server, a network attached storage (NAS), a personal computer (PC), a television (TV), a teller machine or a self-service machine, etc., which is not specifically limited in the embodiment of the present application.
[0150] The prompt device in the embodiment of the present application may be a device having an operating system. The operating system may be an Android operating system, an iOS operating system, or other possible operating systems, which are not specifically limited in the embodiment of the present application.
[0151] The prompting device provided in the embodiment of the present application can achieve Figure 1 To avoid repetition, the various processes implemented by the method embodiment are not described here.
[0152] Optionally, an embodiment of the present application also provides an electronic device 1000, including a processor 1010, a memory 1009, and a program or instruction stored in the memory 1009 and executable on the processor 1010. When the program or instruction is executed by the processor 1010, each process of the above-mentioned prompt method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.
[0153] It should be noted that the electronic devices in the embodiments of the present application include the mobile electronic devices and non-mobile electronic devices mentioned above.
[0154] Figure 4 A schematic diagram of the hardware structure of an electronic device 1000 for implementing an embodiment of the present application.
[0155] The electronic device 1000 includes but is not limited to: a radio frequency unit 1001, a network module 1002, an audio output unit 1003, an input unit 1004, a sensor 1005, a display unit 1006, a user input unit 1007, an interface unit 1008, a memory 1009, and a processor 1010 and other components.
[0156] Those skilled in the art will appreciate that the electronic device 1000 may also include a power source (such as a battery) for supplying power to each component, and the power source may be logically connected to the processor 1010 through a power management system, thereby implementing functions such as managing charging, discharging, and power consumption management through the power management system. Figure 4 The electronic device structure shown in the figure does not constitute a limitation on the electronic device. The electronic device may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently, which will not be described in detail here.
[0157] The processor 1010 is used to receive a first input; in response to the first input, obtain stored memo data, where the memo data is data generated according to a login password set by a user; and output prompt information corresponding to the login password according to the memo data.
[0158] In this embodiment, in response to the first input, the stored data generated according to the login password set by the user is obtained, and then the prompt information corresponding to the login password is output according to the data to prompt the login password. By prompting the login password in the manual password input stage, the user can avoid forgetting the password.
[0159] Optionally, the memo data includes first data, which includes some characters in the login password and the sorting position of the characters in the login password; the processor 1010 is used to display the characters in the first data in sequence on the target page according to the sorting position of the characters in the first data.
[0160] Optionally, the first data also includes: the total number of characters of the login password; a processor 1010, used to display a first number of password input positions on the target page, the first number being equal to the total number of characters; and displaying the characters on the password input positions corresponding to the sorting positions of the characters in the first data.
[0161] Optionally, the first data also includes: the total number of characters of the login password; the number of the partial characters is greater than or equal to 2; the processor 1010 is used to display a second number of password input positions on the target page, and the second number is not equal to the total number of characters; according to the sorting position of the characters in the first data, the characters are displayed on one of the password input positions, so that the number of intervals between the password input positions of any two characters is equal to the number of intervals between the sorting positions of the two characters.
[0162] Optionally, the ratio of the number of the partial characters to the total number of characters is within a set ratio range.
[0163] Optionally, the memo data includes second data, the second data including: the type and sorting position of each character in the login password; the processor 1010 is used to display the type and sorting position of each character in the login password in text form on the target page.
[0164] Optionally, the memo data includes first data and second data; the first data includes: some characters in the login password and the sorting position of the characters in the login password; the second data includes: the type and sorting position of each character in the login password; the processor 1010 is used to obtain the first data in response to the first input, and output prompt information corresponding to the login password according to the first data; after outputting the prompt information corresponding to the login password according to the first data, receive the second input; obtain the second data in response to the second input, and output prompt information corresponding to the login password according to the second data.
[0165] Optionally, the processor 1010 is configured to detect, in response to the first input, whether the memo data is stored; and if the memo data is stored, obtain the memo data.
[0166] Optionally, the memo data is encrypted data; the processor 1010 is used to decrypt the memo data using a set key to obtain plain text; and output prompt information corresponding to the login password according to the plain text.
[0167] Optionally, the processor 1010 is configured to obtain the identity information of the user in response to the first input; verify the identity information; and obtain the stored memo data if the identity information is verified successfully.
[0168] Optionally, the identity information includes at least one of face information, fingerprint information, and audio information.
[0169] It should be understood that in the embodiment of the present application, the input unit 1004 may include a graphics processor (Graphics Processing Unit, GPU) 10041 and a microphone 10042, and the graphics processor 10041 processes the image data of the static picture or video obtained by the image capture device (such as a camera) in the video capture mode or the image capture mode. The display unit 1006 may include a display panel 10061, and the display panel 10061 may be configured in the form of a liquid crystal display, an organic light emitting diode, etc. The user input unit 1007 includes a touch panel 10071 and other input devices 10072. The touch panel 10071 is also called a touch screen. The touch panel 10071 may include two parts: a touch detection device and a touch controller. Other input devices 10072 may include, but are not limited to, a physical keyboard, a function key (such as a volume control button, a switch button, etc.), a trackball, a mouse, and a joystick, which will not be repeated here. The memory 1009 can be used to store software programs and various data, including but not limited to applications and operating systems. The processor 1010 may integrate an application processor and a modem processor, wherein the application processor mainly processes an operating system, a user interface, and application programs, and the modem processor mainly processes wireless communications. It is understandable that the modem processor may not be integrated into the processor 1010.
[0170] An embodiment of the present application also provides a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, the various processes of the above-mentioned prompt method embodiment are implemented and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.
[0171] The processor is a processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a computer read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.
[0172] An embodiment of the present application further provides a chip, which includes a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run programs or instructions to implement the various processes of the above-mentioned prompt method embodiment, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.
[0173] It should be understood that the chip mentioned in the embodiments of the present application can also be called a system-level chip, a system chip, a chip system or a system-on-chip chip, etc.
[0174] It should be noted that, in this article, the terms "comprise", "include" or any other variant thereof are intended to cover non-exclusive inclusion, so that the process, method, article or device including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise one..." do not exclude the presence of other identical elements in the process, method, article or device including the element. In addition, it should be pointed out that the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in reverse order according to the functions involved, for example, the described method may be performed in an order different from that described, and various steps may also be added, omitted, or combined. In addition, the features described with reference to certain examples may be combined in other examples.
[0175] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a computer software product, which is stored in a storage medium (such as ROM / RAM, a disk, or an optical disk), and includes a number of instructions for a terminal (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods described in each embodiment of the present application.
[0176] The embodiments of the present application are described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of the present application, ordinary technicians in this field can also make many forms without departing from the purpose of the present application and the scope of protection of the claims, all of which are within the protection of the present application.
Claims
1. A prompting method, characterized in that: include: receiving a first input; In response to the first input, the stored memo data is acquired, the memo data is data generated according to the login password set by the user, the memo data includes first data, the first data includes some characters in the login password and the sorting position of the characters in the login password and the total number of characters in the login password; Outputting prompt information corresponding to the login password according to the memo data includes: displaying the characters in the first data in order on the target page according to the sorting positions of the characters in the first data; The step of displaying the characters in the first data in order on the target page according to the sorting positions of the characters in the first data comprises: Displaying a second number of password input positions on the target page, the second number not being equal to the total number of characters; According to the sorting position of the characters in the first data, the characters are displayed on one of the password input positions, so that the number of intervals between the password input positions of any two characters is equal to the number of intervals between the sorting positions of the two characters.
2. The method according to claim 1, characterized in that The memo data also includes second data, the second data including: the type and sorting position of each character in the login password; The step of outputting prompt information corresponding to the login password according to the memo data further includes: The type and sort position of each character in the login password are displayed on the target page in text form.
3. The method according to claim 1, characterized in that The memo data also includes second data; the second data includes: the type and sorting position of each character in the login password; The step of acquiring stored memo data in response to the first input and outputting prompt information corresponding to the login password according to the memo data includes: acquiring the first data in response to the first input, and outputting prompt information corresponding to the login password according to the first data; After outputting prompt information corresponding to the login password according to the first data, receiving a second input; The second data is acquired in response to the second input, and prompt information corresponding to the login password is output according to the second data.
4. The method according to claim 1, characterized in that The step of acquiring stored memo data in response to the first input includes: In response to the first input, obtaining identity information of the user; Verifying the identity information; When the identity information is verified successfully, the stored memo data is obtained.
5. A prompting device, characterized in that: include: A receiving module, configured to receive a first input; an acquisition module, configured to acquire stored memo data in response to the first input, wherein the memo data is data generated according to a login password set by a user, and the memo data includes first data, wherein the first data includes some characters in the login password, the sorting positions of the characters in the login password, and the total number of characters in the login password; as well as, An output module, used for outputting prompt information corresponding to the login password according to the memo data; The output module is used to display the characters in the first data in order on the target page according to the sorting positions of the characters in the first data; The step of displaying the characters in the first data in order on the target page according to the sorting positions of the characters in the first data comprises: Displaying a second number of password input positions on the target page, the second number not being equal to the total number of characters; According to the sorting position of the characters in the first data, the characters are displayed on one of the password input positions, so that the number of intervals between the password input positions of any two characters is equal to the number of intervals between the sorting positions of the two characters.
6. The device according to claim 5, characterized in that The memo data also includes second data, the second data including: the type and sorting position of each character in the login password; The output module is used to display the type and sort position of each character in the login password in text form on the target page.
7. The device according to claim 5, characterized in that The memo data also includes second data; The second data includes: the type and sorting position of each character in the login password; The acquisition module is configured to acquire the first data in response to the first input; after the output module outputs the prompt information corresponding to the login password according to the first data, receive a second input; and acquire the second data in response to the second input; The output module is used to output prompt information corresponding to the login password according to the first data; and output prompt information corresponding to the login password according to the second data.
8. The device according to claim 5, characterized in that The acquisition module is used to acquire the identity information of the user in response to the first input; verify the identity information; and acquire the stored memo data when the identity information is verified.
Citation Information
Patent Citations
Method for reminding of inputting password and mobile terminal
CN106372470A
Router password prompting method and wireless router
CN107396353A
Password prompting method and device, storage medium and terminal
CN108171048A
A login information prompt method and terminal device
CN108959905A
Login method, device and equipment of application program and storage medium
CN110688632A