Summary of the invention
The embodiment of the present invention provides method and the terminal of a kind of unlocking screen, it is possible to solve unlocking screen complexity
Height, the problem easily unlocking maloperation.
First aspect, a kind of method embodiments providing unlocking screen, including:
In preset coordinate system, obtain the human eye sight of user;
Obtaining described human eye sight tested point coordinate on a terminal screen, described tested point is that described human eye regards
Line and the intersection point of described screen;
If described tested point coordinate mates with preset standard point coordinates, then unlock described screen, wherein, described
Preset standard point coordinates is positioned in described screen coordinate system, and described screen presents and described preset standard point coordinates
Corresponding point.
In the first possible implementation of described first aspect, described preset coordinate system is three dimensions
Coordinate system, described preset coordinate system initial point is described screen coordinate system initial point, the X-axis side of described preset coordinate system
To for vertical described screen orientation, the Y direction of described preset coordinate system and described screen coordinate system X-axis side
To unanimously, the Z-direction of described preset coordinate system is consistent with described screen coordinate system Y direction, described in obtain
Take the human eye sight at family, specifically include:
Obtain human eye pupil coordinate and eyeball sphere centre coordinate;
Described people is obtained according to described human eye pupil coordinate, described eyeball sphere centre coordinate and default linear equation
An eye line.
In the first possible implementation of described first aspect or described first aspect, additionally provide institute
State the implementation that the second of first aspect is possible, the realization side that the second in described first aspect is possible
In formula, described acquisition human eye pupil coordinate, specifically include:
According to Eye Recognition obtain the oculopupillary Y of described people, Z coordinate b, c, according to face recognition technology with
And default mapping relations table obtains oculopupillary X-coordinate a of described people;
Described acquisition eyeball sphere centre coordinate, specifically includes:
According to Eye Recognition obtain the described eyeball centre of sphere Y, Z coordinate B, C, oculopupillary according to described people
X-coordinate a and default eyeball radius obtain X-coordinate A of the described eyeball centre of sphere;
Described acquisition described human eye sight tested point coordinate on screen, specifically includes:
The linear equation of described human eye sight is substituted into as X, it is thus achieved that the Y, Z of described tested point coordinate sits using 0
Mark m, n.
The first possible or that the second is possible implementation in described first aspect or described first aspect
In, additionally provide the third possible implementation of described first aspect, in the 3rd of described first aspect
Plant in possible implementation, if described tested point coordinate mates with preset standard point coordinates, then unlock
Described screen, specifically includes:
If described tested point coordinate m, n and described preset standard point coordinates j, k is identical, then unlock described screen;
Or,
If described tested point coordinate m, n fall into described preset standard point coordinates j, k is the center of circle, with default length
In degree L is the circle of radius, then unlock described screen.
The first possibility, the second possibility or the third possibility in described first aspect or described first aspect
Implementation in, additionally provide the 4th kind of possible implementation of described first aspect, described first
In 4th kind of possible implementation of aspect, described method farther includes:
If the described tested point coordinate obtained successively mates with described preset standard point coordinates, then unlock described screen
Curtain;Wherein said screen successively presents or presents the point corresponding with described preset standard point coordinates simultaneously.
Described first aspect or described first aspect the first may, the second may the third may or
In 4th kind of possible implementation, additionally provide the 5th kind of possible implementation of described first aspect,
In the 5th kind of possible implementation of described first aspect, described method farther includes:
If the tested point coordinate quantity that described human eye sight is on the screen is more than 1, and at least one to be measured
Point coordinates mates with described preset standard point coordinates, then unlock described screen.
Second aspect, the embodiment of the present invention additionally provides a kind of terminal, and described terminal includes:
Sight line acquiring unit, in preset coordinate system, obtains the human eye sight of user;
Tested point acquiring unit, for obtaining the described human eye sight of described sight line acquiring unit acquisition in terminal
Tested point coordinate on screen, described tested point is the intersection point of described human eye sight and described screen;
Memory element, is used for storing preset standard point coordinates;
Unlock indicating member, for the described tested point coordinate when the acquisition of described tested point acquiring unit with described
When the preset standard point coordinates of memory element storage mates, send to described screen and unlock instruction, in order to be described
Coupling is unlocked according to described unblock instruction, and wherein, described preset standard point coordinates is positioned at described screen and sits
In mark system, described screen presents the point corresponding with described preset standard point coordinates.
In the first possible implementation of described second aspect, described preset coordinate system is three dimensions
Coordinate system, described preset coordinate system initial point is described screen coordinate system initial point, the X-axis side of described preset coordinate system
To for vertical described screen orientation, the Y direction of described preset coordinate system and described screen coordinate system X-axis side
To unanimously, the Z-direction of described preset coordinate system is consistent with described screen coordinate system Y direction, described regards
Line acquiring unit specifically for:
Obtain human eye pupil coordinate and eyeball sphere centre coordinate, according to the described human eye pupil coordinate obtained, institute
State eyeball sphere centre coordinate and default linear equation obtains described human eye sight.
In the first possible implementation of described second aspect or described second aspect, additionally provide institute
State the implementation that the second of second aspect is possible, the realization side that the second in described second aspect is possible
In formula, described sight line acquiring unit specifically includes:
Human eye pupil obtains subelement, sits for obtaining the oculopupillary Y of described people, Z according to Eye Recognition
Mark b, c, obtain oculopupillary X-coordinate a of described people according to face recognition technology and default mapping relations table;
The eyeball centre of sphere obtains subelement, sits for obtaining the Y, Z of the described eyeball centre of sphere according to Eye Recognition
Mark B, C, obtain the X of the described eyeball centre of sphere according to oculopupillary X-coordinate a of described people and default eyeball radius
Coordinate A;
Described tested point acquiring unit is specifically for substituting into, as X, the institute that described sight line acquiring unit obtains using 0
State the linear equation of human eye sight, it is thus achieved that the Y of described tested point coordinate, Z coordinate m, n.
The first possible or that the second is possible implementation in described second aspect or described second aspect
In, additionally provide the third possible implementation of described second aspect, in the 3rd of described second aspect
In kind possible implementation, described unblock indicating member specifically for:
Described tested point coordinate m, n and the storage of described memory element when the acquisition of described tested point acquiring unit
Described preset standard point coordinates j, when k is identical, sends to described screen and unlocks instruction;
The described tested point coordinate m, n that obtain when described tested point acquiring unit fall into and deposit with described memory element
The described preset standard point coordinates j, k of storage are the center of circle, in circle with preset length L as radius time, to described
Screen sends and unlocks instruction.
The first possibility, the second possibility or the third possibility in described second aspect or described second aspect
Implementation in, additionally provide the 4th kind of possible implementation of described second aspect, described second
In 4th kind of possible implementation of aspect, described unblock indicating member is further used for:
The described tested point coordinate obtained successively when described tested point acquiring unit and the storage of described memory element
During described preset standard point coordinates coupling, send to described screen and unlock instruction;Wherein said screen successively in
Now or simultaneously present the point that the described preset standard point coordinates stored with described memory element is corresponding.
Described second aspect or described second aspect the first may, the second may the third may or
In 4th kind of possible implementation, additionally provide the 5th kind of possible implementation of described second aspect,
In the 5th kind of possible implementation of described second aspect, described unblock indicating member is further used for:
When described tested point acquiring unit obtain tested point coordinate quantity more than 1 time, and at least one treat
When the described preset standard point coordinates that measuring point coordinate stores with described memory element mates, send to described screen
Unlock instruction.
The method of the unlocking screen that the embodiment of the present invention provides and terminal, it is possible to regard by obtaining the human eye of user
Line, and the intersection point of this human eye sight line Yu terminal screen is defined as point coordinates to be tested, when this pilot to be measured
Coordinate, with when mating as the preset standard point coordinates unlocking rule, unlocks terminal screen, is achieved in passing through
Human eye sight carries out unlocking screen.Compared with prior art, it is possible to liberation user's both hands, unlocking screen is reduced
Complexity, reduce unlock maloperation generation.
Detailed description of the invention
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clearly
Chu, be fully described by, it is clear that described embodiment be only a part of embodiment of the present invention rather than
Whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art are not making creation
The every other embodiment obtained under property work premise, broadly falls into the scope of protection of the invention.
A kind of method embodiments providing unlocking screen, as it is shown in figure 1, described method include as
Lower step:
101, in preset coordinate system, the human eye sight of user is obtained.
Terminal can obtain the human eye sight of user by photographic head, it is also possible to is obtained by modes such as infrared ray
The human eye sight of user.The embodiment of the present invention obtains by photographic head and illustrates as a example by human eye sight, actual
The mode obtaining human eye sight is not limited by application.
Additionally, the coordinate system that preset coordinate system is actual application scenarios described in the embodiment of the present invention, preset
Coordinate system can be planar two dimensional coordinate system or 3 d space coordinate system, when described preset coordinate system is plane
During two-dimensional coordinate system, the initial point of this two-dimensional coordinate system is identical with screen coordinate system initial point, the X of this two-dimensional coordinate system
Axle is consistent with screen coordinate system X-axis, and the Y-axis of this two-dimensional coordinate system is consistent with screen coordinate system Y-axis, and
The scale granularity of this two-dimensional coordinate system is consistent with the scale granularity of screen coordinate system.When described preset coordinate system is
During 3 d space coordinate system, the initial point of this three-dimensional system of coordinate is identical with screen coordinate system initial point, this three-dimensional coordinate
The X-axis of system is vertical with terminal screen, and Y-axis is consistent with screen coordinate system X-axis, Z axis and screen coordinate system Y-axis
Unanimously, and the scale granularity of this three-dimensional system of coordinate and the scale granularity of screen coordinate system consistent.The present invention is real
Execute example screen coordinate system initial point, X-axis, the setting of Y-axis not to be limited, such as, screen coordinate system former
Point can be screen center's point, it is also possible to be a preset in the screen lower left corner, the X-axis of screen coordinate system
Direction can be consistent with terminal broadside, corresponding, the Y direction of screen coordinate system can be long with terminal
Edge direction is consistent, or, the X-direction of screen coordinate system can also be consistent with terminal long side direction, screen
The Y direction of coordinate system can also be consistent with terminal broadside.
102, terminal obtains human eye sight tested point coordinate on a terminal screen.
Described tested point is the intersection point of human eye sight and terminal screen.It is easily understood that human eye sight is one
The bar ray with human eye as initial point, this directions of rays is human eye sight direction.Described tested point is with human eye
For the roentgenization of initial point to intersection point with terminal screen time on terminal screen.
If 103 tested point coordinates mate with preset standard point coordinates, then screen described in terminal unlocking.
Terminal is previously stored with as the standard point coordinate unlocking rule, the standard point coordinate of storage in terminal
Can be pre-set by equipment manufacturers, it is also possible to be configured, in addition according to personal use experience by user
Standard point coordinate can also be randomly choosed by terminal when user performs unlocking screen, and the embodiment of the present invention is to this
Do not limit.
Described preset standard point coordinates is positioned in described screen coordinate system, and the screen of terminal presents to be preset with described
(terminal presents correspondence according to the coordinate of described preset standard point on screen to the point that standard point coordinate is corresponding
Point), when user wants to be unlocked screen, can be by seeing the point presented on the screen of terminal.When described
When preset coordinate system is two-dimensional coordinate system, described preset coordinate system is identical with described screen coordinate system, pre-bidding
Coordinate in described preset coordinate system is identical with the coordinate in described screen coordinate system on schedule.When described pre-
If coordinate system is three-dimensional system of coordinate, described preset coordinate system Y-axis and Z axis arrange respectively with described screen
Arranging of coordinate system X-axis and Y-axis is identical, preset standard point Y coordinate in described preset coordinate system and Z
Coordinate is identical with the X-coordinate in described screen coordinate system and Y coordinate respectively.Described preset coordinate system and institute
Stating the numerical value of screen coordinate system, to arrange granularity identical.
It should be noted that when preset coordinate system is three-dimensional system of coordinate, the difference arranged due to coordinate system,
Preset standard point Y coordinate in preset coordinate system is corresponding with the X-coordinate in screen coordinate system identical, in advance
The bidding Z coordinate in preset coordinate system on schedule is corresponding with the Y coordinate in screen coordinate system identical.This
The difference of coordinate points title is only arranged decision by coordinate system, and in actual application, the former coordinate points refers both to preset standard
Point coordinate values in terminal broadside, the latter's coordinate points refers both to preset standard point at terminal long side direction
On coordinate values, do not affect the realization of the embodiment of the present invention.
Terminal is after obtaining tested point coordinate, it is judged that this tested point coordinate with the standard point coordinate prestored is
No coupling, represents when such a match occurs and unlocks rule match, terminal unlocking screen, the table when both do not mate
Showing that unblock rule is not mated, terminal does not perform unlocking screen operation, repeated execution of steps 101 to step 103.
It should be noted that also be located in preset coordinate system owing to preset standard point had both been positioned in screen coordinate system,
So when preset coordinate system is planar two dimensional coordinate system, preset standard point coordinates is a two-dimensional coordinate point
(X, Y), when preset coordinate system is 3 d space coordinate system, preset standard point coordinates is a three-dimensional coordinate
Point (X, Y, Z), the dimension of preset standard point coordinates should be consistent with the dimension of preset standard point coordinates.
The method of the unlocking screen that the embodiment of the present invention provides, it is possible to obtain the human eye sight of user, and should
Human eye sight line is defined as point coordinates to be tested, when this point coordinates to be tested and conduct with the intersection point of terminal screen
When unlocking the preset standard point coordinates coupling of rule, unlock terminal screen, be achieved in being entered by human eye sight
Row unlocking screen.Compared with prior art, it is possible to liberation user's both hands, reduce the complexity of unlocking screen,
Reduce the generation unlocking maloperation.
It should be noted that the screen of terminal can be touch screen in said method embodiment, it is also possible to for non-
Touch screen.Equally, in follow-up each embodiment of the method/device embodiment, the screen of terminal is also not limited to touch
Touching screen, follow-up described screen includes touch screen and non-touch screen, the distinctest.
As to the detailed description of embodiment of the method shown in Fig. 1 and further expand, the embodiment of the present invention also carries
A kind of method having supplied unlocking screen, as in figure 2 it is shown, described method comprises the steps:
201, terminal receives the startup unlocking screen instruction that user sends.
Behavior for avoiding terminal that user sweeps terminal screen carelessly is mistakenly identified as user and solves screen
Lock, before carrying out unlocking screen, terminal needs to obtain before unlocking screen and starts unlocking screen instruction.When with
When family needs to be unlocked terminal screen, screen can be started by triggering the programmable button on physical keyboard
Unlock, or touch the predeterminated position on screen and start unlocking screen, also or be shaken gently for terminal and start screen
Curtain unlocks.When terminal receives the startup unlocking screen instruction that user sends, start to perform subsequent step.
It should be noted that step 201 is optional step, whether step 201 performs not interfere with follow-up step
Rapid realization.
202, terminal obtains the human eye sight of user.
The embodiment of the present invention illustrates as a example by 3 d space coordinate system, accordingly, and each coordinate of acquisition
Point is three dimensions coordinate (X, Y, Z).In actual application, realization side based on planar two dimensional coordinate system
Formula is referred to the implementation shown in Fig. 2 and combines the feature of planar two dimensional coordinate system, is not paying creation
Property work on the premise of accomplished, this is repeated no more by the embodiment of the present invention.
The coordinate system that preset coordinate system is actual application scenarios described in the embodiment of the present invention, preset coordinate system
Can be planar two dimensional coordinate system or 3 d space coordinate system, when described preset coordinate system is that planar is sat
During mark system, the initial point of this two-dimensional coordinate system is identical with screen coordinate system initial point, the X-axis of this two-dimensional coordinate system with
Screen coordinate system X-axis is consistent, and the Y-axis of this two-dimensional coordinate system is consistent with screen coordinate system Y-axis, and this two
The scale granularity of dimension coordinate system is consistent with the scale granularity of screen coordinate system.When described preset coordinate system is space
During three-dimensional system of coordinate, the initial point of this three-dimensional system of coordinate is identical with screen coordinate system initial point, the X of this three-dimensional system of coordinate
Axle is vertical with terminal screen, and Y-axis is consistent with screen coordinate system X-axis, and Z axis is consistent with screen coordinate system Y-axis,
And the scale granularity of this three-dimensional system of coordinate is consistent with the scale granularity of screen coordinate system.The embodiment of the present invention is not
Limiting screen coordinate system initial point, X-axis, the setting of Y-axis, such as, the initial point of screen coordinate system is permissible
It is screen center's point, it is also possible to being a preset in the screen lower left corner, the X-direction of screen coordinate system can
With consistent with terminal broadside, corresponding, the Y direction of screen coordinate system can be with terminal long side direction
Unanimously, or, the X-direction of screen coordinate system can also be consistent with terminal long side direction, screen coordinate system
Y direction can also be consistent with terminal broadside.
Concrete, using terminal screen center as screen coordinate system initial point, using terminal broadside as screen
The X-direction of coordinate system, using terminal long side direction as the Y direction of screen coordinate system as a example by, accordingly,
As it is shown on figure 3, the initial point of 3 d space coordinate system is the central point of terminal screen, vertical terminus screen orientation
For X-direction, terminal broadside be Y direction, terminal long side direction be Z-direction.
Obtain the implementation of human eye sight of user and specifically include following three step:
1) human eye pupil coordinate is obtained
Terminal passes through camera collection image information, and the image information of collection includes the face of user, terminal
The oculopupillary Y of people on face, Z coordinate b, c is obtained by Eye Recognition in the image information gathered.
Terminal determines the facial contour of user in the image information gathered according to face recognition technology, and obtains
The size of facial contour.
Concrete, Fig. 4 is the image information of camera collection, the size such as Fig. 4 of the facial contour that terminal obtains
Shown in (a) and Fig. 4 (b).
Terminal obtains user's face to terminal screen according to size and the default mapping relations table of facial contour
Oculopupillary X-coordinate a of vertical dimension, i.e. people.Described default mapping relations table is for characterizing the big of facial contour
Little and distance between mapping relations.
As shown in Fig. 4 (a) and Fig. 4 (b), according to " remote little near big " principle, face and terminal screen away from
Close to more, the facial contour of camera collection is the biggest (Fig. 4 (a)), and face is the most remote with terminal screen distance,
The facial contour of camera collection is the least (Fig. 4 (b)).Face can be taken turns by equipment manufacturers according to this principle
Set up between wide size and face and terminal screen distance and quantify mapping relations, and by this mapping relations collection cooperation
Store in the terminal for default mapping relations table.When after camera collection to the size of facial contour, according in advance
If the mapping relationship searching face in mapping relations table and terminal screen distance, it is derived from the oculopupillary X of people
Coordinate a, and then obtain human eye pupil coordinate a, b, c.
2) eyeball sphere centre coordinate is obtained
As it is shown in figure 5, in the image information gathered, terminal identifies human eye by Eye Recognition,
Obtain the Y at two canthus of human eye, Z coordinate Y1, Z1 and Y2, Z2 the most respectively.Terminal is according to straight line mid-point formula
(in Y, in Z)=[(Y1+Y2), (Z1+Z2)], obtains the oculocentric Y of people, Z coordinate, i.e. the eyeball centre of sphere
Y, Z coordinate B, C.Such as, as the Y at two canthus, when Z coordinate is respectively (2,15) and (4,15),
(2,15) and (4,15) being substituted into above-mentioned formula, it is thus achieved that the Y of the eyeball centre of sphere, Z coordinate is (3,15), B
Being 3, C is 15.
Then, the X-coordinate of the eyeball centre of sphere is obtained.Owing to human eye pupil is positioned at eyeball surface, and the eyeball centre of sphere
It is positioned at the center of eyeball spheroid, so being spaced the distance of an eyeball radius the most in the X-axis direction,
Terminal will be 1) in the oculopupillary X-coordinate of people and the default eyeball radius that obtain sue for peace, be derived from eyeball ball
X-coordinate A of the heart, and then obtain eyeball sphere centre coordinate A, B, C.
In embodiments of the present invention, the default eyeball radius that manufacturer is preset in terminal is 15mm (millimeter),
15mm is the eyeball radius reference value with statistical significance.15mm in the embodiment of the present invention is only example
Illustrating, in actual application, manufacturer can also obtain the eyeball radius of targeted user population according to racial difference
Reference value, and be preset in terminal.
As shown in Figure 6, Fig. 6 is the birds-eye perspective of user's head, i.e. the top view of human eye eyeball.Such as Fig. 6
A, shown in (), the explanation of above-mentioned acquisition eyeball centre of sphere X-coordinate A is to overlap with the eyeball centre of sphere based on human eye pupil
Situation, i.e. user face the explanation that the situation of terminal screen is carried out, in this case, the oculopupillary X of people
Distance between X-coordinate A of coordinate a and the eyeball centre of sphere is for presetting eyeball radius 15mm.And at Fig. 6 (b)
In, when user looks side ways terminal screen, between oculopupillary X-coordinate a of people and X-coordinate A of the eyeball centre of sphere
Distance less than preset eyeball radius 15mm.In such cases, the realization of X-coordinate A of the eyeball centre of sphere is calculated
Mode is specific as follows:
Terminal obtains the difference between people oculopupillary Y coordinate b and the Y coordinate B of the eyeball centre of sphere by photographic head
Value, i.e. 1 in Fig. 6 (b).Then default eyeball radius is calculated in X-axis according to Pythagorean theorem
G in component value, i.e. Fig. 6 (b).Terminal using component value g as actual eyeball radius and the oculopupillary X of people
Coordinate a sues for peace, and obtains X-coordinate A of the eyeball centre of sphere.
It should be noted that in user's head relative position relation with terminal, due to three-dimensional system of coordinate
Initial point is positioned at end side, so the eyeball centre of sphere is more remote than the distance of human eye pupil to terminal to the distance of terminal, because of
And X-coordinate A of the eyeball centre of sphere is behaved oculopupillary X-coordinate a and eyeball radius sum, rather than difference.
3) human eye sight of user is obtained
Getting human eye pupil coordinate a, b, c and eyeball sphere centre coordinate A, after B, C, according to " 2 points
One line " principle calculating linear equation, the straight line represented by this linear equation is the human eye sight of user.?
In the embodiment of the present invention, three-dimensional system of coordinate cathetus equation embodies with the form of spatial parameter equation, and two
In dimension coordinate system, linear equation can also be presented as the form of such as Y=kX+b, in embodiments of the present invention,
Spatial parameter equation is only the example to linear equation and illustrates, the avatar of actual application cathetus equation
It is not limited only to this.
Concrete, shown in spatial parameter equation such as formula (1):
Wherein, parameter t is arbitrary value, formula (1) does deformation and can obtain formula (2):
By human eye pupil coordinate a, b, c are as X1, Y1, Z1Substitute into formula (1), by eyeball sphere centre coordinate A, B, C
As X2, Y2, Z2Substitute into formula (1), can obtain formula (3):
Formula (3) is required linear equation, i.e. represents the linear equation of human eye sight.
203, terminal obtains human eye sight tested point coordinate on a terminal screen.
After step 202 gets the linear equation of expression human eye sight, obtain people by this linear equation
An eye line intersecting point coordinate on a terminal screen, i.e. tested point coordinate.Owing to terminal screen place plane is three
The YZ plane of dimension coordinate, so the X-coordinate of any point is 0 on terminal screen, substitutes into step by X=0
In formula (3) in 202, human eye sight tested point coordinate on a terminal screen can be obtained.
Such as, as human eye pupil coordinate a, b, c are 2,3,5, eyeball sphere centre coordinate A, when B, C are 4,2,6,
Concrete numerical value is substituted into formula (3) and then has a formula (4):
X=0 is substituted into formula (4) Y=4, Z=4 can be obtained, it follows that tested point coordinate m, n are 4,4.
It should be noted that previous embodiment is mentioned, the coordinate dimensions that terminal obtains should be tieed up with place referential
Degree is consistent, and the tested point coordinate i.e. obtained in three-dimensional system of coordinate should be l, m, n.Due to tested point coordinate with
Standard point coordinate belongs to the coordinate points on terminal screen, and its X-coordinate perseverance is 0, and X-coordinate judges ratio to follow-up
Step relatively does not has actual influence, so for simplifying technical scheme, by fixed to tested point coordinate and standard point coordinate
Justice is two-dimensional coordinate point.
If 204 tested point coordinates mate with preset standard point coordinates, then screen described in terminal unlocking.
Preset standard point coordinates j, k are manufacturer or user preset storage conduct unblock rule in the terminal
Coordinate points, it is also possible to be the coordinate points that is randomly assigned of terminal when step 201 starts and unlocks.
Terminal judges tested point coordinate m, n and preset standard point coordinates j, whether k mates, when such a match occurs,
Represent that the unblock of user " indicates " and unlocks rule match, terminal unlocking screen;When both do not mate,
Representing that the unblock of user " indicates " not mate with unblock rule, terminal does not understands lock screen, and order performs again
Step 201, to step 203, reacquires tested point coordinate m, n.
The matched rule that tested point coordinate mates with preset standard point coordinates has two:
1) when tested point coordinate is identical with preset standard point coordinates, i.e. tested point Y coordinate m and preset standard
Point X-coordinate j is identical, and when tested point Z coordinate n is identical with preset standard point Y coordinate k, tested point is sat
Mark mates with preset standard point coordinates.
2) the most harsh for avoiding unlocking rule, unlock that the match is successful that rate is low, it is also possible to suitably relax unblock
Join standard, tested point coordinate m, n will fall into preset standard point coordinates j, be defined as in certain limit around k
Unlock rule match.Concrete, the coupling standard unlocking rule is to be the center of circle with standard point coordinate j, k,
Border circular areas with L as radius is defined as coupling circle (region), and tested point coordinate m, as long as n falls into this coupling
It is in circle and unlocks successfully.Wherein, L is the coupling radius of circle that terminal manufacturer is arranged according to physical condition, example
If L can be 5mm.
Above-described embodiment is illustrated as a example by unlocking rule using a standard point coordinate, optionally, also
Using at least two standard point coordinate as unlocking rule, terminal can be unlocked operation.Concrete, if depending on
Multiple tested point coordinates of secondary acquisition and multiple preset standard point coordinates Corresponding matchings, then terminal unlocking screen,
Wherein, terminal screen successively presents or presents the multiple points corresponding with multiple preset standard point coordinates simultaneously.When
When terminal screen successively presents or presents multiple corresponding with multiple preset standard point coordinates simultaneously, unlock rule
The most not only comprise each standard point coordinate, further comprise the sequencing of multiple standard point coordinate matching.
Concrete, terminal order obtains multiple tested point coordinates, when multiple tested point coordinates occur with order respectively
During multiple different preset standard point coordinates Corresponding matching, terminal unlocking screen.
Such as, when terminal screen successively presents the point of two standard point coordinates, terminal order performs step 201
Obtain first tested point coordinate to step 204, and first tested point coordinate and first standard point are sat
Mark is compared.When comparison result is for coupling, terminal order again performs step 202 to step 204, acquisition
Second tested point coordinate, and second tested point coordinate and second standard point coordinate are compared, when
When comparison result is for coupling, terminal unlocking screen.
Further, above-described embodiment is the explanation carried out as a example by the tested point coordinate to obtain a human eye,
Actually terminal can also obtain multiple tested point coordinates of many human eyes of multiple user, these many people respectively
Eye is not limited to many human eyes of a user.When in multiple tested point coordinates of many human eyes of terminal acquisition
The most individual tested point coordinate is sat with preset standard point when mating, terminal unlocking screen.
In actual applications, when user unlocks terminal screen, there may be other staff and watch terminal screen attentively,
If the tested point coordinate of user's human eye mates with preset standard point coordinates, but other staff watch terminal screen attentively
During upper other except preset standard point in addition to, terminal cannot be carried out unlocking and adjudicates.For avoiding this kind of situation pair
The erroneous effects that terminal unlocking brings, can set the multiple tested point coordinates of many human eyes when terminal obtains
In the most individual tested point coordinate and preset standard point sit when mating, terminal unlocking screen.
The method of the unlocking screen that the embodiment of the present invention provides, it is possible to obtain the human eye sight of user, and should
Human eye sight line is defined as point coordinates to be tested, when this point coordinates to be tested and conduct with the intersection point of terminal screen
When unlocking the preset standard point coordinates coupling of rule, unlock terminal screen, be achieved in being entered by human eye sight
Row unlocking screen.Compared with prior art, it is possible to liberation user's both hands, reduce the complexity of unlocking screen,
Reduce the generation unlocking maloperation.
Additionally, the method for the unlocking screen of embodiment of the present invention offer, additionally it is possible to multiple standard point coordinates are tied
It is together as unlocking rule, improves and unlock difficulty.Meanwhile, many human eyes of multiple user can be obtained
Tested point coordinate, when at least tested point coordinate and preset standard point coordinates in multiple tested point coordinates
During coupling, unlock terminal screen, can avoid other staff that user unlocks the impact of screen.
With reference to the realization of said method embodiment, the embodiment of the present invention additionally provides a kind of terminal, in order to realize
Said method embodiment, as it is shown in fig. 7, described terminal includes: sight line acquiring unit 71, tested point obtain
Unit 72, memory element 73 and unblock indicating member 74, wherein,
Sight line acquiring unit 71, in preset coordinate system, obtains the human eye sight of user;
Tested point acquiring unit 72, the described human eye sight obtained for obtaining described sight line acquiring unit 71 exists
Tested point coordinate on terminal screen, described tested point is the intersection point of described human eye sight and described screen;
Memory element 73, is used for storing preset standard point coordinates;
Unlock indicating member 74, for when described tested point acquiring unit 72 obtain described tested point coordinate with
When the preset standard point coordinates of described memory element 73 storage mates, send to described screen and unlock instruction, with
Toilet is stated coupling and is unlocked according to described unblock instruction, and wherein, described preset standard point coordinates is positioned at described
In screen coordinate system, described screen presents the point corresponding with described preset standard point coordinates.
Further, described preset coordinate system is three-dimensional coordinate system, and described preset coordinate system initial point is described
Screen coordinate system initial point, the Y direction of described preset coordinate system is consistent with described screen coordinate system Y direction,
The Z-direction of described preset coordinate system is consistent with described screen coordinate system Z-direction, described preset coordinate system
X-direction be vertical described screen orientation, described sight line acquiring unit 71 specifically for:
Obtain human eye pupil coordinate and eyeball sphere centre coordinate, according to the described human eye pupil coordinate obtained, institute
State eyeball sphere centre coordinate and default linear equation obtains described human eye sight.
Further, as shown in Figure 8, described sight line acquiring unit 71 specifically includes:
Human eye pupil obtains subelement 81, for obtaining the oculopupillary Y of described people, Z according to Eye Recognition
Coordinate b, c, obtain oculopupillary X-coordinate a of described people according to face recognition technology and default mapping relations table;
The eyeball centre of sphere obtains subelement 82, for obtaining the Y, Z of the described eyeball centre of sphere according to Eye Recognition
Coordinate B, C, obtain the described eyeball centre of sphere according to oculopupillary X-coordinate a of described people and default eyeball radius
X-coordinate A;
Described tested point acquiring unit 72 obtains specifically for substituting into described sight line acquiring unit 71 using 0 as X
The linear equation of the described human eye sight taken, it is thus achieved that the Y of described tested point coordinate, Z coordinate m, n.
Further, described unblock indicating member 74 specifically for:
Described tested point coordinate m, n and described memory element 73 when the acquisition of described tested point acquiring unit 72
The described preset standard point coordinates j of storage, when k is identical, sends to described screen and unlocks instruction;
As the described tested point coordinate m that described tested point acquiring unit 72 obtains, n falls into described memory element
The described preset standard point coordinates j, k of 73 storages are the center of circle, in circle with preset length L as radius time, to
Described screen sends and unlocks instruction.
Further, described unblock indicating member 74 is further used for:
The described tested point coordinate obtained successively when described tested point acquiring unit 72 and described memory element 73
When the described preset standard point coordinates of storage mates, send to described screen and unlock instruction;Wherein said screen
Successively present or present the point that the described preset standard point coordinates stored with described memory element is corresponding simultaneously.
Further, described unblock indicating member 74 is further used for:
When the tested point coordinate quantity that described tested point acquiring unit 72 obtains is more than 1, and at least one
When the described preset standard point coordinates that tested point coordinate stores with described memory element 73 mates, to described screen
Send and unlock instruction.
The terminal that the embodiment of the present invention provides includes but are not limited to mobile phone and the electricity with shooting/camera function
Brain.
It should be noted that the terminal shown in Fig. 7 and Fig. 8 is for performing the user shown in Fig. 1 or Fig. 2
The step of device end, terminal and subscriber equipment terminal only state difference, there is not substantive difference.
The terminal that the embodiment of the present invention provides, it is possible to obtain the human eye sight of user, and by this human eye sight line
It is defined as point coordinates to be tested, when this point coordinates to be tested and presetting as unblock rule with the intersection point of screen
During standard point coordinate matching, unlock screen, be achieved in carrying out unlocking screen by human eye sight.With existing
Technology is compared, it is possible to liberation user's both hands, reduces the complexity of unlocking screen, reduces and unlocks sending out of maloperation
Raw.
With reference to the realization of said method embodiment, the embodiment of the present invention additionally provides a kind of terminal, in order to realize
Said method embodiment, as it is shown in figure 9, described terminal includes: photographic head 91, processor 92, memorizer
93 and screen 94, wherein,
Described photographic head 91, in preset coordinate system, obtains the human eye sight of user;
Described processor 92, for obtaining described human eye sight tested point coordinate on described screen 94, institute
State the intersection point that tested point is described human eye sight and described screen 94;
Described memorizer 93, is used for storing preset standard point coordinates;
Described processor 92 is additionally operable to when the preset standard of described tested point coordinate with the storage of described memorizer 93
During point coordinates coupling, sending to described screen 94 and unlock instruction, wherein, described preset standard point coordinates is positioned at
In described screen 94 coordinate system, described screen 94 presents the point corresponding with described preset standard point coordinates.
Described preset coordinate system is three-dimensional coordinate system, and described preset coordinate system initial point is described screen coordinate
Being initial point, the Y direction of described preset coordinate system is consistent with described screen 94 coordinate system Y direction, described
The Z-direction of preset coordinate system is consistent with described screen 94 coordinate system Z-direction, described preset coordinate system
X-direction is vertical described screen 94 direction, described photographic head 91 specifically for:
Obtain human eye pupil coordinate and eyeball sphere centre coordinate;
Described people is obtained according to described human eye pupil coordinate, described eyeball sphere centre coordinate and default linear equation
An eye line.
Described photographic head 91 specifically for:
According to Eye Recognition obtain the oculopupillary Y of described people, Z coordinate b, c, according to face recognition technology with
And default mapping relations table obtains oculopupillary X-coordinate a of described people;
According to Eye Recognition obtain the described eyeball centre of sphere Y, Z coordinate B, C, oculopupillary according to described people
X-coordinate a and default eyeball radius obtain X-coordinate A of the described eyeball centre of sphere;
Described processor 92 specifically for:
The linear equation of the described human eye sight that described photographic head 91 obtains is substituted into as X, it is thus achieved that described using 0
The Y of tested point coordinate, Z coordinate m, n.
Described processor 92 is additionally operable to:
When the described preset standard point coordinates j of described tested point coordinate m, n with the storage of described memorizer 93, k phase
Meanwhile, unblock instruction is sent to described screen 94;As described tested point coordinate m, n falls into described memorizer
The described preset standard point coordinates j, k of 93 storages are the center of circle, in circle with preset length L as radius time, to
Described screen 94 sends and unlocks instruction.
Further, described processor 92 is additionally operable to:
Described preset standard point coordinates when the described tested point coordinate obtained successively with the storage of described memorizer 93
During coupling, send to described screen 94 and unlock instruction;Wherein said screen 94 successively presents or presents simultaneously
The point corresponding with described preset standard point coordinates.
When the described human eye sight tested point coordinate quantity on described screen 94 that described photographic head 91 obtains
More than 1, and when at least a tested point coordinate mates with described preset standard point coordinates, to described screen
94 send unblock instruction.
The subscriber equipment that the embodiment of the present invention provides includes but are not limited to the mobile phone with shooting/camera function
And computer.
It should be noted that the terminal shown in Fig. 9 is for performing the subscriber equipment shown in Fig. 1 or Fig. 2 eventually
The step of end, terminal and subscriber equipment terminal are only stated difference, be there is not substantive difference.
The terminal that the embodiment of the present invention provides, it is possible to obtain the human eye sight of user, and by this human eye sight line
It is defined as point coordinates to be tested, when this point coordinates to be tested and presetting as unblock rule with the intersection point of screen
During standard point coordinate matching, unlock screen, be achieved in carrying out unlocking screen by human eye sight.With existing
Technology is compared, it is possible to liberation user's both hands, reduces the complexity of unlocking screen, reduces and unlocks sending out of maloperation
Raw.
Those skilled in the art is it can be understood that arrive, for convenience and simplicity of description, only with above-mentioned
The division of each functional module is illustrated, and in actual application, can above-mentioned functions be divided as desired
Join and completed by different functional modules, the internal structure of device will be divided into different functional modules, with complete
Become all or part of function described above.The specific works mistake of the system of foregoing description, device and unit
Journey, is referred to the corresponding process in preceding method embodiment, does not repeats them here.
In several embodiments provided herein, it should be understood that disclosed system, device and side
Method, can realize by another way.Such as, device embodiment described above is only schematically
, such as, described module or the division of unit, be only a kind of logic function and divide, actual can when realizing
There to be other dividing mode, the most multiple unit or assembly can in conjunction with or be desirably integrated into another and be
Unite, or some features can be ignored, or do not perform.Another point, shown or discussed coupling each other
Conjunction or direct-coupling or communication connection can be the INDIRECT COUPLING by some interfaces, device or unit or communication
Connect, can be electrical, machinery or other form.
The described unit illustrated as separating component can be or may not be physically separate, as
The parts that unit shows can be or may not be physical location, i.e. may be located at a place, or
Can also be distributed on multiple NE.Can select therein some or all of according to the actual needs
Unit realizes the purpose of the present embodiment scheme.
It addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit,
Can also be that unit is individually physically present, it is also possible to two or more unit are integrated in a unit
In.Above-mentioned integrated unit both can realize to use the form of hardware, it would however also be possible to employ SFU software functional unit
Form realizes.
If described integrated unit realizes using the form of SFU software functional unit and as independent production marketing or
During use, can be stored in a computer read/write memory medium.Based on such understanding, the present invention
The part that the most in other words prior art contributed of technical scheme or this technical scheme whole or
Part can embody with the form of software product, and this computer software product is stored in a storage medium
In, including some instructions with so that computer equipment (can be personal computer, server, or
Person's network equipment etc.) or processor (processor) perform the whole of method described in each embodiment of the present invention
Or part steps.And aforesaid storage medium includes: USB flash disk, portable hard drive, read only memory (ROM,
Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disc or
The various media that can store program code such as person's CD.
The above, the only detailed description of the invention of the present invention, but protection scope of the present invention is not limited to
This, any those familiar with the art, in the technical scope that the invention discloses, can readily occur in
Change or replacement, all should contain within protection scope of the present invention.Therefore, protection scope of the present invention should
It is as the criterion with described scope of the claims.