CN104090688B - The cipher-code input method and device of a kind of mobile terminal - Google Patents
The cipher-code input method and device of a kind of mobile terminal Download PDFInfo
- Publication number
- CN104090688B CN104090688B CN201410384574.3A CN201410384574A CN104090688B CN 104090688 B CN104090688 B CN 104090688B CN 201410384574 A CN201410384574 A CN 201410384574A CN 104090688 B CN104090688 B CN 104090688B
- Authority
- CN
- China
- Prior art keywords
- password
- numeric keypad
- numeric
- original
- number sequence
- 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
Links
Landscapes
- Telephone Function (AREA)
Abstract
本发明属于密码保护技术领域,提供了一种移动终端的密码输入方法及装置,所述方法包括:生成当前随机数字顺序,并按照所述当前随机数字顺序显示第一数字键盘,所述第一数字键盘包括0至9十个数字按键;接收用户在所述第一数字键盘上输入的第一密码,并根据所述第一密码中的每一位密码在所述第一数字键盘上的位置生成验证密码;判断所述验证密码是否与预先存储的原始密码相匹配,若是,则密码验证成功。本发明通过在密码输入时,按照当前随机数字顺序显示第一数字键盘,再接收用户输入的第一密码,根据第一密码中的每一位密码在第一数字键盘上的位置生成验证密码,由此在每次密码输入时,输入的密码看起来都不一样,从而防止密码泄露。
The invention belongs to the technical field of password protection, and provides a password input method and device for a mobile terminal. The method includes: generating a current random number sequence, and displaying a first numeric keyboard according to the current random number sequence, and the first The numeric keypad includes ten numeric keys from 0 to 9; receiving the first password input by the user on the first numeric keyboard, and according to the position of each password in the first password on the first numeric keyboard Generating a verification password; judging whether the verification password matches a pre-stored original password, and if so, the password verification is successful. In the present invention, when the password is input, the first numeric keyboard is displayed according to the current random number sequence, and then the first password input by the user is received, and the verification password is generated according to the position of each password in the first password on the first numeric keyboard, Therefore, each time the password is input, the input password looks different, thereby preventing the password from leaking.
Description
技术领域technical field
本发明属于密码保护技术领域,尤其涉及一种移动终端的密码输入方法及装置。The invention belongs to the technical field of password protection, in particular to a password input method and device for a mobile terminal.
背景技术Background technique
随着移动互联网时代的到来,越来越多的支付操作在移动终端完成,因此,人们经常需要通过移动终端输入私密性和重要性极高的密码,例如网络银行密码等。又由于基于移动终端的支付操作常常在公共场合进行,因此,密码的输入过程很容易被偷窥,导致密码泄露。With the advent of the mobile Internet era, more and more payment operations are completed on mobile terminals. Therefore, people often need to enter passwords with high privacy and importance, such as online banking passwords, through mobile terminals. And because the payment operation based on the mobile terminal is often carried out in public, therefore, the password input process is easy to be peeped, resulting in password leakage.
发明内容Contents of the invention
本发明实施例的目的在于提供一种移动终端的密码输入方法,以解决基于移动终端的密码输入过程易被偷窥,导致密码泄露的问题。The purpose of the embodiments of the present invention is to provide a password input method for a mobile terminal, so as to solve the problem that the password input process based on the mobile terminal is easy to be peeped, resulting in password leakage.
本发明实施例是这样实现的,一种移动终端的密码输入方法,包括:The embodiment of the present invention is achieved in this way, a password input method of a mobile terminal, comprising:
生成当前随机数字顺序,并按照所述当前随机数字顺序显示第一数字键盘,所述第一数字键盘包括0至9十个数字按键;Generate a current random number sequence, and display a first numeric keypad according to the current random number sequence, and the first numeric keypad includes ten numeric keys from 0 to 9;
接收用户在所述第一数字键盘上输入的第一密码,并根据所述第一密码中的每一位密码在所述第一数字键盘上的位置生成验证密码;receiving the first password input by the user on the first numeric keypad, and generating a verification password according to the position of each digit of the first password on the first numeric keypad;
判断所述验证密码是否与预先存储的原始密码相匹配,若是,则密码验证成功;若否,则密码验证失败。Judging whether the verification password matches the pre-stored original password, if yes, the password verification is successful; if not, the password verification fails.
本发明实施例的另一目的在于提供一种移动终端的密码输入装置,包括:Another object of the embodiments of the present invention is to provide a password input device for a mobile terminal, including:
第一数字键盘显示模块,用于生成当前随机数字顺序,并按照所述当前随机数字顺序显示第一数字键盘,所述第一数字键盘包括0至9十个数字按键;The first numeric keypad display module is used to generate the current random number sequence, and display the first numeric keypad according to the current random number sequence, and the first numeric keypad includes ten numeric keys from 0 to 9;
验证密码生成模块,用于接收用户在所述第一数字键盘上输入的第一密码,并根据所述第一密码中的每一位密码在所述第一数字键盘上的位置生成验证密码;A verification password generation module, configured to receive the first password input by the user on the first numeric keypad, and generate a verification password according to the position of each digit of the first password on the first numeric keypad;
密码验证模块,用于判断所述验证密码是否与预先存储的原始密码相匹配,若是,则密码验证成功;若否,则密码验证失败。The password verification module is used to judge whether the verification password matches the pre-stored original password, if yes, the password verification is successful; if not, the password verification fails.
本发明实施例与现有技术相比存在的有益效果是:本发明实施例通过在密码输入时,生成当前随机数字顺序,按照当前随机数字顺序显示第一数字键盘,再接收用户在第一数字键盘上输入的第一密码,根据第一密码中的每一位密码在第一数字键盘上的位置生成验证密码,并判断验证密码是否与预先存储的原始密码相匹配,由此在每次密码输入时,输入的密码看起来都不一样,从而防止密码泄露。Compared with the prior art, the embodiment of the present invention has the following beneficial effects: the embodiment of the present invention generates the current sequence of random numbers when the password is input, displays the first numeric keypad according to the current sequence of random numbers, and then receives the first numeric keypad input from the user. The first password input on the keyboard generates a verification password according to the position of each digit of the password in the first password on the first numeric keyboard, and judges whether the verification password matches the pre-stored original password. When entering, the entered passwords look different, thereby preventing password leakage.
附图说明Description of drawings
为了更清楚地说明本发明实施例中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following will briefly introduce the accompanying drawings that need to be used in the descriptions of the embodiments or the prior art. Obviously, the accompanying drawings in the following description are only of the present invention. For some embodiments, those of ordinary skill in the art can also obtain other drawings based on these drawings without paying creative efforts.
图1是本发明实施例提供的移动终端的密码输入方法的实现流程图;Fig. 1 is the implementation flowchart of the password input method of the mobile terminal provided by the embodiment of the present invention;
图2是本发明实施例提供的第一数字键盘的示意图;Fig. 2 is a schematic diagram of a first numeric keypad provided by an embodiment of the present invention;
图3是本发明另一实施例提供的移动终端的密码输入方法的实现流程图;FIG. 3 is a flow chart of implementing a password input method for a mobile terminal provided by another embodiment of the present invention;
图4是本发明实施例提供的第二数字键盘的示意图;Fig. 4 is a schematic diagram of a second numeric keypad provided by an embodiment of the present invention;
图5是本发明实施例提供的第二数字键盘的另一示意图;Fig. 5 is another schematic diagram of a second numeric keypad provided by an embodiment of the present invention;
图6是本发明另一实施例提供的移动终端的密码输入方法的实现流程图;FIG. 6 is a flow chart of implementing a password input method for a mobile terminal provided by another embodiment of the present invention;
图7是本发明实施例提供的原始数字键盘的示意图;Fig. 7 is a schematic diagram of an original numeric keyboard provided by an embodiment of the present invention;
图8是本发明实施例提供的移动终端的密码输入装置的结构框图。Fig. 8 is a structural block diagram of a password input device for a mobile terminal provided by an embodiment of the present invention.
具体实施方式Detailed ways
为了使本发明的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本发明进行进一步详细说明。应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.
本发明实施例通过在密码输入时,生成当前随机数字顺序,按照当前随机数字顺序显示第一数字键盘,再接收用户在第一数字键盘上输入的第一密码,根据第一密码中的每一位密码在第一数字键盘上的位置生成验证密码,并判断验证密码是否与预先存储的原始密码相匹配,由此在每次密码输入时,输入的密码看起来都不一样,从而防止密码泄露。In the embodiment of the present invention, when the password is entered, the current random number sequence is generated, the first numeric keypad is displayed according to the current random number sequence, and the first password input by the user on the first numeric keypad is received. The digit password generates a verification password at the position on the first numeric keypad, and judges whether the verification password matches the pre-stored original password, so that each time the password is entered, the input password looks different, thereby preventing the password from leaking .
本发明实施例的执行主体可以为移动终端,也可以为移动终端中的装置。其中,移动终端可以包括移动电话(或称为“蜂窝”电话)和具有移动终端的计算机,例如,可以是便携式、袖珍式、手持式、计算机内置的或者车载的移动装置,它们与无线接入网交换语言和/或数据。例如,个人通信业务(Personal Communication Service,PCS)电话、无绳电话、会话发起协议(Session Initiation Protocol,SIP)话机、无线本地环路(Wireless LocalLoop,WLL)站、个人数字助理(Personal Digital Assistant,PDA)等设备,在此不作限定。The execution subject of the embodiment of the present invention may be a mobile terminal, or may be a device in the mobile terminal. Among them, mobile terminals may include mobile phones (or "cellular" phones) and computers with mobile terminals, such as portable, pocket, handheld, computer built-in or vehicle-mounted mobile devices, which are connected to wireless access network to exchange language and/or data. For example, Personal Communication Service (Personal Communication Service, PCS) telephone, cordless telephone, Session Initiation Protocol (Session Initiation Protocol, SIP) telephone, Wireless Local Loop (Wireless Local Loop, WLL) station, Personal Digital Assistant (Personal Digital Assistant, PDA ) and other equipment are not limited here.
图1示出了本发明实施例提供的移动终端的密码输入方法的实现流程图,详述如下:Fig. 1 shows the implementation flowchart of the password input method of the mobile terminal provided by the embodiment of the present invention, detailed description is as follows:
在步骤S101中,生成当前随机数字顺序,并按照所述当前随机数字顺序显示第一数字键盘,所述第一数字键盘包括0至9十个数字按键。In step S101, a current random number sequence is generated, and a first number keyboard is displayed according to the current random number sequence, and the first number keyboard includes ten number keys from 0 to 9.
图2示出了本发明实施例提供的第一数字键盘的示意图,参照图2:Fig. 2 shows a schematic diagram of the first numeric keypad provided by the embodiment of the present invention, referring to Fig. 2:
在本发明实施例中,当进入密码验证界面时,由随机函数生成一个包括0至9十个数字的、且0至9十个数字为乱序的当前随机数字顺序。例如,由随机函数生成的当前随机数字顺序为8731049652,则按照该当前随机数字顺序显示第一数字键盘,如图2所示。在如图2所示的第一数字键盘上,8731049652对应的位置依次为1234567890。In the embodiment of the present invention, when entering the password verification interface, a current random number sequence including ten numbers from 0 to 9 is generated by a random function, and the ten numbers from 0 to 9 are out of order. For example, if the current sequence of random numbers generated by the random function is 8731049652, the first numeric keypad is displayed according to the current sequence of random numbers, as shown in FIG. 2 . On the first numeric keypad shown in FIG. 2 , the position corresponding to 8731049652 is 1234567890 in turn.
在步骤S102中,接收用户在所述第一数字键盘上输入的第一密码,并根据所述第一密码中的每一位密码在所述第一数字键盘上的位置生成验证密码。In step S102, the first password input by the user on the first numeric keyboard is received, and a verification password is generated according to the position of each digit in the first password on the first numeric keyboard.
假设用户在如图2所示的第一数字键盘上输入的第一密码为314652,则根据第一密码中的每一位密码在第一数字键盘上的位置可知,第一密码中,3对应于位置3,1对应于位置4,4对应于位置6,6对应于位置8,5对应于位置9,2对应于位置0,则验证密码为346890。Assuming that the first password entered by the user on the first numeric keyboard shown in Figure 2 is 314652, then according to the position of each digit in the first password on the first numeric keyboard, in the first password, 3 corresponds to For position 3, 1 corresponds to position 4, 4 corresponds to position 6, 6 corresponds to position 8, 5 corresponds to position 9, and 2 corresponds to position 0, then the verification password is 346890.
在步骤S103中,判断所述验证密码是否与预先存储的原始密码相匹配,若是,则密码验证成功;若否,则密码验证失败。In step S103, it is judged whether the verification password matches the pre-stored original password, if yes, the password verification is successful; if not, the password verification fails.
若预先存储的原始密码也为346890,则密码验证成功;若预先存储的原始密码不为346890,则密码验证失败。If the pre-stored original password is also 346890, the password verification is successful; if the pre-stored original password is not 346890, the password verification fails.
图3示出了本发明另一实施例提供的移动终端的密码输入方法的实现流程图,为了便于说明,仅示出了与本实施例相关的部分。参照图3:FIG. 3 shows a flow chart of implementing a password input method for a mobile terminal provided by another embodiment of the present invention. For ease of description, only parts related to this embodiment are shown. Referring to Figure 3:
在步骤S301中,按照指定数字顺序显示第二数字键盘,所述第二数字键盘包括0至9十个数字按键;In step S301, a second numeric keypad is displayed in order of specified numbers, and the second numeric keypad includes ten numeric keys from 0 to 9;
在步骤S302中,接收用户在所述第二数字键盘上输入的第二密码,并根据所述第二密码中的每一位密码在所述第二数字键盘上的位置生成所述原始密码,并存储该原始密码。In step S302, receiving the second password input by the user on the second numeric keyboard, and generating the original password according to the position of each digit of the second password on the second numeric keyboard, and store that original password.
图4和5示出了本发明实施例提供的第二数字键盘的示意图。参照图4和5,作为本发明的一个实施例,在密码设置的过程中,指定数字顺序由用户所确定,例如,指定数字顺序可以为图4对应的3214569870,也可以为图6对应的1482593607,还可以为其他数字顺序,在此不作限定。也就是说,密码设置过程中的第二数字键盘可由用户的个人习惯或个人喜好所确定。4 and 5 show schematic diagrams of a second numeric keypad provided by an embodiment of the present invention. Referring to Figures 4 and 5, as an embodiment of the present invention, in the process of password setting, the specified number sequence is determined by the user, for example, the specified number sequence can be 3214569870 corresponding to Figure 4, or 1482593607 corresponding to Figure 6 , can also be in other numerical order, which is not limited here. That is to say, the second numeric keypad in the password setting process can be determined by the user's personal habits or personal preferences.
在图4的第二数字键盘中,若接收到的用户输入的第二密码为146870,则根据第二密码中的每一位密码在第二数字键盘上的位置生成的原始密码为346890。在图5的第二数字键盘中,若接收到的用户输入的第二密码为829607,则根据第二密码中的每一位密码在第二数字键盘上的位置生成的原始密码为346890。In the second numeric keypad of FIG. 4 , if the received second password input by the user is 146870, the original password generated according to the position of each digit in the second password on the second numeric keypad is 346890. In the second numeric keypad of FIG. 5 , if the received second password input by the user is 829607, the original password generated according to the position of each digit in the second password on the second numeric keypad is 346890.
在步骤S303中,生成当前随机数字顺序,并按照所述当前随机数字顺序显示第一数字键盘,所述第一数字键盘包括0至9十个数字按键;In step S303, a current random number sequence is generated, and a first numeric keypad is displayed according to the current random number sequence, and the first numeric keypad includes ten numeric keys from 0 to 9;
在步骤S304中,接收用户在所述第一数字键盘上输入的第一密码,并根据所述第一密码中的每一位密码在所述第一数字键盘上的位置生成验证密码;In step S304, receiving the first password input by the user on the first numeric keyboard, and generating a verification password according to the position of each password in the first password on the first numeric keyboard;
在步骤S305中,判断所述验证密码是否与预先存储的原始密码相匹配,若是,则密码验证成功;若否,则密码验证失败。In step S305, it is judged whether the verification password matches the pre-stored original password, if yes, the password verification is successful; if not, the password verification fails.
其中,步骤S303至步骤S305与步骤S101至步骤S103一一对应,在此不再赘述。Wherein, step S303 to step S305 correspond one-to-one to step S101 to step S103 , which will not be repeated here.
图6示出了本发明另一实施例提供的移动终端的密码输入方法的实现流程图,为了便于说明,仅示出了与本实施例相关的部分,参照图6:Fig. 6 shows the implementation flow chart of the password input method of the mobile terminal provided by another embodiment of the present invention. For the convenience of explanation, only the parts related to this embodiment are shown, referring to Fig. 6:
在步骤S601中,进入密码设置界面,显示原始数字键盘,所述原始数字键盘包括0至9十个数字按键,所述十个数字按键中的每个数字按键可拖动至其它数字按键所处的位置;In step S601, enter the password setting interface, and display the original numeric keypad, which includes ten numeric keys from 0 to 9, each of the ten numeric keys can be dragged to where other numeric keys are located s position;
在步骤S602中,根据用户输入的拖动数字按键的指令生成指定数字顺序。In step S602, a designated number sequence is generated according to an instruction input by the user to drag a number button.
图7示出了本发明实施例提供的原始数字键盘的示意图。参照图7:Fig. 7 shows a schematic diagram of the original numeric keypad provided by the embodiment of the present invention. Referring to Figure 7:
在本发明实施例中,原始数字键盘对应的数字顺序为1234567890,且原始数字键盘中的十个数字按键可拖动至其它数字按键所处的位置。用户可根据个人习惯或个人喜好输入拖动数字按键的指令,根据用户输入的拖动数字按键的指令,生成指定数字顺序,以在密码设置的过程中,根据指定数字顺序生成第二数字键盘,使用户通过第二数字键盘设置密码。通过根据用户输入的拖动数字按键的指令生成指定数字顺序再生成第二数字键盘,可使用户设置密码的过程也达到保护密码的效果,防止设置密码的过程被他人偷窥而造成密码泄露。In the embodiment of the present invention, the sequence of numbers corresponding to the original numeric keypad is 1234567890, and the ten numeric keys in the original numeric keypad can be dragged to positions where other numeric keys are located. The user can input the command of dragging the number keys according to personal habits or personal preferences, and generate the specified number sequence according to the command of dragging the number keys input by the user, so that in the process of password setting, the second number keyboard is generated according to the specified number sequence, Allow the user to set a password through the second numeric keypad. By generating the specified number sequence according to the instruction input by the user to drag the number keys and then generating the second number keyboard, the process of setting the password by the user can also achieve the effect of protecting the password, preventing the process of setting the password from being peeped by others and causing the password to leak.
在步骤S603中,按照指定数字顺序显示第二数字键盘,所述第二数字键盘包括0至9十个数字按键;In step S603, a second numeric keypad is displayed according to the specified numerical order, and the second numeric keypad includes ten numeric keys from 0 to 9;
在步骤S604中,接收用户在所述第二数字键盘上输入的第二密码,并根据所述第二密码中的每一位密码在所述第二数字键盘上的位置生成所述原始密码,并存储该原始密码;In step S604, receiving the second password input by the user on the second numeric keyboard, and generating the original password according to the position of each digit of the second password on the second numeric keyboard, and store that original password;
在步骤S605中,生成当前随机数字顺序,并按照所述当前随机数字顺序显示第一数字键盘,所述第一数字键盘包括0至9十个数字按键;In step S605, a current random number sequence is generated, and a first numeric keypad is displayed according to the current random number sequence, and the first numeric keypad includes ten numeric keys from 0 to 9;
在步骤S606中,接收用户在所述第一数字键盘上输入的第一密码,并根据所述第一密码中的每一位密码在所述第一数字键盘上的位置生成验证密码;In step S606, receiving the first password input by the user on the first numeric keyboard, and generating a verification password according to the position of each digit of the first password on the first numeric keyboard;
在步骤S607中,判断所述验证密码是否与预先存储的原始密码相匹配,若是,则密码验证成功;若否,则密码验证失败。In step S607, it is judged whether the verification password matches the pre-stored original password, if yes, the password verification is successful; if not, the password verification fails.
其中,步骤S603至步骤S607与步骤S301至步骤S305一一对应,在此不再赘述。Wherein, step S603 to step S607 correspond one-to-one to step S301 to step S305 , which will not be repeated here.
优选地,所述原始数字键盘、所述第一数字键盘和所述第二数字键盘还分别包括确认键和取消键,所述确认键和所述取消键在所述原始数字键盘、所述第一数字键盘和所述第二数字键盘上所处的位置均相同。Preferably, the original numeric keypad, the first numeric keypad and the second numeric keypad also include a confirmation key and a cancel key respectively, and the confirmation key and the cancel key are on the original numeric keypad, the second numeric keypad The positions of the first numeric keypad and the second numeric keypad are the same.
参照图2、4、5和7,作为本发明的一个优选的实施例,由于人们一般只对于数字键盘的位置具有较强的记忆,而确认键和取消键所处的位置容易被用户所混淆,因此,为了避免用户由于记错确认键和取消键的位置,而错误确认或取消所输入的密码,在本实施例中使原始数字键盘、第一数字键盘和第二数字键盘中的确认键和取消键所处的位置均相同。图2、4、5和7中,Y代表确认键,C代表取消键。Referring to Figures 2, 4, 5 and 7, as a preferred embodiment of the present invention, since people generally only have a strong memory for the position of the numeric keypad, the positions of the confirmation key and the cancel key are easily confused by the user , Therefore, in order to prevent the user from mistakenly confirming or canceling the input password due to misremembering the positions of the confirmation key and the cancel key, in this embodiment, the confirmation key in the original numeric keypad, the first numeric keypad, and the second numeric keypad The same position as the cancel key. Among Figures 2, 4, 5 and 7, Y represents the confirmation key, and C represents the cancel key.
优选地,所述当前随机数字顺序由随机函数生成,由所述随机函数生成的随机数字顺序中不包括所述指定数字顺序。Preferably, the current random number sequence is generated by a random function, and the specified number sequence is not included in the random number sequence generated by the random function.
为了提高密码保护的安全性,由随机函数生成的随机数字顺序中不包括指定数字顺序。To improve the security of password protection, the specified number sequence is not included in the random number sequence generated by the random function.
本发明实施例通过在密码输入时,生成当前随机数字顺序,按照当前随机数字顺序显示第一数字键盘,再接收用户在第一数字键盘上输入的第一密码,根据第一密码中的每一位密码在第一数字键盘上的位置生成验证密码,并判断验证密码是否与预先存储的原始密码相匹配,由此在每次密码输入时,输入的密码看起来都不一样,从而防止密码泄露。In the embodiment of the present invention, when the password is entered, the current random number sequence is generated, the first numeric keypad is displayed according to the current random number sequence, and the first password input by the user on the first numeric keypad is received. The digit password generates a verification password at the position on the first numeric keypad, and judges whether the verification password matches the pre-stored original password, so that each time the password is entered, the input password looks different, thereby preventing the password from leaking .
图8示出了本发明实施例提供的移动终端的密码输入装置的结构框图,该装置可以用于运行图1、3和6所述的移动终端的密码输入方法,为了便于说明,仅示出了与本实施例相关的部分。Fig. 8 shows a structural block diagram of a password input device for a mobile terminal provided by an embodiment of the present invention, which can be used to run the password input method for a mobile terminal described in Figs. 1, 3 and 6. For ease of description, only Sections related to this example are described.
参照图8,该移动终端的密码输入装置包括:Referring to Figure 8, the password input device of the mobile terminal includes:
第一数字键盘显示模块81,用于生成当前随机数字顺序,并按照所述当前随机数字顺序显示第一数字键盘,所述第一数字键盘包括0至9十个数字按键;The first numeric keypad display module 81 is used to generate the current random number sequence, and display the first numeric keypad according to the current random number sequence, and the first numeric keypad includes ten numeric keys from 0 to 9;
验证密码生成模块82,用于接收用户在所述第一数字键盘上输入的第一密码,并根据所述第一密码中的每一位密码在所述第一数字键盘上的位置生成验证密码;A verification password generating module 82, configured to receive the first password input by the user on the first numeric keypad, and generate a verification password according to the position of each digit of the first password on the first numeric keypad ;
密码验证模块83,用于判断所述验证密码是否与预先存储的原始密码相匹配,若是,则密码验证成功;若否,则密码验证失败。The password verification module 83 is used to judge whether the verification password matches the pre-stored original password, if yes, the password verification is successful; if not, the password verification fails.
进一步地,所述装置还包括:Further, the device also includes:
第二数字键盘显示模块84,用于按照指定数字顺序显示第二数字键盘,所述第二数字键盘包括0至9十个数字按键;The second numeric keypad display module 84 is used to display the second numeric keypad according to the specified numerical order, and the second numeric keypad includes ten numeric keys from 0 to 9;
原始密码生成模块85,用于接收用户在所述第二数字键盘上输入的第二密码,并根据所述第二密码中的每一位密码在所述第二数字键盘上的位置生成所述原始密码,并存储该原始密码。The original password generation module 85 is configured to receive the second password input by the user on the second numeric keyboard, and generate the password according to the position of each digit of the second password on the second numeric keyboard original password, and store that original password.
进一步地,所述装置还包括:Further, the device also includes:
原始数字键盘显示模块86,用于进入密码设置界面,显示原始数字键盘,所述原始数字键盘包括0至9十个数字按键,所述十个数字按键中的每个数字按键可拖动至其它数字按键所处的位置;The original numeric keypad display module 86 is used to enter the password setting interface and display the original numeric keypad. The original numeric keypad includes ten numeric keys from 0 to 9, and each numeric key in the ten numeric keys can be dragged to other The location of the number keys;
指定数字顺序生成模块87,用于根据用户输入的拖动数字按键的指令生成指定数字顺序。The specified number sequence generation module 87 is configured to generate the specified number sequence according to the instruction input by the user for dragging the number buttons.
优选地,所述原始数字键盘、所述第一数字键盘和所述第二数字键盘还分别包括确认键和取消键,所述确认键和所述取消键在所述原始数字键盘、所述第一数字键盘和所述第二数字键盘上所处的位置均相同。Preferably, the original numeric keypad, the first numeric keypad and the second numeric keypad also include a confirmation key and a cancel key respectively, and the confirmation key and the cancel key are on the original numeric keypad, the second numeric keypad The positions of the first numeric keypad and the second numeric keypad are the same.
优选地,所述当前随机数字顺序由随机函数生成,由所述随机函数生成的随机数字顺序中不包括所述指定数字顺序。Preferably, the current random number sequence is generated by a random function, and the specified number sequence is not included in the random number sequence generated by the random function.
本发明实施例通过在密码输入时,生成当前随机数字顺序,按照当前随机数字顺序显示第一数字键盘,再接收用户在第一数字键盘上输入的第一密码,根据第一密码中的每一位密码在第一数字键盘上的位置生成验证密码,并判断验证密码是否与预先存储的原始密码相匹配,由此在每次密码输入时,输入的密码看起来都不一样,从而防止密码泄露。In the embodiment of the present invention, when the password is entered, the current random number sequence is generated, the first numeric keypad is displayed according to the current random number sequence, and the first password input by the user on the first numeric keypad is received. The digit password generates a verification password at the position on the first numeric keypad, and judges whether the verification password matches the pre-stored original password, so that each time the password is entered, the input password looks different, thereby preventing the password from leaking .
以上所述仅为本发明的较佳实施例而已,并不用以限制本发明,凡在本发明的精神和原则之内所作的任何修改、等同替换和改进等,均应包含在本发明的保护范围之内。The above descriptions are only preferred embodiments of the present invention, and are not intended to limit the present invention. Any modifications, equivalent replacements and improvements made within the spirit and principles of the present invention should be included in the protection of the present invention. within range.
Claims (6)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201410384574.3A CN104090688B (en) | 2014-08-06 | 2014-08-06 | The cipher-code input method and device of a kind of mobile terminal |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201410384574.3A CN104090688B (en) | 2014-08-06 | 2014-08-06 | The cipher-code input method and device of a kind of mobile terminal |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN104090688A CN104090688A (en) | 2014-10-08 |
| CN104090688B true CN104090688B (en) | 2018-01-16 |
Family
ID=51638408
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201410384574.3A Expired - Fee Related CN104090688B (en) | 2014-08-06 | 2014-08-06 | The cipher-code input method and device of a kind of mobile terminal |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN104090688B (en) |
Families Citing this family (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN107590381A (en) * | 2017-09-29 | 2018-01-16 | 努比亚技术有限公司 | A kind of method of password authentication, terminal and computer-readable recording medium |
| CN107895105B (en) * | 2017-11-03 | 2020-06-09 | Oppo广东移动通信有限公司 | Password processing method, terminal equipment and computer readable storage medium |
| CN111082927B (en) * | 2019-11-07 | 2023-12-12 | 贵州警察学院 | Private key management method and device and terminal equipment |
| CN111064743B (en) * | 2019-12-28 | 2021-09-28 | 飞天诚信科技股份有限公司 | Method and system for safely inputting password |
| CN111679781B (en) * | 2020-06-05 | 2025-05-20 | 腾讯科技(深圳)有限公司 | Verification processing method, device, equipment and medium |
| CN113961904B (en) * | 2021-11-01 | 2024-12-24 | 中国电信股份有限公司 | Screen unlocking method, device, electronic device and readable medium |
Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101030238A (en) * | 2007-04-11 | 2007-09-05 | 北京飞天诚信科技有限公司 | Method for inputting intelligent key safety information |
| CN201035502Y (en) * | 2006-12-28 | 2008-03-12 | 上海麦柯信息技术有限公司 | Safety accidental dynamic soft keyboard |
| CN101340478A (en) * | 2008-05-27 | 2009-01-07 | 北京爱奥时代信息科技有限公司 | Key inputting method and system for push-button type mobile phone |
| CN101510331A (en) * | 2008-02-17 | 2009-08-19 | 马泉 | Intelligent keyboard input device of ATM teller machine |
| CN101986670A (en) * | 2009-07-29 | 2011-03-16 | 上海瀚银信息技术有限公司 | Method for protecting password input security at mobile phone by using password keyboard |
| CN103039063A (en) * | 2010-04-26 | 2013-04-10 | 株式会社Akcs | Password security input system using shift value of password key and password security input method thereof |
-
2014
- 2014-08-06 CN CN201410384574.3A patent/CN104090688B/en not_active Expired - Fee Related
Patent Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN201035502Y (en) * | 2006-12-28 | 2008-03-12 | 上海麦柯信息技术有限公司 | Safety accidental dynamic soft keyboard |
| CN101030238A (en) * | 2007-04-11 | 2007-09-05 | 北京飞天诚信科技有限公司 | Method for inputting intelligent key safety information |
| CN101510331A (en) * | 2008-02-17 | 2009-08-19 | 马泉 | Intelligent keyboard input device of ATM teller machine |
| CN101340478A (en) * | 2008-05-27 | 2009-01-07 | 北京爱奥时代信息科技有限公司 | Key inputting method and system for push-button type mobile phone |
| CN101986670A (en) * | 2009-07-29 | 2011-03-16 | 上海瀚银信息技术有限公司 | Method for protecting password input security at mobile phone by using password keyboard |
| CN103039063A (en) * | 2010-04-26 | 2013-04-10 | 株式会社Akcs | Password security input system using shift value of password key and password security input method thereof |
Also Published As
| Publication number | Publication date |
|---|---|
| CN104090688A (en) | 2014-10-08 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN104090688B (en) | The cipher-code input method and device of a kind of mobile terminal | |
| US11934505B2 (en) | Information content viewing method and terminal | |
| CN104361271B (en) | The unlocking screen method and device of mobile terminal | |
| CN109075820B (en) | Bluetooth pairing method, terminal device and readable storage medium | |
| US9582181B2 (en) | Method and apparatus for unlocking lock screen in electronic device | |
| WO2019205065A1 (en) | Method for quickly opening application or application function, and terminal | |
| WO2017185711A1 (en) | Method, apparatus and system for controlling smart device, and storage medium | |
| CN107070909A (en) | Information sending method, information receiving method, device and system | |
| CN104463036B (en) | Method, mobile terminal and the system of Password Input | |
| CN106453052A (en) | Message interaction method and apparatus thereof | |
| KR20140120196A (en) | Method and apparatus for transmitting message in an electronic device | |
| CN106127062A (en) | unlocking method and device | |
| CN106447325B (en) | NFC communication-based processing method and device and mobile terminal | |
| KR102178481B1 (en) | Method for connectivity information control and an electronic device thereof | |
| CN106326773A (en) | Method and device for photo encryption management as well as terminal | |
| CN107748991A (en) | Account safety management method and device | |
| CN105577375A (en) | Identity authentication method and device | |
| CN105205371A (en) | Locking method and locking device of mobile terminal | |
| CN106550361A (en) | A kind of data transmission method and equipment | |
| KR102009258B1 (en) | Fingerprint event processing method, device, and terminal | |
| WO2019024882A1 (en) | Method for automatically encrypting short message, storage device and mobile terminal | |
| WO2017000343A1 (en) | Fingerprint unlocking method and terminal | |
| CN106650416A (en) | Password setting and decrypting methods and terminal | |
| CN104683555B (en) | Message management method and device | |
| CN104573447A (en) | Method and device for controlling terminal equipment |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| C10 | Entry into substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant | ||
| CP03 | Change of name, title or address |
Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Patentee after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. Address before: Changan town in Guangdong province Dongguan 523841 usha Beach Road No. 18 Patentee before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. |
|
| CP03 | Change of name, title or address | ||
| CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20180116 |
|
| CF01 | Termination of patent right due to non-payment of annual fee |