WO2013034028A1 - 一种密码输入方法及设备 - Google Patents

一种密码输入方法及设备 Download PDF

Info

Publication number
WO2013034028A1
WO2013034028A1 PCT/CN2012/078576 CN2012078576W WO2013034028A1 WO 2013034028 A1 WO2013034028 A1 WO 2013034028A1 CN 2012078576 W CN2012078576 W CN 2012078576W WO 2013034028 A1 WO2013034028 A1 WO 2013034028A1
Authority
WO
WIPO (PCT)
Prior art keywords
input
character
password
characters
packet length
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.)
Ceased
Application number
PCT/CN2012/078576
Other languages
English (en)
French (fr)
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.)
Tencent Technology (Shenzhen) Co Ltd
Original Assignee
Tencent Technology (Shenzhen) 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 Tencent Technology (Shenzhen) Co Ltd filed Critical Tencent Technology (Shenzhen) Co Ltd
Priority to CA2836518A priority Critical patent/CA2836518C/en
Priority to EP12830258.5A priority patent/EP2701038B1/en
Priority to KR1020137031793A priority patent/KR101602029B1/ko
Priority to US14/117,590 priority patent/US20140146054A1/en
Publication of WO2013034028A1 publication Critical patent/WO2013034028A1/zh
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T11/00Two-dimensional [2D] image generation
    • G06T11/60Creating or editing images; Combining images with text
    • 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/31User authentication
    • 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
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/02Input arrangements using manually operated switches, e.g. using keyboards or dials
    • G06F3/023Arrangements for converting discrete items of information into a coded form, e.g. arrangements for interpreting keyboard generated codes as alphanumeric codes, operand codes or instruction codes
    • G06F3/0233Character input methods

Definitions

  • a password input method and device The application is based on a patent application whose application date is September 6, 2011, the application number is 201110261759.1, and the invention name is "a password input method and device”.
  • the present invention relates to the field of computer technology or electronics, and in particular, to a password input method and device. Background technique
  • the current status quo is that many websites or users often set passwords very long in order to ensure the security of passwords.
  • the passwords also include various special characters, which further increases the possibility of erroneous input, and the password input of such hidden input characters is
  • the design method does not allow the user to effectively know the characters that are input by mistake. In the event of a false input, the user needs to clear all the entered passwords and re-enter them, which wastes the user's time.
  • the password input experience itself is poor, and the password input is designed to reduce the ease of use of the product or system including the password input.
  • Another existing password input method is that after the user inputs a character, after waiting for a short time, for example, 0.5 seconds, the input character automatically becomes a hidden character asterisk or when the next character is input.
  • the previous character becomes an asterisk as shown in Figure 1.
  • the last character entered by the user is '8, which is displayed in the input box.
  • the character '8, the previous input characters are displayed as hidden characters '*,.
  • This method allows the user to specify a word currently entered. What is the character, if the user finds that the currently entered character is incorrectly entered, it can be corrected in time, but this method still has certain defects. The user may not see the short-displayed character in time, or the user enters more than two characters. It is not known which character is entered incorrectly. Therefore, this method of password input still causes the input password to be emptied and re-entered, which reduces the ease of use of the product or system including the password input. Summary of the invention
  • the embodiment of the present invention adopts the following technical solutions:
  • An embodiment of the present invention provides a password input method, including the following steps:
  • the input character before the current input character is displayed as a hidden character, specifically: displaying the non-hidden character refresh before the current input character as a hidden character.
  • the method further includes: when deleting the password character, obtaining an input sequence number of the last input character after the deletion, and determining whether the input sequence number is an integer multiple of the packet length, and if yes, the last number is the An input character of the packet length is restored to the plain text display.
  • the above method further includes: after the password character input is completed, if the password verification fails, all the entered password characters are displayed.
  • the above method further includes: the packet length is 3 or 4 or 5 characters.
  • the embodiment of the invention provides a password input device, including: An obtaining unit, configured to: when the password character is input, obtain an input serial number of the current input character; the determining unit is configured to determine whether the input serial number obtained by the acquiring unit is an integer multiple of the packet length, wherein the packet length is set to 2 Length of more than one character;
  • a display unit configured to display a current input character according to the result of the judgment unit, and display the current input character, and display the input character before the current input character as a hidden character; if the result is no, display the current input character, and keep other The display mode of the entered characters does not change.
  • the display unit is specifically configured to: when the input character before the current input character is displayed as a hidden character, refresh the non-hidden character before the current input character as a hidden character.
  • the above equipment also includes:
  • the deleting unit is configured to: when deleting the password character, obtain an input serial number of the last input character after the deletion, and determine whether the input serial number is an integer multiple of the packet length, and if yes, if yes, the last number The plaintext display is restored for a segment of the input length of the packet length.
  • the display unit is further configured to: after the password input is completed and the password is verified, if the result of the password insurance is not passed, all the input characters are displayed.
  • the above equipment also includes:
  • a setting unit configured to set a packet length, where the packet length is more than 2 characters.
  • the packet length is 3 or 4 or 5 characters.
  • the input serial number of the current input character is obtained; determining whether the input serial number is an integer multiple of the packet length plus one, if yes, displaying the current input character, and the current input character is The previous input characters are displayed as hidden characters.
  • the user can check whether there are characters that are incorrectly input. Compared with the prior art, all the empty characters due to incorrect characters are largely avoided.
  • the packet-based password display mode is implemented in the password input process, which improves the usability of the product or system including the password input and improves the user experience.
  • the packet length is set to 2 characters or more, the user has enough time and The information is used to determine where an input error has occurred, which is convenient for correction.
  • the password when the password is short, when the packet length is set to 3 characters, on the one hand, the user's password information can be protected, and on the other hand, the user can more appropriately modify the information and time of the input error, and achieve the most in both aspects. Good balance; when the password is long, the user can also appropriately modify the packet length (for example, 5 characters) according to the principles of the embodiments of the present invention to achieve an optimal balance.
  • the last character sequence number after the deletion is an integer multiple of the packet length
  • the last input character of the packet length is restored to the plaintext display, so that the user can gradually check the previous input error while avoiding Delete all existing input characters.
  • FIG. 1 is a schematic diagram of an implementation manner of a password input in the prior art
  • FIG. 2 is a schematic flowchart 1 of a password input method according to an embodiment of the present invention.
  • FIG. 3 is a second schematic flowchart of a password input method in an embodiment of the present invention.
  • FIG. 4 is a schematic diagram of an implementation manner of password input in an embodiment of the present invention.
  • FIG. 5 is a schematic structural diagram of a password input device according to an embodiment of the present invention. detailed description
  • Embodiments of the present invention provide a password input method and device, which are applied to a product or system including a password input.
  • the embodiments of the present invention are described in detail below with reference to the accompanying drawings.
  • the input serial number of the current input character is obtained; determining whether the input serial number is an integer multiple of the packet length plus one, if yes, displaying the current input character, and inputting before the current input character
  • the characters are displayed as hidden characters, wherein the packet length is a length of more than 2 characters set; if not, the current input character is displayed, and the display manner of other input characters is not changed.
  • FIG. 2 is a schematic flowchart of a password input method according to an embodiment of the present invention. As shown in FIG. 2, the process may include: Step 201, setting a packet length.
  • Step 202 When there is a password character input, obtain an input serial number of the current input character; determine whether the input serial number is an integer multiple of the packet length plus one, if yes, display the current input character, and input characters before the current input character Displayed as a hidden character; if no, the current input character is displayed, and the display mode of other entered characters is not changed.
  • setting a packet length when a password character is input, obtaining an input serial number of the currently input character; determining whether the input serial number is an integer multiple of the packet length plus one, and if yes, displaying the current input character, and The input characters before the current input characters are displayed as hidden characters.
  • the password input method of the embodiment of the present invention improves the usability of the product or system including the password input, and improves the user experience.
  • An embodiment of the present invention provides a password input method. As shown in FIG. 3, the method includes: Step 301: Set a packet length.
  • the packet length can be preset by the system based on empirical values.
  • the general password is 6-12 bits long, so you can set the packet length to 2, 3 or 4.
  • Step 302 When the password character is input, obtain the input serial number of the current input character, and determine whether the input sequence number is an integer multiple of the packet length plus one. If yes, go to step 303. If no, go to step 304.
  • the input serial number refers to the serial number of the currently input character in the entire input character sequence, that is, the order of the current input character in the entire input character sequence, for example, the input serial number of the "G” in the password "ABCDEFG” is 7, D is 4.
  • the 7th character is entered, then the current 7th character is deleted, and the next character is input, the input of the next character is entered.
  • the serial number is still 7, as in the above example, after deleting "G” in "ABCDEFG” and then inputting "H” to "ABCDEFH”, the serial number of "H” is still 7.
  • step 303 the current input character is directly displayed, and the input character before the current input character is displayed as a hidden character.
  • All input characters before the current input character may be refreshed as hidden characters; or several input characters before the current input character may be refreshed as hidden characters, the number of which is equal to the packet length. For example, when the group length is 3, when the 7th character is input, the previous 6 input characters can be refreshed as hidden characters; or the previous 4th to 6th input characters can be refreshed as hidden characters.
  • step 304 the current input character is directly displayed, and the display manner of other input characters is kept unchanged.
  • the embodiment of the present invention may further include:
  • the embodiment of the present invention may further include:
  • the input sequence number of the last input character after the deletion is obtained, and it is determined whether the input sequence number is an integer multiple of the packet length, and if so, the last number is an input character of the packet length. Resume the plain text display; if not, you can keep the display mode of other entered characters unchanged.
  • setting a packet length when a password character is input, obtaining an input serial number of the currently input character; determining whether the input serial number is an integer multiple of the packet length plus one, and if yes, displaying the current input character, and
  • the input characters before the current input character are displayed as Hidden characters; by displaying the input password characters in groups, so that the user can check whether there are characters that are mistakenly input, and largely avoid the situation of all emptying and re-input due to character mis-input, by the embodiment of the present invention.
  • the password input method improves the usability of the product or system including the password input and improves the user experience.
  • the packet length is set to 2 characters or more, the user has enough time and information to judge where an input error occurs, thereby facilitating correction.
  • the set packet length is 3, and when the user inputs the first three input characters '123, the input serial number of the input character is not an integer multiple of the packet length plus one, therefore, the direct display Enter the character '123,.
  • the input number is 4, which is an integer multiple of the packet length plus one. Therefore, the current input character "4" is displayed, before the current input character. The input character is displayed as a hidden character '*, then the password in the password box is displayed as '***4'.
  • the embodiment of the present invention further provides a password input device, which can be implemented by software.
  • a password input device includes: an obtaining unit 12, a determining unit 13 and a display unit 14; and further comprising: a setting unit 11 Medium,
  • the obtaining unit 12 is configured to: when the password character is input, the input sequence determining unit 13 for obtaining the current input character is used to determine whether the input serial number obtained by the obtaining unit 12 is an integer multiple of the packet length plus one;
  • the display unit 14 is configured to display, according to the result of the judgment unit 13, a current input character, and display the input character before the current input character as a hidden character; if the result is no, the current input character is displayed, and Keep the display of other entered characters unchanged.
  • the display unit 14 is specifically configured to: when the input character before the current input character is displayed as a hidden character, refresh the non-hidden character before the current input character as a hidden character.
  • the above devices also include:
  • the deleting unit 15 is configured to: when deleting the password character, obtain an input serial number of the last input character after the deletion, and determine whether the input serial number is an integer multiple of the packet length, and if yes, the last number is An input character of the length of the packet is restored to the plaintext display; if not, no processing is performed.
  • the display unit 14 is further configured to: after the password input is completed and the password is verified, if the result of the password verification is not passed, all the input characters are displayed.
  • the packet length is 2 or 3 or 4 or 5 or more characters.
  • the packet length is set; when the password character is input, the input serial number of the current input character is obtained; determining whether the input serial number is an integer multiple of the packet length plus one, if yes, displaying the current Enter characters, and display the input characters before the current input characters as hidden characters; by grouping the input password characters, Therefore, the user can check whether there is a mistaken input character, and largely avoids the situation of all emptying and re-input due to the character mis-input.
  • the password input device of the embodiment of the invention improves the product or system including the password input. The ease of use improves the user experience.
  • the packet length is set to be more than 2 characters, the user has enough time and information to judge where an input error occurs, thereby facilitating correction.
  • modules in the apparatus in the embodiments may be distributed in the apparatus of the embodiment according to the embodiment, or may be correspondingly changed in one or more apparatuses different from the embodiment.
  • the modules of the above embodiments may be combined into one module, or may be further split into a plurality of sub-modules.
  • the present invention can be implemented by means of software plus a necessary general hardware platform, and of course, can also be through hardware, but in many cases, the former is a better implementation. the way.
  • the technical solution of the present invention which is essential or contributes to the prior art, may be embodied in the form of a software product stored in a storage medium, including a plurality of instructions for making a
  • the terminal device (which may be a cell phone, a personal computer, a server, or a network device, etc.) performs the methods described in various embodiments of the present invention.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Human Computer Interaction (AREA)
  • Computer Hardware Design (AREA)
  • Software Systems (AREA)
  • User Interface Of Digital Computer (AREA)
  • Input From Keyboards Or The Like (AREA)
  • Document Processing Apparatus (AREA)
  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)

Abstract

本发明实施例公开了一种密码输入方法及设备,应用于包括密码输入的产品或系统,该方法包括:当有密码字符输入时,获取当前输入字符的输入序号;判断输入序号是否为所述分组长度的整数倍加一,如果是,显示当前输入字符,并将在当前输入字符之前的输入字符显示为隐藏字符;通过对输入的密码字符进行分组显示,从而使得用户可以查看是否有误输入的字符,相对于现有技术,很大程度上避免了由于字符误输入导致全部清空再重新输入的情况,实现在密码输入过程中实现基于分组的密码显示方式,提高了包括密码输入的产品或系统的易用性,提高了用户体验。

Description

一种密码输入方法及设备 本申请以申请日为 2011年 9月 6日、 申请号为 201110261759.1、 发明 名称为 "一种密码输入方法及设备" 的专利申请为优先权。 技术领域
本发明涉及计算机技术或电子领域, 尤其涉及一种密码输入方法及设 备。 背景技术
在密码输入时, 为了防止用户输入的密码被他人看到从而引起失窃, 一般系统设计为用户输入的字符在屏幕上直接显示为特殊字符 "*"。 但是 这种密码输入方式由于无法看到输入的字符, 如果用户在输入密码过程中 输错一两个字符, 用户无法明确判断所输错的字符, 为了更正字符只能是 全部清空后重新输入。
目前的现状是许多网站或用户为了保证密码的安全性往往把密码设置 得很长, 密码中还包括各种特殊字符, 更加增大了误输入的可能, 而这种 隐藏输入字符的密码输入的设计方式无法让用户有效获知误输入的字符, 一旦出现误输入, 则需要用户将输入的密码全部清空再重新输入, 会浪费 用户的时间。 另外对于移动终端, 密码输入体验本身就较差, 这种密码输 入的设计方式更是降低了包括密码输入的产品或系统的易用性。
为了克服上述问题, 现有的另一种密码输入方式是, 用户输入一个字 符后, 等待短暂的时间之后, 例如 0.5秒之后, 所输入字符自动变成隐藏字 符星号 或者当输入下一个字符时, 上一个字符变成星号 如图 1 所示, 用户最后输入的字符 '8, 显示在输入框中, 字符 '8, 之前的输入 字符皆显示为隐藏字符 '*,。 这种方法可以让用户明确当前输入的一个字 符是什么, 如果用户发现当前输入的字符是误输入的话可以及时改正, 但 是这种方法仍然存在一定缺陷, 用户可能未及时看到短暂显示的字符, 或 用户输错两个以上字符时, 仍无法获知具体是哪个字符输入错误。 因此, 这种密码输入方法还是会导致将输入的密码全部清空再重新输入的情况发 生, 降低了包括密码输入的产品或系统的易用性。 发明内容
本发明实施例的目的在于提供一种密码输入方法及设备, 用于实现在 密码输入过程中实现基于分组的密码显示方式, 为此, 本发明实施例采用 如下技术方案:
本发明实施例提供一种密码输入方法, 包括以下步驟:
当有密码字符输入时, 获取当前输入字符的输入序号;
判断输入序号是否为所述分组长度的整数倍加一, 如果是, 显示当前 输入字符, 并将在当前输入字符之前的输入字符显示为隐藏字符, 其中所 述分组长度为设置的 2 个字符以上的长度;
如果否, 显示当前输入字符, 并保持其他已输入字符的显示方式不改 变。
上述方法中, 所述将在当前输入字符之前的输入字符显示为隐藏字符, 具体为: 将当前输入字符之前的非隐藏字符刷新显示为隐藏字符。
上述方法还包括: 当删除密码字符的时候, 获取删除之后最末位一个 已输入字符的输入序号, 并判断所述输入序号是否为分组长度的整数倍, 如果是, 将最后个数为所述分组长度的一段输入字符恢复明文显示。
上述方法还包括: 密码字符输入完成之后, 如果密码验证未通过, 则 显示输入的所有密码字符。
上述方法还包括: 所述分组长度为 3或 4或 5个字符。
本发明实施例提供一种密码输入设备, 包括: 获取单元, 用于当有密码字符输入时, 获取当前输入字符的输入序号; 判断单元, 用于判断获取单元获取的输入序号是否为分组长度的整数 倍加一, 其中所述分组长度为设置的 2个字符以上的长度;
显示单元, 用于根据判断单元判断的结果, 如果结果为是, 显示当前 输入字符, 并将在当前输入字符之前的输入字符显示为隐藏字符; 如果结 果为否, 显示当前输入字符, 并保持其他已输入字符的显示方式不改变。
所述显示单元具体用于, 在所述将在当前输入字符之前的输入字符显 示为隐藏字符时, 将当前输入字符之前的非隐藏字符刷新显示为隐藏字符。
上述设备还包括:
删除单元, 用于当删除密码字符的时候, 获取删除之后最末位一个已 输入字符的输入序号, 并判断所述输入序号是否为分组长度的整数倍, 如 果是, 如果是, 将最后个数为所述分组长度的一段输入字符恢复明文显示。
所述显示单元还用于, 在密码输入完成并进行密码的验证之后, 如果 密码险证的结果为不通过, 显示所有的输入字符。
上述设备还包括:
设置单元, 用于设置分组长度, 所述分组长度为 2个字符以上。
上述方案中, 所述分组长度为 3或 4或 5个字符。
在本发明实施例中, 当有密码字符输入时, 获取当前输入字符的输入 序号; 判断输入序号是否为所述分组长度的整数倍加一, 如果是, 显示当 前输入字符, 并将在当前输入字符之前的输入字符显示为隐藏字符; 通过 对输入的密码字符进行分组显示, 从而使得用户可以查看是否有误输入的 字符, 相对于现有技术, 很大程度上避免了由于字符误输入导致全部清空 再重新输入的情况, 实现在密码输入过程中实现基于分组的密码显示方式, 提高了包括密码输入的产品或系统的易用性, 提高了用户体验。
另外, 由于分组长度设置为 2个字符以上, 因此用户有足够的时间和 信息去判断哪里出现输入错误, 从而方便进行改正。 另外, 密码较短时, 当分组长度设置为 3个字符时, 一方面能够保护用户的密码信息, 另一方 面, 能够给用户更足够的修改输入错误的信息和时间, 在这两方面达到最 佳平衡; 密码较长时, 用户也可以根据本发明实施例原则适当地修改分组 长度(例如为 5个字符)来达到最佳平衡。
此外, 当删除之后最末位的字符序号为分组长度的整数倍时, 将最后 个数为所述分组长度的一段输入字符恢复明文显示, 如此可以方便用户逐 步检查之前的输入错误, 同时又避免删除所有的已有输入字符。 附图说明
图 1为现有技术中的密码输入的实现方式示意图;
图 2为本发明实施例中的密码输入方法的流程示意图一;
图 3为本发明实施例中的密码输入方法的流程示意图二;
图 4为本发明实施例中的密码输入的实现方式示意图;
图 5为本发明实施例中的密码输入设备的结构示意图。 具体实施方式
本发明实施例提供了一种密码输入方法及设备, 应用于包括密码输入 的产品或系统。 下面结合附图对本发明实施例进行详细描述。
本发明实施例中, 当有密码字符输入时, 获取当前输入字符的输入序 号; 判断输入序号是否为分组长度的整数倍加一, 如果是, 显示当前输入 字符, 并将在当前输入字符之前的输入字符显示为隐藏字符, 其中所述分 组长度为设置的 2个字符以上的长度; 如果否, 显示当前输入字符, 并保 持其他已输入字符的显示方式不改变。
参见图 2, 为本发明实施例提供的密码输入方法流程示意图, 如图 2所 示, 该流程可包括: 步驟 201 , 设置分组长度;
步驟 202, 当有密码字符输入时, 获取当前输入字符的输入序号; 判断 输入序号是否为所述分组长度的整数倍加一, 如果是, 显示当前输入字符, 并将在当前输入字符之前的输入字符显示为隐藏字符; 如果否, 显示当前 输入字符, 并保持其他已输入字符的显示方式不改变。
在本发明实施例中, 设置分组长度; 当有密码字符输入时, 获取当前 输入字符的输入序号; 判断输入序号是否为所述分组长度的整数倍加一, 如果是, 显示当前输入字符, 并将在当前输入字符之前的输入字符显示为 隐藏字符; 通过对输入的密码字符进行分组显示, 从而使得用户可以查看 是否有误输入的字符, 很大程度上避免了由于字符误输入导致全部清空再 重新输入的情况, 通过本发明实施例的密码输入方法, 提高了包括密码输 入的产品或系统的易用性, 提高了用户体验。
为更加清楚的描述本发明实施例, 下面结合一具体实例进行描述。 本发明实施例提供一种密码输入方法, 如图 3所示, 该方法包括: 步驟 301 , 设定分组长度;
分组长度可以根据经验值由系统预先设定。一般密码的长度为 6-12位, 因此可以设定分组长度为 2、 3或者 4。 对于某些特殊的系统, 例如密码长 度为 20的系统, 可以设定分组长度为 5或更多个字符。
步驟 302, 当输入密码字符的时候, 获取当前输入字符的输入序号, 并 判断输入序号是否为分组长度的整数倍加一, 如果是, 执行步驟 303 , 如果 否, 执行步驟 304。
所述输入序号指当前输入的字符在整个已输入的字符序列中的序号, 也即当前输入字符在整个已输入的字符序列中的次序, 比如密码 "ABCDEFG" 中 "G" 的输入序号就为 7, D为 4。 另外, 当输入第 7个字 符, 然后删除当前第 7个字符, 再输入下一个字符时, 下一个字符的输入 序号依然为 7, 如上例, 删除 "ABCDEFG" 中的 "G" 后再输入 "H" 变为 "ABCDEFH" , 则 "H" 的序号仍为 7。
步驟 303, 直接显示当前输入字符, 将在当前输入字符之前的输入字符 显示为隐藏字符。
除了显示当前输入字符, 需要将之前直接显示为字符的输入字符刷新 为隐藏字符。 具体的刷新方式可以有多种:
可以将当前输入字符之前的所有输入字符刷新显示为隐藏字符; 或将 当前输入字符之前的若干个输入字符刷新显示为隐藏字符, 所述若干个的 数目等于分组长度。 例如, 分组长度为 3时, 当输入第 7个字符时, 可以 将之前的 6个输入字符刷新显示为隐藏字符; 或者将之前的第 4个至第 6 个输入字符刷新显示为隐藏字符。
步驟 304, 直接显示当前输入字符,保持其他输入字符的显示方式不改 变。
优选的, 本发明实施例还可包括:
在密码输入完成之后, 如果密码验证的结果为不通过, 则显示所有的 输入字符, 即, 将输入的所有密码字符恢复明文显示。 通过在密码验证错 误之后显示所有的输入字符, 可以方便用户进行错误输入字符的改正。
优选的, 本发明实施例还可包括:
当删除密码字符的时候, 获取删除之后最末位一个已输入字符的输入 序号, 并判断该输入序号是否为分组长度的整数倍, 如果是, 将最后个数 为所述分组长度的一段输入字符恢复明文显示; 如果不是, 则可以保持其 他已输入字符的显示方式不改变。
在本发明实施例中, 设置分组长度; 当有密码字符输入时, 获取当前 输入字符的输入序号; 判断输入序号是否为所述分组长度的整数倍加一, 如果是, 显示当前输入字符, 并将在当前输入字符之前的输入字符显示为 隐藏字符; 通过对输入的密码字符进行分组显示, 从而使得用户可以查看 是否有误输入的字符, 很大程度上避免了由于字符误输入导致全部清空再 重新输入的情况, 通过本发明实施例的密码输入方法, 提高了包括密码输 入的产品或系统的易用性, 提高了用户体验。 另外, 由于分组长度设置为 2 个字符以上, 因此用户有足够的时间和信息去判断哪里出现输入错误, 从 而方便进行改正。
为了更加清楚的描述本发明实施例, 下面通过一具体的例子进行描述。 如图 4中的 (a )所示, 设定分组长度为 3 , 当用户输入前 3个输入字 符 '123, 的时候, 输入字符的输入序号都不是分组长度的整数倍加一, 因 此, 直接显示输入字符 '123,。 如图 4中的 (b )所示, 当输入第 4个字符 时, 此时输入序号为 4, 是分组长度的整数倍加一, 因此, 显示当前的输入 字符 "4" , 在当前输入字符之前的输入字符显示为隐藏字符 '*,, 则此时 密码框中的密码显示为 '***4'。 如图 4 中的 (c )所示, 当继续输入第 5 个字符的时候, 此时输入序号都不是分组长度的整数倍加一, 因此直接显 示当前输入字符, 其他输入字符的显示方式不改变, 继续输入第 6个字符 的时候, 6依然不是分组长度的整数倍加一, 因此直接显示当前输入字符 '6,, 其他输入字符的显示方式不改变, 此时密码显示为 '***456'。 接下 来, 当用户输入第 7个字符 "7" 时, 由于当前输入字符的输入序号是分组 长度的整数倍加一, 因此将当前输入字符之前的 3个字符 "456" 显示为隐 藏字符, 此时密码显示为 '******7,。 如果用户继续输入密码, 依据同样 的方式进行处理。
基于与方法实施例相同的技术构思, 本发明实施例还提供了一种密码 输入设备, 该密码输入设备可通过软件实现。
如图 5 所示, 为本发明实施例提供的一种密码输入设备, 包括: 获取 单元 12、 判断单元 13和显示单元 14; 进一步可以包括: 设置单元 11 , 其 中,
设置单元 11 , 用于设置分组长度;
获取单元 12, 用于当有密码字符输入时, 获取当前输入字符的输入序 判断单元 13,用于判断获取单元 12获取的输入序号是否为分组长度的 整数倍加一;
显示单元 14, 用于根据判断单元 13判断的结果, 如果结果为是, 显示 当前输入字符, 并将在当前输入字符之前的输入字符显示为隐藏字符; 如 果结果为否, 显示当前输入字符, 并保持其他已输入字符的显示方式不改 变。
上述设备中, 所述显示单元 14具体用于, 在所述将在当前输入字符之 前的输入字符显示为隐藏字符时, 将当前输入字符之前的非隐藏字符刷新 显示为隐藏字符。
上述设备中, 还包括:
删除单元 15 , 用于当删除密码字符的时候, 获取删除之后最末位一个 已输入字符的输入序号, 并判断所述输入序号是否为分组长度的整数倍, 如果是, 将最后个数为所述分组长度的一段输入字符恢复明文显示; 如果 不是, 不进行处理。
上述设备中, 所述显示单元 14还用于, 在密码输入完成并进行密码的 验证之后, 如果密码验证的结果为不通过, 显示所有的输入字符。
上述设备中, 所述分组长度为 2或 3或 4或 5或更多个字符。
在本发明实施例提供的密码输入设备中, 设置分组长度; 当有密码字 符输入时, 获取当前输入字符的输入序号; 判断输入序号是否为所述分组 长度的整数倍加一, 如果是, 显示当前输入字符, 并将在当前输入字符之 前的输入字符显示为隐藏字符; 通过对输入的密码字符进行分组显示, 从 而使得用户可以查看是否有误输入的字符, 很大程度上避免了由于字符误 输入导致全部清空再重新输入的情况, 通过本发明实施例的密码输入设备, 提高了包括密码输入的产品或系统的易用性, 提高了用户体验。 另外, 由 于分组长度设置为 2个字符以上, 因此用户有足够的时间和信息去判断哪 里出现输入错误, 从而方便进行改正。
本领域技术人员可以理解实施例中的装置中的模块可以按照实施例描 述进行分布于实施例的装置中, 也可以进行相应变化位于不同于本实施例 的一个或多个装置中。 上述实施例的模块可以合并为一个模块, 也可以进 一步拆分成多个子模块。
通过以上的实施方式的描述, 本领域的技术人员可以清楚地了解到本 发明可借助软件加必需的通用硬件平台的方式来实现, 当然也可以通过硬 件, 但很多情况下前者是更佳的实施方式。 基于这样的理解, 本发明的技 术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体 现出来, 该计算机软件产品存储在一个存储介质中, 包括若干指令用以使 得一台终端设备(可以是手机, 个人计算机, 服务器, 或者网络设备等) 执行本发明各个实施例所述的方法。
以上所述仅是本发明的优选实施方式, 应当指出, 对于本技术领域的 普通技术人员来说, 在不脱离本发明原理的前提下, 还可以做出若干改进 和润饰, 这些改进和润饰也应视本发明的保护范围。

Claims

权利要求书
1、 一种密码输入方法, 其特征在于, 包括以下步驟:
当有密码字符输入时, 获取当前输入字符的输入序号;
判断输入序号是否为分组长度的整数倍加一, 如果是, 显示当前输入 字符, 并将在当前输入字符之前的输入字符显示为隐藏字符, 其中所述分 组长度为设置的 2个字符以上的长度;
如果否, 显示当前输入字符, 并保持其他已输入字符的显示方式不改 变。
2、 如权利要求 1所述的方法, 其特征在于, 所述将在当前输入字符之 前的输入字符显示为隐藏字符, 具体为:
将当前输入字符之前的非隐藏字符刷新显示为隐藏字符。
3、 如权利要求 1所述的方法, 其特征在于, 还包括:
当删除密码字符的时候, 获取删除之后最末位一个已输入字符的输入 序号, 并判断所述输入序号是否为分组长度的整数倍, 如果是, 将最后个 数为所述分组长度的一段输入字符恢复明文显示。
4、 如权利要求 1所述的方法, 其特征在于, 还包括:
密码字符输入完成之后, 如果密码验证未通过, 则显示输入的所有密 码字符。
5、 如权利要求 1至 4任一所述的方法, 其特征在于, 所述分组长度为 3或 4或 5个字符。
6、 一种密码输入设备, 其特征在于, 包括:
获取单元, 用于当有密码字符输入时, 获取当前输入字符的输入序号; 判断单元, 用于判断获取单元获取的输入序号是否为分组长度的整数 倍加一, 其中所述分组长度为设置的 2个字符以上的长度;
显示单元, 用于根据判断单元判断的结果, 如果结果为是, 显示当前 输入字符, 并将在当前输入字符之前的输入字符显示为隐藏字符; 如果结 果为否, 显示当前输入字符, 并保持其他已输入字符的显示方式不改变。
7、 如权利要求 6所述的设备, 其特征在于, 所述显示单元具体用于, 在所述将在当前输入字符之前的输入字符显示为隐藏字符时, 将当前输入 字符之前的非隐藏字符刷新显示为隐藏字符。
8、 如权利要求 6所述的设备, 其特征在于, 还包括:
删除单元, 用于当删除密码字符的时候, 获取删除之后最末位一个已 输入字符的输入序号, 并判断所述输入序号是否为分组长度的整数倍, 如 果是, 将最后个数为所述分组长度的一段输入字符恢复明文显示。
9、 如权利要求 6所述的设备, 其特征在于, 所述显示单元还用于, 在 密码输入完成并进行密码的验证之后, 如果密码验证的结果为不通过, 显 示所有的输入字符。
10、 如权利要求 6至 9任一所述的设备, 其特征在于, 所述分组长度 为 3或 4或 5个字符。
11、 如权利要求 6至 9任一所述的设备, 其特征在于, 还包括: 设置 单元,
用于设置分组长度, 所述分组长度为 2个字符以上。
PCT/CN2012/078576 2011-09-06 2012-07-12 一种密码输入方法及设备 Ceased WO2013034028A1 (zh)

Priority Applications (4)

Application Number Priority Date Filing Date Title
CA2836518A CA2836518C (en) 2011-09-06 2012-07-12 Password input method and device
EP12830258.5A EP2701038B1 (en) 2011-09-06 2012-07-12 Password input method and device
KR1020137031793A KR101602029B1 (ko) 2011-09-06 2012-07-12 패스워드 입력 방법 및 장치
US14/117,590 US20140146054A1 (en) 2011-09-06 2012-07-12 Password input method and device

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201110261759.1 2011-09-06
CN201110261759.1A CN102981627B (zh) 2011-09-06 2011-09-06 一种密码输入方法及设备

Publications (1)

Publication Number Publication Date
WO2013034028A1 true WO2013034028A1 (zh) 2013-03-14

Family

ID=47831506

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2012/078576 Ceased WO2013034028A1 (zh) 2011-09-06 2012-07-12 一种密码输入方法及设备

Country Status (6)

Country Link
US (1) US20140146054A1 (zh)
EP (1) EP2701038B1 (zh)
KR (1) KR101602029B1 (zh)
CN (1) CN102981627B (zh)
CA (1) CA2836518C (zh)
WO (1) WO2013034028A1 (zh)

Families Citing this family (20)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9588595B2 (en) * 2011-09-12 2017-03-07 Microsoft Technology Licensing, Llc Password reveal selector
CN104156678B (zh) * 2013-05-13 2017-08-25 联想(北京)有限公司 一种输入字符保护方法、系统及电子设备
US10057250B2 (en) * 2013-05-14 2018-08-21 Kara Partners Llc Technologies for enhancing computer security
US10594687B2 (en) 2013-05-14 2020-03-17 Kara Partners Llc Technologies for enhancing computer security
US12375477B2 (en) 2013-05-14 2025-07-29 Kara Partners Llc Systems and methods for variable-length encoding and decoding for enhancing computer systems
US12028333B2 (en) 2013-05-14 2024-07-02 Kara Partners Llc Systems and methods for variable-length encoding and decoding for enhancing computer systems
CN103455740B (zh) * 2013-08-30 2016-06-29 深圳创维数字技术有限公司 一种密码处理方法、装置及终端
JP5960114B2 (ja) * 2013-11-29 2016-08-02 京セラドキュメントソリューションズ株式会社 認証装置
CN103777864A (zh) * 2014-01-17 2014-05-07 广东金宇恒科技有限公司 一种密码登录组件
CN105224858A (zh) * 2014-06-05 2016-01-06 阿里巴巴集团控股有限公司 一种密码输入界面显示方法及系统
WO2016032050A1 (ko) * 2014-08-26 2016-03-03 주식회사 드림켓 사용자 패스워드 설정 및 입력을 위한 장치 및 방법
CN105678123B (zh) * 2014-11-18 2019-03-08 联发科技(新加坡)私人有限公司 一种设备解锁方法及装置
WO2016123758A1 (zh) * 2015-02-04 2016-08-11 华为技术有限公司 一种在通话界面上隐藏个人信息的方法和设备
CN106295266A (zh) * 2015-05-28 2017-01-04 阿里巴巴集团控股有限公司 信息输入方法和装置
CN105653054B (zh) * 2015-05-28 2018-11-06 宇龙计算机通信科技(深圳)有限公司 一种密码处理方法及装置
JP6497366B2 (ja) * 2016-08-19 2019-04-10 京セラドキュメントソリューションズ株式会社 認証装置
JP6794849B2 (ja) * 2017-01-30 2020-12-02 セイコーエプソン株式会社 認証装置および認証用プログラム
US10445519B2 (en) * 2017-08-29 2019-10-15 Blackberry Limited System and method for data input resistant to capture
JP7073755B2 (ja) * 2018-02-01 2022-05-24 京セラドキュメントソリューションズ株式会社 パスワード認証装置
CN113138675B (zh) * 2021-03-23 2023-07-04 维沃移动通信有限公司 信息显示方法、装置和电子设备

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020070964A1 (en) * 2000-12-13 2002-06-13 International Business Machines Corporation, Armonk, New York 10504 User interface for displaying protected information
US20020122591A1 (en) * 2000-08-23 2002-09-05 Ryan Miller Verification system for confidential data input
CN101305336A (zh) * 2005-11-14 2008-11-12 Oz通信公司 输入区的上下文敏感隐藏

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001166843A (ja) * 1999-12-07 2001-06-22 Ntt Docomo Inc パスワード入力方法、パスワード入力装置および携帯端末
JP2005216214A (ja) * 2004-02-02 2005-08-11 Konica Minolta Business Technologies Inc 文字入力・表示装置
JP2005250530A (ja) * 2004-03-01 2005-09-15 Citizen Watch Co Ltd 文字入力装置
US7788498B2 (en) * 2005-07-22 2010-08-31 Microsoft Corporation Triple-tap password entry

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020122591A1 (en) * 2000-08-23 2002-09-05 Ryan Miller Verification system for confidential data input
US20020070964A1 (en) * 2000-12-13 2002-06-13 International Business Machines Corporation, Armonk, New York 10504 User interface for displaying protected information
CN101305336A (zh) * 2005-11-14 2008-11-12 Oz通信公司 输入区的上下文敏感隐藏

Also Published As

Publication number Publication date
KR20140007470A (ko) 2014-01-17
CN102981627B (zh) 2015-04-08
CA2836518C (en) 2016-08-16
CN102981627A (zh) 2013-03-20
US20140146054A1 (en) 2014-05-29
EP2701038B1 (en) 2018-09-05
CA2836518A1 (en) 2013-03-14
EP2701038A4 (en) 2015-04-29
EP2701038A1 (en) 2014-02-26
HK1181490A1 (zh) 2013-11-08
KR101602029B1 (ko) 2016-03-09

Similar Documents

Publication Publication Date Title
CN102981627B (zh) 一种密码输入方法及设备
CN102123148B (zh) 基于动态口令的认证方法、系统和装置
CN103745160B (zh) 智能移动终端上超级用户密码管理方法和装置
CN103390123B (zh) 用户认证方法、用户认证装置及智能终端
CN103971048B (zh) 一种输入密码的方法及其密码输入系统
CN111783055A (zh) 账户信息管理方法、装置及电子设备
CN104184653B (zh) 一种消息过滤的方法和装置
CN104598836A (zh) 在移动终端上对通信内容进行管理的方法和装置及移动终端
CN103795716A (zh) 登录网络账户的方法、登录网络账户的装置及终端
CN111818469A (zh) 呼叫方法、呼叫装置、电子设备和网络设备
CN102945336A (zh) 一种智能通讯终端的密码输入方法
CN105306209B (zh) 密码设置方法、登录方法及设备
CN105227749B (zh) 屏幕解锁方法及系统
CN104615267B (zh) 密码输入管理方法、系统及电子装置
CN115604001A (zh) 信息提示方法、装置和电子设备
CN107623664A (zh) 一种密码输入方法及装置
CN106909812A (zh) 终端解锁处理方法及终端
CN114301657A (zh) 一种账号登录的检测方法、装置、以及介质
CN118862046A (zh) 密码验证方法、装置、电子设备及可读存储介质
CN107635200A (zh) 一种短消息的处理方法、装置及移动终端
CN106713222A (zh) 一种无线局域网络的接入认证方法、服务器和认证系统
CN105389022A (zh) 一种删除已上屏内容的处理方法及装置
WO2022199615A1 (zh) 信息显示方法、装置和电子设备
CN104378360A (zh) 账号安全提示方法、装置和系统
CN108875350A (zh) 一种移动终端的解锁方法及系统

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 12830258

Country of ref document: EP

Kind code of ref document: A1

WWE Wipo information: entry into national phase

Ref document number: 14117590

Country of ref document: US

ENP Entry into the national phase

Ref document number: 2836518

Country of ref document: CA

ENP Entry into the national phase

Ref document number: 20137031793

Country of ref document: KR

Kind code of ref document: A

NENP Non-entry into the national phase

Ref country code: DE