CN107025398B - Method for controlling terminal equipment to switch working state and terminal equipment - Google Patents

Method for controlling terminal equipment to switch working state and terminal equipment Download PDF

Info

Publication number
CN107025398B
CN107025398B CN201710231298.0A CN201710231298A CN107025398B CN 107025398 B CN107025398 B CN 107025398B CN 201710231298 A CN201710231298 A CN 201710231298A CN 107025398 B CN107025398 B CN 107025398B
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.)
Active
Application number
CN201710231298.0A
Other languages
Chinese (zh)
Other versions
CN107025398A (en
Inventor
王金龙
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Genius Technology Co Ltd
Original Assignee
Guangdong Genius Technology Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Guangdong Genius Technology Co Ltd filed Critical Guangdong Genius Technology Co Ltd
Priority to CN201710231298.0A priority Critical patent/CN107025398B/en
Publication of CN107025398A publication Critical patent/CN107025398A/en
Application granted granted Critical
Publication of CN107025398B publication Critical patent/CN107025398B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/31User authentication
    • G06F21/32User authentication using biometric data, e.g. fingerprints, iris scans or voiceprints
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/62Protecting access to data via a platform, e.g. using keys or access control rules
    • G06F21/6218Protecting 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/6245Protecting personal data, e.g. for financial or medical purposes
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/70Protecting specific internal or peripheral components, in which the protection of a component leads to protection of the entire computer
    • G06F21/82Protecting input, output or interconnection devices
    • G06F21/84Protecting 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 method for controlling terminal equipment to switch working states and the terminal equipment, wherein the method comprises the following steps: detecting an unlocking instruction aiming at the terminal equipment in a screen locking state, starting a camera of the terminal equipment according to the unlocking instruction and outputting a face information acquisition interface, capturing facial features and continuous blinking times of a face displayed on the face information acquisition interface and collected by the camera, identifying whether the facial features are matched with preset facial features, determining a first preset working state corresponding to the continuous blinking times when the facial features are identified to be matched with the preset facial features, unlocking the terminal equipment and outputting an operation interface corresponding to the first preset working state. The embodiment of the invention can improve the privacy security of the terminal equipment.

Description

A kind of method and terminal device of controlling terminal equipment switch operating state
Technical field
The present invention relates to intelligent terminal technical fields, and in particular to a kind of controlling terminal equipment switch operating state Method and terminal device.
Background technique
Currently, the terminal devices such as mobile phone using more and more extensive, people not only can be used terminal device and entertain Activity, such as listen to music, see video, some privacy activities can also be carried out, such as carry out secret communication, consult secret file. It is frequently encountered the case where friend, colleague etc. borrow terminal device in practical applications, if terminal device is shown before screen locking The content shown is when comparing the content of privacy or being not desired to the privacy information being seen, and unlock terminal device is lent others and used When there are the risks of privacy leakage.As it can be seen that current terminal device has that personal secrets are low.
Summary of the invention
The embodiment of the invention discloses the method and terminal device of a kind of controlling terminal equipment switch operating state, Neng Gouti The personal secrets of high terminal device.
First aspect of the embodiment of the present invention discloses a kind of method of controlling terminal equipment switch operating state, the method Include:
Detection is directed to the unlock instruction of the terminal device in screen lock state, and according to unlock instruction starting The camera of terminal device simultaneously exports face information acquisition interface;
Capture the collected face for being shown in the face information acquisition interface of the camera facial characteristics and Continuous number of winks, and identify whether the facial characteristics matches with preset facial characteristics;
It is determining secondary with the continuous blink when identifying that the facial characteristics and the preset facial characteristics match 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, identifying the facial characteristics in first aspect of the embodiment of the present invention And after the preset facial characteristics matches and the determination the first default work corresponding with the continuous number of winks Before making state, the method also includes:
The continuous number of winks is judged whether more than the first predetermined times, when the continuous number of winks is more than described the When one predetermined times, triggering executes the operation of the determination the first default operating condition corresponding with the continuous number of winks.
As an alternative embodiment, identifying the facial characteristics in first aspect of the embodiment of the present invention After matching with the preset facial characteristics and described judge whether the continuous number of winks is preset more than first time Before number, the method 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 operation interface shown before screen locking using corresponding operation interface or the terminal device in the interface content that shows be No is privacy content, and when the judgment result is yes, triggering execution is described to judge whether the continuous number of winks is pre- more than first Set the operation of number;
The method also includes:
When the operation interface that the terminal device is shown before screen locking is not that privacy classes are higher than answering for preset privacy classes The interface content shown in the operation interface shown before screen locking with corresponding operation interface and the terminal device is not privacy When content, the terminal device is unlocked, and exports the operation interface that the terminal device is shown before screen locking.
As an alternative embodiment, judging the continuous blink in first aspect of the embodiment of the present invention After number is more than first predetermined times, and in the determination the first default work corresponding with the continuous number of winks Before making state, the method also includes:
Judge whether the continuous number of winks is odd number, when the continuous number of winks is odd number, triggering executes institute State the operation of determining the first default operating condition corresponding with the continuous number of winks;
The method also includes:
When the continuous number of winks is not odd number, the terminal device is unlocked, and exports the terminal device and is locking The operation interface shown before screen.
As an alternative embodiment, in first aspect of the embodiment of the present invention, the method also includes:
When identifying that the facial characteristics and the preset facial characteristics do not match that, 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 judging 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 equal to described second in advance When setting number, the second default operating condition corresponding with second predetermined times is determined;
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 determination unit, in which:
The detection unit, for detecting the unlock instruction for being directed to the terminal device in screen lock state;
Described control unit, the unlock instruction for being detected according to the detection unit start the terminal device Camera and export face information acquisition interface;
The capture unit, for capturing the collected people for being shown in the face information acquisition interface of the camera The facial characteristics of face and continuous number of winks;
The recognition unit, whether the facial characteristics matches with preset facial characteristics for identification;
The determination unit, Chu the facial characteristics and the preset facial characteristics phase for working as the recognition unit When matching, determining the first default operating condition corresponding with the continuous number of winks;
Described control unit is also used to unlock the terminal device, and exports corresponding with first default operating condition Operation interface.
As an alternative embodiment, the terminal device further includes in second aspect of the embodiment of the present invention One judging unit, in which:
First judging unit, for the recognition unit Chu the facial characteristics and the preset face it is special After sign matches and before determining the first default operating condition corresponding with the continuous number of winks of the determination unit, The continuous number of winks is judged whether more than the first predetermined times, when the continuous number of winks is more than described first preset time When number, the behaviour that the determination unit executes 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 before judging the continuous number of winks whether more than the first predetermined times and the recognition unit Chu the face After portion's feature and the preset facial characteristics match, the operation interface for judging that the terminal device is shown before screen locking is It is no to be higher than showing before screen locking using corresponding operation interface or the terminal device for preset privacy classes for privacy classes Operation interface in the interface content that shows whether be privacy content, when the judgment result is yes, triggering executes the judgement institute State continuous number of winks whether more than the first predetermined times operation;
Described control unit is also used to when the operation interface that the terminal device is shown before screen locking not be privacy classes height It is shown in the operation interface of preset privacy classes shown before screen locking using corresponding operation interface and the terminal device 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 In after judging that the continuous number of winks is more than first predetermined times and in determination unit determination and the company Before continuous corresponding first default operating condition of number of winks, judge whether the continuous number of winks is odd number;
The concrete mode of determining the first default operating condition corresponding with the continuous number of winks of the determination unit are as follows:
When identifying that the facial characteristics matches with the preset facial characteristics, the continuous number of winks be more than When first predetermined times and the continuous number of winks are odd number, determine and the continuous number of winks corresponding first Default operating condition;
Described control unit is also used to work as and identifies that the facial characteristics matches with the preset facial characteristics When, the continuous number of winks is not when to be more than first predetermined times and the continuous number of winks be odd number, unlock institute Terminal device is stated, and exports the operation interface that the terminal device is shown before screen locking.
As an alternative embodiment, the terminal device further includes in second aspect of the embodiment of the present invention Two judging units, in which:
The second judgment unit, for identifying the facial characteristics and the preset face when the recognition unit When feature does not match that, whether the corresponding eye feature of the continuous number of winks for judging to capture is pre- positioned at the face If the eye feature of position, when the judgment result is yes, judge whether the continuous number of winks is equal to the second predetermined times;
The determination unit is also used to identify that the facial characteristics and the preset face are special when the recognition unit Sign does 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, determination it is corresponding with second predetermined times The second default operating condition;
Described control unit is also used to identify that the facial characteristics and the preset face are special when the recognition unit Sign does 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 The camera of lock instruction starting terminal device simultaneously exports face information acquisition interface, captures that camera is collected is shown in the people The facial characteristics of the face at face information collection interface and continuous number of winks, and identify the facial characteristics whether with preset face Portion's feature matches, when identifying that the facial characteristics and preset facial characteristics match, the determining and continuous number of winks Corresponding first default operating condition unlocks terminal device, and exports operation interface corresponding with first default operating condition. As it can be seen that terminal can unlocked by the face information captured and continuous number of winks to realize by implementing the embodiment of the present invention 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 pried through improves the usage experience of user.
Detailed description of the invention
It to describe the technical solutions in the embodiments of the present invention more clearly, below will be to needed in the embodiment Attached drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the invention, for ability For the those of ordinary skill of domain, without creative efforts, it can also be obtained according to these attached drawings other attached Figure.
Fig. 1 is a kind of process signal of the method for controlling terminal equipment switch operating state disclosed by the embodiments of the present invention Figure;
Fig. 2 is the process signal of the method for another controlling terminal equipment switch operating state disclosed by the embodiments of the present invention Figure;
Fig. 3 is a kind of structural schematic diagram of terminal device disclosed by the embodiments of the present invention;
Fig. 4 is the structural schematic diagram of another terminal device disclosed by the embodiments of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that the described embodiment is only a part of the embodiment of the present invention, instead of all the embodiments.Based on this Embodiment in invention, every other reality obtained by those of ordinary skill in the art without making creative efforts Example is applied, shall fall within the protection scope of the present invention.
It should be noted that the term " includes " of the embodiment of the present invention and " having " and their any deformation, it is intended that Be to cover it is non-exclusive include, for example, containing the process, method, system, product or equipment of a series of steps or units not Those of be necessarily limited to be clearly listed step or unit, but may include be not clearly listed or for these processes, side The intrinsic other step or units of method, product or equipment.
The embodiment of the invention discloses the method and terminal device of a kind of controlling terminal equipment switch operating state, Neng Goutong The face information captured and continuous number of winks are crossed to realize the work of switching terminal equipment while unlocking terminal device Make state, improve the personal secrets of terminal device, reduce the risk that the privacy of the user of terminal device is pried through, improves The usage experience of user.It is described in detail separately below.
Embodiment one
Referring to Fig. 1, Fig. 1 is a kind of method of controlling terminal equipment switch operating state disclosed by the embodiments of the present invention Flow diagram.As shown in Figure 1, the method for the controlling terminal equipment switch operating state may include following operation:
101, terminal device detection is directed to the unlock instruction of the terminal device in screen lock state, and is referred to according to the unlock It enables the camera of starting terminal device and exports face information acquisition interface.
In the embodiment of the present invention, which can be with smart phone (such as Android phone, iOS mobile phone), palm electricity In the terminal devices such as brain, tablet computer, personal digital assistant (Personal Digital Assistant, PDA), the present invention is real Apply example without limitation.Wherein, the camera of the terminal device of starting can be front camera, or rear camera, The embodiment of the present invention is without limitation.
102, terminal device captures the face of the collected face for being shown in above-mentioned face information acquisition interface of camera Feature and continuous number of winks.
In the embodiment of the present invention, when the facial characteristics of the collected face of camera does not include eye feature, prompt to use Family adjusts self-position or adjusts the position of terminal device, to capture continuous number of winks.
103, terminal device identifies whether above-mentioned facial characteristics matches with preset facial characteristics, when identifying above-mentioned face When portion's feature and preset facial characteristics match, triggering executes step 104, above-mentioned facial special with preset face when identifying When sign does not match that, terminal device can execute step 102 with retriggered.
In the embodiment of the present invention, terminal device identifies whether above-mentioned facial characteristics matches with preset facial characteristics can be with Include:
Terminal device identifies the matching degree of above-mentioned facial characteristics Yu preset facial characteristics, and judges whether the matching degree is big In being 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 and pre- is determined The facial characteristics set matches, and when the matching degree is less than the preset matching degree threshold value, determines above-mentioned facial characteristics and preset Facial characteristics does not match that, wherein the preset facial characteristics is the face of any one user of authorization unlock terminal device Feature.
It should be noted that when identifying that above-mentioned facial characteristics and preset facial characteristics do not match that, and in weight Before new triggering executes step 102, the method for the controlling terminal equipment switch operating state can also include following operation:
Whether the number that the facial characteristics and preset facial characteristics that terminal device judgement captures do not match that reaches finger Fixed frequency threshold value continues triggering and executes step 102 when the not up to specified frequency threshold value;When reaching this specified time When number threshold value, above-mentioned camera and above-mentioned face information acquisition interface are closed, can maliciously be solved to avoid terminal device in this way The case where lock, occurs.
104, when identifying above-mentioned facial characteristics and above-mentioned preset facial characteristics matches, terminal device it is determining 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 in the embodiment of the present invention, in terminal device State, for example, corresponding default operating condition is music state, when continuous number of winks when continuous number of winks is 5 times When being 7 times, corresponding default operating condition is short message editing state etc., and the embodiment of the present invention is without limitation.
105, 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 When music state, it can be terminal device that terminal device, which exports operation interface corresponding with above-mentioned first default operating condition, The music application installed on starting terminal device, exports 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 specific requirements is directly initiated according to the specific requirements for borrowing user in the case where being borrowed, it is not only simple in this way The manual operation for borrowing user is changed, additionally it is possible to reduce the risk for being borrowed the privacy leakage of user.
In an alternative embodiment, after identifying that above-mentioned facial characteristics and preset facial characteristics match, And before executing above-mentioned determination the first default operating condition corresponding with above-mentioned continuous number of winks, the controlling 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 determines what the continuous number of winks was triggered by which eyes of user.
Wherein, the above-mentioned pre-stored different continuous corresponding default operating conditions of number of winks can be specially not Tongfang The corresponding default operating condition of continuous number of winks of position (left or right).And terminal device determines and above-mentioned continuous number of winks pair The first default operating condition answered may 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.
As it can be seen that the method for implementing controlling terminal equipment switch operating state described in 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 unlocking terminal device, improve The personal secrets of terminal device reduce the risk that the privacy of the user of terminal device is pried through, improve the use of user Experience.
Embodiment two
Referring to Fig. 2, Fig. 2 is the method for another controlling terminal equipment switch operating state disclosed by the embodiments of the present invention Flow diagram.As shown in Fig. 2, the method for the another kind controlling terminal equipment switch operating state may include following behaviour Make:
201, terminal device detection is directed to the unlock instruction of the terminal device in screen lock state, and is referred to according to the unlock It enables the camera of starting terminal device and exports face information acquisition interface.
In the embodiment of the present invention, which can be with smart phone (such as Android phone, iOS mobile phone), palm electricity In the terminal devices such as brain, tablet computer, personal digital assistant (Personal Digital Assistant, PDA), the present invention is real Apply example without limitation.Wherein, the camera of terminal device can be front camera, or rear camera, the present invention Embodiment is without limitation.
202, terminal device captures the face of the collected face for being shown in above-mentioned face information acquisition interface of camera Feature and continuous number of winks.
203, terminal device identifies whether above-mentioned facial characteristics matches with preset facial characteristics, when recognition result is yes When, triggering executes step 205, and when recognition result is no, triggering executes step 204.
204, terminal device judges whether the number that collected facial characteristics is not matched that with preset facial characteristics reaches To specified frequency threshold value, when the judgment result is yes, this process can be terminated;It when the judgment result is no, can be again Trigger step 202.
It should be noted that other than it can trigger step 204, terminal is set when the recognition result of step 203 is no Standby can also be performed operates:
Judge whether the corresponding eye feature of above-mentioned continuous number of winks captured is eye positioned at face predeterminated position Portion's feature judges whether above-mentioned continuous number of winks is equal to the second predetermined times when the judgment result is yes, continuously blinks when above-mentioned When eye number is equal to the second predetermined times, the second default operating condition corresponding with the second predetermined times is determined, and unlock is eventually The screen of end equipment, and export operation interface corresponding with the second default operating condition.It in this way can be the spy of unauthorized unlock Determine the unique unlocking manner of user setting and specific default operating condition, it is personalized strong.
205, terminal device judges whether the operation interface that terminal device is shown before screen locking is privacy classes higher than preset In the interface shown in the operation interface of privacy classes shown before screen locking using corresponding operation interface or terminal device Whether be privacy content, when the judgment result is no, triggering executes step 206 if holding, when the judgment result is yes, triggering executes step Rapid 207.
The embodiment of the present invention can be realized the operation interface exported before terminal device screen locking and answer for privacy classes are higher The operation interface exported before screen locking with (such as instant messaging application, memorandum) corresponding operation interface either terminal device The switching that working condition is just carried out when the content of display is privacy content (such as comprising the content of preset keyword), in this way can Reduce the power consumption of terminal device.
206, 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 Make interface and when content that the operation interface before screen locking is shown is not privacy content, directly solution lock screen and outlet terminal equipment The operation interface shown before screen locking reduces the function of terminal device that is, without the switching for carrying out working condition to terminal device Consumption.
207, terminal device judges above-mentioned continuous number of winks whether more than the first predetermined times, when judging result is yes When, triggering executes step 208, is that can terminate this process when judging result is no.
208, determining the first default operating condition corresponding with above-mentioned continuous number of winks of terminal device.
209, unlocking terminal equipment screen, and export operation interface corresponding with above-mentioned first default operating condition.
In an alternative embodiment, after judging that above-mentioned continuous number of winks is more than the first predetermined times, with And before determining the first default operating condition corresponding with the continuous number of winks, the controlling 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, touching Hair executes 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 and locking The operation interface shown before screen.
It should be noted that above-mentioned first default operating condition described in the embodiment of the present invention can be display main screen Working condition.
As it can be seen that the method for implementing controlling terminal equipment switch operating state described in 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 unlocking terminal device, improve The personal secrets of terminal device reduce the risk that the privacy of the user of terminal device is pried through, improve the use of user Experience.
Embodiment three
Referring to Fig. 3, Fig. 3 is a kind of structural schematic diagram of terminal device disclosed by the embodiments of the present invention.As shown in figure 3, The terminal device 300 may include detection unit 301, control unit 302, capture unit 303, recognition unit 304 and determine Unit 305, in which:
Detection unit 301 is used to detect the unlock instruction for the terminal device 300 in screen lock state.
The camera for the unlock instruction starting terminal device 300 that control unit 302 is used to be detected according to detection unit 301 And export face information acquisition interface.
Capture unit 303 is for capturing the collected face for being shown in above-mentioned face information acquisition interface of above-mentioned camera Facial characteristics and continuous number of winks.
The facial characteristics that capture unit 303 captures for identification of recognition unit 304 whether with preset facial characteristics phase Matching.
Determination unit 305 is used for when recognition unit 304 does not go out above-mentioned facial characteristics and preset facial characteristics and matches, Determining the first default operating condition corresponding with above-mentioned continuous number of winks.
Control unit 302 is also used to unlock the screen of terminal device 300, and exports the determined with determination unit 305 The corresponding operation interface of one default operating condition.
In an alternative embodiment, which can also include the first judging unit 306, further may be used Choosing, can also include second judgment unit 307, at this point, the structure of the terminal device 300 can be as shown in figure 4, Fig. 4 be this The structural schematic diagram of another kind terminal device disclosed in inventive embodiments.Wherein:
First judging unit 306 is used for Chu above-mentioned facial characteristics and preset facial characteristics phase in recognition unit 304 With later and before determining the first default operating condition corresponding with continuous number of winks of determination unit 305, judge to capture single Whether the continuous number of winks that member 303 captures is more than the first predetermined times, when above-mentioned continuous number of winks is more than first preset When number, triggering determination unit 305 executes the operation of above-mentioned determination the first default operating condition corresponding with continuous number of winks.
Second judgment unit 307 is used to identify above-mentioned facial characteristics and preset facial characteristics not when recognition unit 304 When matching, judge whether the corresponding eye feature of continuous number of winks captured is eye positioned at above-mentioned face predeterminated position Portion's feature judges whether above-mentioned continuous number of winks is equal to the second predetermined times when the judgment result is yes.
Determination unit 305 can be also used for identifying above-mentioned facial characteristics and preset facial characteristics when recognition unit 305 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, the second default work shape corresponding with second predetermined times is determined State.
Control unit 302 can be also used for identifying facial characteristics and preset facial characteristics not phase when recognition unit 304 It matches, 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, second judgment unit 307 can also directly judge time that the facial characteristics captured and preset facial characteristics do not match that Whether number reaches specified frequency threshold value, 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 execute above-mentioned capture with retriggered capture unit 303 The facial characteristics of the collected face for being shown in above-mentioned face information acquisition interface of camera and the behaviour of continuous number of winks Make and recognition unit 304 execute the facial characteristics that captures of identification capture unit 303 whether with preset facial characteristics phase The operation matched.
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 not Chu 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 It is shown in the operation interface of preset privacy classes shown before screen locking using corresponding operation interface or terminal device 300 Whether interface content is privacy content, and when the judgment result is yes, whether triggering execution is above-mentioned judges above-mentioned continuous number of winks 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 not being privacy classes Higher than being shown in the operation interface of preset privacy classes shown before screen locking using corresponding operation interface and terminal device 300 Interface content be not privacy content, unlock the screen of the terminal device 300, and outlet terminal equipment 300 is shown 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 is more than After first predetermined times and in determining the first default operating condition corresponding with above-mentioned continuous number of winks of determination unit 305 Before, judge whether above-mentioned continuous number of winks is odd number.
The concrete mode of determining the first default operating condition corresponding with above-mentioned continuous number of winks of determination unit 305 can be with Are as follows:
When recognition unit 304 identifies above-mentioned facial characteristics and preset facial characteristics matches, above-mentioned continuous blink When number is more than the first predetermined times and above-mentioned continuous number of winks is odd number, determination is corresponding with above-mentioned continuous number of winks First default operating condition.
Control unit 302 can be also used for identifying above-mentioned facial characteristics and preset facial characteristics when recognition unit 304 When matching, above-mentioned continuous number of winks is not when to be more than above-mentioned first predetermined times and above-mentioned continuous number of winks be odd number, Unlock the screen of the terminal device 300, and the operation interface that outlet terminal equipment 300 is shown before screen locking.
As it can be seen that terminal device described in implementing Fig. 3 or Fig. 4 can pass through the face information that captures and continuous blink Number realizes the working condition of switching terminal equipment while unlocking terminal device, improves the personal secrets of terminal device Property, the risk that the privacy of the user of terminal device is pried through is reduced, the usage experience of user is improved.
Those of ordinary skill in the art will appreciate that all or part of the steps in the various methods of above-described embodiment is can It is completed with instructing relevant hardware by program, which can be stored in a computer readable storage medium, storage Medium include read-only memory (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 memory (One- Time Programmable Read-Only Memory, OTPROM), the electronics formula of erasing can make carbon copies read-only memory (Electrically-Erasable Programmable Read-Only Memory, EEPROM), CD-ROM (Compact Disc Read-Only Memory, CD-ROM) or other disc memories, magnetic disk storage, magnetic tape storage or can For carrying or any other computer-readable medium of storing data.
Above to a kind of method and terminal device of controlling terminal equipment switch operating state disclosed by the embodiments of the present invention It is described in detail, used herein a specific example illustrates the principle and implementation of the invention, the above reality The explanation for applying example is merely used to help understand method and its core concept of the invention;Meanwhile for the general technology of this field Personnel, according to the thought of the present invention, there will be changes in the specific implementation manner and application range, in conclusion this theory Bright book content should not be construed as limiting the invention.

Claims (8)

1. a kind of method of controlling terminal equipment switch operating state, which is characterized in that the described method 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;
Capture the facial characteristics of the collected face for being shown in the face information acquisition interface of the camera and continuous Number of winks, and identify whether the facial characteristics matches with preset facial characteristics;
When identifying that the facial characteristics and the preset facial characteristics match, the determining and 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;
When identifying the facial characteristics and the preset facial characteristics does not match that, judge to capture described continuously blinks Whether the corresponding eye feature of eye number is to sentence when the judgment result is yes positioned at the eye feature of the face predeterminated position 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, determine 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.
2. the method for controlling terminal equipment switch operating state according to claim 1, which is characterized in that identifying State facial characteristics and the preset facial characteristics match after and the determination it is corresponding with the continuous number of winks Before first default operating condition, the method also includes:
The continuous number of winks is judged whether more than the first predetermined times, when the continuous number of winks is more than described first pre- When setting number, triggering executes the operation of the determination the first default operating condition corresponding with the continuous number of winks.
3. the method for controlling terminal equipment switch operating state according to claim 2, which is characterized in that identifying State facial characteristics and the preset facial characteristics match after and it is described judge the continuous number of winks whether be more than Before first predetermined times, the method also includes:
Judge whether the operation interface that the terminal device is shown before screen locking is that privacy classes are higher than answering for preset privacy classes The interface content shown in the operation interface shown before screen locking with corresponding operation interface or the terminal device whether be Privacy content, when the judgment result is yes, whether triggering execution is described judges the continuous number of winks preset more than first time Several operations;
The method also includes:
When the operation interface that the terminal device is shown before screen locking is not the application pair that privacy classes are higher than preset 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 controlling terminal equipment switch operating state according to claim 2 or 3, which is characterized in that judging After the continuous number of winks is more than first predetermined times out, and in the determination and the continuous number of winks pair Before the first default operating condition answered, the method also includes:
Judge whether the continuous number of winks is odd number, when the continuous number of winks is odd number, triggering executes described true The operation of fixed the first default operating condition corresponding with the continuous number of winks;
When the continuous number of winks is not odd number, the terminal device is unlocked, and exports the terminal device before screen locking The operation interface of display.
5. a kind of terminal device, which is characterized in that the terminal device includes detection unit, control unit, capture unit, identification Unit and determination unit, in which:
The detection unit, for detecting the unlock instruction for being directed to the terminal device in screen lock state;
Described control unit, the unlock instruction for being detected according to the detection unit start taking the photograph for the terminal device As head and export face information acquisition interface;
The capture unit, for capturing the collected face for being shown in the face information acquisition interface of the camera Facial characteristics and continuous number of winks;
The recognition unit, whether the facial characteristics matches with preset facial characteristics for identification;
The determination unit, for when the recognition unit not Chu the facial characteristics match with the preset facial characteristics When, determining the first default operating condition corresponding with the continuous number of winks;
Described control unit is also used to unlock the terminal device, and exports behaviour corresponding with first default operating condition Make interface;
The terminal device further includes second judgment unit, in which:
The second judgment unit, for identifying the facial characteristics and the preset facial characteristics when the recognition unit When not matching that, whether the corresponding eye feature of the continuous number of winks for judging to capture is to preset position positioned at the face The eye feature set judges whether the continuous number of winks is equal to the second predetermined times when the judgment result is yes;
The determination unit is also used to identify the facial characteristics and the preset facial characteristics not when the recognition unit Match, when the corresponding eye feature of the continuous number of winks captured be positioned at the face predeterminated position eye it is special Sign and when the continuous number of winks is equal to second predetermined times, determines corresponding with second predetermined times the Two default operating conditions;
Described control unit is also used to identify the facial characteristics and the preset facial characteristics not when the recognition unit Match, when the corresponding eye feature of the continuous number of winks captured be positioned at the face predeterminated position eye it is special Sign and when the continuous number of winks is equal to second predetermined times, unlocks the terminal device, and export with it is described The corresponding operation interface of second default operating condition.
6. terminal device according to claim 5, which is characterized in that the terminal device further includes the first judging unit, Wherein:
First judging unit, for Chu the facial characteristics and the preset facial characteristics phase in the recognition unit After matching and before determining the first default operating condition corresponding with the continuous number of winks of the determination unit, judge Whether the continuous number of winks is more than the first predetermined times, when the continuous number of winks is more than first predetermined times When, trigger the behaviour that the determination unit executes the determination the first default operating condition corresponding with the continuous number of winks Make.
7. terminal device according to claim 6, which is characterized in that first judging unit is also used to judging State continuous number of winks whether more than before the first predetermined times and the recognition unit Chu the facial characteristics and institute It states after preset facial characteristics matches, judges whether the operation interface that the terminal device is shown before screen locking is privacy etc. Grade is higher than the operation interface of preset privacy classes shown before screen locking using corresponding operation interface or the terminal device Whether the interface content of middle display is privacy content, and when the judgment result is yes, triggering executes the judgement continuous blink Number whether more than the first predetermined times operation;
Described control unit, the operation interface for being also used to show before screen locking when the terminal device are not that privacy classes are higher than in advance Set the boundary shown in the operation interface of privacy classes shown before screen locking using corresponding operation interface and the terminal device Face content is not privacy content, unlocks the terminal device, and exports the operation interface that the terminal device is shown before screen locking Operation.
8. terminal device according to claim 6 or 7, which is characterized in that first judging unit is also used to judging The continuous number of winks is more than first predetermined times later and in determination unit determination and the continuous blink time out Before corresponding first default operating condition of number, judge whether the continuous number of winks is odd number;
The concrete mode of determining the first default operating condition corresponding with the continuous number of winks of the determination unit are as follows:
When identifying the facial characteristics and the preset facial characteristics matches, the continuous number of winks be more than described It is determining to be preset with the continuous number of winks corresponding first when first predetermined times and the continuous number of winks are odd number Working condition;
Described control unit is also used to when identifying that the facial characteristics matches with the preset facial characteristics, is described When continuous number of winks is more than first predetermined times and the continuous number of winks is not odd number, unlocks the terminal and set It is standby, and export the operation interface that the terminal device is shown before screen locking.
CN201710231298.0A 2017-04-11 2017-04-11 Method for controlling terminal equipment to switch working state and terminal equipment Active CN107025398B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710231298.0A CN107025398B (en) 2017-04-11 2017-04-11 Method for controlling terminal equipment to switch working state and terminal equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710231298.0A CN107025398B (en) 2017-04-11 2017-04-11 Method for controlling terminal equipment to switch working state and terminal equipment

Publications (2)

Publication Number Publication Date
CN107025398A CN107025398A (en) 2017-08-08
CN107025398B true 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 Method for controlling terminal equipment to switch working state and terminal equipment

Country Status (1)

Country Link
CN (1) CN107025398B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
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)

* Cited by examiner, † Cited by third party
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 珠海格力电器股份有限公司 Intelligent terminal mode switching method and device

Patent Citations (4)

* Cited by examiner, † Cited by third party
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 珠海格力电器股份有限公司 Intelligent terminal mode switching method and device

Also Published As

Publication number Publication date
CN107025398A (en) 2017-08-08

Similar Documents

Publication Publication Date Title
CN104811551B (en) A kind of terminal screen control method and terminal
CN104809402B (en) A kind of information fuzzy display methods and terminal
CN104915012B (en) A kind of screen locking method and device of terminal
CN102946481A (en) Method and system for unlocking human face expression
CN102937870B (en) A kind of method and terminal of man machine operation interface unlock
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
CN104035698B (en) Terminal device and its state switching method
CN103823632A (en) Screen unlocking method and terminal thereof
CN107657159A (en) A kind of method for secret protection and device, terminal and readable storage medium storing program for executing
CN104375836A (en) Method and device for showing lock screen window
CN104036195A (en) Information processing method and device
CN104954534B (en) Control method, device and the corresponding communication terminal of communication terminal
CN103902029A (en) Mobile terminal and unlocking method thereof
CN109814964B (en) Interface display method, terminal equipment and computer readable storage medium
CN105120062B (en) A kind of communication establishing method and mobile terminal
CN104809783A (en) Security access control system
CN104809780A (en) Access control method based on fingerprint recognition and face recognition
CN107025398B (en) Method for controlling terminal equipment to switch working state and terminal equipment
CN104809782A (en) Access control system based on voice recognition and face recognition
CN108038363A (en) Improve the method and device of Terminal security
CN107424274A (en) The method, apparatus and intelligent door lock that a kind of intelligent door lock is unlocked
CN105574382A (en) Information protection method and terminal
CN108053218A (en) A kind of safe method of mobile payment
CN105550556A (en) Information encryption method and terminal 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