Movatterモバイル変換


[0]ホーム

URL:


CN103455740B - A kind of cipher processing method, device and terminal - Google Patents

A kind of cipher processing method, device and terminal
Download PDF

Info

Publication number
CN103455740B
CN103455740BCN201310390269.0ACN201310390269ACN103455740BCN 103455740 BCN103455740 BCN 103455740BCN 201310390269 ACN201310390269 ACN 201310390269ACN 103455740 BCN103455740 BCN 103455740B
Authority
CN
China
Prior art keywords
password
input
user
preset
password input
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.)
Expired - Fee Related
Application number
CN201310390269.0A
Other languages
Chinese (zh)
Other versions
CN103455740A (en
Inventor
陈斯帆
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Skyworth Digital Technology Co Ltd
Shenzhen Skyworth Software Co Ltd
Original Assignee
Shenzhen Skyworth Digital Technology Co Ltd
Shenzhen Skyworth Software Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Skyworth Digital Technology Co Ltd, Shenzhen Skyworth Software Co LtdfiledCriticalShenzhen Skyworth Digital Technology Co Ltd
Priority to CN201310390269.0ApriorityCriticalpatent/CN103455740B/en
Publication of CN103455740ApublicationCriticalpatent/CN103455740A/en
Application grantedgrantedCritical
Publication of CN103455740BpublicationCriticalpatent/CN103455740B/en
Expired - Fee Relatedlegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Landscapes

Abstract

Translated fromChinese

本发明公开了一种密码处理方法,包括:获取用户输入的密码;比较用户输入的密码与预置密码是否相同;若相同,以隐藏显示的方式显示用户输入的密码,然后打开应用界面;若不相同,将用户输入的密码直接显示出来,然后重新获取用户输入的密码。本发明还公开了一种与密码处理方法相对应的密码处理装置、及包括该密码处理装置的终端。本发明所述的技术方案集成了对用户输入的密码进行直接显示与隐藏显示的方式,既可以防止密码泄露又便于及时发现输入的错误密码。

The invention discloses a password processing method, which includes: obtaining the password input by the user; comparing whether the password input by the user is the same as the preset password; if they are the same, displaying the password input by the user in a hidden way, and then opening the application interface; Not the same, directly display the password entered by the user, and then retrieve the password entered by the user. The invention also discloses a cryptographic processing device corresponding to the cryptographic processing method and a terminal including the cryptographic processing device. The technical scheme of the present invention integrates the methods of directly displaying and hiding the password input by the user, which can not only prevent the password from leaking but also facilitate timely discovery of the wrong password input.

Description

Translated fromChinese
一种密码处理方法、装置及终端Encryption processing method, device and terminal

技术领域technical field

本发明涉及安全认证领域,尤其涉及一种密码处理方法、装置及终端。The present invention relates to the field of security authentication, in particular to a password processing method, device and terminal.

背景技术Background technique

随着电子技术的发展,越来越多的电子产品进入人们的生活,为了提高电子产品的安全性、防止不相关的人员使用电子产品,通常对电子产品设置了密码保护,使用之前需要输入密码,只有密码输入正确时才可以使用该产品。比如手机、平板电脑等电子产品大多设置了密码保护的功能。With the development of electronic technology, more and more electronic products have entered people's lives. In order to improve the safety of electronic products and prevent unrelated personnel from using electronic products, password protection is usually set up for electronic products, and passwords need to be entered before use. , the product can only be used when the password is entered correctly. For example, electronic products such as mobile phones and tablet computers are mostly provided with password-protected functions.

密码输入后一般在电子产品的显示屏中采用两种方式进行显示,一种是将输入的密码直接显示出来,另外一种是以掩码的方式对输入的密码信息隐藏显示。After the password is input, it is generally displayed in two ways on the display screen of the electronic product, one is to directly display the input password, and the other is to hide and display the input password information in the form of a mask.

在显示屏中将输入的密码直接显示出来的方式,方便用户及时浏览密码,尤其当密码输入错误时,及时发现错误并更正,但是这种方式容易被非法用户窥视而导致密码泄露。The method of directly displaying the entered password on the display screen is convenient for the user to browse the password in time, especially when the password is entered incorrectly, the error can be found and corrected in time, but this method is easy to be peeped by illegal users and cause the password to be leaked.

在显示屏中将输入的密码以掩码的方式隐藏显示的方式,可以提高对输入信息的保护,但是不便于用户及时发现由于误操作而输入的错误密码,尤其当产品对输入错误密码的次数有限制时,由于合法用户没有及时发现误操作,当输入错误密码的次数超过允许次数时,将导致合法用户无法及时使用产品。The method of hiding and displaying the input password in the form of a mask on the display screen can improve the protection of the input information, but it is not convenient for the user to find out the wrong password input due to misoperation in time, especially when the product has the wrong password input times. When there is a limit, because legitimate users do not discover misuses in time, when the number of wrong passwords entered exceeds the allowed number, legitimate users will not be able to use the product in time.

发明内容Contents of the invention

本发明所要解决的技术问题是:提供一种密码处理方法,该方法集成了对用户输入的密码进行直接显示与隐藏显示的方式,既可以防止密码泄露又便于及时发现输入的错误密码。The technical problem to be solved by the present invention is to provide a password processing method, which integrates the direct display and hidden display of the password input by the user, which can prevent the password from leaking and facilitate timely discovery of the wrong password input.

本发明为了解决上述技术问题,提供了一种密码处理方法,包括:In order to solve the above technical problems, the present invention provides a cryptographic processing method, comprising:

获取用户输入的密码;Obtain the password entered by the user;

比较用户输入的密码与预置密码是否相同;Compare whether the password entered by the user is the same as the preset password;

若相同,用户输入的密码以隐藏显示的方式显示,然后打开应用界面;If they are the same, the password entered by the user will be displayed in a hidden way, and then the application interface will be opened;

若不相同,将用户输入的密码直接显示出来,重新获取用户输入的密码。If not, directly display the password entered by the user, and obtain the password entered by the user again.

其中,所述比较用户输入的密码与预置密码是否相同,包括:在密码输入过程中就开始进行比较,将密码输入过程中已输入的密码部分与预置密码的对应部分进行比较;如果已输入的密码部分与预置密码的对应部分相同,则将相同的密码部分以隐藏显示的方式显示,并继续输入并比较,如果用户输入的密码的各部分都与预置密码的对应部分相同,则用户输入的密码与预置密码相同;如果已输入的密码部分与预置密码的对应部分不相同,则用户输入的密码与预置密码不同,用户输入的密码为错误密码,停止本次的密码输入和比较。Wherein, the comparison of whether the password input by the user is the same as the preset password includes: starting the comparison during the password input process, comparing the input password part during the password input process with the corresponding part of the preset password; The input password part is the same as the corresponding part of the preset password, then display the same part of the password in a hidden way, and continue to input and compare, if all parts of the password entered by the user are the same as the corresponding part of the preset password, The password entered by the user is the same as the preset password; if the part of the entered password is different from the corresponding part of the preset password, the password entered by the user is different from the preset password, and the password entered by the user is an incorrect password. Password entry and comparison.

其中,所述比较用户输入的密码与预置密码是否相同,也可以包括:密码输入完成后才将用户输入的密码与预置密码进行比较;即:判断所述用户输入的密码是否为完整的密码,如果判断为是,将所述用户输入的密码与预置密码进行比较,比较所述用户输入的密码与预置密码是否相同。Wherein, the comparing whether the password input by the user is the same as the preset password may also include: comparing the password input by the user with the preset password after the password input is completed; that is: judging whether the password input by the user is complete password, if it is determined to be yes, compare the password input by the user with the preset password, and compare whether the password input by the user is the same as the preset password.

其中,所述以隐藏显示的方式显示,包括:以掩码的方式显示或者不显示任何内容。Wherein, the displaying in a hidden manner includes: displaying in a masked manner or not displaying any content.

其中,当用户输入的密码与预置密码不同时,在重新获取用户输入的密码之前,将之前每次输入的错误密码都显示出来,避免再次输入之前已输入过的错误密码。Wherein, when the password input by the user is different from the preset password, before reacquiring the password input by the user, the wrong password input each time before is displayed, so as to avoid inputting the wrong password input again.

相应地,本发明还提供了一种密码处理装置,包括:Correspondingly, the present invention also provides a cryptographic processing device, including:

获取模块,用于获取用户输入的密码;The obtaining module is used to obtain the password input by the user;

比较模块,用于比较用户输入的密码与预置密码是否相同;A comparison module, used to compare whether the password input by the user is the same as the preset password;

隐藏显示模块,用于当用户输入的密码与预置密码相同时,将用户输入的密码以隐藏显示的方式显示,然后打开应用界面;The hidden display module is used to display the password entered by the user in a hidden display mode when the password entered by the user is the same as the preset password, and then open the application interface;

直接显示模块,用于当用户输入的密码与预置密码不同时,将用户输入的密码直接显示出来。The direct display module is used to directly display the password input by the user when the password input by the user is different from the preset password.

其中,所述比较模块,包括:即时比较模块或者整体比较模块;Wherein, the comparison module includes: an instant comparison module or an overall comparison module;

所述即时比较模块,用于在密码输入过程中就开始进行比较,将密码输入过程中已输入的密码部分与预置密码的对应部分进行比较;如果已输入的密码部分与预置密码的对应部分相同,则将相同的密码部分以隐藏显示的方式显示,并继续输入并比较,如果用户输入的密码的各部分都与预置密码的对应部分相同,则用户输入的密码与预置密码相同;如果已输入的密码部分与预置密码的对应部分不相同,则用户输入的密码与预置密码不同,用户输入的密码为错误密码,停止本次的密码输入和比较。The instant comparison module is used to start comparing during the password input process, and compares the input password part with the corresponding part of the preset password during the password input process; if the corresponding part of the input password part and the preset password If all parts of the password are the same, the same part of the password will be displayed in a hidden way, and continue to input and compare. If all parts of the password entered by the user are the same as the corresponding parts of the preset password, the password entered by the user is the same as the preset password ; If the input password part is not the same as the corresponding part of the preset password, then the password input by the user is different from the preset password, and the password input by the user is a wrong password, so stop the password input and comparison this time.

所述整体比较模块,用于密码输入完成后才将用户输入的密码与预置密码进行比较。The overall comparison module is used to compare the password input by the user with the preset password after the password input is completed.

其中,所述以隐藏显示的方式进行显示包括以掩码的方式显示或者不显示任何内容。Wherein, the displaying in a hidden displaying manner includes displaying in a masked manner or not displaying any content.

其中,该密码处理装置,还包括:Wherein, the cryptographic processing device also includes:

错误密码显示模块,用于当用户输入的密码与预置密码不同时,在所述获取模块重新获取用户输入的密码之前,将之前每次输入的错误密码都显示出来。The wrong password display module is used for displaying wrong passwords input each time before the acquiring module reacquires the password input by the user when the password input by the user is different from the preset password.

相应地,本发明还提供了一种终端,包括,显示屏和与显示屏相连的密码处理装置;其中所述密码处理装置包括:获取模块、比较模块、隐藏显示模块和直接显示模块;Correspondingly, the present invention also provides a terminal, including a display screen and a password processing device connected to the display screen; wherein the password processing device includes: an acquisition module, a comparison module, a hidden display module and a direct display module;

获取模块,用于获取用户输入的密码;The obtaining module is used to obtain the password input by the user;

比较模块,用于比较用户输入的密码与预置密码是否相同;A comparison module, used to compare whether the password input by the user is the same as the preset password;

隐藏显示模块,用于当用户输入的密码与预置密码相同时,将用户输入的密码以隐藏显示的方式显示,打开应用界面;The hidden display module is used to display the password entered by the user in a hidden display mode when the password input by the user is the same as the preset password, and open the application interface;

直接显示模块,用于当用户输入的密码与预置密码不同时,将用户输入的密码直接显示出来。The direct display module is used to directly display the password input by the user when the password input by the user is different from the preset password.

其中,所述比较模块,包括:即时比较模块或者整体比较模块;Wherein, the comparison module includes: an instant comparison module or an overall comparison module;

所述即时比较模块,用于在密码输入过程中就开始进行比较,将密码输入过程中已输入的密码部分与预置密码的对应部分进行比较;如果已输入的密码部分与预置密码的对应部分相同,则将相同的密码部分以隐藏显示的方式显示,继续判断后续输入的密码部分,如果用户输入的密码的各部分都与预置密码的对应部分相同,则用户输入的密码与预置密码相同;如果已输入的密码部分与预置密码的对应部分不相同,则用户输入的密码与预置密码不同,用户输入的密码为错误密码,停止本次密码输入和比较。The instant comparison module is used to start comparing during the password input process, and compares the input password part with the corresponding part of the preset password during the password input process; if the corresponding part of the input password part and the preset password If the parts are the same, the same part of the password will be displayed in a hidden way, and continue to judge the part of the password entered later. If all parts of the password entered by the user are the same as the corresponding parts of the preset password, then the password entered by the user The passwords are the same; if the entered password part is not the same as the corresponding part of the preset password, the password entered by the user is different from the preset password, and the password entered by the user is a wrong password, so stop this password input and comparison.

所述整体比较模块,用于密码输入完成后才将用户输入的密码与预置密码进行比较。The overall comparison module is used to compare the password input by the user with the preset password after the password input is completed.

其中,所述以隐藏显示的方式进行显示包括以掩码的方式显示或者不显示任何内容。Wherein, the displaying in a hidden displaying manner includes displaying in a masked manner or not displaying any content.

其中,该终端,还包括:错误密码显示模块,用于当用户输入的密码与预置密码不同时,在所述获取模块重新获取用户输入的密码之前,将之前每次输入的错误密码都显示出来。Wherein, the terminal also includes: a wrong password display module, which is used to display the wrong password input each time before the acquisition module reacquires the password input by the user when the password input by the user is different from the preset password come out.

其中,所述终端为手机或者电脑。Wherein, the terminal is a mobile phone or a computer.

本发明实具有如下有益效果:The present invention has the following beneficial effects:

本发明提供的密码处理方法集成了对用户输入的密码进行直接显示与隐藏显示的方式,既可以防止密码泄露又便于及时发现输入的错误密码。The password processing method provided by the present invention integrates the methods of directly displaying and hiding the password input by the user, which can prevent password leakage and facilitate timely discovery of input wrong passwords.

附图说明Description of drawings

为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the following will briefly introduce the drawings that need to be used in the description of the embodiments or the prior art. Obviously, the accompanying drawings in the following description are only These are some embodiments of the present invention. Those skilled in the art can also obtain other drawings based on these drawings without creative work.

图1是本发明第一实施例密码处理方法的流程图;Fig. 1 is the flowchart of the password processing method of the first embodiment of the present invention;

图2是本发明第二实施例密码处理装置的结构示意图;2 is a schematic structural diagram of a cryptographic processing device according to a second embodiment of the present invention;

图3是本发明第三实施例密码处理装置的结构示意图;3 is a schematic structural diagram of a cryptographic processing device according to a third embodiment of the present invention;

图4是本发明第四实施例终端的结构示意图;FIG. 4 is a schematic structural diagram of a terminal according to a fourth embodiment of the present invention;

图5是本发明第五实施例终端的结构示意图。FIG. 5 is a schematic structural diagram of a terminal according to a fifth embodiment of the present invention.

具体实施方式detailed description

下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.

请参见图1,是本发明第一实施例密码处理方法的流程图。本发明实施例密码处理方法对现有技术中将密码进行直接显示或者隐藏显示的密码处理方法进行了改进,集成了对用户输入的密码进行直接显示与隐藏显示的方式,既可以防止密码泄露又便于及时发现输入的错误密码。具体包括:Please refer to FIG. 1 , which is a flowchart of a password processing method according to the first embodiment of the present invention. The password processing method of the embodiment of the present invention improves the password processing method of directly displaying or hiding the password in the prior art, and integrates the method of directly displaying and hiding the password input by the user, which can prevent password leakage and It is convenient to find the wrong password entered in time. Specifically include:

S101、获取用户输入的密码。S101. Obtain a password input by a user.

具体地,所述获取用户输入的密码,包括:通过输入装置,比如使用键盘,手写笔或者直接在触摸屏上以手动的方式输入的密码。Specifically, the acquiring the password input by the user includes: using an input device, such as using a keyboard, a stylus, or directly inputting the password manually on the touch screen.

密码可以是数字密码、文字密码、字符密码、图案密码或者他们之间相互组合所形成的密码;在使用密码进行安全验证的产品中预先设置了预置密码,只有当用户输入的密码与预置密码相同时,才通过安全验证,进入产品的应用界面。Passwords can be numeric passwords, text passwords, character passwords, pattern passwords, or passwords formed by their combination; in products that use passwords for security verification, preset passwords are preset, and only when the password entered by the user matches the preset password Only when the passwords are the same can they pass the security verification and enter the application interface of the product.

S102、比较用户输入的密码与预置密码是否相同。S102. Compare whether the password input by the user is the same as the preset password.

用户输入的密码与预置密码相同时,则通过安全验证;用户输入的密码与预置密码不相同时,则不能通过安全认证。If the password entered by the user is the same as the preset password, the security authentication will pass; if the password entered by the user is different from the preset password, the security authentication will fail.

具体地,所述比较用户输入的密码与预置密码是否相同,可以在密码输入过程中就开始进行比较,将密码输入过程中已输入的密码部分与预置密码的对应部分进行比较;如果已输入的密码部分与预置密码的对应部分相同,则将相同的密码部分以隐藏显示的方式显示,所述以隐藏显示的方式显示包括以掩码的方式显示,比如以符号*来显示,或者不显示任何内容,当然也可以采用其他隐藏显示方式,只要不显示已输入的密码都可以。继续判断后续输入的密码部分,如果用户输入的密码的各部分与预置密码的对应部分都相同,则用户输入的密码与预置密码相同;如果已输入的密码部分与预置密码的对应部分不相同,则用户输入的密码与预置密码不同,用户输入的密码为错误密码,停止本次密码输入和比较。Specifically, the comparison of whether the password input by the user is the same as the preset password can be performed during the password input process, and the input password part during the password input process is compared with the corresponding part of the preset password; The input password part is the same as the corresponding part of the preset password, then the same password part will be displayed in a hidden way, and the hidden display way includes displaying in a masked way, such as displaying with a symbol *, or Do not display any content, of course, other hidden display methods can also be used, as long as the entered password is not displayed. Continue to judge the part of the password entered later. If all parts of the password entered by the user are the same as the corresponding parts of the preset password, the password entered by the user is the same as the preset password; If they are not the same, the password entered by the user is different from the preset password, and the password entered by the user is an incorrect password, and the current password input and comparison are stopped.

比较用户输入的密码与预置密码是否相同,也可以当密码输入完成后才将用户输入的密码与预置密码进行比较,对输入过程中已输入的部分以隐藏显示的方式显示。具体地,判断所述用户输入的密码是否为完整的密码,如果判断为是,将所述用户输入的密码与预置密码进行比较,比较所述用户输入的密码与预置密码是否相同。Compare whether the password entered by the user is the same as the preset password, or compare the password entered by the user with the preset password after the password input is completed, and display the input part in the input process in a hidden way. Specifically, it is judged whether the password input by the user is a complete password, and if it is judged to be yes, the password input by the user is compared with the preset password, and whether the password input by the user is the same as the preset password.

S103、当用户输入的密码与预置密码相同时,将用户输入的密码以隐藏显示的方式显示,然后打开应用界面。S103. When the password input by the user is the same as the preset password, display the password input by the user in a hidden display manner, and then open the application interface.

S104、当用户输入的密码与预置密码不相同时,将用户输入的密码直接显示出来,返回步骤S101重新获取用户输入的密码。S104. When the password input by the user is different from the preset password, directly display the password input by the user, and return to step S101 to obtain the password input by the user again.

为了提醒用户,避免再输入之前已输入的错误密码,当用户输入的密码与预置密码不同时,在重新获取用户输入的密码之前,可以将之前每次输入的错误密码都显示出来。In order to remind the user to avoid entering the wrong password that has been entered before, when the password entered by the user is different from the preset password, before obtaining the password entered by the user again, the wrong password entered each time before can be displayed.

请参见图2,是本发明第二实施例提供的密码处理装置的结构示意图,该密码处理装置1包括获取模块2、比较模块3、隐藏显示模块4和直接显示模块5。Please refer to FIG. 2 , which is a schematic structural diagram of a cryptographic processing device provided by a second embodiment of the present invention. The cryptographic processing device 1 includes an acquisition module 2 , a comparison module 3 , a hidden display module 4 and a direct display module 5 .

其中,获取模块2用于获取用户输入的密码;比较模块3用于比较用户输入的密码与预置密码是否相同;隐藏显示模块4用于当用户输入的密码与预置密码相同时,将用户输入的密码以隐藏显示的方式显示,然后打开应用界面;直接显示模块5,用于当用户输入的密码与预置密码不相同时,将用户输入的密码直接显示出来。Wherein, the acquisition module 2 is used to obtain the password input by the user; the comparison module 3 is used to compare whether the password input by the user is the same as the preset password; The input password is displayed in a hidden display mode, and then the application interface is opened; the direct display module 5 is used to directly display the password input by the user when the password input by the user is different from the preset password.

具体地,所述比较模块3可以包括即时比较模块,即时比较模块用于在密码输入过程中就开始进行比较,将密码输入过程中已输入的密码部分与预置密码的对应部分进行比较;如果已输入的密码部分与预置密码的对应部分相同,则将相同的密码部分以隐藏显示的方式显示,继续判断后续输入的密码部分,如果用户输入的密码的各部分都与预置密码的对应部分相同,则用户输入的密码与预置密码相同;如果已输入的密码部分与预置密码的对应部分不相同,则用户输入的密码与预置密码不同,用户输入的密码为错误密码,停止本次密码输入和比较。Specifically, the comparison module 3 may include an instant comparison module, and the instant comparison module is used to start comparison during the password input process, and compare the input password part in the password input process with the corresponding part of the preset password; if The input password part is the same as the corresponding part of the preset password, then the same password part will be displayed in a hidden display mode, and continue to judge the subsequent input password part. part is the same, the password entered by the user is the same as the preset password; if the part of the entered password is not the same as the corresponding part of the preset password, the password entered by the user is different from the preset password, and the password entered by the user is an incorrect password, stop This time the password is entered and compared.

当然,比较模块3也可以包括整体比较模块,整体比较模块用于密码输入完成后才将用户输入的密码与预置密码进行比较。输入过程可以不显示也可以以掩码的方式显示。Of course, the comparison module 3 may also include an overall comparison module, which is used to compare the password input by the user with the preset password after the password input is completed. The input process can not be displayed or can be displayed in a masked manner.

请参见图3,是本发明第三实施例提供的密码处理装置的结构示意图,当用户输入的密码与预置密码不同时,为了提醒用户,避免再输入之前已输入的错误密码,本实施例所述的密码处理装置相对第二实施例增设了错误密码显示模块6,用于当用户输入的密码与预置密码不同时,获取模块2重新获取用户输入的密码前,将之前每次输入的错误密码都显示出来。Please refer to FIG. 3 , which is a schematic structural diagram of a password processing device provided by the third embodiment of the present invention. When the password input by the user is different from the preset password, in order to remind the user to avoid re-entering the wrong password that has been input before, this embodiment Compared with the second embodiment, the password processing device has an additional wrong password display module 6, which is used for when the password input by the user is different from the preset password, before the acquisition module 2 reacquires the password input by the user, it will replace the previously input password each time. Wrong passwords are displayed.

请参见图4,是本发明第四实施例提供的终端的结构示意图。该终端7包括显示屏8和与显示屏8相连的密码处理装置11;其中所述密码处理装置11包括:获取模块21、比较模块31、隐藏显示模块41和直接显示模块51。终端可以是各种具有密码保护功能的设备,比如终端可以为手机或者电脑等。Please refer to FIG. 4 , which is a schematic structural diagram of a terminal provided by a fourth embodiment of the present invention. The terminal 7 includes a display screen 8 and a cryptographic processing device 11 connected to the display screen 8 ; wherein the cryptographic processing device 11 includes: an acquisition module 21 , a comparison module 31 , a hidden display module 41 and a direct display module 51 . The terminal can be various devices with a password protection function, for example, the terminal can be a mobile phone or a computer.

显示屏8,用于以隐藏显示方式显示或者以直接显示方式显示用户输入的密码,该显示屏可以兼具触摸屏功能,通过操作显示屏进行密码输入。The display screen 8 is used to display the password entered by the user in a hidden display mode or in a direct display mode. The display screen can also have a touch screen function, and the password input is performed by operating the display screen.

获取模块21通过输入装置,比如可以使用键盘,手写笔或者直接在显示屏上以手动的方式输入密码。The acquisition module 21 uses an input device, such as a keyboard, a stylus, or directly enters the password manually on the display screen.

密码可以是数字密码、文字密码、字符密码、图案密码或者他们之间相互组合所形成的密码;在使用密码进行安全验证的产品中预先设置了预置密码,只有当用户输入的密码与预置密码相同时,才通过安全验证,打开终端7的应用界面。Passwords can be numeric passwords, text passwords, character passwords, pattern passwords, or passwords formed by their combination; in products that use passwords for security verification, preset passwords are preset, and only when the password entered by the user matches the preset password Only when the passwords are the same, the security verification is passed, and the application interface of the terminal 7 is opened.

比较模块31用于比较用户输入的密码与预置密码是否相同;隐藏显示模块41用于当用户输入的密码与预置密码相同时,将用户输入的密码以隐藏显示的方式显示,然后打开应用界面;直接显示模块51,用于当用户输入的密码与预置密码不相同时,将用户输入的密码直接显示出来。The comparison module 31 is used to compare whether the password input by the user is the same as the preset password; the hidden display module 41 is used to display the password input by the user in a hidden display mode when the password input by the user is identical to the preset password, and then open the application Interface; a direct display module 51, used to directly display the password input by the user when the password input by the user is different from the preset password.

具体地,所述比较模块31可以包括即时比较模块,即时比较模块用于在密码输入过程中就开始进行比较,将密码输入过程中已输入的密码部分与预置密码的对应部分进行比较;如果已输入的密码部分与预置密码的对应部分相同,则将相同的密码部分以隐藏显示的方式显示,继续判断后续输入的密码部分,如果用户输入的密码的各部分都与预置密码的对应部分相同,则用户输入的密码与预置密码相同;如果已输入的密码部分与预置密码的对应部分不相同,则用户输入的密码与预置密码不同,用户输入的密码为错误密码,停止本次密码输入和比较。Specifically, the comparison module 31 may include an instant comparison module, and the instant comparison module is used to start the comparison during the password input process, and compares the input password part in the password input process with the corresponding part of the preset password; if The input password part is the same as the corresponding part of the preset password, then the same password part will be displayed in a hidden display mode, and continue to judge the subsequent input password part. part is the same, the password entered by the user is the same as the preset password; if the part of the entered password is not the same as the corresponding part of the preset password, the password entered by the user is different from the preset password, and the password entered by the user is an incorrect password, stop This time the password is entered and compared.

当然,比较模块31也可以包括整体比较模块,整体比较模块用于密码输入完成后才将用户输入的密码与预置密码进行比较,输入过程可以不显示也可以以掩码的方式显示。Of course, the comparison module 31 may also include an overall comparison module, which is used to compare the password input by the user with the preset password after the password input is completed, and the input process may not be displayed or may be displayed in a masked manner.

请参见图5,是本发明第五实施例提供的终端的结构示意图,当用户输入的密码与预置密码不同时,为了提醒用户,避免再输入之前已输入的错误密码,本实施例所述的终端相对第四实施例增设了错误密码显示模块9,用于当用户输入的密码与预置密码不同时,获取模块2重新获取用户输入的密码前,将之前每次输入的错误密码都在显示屏上显示出来。Please refer to Fig. 5, which is a schematic structural diagram of the terminal provided by the fifth embodiment of the present invention. When the password entered by the user is different from the preset password, in order to remind the user to avoid re-entering the wrong password that has been entered before, the Compared with the fourth embodiment, the terminal has an additional wrong password display module 9, which is used for when the password input by the user is different from the preset password. displayed on the display.

本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,所述的程序可存储于一计算机可读取存储介质中,该程序在执行时,可包括如上述各方法的实施例的流程。其中,所述的存储介质可为磁碟、光盘、只读存储记忆体(Read-OnlyMemory,ROM)或随机存储记忆体(RandomAccessMemory,RAM)等。Those of ordinary skill in the art can understand that all or part of the processes in the methods of the above embodiments can be implemented through computer programs to instruct related hardware, and the programs can be stored in a computer-readable storage medium. During execution, it may include the processes of the embodiments of the above-mentioned methods. Wherein, the storage medium may be a magnetic disk, an optical disk, a read-only memory (Read-Only Memory, ROM) or a random access memory (Random Access Memory, RAM) and the like.

以上所揭露的仅为本发明较佳实施例而已,当然不能以此来限定本发明之权利范围,因此依本发明权利要求所作的等同变化,仍属本发明所涵盖的范围。The above disclosures are only preferred embodiments of the present invention, and certainly cannot limit the scope of rights of the present invention. Therefore, equivalent changes made according to the claims of the present invention still fall within the scope of the present invention.

Claims (7)

in the password input process, comparing the input password part with the corresponding part of the preset password; if the input password part is the same as the corresponding part of the preset password, displaying the input password part in a hidden display mode, continuously inputting and comparing until all password parts are input and compared, and if all the parts of the password input by the user are the same as the corresponding part of the preset password, the password input by the user is the same as the preset password; if the input password part is different from the corresponding part of the preset password, the password input by the user is different from the preset password, the password input by the user is an error password, and the password input and comparison at this time are stopped;
the instant comparison module is used for comparing the input password part with the corresponding part of the preset password in the password input process; if the input password part is the same as the corresponding part of the preset password, displaying the input password part in a hidden display mode, and continuously inputting and comparing until all password parts are input; if all parts of the password input by the user are the same as the corresponding parts of the preset password, the password input by the user is the same as the preset password; if the input password part is different from the corresponding part of the preset password, the password input by the user is different from the preset password, the password input by the user is an error password, and the current password input and comparison are stopped;
CN201310390269.0A2013-08-302013-08-30A kind of cipher processing method, device and terminalExpired - Fee RelatedCN103455740B (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN201310390269.0ACN103455740B (en)2013-08-302013-08-30A kind of cipher processing method, device and terminal

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN201310390269.0ACN103455740B (en)2013-08-302013-08-30A kind of cipher processing method, device and terminal

Publications (2)

Publication NumberPublication Date
CN103455740A CN103455740A (en)2013-12-18
CN103455740Btrue CN103455740B (en)2016-06-29

Family

ID=49738092

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN201310390269.0AExpired - Fee RelatedCN103455740B (en)2013-08-302013-08-30A kind of cipher processing method, device and terminal

Country Status (1)

CountryLink
CN (1)CN103455740B (en)

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN104717064A (en)*2013-12-132015-06-17中国移动通信集团公司Password peep-prevention method and user terminal
CN104732923A (en)*2015-03-172015-06-24李小司Display device with background password protection and control method of display device
CN105577633B (en)*2015-06-272019-10-11宇龙计算机通信科技(深圳)有限公司A kind of verification method and terminal
CN105303099B (en)*2015-10-302019-01-25北京奇艺世纪科技有限公司The method and apparatus of setting verification confidential information
CN105631267A (en)*2015-12-262016-06-01深圳市金立通信设备有限公司Password check method and terminal
CN106446630B (en)*2016-09-122020-05-22努比亚技术有限公司Password information input device and method and mobile terminal
CN107678670B (en)*2017-09-292020-11-17努比亚技术有限公司Password input method, equipment and computer storage medium
CN108830074A (en)*2018-06-122018-11-16平安科技(深圳)有限公司Password input display method and device and computer readable storage medium
CN110096898B (en)*2019-04-172021-11-12苏州达家迎信息技术有限公司Information processing method, device, equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
WO2008103778A3 (en)*2007-02-212008-10-23Invicta Networks IncPassword protection system and method
CN102521539A (en)*2011-12-082012-06-27广东步步高电子工业有限公司 A reliable password protection method for mobile devices
CN102981627A (en)*2011-09-062013-03-20腾讯科技(深圳)有限公司Password inputting method and password inputting device
CN103197893A (en)*2012-12-072013-07-10杭州斯凯网络科技有限公司Method for reminding user whether current input information is wrong or not in Android system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
WO2008103778A3 (en)*2007-02-212008-10-23Invicta Networks IncPassword protection system and method
CN102981627A (en)*2011-09-062013-03-20腾讯科技(深圳)有限公司Password inputting method and password inputting device
CN102521539A (en)*2011-12-082012-06-27广东步步高电子工业有限公司 A reliable password protection method for mobile devices
CN103197893A (en)*2012-12-072013-07-10杭州斯凯网络科技有限公司Method for reminding user whether current input information is wrong or not in Android system

Also Published As

Publication numberPublication date
CN103455740A (en)2013-12-18

Similar Documents

PublicationPublication DateTitle
CN103455740B (en)A kind of cipher processing method, device and terminal
US11314851B2 (en)Method for protecting private information and terminal device
US9514297B2 (en)Systems and methods for gesture lock obfuscation
CN105117663B (en)The encrypted object display methods and device of a kind of application
US9513790B2 (en)Electronic device and method for unlocking screen of electronic device
CN104182662B (en)Hiding and deployment method, system and the mobile terminal of hide application program
US20150067829A1 (en)Electronic Device and Method for Unlocking Screen of Electronic Device
CN106534572A (en)Information display method and device and terminal
CN104992102A (en)Message display method and apparatus
TWI546749B (en)Method for improving safety of electronic payment and system thereof
US9372981B2 (en)Electronic device and method for unlocking screen of electronic device
CN107643977A (en)The method and Related product of Anti-addiction
CN104008346A (en)Method and device for starting privacy mode of data processing device
CN105117632B (en)The method and terminal of a kind of terminal unlocking
CN104951685A (en)Method and mobile terminal for running application programs
CN105426717A (en) A method and device for displaying an interface
CN104933343A (en)Secrecy method and apparatus of application program, and electronic device
CN106503507A (en)Method and mobile terminal that a kind of password shows
US20150047019A1 (en)Information processing method and electronic device
CN106959754A (en)Method for controlling mobile terminal and mobile terminal
CN105657147B (en) Anti-theft method and device for mobile terminal
CN105159589A (en)Pattern unlocking method and terminal
CN103257886B (en) A method for calling an information input program and an electronic device
CN105550565A (en)Unlocking method and device
WO2017000343A1 (en)Fingerprint unlocking method and terminal

Legal Events

DateCodeTitleDescription
C06Publication
PB01Publication
C10Entry into substantive examination
SE01Entry into force of request for substantive examination
CB02Change of applicant information

Address after:518000 Guangdong city of Shenzhen province Nanshan District Gao Xin Road Building A14, SKYWORTH

Applicant after:SHENZHEN SKYWORTH DIGITAL TECHNOLOGY Co.,Ltd.

Applicant after:SHENZHEN SKYWORTH SOFTWARE Co.,Ltd.

Address before:518000 Guangdong city of Shenzhen province Nanshan District Gao Xin Road Building A14, SKYWORTH

Applicant before:SHENZHEN SKYWORTH DIGITAL TECHNOLOGY Co.,Ltd.

Applicant before:SHENZHEN SKYWORTH SOFTWARE Co.,Ltd.

CORChange of bibliographic data
C14Grant of patent or utility model
GR01Patent grant
CF01Termination of patent right due to non-payment of annual fee

Granted publication date:20160629


[8]ページ先頭

©2009-2025 Movatter.jp