WO2018006542A1 - 一种终端解锁方法及终端 - Google Patents

一种终端解锁方法及终端 Download PDF

Info

Publication number
WO2018006542A1
WO2018006542A1 PCT/CN2016/108029 CN2016108029W WO2018006542A1 WO 2018006542 A1 WO2018006542 A1 WO 2018006542A1 CN 2016108029 W CN2016108029 W CN 2016108029W WO 2018006542 A1 WO2018006542 A1 WO 2018006542A1
Authority
WO
WIPO (PCT)
Prior art keywords
password
user
terminal
display area
pressure value
Prior art date
Application number
PCT/CN2016/108029
Other languages
English (en)
French (fr)
Inventor
赵占雄
袁宁
Original Assignee
中兴通讯股份有限公司
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 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2018006542A1 publication Critical patent/WO2018006542A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR 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

Definitions

  • the embodiments of the present invention relate to a privacy protection technology in the communication field, and in particular, to a terminal unlocking method and a terminal.
  • many mobile terminals adopt a method of setting a password for security protection, and a commonly used password can draw a password for a digital password and a pattern.
  • the password is first input.
  • the password entered by the user matches the password stored in advance, the user interface of the mobile terminal is unlocked, otherwise the mobile terminal cannot be used normally.
  • the entered password is easily seen by surrounding people, for example, in a home or workplace, if seen by a child or a colleague, it is easy for the mobile terminal to appear without the user's permission.
  • the disclosure of personal information causes a threat to the user's life and property, and the user experience is not good.
  • the embodiment of the present invention provides a terminal unlocking method and a terminal, which can avoid leakage of personal information caused by leakage of observable passwords and improve user experience.
  • an embodiment of the present invention provides a method for unlocking a terminal, including:
  • the first password group includes N passwords, and the N is an integer greater than or equal to 1;
  • the terminal is unlocked according to the pressure values of the N passwords and the at least one password.
  • the obtaining, by the user, the pressure value of the at least one password of the N passwords includes:
  • the unlocking the terminal according to the pressure values of the N passwords and the at least one password includes:
  • the terminal is unlocked.
  • the method further includes:
  • the user is prompted to input a second password group, and the second password group includes K passwords, K is an integer greater than the N, the K passwords including at least one number and at least one pinyin;
  • the terminal is unlocked.
  • the method before the receiving the password group input by the user, the method further includes:
  • the pressure tolerance range of each display area is obtained based on the pressure value when the user clicks on each display area.
  • the obtaining a pressure tolerance range of each display area according to a pressure value when the user clicks on each display area includes:
  • an embodiment of the present invention provides a terminal, including:
  • a receiving unit configured to receive a first password group input by a user, the first password group includes N passwords, and the N is an integer greater than or equal to 1;
  • a first obtaining unit configured to acquire a pressure value that the user inputs at least one of the N passwords
  • an unlocking unit configured to unlock the terminal according to the pressure values of the N passwords and the at least one password.
  • the first acquiring unit is specifically configured to:
  • the unlocking unit is specifically configured to:
  • the terminal is unlocked.
  • the unlocking unit is further configured to:
  • the user is prompted to input a second password group, and the second password group includes K passwords, K is an integer greater than the N, the K passwords including at least one number and at least one pinyin;
  • the terminal is unlocked.
  • the terminal further includes:
  • a dividing unit configured to divide the display screen of the terminal into at least one display area
  • the second obtaining unit is configured to acquire a pressure tolerance range of each display area according to a pressure value when the user clicks on each display area.
  • the second acquiring unit is specifically configured to:
  • a computer storage medium is further provided, and the computer storage medium may store an execution instruction, where the execution instruction is used to execute the terminal unlocking method in the foregoing embodiment.
  • the embodiment of the present invention provides a terminal unlocking method and a terminal.
  • the terminal unlocking method includes: receiving a first cipher group input by a user, where the first cipher group includes N passwords, and the N is greater than or equal to 1. An integer value; obtaining a pressure value at which the user inputs at least one of the N passwords; and unlocking the terminal according to the pressure values of the N passwords and the at least one password.
  • the pressure value of the habit matching is used, so the terminal cannot be unlocked, the security of the terminal is improved, the leakage of the user's personal information is avoided, and the user experience is improved.
  • FIG. 1 is a schematic flowchart 1 of a method for unlocking a terminal according to an embodiment of the present invention
  • FIG. 2 is a schematic flowchart 2 of a method for unlocking a terminal according to an embodiment of the present invention
  • FIG. 3 is a schematic diagram of a screen division of a terminal according to an embodiment of the present invention.
  • FIG. 4 is a schematic diagram of a password button according to an embodiment of the present invention.
  • FIG. 5 is a schematic diagram of a password interface according to an embodiment of the present invention.
  • FIG. 6 is a schematic diagram of a complex password interface according to an embodiment of the present invention.
  • FIG. 7 is a schematic structural diagram 1 of a terminal according to an embodiment of the present invention.
  • FIG. 8 is a schematic structural diagram 2 of a terminal according to an embodiment of the present invention.
  • the embodiment of the invention provides a terminal unlocking method, which is used for a terminal that requires a password to be unlocked, such as a mobile phone, a tablet computer, or a PSP (PlayStation Portable). As shown in FIG. 1, the method includes:
  • Step 101 Receive a first cipher group input by a user, where the first cipher group includes N ciphers, and the N is an integer greater than or equal to 1.
  • the first cipher group may be a digital cipher group or a gesture cipher group.
  • the terminal first displays a password interface, prompting the user to input the first password group, and usually displays a number from 0 to 9 on the password interface.
  • a digital cipher group as an example, the user selects N numbers in order to input a digital cipher group including N passwords; the user can also input a gesture cipher group, and the user slides the finger in the order of the N numbers, and Each number is turned or short-lived, and the gesture password group can be input, and the N numbers are N passwords included in the gesture password group.
  • Step 102 Acquire a pressure value that the user inputs at least one of the N passwords.
  • a pressure sensitive screen can be set on the terminal for collecting the pressure value each time the user clicks on the screen.
  • the pressure value of the password can be obtained through a pressure sensitive level.
  • the pressure value of each password in the gesture cipher group is a pressure value generated when the user's finger turns or pauses at each digit.
  • Step 103 Unlock the terminal according to the pressure values of the N passwords and the at least one password.
  • the display screen of the terminal can be divided into multiple display areas. According to the user's usage habits, different pressure tolerance ranges are set for each display area, and the pressure tolerance range is the habitual pressing force of the user in the display area.
  • the range of pressure values is then determined based on the N passwords and the pressure values of the at least one password to determine whether to unlock the terminal. For example, suppose the user inputs 4 passwords and obtains the pressure value when the user inputs the third password. First, it is determined whether the four passwords input by the user are correct. When the four passwords input by the user are correct, it is determined that the user inputs the third one.
  • the terminal is unlocked. .
  • the user may input a pressure value of each of the N passwords, and then determine whether the first password group input by the user is correct. If the first password group input by the user is correct, respectively, determine whether the pressure value when the user inputs each password satisfies the corresponding correspondence of each password.
  • the pressure tolerance range of the display area if the pressure value when the user inputs each password respectively meets the pressure tolerance range of the display area corresponding to each password, the terminal is unlocked.
  • the pressure value of each of the N passwords input by the user may be obtained, and then the terminal is unlocked according to the pressure values of the N passwords and the N passwords.
  • the terminal presets the first reference cipher group when initializing, and the first reference cipher group is “3”, “4”, “9”, “3”.
  • the password first determine whether the password entered by the user is correct, that is, determine whether the password input by the user is the same as the first reference password group, if the user clicks "3", "4", "9", "3” in order.
  • the password entered by the user is the same as the first reference password group, that is, the password entered by the user is correct; if the user does not click "3", "4", “9", "3" in order, the password entered by the user is The first reference cipher suite is different.
  • the pressure tolerance range of the display area corresponding to each password is determined whether the pressure value when the user inputs each password satisfies the pressure tolerance range of the display area corresponding to each password, that is, whether the pressure value when the user inputs the password “3” satisfies the password “3”.
  • the pressure tolerance range of the corresponding display area whether the pressure value of the user input password "4" satisfies the pressure tolerance range of the display area corresponding to the password "4", and whether the pressure value of the user input password "9” satisfies the password "9” Shows the pressure tolerance range of the area. If the pressure value of each password input by the user meets the pressure tolerance range of the display area corresponding to each password, the current user is the long-term user of the terminal, which may be the owner of the terminal, so the terminal can be unlocked. .
  • the user is prompted to input a second password group, where the second password group includes K a password, the K is an integer greater than the N, the K passwords include at least one digit and at least one pinyin, and then determining whether the second password group input by the user is correct; if the second password is input by the user The group is correct and the terminal is unlocked.
  • the second password group includes K a password
  • the K is an integer greater than the N
  • the K passwords include at least one digit and at least one pinyin
  • the terminal may also set a second reference password group during initialization.
  • the second reference cipher group is more complex than the first reference cipher group, and includes more passwords than the first reference cipher group, and the type of the password is also compared with the first reference cipher group.
  • the first reference cipher suite includes four ciphers, and the four ciphers are all numbers; the second reference cipher may include six ciphers, at least one of which is at least one pinyin, and the pinyin and the digits are randomly arranged.
  • the user may be prompted to input the second password group, and then determine whether the second password group input by the user is The second reference password is the same. If the second password group input by the user is the same as the second reference password, the terminal is unlocked. In this way, even if the user cannot unlock according to the pressure value due to emotion or the external environment, a complicated password can be input to unlock.
  • the display screen of the terminal may be further divided into at least one display area, and then each display area is obtained according to the pressure value when the user clicks on each display area.
  • the range of pressure tolerance may be first obtained, and then the pressure tolerance range of each display area is respectively obtained according to the pressure value of the Q clicks of each display area.
  • the Q is greater than or equal to 1.
  • the display screen of the terminal may be divided into a plurality of display areas during initialization, and the first display area is taken as an example, and the first display area is any one of the display areas.
  • Counting the pressure value of each click when the user performs Q clicks in the first display area, and then sorting the pressure values of the Q clicks, removing the previous Q*1/4 large pressure values and the last Q*1 /4 smaller pressure values, the maximum pressure value and the minimum pressure value of the remaining Q*1/2 pressure values are the end point values of the pressure tolerance range of the first display region.
  • the pressure value of each click of the user in each display area during the preset time period may be first obtained, and then according to the pressure value of each click of the user in each display area within the preset time period, Obtain the pressure tolerance range for each display area separately.
  • the preset time period may be 30 minutes, or 1 hour, etc., and may be set according to a specific situation in an actual application, which is not limited by the embodiment of the present invention.
  • An embodiment of the present invention provides a terminal unlocking method, including: receiving a first cipher group input by a user, the first cipher group includes N passwords, and the N is an integer greater than or equal to 1; a pressure value of at least one of the N passwords; according to the N secrets The code and the pressure value of the at least one password unlock the terminal.
  • a terminal unlocking method including: receiving a first cipher group input by a user, the first cipher group includes N passwords, and the N is an integer greater than or equal to 1; a pressure value of at least one of the N passwords; according to the N secrets The code and the pressure value of the at least one password unlock the terminal.
  • it is possible to determine whether to unlock the terminal according to the pressure value when the user inputs the password. Even if the user's observable password is leaked, the user may not be able to generate the user with the password because the user's usage habit is different.
  • the pressure value of the habit matching is used, so the terminal cannot be un
  • the embodiment of the present invention provides a terminal unlocking method, which is used for a terminal that requires a password to be unlocked, such as a mobile phone, a tablet computer, or a PSP (PlayStation Portable). As shown in FIG. 2, the method includes:
  • Step 201 Divide the terminal screen into M display areas, and perform step 202.
  • the M is an integer greater than or equal to 1.
  • the division is not limited in this embodiment of the present invention.
  • the screen of the mobile phone can be divided into 5 rows, 3 columns, 15 display areas, and the area of each display area 301 is equal.
  • Step 202 Acquire a pressure value of each click when the user performs Q clicks in the ith display area, and execute step 203.
  • the pressing force of the user when clicking each password is different, even if the same password is clicked, the user's current mood or the external environment may change.
  • the pressure value of the ith display area is clicked Q times, and the Q is an integer greater than or equal to 1.
  • the actual application may be set according to a specific situation, which is not limited by the embodiment of the present invention.
  • the obtained pressure value may be stored in the terminal in the form of a file, or stored in a database of the terminal, or stored in a third-party platform, which is not limited by the embodiment of the present invention.
  • Step 203 Acquire a pressure tolerance range of the ith display area according to the pressure value of the Q clicks of the ith display area, and execute step 204.
  • the pressure value of each click when the user performs Q clicks in the ith display area is sorted, and then the pressure values of the Q clicks are sorted, and the previous Q*1/4 large pressure values are removed.
  • Q*1/4 small pressure value, the maximum pressure value and the minimum pressure value of the remaining Q*1/2 pressure values are the end point values of the pressure tolerance range of the ith display region.
  • Step 204 Determine whether i is greater than or equal to M. When the i is greater than or equal to M, perform step 206. When the i is less than M, perform step 205.
  • step 205 the value of i+1 is given to i, and step 202 is performed.
  • the pressure tolerance range of each of the M display areas may be sequentially obtained according to the above method.
  • Step 206 Update the pressure tolerance range of each display area, and perform step 207.
  • the ith display area is taken as an example.
  • the pressure value of the Q clicks of the user in the ith display area before the current time point can be obtained in real time, and then according to the pressure of the Q clicks.
  • the value updates the pressure tolerance range of the ith display area.
  • Step 207 Receive a first password group input by the user, where the first password group includes N passwords, and perform step 208.
  • the first cipher group may be a digital cipher group or a gesture cipher group.
  • the mobile phone first displays a password interface, and the user inputs the first password group on the password interface.
  • the password interface displays a numeric keypad of 0 to 9. Assuming that the user's password group includes four passwords, the user sequentially inputs four digits on the numeric keypad in order to complete the password input.
  • Step 208 Acquire a pressure value when the user inputs each password in the N passwords, and perform step 209.
  • a pressure sensitive screen can be set on the terminal for collecting the pressure of the user to click each password while the user inputs the password. Since the pressure belongs to a kind of force, the unit of the pressure is Newton (N), which is a description. It is simple, the pressure value in the embodiment of the present invention omits the unit, and is expressed by only numbers. Assume that the first number of passwords entered by the user includes 4 digits of "3", “4", “9", and "3". The user can click "3", "4", "9” through the pressure sensitive flat. The pressure at "3" is 4, 10, 4, and 6, respectively.
  • Step 209 Determine whether the first password group input by the user is correct. If the first password group input by the user is correct, step 210 is performed; if the first password group input by the user is incorrect, step 214 is performed.
  • the first reference password group is preset in the mobile phone. If the first password group input by the user is the same as the first reference password group preset in the mobile phone, the password input by the user is correct; if the first password group input by the user It is different from the preset first reference password group in the mobile phone, indicating that the password entered by the user is incorrect. Assume that the first reference cipher group is "3", “4", “9”, “3”, if the password entered by the user is "3", "4", “9”, “3”, indicating the password entered by the user. Correct; if the password entered by the user is not “3", "4", "9", "3", or the order of input is different, it means that the password entered by the user is incorrect.
  • Step 210 Determine whether the pressure value when the user inputs the jth password satisfies the pressure tolerance range of the s display area corresponding to the jth password; if the user inputs the jth password, the pressure value satisfies the jth password.
  • Step 214 is performed if the pressure value of the sth display area is not satisfied by the pressure tolerance value of the sth display area corresponding to the jth password.
  • each password is displayed on a different position on the display screen, and the display screen is divided into a plurality of display areas, each password has a display area corresponding thereto, and the display position of the jth password in the embodiment of the present invention is used.
  • the j is an integer greater than or equal to 1, less than or equal to N
  • the s is an integer greater than or equal to 1 less than or equal to M.
  • the jth password is "3"
  • the display area corresponding to the password "3” is the ninth display area 409, that is, the display position of the password "3" is located in the ninth display area 409.
  • the s display area is the ninth display area 409.
  • the pressure tolerance range of the ninth display area 409 corresponding to the password “3” is [2, 10], that is, when the pressure value of the user clicking the password “3” is within the pressure tolerance range [2, 10], The pressure value when the user clicks the password “3” satisfies the pressure tolerance range of the corresponding display area; it is assumed that the pressure tolerance range of the 10th display area 410 corresponding to the password “4” is [5, 15], that is, the user clicks the password “ When the pressure value at 4" is within the pressure tolerance range [5, 15], the pressure value when the user clicks the password "4" satisfies the pressure tolerance range of the corresponding display area; assuming the password "9" corresponds to the 15th
  • the pressure tolerance range of the display area 415 is [2, 10], that is, when the pressure value of the user clicking the password "9” is within the pressure tolerance range [2, 10], the pressure value when the user clicks the password "9” is satisfied.
  • Step 211 Determine whether the j is smaller than the N; if the j is smaller than the N, perform step 212; if the j is greater than or equal to N, perform step 213.
  • step 212 the value of j+1 is assigned to j, and step 210 is performed.
  • Step 213 Unlock the terminal, and the process ends.
  • the current user is a long-term user of the terminal, and the terminal can be unlocked.
  • Step 214 Display a password input error, prompt the user to input the second password group, and perform step 215.
  • the second cipher set may be a complex cipher, that is, including at least one number and at least one pinyin, and the pinyin and the number are randomly arranged. Specifically, as shown in FIG.
  • a second password group button 5011 may be set on the password display interface 501.
  • the terminal displays a prompt information indicating that the password is input incorrectly on the screen, and then The second cipher suite button 5011 is illuminated to prompt the user to click on the second cipher suite button 5011.
  • the terminal displays a complex password interface.
  • the interface includes a digital symbol area 601 and a pinyin area 602.
  • the user clicks a button of the number symbol area 601 to input a number or a symbol. Clicking the button of the pinyin area 602 to input the pinyin, and the input second password group can be displayed in the password display box 603.
  • the text can be displayed in plain text, or Replace the plain text with "*" to ensure that the user's password will not be revealed.
  • Step 215 Unlock the terminal according to the second password group.
  • the terminal may further set a second reference cipher group, which is more complex than the first reference cipher group, and includes more passwords than the first reference cipher group, and the type of the password is also compared.
  • After the user inputs the second password group it may be determined whether the second password group input by the user is the same as the second reference password. If the second password group input by the user is the same as the second reference password, the terminal is unlocked, so that Even if the user cannot unlock according to the pressure due to emotions or the external environment, you can enter a more complicated password to unlock. If the second password group input by the user is different from the second reference password, the long-term user who is not the terminal is using the mobile phone. In this case, the user may be prompted to enter the password twice, and the terminal is locked to avoid leakage of user information.
  • the embodiment of the invention provides a terminal unlocking method, which can be compared according to related technologies.
  • the pressure value when the user inputs the password determines whether to unlock the terminal. Even if the user's obsessive password is leaked, the user may not be able to generate a pressure value matching the user's usage habit when entering the password because the user's usage habit is different.
  • the terminal cannot be unlocked, which improves the security of the terminal and avoids the leakage of the user's personal information, thereby improving the user experience.
  • the embodiment of the present invention provides a terminal 70, which may be a device that requires a password to be unlocked, such as a mobile phone or a tablet computer. As shown in FIG. 7, the terminal 70 includes:
  • the receiving unit 701 is configured to receive a first password group input by the user, the first password group includes N passwords, and the N is an integer greater than or equal to 1;
  • the first obtaining unit 702 is configured to obtain a pressure value that the user inputs at least one of the N passwords;
  • the unlocking unit 703 is configured to unlock the terminal 70 according to the pressure values of the N passwords and the at least one password.
  • the user can determine whether to unlock the terminal according to the pressure value when the user inputs the password. Even if the user's obsessive password is leaked, the user may not be able to generate the user's usage habit when entering the password because the user's usage habit is different.
  • the matching pressure value so the terminal can not be unlocked, the security of the terminal is improved, the leakage of the user's personal information is avoided, and the user experience is improved.
  • the first obtaining unit 702 is specifically configured to: obtain a pressure value of each password in the N passwords by the user;
  • the unlocking unit 703 is specifically configured to: determine the first password group input by the user. Whether it is correct; if the first password group input by the user is correct, respectively determine whether the pressure value when the user inputs each password satisfies the pressure tolerance range of the display area corresponding to each password; if the pressure value of the user enters each password
  • the terminal 70 is unlocked by satisfying the pressure tolerance range of the display area corresponding to each password.
  • the unlocking unit 703 is further configured to: if the pressure value of the at least one password of the N passwords input by the user does not satisfy the pressure tolerance range of the display area corresponding to the password, prompting the user to input the second password group,
  • the second cipher group includes K ciphers, the K is an integer greater than the N, the K ciphers include at least one digit and at least one pinyin; determining whether the second cipher group input by the user is correct; The second password group entered by the user is correct, The terminal 70 is unlocked.
  • the terminal 70 further includes: a dividing unit 704, configured to divide the display screen of the terminal 70 into at least one display area; and the second obtaining unit 705 is configured to The pressure value at the time of clicking on the display area, and obtaining the pressure tolerance range of each display area.
  • the second obtaining unit 705 is specifically configured to: obtain a pressure value of each click when the user performs Q clicks in each display area; and obtain each of the pressure values of the Q clicks of each display area, respectively The pressure tolerance range of the display area.
  • the first obtaining unit 702, the unlocking unit 703, the dividing unit 704, and the second obtaining unit 705 may each be a central processing unit (CPU), a microprocessor (Micro Processor Unit, located in the terminal 70, MPU), Digital Signal Processor (DSP), or Field Programmable Gate Array (FPGA).
  • the receiving unit 701 can be implemented by a touch display screen located in the terminal 70 and a driving circuit that touches the display screen.
  • An embodiment of the present invention provides a terminal, including: a receiving unit, configured to receive a first cipher group input by a user, where the first cipher group includes N ciphers, and the N is an integer greater than or equal to 1; a unit, configured to obtain a pressure value for the user to input at least one of the N passwords; and an unlocking unit configured to unlock the terminal according to the pressure values of the N passwords and the at least one password.
  • a receiving unit configured to receive a first cipher group input by a user, where the first cipher group includes N ciphers, and the N is an integer greater than or equal to 1
  • a unit configured to obtain a pressure value for the user to input at least one of the N passwords
  • an unlocking unit configured to unlock the terminal according to the pressure values of the N passwords and the at least one password.
  • Embodiments of the present invention also provide a storage medium.
  • the storage medium can be configured to store program code for performing the following steps:
  • S1 Receive a first cipher group input by a user, where the first cipher group includes N ciphers, and N is an integer greater than or equal to 1;
  • the terminal is unlocked according to the pressure values of the N passwords and the at least one password.
  • the foregoing storage medium may include, but not limited to, a USB flash drive, a Read-Only Memory (ROM), a Random Access Memory (RAM), a mobile hard disk, and a magnetic memory.
  • ROM Read-Only Memory
  • RAM Random Access Memory
  • a mobile hard disk e.g., a hard disk
  • magnetic memory e.g., a hard disk
  • embodiments of the present invention can be provided as a method, system, or computer program product. Accordingly, the present invention can take the form of a hardware embodiment, a software embodiment, or a combination of software and hardware. Moreover, the invention can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage and optical storage, etc.) including computer usable program code.
  • the computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device.
  • the apparatus implements the functions specified in one or more blocks of a flow or a flow and/or block diagram of the flowchart.
  • These computer program instructions can also be loaded into a computer or other programmable data processing device Having a series of operational steps performed on a computer or other programmable device to produce computer-implemented processing such that instructions executed on a computer or other programmable device are provided for implementing one or more processes in a flowchart and/or Or block diagram the steps of a function specified in a box or multiple boxes.
  • the first password group input by the user is received, the first password group includes N passwords, and the N is an integer greater than or equal to 1; the acquiring user inputs at least one password of the N passwords.
  • the pressure value unlocking the terminal according to the N password and the pressure value of the at least one password.
  • the pressure value of the habit matching is used, so the terminal cannot be unlocked, the security of the terminal is improved, the leakage of the user's personal information is avoided, and the user experience is improved.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)
  • Telephone Function (AREA)

Abstract

一种终端解锁方法和终端,该方法包括:接收用户输入的第一密码组,所述第一密码组包括N个密码,所述N为大于或等于1的整数(101);获取用户输入所述N个密码中至少一个密码的压力值(102);根据所述N个密码和所述至少一个密码的压力值,解锁所述终端(103)。

Description

一种终端解锁方法及终端 技术领域
本发明实施例涉及通信领域的隐私保护技术,尤其涉及一种终端解锁方法及终端。
背景技术
随着移动终端的日益普及,移动互联网产业的迅速发展,用户使用移动终端的频度、深度不断增加。在用户使用移动终端的过程中,很多个人信息会保存在智能移动终端中。如果这些个人信息泄露,将会对用户的生命财产安全造成威胁。
相关技术中,为了避免移动终端中个人信息的泄露,很多移动终端都采用了设置密码的方式进行安全保护,常用的密码可以为数字密码和图案绘制密码。当用户打开移动终端的使用界面时,首先需要输入密码,当用户输入的密码与预先存储的密码匹配时,移动终端的使用界面解锁,否则移动终端无法正常使用。
但是,用户在对移动终端进行解锁时,输入的密码很容易被周围人看到,例如在家庭或工作场所,如果被孩子或同事看到,很容易出现移动终端在未经用户允许的情况下被其他人使用的情况,造成个人信息的泄露,对用户的生命财产安全造成威胁,用户体验不佳。
发明内容
为解决相关存在的技术问题,本发明实施例提供一种终端解锁方法及终端,能够避免由于可观性密码的泄露造成的个人信息的泄露,提高用户体验。
为达到上述目的,本发明实施例的技术方案是这样实现的:
一方面,本发明实施例提供一种终端解锁方法,包括:
接收用户输入的第一密码组,所述第一密码组包括N个密码,所述N为大于或等于1的整数;
获取用户输入所述N个密码中至少一个密码的压力值;
根据所述N个密码和所述至少一个密码的压力值,解锁所述终端。
可选的,所述获取用户输入所述N个密码中至少一个密码的压力值包括:
获取用户输入所述N个密码中每个密码的压力值;
所述根据所述N个密码和所述至少一个密码的压力值,解锁所述终端包括:
确定用户输入的所述第一密码组是否正确;
若用户输入的所述第一密码组正确,分别确定用户输入每个密码时的压力值是否满足每个密码对应的显示区域的压力宽容范围;
若用户输入每个密码时的压力值分别满足每个密码对应的显示区域的压力宽容范围,解锁所述终端。
可选的,所述方法还包括:
若用户输入的N个密码中至少一个密码的压力值不满足与所述密码对应的显示区域的压力宽容范围,提示用户输入第二密码组,所述第二密码组包括K个密码,所述K为大于所述N的整数,所述K个密码包括至少一个数字和至少一个拼音;
确定用户输入的所述第二密码组是否正确;
若用户输入的所述第二密码组正确,解锁所述终端。
可选的,在所述接收用户输入的密码组之前,所述方法还包括:
将所述终端的显示屏划分成至少一个显示区域;
根据用户在每个显示区域上点击时的压力值,获取每个显示区域的压力宽容范围。
可选的,所述根据用户在每个显示区域上点击时的压力值,获取每个显示区域的压力宽容范围包括:
获取用户在每个显示区域进行Q次点击时每次点击的压力值,所述Q为大于或等于1的整数;
根据每个显示区域的Q次点击的压力值,分别获取每个显示区域的压力宽容范围。
另一方面,本发明实施例提供一种终端,包括:
接收单元,设置为接收用户输入的第一密码组,所述第一密码组包括N个密码,所述N为大于或等于1的整数;
第一获取单元,设置为获取用户输入所述N个密码中至少一个密码的压力值;
解锁单元,设置为根据所述N个密码和所述至少一个密码的压力值,解锁所述终端。
可选的,所述第一获取单元具体设置为:
获取用户输入所述N个密码中每个密码的压力值;
所述解锁单元具体设置为:
确定用户输入的所述第一密码组是否正确;
若用户输入的所述第一密码组正确,分别确定用户输入每个密码时的压力值是否满足每个密码对应的显示区域的压力宽容范围;
若用户输入每个密码时的压力值分别满足每个密码对应的显示区域的压力宽容范围,解锁所述终端。
可选的,所述解锁单元还设置为:
若用户输入的N个密码中至少一个密码的压力值不满足与所述密码对应的显示区域的压力宽容范围,提示用户输入第二密码组,所述第二密码组包括K个密码,所述K为大于所述N的整数,所述K个密码包括至少一个数字和至少一个拼音;
确定用户输入的所述第二密码组是否正确;
若用户输入的所述第二密码组正确,解锁所述终端。
可选的,所述终端还包括:
划分单元,设置为将所述终端的显示屏划分成至少一个显示区域;
第二获取单元,设置为根据用户在每个显示区域上点击时的压力值,获取每个显示区域的压力宽容范围。
可选的,所述第二获取单元具体设置为:
获取用户在每个显示区域进行Q次点击时每次点击的压力值,所述Q为大于或等于1的整数;
根据每个显示区域的Q次点击的压力值,分别获取每个显示区域的压力宽容范围。
在本发明实施例中,还提供了一种计算机存储介质,该计算机存储介质可以存储有执行指令,该执行指令用于执行上述实施例中的终端解锁方法。
本发明实施例提供了一种终端解锁方法及终端,所述终端解锁方法包括:接收用户输入的第一密码组,所述第一密码组包括N个密码,所述N为大于或等于1的整数;获取用户输入所述N个密码中至少一个密码的压力值;根据所述N个密码和所述至少一个密码的压力值,解锁所述终端。相较于相关技术,可以根据用户输入密码时的压力值,确定是否解锁终端,即使用户的可观性密码泄露,使用者也会因为与用户的使用习惯不同,而无法在输入密码时产生与用户使用习惯匹配的压力值,因此终端无法解锁,提高了终端的安全性,避免了用户个人信息的泄露,进而提高了用户体验。
附图说明
在附图(其不一定是按比例绘制的)中,相似的附图标记可在不同的视图中描述相似的部件。具有不同字母后缀的相似附图标记可表示相似部件的不同示例。附图以示例而非限制的方式大体示出了本文中所讨论的各 个实施例。
图1为本发明实施例提供的一种终端解锁方法的流程示意图1;
图2为本发明实施例提供的一种终端解锁方法的流程示意图2;
图3为本发明实施例提供的一种终端屏幕划分示意图;
图4为本发明实施例提供的一种密码按键示意图;
图5为本发明实施例提供的一种密码界面示意图;
图6为本发明实施例提供的一种复杂密码界面示意图;
图7为本发明实施例提供的一种终端的结构示意图1;
图8为本发明实施例提供的一种终端的结构示意图2。
具体实施方式
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述。
本发明实施例提供一种终端解锁方法,用于手机、平板电脑或PSP(PlayStation Portable,掌上游戏机)等需要密码解锁的终端。如图1所示,所述方法包括:
步骤101、接收用户输入的第一密码组,所述第一密码组包括N个密码,所述N为大于或等于1的整数。
可选的,所述第一密码组可以为数字密码组,也可以为手势密码组。示例的,当用户需要解锁终端进行使用时,终端首先显示密码界面,提示用户输入第一密码组,通常密码界面上显示0~9的数字。以数字密码组为例,用户按顺序选择点击N个数字,即可输入包括N个密码的数字密码组;用户也可以输入手势密码组,用户按照所述N个数字的顺序滑动手指,并在每个数字处转折或短暂停留,即可输入手势密码组,所述N个数字即为手势密码组包括的N个密码。
步骤102、获取用户输入所述N个密码中至少一个密码的压力值。
可选的,可以在终端上设置压力敏感屏,用于采集每次用户点击该屏幕的压力值。以数字密码组为例,在输入每个数字时,由于每个用户的使用***获取该密码的压力值。示例的,所述手势密码组中每个密码的压力值为用户手指在每个数字处转折或短暂停留时产生的压力值。
步骤103、根据所述N个密码和所述至少一个密码的压力值,解锁所述终端。
初始化时,可以将终端的显示屏划分成多个显示区域,根据用户的使用习惯,为每个显示区域设置不同的压力宽容范围,所述压力宽容范围为用户在该显示区域习惯性按压力度的压力值范围,然后根据N个密码和至少一个密码的压力值,确定是否解锁所述终端。示例的,假设用户输入4个密码,同时获取用户输入第3个密码时的压力值,首先确定用户输入的4个密码是否正确,当用户输入的4个密码正确时,确定用户输入第3个密码时的压力值是否满足第3个密码对应的显示区域的压力宽容范围,当用户输入第3个密码时的压力值满足第3个密码对应的显示区域的压力宽容范围时,解锁所述终端。
相较于相关技术,可以根据用户输入密码时的压力值,确定是否解锁终端,即使用户的可观性密码泄露,使用者也会因为与用户的使用习惯不同,而无法在输入密码时产生与用户使用习惯匹配的压力值,因此终端无法解锁,提高了终端的安全性,避免了用户个人信息的泄露,进而提高了用户体验。
可选的,可以获取用户输入所述N个密码中每个密码的压力值,然后确定用户输入的所述第一密码组是否正确。若用户输入的所述第一密码组正确,分别确定用户输入每个密码时的压力值是否满足每个密码对应的显 示区域的压力宽容范围;若用户输入每个密码时的压力值分别满足每个密码对应的显示区域的压力宽容范围,解锁所述终端。
在用户输入密码时,可以获取用户输入的N个密码中每个密码的压力值,然后根据所述N个密码和N个密码的压力值,解锁所述终端。示例的,初始化时终端预置第一参考密码组,该第一参考密码组为“3”,“4”,“9”,“3”。当用户输入密码之后,首先确定用户输入的密码是否正确,即确定用户输入的密码是否与第一参考密码组相同,如果用户按顺序点击“3”,“4”,“9”,“3”,说明用户输入的密码与第一参考密码组相同,即用户输入的密码正确;如果用户并未按顺序点击“3”,“4”,“9”,“3”,说明用户输入的密码与第一参考密码组不相同。
在用户输入的密码正确时,确定用户输入每个密码时的压力值是否满足每个密码对应的显示区域的压力宽容范围,即确定用户输入密码“3”时的压力值是否满足密码“3”对应的显示区域的压力宽容范围,用户输入密码“4”的压力值是否满足密码“4”对应的显示区域的压力宽容范围,用户输入密码“9”的压力值是否满足密码“9”对应的显示区域的压力宽容范围。若用户输入每个密码时的压力值分别满足每个密码对应的显示区域的压力宽容范围,说明当前使用用户为该终端的长期使用用户,可能为该终端的所有者,因此可以解锁所述终端。
可选的,若用户输入的N个密码中至少一个密码的压力值不满足与所述密码对应的显示区域的压力宽容范围,提示用户输入第二密码组,所述第二密码组包括K个密码,所述K为大于所述N的整数,所述K个密码包括至少一个数字和至少一个拼音,然后确定用户输入的所述第二密码组是否正确;若用户输入的所述第二密码组正确,解锁所述终端。
示例的,由于用户点击屏幕的力度容易受到情绪和环境的影响,并不是每次点击都能够满足预设的压力宽容范围,因此,初始化时,终端还可以设置第二参考密码组,所述第二参考密码组较第一参考密码组复杂,包括的密码个数比第一参考密码组多,密码涉及的类型也较第一参考密码组 多。例如,假设第一参考密码组包括4个密码,且所述4个密码均为数字;第二参考密码可以包括6个密码,其中至少一个数字和至少一个拼音,且拼音和数字随机排列。若用户输入的N个密码中至少一个密码的压力值不满足与所述密码对应的显示区域的压力宽容范围,可以提示用户输入第二密码组,然后确定用户输入的第二密码组是否与第二参考密码相同,若用户输入的第二密码组与第二参考密码相同,解锁所述终端。这样一来,即便用户因为情绪或外界环境的原因导致无法根据压力值解锁,也可以输入较为复杂的密码进行解锁。
进一步的,在所述接收用户输入的密码组之前,还可以将所述终端的显示屏划分成至少一个显示区域,然后根据用户在每个显示区域上点击时的压力值,获取每个显示区域的压力宽容范围。可选的,可以首先获取用户在每个显示区域进行Q次点击时每次点击的压力值,然后根据每个显示区域的Q次点击的压力值,分别获取每个显示区域的压力宽容范围。
所述Q大于或等于1。示例的,初始化时可以将终端的显示屏划分成多个显示区域,以第一显示区域为例进行说明,所述第一显示区域为任意一个显示区域。统计用户在第一显示区域进行Q次点击时每次点击的压力值,然后将所述Q次点击的压力值进行排序,去掉前Q*1/4个较大的压力值和后Q*1/4个较小的压力值,剩余的Q*1/2个压力值的最大压力值和最小压力值即为所述第一显示区域的压力宽容范围的端点值。
可选的,还可以首先获取预设时间段内用户在每个显示区域进行点击时每次点击的压力值,然后根据预设时间段内用户在每个显示区域的每次点击的压力值,分别获取每个显示区域的压力宽容范围。例如,所述预设时间段可以为30分钟,或1小时等,实际应用中可以根据具体情况进行设置,本发明实施例对此不做限定。
本发明实施例提供了一种终端解锁方法,包括:接收用户输入的第一密码组,所述第一密码组包括N个密码,所述N为大于或等于1的整数;获取用户输入所述N个密码中至少一个密码的压力值;根据所述N个密 码和所述至少一个密码的压力值,解锁所述终端。相较于相关技术,可以根据用户输入密码时的压力值,确定是否解锁终端,即使用户的可观性密码泄露,使用者也会因为与用户的使用习惯不同,而无法在输入密码时产生与用户使用习惯匹配的压力值,因此终端无法解锁,提高了终端的安全性,避免了用户个人信息的泄露,进而提高了用户体验。
本发明实施例提供一种终端解锁方法,用于手机、平板电脑或PSP(PlayStation Portable,掌上游戏机)等需要密码解锁的终端,本发明实施例对此不做限定。如图2所示,所述方法包括:
步骤201、将终端屏幕划分为M个显示区域,执行步骤202。
所述M为大于或等于1的整数。示例的,终端屏幕划分的显示区域越多,密码匹配的精度越高,但是显示区域越多,统计的点击数量也越多,会对终端的处理速度造成影响,因此实际应用中可以根据具体情况进行划分,本发明实施例对此不做限定。
可选的,如图3所示,以手机为例,可以将手机屏幕划分为5排3列15个显示区域,每个显示区域301的面积相等。
步骤202、获取用户在第i显示区域进行Q次点击时每次点击的压力值,执行步骤203。
示例的,由于用户手持手机时手指与每个密码的距离不同,使得用户点击每个密码时的按压力度不同,即便是点击同一个密码,也会因为用户当前的情绪或外界环境的变化,导致用户点击时的按压力度不同,因此可以获取用户在每个显示区域每次点击的压力值。为了使得统计出的压力值更具有普遍性,因此可以统计用户在每个显示区域的多次点击,获取每个显示区域对应的压力值的普遍规律。例如,可以获取第i显示区域点击Q次的压力值,所述Q为大于或等于1的整数,实际应用中可以根据具体情况进行设置,本发明实施例对此不作限定。其中,获取到的压力值可以以文件的形式存储在终端内部,或者存储在终端的数据库中,或者存储在第三方平台,本发明实施例对此不做限定。
步骤203、根据第i显示区域的Q次点击的压力值,获取第i显示区域的压力宽容范围,执行步骤204。
示例的,统计用户在第i显示区域进行Q次点击时每次点击的压力值,然后将所述Q次点击的压力值进行排序,去掉前Q*1/4个较大的压力值和后Q*1/4个较小的压力值,剩余的Q*1/2个压力值的最大压力值和最小压力值即为所述第i显示区域的压力宽容范围的端点值。
步骤204、确定i是否大于或等于M,当所述i大于或等于M时,执行步骤206;当所述i小于M时,执行步骤205。
步骤205、将i+1的值赋予i,执行步骤202。
示例的,可以根据上述方法依次获取M个显示区域中每个显示区域的压力宽容范围。
步骤206、更新每个显示区域的压力宽容范围,执行步骤207。
可选的,获取到每个显示区域的压力宽容范围之后,可以进行存储并实时进行更新。示例的,以第i显示区域为例进行说明,在终端的使用过程中,可以实时获取截止当前时间点之前用户在第i显示区域的Q次点击的压力值,然后根据该Q次点击的压力值更新第i显示区域的压力宽容范围。
步骤207、接收用户输入的第一密码组,所述第一密码组包括N个密码,执行步骤208。
示例的,所述第一密码组可以为数字密码组,也可以为手势密码组。当用户需要解锁手机进行使用时,手机首先显示密码界面,用户在所述密码界面上输入第一密码组。以数字密码组为例,所述密码界面显示0~9的数字键盘,假设用户的密码组包括4个密码,用户按照顺序依次在数字键盘上点击输入4个数字,即可完成密码的输入。
步骤208、获取用户输入所述N个密码中每个密码时的压力值,执行步骤209。
示例的,可以在终端上设置压力敏感屏,用于在用户输入密码的同时,采集用户点击每个密码的压力,由于压力属于力的一种,因此压力的单位为牛顿(N),为描述简便,本发明实施例中的压力值省略单位,仅用数字表述。假设用户输入的第一密码组包括的4个数字为“3”,“4”,“9”,“3”,通过压力敏感平可以获取用户点击“3”,“4”,“9”,“3”时的压力分别为4,10,4,6。
步骤209、确定用户输入的所述第一密码组是否正确,若用户输入的所述第一密码组正确,执行步骤210;若用户输入的所述第一密码组不正确,执行步骤214。
示例的,手机中预先设置了第一参考密码组,如果用户输入的第一密码组与手机中预设的第一参考密码组相同,表示用户输入的密码正确;如果用户输入的第一密码组与手机中预设的第一参考密码组不相同,表示用户输入的密码不正确。假设第一参考密码组为“3”,“4”,“9”,“3”,如果用户输入的密码为“3”,“4”,“9”,“3”,表示用户输入的密码正确;如果用户输入的密码不是“3”,“4”,“9”,“3”,或者输入的顺序不同,表示用户输入的密码不正确。
步骤210、确定用户输入第j密码时的压力值是否满足与所述第j密码对应的第s显示区域的压力宽容范围;若用户输入第j密码时的压力值满足与所述第j密码对应的第s显示区域的压力宽容范围,执行步骤211;若用户输入第j密码时的压力值不满足与所述第j密码对应的第s显示区域的压力宽容范围,执行步骤214。
示例的,由于每个密码在显示屏上显示的位置不同,并且显示屏以划分为多个显示区域,因此每个密码都存在与其对应的显示区域,本发明实施例中第j密码的显示位置位于第s显示区域,所述j为大于或等于1,小于或等于N的整数,所述s为大于或等于1小于或等于M的整数。
如图4所示,假设第j密码为“3”,所述密码“3”对应的显示区域为第9显示区域409,即密码“3”的显示位置位于第9显示区域409内,此 时第s显示区域为第9显示区域409。示例的,假设密码“3”对应的第9显示区域409的压力宽容范围为[2,10],即用户点击密码“3”时的压力值在压力宽容范围为[2,10]内时,说明用户点击密码“3”时的压力值满足其对应的显示区域的压力宽容范围;假设密码“4”对应的第10显示区域410的压力宽容范围为[5,15],即用户点击密码“4”时的压力值在压力宽容范围为[5,15]内时,说明用户点击密码“4”时的压力值满足其对应的显示区域的压力宽容范围;假设密码“9”对应的第15显示区域415的压力宽容范围为[2,10],即用户点击密码“9”时的压力值在压力宽容范围为[2,10]内时,说明用户点击密码“9”时的压力值满足其对应的显示区域的压力宽容范围。
由于用户点击密码“3”时的压力值为4,压力值4位于压力宽容范围为[2,10]内,因此用户点击密码“3”时的压力值满足其对应的第9显示区域409的压力宽容范围。
步骤211、确定所述j是否小于所述N;若所述j小于所述N,执行步骤212;若所述j大于或等于N,执行步骤213。
步骤212,将所述j+1的值赋予j,执行步骤210。
示例的,可以根据上述方法依次获取N个密码中每个密码的压力值是否满足其对应的显示区域的压力宽容范围。
步骤213、解锁所述终端,本流程结束。
示例的,如果每个密码的压力值均满足其对应的显示区域的压力宽容范围,说明当前使用者为终端的长期使用者,可以解锁终端。
步骤214、显示密码输入错误,提示用户输入第二密码组,执行步骤215。
示例的,如果N个密码中存在一个密码的压力值不满足与其对应的显示区域的压力宽容范围,说明终端的当前使用者没有按照用户的使用习惯点击屏幕,可能并不是终端的长期使用者,也可能是用户收到情绪或外界环境的影响,未能按照习惯输入密码,因此可以提示用户输入第二密码组, 并通过所述第二密码组确定是否解锁终端,避免用户无法解锁终端的情况。所述第二密码组可以为复杂密码,即包括至少一个数字和至少一个拼音,且拼音和数字随机排列。具体的,如图5所示,可以在密码显示界面501上设置第二密码组按键5011,当用户输入第一密码组未能解锁终端时,终端在屏幕上显示密码输入错误的提示信息,然后点亮所述第二密码组按键5011,以便于提示用户点击第二密码组按键5011。在用户点击所述第二密码组按键5011之后,终端显示复杂密码界面,如图6所示,该界面包括数字符号区域601和拼音区域602,用户点击数字符号区域601的按键输入数字或符号,点击拼音区域602的按键输入拼音,同时输入的第二密码组可以在密码显示框603中显示,示例的,在密码显示框603中显示用户输入的第二密码组时,可以明文显示,也可以通过“*”代替明文,确保用户的密码不会泄露。
步骤215、根据所述第二密码组,解锁终端。
示例的,初始化时,终端还可以设置第二参考密码组,所述第二参考密码组较第一参考密码组复杂,包括的密码个数比第一参考密码组多,密码涉及的类型也较第一参考密码组多。当用户输入第二密码组之后,可以确定用户输入的第二密码组是否与第二参考密码相同,若用户输入的第二密码组与第二参考密码相同,解锁所述终端,这样一来,即便用户因为情绪或外界环境的原因导致无法根据压力值解锁,也可以输入较为复杂的密码进行解锁。若用户输入的第二密码组与第二参考密码不相同,说明不是终端的长期使用者在使用手机,此时可以提示用户两次密码输入错误,锁定该终端,避免用户信息的泄露。
需要说明的是,本发明实施例提供的终端解锁方法步骤的先后顺序可以进行适当调整,步骤也可以根据情况进行相应增减,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到变化的方法,都应涵盖在本发明的保护范围之内,因此不再赘述。
本发明实施例提供了一种终端解锁方法,相较于相关技术,可以根据 用户输入密码时的压力值,确定是否解锁终端,即使用户的可观性密码泄露,使用者也会因为与用户的使用习惯不同,而无法在输入密码时产生与用户使用习惯匹配的压力值,因此终端无法解锁,提高了终端的安全性,避免了用户个人信息的泄露,进而提高了用户体验。
本发明实施例提供一种终端70,所述终端70可以为手机,平板电脑等需要密码解锁的设备,如图7所示,所述终端70包括:
接收单元701,设置为接收用户输入的第一密码组,所述第一密码组包括N个密码,所述N为大于或等于1的整数;
第一获取单元702,设置为获取用户输入所述N个密码中至少一个密码的压力值;
解锁单元703,设置为根据所述N个密码和所述至少一个密码的压力值,解锁所述终端70。
这样一来,可以根据用户输入密码时的压力值,确定是否解锁终端,即使用户的可观性密码泄露,使用者也会因为与用户的使用习惯不同,而无法在输入密码时产生与用户使用习惯匹配的压力值,因此终端无法解锁,提高了终端的安全性,避免了用户个人信息的泄露,进而提高了用户体验。
可选的,所述第一获取单元702具体设置为:获取用户输入所述N个密码中每个密码的压力值;所述解锁单元703具体设置为:确定用户输入的所述第一密码组是否正确;若用户输入的所述第一密码组正确,分别确定用户输入每个密码时的压力值是否满足每个密码对应的显示区域的压力宽容范围;若用户输入每个密码时的压力值分别满足每个密码对应的显示区域的压力宽容范围,解锁所述终端70。
可选的,所述解锁单元703还设置为:若用户输入的N个密码中至少一个密码的压力值不满足与所述密码对应的显示区域的压力宽容范围,提示用户输入第二密码组,所述第二密码组包括K个密码,所述K为大于所述N的整数,所述K个密码包括至少一个数字和至少一个拼音;确定用户输入的所述第二密码组是否正确;若用户输入的所述第二密码组正确, 解锁所述终端70。
可选的,如图8所示,所述终端70还包括:划分单元704,设置为将所述终端70的显示屏划分成至少一个显示区域;第二获取单元705,设置为根据用户在每个显示区域上点击时的压力值,获取每个显示区域的压力宽容范围。
可选的,所述第二获取单元705具体设置为:获取用户在每个显示区域进行Q次点击时每次点击的压力值;根据每个显示区域的Q次点击的压力值,分别获取每个显示区域的压力宽容范围。
需要说明的是,第一,所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。
第二,所述第一获取单元702、解锁单元703、划分单元704和第二获取单元705均可由位于终端70中的中央处理器(Central Processing Unit,CPU)、微处理器(Micro Processor Unit,MPU)、数字信号处理器(Digital Signal Processor,DSP)、或现场可编程门阵列(Field Programmable Gate Array,FPGA)等实现。接收单元701可由位于终端70中的触摸显示屏以及触摸显示屏的驱动电路实现。
本发明实施例提供一种终端,包括:接收单元,设置为接收用户输入的第一密码组,所述第一密码组包括N个密码,所述N为大于或等于1的整数;第一获取单元,设置为获取用户输入所述N个密码中至少一个密码的压力值;解锁单元,设置为根据所述N个密码和所述至少一个密码的压力值,解锁所述终端。相较于相关技术,可以根据用户输入密码时的压力值,确定是否解锁终端,即使用户的可观性密码泄露,使用者也会因为与用户的使用习惯不同,而无法在输入密码时产生与用户使用习惯匹配的压力值,因此终端无法解锁,提高了终端的安全性,避免了用户个人信息的泄露,进而提高了用户体验。
本发明的实施例还提供了一种存储介质。可选地,在本实施例中,上 述存储介质可以被设置为存储用于执行以下步骤的程序代码:
S1,接收用户输入的第一密码组,第一密码组包括N个密码,N为大于或等于1的整数;
S2,获取用户输入N个密码中至少一个密码的压力值;
S3,根据N个密码和至少一个密码的压力值,解锁终端。
可选地,在本实施例中,上述存储介质可以包括但不限于:U盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、移动硬盘、磁碟或者光盘等各种可以存储程序代码的介质。
本领域内的技术人员应明白,本发明的实施例可提供为方法、***、或计算机程序产品。因此,本发明可采用硬件实施例、软件实施例、或结合软件和硬件方面的实施例的形式。而且,本发明可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器和光学存储器等)上实施的计算机程序产品的形式。
本发明是参照根据本发明实施例的方法、设备(***)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备 上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。
以上所述,仅为本发明的较佳实施例而已,并非用于限定本发明的保护范围。
工业实用性
在本发明实施例中,接收用户输入的第一密码组,所述第一密码组包括N个密码,所述N为大于或等于1的整数;获取用户输入所述N个密码中至少一个密码的压力值;根据所述N个密码和所述至少一个密码的压力值,解锁所述终端。相较于相关技术,可以根据用户输入密码时的压力值,确定是否解锁终端,即使用户的可观性密码泄露,使用者也会因为与用户的使用习惯不同,而无法在输入密码时产生与用户使用习惯匹配的压力值,因此终端无法解锁,提高了终端的安全性,避免了用户个人信息的泄露,进而提高了用户体验。

Claims (10)

  1. 一种终端解锁方法,包括:
    接收用户输入的第一密码组,所述第一密码组包括N个密码,所述N为大于或等于1的整数;
    获取用户输入所述N个密码中至少一个密码的压力值;
    根据所述N个密码和所述至少一个密码的压力值,解锁所述终端。
  2. 根据权利要求1所述的方法,其中,所述获取用户输入所述N个密码中至少一个密码的压力值包括:
    获取用户输入所述N个密码中每个密码的压力值;
    所述根据所述N个密码和所述至少一个密码的压力值,解锁所述终端包括:
    确定用户输入的所述第一密码组是否正确;
    若用户输入的所述第一密码组正确,分别确定用户输入每个密码时的压力值是否满足每个密码对应的显示区域的压力宽容范围;
    若用户输入每个密码时的压力值分别满足每个密码对应的显示区域的压力宽容范围,解锁所述终端。
  3. 根据权利要求2所述的方法,其中,所述方法还包括:
    若用户输入的N个密码中至少一个密码的压力值不满足与所述密码对应的显示区域的压力宽容范围,提示用户输入第二密码组,所述第二密码组包括K个密码,所述K为大于所述N的整数,所述K个密码包括至少一个数字和至少一个拼音;
    确定用户输入的所述第二密码组是否正确;
    若用户输入的所述第二密码组正确,解锁所述终端。
  4. 根据权利要求1至3任意一项权利要求所述的方法,其中,在所述接收用户输入的密码组之前,所述方法还包括:
    将所述终端的显示屏划分成至少一个显示区域;
    根据用户在每个显示区域上点击时的压力值,获取每个显示区域的压力宽容范围。
  5. 根据权利要求4所述的方法,其中,所述根据用户在每个显示区域上点击时的压力值,获取每个显示区域的压力宽容范围包括:
    获取用户在每个显示区域进行Q次点击时每次点击的压力值,所述Q为大于或等于1的整数;
    根据每个显示区域的Q次点击的压力值,分别获取每个显示区域的压力宽容范围。
  6. 一种终端,包括:
    接收单元,设置为接收用户输入的第一密码组,所述第一密码组包括N个密码,所述N为大于或等于1的整数;
    第一获取单元,设置为获取用户输入所述N个密码中至少一个密码的压力值;
    解锁单元,设置为根据所述N个密码和所述至少一个密码的压力值,解锁所述终端。
  7. 根据权利要求6所述的终端,其中,所述第一获取单元具体设置为:
    获取用户输入所述N个密码中每个密码的压力值;
    所述解锁单元具体设置为:
    确定用户输入的所述第一密码组是否正确;
    若用户输入的所述第一密码组正确,分别确定用户输入每个密码时的压力值是否满足每个密码对应的显示区域的压力宽容范围;
    若用户输入每个密码时的压力值分别满足每个密码对应的显示区域的压力宽容范围,解锁所述终端。
  8. 根据权利要求7所述的终端,其中,所述解锁单元还设置为:
    若用户输入的N个密码中至少一个密码的压力值不满足与所述密码对应的显示区域的压力宽容范围,提示用户输入第二密码组,所述第二密码组包括K个密码,所述K为大于所述N的整数,所述K个密码包括至少一个数字和至少一个拼音;
    确定用户输入的所述第二密码组是否正确;
    若用户输入的所述第二密码组正确,解锁所述终端。
  9. 根据权利要求6至8任意一项权利要求所述的终端,其中,所述终端还包括:
    划分单元,设置为将所述终端的显示屏划分成至少一个显示区域;
    第二获取单元,设置为根据用户在每个显示区域上点击时的压力值,获取每个显示区域的压力宽容范围。
  10. 根据权利要求9所述的终端,其中,所述第二获取单元具体设置为:
    获取用户在每个显示区域进行Q次点击时每次点击的压力值,所述Q为大于或等于1的整数;
    根据每个显示区域的Q次点击的压力值,分别获取每个显示区域的压力宽容范围。
PCT/CN2016/108029 2016-07-06 2016-11-30 一种终端解锁方法及终端 WO2018006542A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610527313.1A CN107590370A (zh) 2016-07-06 2016-07-06 一种终端解锁方法及终端
CN201610527313.1 2016-07-06

Publications (1)

Publication Number Publication Date
WO2018006542A1 true WO2018006542A1 (zh) 2018-01-11

Family

ID=60901351

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/108029 WO2018006542A1 (zh) 2016-07-06 2016-11-30 一种终端解锁方法及终端

Country Status (2)

Country Link
CN (1) CN107590370A (zh)
WO (1) WO2018006542A1 (zh)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103714278A (zh) * 2012-09-29 2014-04-09 北京三星通信技术研究有限公司 一种终端设备的密码认证方法和装置
CN103870181A (zh) * 2012-12-14 2014-06-18 联想(北京)有限公司 一种手持设备的控制方法、控制装置及手持设备
CN104035688A (zh) * 2014-06-20 2014-09-10 江苏物联网研究发展中心 移动终端单点触控压力感知安全解锁方法及装置
CN105046122A (zh) * 2015-07-07 2015-11-11 广东欧珀移动通信有限公司 一种终端***管理方法及终端
CN105472094A (zh) * 2015-11-23 2016-04-06 努比亚技术有限公司 基于压力传感器的解锁装置、方法及移动终端
CN105589645A (zh) * 2014-10-21 2016-05-18 中兴通讯股份有限公司 触摸屏解锁方法及装置

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103714278A (zh) * 2012-09-29 2014-04-09 北京三星通信技术研究有限公司 一种终端设备的密码认证方法和装置
CN103870181A (zh) * 2012-12-14 2014-06-18 联想(北京)有限公司 一种手持设备的控制方法、控制装置及手持设备
CN104035688A (zh) * 2014-06-20 2014-09-10 江苏物联网研究发展中心 移动终端单点触控压力感知安全解锁方法及装置
CN105589645A (zh) * 2014-10-21 2016-05-18 中兴通讯股份有限公司 触摸屏解锁方法及装置
CN105046122A (zh) * 2015-07-07 2015-11-11 广东欧珀移动通信有限公司 一种终端***管理方法及终端
CN105472094A (zh) * 2015-11-23 2016-04-06 努比亚技术有限公司 基于压力传感器的解锁装置、方法及移动终端

Also Published As

Publication number Publication date
CN107590370A (zh) 2018-01-16

Similar Documents

Publication Publication Date Title
RU2589397C2 (ru) Аутентификация графических жестов
Krombholz et al. Use the force: Evaluating {Force-Sensitive} authentication for mobile devices
CN104091103A (zh) 指纹与密码组合式验证方法及其装置
CN104951685A (zh) 一种运行应用程序的方法及移动终端
JP5728629B2 (ja) 情報処理装置、情報処理装置の制御方法、プログラム、及び情報記憶媒体
CN105069335A (zh) 一种密码设置方法、验证方法和终端
CN104809174A (zh) 一种终端应用的打开方法
US20130086673A1 (en) Techniques for securely unlocking a touch screen user device
TW201426593A (zh) 資訊校驗的方法及裝置
CN105184126A (zh) 一种密码设置方法、验证方法和终端
CN105094874A (zh) 一种启动应用的方法和***
WO2017032127A1 (zh) 一种图案解锁的方法及终端
CN106295282B (zh) 一种移动终端指纹输入密码的方法及装置
CN104331650A (zh) 一种信息处理方法以及一种电子设备
CN104951677B (zh) 一种信息处理方法和装置
CN104808899A (zh) 一种终端
JP2015133116A (ja) 端末上で機密データを入力する方法
US20170249450A1 (en) Device and Method for Authenticating a User
CN110968355A (zh) 应用程序的启动方法、启动装置及终端
KR20140049705A (ko) 지문 잠금 시스템
CN106446626B (zh) 一种移动终端解锁方法及移动终端
WO2018006542A1 (zh) 一种终端解锁方法及终端
JP2015184717A (ja) 認証装置及びプログラム
KR20170000654A (ko) 지문 인식 시스템
WO2017143651A1 (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: 16908046

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 16908046

Country of ref document: EP

Kind code of ref document: A1