摘要 |
Provided is a slide unlocking method for a touchscreen device under a screen locking state, comprising the steps of: sampling the track generated by the sliding of a user finger on a touchscreen, and sequentially acquiring a plurality of sampling points; acquiring the first sampling point and the last sampling point of the track, and acquiring a transverse sliding distance of the finger on the touchscreen and a longitudinal sliding distance of the finger on the touchscreen; and 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, unlocking the touchscreen, and when the transverse sliding distance is less than a first preset distance or the longitudinal sliding distance is greater than a second preset distance, keeping the screen in the lock state. In this way, the present invention increases the degree of freedom of a user operation, so that a user can conveniently perform unlocking in a special usage scenario. |