WO2017032128A1 - 一种终端解锁的方法及终端 - Google Patents
一种终端解锁的方法及终端 Download PDFInfo
- Publication number
- WO2017032128A1 WO2017032128A1 PCT/CN2016/085083 CN2016085083W WO2017032128A1 WO 2017032128 A1 WO2017032128 A1 WO 2017032128A1 CN 2016085083 W CN2016085083 W CN 2016085083W WO 2017032128 A1 WO2017032128 A1 WO 2017032128A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- parameter
- preset
- trajectory
- velocity
- terminal
- Prior art date
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/30—Authentication, i.e. establishing the identity or authorisation of security principals
- G06F21/31—User authentication
- G06F21/32—User authentication using biometric data, e.g. fingerprints, iris scans or voiceprints
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/30—Authentication, i.e. establishing the identity or authorisation of security principals
- G06F21/31—User authentication
- G06F21/36—User authentication by graphic or iconic representation
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0487—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0487—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
- G06F3/0488—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
- G06F3/04883—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures for inputting data by handwriting, e.g. gesture or text
Definitions
- the embodiments of the present invention relate to the technical field of electronic devices, and in particular, to a method and a terminal for unlocking a terminal.
- terminals such as mobile phones, tablets, smart wearable devices, etc.
- functions are becoming more and more powerful, and have evolved from a simple communication tool to an integrated multi-function.
- the embodiment of the invention provides a method and a terminal for unlocking a terminal, so as to improve the security of the terminal.
- the first aspect of the embodiment of the present invention discloses a method for unlocking a terminal, including:
- the trajectory parameter is at least one of a track direction, a positional relationship between a start point and an end point of the track, a track length, a track pattern, and a track width.
- the velocity parameter of the preset point is a velocity parameter of the preset position on the touch screen or a velocity parameter corresponding to the preset time point, wherein the preset time point is a start sliding time of the sliding operation, One of the end sliding timing of the sliding operation and the intermediate sliding timing of the sliding operation.
- the trajectory parameter and the velocity parameter are respectively matched with a preset trajectory parameter and a preset tempo parameter, including:
- the determining the sliding operation The velocity parameters at the preset point, including:
- the average velocity of the sliding operation at the preset point is determined as the velocity parameter at the preset point.
- the parameters and the velocity parameters are matched with the preset trajectory parameters and the preset tempo parameters, including:
- the parameters and the velocity parameters are matched with the preset trajectory parameters and the preset tempo parameters, including:
- trajectory parameters are matched with the preset trajectory parameters.
- the method also include:
- trajectory parameter does not match the preset trajectory parameter and/or the tempo parameter does not match the preset tempo parameter, pushing a preset prompt question to the user, so that the user provides the In the case of prompting the valid answer corresponding to the question, enter the interface to be unlocked.
- a second aspect of the embodiment of the present invention discloses a terminal, including:
- a first determining unit configured to determine a trajectory parameter generated by the user performing a sliding operation on the touch screen of the terminal
- a second determining unit configured to determine a velocity parameter of the sliding operation at a preset point
- a matching unit configured to respectively match a trajectory parameter determined by the first determining unit and a tempo parameter determined by the second determining unit with a preset trajectory parameter and a preset tempo parameter;
- the unlocking unit is configured to perform an unlocking operation on the terminal if the matching unit matches that the trajectory parameter matches the preset trajectory parameter successfully and the strength parameter matches the preset tempo parameter successfully.
- the trajectory parameter is at least one of a track direction, a positional relationship between a start point and an end point of the track, a track length, a track pattern, and a track width.
- the velocity parameter of the preset point is a velocity parameter of a preset position on the touch screen or a velocity parameter corresponding to the preset time point, wherein the preset time point is a start sliding time of the sliding operation, the sliding One of the end sliding moment of the operation and the intermediate sliding moment of the sliding operation.
- the matching unit includes:
- a generating unit configured to generate the first character string according to a preset manner by using the track parameter
- a first determining unit configured to determine whether the first character string generated by the generating unit matches a second character string corresponding to the preset trajectory parameter
- a second determining unit if the determination result of the first determining unit is yes, determining whether the strength parameter is in a range corresponding to the preset strength parameter.
- the second determining unit is specific Used for:
- the average velocity of the sliding operation at the preset point is determined as the velocity parameter at the preset point.
- the matching unit is specifically used to :
- the matching unit is specifically used to :
- the terminal further includes:
- a pushing unit configured to push a preset to the user if the matching unit matches that the trajectory parameter does not match the preset trajectory parameter and/or the velocity parameter does not match the preset tempo parameter
- the prompting question is such that the user enters the interface to be unlocked in the case of providing a valid answer corresponding to the prompt question.
- a third aspect of the embodiment of the present invention discloses a terminal, including:
- processor performs the following steps by calling code or instructions in the memory:
- the terminal is unlocked.
- the trajectory parameter is at least one of a track direction, a positional relationship between a start point and an end point of the track, a track length, a track pattern, and a track width.
- the velocity parameter of the preset point is a velocity parameter of the preset position on the touch screen or a velocity parameter corresponding to the preset time point, wherein the preset time point is a start sliding time of the sliding operation, One of the end sliding timing of the sliding operation and the intermediate sliding timing of the sliding operation.
- the matching the trajectory parameter and the tempo parameter with the preset trajectory parameter and the preset tempo parameter respectively includes:
- the determining the sliding operation The velocity parameters at the preset point, including:
- the average velocity of the sliding operation at the preset point is determined as the velocity parameter at the preset point.
- the parameters and the velocity parameters are matched with the preset trajectory parameters and the preset tempo parameters, including:
- the parameters and the velocity parameters are matched with the preset trajectory parameters and the preset tempo parameters, including:
- trajectory parameters are matched with the preset trajectory parameters.
- the processor is further specifically configured to:
- a fourth aspect of the embodiments of the present invention provides a computer storage medium, where the computer storage medium stores computer executable instructions for performing the first aspect and the description of the embodiment of the present invention. Some or all of the steps.
- the embodiment of the invention determines a trajectory parameter generated by the user performing a sliding operation on the touch screen of the terminal; determining a velocity parameter of the sliding operation at the preset point; respectively, the trajectory parameter and the velocity parameter and the preset trajectory parameter and the preset strength The parameter is matched; if the trajectory parameter is successfully matched with the preset trajectory parameter and the strength parameter and the preset tempo parameter are successfully matched, the terminal is unlocked.
- the trajectory parameter and the velocity parameter are respectively matched with the preset trajectory parameter and the preset tempo parameter, so that the unlocking can be performed only when the two are matched, thereby avoiding the user to some extent.
- FIG. 1 is a schematic flowchart diagram of a first embodiment of a method for unlocking a terminal according to an embodiment of the present disclosure
- FIG. 2 is a schematic flowchart of a second embodiment of a method for unlocking a terminal according to an embodiment of the present disclosure
- FIG. 3 is a schematic flowchart diagram of a third embodiment of a method for unlocking a terminal according to an embodiment of the present disclosure
- FIG. 4 is a schematic structural diagram of a first embodiment of a terminal according to an embodiment of the present disclosure
- FIG. 4b is still another schematic structural diagram of a first embodiment of a terminal according to an embodiment of the present disclosure.
- FIG. 4c is still another schematic structural diagram of a first embodiment of a terminal according to an embodiment of the present disclosure.
- FIG. 5 is a schematic structural diagram of a second embodiment of a terminal according to an embodiment of the present invention.
- the terminal may include, but is not limited to, a notebook computer, a mobile phone, a tablet computer, a smart wearable device, and the like.
- the system of the terminal refers to the operating system of the device, which may include, but is not limited to, an Android system, a Symbian system, a Windows system, an IOS (a mobile operating system developed by Apple), and the like.
- the Android terminal refers to the terminal of the Android system
- the Saipan terminal refers to the terminal of the Saipan system, and the like.
- the above terminals are merely examples, not exhaustive, and include but are not limited to the above terminals.
- FIG. 1 is a schematic flowchart diagram of a first embodiment of a method for unlocking a terminal according to an embodiment of the present invention.
- the method for unlocking a terminal described in this embodiment includes the following steps:
- the terminal may determine a trajectory parameter generated by the user performing a sliding operation on the touch screen of the terminal.
- the trajectory parameters may include, but are not limited to, a trajectory direction, a total contact area of the trajectory, a positional relationship between the start and end points of the trajectory, a trajectory length, a trajectory pattern, and a trajectory width, and the trajectory parameter may also be generated by a sliding operation.
- the track contains at least one preset point. If it is included, the track parameter is marked with a one-dimensional number. For example, if point A is a preset point, it includes point A, denoted as 1, and does not include point A, and is recorded as 0.
- the track width may include, but is not limited to, an average width of the track, a maximum width of the track, a minimum width of the track, an average width of the track in the specified segment, a maximum width of the track in the specified segment, and a track in the specified segment.
- the minimum width of the track; the total contact area of the track is the total contact area of the touch screen of the contact terminal when the user slides the detected track;
- the positional relationship between the start point of the track and the end point of the track may be an overlapping relationship or a starting point of the track and an end point of the track The distance between them meets the preset threshold.
- the terminal may determine a velocity parameter of the sliding operation at the preset point.
- the terminal may determine the average strength of the sliding operation corresponding to the preset point as the velocity parameter at the preset point.
- the velocity parameter of the preset point is a velocity parameter of the preset position on the touch screen or a velocity parameter corresponding to the preset time point
- the preset position may include one or more preset positions
- the preset position may be It is the center of the touch screen or the four corners of the touch screen.
- the preset position may be a location where one or more touch areas of the touch screen are located.
- the preset time point is one of a start sliding time of the sliding operation, an ending sliding time of the sliding operation, and an intermediate sliding time of the sliding operation. Further, the preset time point may be a track generated by the sliding operation. The moment corresponding to a preset point.
- the velocity parameter of the preset point may be a velocity parameter of a preset point or a velocity parameter of multiple preset points, and the velocity parameter may be a one-dimensional parameter or a multi-dimensional parameter, and the multi-dimensional parameter may include a preset point.
- the multi-dimensional parameter of the sliding force may include, in addition to the sliding force of the preset point, a sliding time after the preset point or a number of times the sliding operation passes the preset point, the one-time sliding operation may detect that the user touches the touch screen to the terminal. The sliding operation of the entire process of leaving the touch screen.
- the terminal may match the trajectory parameter and the preset trajectory parameter, and match the velocity parameter with the preset tempo parameter.
- the terminal may first match the velocity parameter with the preset velocity parameter, and then match the trajectory parameter with the preset trajectory parameter.
- the terminal may first match the track parameter with the preset track parameter, and then match the velocity parameter with the preset velocity parameter.
- the trajectory parameter may be matched with the preset trajectory parameter. If the matching is successful, the velocity parameter is matched with the preset tempo parameter. Alternatively, the velocity parameter may be matched with the preset velocity parameter. If the matching is successful, the track parameter is matched with the preset track parameter. Using two parameter matching can reduce the probability of misoperation and increase the difficulty of unlocking.
- S104 Perform an unlocking operation on the terminal if the trajectory parameter is successfully matched with the preset trajectory parameter and the strength parameter is successfully matched with the preset tempo parameter.
- the embodiment of the invention determines a trajectory parameter generated by the user performing a sliding operation on the touch screen of the terminal; determining a velocity parameter of the sliding operation at the preset point; respectively, the trajectory parameter and the velocity parameter and the preset trajectory parameter and the preset strength The parameter is matched; if the trajectory parameter is successfully matched with the preset trajectory parameter and the strength parameter and the preset tempo parameter are successfully matched, the terminal is unlocked.
- the trajectory parameter and the velocity parameter are respectively matched with the preset trajectory parameter and the preset tempo parameter, so that the unlocking can be performed only when the two are matched, thereby avoiding the user to some extent.
- FIG. 2 is a schematic flowchart diagram of a second embodiment of a method for unlocking a terminal according to an embodiment of the present invention.
- the method for unlocking a terminal described in this embodiment includes the following steps:
- the terminal may determine a trajectory parameter generated by the user performing a sliding operation on the touch screen of the terminal.
- the trajectory parameters may include, but are not limited to, a trajectory direction, a total contact area of the trajectory, a positional relationship between the start and end points of the trajectory, a trajectory length, a trajectory pattern, and a trajectory width, and the trajectory parameter may also be generated by a sliding operation.
- the track contains at least one preset point. If it is included, the track parameter is marked with a one-dimensional number, for example: contains point A, denoted as 1, and does not include point A, denoted as 0.
- the track width may include, but is not limited to, an average width of the track, a maximum width of the track, a minimum width of the track, an average width of the track in the specified segment, a maximum width of the track in the specified segment, and a track in the specified segment.
- the minimum width of the track; the total contact area of the track is the total contact area of the touch screen of the contact terminal when the user slides the detected track;
- the positional relationship between the start point of the track and the end point of the track may be an overlapping relationship or a starting point of the track and an end point of the track The distance between them meets the preset threshold.
- the terminal may determine a velocity parameter of the sliding operation at the preset point by using the pressure sensor.
- the terminal may determine the average strength of the sliding operation corresponding to the preset point as the velocity parameter at the preset point.
- the velocity parameter of the preset point is a velocity parameter of the preset position on the touch screen or a velocity parameter corresponding to the preset time point
- the preset position may include one or more preset positions
- the preset position may be It is the center of the touch screen or the four corners of the touch screen.
- the preset position may be a touch screen The location of one or more touch areas.
- the preset time point is one of a start sliding time of the sliding operation, an ending sliding time of the sliding operation, and an intermediate sliding time of the sliding operation. Further, the preset time point may be generated by the sliding operation. The track passes the time corresponding to a preset point.
- the velocity parameter of the preset point may be a velocity parameter of a preset point or a velocity parameter of multiple preset points, and the velocity parameter may be a one-dimensional parameter or a multi-dimensional parameter, and the multi-dimensional parameter may include a preset point.
- the multi-dimensional parameter of the sliding force may include, in addition to the sliding force of the preset point, a sliding time after the preset point or a number of times the sliding operation passes the preset point, the one-time sliding operation may detect that the user touches the touch screen to the terminal. The sliding operation of the entire process of leaving the touch screen.
- the terminal may generate the first character string according to a preset manner by using a trajectory parameter generated by the sliding operation.
- the trajectory parameter is a track length, a track width, or a track direction
- the track length is k1
- the track width is k2
- the track direction is First, rightward, then upward, wherein the encoding length corresponding to the track length is: the track length is greater than 0 and less than the code A1 corresponding to K1, the track length is greater than or equal to K1 and the code corresponding to K2 is A2, and the track length is greater than K2.
- the code is A3.
- the code corresponding to the track length k1 is A2; the coding mode corresponding to the track width is: the track width is greater than 0 and smaller than the code B1 corresponding to X1, and the track length is greater than or equal to X1.
- the code corresponding to less than X2 is B2, the code whose track length is greater than X2 is B3, and when k2 is greater than X2, the code corresponding to track length k2 is B3; the code of track direction can be: upper 1 and lower 2 The left is 3, the right is 4, the track direction is first to the right, and then the corresponding code is 4+1. Further, the track direction is first left, then down, and finally, the corresponding code 1 + 2 + 3, the first string may be referred to as: (A2, B3,4 + 1).
- the terminal may determine whether the first string matches the second string corresponding to the preset trajectory parameter.
- the first string is (A2, B3, 4+1) and the second string is (A2, B3, 4+1), and the two match.
- the velocity parameter is in the range corresponding to the preset velocity parameter. For example, if the velocity parameter is 20 cattle and the interval range of the preset velocity parameter is [18, 25], the velocity parameter is in the interval of the preset velocity parameter. Range; if the velocity parameter is 5 cattle and the interval range of the preset velocity parameter is [18, 25], the velocity parameter is not in the range of the preset velocity parameter.
- the embodiment of the present invention determines a trajectory parameter generated by the user performing a sliding operation on the touch screen of the terminal; determining a velocity parameter of the sliding operation at the preset point; generating the first character string according to the preset manner; determining the Whether the first character string matches the second character string corresponding to the preset trajectory parameter; if yes, determining whether the velocity parameter is in a range corresponding to the preset velocity parameter; and the trajectory parameter and the pre- If the trajectory parameter is successfully matched and the strength parameter is successfully matched with the preset strength parameter, the terminal is unlocked.
- the trajectory parameter and the velocity parameter are respectively matched with the preset trajectory parameter and the preset tempo parameter, so that the unlocking can be performed only when the two are matched, thereby avoiding the user to some extent.
- a numeric password is input, it is easy to be peeped and the problem of leaking is caused, thereby improving the security of the terminal.
- FIG. 3 is a schematic flowchart diagram of a third embodiment of a method for unlocking a terminal according to an embodiment of the present invention.
- the method for unlocking a terminal described in this embodiment includes the following steps:
- the terminal may determine a trajectory parameter generated by the user performing a sliding operation on the touch screen of the terminal.
- the trajectory parameters may include, but are not limited to, a trajectory direction, a total contact area of the trajectory, a positional relationship between the start and end points of the trajectory, a trajectory length, a trajectory pattern, and a trajectory width, and the trajectory parameter may also be generated by a sliding operation.
- the track contains at least one preset point. If it is included, the track parameter is marked with a one-dimensional number, such as: contains point A, denotes 1, and does not include point A, denoted as 0.
- the track width may include, but is not limited to, an average width of the track, a maximum width of the track, a minimum width of the track, an average width of the track in the specified segment, a maximum width of the track in the specified segment, and a track in the specified segment.
- the minimum width of the track; the total contact area of the track is the total contact area of the touch screen of the contact terminal when the user slides the detected track;
- the positional relationship between the start point of the track and the end point of the track may be an overlapping relationship or a starting point of the track and an end point of the track The distance between them meets the preset threshold.
- the terminal may determine a velocity parameter of the sliding operation at the preset point by using the pressure sensor.
- the terminal may determine the average strength of the sliding operation corresponding to the preset point as the velocity parameter at the preset point.
- the velocity parameter of the preset point is a velocity parameter of the preset position on the touch screen or a velocity parameter corresponding to the preset time point
- the preset position may include one or more preset positions
- the preset position may be It is the center of the touch screen or the four corners of the touch screen.
- the preset position may be a location where one or more touch areas of the touch screen are located.
- the preset time point is one of a start sliding time of the sliding operation, an ending sliding time of the sliding operation, and an intermediate sliding time of the sliding operation. Further, the preset time point may be generated by the sliding operation. The track passes the time corresponding to a preset point.
- the velocity parameter of the preset point may be a velocity parameter of a preset point or a velocity parameter of multiple preset points, and the velocity parameter may be a one-dimensional parameter or a multi-dimensional parameter, and the multi-dimensional parameter may include a preset point.
- the multi-dimensional parameter of the sliding force may include, in addition to the sliding force of the preset point, a sliding time after the preset point or a number of times the sliding operation passes the preset point, the one-time sliding operation may detect that the user touches the touch screen to the terminal. The sliding operation of the entire process of leaving the touch screen.
- the terminal may match the trajectory parameter and the preset trajectory parameter, and match the velocity parameter with the preset tempo parameter.
- the terminal may first match the velocity parameter with the preset velocity parameter, and then match the trajectory parameter with the preset trajectory parameter.
- the terminal may first match the track parameter with the preset track parameter, and then match the velocity parameter with the preset velocity parameter.
- trajectory parameter does not match the preset trajectory parameter and/or the velocity parameter does not match the preset tempo parameter, push a preset prompt question to the user, so that the user In the case of providing a valid answer corresponding to the prompt question, the interface to be unlocked is entered.
- the preset prompt question is pushed to the user, and the terminal is The display interface is displayed so that the user enters the interface to be unlocked in the case of providing a valid answer corresponding to the prompt question.
- the preset prompt question may be set when the user sets the trajectory parameter and the velocity parameter to the terminal, and the prompt question may be: the birthday of the terminal owner? Or what is your favorite animal? The user can set an answer when setting a prompt question.
- the terminal performs a lock screen; further, if the user does not answer the question within the preset number of times, the information binding security message is sent to the account bound to the terminal, and the terminal is tied.
- the account number can be: phone number, email address or even instant messaging tools such as QQ or WeChat.
- the embodiment of the invention determines a trajectory parameter generated by the user performing a sliding operation on the touch screen of the terminal; determining a velocity parameter of the sliding operation at the preset point; respectively, the trajectory parameter and the velocity parameter and the preset trajectory parameter and the preset strength The parameter is matched; if the track parameter does not match the preset track parameter and/or the strength parameter does not match the preset strength parameter, a preset prompt question is pushed to the user to enable the user In the case of providing a valid answer corresponding to the prompt question, the interface to be unlocked is entered.
- the trajectory parameter and the velocity parameter are respectively matched with the preset trajectory parameter and the preset tempo parameter, so that if one of the two does not match, the prompt question is pushed to the user to be in the user. In the case of providing the correct answer, the next unlock is entered, thus improving the security of the terminal.
- FIG. 4a is a schematic structural diagram of a first embodiment of a terminal according to an embodiment of the present invention.
- the terminal described in FIG. 4a may include: a first determining unit 401, a second determining unit 402, and a matching unit 403.
- And unlocking unit 404 as follows:
- the first determining unit 401 is configured to determine a trajectory parameter generated by the user performing a sliding operation on the touch screen of the terminal.
- the first determining unit 401 may determine a trajectory parameter generated by the user performing a sliding operation on the touch screen of the terminal.
- the trajectory parameters may include, but are not limited to, a trajectory direction, a total contact area of the trajectory, a positional relationship between the start and end points of the trajectory, a trajectory length, a trajectory pattern, and a trajectory width, and the trajectory parameter may also be generated by a sliding operation.
- the track contains at least one preset point. If it is included, the track parameter is marked with a one-dimensional number. For example, if point A is a preset point, it includes point A, denoted as 1, and does not include point A, and is recorded as 0.
- the track width may include, but is not limited to, an average width of the track, a maximum width of the track, a minimum width of the track, an average width of the track in the specified segment, a maximum width of the track in the specified segment, and a track in the specified segment.
- the minimum width of the track; the total contact area of the track is the total contact area of the touch screen of the contact terminal when the user slides the detected track;
- the positional relationship between the start point of the track and the end point of the track may be an overlapping relationship or a starting point of the track and an end point of the track The distance between them meets the preset threshold.
- the second determining unit 402 is configured to determine a velocity parameter of the sliding operation at a preset point.
- the second determining unit 402 may determine a velocity parameter of the sliding operation at the preset point by using the pressure sensor.
- the second determining unit 402 may determine the average velocity of the sliding operation corresponding to the preset point as the velocity parameter at the preset point.
- the velocity parameter of the preset point is a velocity parameter of the preset position on the touch screen or a velocity parameter corresponding to the preset time point
- the preset position may include one or more preset positions
- the preset position may be It is the center of the touch screen or the four corners of the touch screen.
- the preset position may be a location where one or more touch areas of the touch screen are located.
- the preset time point is one of a start sliding time of the sliding operation, an ending sliding time of the sliding operation, and an intermediate sliding time of the sliding operation. Further, the preset time point may be generated by the sliding operation. The track passes the time corresponding to a preset point.
- the strength parameter of the preset point determined by the second determining unit 402 may be a velocity parameter of a preset point or a velocity parameter of a plurality of preset points
- the velocity parameter may be a one-dimensional parameter or a multi-dimensional parameter
- the multi-dimensional The parameter may be a multi-dimensional parameter including the sliding force of the preset point.
- the sliding time may be included, or the number of times the sliding operation passes the preset point, the one sliding operation may be The terminal detects a sliding operation of the user touching the touch screen to the entire process of leaving the touch screen.
- the matching unit 403 is configured to match the trajectory parameter determined by the first determining unit 401 and the tempo parameter determined by the second determining unit 402 with a preset trajectory parameter and a preset tempo parameter, respectively.
- the matching unit 403 can match the trajectory parameter and the preset trajectory parameter, and match the tempo parameter and the preset tempo parameter.
- the matching unit 403 may first match the velocity parameter and the preset velocity parameter, and then match the trajectory parameter and the preset trajectory parameter.
- the matching unit The 403 can first match the trajectory parameter with the preset trajectory parameter, and then match the tempo parameter with the preset tempo parameter.
- the matching unit 403 may match the trajectory parameter with the preset trajectory parameter, and if yes, match the tempo parameter with the preset tempo parameter.
- the matching unit 403 matches the velocity parameter with the preset velocity parameter, and if yes, matches the trajectory parameter with the preset trajectory parameter.
- the unlocking unit 404 is configured to perform, when the matching unit 403 matches that the trajectory parameter is successfully matched with the preset trajectory parameter, and the strength parameter and the preset tempo parameter are successfully matched, Unlock the operation.
- the unlocking unit 404 may perform an unlocking operation on the terminal if the track parameter and the preset track parameter are successfully matched and the strength parameter and the preset strength parameter are successfully matched.
- the matching unit 403 of the terminal described in FIG. 4a may include: a generating unit 4031, a first determining unit 4032, and a second determining unit 4033, as follows:
- the generating unit 4031 is configured to generate the first character string by using the trajectory parameter in a preset manner.
- the generating unit 4031 may generate the first character string according to a preset manner by using a trajectory parameter generated by the sliding operation.
- the trajectory parameter is a track length, a track width, a track direction, a track length is k1, a track width is k2, and a track is The direction is first to the right, then upward, wherein the encoding mode corresponding to the length of the track is: the track length is greater than 0 and less than the code A1 corresponding to K1, the track length is greater than or equal to K1 and the code corresponding to K2 is A2, and the track length is greater than K2.
- the corresponding code is A3.
- the code corresponding to the track length k1 is A2; the code width corresponding to the track width is: the track width is greater than 0 and smaller than the code B1 corresponding to X1, and the track length is greater than or
- the code corresponding to X1 and less than X2 is B2, the code corresponding to the track length greater than X2 is B3, and the case where k2 is greater than X2, the code corresponding to track length k2 is B3;
- the code of track direction can be: upper 1 and lower 2, the left is 3, the right is 4, the track direction is first to the right, and then the corresponding code is 4+1. Further, the track direction is first left, then down, and finally on, then Code is 1 + 2 + 3, the first string may be referred to as: (A2, B3,4 + 1).
- the first determining unit 4032 is configured to determine whether the first character string generated by the generating unit 4031 matches the second character string corresponding to the preset trajectory parameter.
- the first determining unit 4032 may determine whether the first character string matches the second character string corresponding to the preset trajectory parameter. For example, the first string is (A2, B3, 4+1) and the second string is (A2, B3, 4+1), and the two match.
- the second determining unit 4033 determines whether the strength parameter is in a range corresponding to the preset strength parameter, if the determination result of the first determining unit 4032 is YES.
- the second determining unit 4033 determines whether the velocity parameter is in the range corresponding to the preset velocity parameter. For example, if the velocity parameter is 20 N, and the interval range of the preset velocity parameter is [18, 25], the velocity parameter is in the range of the preset velocity parameter; if the velocity parameter is 5 N, and the interval range of the preset velocity parameter is For [18,25], the velocity parameter is not in the range of the preset velocity parameter.
- the terminal described in FIG. 4a may further include: a pushing unit 405, which is specifically as follows:
- the pushing unit 405 is configured to: when the matching unit 403 matches that the trajectory parameter does not match the preset trajectory parameter and/or the velocity parameter does not match the preset tempo parameter, push the user
- the preset prompt question is such that the user enters the interface to be unlocked in the case of providing a valid answer corresponding to the prompt question.
- the pushing unit 405 can push the preset prompt question to the user, and display the display on the display interface of the terminal, so that the user enters the interface to be unlocked if the valid answer corresponding to the prompt question is provided.
- the preset prompt question may be set when the user sets the trajectory parameter and the velocity parameter to the terminal, and the prompt question may be: the birthday of the terminal owner? Or what is your favorite animal? The user can set an answer when setting a prompt question.
- the terminal performs a lock screen; further, if the user does not answer the question within the preset number of times, the information binding security message is sent to the account bound to the terminal, and the terminal is tied.
- the account number can be: phone number, email address or even instant messaging tools such as QQ or WeChat.
- the terminal described in the embodiment of the present invention may determine that the user performs a sliding operation on the touch screen of the terminal. a generated trajectory parameter; determining a velocity parameter of the sliding operation at a preset point; respectively matching the trajectory parameter and the velocity parameter with a preset trajectory parameter and a preset tempo parameter; wherein the trajectory parameter and the preset If the trajectory parameter is successfully matched and the strength parameter is successfully matched with the preset strength parameter, the terminal is unlocked.
- the trajectory parameter and the velocity parameter are respectively matched with the preset trajectory parameter and the preset tempo parameter, so that the unlocking can be performed only when the two are matched, thereby avoiding the user to some extent.
- FIG. 5 is a schematic structural diagram of a second embodiment of a terminal according to an embodiment of the present invention.
- the terminal described in this embodiment includes: at least one input device 1000; at least one output device 2000; at least one processor 3000, such as a CPU; and a memory 4000, the input device 1000, the output device 2000, the processor 3000, and the memory 4000 Connected via bus 5000.
- the input device 1000 can be a touch panel, a general PC, a liquid crystal screen, a touch screen, a touch button, and the like.
- the above memory 4000 may be a high speed RAM memory or a non-volatile memory such as a disk memory.
- the above memory 4000 is used to store a set of program codes, and the input device 1000, the output device 2000, and the processor 3000 are used to call the program code stored in the memory 4000, and perform the following operations:
- the processor 3000 is configured to:
- the terminal is unlocked.
- the trajectory parameter is at least one of a track direction, a positional relationship between a start point and an end point of the track, a track length, a track pattern, and a track width;
- the velocity parameter of the preset point is a velocity parameter of a preset position on the touch screen or a velocity parameter corresponding to the preset time point, wherein the preset time point is a start sliding time of the sliding operation, One of an end sliding moment of the sliding operation and an intermediate sliding moment of the sliding operation.
- the processor 3000 matches the trajectory parameter and the velocity parameter with the preset trajectory parameter and the preset tempo parameter respectively, specifically:
- the processor 3000 determines a velocity parameter of the sliding operation at a preset point, specifically:
- the average velocity of the sliding operation at the preset point is determined as the velocity parameter at the preset point.
- the processor 3000 respectively matches the trajectory parameter and the tempo parameter with a preset trajectory parameter and a preset tempo parameter, including:
- the processor 3000 respectively matches the trajectory parameter and the tempo parameter with a preset trajectory parameter and a preset tempo parameter, including:
- trajectory parameters are matched with the preset trajectory parameters.
- the processor 3000 matches the trajectory parameter and the velocity parameter with the preset trajectory parameter and the preset tempo parameter, respectively, the processor is further configured to:
- trajectory parameter does not match the preset trajectory parameter and/or the tempo parameter does not match the preset tempo parameter, pushing a preset prompt question to the user, so that the user provides the In the case of prompting the valid answer corresponding to the question, enter the interface to be unlocked.
- the terminal described in the embodiment of the present invention may determine a trajectory parameter generated by a user performing a sliding operation on a touch screen of the terminal; determining a velocity parameter of the sliding operation at a preset point; respectively, the trajectory parameter and the velocity parameter and the preset trajectory
- the parameter is matched with the preset velocity parameter; in the case that the trajectory parameter is successfully matched with the preset trajectory parameter and the velocity parameter and the preset velocity parameter are successfully matched, the terminal is unlocked.
- the trajectory parameter and the velocity parameter are respectively matched with the preset trajectory parameter and the preset tempo parameter, so that the unlocking can be performed only when the two are matched, thereby avoiding the user to some extent. Easy to be peeped when entering a numeric password The problem of leaking, therefore, improves the security of the terminal.
- the embodiment of the present invention further provides a computer storage medium, wherein the computer storage medium can store a program, and the program includes some or all of the steps of the method for unlocking the terminal according to any one of the foregoing method embodiments.
- the disclosed apparatus may be implemented in other ways.
- the device embodiments described above are merely illustrative.
- the division of the above units is only a logical function division. In actual implementation, there may be another division manner. For example, multiple units or components may be combined or integrated. Go to another system, or some features can be ignored or not executed.
- the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, and may be electrical or otherwise.
- the units described above as separate components may or may not be physically separated.
- the components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
- each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
- the above integrated unit can be implemented in the form of hardware or in the form of a software functional unit.
- the above-described integrated unit if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on this understanding, this issue
- the technical solution of the present invention, or all or part of the technical solution, may be embodied in the form of a software product stored in a storage medium, including a plurality of instructions. All or a portion of the steps of the above-described methods of various embodiments of the present invention are performed by a computer device (which may be a personal computer, server or network device, etc., and in particular a processor in a computer device).
- the foregoing storage medium may include: a U disk, a mobile hard disk, a magnetic disk, an optical disk, a read only memory (English: Read-Only Memory, abbreviation: ROM) or a random access memory (English: Random Access Memory, abbreviation: RAM) and other media that can store program code.
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Computer Hardware Design (AREA)
- Software Systems (AREA)
- Human Computer Interaction (AREA)
- Telephone Function (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
一种终端以及终端解锁的方法。该方法包括:确定用户在终端的触摸屏上进行滑动操作产生的轨迹参数(S101);确定所述滑动操作在预设点的力度参数(S102);分别将所述轨迹参数和力度参数与预设轨迹参数和预设力度参数进行匹配(S103);在所述轨迹参数与所述预设轨迹参数匹配成功且所述力度参数与所述预设力度参数匹配成功的情况下,对终端进行解锁操作(S104)。分别将轨迹参数和力度参数与预设轨迹参数和预设力度参数进行匹配,从而,在两者都匹配的情况下,才可以进行解锁,一定程度上避免了用户在输入数字密码时候容易被窥视导致泄密的问题,提高了终端的安全性。
Description
本发明要求2015年8月27日递交的发明名称为“一种终端解锁的方法及终端”的申请号201510536477.6的在先申请优先权,上述在先申请的内容以引入的方式并入本文本中。
本发明实施例涉及电子设备技术领域,尤其涉及到一种终端解锁的方法及终端。
随着科技的发展,终端(如手机、平板电脑、智能穿戴设备等等)越来越普及,同时,功能也越来越强大,已从一种单纯的通信工具演变成为一种集成多功能的电子便携设备,随着终端承载的应用越来越多,其安全性问题也成为用户购买终端时候一个主要衡量指标。
生活中,在对终端进行解密的时候,主流采用不同的数字进行解密,例如,苹果手机,往往采用4位密码,因而,会出现下述情况,用户在输入密码的时候,需要找到正确的数字,然后一个一个输入,这种方式很容易被他人窥视到密码,尤其,在终端的屏幕较大的时候,因此,容易造成密码泄露。
发明内容
本发明实施例提供了一种终端解锁的方法及终端,以期提高终端的安全性。
本发明实施例第一方面公开了一种终端解锁的方法,包括:
确定用户在终端的触摸屏上进行滑动操作产生的轨迹参数;
确定所述滑动操作在预设点的力度参数;
分别将所述轨迹参数和所述力度参数与预设轨迹参数和预设力度参数进行匹配;
在所述轨迹参数与所述预设轨迹参数匹配成功且所述力度参数与所述预
设力度参数匹配成功的情况下,对所述终端进行解锁操作。
结合第一方面,在第一方面的第一种可能的实施方式中,所述轨迹参数为轨迹方向、轨迹的起点和终点之间的位置关系、轨迹长度、轨迹图案、轨迹宽度中的至少一种;
所述预设点的力度参数为所述触摸屏上预设位置的力度参数或者为预设时间点对应的的力度参数,其中,所述预设时间点为所述滑动操作的开始滑动时刻、所述滑动操作的结束滑动时刻和所述滑动操作的中间滑动时刻中的一种。
结合第一方面,在第一方面的第二种可能的实施方式中,所述分别将所述轨迹参数和所述力度参数与预设轨迹参数和预设力度参数进行匹配,包括:
将所述轨迹参数按照预设方式生成第一字符串;
判断所述第一字符串是否与所述预设轨迹参数对应的第二字符串相匹配;
若是,判断所述力度参数是否处于所述预设力度参数对应的区间范围。
结合第一方面或第一方面的第一种可能的实施方式或第一方面的第二种可能的实施方式,在第一方面的第三种可能的实施方式中,所述确定所述滑动操作在预设点的力度参数,包括:
将所述滑动操作在预设点的平均力度确定为在预设点的力度参数。
结合第一方面或第一方面的第一种可能的实施方式或第一方面的第二种可能的实施方式,在第一方面的第四种可能的实施方式中,所述分别将所述轨迹参数和所述力度参数与预设轨迹参数和预设力度参数进行匹配,包括:
将所述轨迹参数与预设轨迹参数进行匹配;
若是,将所述力度参数与预设力度参数进行匹配。
结合第一方面或第一方面的第一种可能的实施方式或第一方面的第二种可能的实施方式,在第一方面的第五种可能的实施方式中,所述分别将所述轨迹参数和所述力度参数与预设轨迹参数和预设力度参数进行匹配,包括:
将所述力度参数与预设力度参数进行匹配
若是,将所述轨迹参数与预设轨迹参数进行匹配。
结合第一方面或第一方面的第一种可能的实施方式或第一方面的第二种可能的实施方式,在第一方面的第六种可能的实施方式中,所述分别将所述轨迹参数和力度参数与预设轨迹参数和预设力度参数进行匹配之后,所述方法还
包括:
在所述轨迹参数与所述预设轨迹参数不匹配和/或所述力度参数与所述预设力度参数不匹配的情况下,向用户推送预设的提示问题,以使用户在提供所述提示问题对应的有效答案的情况下,进入待解锁界面。
本发明实施例第二方面公开了一种终端,包括:
第一确定单元,用于确定用户在终端的触摸屏上进行滑动操作产生的轨迹参数;
第二确定单元,用于确定所述滑动操作在预设点的力度参数;
匹配单元,用于分别将所述第一确定单元确定的轨迹参数和所述第二确定单元确定的力度参数与预设轨迹参数和预设力度参数进行匹配;
解锁单元,用于在所述匹配单元匹配出所述轨迹参数与所述预设轨迹参数匹配成功且所述力度参数与所述预设力度参数匹配成功的情况下,对终端进行解锁操作。
结合第二方面,在第二方面的第一种可能的实施方式中,所述轨迹参数为轨迹方向、轨迹的起点和终点之间的位置关系、轨迹长度、轨迹图案和轨迹宽度中的至少一种;
所述预设点的力度参数为触摸屏上预设位置的力度参数或者为预设时间点对应的的力度参数,其中,所述预设时间点为所述滑动操作的开始滑动时刻、所述滑动操作的结束滑动时刻和所述滑动操作的中间滑动时刻中的一种。
结合第二方面,在第二方面的第二种可能的实施方式中,所述匹配单元包括:
生成单元,用于将所述轨迹参数按照预设方式生成第一字符串;
第一判断单元,用于判断所述生成单元生成的第一字符串是否与所述预设轨迹参数对应的第二字符串相匹配;
第二判断单元,若所述第一判断单元的判断结果为是,判断所述力度参数是否处于所述预设力度参数对应的区间范围。
结合第二方面或第二方面的第一种可能的实施方式或第二方面的第二种可能的实施方式,在第二方面的第三种可能的实施方式中,所述第二确定单元具体用于:
将所述滑动操作在预设点的平均力度确定为在预设点的力度参数。
结合第二方面或第二方面的第一种可能的实施方式或第二方面的第二种可能的实施方式,在第二方面的第四种可能的实施方式中,所述匹配单元具体用于:
将所述轨迹参数与预设轨迹参数进行匹配;若是,将所述力度参数与预设力度参数进行匹配。
结合第二方面或第二方面的第一种可能的实施方式或第二方面的第二种可能的实施方式,在第二方面的第五种可能的实施方式中,所述匹配单元具体用于:
将所述力度参数与预设力度参数进行匹配;若是,将所述轨迹参数与预设轨迹参数进行匹配。
结合第二方面或第二方面的第一种可能的实施方式或第二方面的第二种可能的实施方式,在第二方面的第六种可能的实施方式中,所述终端还包括:
推送单元,用于在所述匹配单元匹配出所述轨迹参数与所述预设轨迹参数不匹配和/或所述力度参数与所述预设力度参数不匹配的情况下,向用户推送预设的提示问题,以使用户在提供所述提示问题对应的有效答案的情况下,进入待解锁界面。
本发明实施例第三方面公开了一种终端,包括:
处理器和存储器;其中,所述处理器通过调用所述存储器中的代码或指令以执行如下步骤:
确定用户在终端的触摸屏上进行滑动操作产生的轨迹参数;
确定所述滑动操作在预设点的力度参数;
分别将所述轨迹参数和所述力度参数与预设轨迹参数和预设力度参数进行匹配;
在所述轨迹参数与所述预设轨迹参数匹配成功且所述力度参数与所述预设力度参数匹配成功的情况下,对所述终端进行解锁操作。
结合第三方面,在第三方面的第一种可能的实施方式中,所述轨迹参数为轨迹方向、轨迹的起点和终点之间的位置关系、轨迹长度、轨迹图案和轨迹宽度中的至少一种;
所述预设点的力度参数为所述触摸屏上预设位置的力度参数或者为预设时间点对应的的力度参数,其中,所述预设时间点为所述滑动操作的开始滑动时刻、所述滑动操作的结束滑动时刻和所述滑动操作的中间滑动时刻中的一种。
结合第三方面,在第三方面的第二种可能的实施方式中,所述分别将所述轨迹参数和所述力度参数与预设轨迹参数和预设力度参数进行匹配,包括:
将所述轨迹参数按照预设方式生成第一字符串;
判断所述第一字符串是否与所述预设轨迹参数对应的第二字符串相匹配;
若是,判断所述力度参数是否处于所述预设力度参数对应的区间范围。
结合第三方面或第三方面的第一种可能的实施方式或第三方面的第二种可能的实施方式,在第三方面的第三种可能的实施方式中,所述确定所述滑动操作在预设点的力度参数,包括:
将所述滑动操作在预设点的平均力度确定为在预设点的力度参数。
结合第三方面或第三方面的第一种可能的实施方式或第三方面的第二种可能的实施方式,在第三方面的第四种可能的实施方式中,所述分别将所述轨迹参数和所述力度参数与预设轨迹参数和预设力度参数进行匹配,包括:
将所述轨迹参数与预设轨迹参数进行匹配;
若是,将所述力度参数与预设力度参数进行匹配。
结合第三方面或第三方面的第一种可能的实施方式或第三方面的第二种可能的实施方式,在第三方面的第五种可能的实施方式中,所述分别将所述轨迹参数和所述力度参数与预设轨迹参数和预设力度参数进行匹配,包括:
将所述力度参数与预设力度参数进行匹配
若是,将所述轨迹参数与预设轨迹参数进行匹配。
结合第三方面或第三方面的第一种可能的实施方式或第三方面的第二种可能的实施方式,在第三方面的第六种可能的实施方式中,所述分别将所述轨迹参数和力度参数与预设轨迹参数和预设力度参数进行匹配之后,所述处理器还具体用于:
在所述轨迹参数与所述预设轨迹参数不匹配和/或所述力度参数与所述预设力度参数不匹配的情况下,向用户推送预设的提示问题,以使所述用户在提供所述提示问题对应的有效答案的情况下,进入待解锁界面。
本发明实施例第四方面提供了一种计算机存储介质,所述计算机存储介质中存储有计算机可执行指令,所述计算机可执行指令用于执行如本发明实施例第一方面及中所描述的部分或全部步骤。
实施本发明实施例,具有如下有益效果:
本发明实施例确定用户在终端的触摸屏上进行滑动操作产生的轨迹参数;确定所述滑动操作在预设点的力度参数;分别将所述轨迹参数和力度参数与预设轨迹参数和预设力度参数进行匹配;在所述轨迹参数与所述预设轨迹参数匹配成功且所述力度参数与所述预设力度参数匹配成功的情况下,对终端进行解锁操作。采用本发明实施例,可分别将轨迹参数和力度参数与预设轨迹参数和预设力度参数进行匹配,从而,在两者都匹配的情况下,才可以进行解锁,一定程度上避免了用户在输入数字密码时候容易被窥视导致泄密的问题,因此,提高了终端的安全性。
为了更清楚地说明本发明实施例中的技术方案,下面将对实施例、描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明实施例的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。
图1为本发明实施例提供的一种终端解锁的方法的第一实施例的流程示意图;
图2为本发明实施例提供的一种终端解锁的方法的第二实施例的流程示意图;
图3为本发明实施例提供的一种终端解锁的方法的第三实施例的流程示意图;
图4a为本发明实施例提供的一种终端的第一实施例的结构示意图;
图4b为本发明实施例提供的一种终端的第一实施例的又一结构示意图;
图4c为本发明实施例提供的一种终端的第一实施例的又一结构示意图;
图5为本发明实施例提供的一种终端的第二实施例的结构示意图。
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明实施例一部分实施例,而不是全部的实施例。基于本发明实施例中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明实施例保护的范围。
实现中,本发明实施例中,终端可以包括但不限于:笔记本电脑、手机、平板电脑、智能可穿戴设备等等。终端的系统指设备的操作系统,可以包括但不限于:Android系统、塞班系统、Windows系统、IOS(苹果公司开发的移动操作系统)等等。需要说明的是,Android终端指Android系统的终端,塞班终端指塞班系统的终端,等等。上述终端仅是举例,而非穷举,包含但不限于上述终端。
本发明实施例结合图1至图5对本发明实施例提供的一种终端解锁的方法及终端进行描述。
请参阅图1,图1是本发明实施例提供的一种终端解锁的方法的第一实施例流程示意图。本实施例中所描述的终端解锁的方法,包括以下步骤:
S101、确定用户在终端的触摸屏上进行滑动操作产生的轨迹参数。
具体实现中,在终端处于待解锁且触摸屏被唤醒的状态下,终端可确定用户在终端的触摸屏上进行滑动操作产生的轨迹参数。
可选地,轨迹参数可包括但不仅限于:轨迹方向、轨迹的总接触面积、轨迹的起点和终点之间的位置关系、轨迹长度、轨迹图案和轨迹宽度,轨迹参数还可以为滑动操作产生的轨迹是否包含至少一个预设点,若包含,则轨迹参数中采用一维数字进行标记,例如,点A为预设点,则包含点A,记作1,不包含点A,记作0。
进一步可选地,其中,轨迹宽度可包括但不仅限于:轨迹的平均宽度、轨迹的最大宽度、轨迹的最小宽度、轨迹在指定段的平均宽度、轨迹在指定段的最大宽度和轨迹在指定段的最小宽度;轨迹的总接触面积为终端检测到的用户滑动轨迹时候接触终端的触摸屏的总接触面积;轨迹的起点和轨迹的终点的位置关系可为重叠关系或者轨迹的起点和轨迹的终点之间的距离满足预设阈值。
S102、确定所述滑动操作在预设点的力度参数。
具体实现中,终端可确定滑动操作在预设点的力度参数。
可选地,终端可将预设点对应的滑动操作的平均力度确定为在预设点的力度参数。
可选地,预设点的力度参数为触摸屏上预设位置的力度参数或者为预设时间点对应的的力度参数,该预设位置可包括1个或者多个预设位置,预设位置可为触摸屏的中心位置或者触摸屏的四个角。进一步地,预设位置可为触摸屏的一个或者多个触摸区域所在的位置。
进一步可选地,预设时间点为滑动操作的开始滑动时刻、滑动操作的结束滑动时刻和滑动操作的中间滑动时刻中的一种,进一步地,预设时间点可为滑动操作产生的轨迹经过某个预设点对应的时刻。
进一步可选地,预设点的力度参数可为一个预设点的力度参数或者多个预设点的力度参数,该力度参数可为一维参数或者多维参数,多维参数可为包含预设点的滑动力度的多维参数,除预设点的滑动力度外,还可以包括经过预设点的滑动时间或者一次滑动操作经过预设点的次数,该一次滑动操作可为终端检测到用户接触触摸屏到离开触摸屏的整个过程的滑动操作。
S103、分别将所述轨迹参数和所述力度参数与预设轨迹参数和预设力度参数进行匹配。
具体实现中,终端可将轨迹参数和预设轨迹参数进行匹配,将力度参数和预设力度参数进行匹配。可选地,若预设点为滑动操作的开始时刻,终端可先将力度参数和预设力度参数进行匹配,然后,将轨迹参数和预设轨迹参数进行匹配。可选地,若预设点为滑动操作的结束时刻,终端可先将轨迹参数和预设轨迹参数进行匹配,然后,将力度参数和预设力度参数进行匹配。
可选地,可先将轨迹参数与预设轨迹参数进行匹配,若匹配成功,则再将力度参数与预设力度参数进行匹配。或者,可先将力度参数与预设力度参数进行匹配,若匹配成功,再将轨迹参数与预设轨迹参数进行匹配。采用两次参数匹配,可减小误操作概率和加大解锁难度。
S104、在所述轨迹参数与所述预设轨迹参数匹配成功且所述力度参数与所述预设力度参数匹配成功的情况下,对所述终端进行解锁操作。
本发明实施例确定用户在终端的触摸屏上进行滑动操作产生的轨迹参数;确定所述滑动操作在预设点的力度参数;分别将所述轨迹参数和力度参数与预设轨迹参数和预设力度参数进行匹配;在所述轨迹参数与所述预设轨迹参数匹配成功且所述力度参数与所述预设力度参数匹配成功的情况下,对终端进行解锁操作。采用本发明实施例,可分别将轨迹参数和力度参数与预设轨迹参数和预设力度参数进行匹配,从而,在两者都匹配的情况下,才可以进行解锁,一定程度上避免了用户在输入数字密码时候容易被窥视导致泄密的问题,因此,提高了终端的安全性。
请参阅图2,图2是本发明实施例提供的一种终端解锁的方法的第二实施例流程示意图。本实施例中所描述的终端解锁的方法,包括以下步骤:
S201、确定用户在终端的触摸屏上进行滑动操作产生的轨迹参数。
具体实现中,在终端处于待解锁且触摸屏被唤醒的状态下,终端可确定用户在终端的触摸屏上进行滑动操作产生的轨迹参数。
可选地,轨迹参数可包括但不仅限于:轨迹方向、轨迹的总接触面积、轨迹的起点和终点之间的位置关系、轨迹长度、轨迹图案和轨迹宽度,轨迹参数还可为滑动操作产生的轨迹是否包含至少一个预设点,若包含,则轨迹参数中采用一维数字进行标记,例如:包含点A,记作1,不包含点A,记作0。
进一步可选地,其中,轨迹宽度可包括但不仅限于:轨迹的平均宽度、轨迹的最大宽度、轨迹的最小宽度、轨迹在指定段的平均宽度、轨迹在指定段的最大宽度和轨迹在指定段的最小宽度;轨迹的总接触面积为终端检测到的用户滑动轨迹时候接触终端的触摸屏的总接触面积;轨迹的起点和轨迹的终点的位置关系可为重叠关系或者轨迹的起点和轨迹的终点之间的距离满足预设阈值。
S202、确定所述滑动操作在预设点的力度参数。
具体实现中,终端可通过压力传感器确定滑动操作在预设点的力度参数。
可选地,终端可将预设点对应的滑动操作的平均力度确定为在预设点的力度参数。
可选地,预设点的力度参数为触摸屏上预设位置的力度参数或者为预设时间点对应的的力度参数,该预设位置可包括1个或者多个预设位置,预设位置可为触摸屏的中心位置或者触摸屏的四个角。进一步地,预设位置可为触摸屏
的一个或者多个触摸区域所在的位置。
进一步可选地,预设时间点为滑动操作的开始滑动时刻、所述滑动操作的结束滑动时刻和滑动操作的中间滑动时刻中的一种,进一步地,预设时间点可为滑动操作产生的轨迹经过某个预设点对应的时刻。
进一步可选地,预设点的力度参数可为一个预设点的力度参数或者多个预设点的力度参数,该力度参数可为一维参数或者多维参数,多维参数可为包含预设点的滑动力度的多维参数,除预设点的滑动力度外,还可以包括经过预设点的滑动时间或者一次滑动操作经过预设点的次数,该一次滑动操作可为终端检测到用户接触触摸屏到离开触摸屏的整个过程的滑动操作。
S203、将所述轨迹参数按照预设方式生成第一字符串。
具体实现中,终端可将滑动操作产生的轨迹参数按照预设方式生成第一字符串,例如,轨迹参数为轨迹长度、轨迹宽度或轨迹方向,轨迹长度为k1,轨迹宽度为k2,轨迹方向为先向右,然后向上,其中,轨迹长度对应的编码方式为:轨迹长度大于0且小于K1对应的编码A1,轨迹长度大于或等于K1且小于K2对应的编码为A2,轨迹长度大于K2对应的编码为A3,在k1大于K1且小于K2的情况下,轨迹长度k1对应的编码为A2;轨迹宽度对应的编码方式为:轨迹宽度大于0且小于X1对应的编码B1,轨迹长度大于或等于X1且小于X2对应的编码为B2,轨迹长度大于X2对应的编码为B3,在k2大于X2情况下,轨迹长度k2对应的编码为B3;轨迹方向的编码可为:上为1,下为2,左为3,右为4,轨迹方向为先向右,然后向上对应的编码为4+1,进一步地,轨迹方向先左、再下,最后上,则对应的编码为3+2+1,第一字符串可记作:(A2,B3,4+1)。
S204、判断所述第一字符串是否与所述预设轨迹参数对应的第二字符串相匹配。
具体实现中,终端可判断第一字符串是否与预设轨迹参数对应的第二字符串相匹配。例如,第一字符串为(A2,B3,4+1),第二字符串为(A2,B3,4+1),则两者相匹配。
S205、若是,判断所述力度参数是否处于预设力度参数对应的区间范围。
具体实现中,若判断出第一字符串与预设轨迹参数对应的第二字符串相匹
配,则判断力度参数是否处于预设力度参数对应的区间范围,例如,力度参数为20牛,而预设力度参数的区间范围为[18,25],则力度参数处于预设力度参数的区间范围;若力度参数为5牛,而预设力度参数的区间范围为[18,25],则力度参数不处于预设力度参数的区间范围。
S206、若是,对所述终端进行解锁操作。
本发明实施例确定用户在终端的触摸屏上进行滑动操作产生的轨迹参数;确定所述滑动操作在预设点的力度参数;将所述轨迹参数按照预设方式生成第一字符串;判断所述第一字符串是否与所述预设轨迹参数对应的第二字符串相匹配;若是,判断所述力度参数是否处于所述预设力度参数对应的区间范围;在所述轨迹参数与所述预设轨迹参数匹配成功且所述力度参数与所述预设力度参数匹配成功的情况下,对终端进行解锁操作。采用本发明实施例,可分别将轨迹参数和力度参数与预设轨迹参数和预设力度参数进行匹配,从而,在两者都匹配的情况下,才可以进行解锁,一定程度上避免了用户在输入数字密码时候容易被窥视导致泄密的问题,因此,提高了终端的安全性。
请参阅图3,图3是本发明实施例提供的一种终端解锁的方法的第三实施例流程示意图。本实施例中所描述的终端解锁的方法,包括以下步骤:
S301、确定用户在终端的触摸屏上进行滑动操作产生的轨迹参数。
具体实现中,在终端处于待解锁且触摸屏被唤醒的状态下,终端可确定用户在终端的触摸屏上进行滑动操作产生的轨迹参数。
可选地,轨迹参数可包括但不仅限于:轨迹方向、轨迹的总接触面积、轨迹的起点和终点之间的位置关系、轨迹长度、轨迹图案和轨迹宽度,轨迹参数还可以为滑动操作产生的轨迹是否包含至少一个预设点,若包含,,则轨迹参数中采用一维数字进行标记,如:包含点A,记作1,不包含点A,记作0。
进一步可选地,其中,轨迹宽度可包括但不仅限于:轨迹的平均宽度、轨迹的最大宽度、轨迹的最小宽度、轨迹在指定段的平均宽度、轨迹在指定段的最大宽度和轨迹在指定段的最小宽度;轨迹的总接触面积为终端检测到的用户滑动轨迹时候接触终端的触摸屏的总接触面积;轨迹的起点和轨迹的终点的位置关系可为重叠关系或者轨迹的起点和轨迹的终点之间的距离满足预设阈值。
S302、确定所述滑动操作在预设点的力度参数。
具体实现中,终端可通过压力传感器确定滑动操作在预设点的力度参数。
可选地,终端可将预设点对应的滑动操作的平均力度确定为在预设点的力度参数。
可选地,预设点的力度参数为触摸屏上预设位置的力度参数或者为预设时间点对应的的力度参数,该预设位置可包括1个或者多个预设位置,预设位置可为触摸屏的中心位置或者触摸屏的四个角。进一步地,预设位置可为触摸屏的一个或者多个触摸区域所在的位置。
进一步可选地,预设时间点为滑动操作的开始滑动时刻、所述滑动操作的结束滑动时刻和滑动操作的中间滑动时刻中的一种,进一步地,预设时间点可为滑动操作产生的轨迹经过某个预设点对应的时刻。
进一步可选地,预设点的力度参数可为一个预设点的力度参数或者多个预设点的力度参数,该力度参数可为一维参数或者多维参数,多维参数可为包含预设点的滑动力度的多维参数,除预设点的滑动力度外,还可以包括经过预设点的滑动时间或者一次滑动操作经过预设点的次数,该一次滑动操作可为终端检测到用户接触触摸屏到离开触摸屏的整个过程的滑动操作。
S303、分别将所述轨迹参数和所述力度参数与预设轨迹参数和预设力度参数进行匹配。
具体实现中,终端可将轨迹参数和预设轨迹参数进行匹配,将力度参数和预设力度参数进行匹配。可选地,若预设点为滑动操作的开始时刻,终端可先将力度参数和预设力度参数进行匹配,然后,将轨迹参数和预设轨迹参数进行匹配。可选地,若预设点为滑动操作的结束时刻,终端可先将轨迹参数和预设轨迹参数进行匹配,然后,将力度参数和预设力度参数进行匹配。
S304、在所述轨迹参数与所述预设轨迹参数不匹配和/或所述力度参数与所述预设力度参数不匹配的情况下,向用户推送预设的提示问题,以使所述用户在提供所述提示问题对应的有效答案的情况下,进入待解锁界面。
具体实现中,在轨迹参数与预设轨迹参数不匹配、力度参数与所述预设力度参数不匹配的情况下,或者,在轨迹参数与预设轨迹参数不匹配和力度参数与所述预设力度参数不匹配的情况下,向用户推送预设的提示问题,并在终端
的显示界面上进行展示,以使用户在提供提示问题对应的有效答案的情况下,进入待解锁界面。该预设的提示问题可在用户在对终端设置轨迹参数和力度参数进行加密的时候进行设置,该提示问题可为:终端主人的生日?或者,最喜欢的动物是什么?用户在设置提示问题的时候,可设置答案。进一步地,倘若用户在预设时间内未回答出问题,终端进行锁屏;进一步地,倘若用户在预设次数内未回答出问题,向该终端绑定的账号发送信息安全提示短信,终端绑定的账号可为:电话号码、邮箱甚至QQ或者微信等即时通讯工具。
本发明实施例确定用户在终端的触摸屏上进行滑动操作产生的轨迹参数;确定所述滑动操作在预设点的力度参数;分别将所述轨迹参数和力度参数与预设轨迹参数和预设力度参数进行匹配;在所述轨迹参数与所述预设轨迹参数不匹配和/或所述力度参数与所述预设力度参数不匹配的情况下,向用户推送预设的提示问题,以使用户在提供所述提示问题对应的有效答案的情况下,进入待解锁界面。采用本发明实施例,可分别将轨迹参数和力度参数与预设轨迹参数和预设力度参数进行匹配,从而,在两者中有一个不匹配的情况下,向用户推送提示问题,以在用户提供正确的答案情况下,进入下一次解锁,因此,提高了终端的安全性。
请参见图4a,图4a为本发明实施例提供的一种终端的第一实施例的结构示意图,图4a所描述的终端可包括:第一确定单元401、第二确定单元402、匹配单元403和解锁单元404,具体如下:
第一确定单元401,用于确定用户在终端的触摸屏上进行滑动操作产生的轨迹参数。
具体实现中,在终端处于待解锁且触摸屏被唤醒的状态下,第一确定单元401可确定用户在终端的触摸屏上进行滑动操作产生的轨迹参数。
可选地,轨迹参数可包括但不仅限于:轨迹方向、轨迹的总接触面积、轨迹的起点和终点之间的位置关系、轨迹长度、轨迹图案和轨迹宽度,轨迹参数还可以为滑动操作产生的轨迹是否包含至少一个预设点,若包含,则轨迹参数中采用一维数字进行标记,例如,点A为预设点,则包含点A,记作1,不包含点A,记作0。
进一步可选地,其中,轨迹宽度可包括但不仅限于:轨迹的平均宽度、轨迹的最大宽度、轨迹的最小宽度、轨迹在指定段的平均宽度、轨迹在指定段的最大宽度和轨迹在指定段的最小宽度;轨迹的总接触面积为终端检测到的用户滑动轨迹时候接触终端的触摸屏的总接触面积;轨迹的起点和轨迹的终点的位置关系可为重叠关系或者轨迹的起点和轨迹的终点之间的距离满足预设阈值。
第二确定单元402,用于确定所述滑动操作在预设点的力度参数。
具体实现中,第二确定单元402可通过压力传感器确定滑动操作在预设点的力度参数。
可选地,第二确定单元402可将预设点对应的滑动操作的平均力度确定为在预设点的力度参数。
可选地,预设点的力度参数为触摸屏上预设位置的力度参数或者为预设时间点对应的的力度参数,该预设位置可包括1个或者多个预设位置,预设位置可为触摸屏的中心位置或者触摸屏的四个角。进一步地,预设位置可为触摸屏的一个或者多个触摸区域所在的位置。
进一步可选地,预设时间点为滑动操作的开始滑动时刻、所述滑动操作的结束滑动时刻和滑动操作的中间滑动时刻中的一种,进一步地,预设时间点可为滑动操作产生的轨迹经过某个预设点对应的时刻。
进一步可选地,第二确定单元402确定的预设点的力度参数可为一个预设点的力度参数或者多个预设点的力度参数,该力度参数可为一维参数或者多维参数,多维参数可为包含预设点的滑动力度的多维参数,除预设点的滑动力度外,还可以包括经过预设点的滑动时间或者一次滑动操作经过预设点的次数,该一次滑动操作可为终端检测到用户接触触摸屏到离开触摸屏的整个过程的滑动操作。
匹配单元403,用于分别将所述第一确定单元401确定的轨迹参数和所述第二确定单元402确定的力度参数与预设轨迹参数和预设力度参数进行匹配。
具体实现中,匹配单元403可将轨迹参数和预设轨迹参数进行匹配和力度参数和预设力度参数进行匹配。可选地,若预设点为滑动操作的开始时刻,匹配单元403可先将力度参数和预设力度参数进行匹配,然后,将轨迹参数和预设轨迹参数进行匹配。可选地,若预设点为滑动操作的结束时刻,匹配单元
403可先将轨迹参数和预设轨迹参数进行匹配,然后,将力度参数和预设力度参数进行匹配。
可选地,匹配单元403可将所述轨迹参数与预设轨迹参数进行匹配,若是,将所述力度参数与预设力度参数进行匹配。
可选地,匹配单元403将所述力度参数与预设力度参数进行匹配,若是,将所述轨迹参数与预设轨迹参数进行匹配。
解锁单元404,用于在所述匹配单元403匹配出所述轨迹参数与所述预设轨迹参数匹配成功且所述力度参数与所述预设力度参数匹配成功的情况下,对所述终端进行解锁操作。
具体实现中,解锁单元404可在轨迹参数与预设轨迹参数匹配成功且力度参数与预设力度参数匹配成功的情况下,对终端进行解锁操作。
作为一种可能的实施方式,如图4b所示,图4a中所描述的终端的匹配单元403可包括:生成单元4031、第一判断单元4032和第二判断单元4033,具体如下:
生成单元4031,用于将所述轨迹参数按照预设方式生成第一字符串。
具体实现中,生成单元4031可将滑动操作产生的轨迹参数按照预设方式生成第一字符串,例如,轨迹参数为轨迹长度、轨迹宽度、轨迹方向,轨迹长度为k1,轨迹宽度为k2,轨迹方向为先向右,然后向上,其中,轨迹长度对应的编码方式为:轨迹长度大于0且小于K1对应的编码A1,轨迹长度大于或等于K1且小于K2对应的编码为A2,轨迹长度大于K2对应的编码为A3,在k1大于K1且小于K2的情况下,轨迹长度k1对应的编码为A2;轨迹宽度对应的编码方式为:轨迹宽度大于0且小于X1对应的编码B1,轨迹长度大于或等于X1且小于X2对应的编码为B2,轨迹长度大于X2对应的编码为B3,在k2大于X2情况下,轨迹长度k2对应的编码为B3;轨迹方向的编码可为:上为1,下为2,左为3,右为4,轨迹方向为先向右,然后向上对应的编码为4+1,进一步地,轨迹方向先左、再下,最后上,则对应的编码为3+2+1,第一字符串可记作:(A2,B3,4+1)。
第一判断单元4032,用于判断所述生成单元4031生成的第一字符串是否与所述预设轨迹参数对应的第二字符串相匹配。
具体实现中,第一判断单元4032可判断第一字符串是否与预设轨迹参数对应的第二字符串相匹配。例如,第一字符串为(A2,B3,4+1),第二字符串为(A2,B3,4+1),则两者相匹配。
第二判断单元4033,若所述第一判断单元4032的判断结果为是,判断所述力度参数是否处于所述预设力度参数对应的区间范围。
具体实现中,若第一判断单元4032判断出第一字符串与预设轨迹参数对应的第二字符串相匹配,则第二判断单元4033判断力度参数是否处于预设力度参数对应的区间范围,例如,力度参数为20牛,而预设力度参数的区间范围为[18,25],则力度参数处于预设力度参数的区间范围;若力度参数为5牛,而预设力度参数的区间范围为[18,25],则力度参数不处于预设力度参数的区间范围。
作为一种可能的实施方式,如图4c所示,图4a中所描述的终端还可进一步包括:推送单元405,具体如下:
推送单元405,用于在所述匹配单元403匹配出所述轨迹参数与所述预设轨迹参数不匹配和/或所述力度参数与所述预设力度参数不匹配的情况下,向用户推送预设的提示问题,以使用户在提供所述提示问题对应的有效答案的情况下,进入待解锁界面。
具体实现中,在轨迹参数与预设轨迹参数不匹配、力度参数与所述预设力度参数不匹配的情况下,或者,在轨迹参数与预设轨迹参数不匹配和力度参数与所述预设力度参数不匹配的情况下,推送单元405可向用户推送预设的提示问题,并在终端的显示界面上进行展示,以使用户在提供提示问题对应的有效答案的情况下,进入待解锁界面。该预设的提示问题可在用户在对终端设置轨迹参数和力度参数进行加密的时候进行设置,该提示问题可为:终端主人的生日?或者,最喜欢的动物是什么?用户在设置提示问题的时候,可设置答案。进一步地,倘若用户在预设时间内未回答出问题,终端进行锁屏;进一步地,倘若用户在预设次数内未回答出问题,向该终端绑定的账号发送信息安全提示短信,终端绑定的账号可为:电话号码、邮箱甚至QQ或者微信等即时通讯工具。
本发明实施例所描述的终端可确定用户在终端的触摸屏上进行滑动操作
产生的轨迹参数;确定所述滑动操作在预设点的力度参数;分别将所述轨迹参数和力度参数与预设轨迹参数和预设力度参数进行匹配;在所述轨迹参数与所述预设轨迹参数匹配成功且所述力度参数与所述预设力度参数匹配成功的情况下,对终端进行解锁操作。采用本发明实施例,可分别将轨迹参数和力度参数与预设轨迹参数和预设力度参数进行匹配,从而,在两者都匹配的情况下,才可以进行解锁,一定程度上避免了用户在输入数字密码时候容易被窥视导致泄密的问题,因此,提高了终端的安全性。
请参阅图5,图5为本发明实施例提供的一种终端的第二实施例的结构示意图。本实施例中所描述的终端包括:至少一个输入设备1000;至少一个输出设备2000;至少一个处理器3000,例如CPU;和存储器4000,上述输入设备1000、输出设备2000、处理器3000和存储器4000通过总线5000连接。
其中,上述输入设备1000可为触控面板、普通PC、液晶屏、触控屏、触控按钮等。
上述存储器4000可以是高速RAM存储器,也可为非不稳定的存储器(non-volatile memory),例如磁盘存储器。上述存储器4000用于存储一组程序代码,上述输入设备1000、输出设备2000和处理器3000用于调用存储器4000中存储的程序代码,执行如下操作:
上述处理器3000,用于:
确定用户在终端的触摸屏上进行滑动操作产生的轨迹参数;
确定所述滑动操作在预设点的力度参数;
分别将所述轨迹参数和力度参数与预设轨迹参数和预设力度参数进行匹配;
在所述轨迹参数与所述预设轨迹参数匹配成功且所述力度参数与所述预设力度参数匹配成功的情况下,对终端进行解锁操作。
作为一种可能的实施方式,所述轨迹参数为轨迹方向、轨迹的起点和终点之间的位置关系、轨迹长度、轨迹图案和轨迹宽度中的至少一种;
所述预设点的力度参数为触摸屏上预设位置的力度参数或者为预设时间点对应的的力度参数,其中,所述预设时间点为所述滑动操作的开始滑动时刻、
所述滑动操作的结束滑动时刻和所述滑动操作的中间滑动时刻中的一种。
作为一种可能的实施方式,上述处理器3000分别将所述轨迹参数和力度参数与预设轨迹参数和预设力度参数进行匹配,具体为:
将所述轨迹参数按照预设方式生成第一字符串;
判断所述第一字符串是否与所述预设轨迹参数对应的第二字符串相匹配;
若是,判断所述力度参数是否处于所述预设力度参数对应的区间范围。
作为一种可能的实施方式,上述处理器3000确定所述滑动操作在预设点的力度参数,具体为:
将所述滑动操作在预设点的平均力度确定为在预设点的力度参数。
作为一种可能的实施方式,上述处理器3000分别将所述轨迹参数和所述力度参数与预设轨迹参数和预设力度参数进行匹配,包括:
将所述轨迹参数与预设轨迹参数进行匹配;
若是,将所述力度参数与预设力度参数进行匹配。
作为一种可能的实施方式,上述处理器3000分别将所述轨迹参数和所述力度参数与预设轨迹参数和预设力度参数进行匹配,包括:
将所述力度参数与预设力度参数进行匹配
若是,将所述轨迹参数与预设轨迹参数进行匹配。
作为一种可能的实施方式,上述处理器3000分别将所述轨迹参数和力度参数与预设轨迹参数和预设力度参数进行匹配之后,还具体用于:
在所述轨迹参数与所述预设轨迹参数不匹配和/或所述力度参数与所述预设力度参数不匹配的情况下,向用户推送预设的提示问题,以使用户在提供所述提示问题对应的有效答案的情况下,进入待解锁界面。
本发明实施例所描述的终端可确定用户在终端的触摸屏上进行滑动操作产生的轨迹参数;确定所述滑动操作在预设点的力度参数;分别将所述轨迹参数和力度参数与预设轨迹参数和预设力度参数进行匹配;在所述轨迹参数与所述预设轨迹参数匹配成功且所述力度参数与所述预设力度参数匹配成功的情况下,对终端进行解锁操作。采用本发明实施例,可分别将轨迹参数和力度参数与预设轨迹参数和预设力度参数进行匹配,从而,在两者都匹配的情况下,才可以进行解锁,一定程度上避免了用户在输入数字密码时候容易被窥视导致
泄密的问题,因此,提高了终端的安全性。
本发明实施例还提供一种计算机存储介质,其中,该计算机存储介质可存储有程序,该程序执行时包括上述方法实施例中记载的任意一种终端解锁的方法的部分或全部步骤。
在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述的部分,可以参见其他实施例的相关描述。
需要说明的是,对于前述的各方法实施例,为了简单描述,故将其都表述为一系列的动作组合,但是本领域技术人员应该知悉,本发明并不受所描述的动作顺序的限制,因为依据本发明,某些步骤可能可以采用其他顺序或者同时进行。其次,本领域技术人员也应该知悉,说明书中所描述的实施例均属于优选实施例,所涉及的动作和模块并不一定是本发明所必须的。
在本申请所提供的几个实施例中,应该理解到,所揭露的装置,可通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如上述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性或其它的形式。
上述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。
另外,在本发明各实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。
上述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本发
明的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以为个人计算机、服务器或者网络设备等,具体可以是计算机设备中的处理器)执行本发明各个实施例上述方法的全部或部分步骤。其中,而前述的存储介质可包括:U盘、移动硬盘、磁碟、光盘、只读存储器(英文:Read-Only Memory,缩写:ROM)或者随机存取存储器(英文:Random Access Memory,缩写:RAM)等各种可以存储程序代码的介质。
以上所述,以上实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的精神和范围。
Claims (22)
- 一种终端解锁的方法,其特征在于,所述方法包括:确定用户在终端的触摸屏上进行滑动操作产生的轨迹参数;确定所述滑动操作在预设点的力度参数;分别将所述轨迹参数和所述力度参数与预设轨迹参数和预设力度参数进行匹配;在所述轨迹参数与所述预设轨迹参数匹配成功且所述力度参数与所述预设力度参数匹配成功的情况下,对所述终端进行解锁操作。
- 如权利要求1所述的方法,其特征在于,所述轨迹参数为轨迹方向、轨迹的起点和终点之间的位置关系、轨迹长度、轨迹图案和轨迹宽度中的至少一种;所述预设点的力度参数为所述触摸屏上预设位置的力度参数或者为预设时间点对应的的力度参数,其中,所述预设时间点为所述滑动操作的开始滑动时刻、所述滑动操作的结束滑动时刻和所述滑动操作的中间滑动时刻中的一种。
- 如权利要求1所述的方法,其特征在于,所述分别将所述轨迹参数和所述力度参数与预设轨迹参数和预设力度参数进行匹配,包括:将所述轨迹参数按照预设方式生成第一字符串;判断所述第一字符串是否与所述预设轨迹参数对应的第二字符串相匹配;若是,判断所述力度参数是否处于所述预设力度参数对应的区间范围。
- 如权利要求1至3任一项所述的方法,其特征在于,所述确定所述滑动操作在预设点的力度参数,包括:将所述滑动操作在预设点的平均力度确定为在预设点的力度参数。
- 如权利要求1至3任一项所述的方法,其特征在于,所述分别将所述 轨迹参数和所述力度参数与预设轨迹参数和预设力度参数进行匹配,包括:将所述轨迹参数与预设轨迹参数进行匹配;若是,将所述力度参数与预设力度参数进行匹配。
- 如权利要求1至3任一项所述的方法,其特征在于,所述分别将所述轨迹参数和所述力度参数与预设轨迹参数和预设力度参数进行匹配,包括:将所述力度参数与预设力度参数进行匹配;若是,将所述轨迹参数与预设轨迹参数进行匹配。
- 如权利要求1至3任一项所述的方法,其特征在于,所述分别将所述轨迹参数和所述力度参数与预设轨迹参数和预设力度参数进行匹配之后,所述方法还包括:在所述轨迹参数与所述预设轨迹参数不匹配和/或所述力度参数与所述预设力度参数不匹配的情况下,向用户推送预设的提示问题,以使所述用户在提供所述提示问题对应的有效答案的情况下,进入待解锁界面。
- 一种终端,其特征在于,所述终端包括:第一确定单元,用于确定用户在终端的触摸屏上进行滑动操作产生的轨迹参数;第二确定单元,用于确定所述滑动操作在预设点的力度参数;匹配单元,用于分别将所述第一确定单元确定的轨迹参数和所述第二确定单元确定的力度参数与预设轨迹参数和预设力度参数进行匹配;解锁单元,用于在所述匹配单元匹配出所述轨迹参数与所述预设轨迹参数匹配成功且所述力度参数与所述预设力度参数匹配成功的情况下,对所述终端进行解锁操作。
- 如权利要求8所述的终端,其特征在于,所述轨迹参数为轨迹方向、轨迹的起点和终点之间的位置关系、轨迹长度、轨迹图案和轨迹宽度中的至少一 种;所述预设点的力度参数为所述触摸屏上预设位置的力度参数或者为预设时间点对应的的力度参数,其中,所述预设时间点为所述滑动操作的开始滑动时刻、所述滑动操作的结束滑动时刻和所述滑动操作的中间滑动时刻中的一种。
- 如权利要求8所述的终端,其特征在于,所述匹配单元包括:生成单元,用于将所述轨迹参数按照预设方式生成第一字符串;第一判断单元,用于判断所述生成单元生成的第一字符串是否与所述预设轨迹参数对应的第二字符串相匹配;第二判断单元,若所述第一判断单元的判断结果为是,判断所述力度参数是否处于所述预设力度参数对应的区间范围。
- 如权利要求8至10任一项所述的终端,其特征在于,所述第二确定单元具体用于:将所述滑动操作在预设点的平均力度确定为在预设点的力度参数。
- 如权利要求8至10任一项所述的终端,其特征在于,所述匹配单元具体用于:将所述轨迹参数与预设轨迹参数进行匹配;若是,将所述力度参数与预设力度参数进行匹配。
- 如权利要求8至10任一项所述的终端,其特征在于,所述匹配单元具体用于:将所述力度参数与预设力度参数进行匹配;若是,将所述轨迹参数与预设轨迹参数进行匹配。
- 如权利要求8至10任一项所述的终端,其特征在于,所述终端还包括:推送单元,用于在所述匹配单元匹配出所述轨迹参数与所述预设轨迹参数 不匹配和/或所述力度参数与所述预设力度参数不匹配的情况下,向所述用户推送预设的提示问题,以使用户在提供所述提示问题对应的有效答案的情况下,进入待解锁界面。
- 一种终端,其特征在于,包括:处理器和存储器;其中,所述处理器通过调用所述存储器中的代码或指令以执行如下步骤:确定用户在终端的触摸屏上进行滑动操作产生的轨迹参数;确定所述滑动操作在预设点的力度参数;分别将所述轨迹参数和所述力度参数与预设轨迹参数和预设力度参数进行匹配;在所述轨迹参数与所述预设轨迹参数匹配成功且所述力度参数与所述预设力度参数匹配成功的情况下,对所述终端进行解锁操作。
- 如权利要求15所述的终端,其特征在于,所述轨迹参数为轨迹方向、轨迹的起点和终点之间的位置关系、轨迹长度、轨迹图案和轨迹宽度中的至少一种;所述预设点的力度参数为所述触摸屏上预设位置的力度参数或者为预设时间点对应的的力度参数,其中,所述预设时间点为所述滑动操作的开始滑动时刻、所述滑动操作的结束滑动时刻和所述滑动操作的中间滑动时刻中的一种。
- 如权利要求15所述的终端,其特征在于,所述分别将所述轨迹参数和所述力度参数与预设轨迹参数和预设力度参数进行匹配,包括:将所述轨迹参数按照预设方式生成第一字符串;判断所述第一字符串是否与所述预设轨迹参数对应的第二字符串相匹配;若是,判断所述力度参数是否处于所述预设力度参数对应的区间范围。
- 如权利要求15至17任一项所述的终端,其特征在于,所述确定所述滑动操作在预设点的力度参数,包括:将所述滑动操作在预设点的平均力度确定为在预设点的力度参数。
- 如权利要求15至17任一项所述的终端,其特征在于,所述分别将所述轨迹参数和所述力度参数与预设轨迹参数和预设力度参数进行匹配,包括:将所述轨迹参数与预设轨迹参数进行匹配;若是,将所述力度参数与预设力度参数进行匹配。
- 如权利要求15至17任一项所述的终端,其特征在于,所述分别将所述轨迹参数和所述力度参数与预设轨迹参数和预设力度参数进行匹配,包括:将所述力度参数与预设力度参数进行匹配若是,将所述轨迹参数与预设轨迹参数进行匹配。
- 如权利要求15至17任一项所述的终端,其特征在于,所述分别将所述轨迹参数和力度参数与预设轨迹参数和预设力度参数进行匹配之后,所述处理器还具体用于:在所述轨迹参数与所述预设轨迹参数不匹配和/或所述力度参数与所述预设力度参数不匹配的情况下,向用户推送预设的提示问题,以使所述用户在提供所述提示问题对应的有效答案的情况下,进入待解锁界面。
- 一种计算机存储介质,其特征在于,所述计算机存储介质中存储有计算机可执行指令,所述计算机可执行指令用于执行如权利要求1至7任一项所述的方法。
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510536477.6 | 2015-08-27 | ||
CN201510536477.6A CN105117632B (zh) | 2015-08-27 | 2015-08-27 | 一种终端解锁的方法及终端 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2017032128A1 true WO2017032128A1 (zh) | 2017-03-02 |
Family
ID=54665618
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2016/085083 WO2017032128A1 (zh) | 2015-08-27 | 2016-06-07 | 一种终端解锁的方法及终端 |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN105117632B (zh) |
WO (1) | WO2017032128A1 (zh) |
Families Citing this family (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105117632B (zh) * | 2015-08-27 | 2018-01-23 | 广东欧珀移动通信有限公司 | 一种终端解锁的方法及终端 |
CN105550559A (zh) * | 2015-12-03 | 2016-05-04 | 深圳市汇顶科技股份有限公司 | 手势解锁方法、装置及移动终端 |
CN105589654B (zh) * | 2015-12-29 | 2019-07-09 | 惠州Tcl移动通信有限公司 | 一种基于压力传感器的移动终端解锁方法及系统 |
CN105740691A (zh) * | 2016-01-27 | 2016-07-06 | 深圳市金立通信设备有限公司 | 一种密码验证方法和终端 |
CN105516983A (zh) * | 2016-01-28 | 2016-04-20 | 宇龙计算机通信科技(深圳)有限公司 | 一种鉴权方法及鉴权装置 |
CN105809018A (zh) * | 2016-03-11 | 2016-07-27 | 深圳市金立通信设备有限公司 | 一种滑动轨迹验证方法及终端 |
CN109726542A (zh) * | 2018-07-03 | 2019-05-07 | 平安科技(深圳)有限公司 | 屏幕解锁方法、智能设备、存储介质及装置 |
CN112532792B (zh) * | 2020-12-16 | 2021-10-22 | 北京中都星徽物流有限公司 | 一种通过在屏幕手绘图形解锁的方法 |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20120169617A1 (en) * | 2011-01-04 | 2012-07-05 | Nokia Corporation | Controlling of user input device |
CN102637117A (zh) * | 2012-04-24 | 2012-08-15 | 华为终端有限公司 | 触摸屏终端的解锁方法及触摸屏终端 |
CN102722283A (zh) * | 2012-06-06 | 2012-10-10 | 北京中自科技产业孵化器有限公司 | 一种触摸屏的解锁方法及装置 |
KR20140056954A (ko) * | 2012-11-02 | 2014-05-12 | 한국과학기술원 | 단말기의 잠금 해제 방법 |
US20140137234A1 (en) * | 2008-05-17 | 2014-05-15 | David H. Chin | Mobile device authentication through touch-based gestures |
CN103902211A (zh) * | 2012-12-27 | 2014-07-02 | 鸿富锦精密工业(武汉)有限公司 | 屏幕解锁方法和系统 |
CN104598147A (zh) * | 2013-10-31 | 2015-05-06 | 英业达科技有限公司 | 屏幕解锁系统及其方法 |
CN105117632A (zh) * | 2015-08-27 | 2015-12-02 | 广东欧珀移动通信有限公司 | 一种终端解锁的方法及终端 |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104035685A (zh) * | 2013-03-07 | 2014-09-10 | 龙旗科技(上海)有限公司 | 一种基于动作传感的手持终端解锁方法 |
CN103309577A (zh) * | 2013-06-24 | 2013-09-18 | 深圳市中兴移动通信有限公司 | 移动终端及其解锁方法 |
-
2015
- 2015-08-27 CN CN201510536477.6A patent/CN105117632B/zh not_active Expired - Fee Related
-
2016
- 2016-06-07 WO PCT/CN2016/085083 patent/WO2017032128A1/zh active Application Filing
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20140137234A1 (en) * | 2008-05-17 | 2014-05-15 | David H. Chin | Mobile device authentication through touch-based gestures |
US20120169617A1 (en) * | 2011-01-04 | 2012-07-05 | Nokia Corporation | Controlling of user input device |
CN102637117A (zh) * | 2012-04-24 | 2012-08-15 | 华为终端有限公司 | 触摸屏终端的解锁方法及触摸屏终端 |
CN102722283A (zh) * | 2012-06-06 | 2012-10-10 | 北京中自科技产业孵化器有限公司 | 一种触摸屏的解锁方法及装置 |
KR20140056954A (ko) * | 2012-11-02 | 2014-05-12 | 한국과학기술원 | 단말기의 잠금 해제 방법 |
CN103902211A (zh) * | 2012-12-27 | 2014-07-02 | 鸿富锦精密工业(武汉)有限公司 | 屏幕解锁方法和系统 |
CN104598147A (zh) * | 2013-10-31 | 2015-05-06 | 英业达科技有限公司 | 屏幕解锁系统及其方法 |
CN105117632A (zh) * | 2015-08-27 | 2015-12-02 | 广东欧珀移动通信有限公司 | 一种终端解锁的方法及终端 |
Also Published As
Publication number | Publication date |
---|---|
CN105117632B (zh) | 2018-01-23 |
CN105117632A (zh) | 2015-12-02 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2017032128A1 (zh) | 一种终端解锁的方法及终端 | |
KR102299261B1 (ko) | 어플리케이션의 잠금 상태를 제어하는 방법 및 이를 지원하는 전자장치 | |
WO2017032129A1 (zh) | 一种解锁的方法及终端 | |
US8243983B2 (en) | Graphically encoded data copy and paste | |
US9513790B2 (en) | Electronic device and method for unlocking screen of electronic device | |
WO2017000350A1 (zh) | 一种基于触摸屏终端的解锁方法、装置和触摸屏终端 | |
EP2838007B1 (en) | Electronic equipment and unlocking method of screen thereof | |
RU2632122C2 (ru) | Способ и устройство проверки пароля для проверки входного пароля и компьютерная система, содержащая устройство проверки пароля | |
CN104951685A (zh) | 一种运行应用程序的方法及移动终端 | |
US10789372B2 (en) | Primary device, an accessory device, and methods for processing operations on the primary device and the accessory device | |
CN104834449A (zh) | 移动终端的图标管理方法及装置 | |
CN105160227A (zh) | 远程指纹验证方法和用户终端及指纹验证系统 | |
CN104504569A (zh) | 一种验证方法及装置 | |
US20190377863A1 (en) | Password input method, computer device and storage medium | |
US20150007306A1 (en) | Electronic device and unlocking method | |
US9576411B2 (en) | Apparatus and method for providing security keypad through shift of keypad | |
WO2014169668A1 (en) | Method, device and system for verifying based on verification diagram, and storage medium | |
WO2017032127A1 (zh) | 一种图案解锁的方法及终端 | |
CN104794412A (zh) | 信息输入方法及装置与移动终端 | |
WO2016000323A1 (zh) | 一种运行软键盘的方法、终端及计算机可读存储介质 | |
CN105069360B (zh) | 一种文件加密、解密的方法及终端 | |
KR20150089104A (ko) | 이동 단말에서의 숫자와 패턴을 조합한 잠금해제 방법 및 이를 위한 이동 단말 | |
US20160212124A1 (en) | Terminal determination device and method | |
CN106446626B (zh) | 一种移动终端解锁方法及移动终端 | |
WO2017000343A1 (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: 16838388 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: 16838388 Country of ref document: EP Kind code of ref document: A1 |