System and method for unlocking screen
First Claim
Patent Images
1. A method for unlocking a screen, comprising:
- detecting a starting position of a touch point on a screen;
selecting an unlocking reference point in the screen according to the starting position of the touch point on the screen;
detecting, while the touch point moves on the screen, a current position of the touch point on the screen; and
calculating an angle between the starting position of the touch point and the current position of the touch point with the unlocking reference point as a vertex of the angle, and unlocking the screen when the angle is larger than a pre-set unlocking angle,wherein the selecting an unlocking reference point in the screen according to the starting position of the touch point on the screen comprises;
dividing the screen into at least one area according to a pre-set rule;
generating a benchmark point in each area resulting from dividing the screen; and
selecting a benchmark point meeting a pre-set standard as the unlocking reference point according to the starting position of the touch point,wherein the selecting a benchmark point meeting a pre-set standard as the unlocking reference point comprises;
setting a standard distance between the starting position of the touch point and a benchmark point;
calculating a distance between the starting position of the touch point and a benchmark point of an area containing the starting position of the touch point, wherein the area containing the starting position of the touch point is one of the at least one area;
comparing the calculated distance with the standard distance;
selecting, when the calculated distance is larger than the standard distance, the benchmark point of the area containing the starting position of the touch point as the unlocking reference point;
orselecting, among the at least one area, when the calculated distance is smaller than the standard distance, a benchmark point in an area nearest to the starting position of the touch point other than the area containing the starting position of the touch point as the unlocking reference point.
1 Assignment
0 Petitions
Accused Products
Abstract
Disclosed are a method for unlocking a screen and a system for installing a screen. It is determined whether to unlock the screen by calculating an angle between a starting position and a current position of a touch point on the screen with the unlocking reference point as a vertex of the angle. With a technical solution of the disclosure, no path or destination position for screen unlocking is defined, with more casual operation, enhanced user experience, and simpler setting, thereby facilitating usage. Moreover, unlocking by mistake can also be prevented by the setting.
-
Citations
9 Claims
-
1. A method for unlocking a screen, comprising:
-
detecting a starting position of a touch point on a screen; selecting an unlocking reference point in the screen according to the starting position of the touch point on the screen; detecting, while the touch point moves on the screen, a current position of the touch point on the screen; and calculating an angle between the starting position of the touch point and the current position of the touch point with the unlocking reference point as a vertex of the angle, and unlocking the screen when the angle is larger than a pre-set unlocking angle, wherein the selecting an unlocking reference point in the screen according to the starting position of the touch point on the screen comprises; dividing the screen into at least one area according to a pre-set rule; generating a benchmark point in each area resulting from dividing the screen; and selecting a benchmark point meeting a pre-set standard as the unlocking reference point according to the starting position of the touch point, wherein the selecting a benchmark point meeting a pre-set standard as the unlocking reference point comprises; setting a standard distance between the starting position of the touch point and a benchmark point; calculating a distance between the starting position of the touch point and a benchmark point of an area containing the starting position of the touch point, wherein the area containing the starting position of the touch point is one of the at least one area; comparing the calculated distance with the standard distance; selecting, when the calculated distance is larger than the standard distance, the benchmark point of the area containing the starting position of the touch point as the unlocking reference point;
orselecting, among the at least one area, when the calculated distance is smaller than the standard distance, a benchmark point in an area nearest to the starting position of the touch point other than the area containing the starting position of the touch point as the unlocking reference point. - View Dependent Claims (2, 3, 4)
-
-
5. A mobile terminal, comprising:
-
at least one hardware processor; and memory in electronic communication with the at least one hardware processor, storing instructions executable by the at least one hardware processor for; detecting a starting position of a touch point on a screen; selecting an unlocking reference point in the screen according to the starting position of the touch point on the screen; detecting, while the touch point moves on the screen, a current position of the touch point on the screen; calculating an angle between the starting position of the touch point and the current position of the touch point with the unlocking reference point as a vertex of the angle; and unlocking the screen when the angle is larger than a pre-set unlocking angle, wherein the instructions are executable by the at least one hardware processor for; dividing the screen into at least one area according to a pre-set rule; generating a benchmark point in each area resulting from dividing the screen; and selecting a benchmark point meeting a pre-set standard as the unlocking reference point according to the starting position of the touch point, wherein the instructions are executable by the at least one hardware processor for; setting a standard distance between the starting position of the touch point and a benchmark point; calculating a distance between the starting position of the touch point and a benchmark point of an area containing the starting position of the touch point, wherein the area containing the starting position of the touch point is one of the at least one area; comparing the calculated distance with the standard distance; selecting, when the calculated distance is larger than the standard distance, the benchmark point of the area containing the starting position of the touch point as the unlocking reference point;
orselecting, among the at least one area, when the calculated distance is smaller than the standard distance, a benchmark point in an area nearest to the starting position of the touch point other than the area containing the starting position of the touch point as the unlocking reference point. - View Dependent Claims (6, 7, 8, 9)
-
Specification