CN107025398A - The method and terminal device of a kind of control terminal equipment switch operating state - Google Patents
The method and terminal device of a kind of control terminal equipment switch operating state Download PDFInfo
- Publication number
- CN107025398A CN107025398A CN201710231298.0A CN201710231298A CN107025398A CN 107025398 A CN107025398 A CN 107025398A CN 201710231298 A CN201710231298 A CN 201710231298A CN 107025398 A CN107025398 A CN 107025398A
- Authority
- CN
- China
- Prior art keywords
- winks
- terminal device
- continuous number
- facial characteristics
- preset
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
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/60—Protecting data
- G06F21/62—Protecting access to data via a platform, e.g. using keys or access control rules
- G06F21/6218—Protecting access to data via a platform, e.g. using keys or access control rules to a system of files or objects, e.g. local or distributed file system or database
- G06F21/6245—Protecting personal data, e.g. for financial or medical purposes
-
- 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/70—Protecting specific internal or peripheral components, in which the protection of a component leads to protection of the entire computer
- G06F21/82—Protecting input, output or interconnection devices
- G06F21/84—Protecting input, output or interconnection devices output devices, e.g. displays or monitors
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Computer Hardware Design (AREA)
- Computer Security & Cryptography (AREA)
- Physics & Mathematics (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- General Health & Medical Sciences (AREA)
- Health & Medical Sciences (AREA)
- Bioethics (AREA)
- Databases & Information Systems (AREA)
- Medical Informatics (AREA)
- Telephone Function (AREA)
Abstract
The invention discloses a kind of method of control terminal equipment switch operating state and terminal device, this method includes:Detection is directed to the unlock instruction of the terminal device in screen lock state, and the camera of terminal device is started according to the unlock instruction and face information acquisition interface is exported, catch the facial characteristics and continuous number of winks for the face for being shown in the face information acquisition interface that camera is collected, and recognize whether the facial characteristics matches with preset facial characteristics, when identifying that the facial characteristics matches with preset facial characteristics, it is determined that the first default operating condition corresponding with the continuous number of winks, unlock terminal device, and export operation interface corresponding with first default operating condition.The personal secrets of terminal device can be improved by implementing the embodiment of the present invention.
Description
Technical field
The present invention relates to intelligent terminal technical field, and in particular to a kind of control terminal equipment switch operating state
Method and terminal device.
Background technology
Currently, the application of the terminal device such as mobile phone is more and more extensive, and people can not only be entertained with using terminal equipment
Activity, such as listens music, sees video, can also carry out some privacy activities, such as carries out secret communication, consults secret file.
The situation that friend, colleague etc. borrow terminal device is frequently encountered in actual applications, if terminal device shows before screen locking
The content shown is that unblock terminal device is lent others and used when comparing the content of privacy or being not desired to the privacy information being seen
When there is the risk of privacy leakage.It can be seen that, there is the problem of personal secrets are low in current terminal device.
The content of the invention
The embodiment of the invention discloses a kind of method of control terminal equipment switch operating state and terminal device, Neng Gouti
The personal secrets of high terminal device.
First aspect of the embodiment of the present invention discloses a kind of method of control terminal equipment switch operating state, methods described
Including:
Detection is directed to the unlock instruction of the terminal device in screen lock state, and according to starting the unlock instruction
The camera of terminal device simultaneously exports face information acquisition interface;
Catch the face for being shown in the face information acquisition interface that the camera is collected facial characteristics and
Continuous number of winks, and recognize whether the facial characteristics matches with preset facial characteristics;
When identifying that the facial characteristics matches with the preset facial characteristics, it is determined that secondary with the continuous blink
Corresponding first default operating condition of number;
The terminal device is unlocked, and exports operation interface corresponding with first default operating condition.
As an alternative embodiment, in first aspect of the embodiment of the present invention, identifying the facial characteristics
After matching with the preset facial characteristics, and the determination presets work with the continuous number of winks corresponding first
Make before state, methods described also includes:
Whether the continuous number of winks is judged more than the first predetermined times, when the continuous number of winks exceedes described the
During one predetermined times, triggering performs the operation of the determination the first default operating condition corresponding with the continuous number of winks.
As an alternative embodiment, in first aspect of the embodiment of the present invention, identifying the facial characteristics
After matching with the preset facial characteristics, and described judge whether the continuous number of winks is preset more than first time
Before number, methods described also includes:
Judge whether the operation interface that the terminal device is shown before screen locking is that privacy classes are higher than preset privacy classes
The corresponding operation interface of application or the operation interface that is shown before screen locking of the terminal device in the interface content that shows be
No is privacy content, judges whether the continuous number of winks is pre- more than first when judged result for when being, triggering execution is described
Put the operation of number of times;
Methods described also includes:
When the operation interface that the terminal device is shown before screen locking is not higher than answering for preset privacy classes for privacy classes
The interface content shown in the operation interface shown with corresponding operation interface and the terminal device before screen locking is not privacy
During content, the terminal device is unlocked, and export the operation interface that the terminal device is shown before screen locking.
As an alternative embodiment, in first aspect of the embodiment of the present invention, judging the continuous blink
Number of times exceedes after first predetermined times, and determines to preset work with the continuous number of winks corresponding first described
Make before state, methods described also includes:
Whether be odd number, when the continuous number of winks is odd number, triggering performs institute if judging the continuous number of winks
State the operation for determining the first default operating condition corresponding with the continuous number of winks;
Methods described also includes:
When the continuous number of winks is not odd number, the terminal device is unlocked, and export the terminal device in lock
The operation interface of display before screen.
As an alternative embodiment, in first aspect of the embodiment of the present invention, methods described also includes:
When identifying that the facial characteristics is not matched that with the preset facial characteristics, the company captured is judged
Whether the continuous corresponding eye feature of number of winks is eye feature positioned at the face predeterminated position, when judged result is yes
When, judge whether the continuous number of winks is equal to the second predetermined times, when the continuous number of winks is pre- equal to described second
When putting number of times, it is determined that the second default operating condition corresponding with second predetermined times;
The terminal device is unlocked, and exports operation interface corresponding with second default operating condition.
Second aspect of the embodiment of the present invention discloses a kind of terminal device, the terminal device detection unit, control unit,
Capture unit, recognition unit and determining unit, wherein:
The detection unit, the unlock instruction of the terminal device in screen lock state is directed to for detecting;
Described control unit, the unlock instruction for being detected according to the detection unit starts the terminal device
Camera and export face information acquisition interface;
The capture unit, for catching the people for being shown in the face information acquisition interface that the camera is collected
The facial characteristics of face and continuous number of winks;
The recognition unit, for recognizing whether the facial characteristics matches with preset facial characteristics;
The determining unit, for not going out the facial characteristics and the preset facial characteristics phase when the recognition unit
During matching, it is determined that the first default operating condition corresponding with the continuous number of winks;
Described control unit, is additionally operable to unlock the terminal device, and export corresponding with first default operating condition
Operation interface.
As an alternative embodiment, in second aspect of the embodiment of the present invention, the terminal device also includes the
One judging unit, wherein:
First judging unit, for not going out the facial characteristics and the preset face spy in the recognition unit
Levy after matching and before the determining unit determines the first default operating condition corresponding with the continuous number of winks,
Whether the continuous number of winks is judged more than the first predetermined times, when the continuous number of winks exceedes described first preset time
During number, the behaviour that the determining unit performs the determination the first default operating condition corresponding with the continuous number of winks is triggered
Make.
As an alternative embodiment, in second aspect of the embodiment of the present invention, first judging unit is also used
In not going out the face before judging the continuous number of winks whether more than the first predetermined times and in the recognition unit
After portion's feature matches with the preset facial characteristics, judge that the operation interface that the terminal device is shown before screen locking is
The no corresponding operation interface of application or the terminal device for privacy classes higher than preset privacy classes is shown before screen locking
Operation interface in the interface content that shows whether be privacy content, when judged result for when being, triggering performs the judgement institute
State continuous number of winks whether more than the first predetermined times operation;
Described control unit, the operation interface for being additionally operable to show before screen locking when the terminal device is not that privacy classes are high
Shown in the operation interface that the corresponding operation interface of application of preset privacy classes and the terminal device are shown before screen locking
Interface content be not privacy content, unlock the terminal device, and export the operation that the terminal device is shown before screen locking
The operation at interface.
As an alternative embodiment, in second aspect of the embodiment of the present invention, first judging unit is also used
Determined and the company in after judging that the continuous number of winks exceedes first predetermined times and in determining unit
Whether before corresponding first default operating condition of continuous number of winks, it is odd number to judge the continuous number of winks;
The determining unit determines that the concrete mode of the first default operating condition corresponding with the continuous number of winks is:
When identifying that the facial characteristics matches with the preset facial characteristics, the continuous number of winks exceedes
When first predetermined times and the continuous number of winks are odd number, it is determined that with the continuous number of winks corresponding first
Default operating condition;
Described control unit, is additionally operable to work as and identifies that the facial characteristics matches with the preset facial characteristics
When, the continuous number of winks is when exceeding first predetermined times and the continuous number of winks and being not odd number, unlocks institute
Terminal device is stated, and exports the operation interface that the terminal device is shown before screen locking.
As an alternative embodiment, in second aspect of the embodiment of the present invention, the terminal device also includes the
Two judging units, wherein:
Second judging unit, for identifying the facial characteristics and the preset face when the recognition unit
When feature is not matched that, judge whether the corresponding eye feature of the continuous number of winks captured is pre- positioned at the face
If the eye feature of position, when judged result is to be, judge whether the continuous number of winks is equal to the second predetermined times;
The determining unit, is additionally operable to when the recognition unit identifies that the facial characteristics and the preset face are special
Levy and do not match that, when the corresponding eye feature of the continuous number of winks captured is the eye positioned at the face predeterminated position
Portion's feature and when the continuous number of winks be equal to second predetermined times when, it is determined that corresponding with second predetermined times
The second default operating condition;
Described control unit, is additionally operable to when the recognition unit identifies that the facial characteristics and the preset face are special
Levy and do not match that, when the corresponding eye feature of the continuous number of winks captured is the eye positioned at the face predeterminated position
Portion's feature and when the continuous number of winks is equal to second predetermined times, unlocks the terminal device, and export with
The corresponding operation interface of second default operating condition.
Compared with prior art, the embodiment of the present invention has the advantages that:
In the embodiment of the present invention, detection is directed to the unlock instruction of the terminal device in screen lock state, and according to the solution
Lock instruction starts the camera of terminal device and exports face information acquisition interface, and what seizure camera was collected is shown in the people
The facial characteristics and continuous number of winks of the face at face information gathering interface, and recognize the facial characteristics whether with preset face
Portion's feature matches, when identifying that the facial characteristics and preset facial characteristics match, it is determined that with the continuous number of winks
Corresponding first default operating condition, unlocks terminal device, and export operation interface corresponding with first default operating condition.
It can be seen that, implementing the embodiment of the present invention can be realized by the face information and continuous number of winks that capture in unblock terminal
The working condition of switching terminal equipment while equipment, improves the personal secrets of terminal device, reduces terminal device
The risk that the privacy of user is spied on, improves the usage experience of user.
Brief description of the drawings
Technical scheme in order to illustrate the embodiments of the present invention more clearly, below by using required in embodiment
Accompanying drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the present invention, for ability
For the those of ordinary skill of domain, on the premise of not paying creative work, it can also be obtained according to these accompanying drawings other attached
Figure.
Fig. 1 is a kind of flow signal of method of control terminal equipment switch operating state disclosed in the embodiment of the present invention
Figure;
Fig. 2 is the flow signal of the method for another control terminal equipment switch operating state disclosed in the embodiment of the present invention
Figure;
Fig. 3 is a kind of structural representation of terminal device disclosed in the embodiment of the present invention;
Fig. 4 is the structural representation of another terminal device disclosed in the embodiment of the present invention.
Embodiment
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 clear, complete
Site preparation is described, it is clear that described embodiment is only a part of embodiment of the invention, rather than whole embodiments.Based on this
Embodiment in invention, the every other reality that those of ordinary skill in the art are obtained under the premise of creative work is not made
Example is applied, the scope of protection of the invention is belonged to.
It should be noted that the term " comprising " and " having " of the embodiment of the present invention and their any deformation, it is intended that
Be to cover it is non-exclusive include, for example, containing process, method, system, product or the equipment of series of steps or unit not
Be necessarily limited to those steps or the unit clearly listed, but may include not list clearly or for these processes, side
The intrinsic other steps of method, product or equipment or unit.
The embodiment of the invention discloses a kind of method of control terminal equipment switch operating state and terminal device, Neng Goutong
The face information captured and continuous number of winks is crossed to realize the work of switching terminal equipment while terminal device is unlocked
Make state, improve the personal secrets of terminal device, reduce the risk that the privacy of the user of terminal device is spied on, improve
The usage experience of user.It is described in detail individually below.
Embodiment one
Referring to Fig. 1, Fig. 1 is a kind of method of control terminal equipment switch operating state disclosed in the embodiment of the present invention
Schematic flow sheet.As shown in figure 1, the method for the control terminal equipment switch operating state can include following operation:
101st, terminal device detection is directed to the unlock instruction of the terminal device in screen lock state, and is referred to according to the unblock
Order starts the camera of terminal device and exports face information acquisition interface.
In the embodiment of the present invention, the terminal device can be with smart mobile phone (such as Android phone, iOS mobile phones), palm electricity
In the terminal devices such as brain, tablet personal computer, personal digital assistant (Personal Digital Assistant, PDA), the present invention is real
Example is applied not limit.Wherein, the camera of the terminal device of startup can be front camera, or rear camera,
The embodiment of the present invention is not limited.
102nd, terminal device catches the face for the face for being shown in above-mentioned face information acquisition interface that camera is collected
Feature and continuous number of winks.
In the embodiment of the present invention, when the facial characteristics for the face that camera is collected does not include eye feature, point out to use
Family adjusts self-position or adjusts the position of terminal device, to capture continuous number of winks.
103rd, terminal device recognizes whether above-mentioned facial characteristics matches with preset facial characteristics, when identifying above-mentioned face
When portion's feature matches with preset facial characteristics, triggering performs step 104, above-mentioned facial special with preset face when identifying
Levy when not matching that, terminal device can perform step 102 with retriggered.
In the embodiment of the present invention, terminal device recognizes whether above-mentioned facial characteristics matches with preset facial characteristics can be with
Including:
Terminal device recognizes the matching degree of above-mentioned facial characteristics and preset facial characteristics, and judges whether the matching degree is big
In equal to preset matching degree threshold value, when the matching degree is more than or equal to preset matching degree threshold value, above-mentioned facial characteristics is determined and pre-
The facial characteristics put matches, and when the matching degree is less than the preset matching degree threshold value, determines above-mentioned facial characteristics and preset
Facial characteristics do not match that, wherein, the preset facial characteristics is authorizes the face of any one user of unblock terminal device
Feature.
It should be noted that when identifying that above-mentioned facial characteristics is not matched that with preset facial characteristics, and in weight
New triggering is performed before step 102, and the method for the control terminal equipment switch operating state can also include following operation:
Terminal device judges whether the number of times that the facial characteristics captured is not matched that with preset facial characteristics reaches finger
Fixed frequency threshold value, when the not up to frequency threshold value specified, continues to trigger performing step 102;When time for reaching that this specifies
During number threshold value, above-mentioned camera and above-mentioned face information acquisition interface are closed, so terminal device can be avoided maliciously to be solved
The situation of lock occurs.
104th, when identifying that above-mentioned facial characteristics and above-mentioned preset facial characteristics match, terminal device determine with it is upper
State corresponding first default operating condition of continuous number of winks.
The corresponding default work shape of different continuous number of winks is previously stored with the embodiment of the present invention, in terminal device
State, for example, when continuous number of winks is 5 times, corresponding default operating condition is music state, when continuous number of winks
For 7 times when, corresponding default operating condition is short message editing state etc., and the embodiment of the present invention is not limited.
105th, unlocking terminal equipment screen, and export operation interface corresponding with above-mentioned first default operating condition.
In the embodiment of the present invention, for example, when continuous number of winks is 5 times and corresponding first default operating condition is
During music state, it can be terminal device that terminal device, which exports operation interface corresponding with above-mentioned first default operating condition,
Start the music application installed on terminal device, export the operation interface of the music application.
The preset corresponding default operating condition of the continuous number of winks of difference can be in terminal device in the embodiment of the present invention
Application corresponding with the real needs is directly initiated according to the real needs for borrowing user in the case of being borrowed, it is so not only simple
Change and borrowed the manually operated of user, additionally it is possible to which reduction is borrowed the risk of the privacy leakage of user.
In an optional embodiment, after identifying that above-mentioned facial characteristics matches with preset facial characteristics,
And before above-mentioned determination the first default operating condition corresponding with above-mentioned continuous number of winks is performed, the control terminal equipment
The method of switch operating state can also include following operation:
Terminal device determines that the corresponding eye feature of the continuous number of winks captured is specific in above-mentioned face
Orientation, that is, determine what the continuous number of winks was triggered by which eyes of user.
Wherein, the above-mentioned continuous corresponding default operating conditions of number of winks of the difference prestored can be specially not Tongfang
The corresponding default operating condition of continuous number of winks of position (left or right).And terminal device is determined and above-mentioned continuous number of winks pair
The first default operating condition answered can include:
Terminal device determines that the corresponding eye feature of the continuous number of winks captured is specific in above-mentioned face
Orientation, and determine the first default operating condition corresponding with above-mentioned continuous number of winks under the specific orientation.
It can be seen that, the method for implementing the control terminal equipment switch operating state described by Fig. 1 can be by the people that captures
Face information and continuous number of winks realize the working condition of switching terminal equipment while terminal device is unlocked, and improve
The personal secrets of terminal device, reduce the risk that the privacy of the user of terminal device is spied on, improve the use of user
Experience.
Embodiment two
Referring to Fig. 2, Fig. 2 is the method for another control terminal equipment switch operating state disclosed in the embodiment of the present invention
Schematic flow sheet.As shown in Fig. 2 the method for another control terminal equipment switch operating state can include following behaviour
Make:
201st, terminal device detection is directed to the unlock instruction of the terminal device in screen lock state, and is referred to according to the unblock
Order starts the camera of terminal device and exports face information acquisition interface.
In the embodiment of the present invention, the terminal device can be with smart mobile phone (such as Android phone, iOS mobile phones), palm electricity
In the terminal devices such as brain, tablet personal computer, personal digital assistant (Personal Digital Assistant, PDA), the present invention is real
Example is applied not limit.Wherein, the camera of terminal device can be front camera, or rear camera, the present invention
Embodiment is not limited.
202nd, terminal device catches the face for the face for being shown in above-mentioned face information acquisition interface that camera is collected
Feature and continuous number of winks.
203rd, terminal device recognizes whether above-mentioned facial characteristics matches with preset facial characteristics, when recognition result is yes
When, triggering performs step 205, and when recognition result is no, triggering performs step 204.
204th, terminal device judges whether the number of times that the facial characteristics collected is not matched that with preset facial characteristics reaches
To the frequency threshold value specified, when judged result is to be, this flow can be terminated;, can be again when judged result is no
Trigger step 202.
It should be noted that when the recognition result of step 203 is no, in addition to it can trigger step 204, terminal is set
Standby can also carry out operates:
Whether judge the corresponding eye feature of above-mentioned continuous number of winks captured is eye positioned at face predeterminated position
Portion's feature, when judged result when being, to judge whether above-mentioned continuous number of winks is equal to the second predetermined times, continuously blinks when above-mentioned
When eye number of times is equal to the second predetermined times, it is determined that the second default operating condition corresponding with the second predetermined times, and unblock is eventually
The screen of end equipment, and export operation interface corresponding with the second default operating condition.So can be the spy of unauthorized unblock
Determine user and unique unlocking manner and specific default operating condition is set, it is personalized strong.
205th, terminal device judges whether the operation interface that terminal device shows before screen locking is privacy classes higher than preset
In the interface shown in the operation interface that the corresponding operation interface of application or terminal device of privacy classes are shown before screen locking
Whether appearance is privacy content, and when judged result is no, triggering performs step 206, when judged result for when being, triggering performs step
Rapid 207.
The embodiment of the present invention can realize that the operation interface exported before terminal device screen locking is answered for privacy classes are higher
With (such as instant messaging application, memorandum) the corresponding operation interface operation interface that either terminal device is exported before screen locking
The content of display is just operated the switching of state when being privacy content (such as content comprising preset keyword), so can
Reduce the power consumption of terminal device.
206th, the operation interface that unlocking terminal equipment screen and outlet terminal equipment are shown before screen locking.
In the embodiment of the present invention, when operation interface of the terminal device before screen locking is not the behaviour of the higher application of privacy classes
When making the content that interface and the operation interface before screen locking show and not being privacy content, lock screen and outlet terminal equipment are directly solved
The operation interface shown before screen locking, i.e., without the switching that state is operated to terminal device, reduce the work(of terminal device
Consumption.
207th, whether terminal device judges above-mentioned continuous number of winks more than the first predetermined times, when judged result is yes
When, triggering perform step 208, when judged result for it is no be that can terminate this flow.
208th, terminal device determines the first default operating condition corresponding with above-mentioned continuous number of winks.
209th, unlocking terminal equipment screen, and export operation interface corresponding with above-mentioned first default operating condition.
In an optional embodiment, after judging above-mentioned continuous number of winks more than the first predetermined times, with
And it is determined that before the first default operating condition corresponding with the continuous number of winks, the control terminal equipment switch operating shape
The method of state can also include following operation:
Terminal device judges whether above-mentioned continuous number of winks is odd number, when above-mentioned continuous number of winks is odd number, touches
Hair performs the operation of above-mentioned determination the first default operating condition corresponding with above-mentioned continuous number of winks;When above-mentioned continuous blink time
When number is not odd number, i.e., when above-mentioned continuous number of winks is even number, terminal device is unlocked, and export the terminal device in lock
The operation interface of display before screen.
It should be noted that above-mentioned first default operating condition described by the embodiment of the present invention can be display main screen
Working condition.
It can be seen that, the method for implementing the control terminal equipment switch operating state described by Fig. 2 can be by the people that captures
Face information and continuous number of winks realize the working condition of switching terminal equipment while terminal device is unlocked, and improve
The personal secrets of terminal device, reduce the risk that the privacy of the user of terminal device is spied on, improve the use of user
Experience.
Embodiment three
Referring to Fig. 3, Fig. 3 is a kind of structural representation of terminal device disclosed in the embodiment of the present invention.As shown in figure 3,
The terminal device 300 can include detection unit 301, control unit 302, capture unit 303, recognition unit 304 and determine
Unit 305, wherein:
Detection unit 301 is used to detect the unlock instruction for being directed to the terminal device 300 in screen lock state.
Control unit 302 is used for the camera of the unlock instruction startup terminal device 300 detected according to detection unit 301
And export face information acquisition interface.
Capture unit 303 is used to catch the face for being shown in above-mentioned face information acquisition interface that above-mentioned camera is collected
Facial characteristics and continuous number of winks.
Recognition unit 304 be used to recognizing facial characteristics that capture unit 303 captures whether with preset facial characteristics phase
Matching.
Determining unit 305 is used for when recognition unit 304 does not go out above-mentioned facial characteristics and matched with preset facial characteristics,
It is determined that the first default operating condition corresponding with above-mentioned continuous number of winks.
Control unit 302 is additionally operable to unlock the screen of terminal device 300, and exports the determined with determining unit 305
The corresponding operation interface of one default operating condition.
In an optional embodiment, the terminal device 300 can also include the first judging unit 306, further may be used
Choosing, the second judging unit 307 can also be included, now, the structure of the terminal device 300 can be with as shown in figure 4, Fig. 4 be this
The structural representation of another terminal device disclosed in inventive embodiments.Wherein:
First judging unit 306 is used to not go out above-mentioned facial characteristics and preset facial characteristics phase in recognition unit 304
With after and before the determination of determining unit 305 the first default operating condition corresponding with continuous number of winks, judge to catch single
Whether the continuous number of winks that member 303 is captured is more than the first predetermined times, when above-mentioned continuous number of winks is preset more than first
During number of times, triggering determining unit 305 performs the operation of above-mentioned determination the first default operating condition corresponding with continuous number of winks.
Second judging unit 307 is used for when recognition unit 304 identifies above-mentioned facial characteristics with preset facial characteristics not
Whether when matching, it is eye positioned at above-mentioned face predeterminated position to judge the corresponding eye feature of continuous number of winks that captures
Portion's feature, when judged result is to be, judges whether above-mentioned continuous number of winks is equal to the second predetermined times.
Determining unit 305 can be also used for when recognition unit 305 identifies above-mentioned facial characteristics and preset facial characteristics
Do not match that, when the corresponding eye feature of continuous number of winks captured be positioned at face predeterminated position eye feature and
When above-mentioned continuous number of winks is equal to the second predetermined times, it is determined that the corresponding with second predetermined times second default work shape
State.
Control unit 302 can be also used for when recognition unit 304 identifies facial characteristics and preset facial characteristics not phase
Match, when the corresponding eye feature of continuous number of winks captured is positioned at the eye feature of face predeterminated position and when company
When continuous number of winks is equal to the second predetermined times, the screen of terminal device 300 is unlocked, and export and second default operating condition
Corresponding operation interface.
It should be noted that when recognition unit 304 identifies that above-mentioned facial characteristics is not matched that with preset facial characteristics
When, the second judging unit 307 can also directly judge time that the facial characteristics captured is not matched that with preset facial characteristics
Whether number reaches the frequency threshold value specified, if it is, camera and above-mentioned face letter can be closed with trigger control unit 302
Acquisition interface and locking terminal equipment 300 are ceased, if it is not, then it is above-mentioned to perform above-mentioned seizure with retriggered capture unit 303
What camera was collected is shown in the facial characteristics of the face of above-mentioned face information acquisition interface and the behaviour of continuous number of winks
Make and recognition unit 304 perform the facial characteristics that captures of identification capture unit 303 whether with preset facial characteristics phase
The operation matched somebody with somebody.
Further alternative in the optional embodiment, the first judging unit 306 can be also used for judging above-mentioned company
Continuous number of winks whether more than before the first predetermined times and recognition unit 304 do not go out above-mentioned facial characteristics with it is described preset
Facial characteristics match after, judge whether the operation interface that terminal device 300 is shown before screen locking is that privacy classes are higher than
Shown in the operation interface that the corresponding operation interface of application or terminal device 300 of preset privacy classes are shown before screen locking
Whether interface content is privacy content, and whether above-mentioned continuous number of winks is judged for when being, triggering execution is above-mentioned when judged result
More than the operation of the first predetermined times.
Control unit 302 can be also used for when the operation interface that terminal device 300 is shown before screen locking is not privacy classes
Shown in the operation interface that the corresponding operation interface of application and terminal device 300 higher than preset privacy classes are shown before screen locking
Interface content be not privacy content, unlock the screen of the terminal device 300, and outlet terminal equipment 300 shows before screen locking
The operation for the operation interface shown.
Further optional, the first judging unit 306 can be also used for judging that above-mentioned continuous number of winks exceedes
The first default operating condition corresponding with above-mentioned continuous number of winks is determined after first predetermined times and in determining unit 305
Before, whether judge above-mentioned continuous number of winks is odd number.
Determining unit 305 determines that the concrete mode of the first default operating condition corresponding with above-mentioned continuous number of winks can be with
For:
When recognition unit 304 identifies that above-mentioned facial characteristics matches with preset facial characteristics, above-mentioned continuous blink
When number of times is odd number more than the first predetermined times and above-mentioned continuous number of winks, it is determined that corresponding with above-mentioned continuous number of winks
First default operating condition.
Control unit 302 can be also used for when recognition unit 304 identifies above-mentioned facial characteristics and preset facial characteristics
When matching, above-mentioned continuous number of winks is when exceeding above-mentioned first predetermined times and above-mentioned continuous number of winks and being not odd number,
Unlock the screen of the terminal device 300, and the operation interface that outlet terminal equipment 300 is shown before screen locking.
It can be seen that, implementing Fig. 3 or terminal device described by Fig. 4 can be by the face informations and continuous blink that capture
Number of times come realize unlock terminal device while switching terminal equipment working condition, improve the personal secrets of terminal device
Property, the risk that the privacy of the user of terminal device is spied on is reduced, the usage experience of user is improved.
One of ordinary skill in the art will appreciate that all or part of step in the various methods of above-described embodiment is can
To instruct the hardware of correlation to complete by program, the program can be stored in a computer-readable recording medium, storage
Medium include read-only storage (Read-Only Memory, ROM), random access memory (Random Access Memory,
RAM), programmable read only memory (Programmable Read-only Memory, PROM), erasable programmable is read-only deposits
Reservoir (Erasable Programmable Read Only Memory, EPROM), disposable programmable read-only storage (One-
Time Programmable Read-Only Memory, OTPROM), the electronics formula of erasing can make carbon copies read-only storage
(Electrically-Erasable Programmable Read-Only Memory, EEPROM), read-only optical disc (Compact
Disc Read-Only Memory, CD-ROM) or other disk storages, magnetic disk storage, magnetic tape storage or can
For carrying or any other computer-readable medium of data storage.
Above to the method and terminal device of a kind of control terminal equipment switch operating state disclosed in the embodiment of the present invention
It is described in detail, specific case used herein is set forth to the principle and embodiment of the present invention, and the above is real
The explanation for applying example is only intended to the method and its core concept for helping to understand the present invention;Simultaneously for the general technology of this area
Personnel, according to the thought of the present invention, will change in specific embodiments and applications, in summary, this theory
Bright book content should not be construed as limiting the invention.
Claims (10)
1. a kind of method of control terminal equipment switch operating state, it is characterised in that methods described includes:
Detection is directed to the unlock instruction of the terminal device in screen lock state, and starts the terminal according to the unlock instruction
The camera of equipment simultaneously exports face information acquisition interface;
Catch the facial characteristics of the face for being shown in the face information acquisition interface that the camera is collected and continuous
Number of winks, and recognize whether the facial characteristics matches with preset facial characteristics;
When identifying that the facial characteristics and the preset facial characteristics match, it is determined that with the continuous number of winks pair
The first default operating condition answered;
The terminal device is unlocked, and exports operation interface corresponding with first default operating condition.
2. the method for control terminal equipment switch operating state according to claim 1, it is characterised in that identifying
State after facial characteristics and the preset facial characteristics match, and it is described determine it is corresponding with the continuous number of winks
Before first default operating condition, methods described also includes:
Whether the continuous number of winks is judged more than the first predetermined times, when the continuous number of winks is pre- more than described first
When putting number of times, triggering performs the operation of the determination the first default operating condition corresponding with the continuous number of winks.
3. the method for control terminal equipment switch operating state according to claim 2, it is characterised in that identifying
State after facial characteristics and the preset facial characteristics match, and described judge whether the continuous number of winks exceedes
Before first predetermined times, methods described also includes:
Judge whether the operation interface that the terminal device is shown before screen locking is privacy classes answering higher than preset privacy classes
The interface content shown in the operation interface shown with corresponding operation interface or the terminal device before screen locking whether be
Privacy content, the continuous number of winks is judged whether preset more than first time when judged result for when being, triggering execution is described
Several operations;
Methods described also includes:
When the operation interface that the terminal device is shown before screen locking is not higher than the application pair of preset privacy classes for privacy classes
The interface content shown in the operation interface that the operation interface and the terminal device answered are shown before screen locking is not privacy content
When, the terminal device is unlocked, and export the operation interface that the terminal device is shown before screen locking.
4. the method for the control terminal equipment switch operating state according to Claims 2 or 3, it is characterised in that judging
Go out the continuous number of winks more than after first predetermined times, and in the determination and the continuous number of winks pair
Before the first default operating condition answered, methods described also includes:
Whether be odd number, when the continuous number of winks is odd number, triggering performs described true if judging the continuous number of winks
The operation of fixed the first default operating condition corresponding with the continuous number of winks;
Methods described also includes:
When the continuous number of winks is not odd number, the terminal device is unlocked, and export the terminal device before screen locking
The operation interface of display.
5. the method for the control terminal equipment switch operating state according to claim any one of 1-4, it is characterised in that institute
Stating method also includes:
When identifying that the facial characteristics and the preset facial characteristics are not matched that, judge to capture described continuously blinks
Whether the corresponding eye feature of eye number of times is eye feature positioned at the face predeterminated position, when judged result when being, to sentence
Whether the continuous number of winks of breaking is equal to the second predetermined times, when the continuous number of winks is equal to second predetermined times
When, it is determined that the second default operating condition corresponding with second predetermined times;
The terminal device is unlocked, and exports operation interface corresponding with second default operating condition.
6. a kind of terminal device, it is characterised in that the terminal device includes detection unit, control unit, capture unit, identification
Unit and determining unit, wherein:
The detection unit, the unlock instruction of the terminal device in screen lock state is directed to for detecting;
Described control unit, the unlock instruction for being detected according to the detection unit starts taking the photograph for the terminal device
As head and export face information acquisition interface;
The capture unit, for catching the face for being shown in the face information acquisition interface that the camera is collected
Facial characteristics and continuous number of winks;
The recognition unit, for recognizing whether the facial characteristics matches with preset facial characteristics;
The determining unit, for matching when the recognition unit does not go out the facial characteristics with the preset facial characteristics
When, it is determined that the first default operating condition corresponding with the continuous number of winks;
Described control unit, is additionally operable to unlock the terminal device, and export behaviour corresponding with first default operating condition
Make interface.
7. terminal device according to claim 6, it is characterised in that the terminal device also includes the first judging unit,
Wherein:
First judging unit, for not going out the facial characteristics and the preset facial characteristics phase in the recognition unit
After matching and before the determining unit determines the first default operating condition corresponding with the continuous number of winks, judgement
Whether the continuous number of winks is more than the first predetermined times, when the continuous number of winks exceedes first predetermined times
When, trigger the behaviour that the determining unit performs the determination the first default operating condition corresponding with the continuous number of winks
Make.
8. terminal device according to claim 7, it is characterised in that first judging unit, is additionally operable to judging
State whether continuous number of winks does not go out the facial characteristics and institute more than before the first predetermined times and in the recognition unit
State after preset facial characteristics matches, judge whether the operation interface that the terminal device is shown before screen locking is privacy etc.
Level is higher than the operation interface that the corresponding operation interface of application or the terminal device of preset privacy classes are shown before screen locking
Whether the interface content of middle display is privacy content, when judged result for when being, triggering performs the judgement continuous blink
Number of times whether more than the first predetermined times operation;
Described control unit, the operation interface for being additionally operable to show before screen locking when the terminal device is not that privacy classes are higher than in advance
Put the boundary shown in the operation interface that the corresponding operation interface of application and the terminal device of privacy classes are shown before screen locking
Face content is not privacy content, unlocks the terminal device, and export the operation interface that the terminal device is shown before screen locking
Operation.
9. the terminal device according to claim 7 or 8, it is characterised in that first judging unit, is additionally operable to judging
Go out the continuous number of winks to determine and the continuous blink time more than after first predetermined times and in determining unit
Whether before corresponding first default operating condition of number, it is odd number to judge the continuous number of winks;
The determining unit determines that the concrete mode of the first default operating condition corresponding with the continuous number of winks is:
When identifying that the facial characteristics and the preset facial characteristics match, the continuous number of winks exceed it is described
When first predetermined times and the continuous number of winks is odd numbers, it is determined that being preset with the continuous number of winks corresponding first
Working condition;
Described control unit, is additionally operable to when identifying that the facial characteristics matches with the preset facial characteristics, described
When continuous number of winks is not odd number more than first predetermined times and the continuous number of winks, unlocks the terminal and set
It is standby, and export the operation interface that the terminal device is shown before screen locking.
10. the terminal device according to claim any one of 6-9, it is characterised in that the terminal device also includes second
Judging unit, wherein:
Second judging unit, for identifying the facial characteristics and the preset facial characteristics when the recognition unit
Whether when not matching that, it is to preset position positioned at the face to judge the corresponding eye feature of the continuous number of winks captured
The eye feature put, when judged result is to be, judges whether the continuous number of winks is equal to the second predetermined times;
The determining unit, is additionally operable to when the recognition unit identifies the facial characteristics with the preset facial characteristics not
Match, when the corresponding eye feature of the continuous number of winks captured be positioned at the face predeterminated position eye it is special
Levy and when the continuous number of winks is equal to second predetermined times, it is determined that corresponding with second predetermined times the
Two default operating conditions;
Described control unit, is additionally operable to when the recognition unit identifies the facial characteristics with the preset facial characteristics not
Match, when the corresponding eye feature of the continuous number of winks captured be positioned at the face predeterminated position eye it is special
Levy and when the continuous number of winks is equal to second predetermined times, unlock the terminal device, and export with it is described
The corresponding operation interface of second default operating condition.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710231298.0A CN107025398B (en) | 2017-04-11 | 2017-04-11 | A kind of method and terminal device of controlling terminal equipment switch operating state |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710231298.0A CN107025398B (en) | 2017-04-11 | 2017-04-11 | A kind of method and terminal device of controlling terminal equipment switch operating state |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107025398A true CN107025398A (en) | 2017-08-08 |
CN107025398B CN107025398B (en) | 2019-08-13 |
Family
ID=59526922
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710231298.0A Active CN107025398B (en) | 2017-04-11 | 2017-04-11 | A kind of method and terminal device of controlling terminal equipment switch operating state |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107025398B (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108563330A (en) * | 2018-03-30 | 2018-09-21 | 百度在线网络技术(北京)有限公司 | Using open method, device, equipment and computer-readable medium |
CN109800644A (en) * | 2018-12-17 | 2019-05-24 | 深圳壹账通智能科技有限公司 | Terminal device switching method, device, medium and terminal based on Expression Recognition |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104036195A (en) * | 2013-03-07 | 2014-09-10 | 联想(北京)有限公司 | Information processing method and device |
CN104598792A (en) * | 2014-12-29 | 2015-05-06 | 深圳市金立通信设备有限公司 | Terminal |
CN105912904A (en) * | 2016-04-07 | 2016-08-31 | 上海斐讯数据通信技术有限公司 | Working mode switching device and method, and terminal |
CN106557678A (en) * | 2016-11-09 | 2017-04-05 | 珠海格力电器股份有限公司 | A kind of intelligent terminal's mode switching method and its device |
-
2017
- 2017-04-11 CN CN201710231298.0A patent/CN107025398B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104036195A (en) * | 2013-03-07 | 2014-09-10 | 联想(北京)有限公司 | Information processing method and device |
CN104598792A (en) * | 2014-12-29 | 2015-05-06 | 深圳市金立通信设备有限公司 | Terminal |
CN105912904A (en) * | 2016-04-07 | 2016-08-31 | 上海斐讯数据通信技术有限公司 | Working mode switching device and method, and terminal |
CN106557678A (en) * | 2016-11-09 | 2017-04-05 | 珠海格力电器股份有限公司 | A kind of intelligent terminal's mode switching method and its device |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108563330A (en) * | 2018-03-30 | 2018-09-21 | 百度在线网络技术(北京)有限公司 | Using open method, device, equipment and computer-readable medium |
CN109800644A (en) * | 2018-12-17 | 2019-05-24 | 深圳壹账通智能科技有限公司 | Terminal device switching method, device, medium and terminal based on Expression Recognition |
Also Published As
Publication number | Publication date |
---|---|
CN107025398B (en) | 2019-08-13 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107657159A (en) | A kind of method for secret protection and device, terminal and readable storage medium storing program for executing | |
CN104809402B (en) | A kind of information fuzzy display methods and terminal | |
CN108804006B (en) | Unlocking method, device, equipment and storage medium for wearable equipment | |
CN104835223A (en) | Entrance guard system based on voice recognition, facial recognition and fingerprint recognition | |
CN104915012B (en) | A kind of screen locking method and device of terminal | |
CN105550557B (en) | A kind of method and terminal device entering not homologous ray by fingerprint recognition | |
CN104954534B (en) | Control method, device and the corresponding communication terminal of communication terminal | |
CN113763620B (en) | Combined access control, method and device for controlling combined access control and storage medium | |
CN105809139A (en) | Acquisition method and device of eyeball information | |
CN108038363A (en) | Improve the method and device of Terminal security | |
CN104809780A (en) | Access control method based on fingerprint recognition and face recognition | |
CN107437016A (en) | Application control method and related product | |
CN104809782A (en) | Access control system based on voice recognition and face recognition | |
CN108170331A (en) | A kind of double switching methods and relevant device for opening application | |
CN105844181A (en) | Key instruction processing method and terminal | |
CN107025398A (en) | The method and terminal device of a kind of control terminal equipment switch operating state | |
CN104835222A (en) | Entrance guard control method based on voice recognition, facial recognition and fingerprint recognition | |
CN108229125A (en) | A kind of control method and electronic equipment | |
CN106897599A (en) | A kind of method and terminal by fingerprint control screen | |
CN103869985B (en) | Information processing method and terminal device | |
CN107832669A (en) | Method for detecting human face and Related product | |
CN104809784A (en) | Access control method based on voice recognition and face recognition | |
CN105303092B (en) | A kind of identity identifying method and device | |
CN110867002A (en) | Door opening mode setting method, intelligent lock and storage medium | |
CN106845197A (en) | A kind of fingerprint identification method and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |