[go: up one dir, main page]

CN108171048A - Password prompting method and device, storage medium and terminal - Google Patents

Password prompting method and device, storage medium and terminal Download PDF

Info

Publication number
CN108171048A
CN108171048A CN201810023727.XA CN201810023727A CN108171048A CN 108171048 A CN108171048 A CN 108171048A CN 201810023727 A CN201810023727 A CN 201810023727A CN 108171048 A CN108171048 A CN 108171048A
Authority
CN
China
Prior art keywords
information
password
prompt
birthday
user
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.)
Pending
Application number
CN201810023727.XA
Other languages
Chinese (zh)
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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201810023727.XA priority Critical patent/CN108171048A/en
Publication of CN108171048A publication Critical patent/CN108171048A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/45Structures or tools for the administration of authentication

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Storage Device Security (AREA)

Abstract

本申请实施例公开了一种密码提示方法、装置、存储介质及终端,该方法包括:当设置用户名对应的密码时,获取所述密码的属性信息;根据所述属性信息生成提示信息,所述提示信息与所述密码为非直接描述关系;当输入所述用户名对应的密码时,输出所述提示信息。本申请实施例中提供的密码提示方案,能够在用户输入用户名对应的密码时,为用户提供密码的非直接描述,提高密码提示的安全性。

The embodiment of the present application discloses a password prompt method, device, storage medium and terminal, the method comprising: when setting a password corresponding to a user name, obtaining attribute information of the password; generating prompt information according to the attribute information, wherein the prompt information is in an indirect description relationship with the password; when the password corresponding to the user name is input, outputting the prompt information. The password prompt scheme provided in the embodiment of the present application can provide a user with an indirect description of the password when the user inputs the password corresponding to the user name, thereby improving the security of the password prompt.

Description

密码提示方法、装置、存储介质及终端Password prompting method, device, storage medium and terminal

技术领域technical field

本申请实施例涉及电子设备应用技术领域,尤其涉及密码提示方法、装置、存储介质及终端。The embodiments of the present application relate to the technical field of electronic equipment application, and in particular, to a password prompting method, device, storage medium, and terminal.

背景技术Background technique

随着电子设备的不断发展,越来越多的应用需要用户使用用户名和密码进行登录。随着用户名和密码的增多,用户越来越不容易记得用户名和密码。With the continuous development of electronic devices, more and more applications require users to log in with user names and passwords. With the increase of user names and passwords, it becomes more and more difficult for users to remember user names and passwords.

目前,应用程序在用户输入密码时,为用户显示密码的提示信息,以便用户快速准确的回忆起密码,避免进行密码找回。但是,在使用提示信息提示用户的同时,也为不法分子提供了破解密码的可能。例如用户丢失手机后,不法分子根据密码提示可以更加简单的破解密码,对用户信息安全造成威胁。因此,相关技术中密码提示的安全性较低。At present, when the user enters the password, the application program displays the password prompt information for the user, so that the user can quickly and accurately recall the password and avoid password retrieval. However, when the prompt information is used to prompt the user, it also provides the possibility for criminals to crack the password. For example, after the user loses the mobile phone, criminals can crack the password more easily according to the password prompt, which poses a threat to the user's information security. Therefore, the security of the password prompt in the related art is relatively low.

发明内容Contents of the invention

本申请实施例的目的是提供一种密码提示方法、装置、存储介质及终端,可以提高密码提示的安全性。The purpose of the embodiment of the present application is to provide a password prompting method, device, storage medium and terminal, which can improve the security of password prompting.

第一方面,本申请实施例提供了一种密码提示方法,包括:In the first aspect, the embodiment of the present application provides a password prompting method, including:

当设置用户名对应的密码时,获取所述密码的属性信息;When setting the password corresponding to the user name, acquire the attribute information of the password;

根据所述属性信息生成提示信息,所述提示信息与所述密码为非直接描述关系;generating prompt information according to the attribute information, where the prompt information has an indirect description relationship with the password;

当输入所述用户名对应的密码时,输出所述提示信息。When the password corresponding to the user name is input, the prompt information is output.

第二方面,本申请实施例提供了一种密码提示装置,包括:In the second aspect, the embodiment of the present application provides a password prompting device, including:

属性获取模块,用于当设置用户名对应的密码时,获取所述密码的属性信息;An attribute acquisition module, configured to acquire attribute information of the password when setting the password corresponding to the user name;

生成模块,用于根据所述获取模块获取的所述属性信息生成提示信息,所述提示信息与所述密码为非直接描述关系;A generation module, configured to generate prompt information according to the attribute information acquired by the acquisition module, where the prompt information has an indirect description relationship with the password;

输出模块,用于当输入所述用户名对应的密码时,输出所述生成模块生成的所述提示信息。An output module, configured to output the prompt information generated by the generation module when the password corresponding to the user name is input.

第三方面,本申请实施例提供了一种计算机可读存储介质,其上存储有计算机程序,该程序被处理器执行时实现如第一方面所示的密码提示方法。In a third aspect, an embodiment of the present application provides a computer-readable storage medium, on which a computer program is stored, and when the program is executed by a processor, the password prompting method as shown in the first aspect is implemented.

第四方面,本申请实施例提供了一种终端,包括存储器,处理器及存储在存储器上并可在处理器运行的计算机程序,所述处理器执行所述计算机程序时实现如第一方面所示的密码提示方法。In a fourth aspect, an embodiment of the present application provides a terminal, including a memory, a processor, and a computer program stored in the memory and operable on the processor. When the processor executes the computer program, the computer program described in the first aspect is implemented. The displayed password prompt method.

本申请实施例中提供的密码提示方案,首先当设置用户名对应的密码时,获取所述密码的属性信息;然后,根据所述属性信息生成提示信息,所述提示信息与所述密码为非直接描述关系;最后,当输入所述用户名对应的密码时,输出所述提示信息,进而实现在用户输入用户名对应的密码时,为用户提供密码的非直接描述,提高密码提示的安全性。In the password prompt scheme provided in the embodiment of the present application, first, when setting the password corresponding to the user name, the attribute information of the password is obtained; then, the prompt information is generated according to the attribute information, and the prompt information is different from the password Directly describe the relationship; finally, when the password corresponding to the user name is input, the prompt information is output, so that when the user enters the password corresponding to the user name, an indirect description of the password is provided for the user, improving the security of the password prompt .

附图说明Description of drawings

图1为本申请实施例提供的一种密码提示方法的流程示意图;FIG. 1 is a schematic flowchart of a method for prompting a password provided in an embodiment of the present application;

图2为本申请实施例提供的另一种密码提示方法的流程示意图;FIG. 2 is a schematic flowchart of another password prompting method provided by the embodiment of the present application;

图3为本申请实施例提供的另一种密码提示方法的流程示意图;FIG. 3 is a schematic flowchart of another password prompting method provided in the embodiment of the present application;

图4为本申请实施例提供的另一种密码提示方法的流程示意图;FIG. 4 is a schematic flowchart of another password prompting method provided by the embodiment of the present application;

图5为本申请实施例提供的另一种密码提示方法的流程示意图;FIG. 5 is a schematic flowchart of another password prompting method provided in the embodiment of the present application;

图6为本申请实施例提供的另一种密码提示方法的流程示意图;FIG. 6 is a schematic flowchart of another password prompting method provided by the embodiment of the present application;

图7为本申请实施例提供的一种密码提示装置的结构框图;FIG. 7 is a structural block diagram of a password prompting device provided in an embodiment of the present application;

图8为本申请实施例提供的另一种密码提示装置的结构框图;Fig. 8 is a structural block diagram of another password prompting device provided by the embodiment of the present application;

图9为本申请实施例提供的一种移动终端的结构示意图。FIG. 9 is a schematic structural diagram of a mobile terminal provided by an embodiment of the present application.

具体实施方式Detailed ways

下面结合附图并通过具体实施方式来进一步说明本申请的技术方案。可以理解的是,此处所描述的具体实施例仅仅用于解释本申请,而非对本申请的限定。另外还需要说明的是,为了便于描述,附图中仅示出了与本申请相关的部分而非全部结构。The technical solution of the present application will be further described below in conjunction with the accompanying drawings and through specific implementation methods. It should be understood that the specific embodiments described here are only used to explain the present application, but not to limit the present application. In addition, it should be noted that, for the convenience of description, only some structures related to the present application are shown in the drawings but not all structures.

在更加详细地讨论示例性实施例之前应当提到的是,一些示例性实施例被描述成作为流程图描绘的处理或方法。虽然流程图将各步骤描述成顺序的处理,但是其中的许多步骤可以被并行地、并发地或者同时实施。此外,各步骤的顺序可以被重新安排。当其操作完成时所述处理可以被终止,但是还可以具有未包括在附图中的附加步骤。所述处理可以对应于方法、函数、规程、子例程、子程序等等。Before discussing the exemplary embodiments in more detail, it should be mentioned that some exemplary embodiments are described as processes or methods depicted as flowcharts. Although the flowcharts describe the steps as sequential processing, many of the steps may be performed in parallel, concurrently, or simultaneously. Additionally, the order of steps may be rearranged. The process may be terminated when its operations are complete, but may also have additional steps not included in the figure. The processing may correspond to a method, function, procedure, subroutine, subroutine, or the like.

随着电子设备的不断发展,越来越多的应用需要用户使用用户名和密码进行登录,用户越来越不容易记得用户名和密码。With the continuous development of electronic devices, more and more applications require users to log in with user names and passwords, and it becomes increasingly difficult for users to remember user names and passwords.

目前,应用程序在用户输入密码时,为用户显示密码的提示信息,以便用户快速准确的回忆起密码,避免进行密码找回。但是,在使用提示信息提示用户的同时,也为不法分子提供了破解密码的可能。例如用户丢失手机后,不法分子根据密码提示可以更加简单的破解密码,对用户信息安全造成威胁。因此,相关技术中密码提示的安全性较低。本申请实施例提供了一种密码提示方案,该方案通过输出与密码为非直接描述关系的提示信息,为用户提供密码提示,使得记得非直接描述关系的用户,根据提示信息回忆密码,提高密码的安全性。具体方案如下所示:At present, when the user enters the password, the application program displays the password prompt information for the user, so that the user can quickly and accurately recall the password and avoid password retrieval. However, when the prompt information is used to prompt the user, it also provides the possibility for criminals to crack the password. For example, after the user loses the mobile phone, criminals can crack the password more easily according to the password prompt, which poses a threat to the user's information security. Therefore, the security of the password prompt in the related art is relatively low. The embodiment of the present application provides a password prompting scheme, which provides password prompts for users by outputting prompt information that is not directly related to the password, so that users who remember the non-directly describing relationship can recall the password according to the prompt information and improve the password. security. The specific plan is as follows:

图1为本申请实施例提供的密码提示方法的流程示意图,该方法用于终端中进行密码输入的情况,该方法可以由装载有用户名和密码输入的应用的终端来执行,该终端可以为移动终端、平板电脑、可穿戴设备、笔记本电脑等,该方法具体包括如下步骤:Fig. 1 is a schematic flow chart of the password prompt method provided by the embodiment of the present application. This method is used in the case of password input in a terminal. The method can be executed by a terminal loaded with an application for user name and password input. The terminal can be a mobile terminal, tablet computer, wearable device, notebook computer, etc., the method specifically includes the following steps:

步骤110、当设置用户名对应的密码时,获取密码的属性信息。Step 110, when setting the password corresponding to the user name, acquire the attribute information of the password.

当用户首次设置密码或者重置密码时,用户可输入新的密码。通常密码由数字、字母和符号中的至少一种字符组成。进一步的,密码的位数至少可以为6位、8位或10位。为了方便描述本实施例中将实际设置密码的合法用户称为真实用户,将有意图破解密码的用户称为虚假用户。合法用户在设置密码时,会根据个人喜欢进行设置,常见的密码设置方式包括用户生日、家庭住址、个人名称、电话等对应的信息的组合。终端根据用户输入的密码,分析该密码包含的属性信息。例如,密码包括真实用户的名称和生日。终端可以通过本地存储的用户信息进行比对,判断真实用户输入的密码中包含的属性信息。也可以通过选项框等形式,由用户自己选择密码包含的属性信息。When a user sets a password for the first time or resets a password, the user may input a new password. Usually passwords are composed of at least one character among numbers, letters and symbols. Further, the number of digits of the password can be at least 6 digits, 8 digits or 10 digits. For the convenience of description in this embodiment, legitimate users who actually set passwords are called real users, and users who intend to crack passwords are called false users. When legitimate users set passwords, they will set them according to personal preferences. Common password setting methods include a combination of corresponding information such as the user's birthday, home address, personal name, and phone number. The terminal analyzes the attribute information contained in the password according to the password input by the user. For example, passwords include the real user's name and birthday. The terminal can compare the user information stored locally to determine the attribute information contained in the password input by the real user. The attribute information contained in the password may also be selected by the user himself through an option box or the like.

步骤120、根据属性信息生成提示信息,提示信息与密码为非直接描述关系。Step 120, generating prompt information according to the attribute information, where the prompt information and the password are in an indirect description relationship.

提示信息如果能够对密码起到直接描述,则虚假用户可以根据提示信息轻松的破解密码。例如,密码由真实用户的姓名和生日组成,此时如果提示信息为密码包括姓名和生日,则虚假用户可以通过猜测和尝试进行有针对性的破解。针对该问题,本实施例中提供混淆机制、错误机制和反向机制等多种方式生成提示信息。If the prompt information can directly describe the password, the fake user can easily crack the password according to the prompt information. For example, the password is composed of the real user's name and birthday. At this time, if the prompt information is that the password includes the name and birthday, the fake user can conduct targeted cracking by guessing and trying. In view of this problem, this embodiment provides a variety of methods such as confusion mechanism, error mechanism and reverse mechanism to generate prompt information.

其中,混淆机制包括,在真实密码对应的属性信息的基础上,增加用于混淆的属性信息。进一步的,每次随机生成用于混淆的属性信息,使得虚假用户无法根据提示信息准确的确定用户密码的构成。例如,真实密码有姓名和生日组成,则提示信息每次随机从姓名、电话、住址中选择至少一个属性信息进行提示,或者,随机从生日、电话、住址中选择至少一个属性信息进行提示。实现在密码由至少两个属性信息构成时,随机提示的属性信息无法全部覆盖正确的属性信息。Wherein, the obfuscation mechanism includes, on the basis of the attribute information corresponding to the real password, adding attribute information for obfuscation. Furthermore, the attribute information used for confusion is randomly generated each time, so that the false user cannot accurately determine the composition of the user password according to the prompt information. For example, if the real password consists of name and birthday, the prompt information randomly selects at least one attribute information from name, phone number, and address each time for prompting, or randomly selects at least one attribute information from birthday, phone number, and address for prompting. Realize that when the password consists of at least two attribute information, the randomly prompted attribute information cannot completely cover the correct attribute information.

错误机制包括,在确定真实密码的属性信息后,提示信息中不显示真实密码的属性信息。例如,真实密码包括姓名和生日,则提示信息中可以出现电话、地址、年龄等属性信息。The error mechanism includes that after the attribute information of the real password is determined, the prompt information does not display the attribute information of the real password. For example, if the real password includes name and birthday, attribute information such as phone number, address, and age may appear in the prompt information.

反向机制可以为,当用户使用指纹进行验证时,用户使用左手进行解锁。此时提示信息提示使用右手进行解锁。The reverse mechanism can be that when the user uses the fingerprint for verification, the user uses the left hand to unlock. At this time, the prompt message prompts to use the right hand to unlock.

步骤130、当输入用户名对应的密码时,输出提示信息。Step 130, output prompt information when the password corresponding to the user name is input.

当用户输入用户名后,查找该用户名对应的提示信息。如果提示信息涉及随机内容,则读取用户名对应的提示信息的生成规则,生成规则可参照步骤120中提供的提示信息生成算法。当用户选中密码输入栏时,输出提示信息。After the user enters the user name, find the prompt information corresponding to the user name. If the prompt information involves random content, the prompt information generation rule corresponding to the user name is read, and the generation rule can refer to the prompt information generation algorithm provided in step 120 . When the user selects the password input field, output prompt information.

进一步的,还包括:获取密码对应的第一解锁类型。当解锁时,生成并输出至少一个第二解锁类型对应的解锁界面和所述第一解锁类型对应的解锁界面,所述第二解锁类型为用户未设置解锁密码的解锁类型。Further, it also includes: obtaining the first unlocking type corresponding to the password. When unlocking, at least one unlocking interface corresponding to a second unlocking type and an unlocking interface corresponding to the first unlocking type are generated and output, and the second unlocking type is an unlocking type for which the user has not set an unlocking password.

用户的密码除了文字型的密码,还包括指纹、声纹、人脸、图形和手势等。为了进一步增加混淆,可以在解锁界面中显示多个解锁界面,其中可以包括一个或多个用户已设置的解锁方式。例如,用户只设置了密码解锁,此时屏幕中显示图形和密码两种解锁方式。用户输入任何图形形状均无法进行解锁。当第二解锁类型解锁失败次数大于预设次数时,关闭终端或者发送警报信息。警报信息可以向预设邮箱发送终端的位置信息。预设邮箱可以为用户设置的安全邮箱,也可以为官方用于进行终端预警的统一邮箱。In addition to text passwords, user passwords also include fingerprints, voiceprints, faces, graphics, and gestures. In order to further increase confusion, multiple unlocking interfaces may be displayed in the unlocking interface, which may include one or more unlocking methods that have been set by the user. For example, the user only sets a password to unlock, and at this time, two unlocking methods, graphic and password, are displayed on the screen. User input of any graphic shape cannot be unlocked. When the number of unlocking failures of the second unlocking type is greater than the preset number of times, the terminal is turned off or an alarm message is sent. The alarm information can send the location information of the terminal to the preset mailbox. The preset mailbox can be a safe mailbox set by the user, or a unified mailbox officially used for terminal early warning.

本实施例提供的网络类型的切换方法,首先当设置用户名对应的密码时,获取所述密码的属性信息;然后,根据所述属性信息生成提示信息,所述提示信息与所述密码为非直接描述关系;最后,当输入所述用户名对应的密码时,输出所述提示信息。本申请实施例中如果真实用户记得密码,则可以忽略密码提示的内容,直接输入正确的密码,而虚假用户根据非直接描述的提示信息的误导,将很难快速的有针对性的进行破解。如果真实用户忘记密码,则可以通过短信、邮箱等方式找回密码,或者,真实用户在记得设置密码时选择的提示信息的生成规则,能够根据提示信息反向推导出正确的提示信息,进而达到为真实用户提供有效密码提示的效果。实现在不增加用户交互流程和不改变一般产品交互逻辑的前提下,增加一层的筛选混淆机制。使虚假用户无法针对性尝试认证,或者通过呈现错误信息让虚假用户停止反复认证,提高用户信息的安全性。In the method for switching network types provided in this embodiment, first, when setting a password corresponding to a user name, the attribute information of the password is obtained; then, prompt information is generated according to the attribute information, and the prompt information is different from the password Directly describe the relationship; finally, when the password corresponding to the user name is input, output the prompt information. In the embodiment of this application, if the real user remembers the password, he can ignore the content of the password prompt and directly enter the correct password, but it will be difficult for the fake user to crack it quickly and targetedly based on the misleading information of the indirect description of the prompt information. If the real user forgets the password, the password can be retrieved through SMS, email, etc., or, the generation rule of the prompt information selected by the real user when remembering to set the password can reversely deduce the correct prompt information according to the prompt information, and then achieve The effect of providing a valid password hint for real users. Realize adding a layer of screening and obfuscation mechanism without increasing the user interaction process and without changing the general product interaction logic. Make false users unable to attempt authentication in a targeted manner, or make false users stop repeated authentication by presenting error messages, so as to improve the security of user information.

图2为本申请实施例提供的一个密码提示方法的流程图,作为上述实施例的进一步说明,包括:Fig. 2 is a flowchart of a password prompting method provided by the embodiment of the present application, as a further description of the above embodiment, including:

步骤210、当设置用户名对应的密码时,获取密码的字符类型信息和字符大小写信息,字符类型信息包括字母或数字,字符大小写信息包括大写或小写。Step 210, when setting the password corresponding to the user name, obtain character type information and character case information of the password, the character type information includes letters or numbers, and the character case information includes uppercase or lowercase.

当用户设置完密码后,获取密码文本,对密码文本进行分析。例如,确定密码是否全为大写或全为小写或部分大写部分小写,甚至可以提示密码中某一位为大写或小写。After the user sets the password, the password text is obtained, and the password text is analyzed. For example, determine whether a password is all uppercase or all lowercase or partly uppercase and partly lowercase, and even hint whether a certain digit in the password is uppercase or lowercase.

步骤220、确定字符类型信息的反义信息和字符大小写信息的反义信息。Step 220, determine the antisense information of the character type information and the antisense information of the character case information.

字符类型信息的反义信息的确定规则为:如果为密码的字符类型为数字,则反义信息为字母。如果为密码的字符类型为字母,则反义信息为数字。The rule for determining the antisense information of the character type information is: if the character type of the password is a number, the antisense information is a letter. If the character type that is the password is a letter, the antonym information is a number.

字符大小写信息的反义信息的确定规则为:如果密码的大小写类型为大写,则反义信息为小写。如果密码的大小写为小写,则反义信息为大写。The rule for determining the antisense information of the character case information is as follows: if the case type of the password is uppercase, the antisense information is lowercase. If the case of the password is lowercase, the antisense information is uppercase.

步骤230、将字符类型信息的反义信息和字符大小写信息的反义信息确定为提示信息。Step 230: Determine the antisense information of the character type information and the antisense information of the character case information as prompt information.

可以分别对每个密码位置上的字符取反义信息,然后输出该位置上字符对应的字符类型信息的反义信息和所述字符大小写信息的反义信息。也可以针对整体密码,输出提示信息。The antisense information of the character at each password position can be obtained respectively, and then the antisense information of the character type information corresponding to the character at the position and the antisense information of the character case information are output. It is also possible to output prompt information for the overall password.

步骤240、当输入用户名对应的密码时,输出提示信息。Step 240, output prompt information when the password corresponding to the user name is input.

本实施例提供的密码提示方法,能够根据密码的字符类型信息和字符大小写信息生成对应的反义信息,根据反义信息进行提示,增加虚假用户的破解难度,同时为知晓提示信息生成规则的真实用户提供准确的提示信息,提供密码安全性。The password prompting method provided in this embodiment can generate corresponding antisense information according to the character type information and character case information of the password, and prompt according to the antisense information, increasing the difficulty of deciphering for false users, and at the same time, providing prompt information for those who know the prompt information generation rules Real users provide accurate prompt information and provide password security.

图3为本申请实施例提供的一个密码提示方法的流程图,作为上述实施例的进一步说明,包括:Fig. 3 is a flowchart of a password prompting method provided by the embodiment of the present application, as a further description of the above embodiment, including:

步骤310、当设置用户名对应的密码时,获取密码的字符类型信息和字符大小写信息,字符类型信息包括字母或数字,字符大小写信息包括大写或小写。Step 310, when setting the password corresponding to the user name, acquire the character type information and character case information of the password, the character type information includes letters or numbers, and the character case information includes uppercase or lowercase.

步骤320、获取密码的缺失字符类型。Step 320, acquire the missing character type of the password.

字符类型包括:数字、字母和符号。密码中可能只包括一种或两种字符类型,此时未出现的字符类型为缺失字符类型。Character types include: numbers, letters, and symbols. A password may contain only one or two character types, and the character types that do not appear at this time are missing character types.

步骤330、确定字符类型信息的反义信息和字符大小写信息的反义信息。Step 330, determine the antisense information of the character type information and the antisense information of the character case information.

步骤340、将字符类型信息的反义信息、字符大小写信息的反义信息和缺失字符类型确定为提示信息。Step 340: Determine the antisense information of the character type information, the antisense information of the character case information, and the missing character type as prompt information.

可以在密码的随机位置上添加确实字符类型的提示信息。真实用户可以忽略掉缺失字符类型的提示信息。例如,真实用户不会在密码中设置符号字符,如果提示信息中出现某一位为符号字符的提示,则用户可忽略该提示信息。You can add prompt information of the exact character type at a random position of the password. Real users can ignore the prompts for missing character types. For example, real users will not set symbolic characters in their passwords, and if a prompt appears in the prompt message that a certain bit is a symbolic character, the user can ignore the prompt message.

步骤350、当输入用户名对应的密码时,输出提示信息。Step 350, output prompt information when the password corresponding to the user name is input.

本实施例提供的密码提示方法,能够在图2所示实施例的基础上,获取密码的确实字符类型,并在提示信息中添加确实字符类型的提示信息,实现混淆提示,进一步扰乱虚假用户,提高密码破解难度,提高密码安全性。The password prompting method provided in this embodiment can obtain the exact character type of the password on the basis of the embodiment shown in FIG. Increase the difficulty of password cracking and improve password security.

图4为本申请实施例提供的一个密码提示方法的流程图,作为上述实施例的进一步说明,包括:Fig. 4 is a flowchart of a password prompt method provided by the embodiment of the present application, as a further description of the above embodiment, including:

步骤410、当设置用户名对应的密码时,判断密码中是否存在生日信息。Step 410, when setting the password corresponding to the user name, determine whether there is birthday information in the password.

当用户在进行实名制认证时,需要输入身份信息,例如身份证号。终端根据身份证号可获取用户的生日信息。When the user performs real-name authentication, he needs to enter identity information, such as an ID number. The terminal can obtain the user's birthday information according to the ID number.

步骤420、如果存在生日信息,则获取生日信息对应的第一生日对象称谓。Step 420, if there is birthday information, obtain the title of the first birthday object corresponding to the birthday information.

第一生日对象称为可以为自己。用户可以设置多个人物和生日的对应关系。例如终端中存储了用户自己、用户家人和/或朋友的生日信息,例如日历中记录了家人或朋友的生日信息。The first birthday object is called May for itself. Users can set the corresponding relationship between multiple characters and birthdays. For example, birthday information of the user, the user's family members and/or friends is stored in the terminal, for example, birthday information of family members or friends is recorded in the calendar.

步骤430、随机生成第二生日对象称谓,根据第二生日对象称谓以及生日提示信息生成提示信息,第二生日对象称谓与第一生日对象称谓不同。Step 430: Randomly generate the appellation of the second birthday object, and generate reminder information according to the second birthday object appellation and birthday reminder information, the second birthday object appellation is different from the first birthday object appellation.

提示信息可以包括提示用户输入生日,但是生日的对象称为则为随机生成的。例如,用户设置了自己的生日,则提示信息可以为孩子的生日。The prompt information may include prompting the user to input a birthday, but the name of the birthday object is randomly generated. For example, if the user sets his own birthday, the prompt information may be the child's birthday.

步骤440、当输入用户名对应的密码时,输出提示信息。Step 440, output prompt information when the password corresponding to the user name is input.

本实施例提供的密码提示方法,能够在提示用户输入生日信息的同时,避免了解真实用户的虚假用户输入正确的密码,提高密码的安全性。The password prompting method provided in this embodiment can prompt the user to input birthday information and at the same time prevent false users who know the real user from inputting the correct password, thereby improving the security of the password.

图5为本申请实施例提供的一个密码提示方法的流程图,作为上述实施例的进一步说明,包括:Fig. 5 is a flowchart of a password prompt method provided by the embodiment of the present application, as a further description of the above embodiment, including:

步骤510、当设置用户名对应的密码时,如果密码为指纹密码,则确定指纹密码对应的手。Step 510, when setting the password corresponding to the user name, if the password is a fingerprint password, determine the hand corresponding to the fingerprint password.

用户设置密码时,终端提示用户输入特定手指的指纹。例如,输入左手食指的指纹,用户根据提示录入指纹。When the user sets a password, the terminal prompts the user to enter the fingerprint of a specific finger. For example, input the fingerprint of the index finger of the left hand, and the user enters the fingerprint according to the prompt.

步骤520、如果为指纹密码为左手指纹,则生成右手指纹输入信息。Step 520, if the fingerprint password is the left hand fingerprint, generate right hand fingerprint input information.

步骤530、如果为指纹密码为右手指纹,则生成左手指纹输入信息。Step 530, if the fingerprint password is the right hand fingerprint, generate left hand fingerprint input information.

步骤540、当输入用户名对应的密码时,输出提示信息。Step 540, output prompt information when the password corresponding to the user name is input.

本实施例提供的密码提示方法,能够提示反向的手的提示信息,真实用户在设置密码时,能够知晓录入的手。虚假用户根据提示信息则无法输入正确的指纹信息。The password prompting method provided in this embodiment can prompt the prompt information of the reversed hand, and the real user can know the entered hand when setting the password. False users cannot input correct fingerprint information according to the prompt information.

图6为本申请实施例提供的一个密码提示方法的流程图,作为上述实施例的进一步说明,包括:Figure 6 is a flow chart of a password prompt method provided by the embodiment of the present application, as a further description of the above embodiment, including:

步骤610、当设置用户名对应的密码时,获取指纹密码对应的第一手指信息。Step 610, when setting the password corresponding to the user name, obtain the first finger information corresponding to the fingerprint password.

用户设置密码时,终端提示用户输入特定手指的指纹。例如,输入左手食指的指纹,用户根据提示录入指纹。When the user sets a password, the terminal prompts the user to enter the fingerprint of a specific finger. For example, input the fingerprint of the index finger of the left hand, and the user enters the fingerprint according to the prompt.

步骤620、随机生成第二手指信息,根据第二手指信息确定提示信息。Step 620: Randomly generate second finger information, and determine prompt information according to the second finger information.

在生成提示信息时,可以生成第二手指信息作为提示信息。例如,真实用户录入的指纹为左手食指,则提示信息由右手中指或大拇指等。When generating the prompt information, the second finger information may be generated as the prompt information. For example, if the fingerprint entered by a real user is the index finger of the left hand, the prompt information is the middle finger or thumb of the right hand, etc.

步骤630、当输入用户名对应的密码时,输出提示信息。Step 630, output prompt information when the password corresponding to the user name is input.

本实施例提供的密码提示方法,能够提示反向的手的提示信息,真实用户在设置密码时,能够知晓录入的手指。虚假用户根据提示信息则无法输入正确的指纹信息,提高安全性。The password prompting method provided in this embodiment can prompt the prompt information of the reversed hand, and the real user can know the entered finger when setting the password. False users cannot input correct fingerprint information according to the prompt information, which improves security.

图7为本申请实施例提供的一种密码提示装置的结构示意图。如图7所示,该装置包括:属性获取模块710、生成模块720和输出模块730。FIG. 7 is a schematic structural diagram of a password prompting device provided by an embodiment of the present application. As shown in FIG. 7 , the device includes: an attribute acquisition module 710 , a generation module 720 and an output module 730 .

属性获取模块710,用于当设置用户名对应的密码时,获取所述密码的属性信息;An attribute acquiring module 710, configured to acquire the attribute information of the password when setting the password corresponding to the user name;

生成模块720,用于根据所述获取模块获取的所述属性信息生成提示信息,所述提示信息与所述密码为非直接描述关系;A generation module 720, configured to generate prompt information according to the attribute information acquired by the acquisition module, where the prompt information is in an indirect description relationship with the password;

输出模块730,用于当输入所述用户名对应的密码时,输出所述生成模块720生成的所述提示信息。The output module 730 is configured to output the prompt information generated by the generation module 720 when the password corresponding to the user name is input.

进一步的,所述属性获取模块710用于:Further, the attribute acquiring module 710 is used for:

获取密码的字符类型信息和字符大小写信息,所述字符类型信息包括字母或数字,所述字符大小写信息包括大写或小写;Obtain character type information and character case information of the password, the character type information includes letters or numbers, and the character case information includes uppercase or lowercase;

相应的,所述生成模块720用于:Correspondingly, the generating module 720 is used for:

确定所述字符类型信息的反义信息和所述字符大小写信息的反义信息;determining the antonym information of the character type information and the antonym information of the character case information;

将所述字符类型信息的反义信息和所述字符大小写信息的反义信息确定为提示信息。Antonym information of the character type information and antonym information of the character case information are determined as prompt information.

进一步的,所述属性获取模块710用于:Further, the attribute acquiring module 710 is used for:

获取所述密码的缺失字符类型;Obtain the missing character type of the password;

相应的,所述生成模块720用于:Correspondingly, the generating module 720 is used for:

将所述字符类型信息的反义信息、所述字符大小写信息的反义信息和所述缺失字符类型确定为提示信息。The opposite sense information of the character type information, the opposite sense information of the character case information and the missing character type are determined as prompt information.

进一步的,所述属性获取模块710用于:Further, the attribute acquiring module 710 is used for:

判断所述密码中是否存在生日信息;Judging whether there is birthday information in the password;

如果存在生日信息,则获取生日信息对应的第一生日对象称谓;If there is birthday information, obtain the title of the first birthday object corresponding to the birthday information;

相应的,所述生成模块720用于:Correspondingly, the generating module 720 is used for:

随机生成第二生日对象称谓,根据所述第二生日对象称谓以及生日提示信息生成提示信息,所述第二生日对象称谓与所述第一生日对象称谓不同。A second birthday object appellation is randomly generated, and reminder information is generated according to the second birthday object appellation and birthday reminder information, and the second birthday object appellation is different from the first birthday object appellation.

进一步的,所述属性获取模块710用于:Further, the attribute acquiring module 710 is used for:

如果密码为指纹密码,则确定所述指纹密码对应的手;If the password is a fingerprint password, then determine the hand corresponding to the fingerprint password;

相应的,所述生成模块720用于:Correspondingly, the generating module 720 is used for:

如果为所述指纹密码为左手指纹,则生成右手指纹输入信息;If the fingerprint password is a left-hand fingerprint, then generate right-hand fingerprint input information;

如果为所述指纹密码为右手指纹,则生成左手指纹输入信息。If the fingerprint password is a right-hand fingerprint, then generate left-hand fingerprint input information.

进一步的,所述属性获取模块710用于:Further, the attribute acquiring module 710 is used for:

获取指纹密码对应的第一手指信息;Obtain the first finger information corresponding to the fingerprint password;

相应的,所述生成模块720用于:Correspondingly, the generating module 720 is used for:

随机生成第二手指信息,根据所述第二手指信息确定提示信息。The second finger information is randomly generated, and prompt information is determined according to the second finger information.

进一步的,如图8所示,还包括解锁模型获取模块740,Further, as shown in FIG. 8, an unlocking model acquisition module 740 is also included,

解锁模型获取模块740用于,获取密码对应的第一解锁类型;The unlocking model acquisition module 740 is configured to acquire the first unlocking type corresponding to the password;

输出模块730用于,当解锁时,生成并输出至少一个第二解锁类型对应的解锁界面和所述第一解锁类型对应的解锁界面,所述第二解锁类型为用户未设置解锁密码的解锁类型。The output module 730 is used to generate and output at least one unlocking interface corresponding to the second unlocking type and the unlocking interface corresponding to the first unlocking type when unlocking, and the second unlocking type is an unlocking type for which the user does not set an unlocking password .

本实施例提供的网络类型的切换方法,首先当设置用户名对应的密码时,属性获取模块710获取所述密码的属性信息;然后,生成模块720根据所述属性信息生成提示信息,所述提示信息与所述密码为非直接描述关系;最后,当输入所述用户名对应的密码时,输出模块730输出所述提示信息。本申请实施例中如果真实用户记得密码,则可以忽略密码提示的内容,直接输入正确的密码,而虚假用户根据非直接描述的提示信息的误导,将很难快速的有针对性的进行破解。如果真实用户忘记密码,则可以通过短信、邮箱等方式找回密码,或者,真实用户在记得设置密码时选择的提示信息的生成规则,能够根据提示信息反向推导出正确的提示信息,进而达到为真实用户提供有效密码提示的效果。实现在不增加用户交互流程和不改变一般产品交互逻辑的前提下,增加一层的筛选混淆机制。使虚假用户无法针对性尝试认证,或者通过呈现错误信息让虚假用户停止反复认证,提高用户信息的安全性。In the method for switching network types provided in this embodiment, first, when setting the password corresponding to the user name, the attribute acquisition module 710 acquires the attribute information of the password; then, the generating module 720 generates prompt information according to the attribute information, and the prompt The information and the password are in an indirect description relationship; finally, when the password corresponding to the user name is input, the output module 730 outputs the prompt information. In the embodiment of this application, if the real user remembers the password, he can ignore the content of the password prompt and directly enter the correct password, but it will be difficult for the fake user to crack it quickly and targetedly based on the misleading information of the indirect description of the prompt information. If the real user forgets the password, the password can be retrieved through SMS, email, etc., or, the generation rule of the prompt information selected by the real user when remembering to set the password can reversely deduce the correct prompt information according to the prompt information, and then achieve The effect of providing a valid password hint for real users. Realize adding a layer of screening and obfuscation mechanism without increasing the user interaction process and without changing the general product interaction logic. Make false users unable to attempt authentication in a targeted manner, or make false users stop repeated authentication by presenting error messages, so as to improve the security of user information.

上述装置可执行本申请前述所有实施例所提供的方法,具备执行上述方法相应的功能模块和有益效果。未在本实施例中详尽描述的技术细节,可参见本申请前述所有实施例所提供的方法。The above-mentioned device can execute the methods provided by all the foregoing embodiments of the present application, and has corresponding functional modules and beneficial effects for executing the above-mentioned methods. For technical details not exhaustively described in this embodiment, reference may be made to the methods provided in all the foregoing embodiments of the present application.

图9是本申请实施例提供的另一种终端设备的结构示意图。如图9所示,该终端可以包括:壳体(图中未示出)、存储器901、中央处理器(Central Processing Unit,CPU)902(又称处理器,以下简称CPU)、存储在存储器901上并可在处理器902上运行的计算机程序、电路板(图中未示出)和电源电路(图中未示出)。所述电路板安置在所述壳体围成的空间内部;所述CPU902和所述存储器901设置在所述电路板上;所述电源电路,用于为所述终端的各个电路或器件供电;所述存储器901,用于存储可执行程序代码;所述CPU902通过读取所述存储器901中存储的可执行程序代码来运行与所述可执行程序代码对应的程序。FIG. 9 is a schematic structural diagram of another terminal device provided by an embodiment of the present application. As shown in FIG. 9 , the terminal may include: a housing (not shown in the figure), a memory 901, a central processing unit (Central Processing Unit, CPU) 902 (also known as a processor, hereinafter referred to as CPU), a memory stored in the memory 901 A computer program running on the processor 902, a circuit board (not shown in the figure) and a power supply circuit (not shown in the figure). The circuit board is placed inside the space surrounded by the housing; the CPU902 and the memory 901 are arranged on the circuit board; the power supply circuit is used to supply power to each circuit or device of the terminal; The memory 901 is used to store executable program codes; the CPU 902 runs programs corresponding to the executable program codes by reading the executable program codes stored in the memory 901 .

所述终端还包括:外设接口903、RF(Radio Frequency,射频)电路905、音频电路906、扬声器911、电源管理芯片908、输入/输出(I/O)子系统909、触摸屏912、其他输入/控制设备910以及外部端口904,这些部件通过一个或多个通信总线或信号线907来通信。The terminal also includes: peripheral interface 903, RF (Radio Frequency, radio frequency) circuit 905, audio circuit 906, speaker 911, power management chip 908, input/output (I/O) subsystem 909, touch screen 912, other input /control device 910 and external port 904 , these components communicate via one or more communication buses or signal lines 907 .

应该理解的是,图示终端设备900仅仅是终端的一个范例,并且终端设备900可以具有比图中所示出的更多的或者更少的部件,可以组合两个或更多的部件,或者可以具有不同的部件配置。图中所示出的各种部件可以在包括一个或多个信号处理和/或专用集成电路在内的硬件、软件、或硬件和软件的组合中实现。It should be understood that the illustrated terminal device 900 is only an example of a terminal, and that the terminal device 900 may have more or fewer components than shown in the figure, two or more components may be combined, or Different component configurations are possible. The various components shown in the figures may be implemented in hardware, software, or a combination of hardware and software including one or more signal processing and/or application specific integrated circuits.

下面就本实施例提供的用于一种终端设备进行详细的描述,该终端设备以智能手机为例。The following describes a terminal device provided in this embodiment in detail, and the terminal device takes a smart phone as an example.

存储器901,所述存储器901可以被CPU902、外设接口903等访问,所述存储器901可以包括高速随机存取存储器,还可以包括非易失性存储器,例如一个或多个磁盘存储器件、闪存器件、或其他易失性固态存储器件。Memory 901, the memory 901 can be accessed by the CPU 902, the peripheral interface 903, etc., the memory 901 can include a high-speed random access memory, and can also include a non-volatile memory, such as one or more disk storage devices, flash memory devices , or other volatile solid-state storage devices.

外设接口903,所述外设接口903可以将设备的输入和输出外设连接到CPU902和存储器901。Peripheral interface 903 , which can connect the input and output peripherals of the device to CPU 902 and memory 901 .

I/O子系统909,所述I/O子系统909可以将设备上的输入输出外设,例如触摸屏912和其他输入/控制设备910,连接到外设接口903。I/O子系统909可以包括显示控制器9091和用于控制其他输入/控制设备910的一个或多个输入控制器9092。其中,一个或多个输入控制器9092从其他输入/控制设备910接收电信号或者向其他输入/控制设备910发送电信号,其他输入/控制设备910可以包括物理按钮(按压按钮、摇臂按钮等)、拨号盘、滑动开关、操纵杆、点击滚轮。值得说明的是,输入控制器9092可以与以下任一个连接:键盘、红外端口、USB接口以及诸如鼠标的指示设备。The I/O subsystem 909 , the I/O subsystem 909 can connect input and output peripherals on the device, such as a touch screen 912 and other input/control devices 910 , to the peripheral interface 903 . The I/O subsystem 909 may include a display controller 9091 and one or more input controllers 9092 for controlling other input/control devices 910 . Among them, one or more input controllers 9092 receive electrical signals from or send electrical signals to other input/control devices 910, which may include physical buttons (push buttons, rocker buttons, etc. ), dials, slide switches, joysticks, click wheels. It is worth noting that the input controller 9092 can be connected to any of the following: a keyboard, an infrared port, a USB interface, and a pointing device such as a mouse.

其中,按照触摸屏的工作原理和传输信息的介质分类,触摸屏912可以为电阻式、电容感应式、红外线式或表面声波式。按照安装方式分类,触摸屏912可以为:外挂式、内置式或整体式。按照技术原理分类,触摸屏912可以为:矢量压力传感技术触摸屏、电阻技术触摸屏、电容技术触摸屏、红外线技术触摸屏或表面声波技术触摸屏。Wherein, according to the working principle of the touch screen and the classification of the medium for transmitting information, the touch screen 912 can be a resistive type, a capacitive sensing type, an infrared type or a surface acoustic wave type. Classified according to the installation method, the touch screen 912 can be: plug-in type, built-in type or integral type. Classified according to technical principles, the touch screen 912 may be: a touch screen with vector pressure sensing technology, a touch screen with resistive technology, a touch screen with capacitive technology, a touch screen with infrared technology or a touch screen with surface acoustic wave technology.

触摸屏912,所述触摸屏912是用户终端与用户之间的输入接口和输出接口,将可视输出显示给用户,可视输出可以包括图形、文本、图标、视频等。可选的,触摸屏912将用户在触屏幕上触发的电信号(如接触面的电信号),发送给处理器902。A touch screen 912, the touch screen 912 is an input interface and an output interface between the user terminal and the user, and displays visual output to the user. The visual output may include graphics, text, icons, videos, and the like. Optionally, the touch screen 912 sends an electrical signal triggered by the user on the touch screen (such as an electrical signal on the contact surface) to the processor 902 .

I/O子系统909中的显示控制器9091从触摸屏912接收电信号或者向触摸屏912发送电信号。触摸屏912检测触摸屏上的接触,显示控制器9091将检测到的接触转换为与显示在触摸屏912上的用户界面对象的交互,即实现人机交互,显示在触摸屏912上的用户界面对象可以是运行游戏的图标、联网到相应网络的图标等。值得说明的是,设备还可以包括光鼠,光鼠是不显示可视输出的触摸敏感表面,或者是由触摸屏形成的触摸敏感表面的延伸。The display controller 9091 in the I/O subsystem 909 receives electrical signals from the touch screen 912 or sends electrical signals to the touch screen 912 . The touch screen 912 detects the contact on the touch screen, and the display controller 9091 converts the detected contact into an interaction with the user interface object displayed on the touch screen 912, that is, realizes human-computer interaction, and the user interface object displayed on the touch screen 912 can be a running Icons for games, icons for networking to appropriate networks, etc. It is worth noting that the device may also include an optical mouse, which is a touch-sensitive surface that does not display visual output, or that is an extension of a touch-sensitive surface formed by a touchscreen.

RF电路905,主要用于建立智能音箱与无线网络(即网络侧)的通信,实现智能音箱与无线网络的数据接收和发送。例如收发短信息、电子邮件等。The RF circuit 905 is mainly used to establish communication between the smart speaker and the wireless network (that is, the network side), and realize data reception and transmission between the smart speaker and the wireless network. Such as sending and receiving short messages, e-mails, etc.

音频电路906,主要用于从外设接口903接收音频数据,将该音频数据转换为电信号,并且将该电信号发送给扬声器911。The audio circuit 906 is mainly used to receive audio data from the peripheral interface 903 , convert the audio data into electrical signals, and send the electrical signals to the speaker 911 .

扬声器911,用于将智能音箱通过RF电路905从无线网络接收的语音信号,还原为声音并向用户播放该声音。The speaker 911 is used to restore the voice signal received by the smart speaker from the wireless network through the RF circuit 905 into sound and play the sound to the user.

电源管理芯片908,用于为CPU902、I/O子系统及外设接口所连接的硬件进行供电及电源管理。The power management chip 908 is used for power supply and power management for the hardware connected to the CPU 902 , the I/O subsystem and the peripheral interface.

在本实施例中,中央处理器902用于:In this embodiment, the central processing unit 902 is used for:

当设置用户名对应的密码时,获取所述密码的属性信息;When setting the password corresponding to the user name, acquire the attribute information of the password;

根据所述属性信息生成提示信息,所述提示信息与所述密码为非直接描述关系;generating prompt information according to the attribute information, where the prompt information has an indirect description relationship with the password;

当输入所述用户名对应的密码时,输出所述提示信息。When the password corresponding to the user name is input, the prompt information is output.

进一步的,所述获取所述密码的属性信息,包括:Further, the acquiring the attribute information of the password includes:

获取密码的字符类型信息和字符大小写信息,所述字符类型信息包括字母或数字,所述字符大小写信息包括大写或小写;Obtain character type information and character case information of the password, the character type information includes letters or numbers, and the character case information includes uppercase or lowercase;

相应的,所述根据所述属性信息生成提示信息,包括:Correspondingly, the generating prompt information according to the attribute information includes:

确定所述字符类型信息的反义信息和所述字符大小写信息的反义信息;determining the antonym information of the character type information and the antonym information of the character case information;

将所述字符类型信息的反义信息和所述字符大小写信息的反义信息确定为提示信息。Antonym information of the character type information and antonym information of the character case information are determined as prompt information.

进一步的,所述获取所述密码的属性信息,包括:Further, the acquiring the attribute information of the password includes:

获取所述密码的缺失字符类型;Obtain the missing character type of the password;

相应的,所述确定所述字符类型信息和所述字符大小写信息的反义信息,包括:Correspondingly, the determination of the antisense information of the character type information and the character case information includes:

将所述字符类型信息的反义信息、所述字符大小写信息的反义信息和所述缺失字符类型确定为提示信息。The opposite sense information of the character type information, the opposite sense information of the character case information and the missing character type are determined as prompt information.

进一步的,所述获取所述密码的属性信息,包括:Further, the acquiring the attribute information of the password includes:

判断所述密码中是否存在生日信息;Judging whether there is birthday information in the password;

如果存在生日信息,则获取生日信息对应的第一生日对象称谓;If there is birthday information, obtain the title of the first birthday object corresponding to the birthday information;

相应的,所述根据所述属性信息生成提示信息,包括:Correspondingly, the generating prompt information according to the attribute information includes:

随机生成第二生日对象称谓,根据所述第二生日对象称谓以及生日提示信息生成提示信息,所述第二生日对象称谓与所述第一生日对象称谓不同。A second birthday object appellation is randomly generated, and reminder information is generated according to the second birthday object appellation and birthday reminder information, and the second birthday object appellation is different from the first birthday object appellation.

进一步的,所述获取所述密码的属性信息,包括:Further, the acquiring the attribute information of the password includes:

如果密码为指纹密码,则确定所述指纹密码对应的手;If the password is a fingerprint password, then determine the hand corresponding to the fingerprint password;

相应的,所述根据所述属性信息生成提示信息,包括:Correspondingly, the generating prompt information according to the attribute information includes:

如果为所述指纹密码为左手指纹,则生成右手指纹输入信息;If the fingerprint password is a left-hand fingerprint, then generate right-hand fingerprint input information;

如果为所述指纹密码为右手指纹,则生成左手指纹输入信息。If the fingerprint password is a right-hand fingerprint, then generate left-hand fingerprint input information.

进一步的,所述获取所述密码的属性信息,包括:Further, the acquiring the attribute information of the password includes:

获取指纹密码对应的第一手指信息;Obtain the first finger information corresponding to the fingerprint password;

相应的,所述根据所述属性信息生成提示信息,包括:Correspondingly, the generating prompt information according to the attribute information includes:

随机生成第二手指信息,根据所述第二手指信息确定提示信息。The second finger information is randomly generated, and prompt information is determined according to the second finger information.

进一步的,还包括:Further, it also includes:

获取密码对应的第一解锁类型;Obtain the first unlock type corresponding to the password;

当解锁时,生成并输出至少一个第二解锁类型对应的解锁界面和所述第一解锁类型对应的解锁界面,所述第二解锁类型为用户未设置解锁密码的解锁类型。When unlocking, at least one unlocking interface corresponding to a second unlocking type and an unlocking interface corresponding to the first unlocking type are generated and output, and the second unlocking type is an unlocking type for which the user has not set an unlocking password.

本申请实施例还提供一种包含终端设备可执行指令的存储介质,所述终端设备可执行指令在由终端设备处理器执行时用于执行一种网络类型的切换方法,该方法包括:An embodiment of the present application also provides a storage medium containing executable instructions of a terminal device, and the executable instructions of the terminal device are used to execute a network type handover method when executed by a processor of the terminal device, the method comprising:

当设置用户名对应的密码时,获取所述密码的属性信息;When setting the password corresponding to the user name, acquire the attribute information of the password;

根据所述属性信息生成提示信息,所述提示信息与所述密码为非直接描述关系;generating prompt information according to the attribute information, where the prompt information has an indirect description relationship with the password;

当输入所述用户名对应的密码时,输出所述提示信息。When the password corresponding to the user name is input, the prompt information is output.

进一步的,所述获取所述密码的属性信息,包括:Further, the acquiring the attribute information of the password includes:

获取密码的字符类型信息和字符大小写信息,所述字符类型信息包括字母或数字,所述字符大小写信息包括大写或小写;Obtain character type information and character case information of the password, the character type information includes letters or numbers, and the character case information includes uppercase or lowercase;

相应的,所述根据所述属性信息生成提示信息,包括:Correspondingly, the generating prompt information according to the attribute information includes:

确定所述字符类型信息的反义信息和所述字符大小写信息的反义信息;determining the antonym information of the character type information and the antonym information of the character case information;

将所述字符类型信息的反义信息和所述字符大小写信息的反义信息确定为提示信息。Antonym information of the character type information and antonym information of the character case information are determined as prompt information.

进一步的,所述获取所述密码的属性信息,包括:Further, the acquiring the attribute information of the password includes:

获取所述密码的缺失字符类型;Obtain the missing character type of the password;

相应的,所述确定所述字符类型信息和所述字符大小写信息的反义信息,包括:Correspondingly, the determination of the antisense information of the character type information and the character case information includes:

将所述字符类型信息的反义信息、所述字符大小写信息的反义信息和所述缺失字符类型确定为提示信息。The opposite sense information of the character type information, the opposite sense information of the character case information and the missing character type are determined as prompt information.

进一步的,所述获取所述密码的属性信息,包括:Further, the acquiring the attribute information of the password includes:

判断所述密码中是否存在生日信息;Judging whether there is birthday information in the password;

如果存在生日信息,则获取生日信息对应的第一生日对象称谓;If there is birthday information, obtain the title of the first birthday object corresponding to the birthday information;

相应的,所述根据所述属性信息生成提示信息,包括:Correspondingly, the generating prompt information according to the attribute information includes:

随机生成第二生日对象称谓,根据所述第二生日对象称谓以及生日提示信息生成提示信息,所述第二生日对象称谓与所述第一生日对象称谓不同。A second birthday object appellation is randomly generated, and reminder information is generated according to the second birthday object appellation and birthday reminder information, and the second birthday object appellation is different from the first birthday object appellation.

进一步的,所述获取所述密码的属性信息,包括:Further, the acquiring the attribute information of the password includes:

如果密码为指纹密码,则确定所述指纹密码对应的手;If the password is a fingerprint password, then determine the hand corresponding to the fingerprint password;

相应的,所述根据所述属性信息生成提示信息,包括:Correspondingly, the generating prompt information according to the attribute information includes:

如果为所述指纹密码为左手指纹,则生成右手指纹输入信息;If the fingerprint password is a left-hand fingerprint, then generate right-hand fingerprint input information;

如果为所述指纹密码为右手指纹,则生成左手指纹输入信息。If the fingerprint password is a right-hand fingerprint, then generate left-hand fingerprint input information.

进一步的,所述获取所述密码的属性信息,包括:Further, the acquiring the attribute information of the password includes:

获取指纹密码对应的第一手指信息;Obtain the first finger information corresponding to the fingerprint password;

相应的,所述根据所述属性信息生成提示信息,包括:Correspondingly, the generating prompt information according to the attribute information includes:

随机生成第二手指信息,根据所述第二手指信息确定提示信息。The second finger information is randomly generated, and prompt information is determined according to the second finger information.

进一步的,还包括:Further, it also includes:

获取密码对应的第一解锁类型;Obtain the first unlock type corresponding to the password;

当解锁时,生成并输出至少一个第二解锁类型对应的解锁界面和所述第一解锁类型对应的解锁界面,所述第二解锁类型为用户未设置解锁密码的解锁类型。When unlocking, at least one unlocking interface corresponding to a second unlocking type and an unlocking interface corresponding to the first unlocking type are generated and output, and the second unlocking type is an unlocking type for which the user has not set an unlocking password.

本申请实施例的计算机存储介质,可以采用一个或多个计算机可读的介质的任意组合。计算机可读介质可以是计算机可读信号介质或者计算机可读存储介质。计算机可读存储介质例如可以是——但不限于——电、磁、光、电磁、红外线、或半导体的系统、装置或器件,或者任意以上的组合。计算机可读存储介质的更具体的例子(非穷举的列表)包括:具有一个或多个导线的电连接、便携式计算机磁盘、硬盘、随机存取存储器(RAM)、只读存储器(ROM)、可擦式可编程只读存储器(EPROM或闪存)、光纤、便携式紧凑磁盘只读存储器(CD-ROM)、光存储器件、磁存储器件、或者上述的任意合适的组合。在本文件中,计算机可读存储介质可以是任何包含或存储程序的有形介质,该程序可以被指令执行系统、装置或者器件使用或者与其结合使用。The computer storage medium in the embodiments of the present application may use any combination of one or more computer-readable media. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. A computer readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples (non-exhaustive list) of computer readable storage media include: electrical connections with one or more leads, portable computer disks, hard disks, random access memory (RAM), read only memory (ROM), Erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination of the above. In this document, a computer-readable storage medium may be any tangible medium that contains or stores a program that can be used by or in conjunction with an instruction execution system, apparatus, or device.

计算机可读的信号介质可以包括在基带中或者作为载波一部分传播的数据信号,其中承载了计算机可读的程序代码。这种传播的数据信号可以采用多种形式,包括但不限于电磁信号、光信号或上述的任意合适的组合。计算机可读的信号介质还可以是计算机可读存储介质以外的任何计算机可读介质,该计算机可读介质可以发送、传播或者传输用于由指令执行系统、装置或者器件使用或者与其结合使用的程序。A computer readable signal medium may include a data signal carrying computer readable program code in baseband or as part of a carrier wave. Such propagated data signals may take many forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the foregoing. A computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium, which can send, propagate, or transmit a program for use by or in conjunction with an instruction execution system, apparatus, or device. .

计算机可读介质上包含的程序代码可以用任何适当的介质传输,包括——但不限于无线、电线、光缆、RF等等,或者上述的任意合适的组合。Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including - but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.

可以以一种或多种程序设计语言或其组合来编写用于执行本申请操作的计算机程序代码,程序设计语言包括面向对象的程序设计语言—诸如Java、Smal ltalk、C++,还包括常规的过程式程序设计语言—诸如”C”语言或类似的程序设计语言。程序代码可以完全地在用户计算机上执行、部分地在用户计算机上执行、作为一个独立的软件包执行、部分在用户计算机上部分在远程计算机上执行、或者完全在远程计算机或服务器上执行。在涉及远程计算机的情形中,远程计算机可以通过任意种类的网络——包括局域网(LAN)或广域网(WAN)—连接到用户计算机,或者,可以连接到外部计算机(例如利用因特网服务提供商来通过因特网连接)。The computer program code for carrying out the operations of the present application may be written in one or more programming languages or combinations thereof, including object-oriented programming languages—such as Java, Smalltalk, C++, and conventional process programming language—such as "C" or a similar programming language. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In cases involving a remote computer, the remote computer can be connected to the user computer through any kind of network, including a local area network (LAN) or a wide area network (WAN), or it can be connected to an external computer (such as through an Internet service provider). Internet connection).

当然,本申请实施例所提供的一种包含计算机可执行指令的存储介质,其计算机可执行指令不限于如上所述的应用推荐操作,还可以执行本申请任意实施例所提供的应用推荐方法中的相关操作。Of course, in the storage medium containing computer-executable instructions provided in the embodiments of the present application, the computer-executable instructions are not limited to the above-mentioned application recommendation operations, and can also execute the application recommendation method provided in any embodiment of the application. related operations.

注意,上述仅为本申请的较佳实施例及所运用技术原理。本领域技术人员会理解,本申请不限于这里所述的特定实施例,对本领域技术人员来说能够进行各种明显的变化、重新调整和替代而不会脱离本申请的保护范围。因此,虽然通过以上实施例对本申请进行了较为详细的说明,但是本申请不仅仅限于以上实施例,在不脱离本申请构思的情况下,还可以包括更多其他等效实施例,而本申请的范围由所附的权利要求范围决定。Note that the above are only preferred embodiments and technical principles used in this application. Those skilled in the art will understand that the present application is not limited to the specific embodiments described herein, and various obvious changes, readjustments and substitutions can be made by those skilled in the art without departing from the protection scope of the present application. Therefore, although the present application has been described in detail through the above embodiments, the present application is not limited to the above embodiments, and can also include more other equivalent embodiments without departing from the concept of the present application, and the present application The scope is determined by the scope of the appended claims.

Claims (10)

1.一种密码提示方法,其特征在于,包括:1. A password prompting method, characterized in that, comprising: 当设置用户名对应的密码时,获取所述密码的属性信息;When setting the password corresponding to the user name, acquire the attribute information of the password; 根据所述属性信息生成提示信息,所述提示信息与所述密码为非直接描述关系;generating prompt information according to the attribute information, where the prompt information has an indirect description relationship with the password; 当输入所述用户名对应的密码时,输出所述提示信息。When the password corresponding to the user name is input, the prompt information is output. 2.根据权利要求1所述的密码提示方法,其特征在于,所述获取所述密码的属性信息,包括:2. The password prompting method according to claim 1, wherein said acquiring the attribute information of said password comprises: 获取密码的字符类型信息和字符大小写信息,所述字符类型信息包括字母或数字,所述字符大小写信息包括大写或小写;Obtain character type information and character case information of the password, the character type information includes letters or numbers, and the character case information includes uppercase or lowercase; 相应的,所述根据所述属性信息生成提示信息,包括:Correspondingly, the generating prompt information according to the attribute information includes: 确定所述字符类型信息的反义信息和所述字符大小写信息的反义信息;determining the antonym information of the character type information and the antonym information of the character case information; 将所述字符类型信息的反义信息和所述字符大小写信息的反义信息确定为提示信息。Antonym information of the character type information and antonym information of the character case information are determined as prompt information. 3.根据权利要求2所述的密码提示方法,其特征在于,所述获取所述密码的属性信息,包括:3. The password prompting method according to claim 2, wherein said acquiring the attribute information of said password comprises: 获取所述密码的缺失字符类型;Obtain the missing character type of the password; 相应的,所述确定所述字符类型信息和所述字符大小写信息的反义信息,包括:Correspondingly, the determination of the antisense information of the character type information and the character case information includes: 将所述字符类型信息的反义信息、所述字符大小写信息的反义信息和所述缺失字符类型确定为提示信息。The opposite sense information of the character type information, the opposite sense information of the character case information and the missing character type are determined as prompt information. 4.根据权利要求1所述的密码提示方法,其特征在于,所述获取所述密码的属性信息,包括:4. The password prompting method according to claim 1, wherein said acquiring the attribute information of said password comprises: 判断所述密码中是否存在生日信息;Judging whether there is birthday information in the password; 如果存在生日信息,则获取生日信息对应的第一生日对象称谓;If there is birthday information, obtain the title of the first birthday object corresponding to the birthday information; 相应的,所述根据所述属性信息生成提示信息,包括:Correspondingly, the generating prompt information according to the attribute information includes: 随机生成第二生日对象称谓,根据所述第二生日对象称谓以及生日提示信息生成提示信息,所述第二生日对象称谓与所述第一生日对象称谓不同。A second birthday object appellation is randomly generated, and reminder information is generated according to the second birthday object appellation and birthday reminder information, the second birthday object appellation is different from the first birthday object appellation. 5.根据权利要求1所述的密码提示方法,其特征在于,所述获取所述密码的属性信息,包括:5. The password prompting method according to claim 1, wherein said acquiring the attribute information of said password comprises: 如果密码为指纹密码,则确定所述指纹密码对应的手;If the password is a fingerprint password, then determine the hand corresponding to the fingerprint password; 相应的,所述根据所述属性信息生成提示信息,包括:Correspondingly, the generating prompt information according to the attribute information includes: 如果为所述指纹密码为左手指纹,则生成右手指纹输入信息;If the fingerprint password is a left-hand fingerprint, then generate right-hand fingerprint input information; 如果为所述指纹密码为右手指纹,则生成左手指纹输入信息。If the fingerprint password is a right-hand fingerprint, then generate left-hand fingerprint input information. 6.根据权利要求1所述的密码提示方法,其特征在于,所述获取所述密码的属性信息,包括:6. The password prompting method according to claim 1, wherein said acquiring the attribute information of said password comprises: 获取指纹密码对应的第一手指信息;Obtain the first finger information corresponding to the fingerprint password; 相应的,所述根据所述属性信息生成提示信息,包括:Correspondingly, the generating prompt information according to the attribute information includes: 随机生成第二手指信息,根据所述第二手指信息确定提示信息。The second finger information is randomly generated, and prompt information is determined according to the second finger information. 7.根据权利要求1所述的密码提示方法,其特征在于,还包括:7. The password prompting method according to claim 1, further comprising: 获取密码对应的第一解锁类型;Obtain the first unlock type corresponding to the password; 当解锁时,生成并输出至少一个第二解锁类型对应的解锁界面和所述第一解锁类型对应的解锁界面,所述第二解锁类型为用户未设置解锁密码的解锁类型。When unlocking, at least one unlocking interface corresponding to a second unlocking type and an unlocking interface corresponding to the first unlocking type are generated and output, and the second unlocking type is an unlocking type for which the user has not set an unlocking password. 8.一种密码提示装置,其特征在于,包括:8. A password prompting device, characterized in that it comprises: 属性获取模块,用于当设置用户名对应的密码时,获取所述密码的属性信息;An attribute acquisition module, configured to acquire attribute information of the password when setting the password corresponding to the user name; 生成模块,用于根据所述获取模块获取的所述属性信息生成提示信息,所述提示信息与所述密码为非直接描述关系;A generation module, configured to generate prompt information according to the attribute information acquired by the acquisition module, where the prompt information has an indirect description relationship with the password; 输出模块,用于当输入所述用户名对应的密码时,输出所述生成模块生成的所述提示信息。An output module, configured to output the prompt information generated by the generation module when the password corresponding to the user name is input. 9.一种计算机可读存储介质,其上存储有计算机程序,其特征在于,该程序被处理器执行时实现如权利要求1-7中任一所述的密码提示方法。9. A computer-readable storage medium, on which a computer program is stored, wherein when the program is executed by a processor, the password prompting method according to any one of claims 1-7 is implemented. 10.一种终端,包括存储器,处理器及存储在存储器上并可在处理器运行的计算机程序,其特征在于,所述处理器执行所述计算机程序时实现如权利要求1-7任一所述的密码提示方法。10. A terminal, comprising a memory, a processor, and a computer program stored on the memory and operable by the processor, characterized in that, when the processor executes the computer program, it implements any of claims 1-7. The password prompt method described above.
CN201810023727.XA 2018-01-10 2018-01-10 Password prompting method and device, storage medium and terminal Pending CN108171048A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810023727.XA CN108171048A (en) 2018-01-10 2018-01-10 Password prompting method and device, storage medium and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810023727.XA CN108171048A (en) 2018-01-10 2018-01-10 Password prompting method and device, storage medium and terminal

Publications (1)

Publication Number Publication Date
CN108171048A true CN108171048A (en) 2018-06-15

Family

ID=62517973

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810023727.XA Pending CN108171048A (en) 2018-01-10 2018-01-10 Password prompting method and device, storage medium and terminal

Country Status (1)

Country Link
CN (1) CN108171048A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108959905A (en) * 2018-06-22 2018-12-07 维沃移动通信有限公司 A kind of log-on message reminding method and terminal device
CN109522706A (en) * 2018-10-24 2019-03-26 维沃移动通信有限公司 A kind of information cuing method and terminal device
CN113672886A (en) * 2021-08-24 2021-11-19 维沃移动通信有限公司 Prompt method and device
CN113867609A (en) * 2020-06-30 2021-12-31 阿里巴巴集团控股有限公司 Information prompting method and device and password setting method
CN115242537A (en) * 2022-07-28 2022-10-25 中国银行股份有限公司 A user password reminder method and device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101996022A (en) * 2009-08-14 2011-03-30 黄金富 Method for displaying prompting information related to password
CN103917980A (en) * 2011-11-08 2014-07-09 瑞典爱立信有限公司 Apparatus and methods for obtaining a password hint
CN105550551A (en) * 2015-12-25 2016-05-04 北京奇虎科技有限公司 Password processing method and equipment, and password prompt method and equipment
CN106778223A (en) * 2016-12-29 2017-05-31 维沃移动通信有限公司 A kind of cryptographic check method and mobile terminal
CN107133514A (en) * 2017-05-31 2017-09-05 维沃移动通信有限公司 The method and mobile terminal of a kind of password prompt

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101996022A (en) * 2009-08-14 2011-03-30 黄金富 Method for displaying prompting information related to password
CN103917980A (en) * 2011-11-08 2014-07-09 瑞典爱立信有限公司 Apparatus and methods for obtaining a password hint
CN105550551A (en) * 2015-12-25 2016-05-04 北京奇虎科技有限公司 Password processing method and equipment, and password prompt method and equipment
CN106778223A (en) * 2016-12-29 2017-05-31 维沃移动通信有限公司 A kind of cryptographic check method and mobile terminal
CN107133514A (en) * 2017-05-31 2017-09-05 维沃移动通信有限公司 The method and mobile terminal of a kind of password prompt

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108959905A (en) * 2018-06-22 2018-12-07 维沃移动通信有限公司 A kind of log-on message reminding method and terminal device
CN109522706A (en) * 2018-10-24 2019-03-26 维沃移动通信有限公司 A kind of information cuing method and terminal device
CN113867609A (en) * 2020-06-30 2021-12-31 阿里巴巴集团控股有限公司 Information prompting method and device and password setting method
CN113672886A (en) * 2021-08-24 2021-11-19 维沃移动通信有限公司 Prompt method and device
CN115242537A (en) * 2022-07-28 2022-10-25 中国银行股份有限公司 A user password reminder method and device

Similar Documents

Publication Publication Date Title
EP2951746B1 (en) System and method of enhancing security of a wireless device through usage pattern detection
US8638939B1 (en) User authentication on an electronic device
CN108171048A (en) Password prompting method and device, storage medium and terminal
AU2011312743B2 (en) Multiple-access-level lock screen
CN106778130B (en) Message display method, display device and mobile terminal
US9946867B1 (en) Input mirroring
US20100031200A1 (en) Method of inputting a hand-drawn pattern password
CN104834449B (en) Icon management method and device for mobile terminal
US10440007B1 (en) Symbolic feedback for user input
CN104091103A (en) Fingerprint and password combined type verification method and device thereof
CN105117632B (en) The method and terminal of a kind of terminal unlocking
CN108268763A (en) terminal control method, device, storage medium and terminal
US20140223550A1 (en) Two phase password input mechanism
CN105929974A (en) Password input management method and mobile terminal
WO2011079433A1 (en) An apparatus, method, computer program and user interface
Guerar et al. Completely automated public physical test to tell computers and humans apart: A usability study on mobile devices
CN103795849A (en) Device and method for executing operation on private contact person in portable terminal
CN106372492B (en) An encryption method and mobile terminal
CN106446626B (en) A mobile terminal unlocking method and mobile terminal
CN110379051B (en) Unlocking method, device, terminal and storage medium
CN106778296A (en) An access method, device and terminal for accessing objects
CN106507351A (en) Method and mobile terminal for obtaining connection password of wireless network
CN113139173A (en) Input password acquisition method and device, electronic equipment and storage medium
CN110417979A (en) Unlocking method, device, terminal and storage medium
CN105022494A (en) Safe input method and system of virtual keyboard

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20180615

RJ01 Rejection of invention patent application after publication