Patent ID: 9612672
Date: 2017-04-04
CPC Classifications: G06F,H04M

Claim:
1. A slide unlocking method for a touchscreen device under a screen locking state, comprising steps of: sampling a track generated by the sliding of a user's finger on a touchscreen, and sequentially acquiring a plurality of sampling points, each sampling point having an x-axis coordinate value and a y-axis coordinate value; acquiring a first sampling point and a last sampling point of the track, calculating a transverse sliding distance of the finger on the touchscreen by subtracting the x-axis coordinate value of the last sampling point and the x-axis coordinate value of the first sampling point from one another and calculating its absolute value, and calculating a longitudinal sliding distance of the finger on the touchscreen by subtracting the y-axis coordinate value of the last sampling point and the y-axis coordinate value of the first sampling point from one another and calculating its absolute value: and unlocking the touchscreen when the transverse sliding distance is greater than or equal to a first preset distance and the longitudinal sliding distance is less than or equal to a second preset distance, and keeping the touchscreen in the screen locking state and showing a prompt for unlocking the touchscreen when the transverse sliding distance is less than the first preset distance or the longitudinal sliding distance is greater than the second preset distance; wherein the first preset distance and the second preset distance have a relationship represented by where D