[go: up one dir, main page]

CN108256308B - Face recognition unlocking control method and mobile terminal - Google Patents

Face recognition unlocking control method and mobile terminal Download PDF

Info

Publication number
CN108256308B
CN108256308B CN201810127084.3A CN201810127084A CN108256308B CN 108256308 B CN108256308 B CN 108256308B CN 201810127084 A CN201810127084 A CN 201810127084A CN 108256308 B CN108256308 B CN 108256308B
Authority
CN
China
Prior art keywords
screen
mobile terminal
track information
state
face recognition
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
CN201810127084.3A
Other languages
Chinese (zh)
Other versions
CN108256308A (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.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication 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 Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201810127084.3A priority Critical patent/CN108256308B/en
Publication of CN108256308A publication Critical patent/CN108256308A/en
Priority to PCT/CN2019/073687 priority patent/WO2019154190A1/en
Application granted granted Critical
Publication of CN108256308B publication Critical patent/CN108256308B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

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
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/4401Bootstrapping
    • G06F9/4418Suspend and resume; Hibernate and awake
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • Human Computer Interaction (AREA)
  • Computer Hardware Design (AREA)
  • Telephone Function (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The invention provides a face recognition unlocking control method and a mobile terminal, wherein the method comprises the following steps: when the mobile terminal is in a screen-off state, acquiring a first touch operation; acquiring first touch track information of the first touch operation; judging whether the first touch track information is matched with first preset track information or not; and if the first touch track information is matched with the first preset track information and the mobile terminal is changed from the screen-off state to the screen-on and screen-locking state, forbidding starting the face recognition function. Therefore, if the first touch track information is matched with the first preset track information and the mobile terminal is changed from the screen-off state to the screen-on and screen-locking state, the face recognition function can be prohibited from being started. The situation that the mobile terminal can directly perform face recognition when being in a bright screen and screen locking state and then unlock the screen is avoided, and unlocking experience is good.

Description

Face recognition unlocking control method and mobile terminal
Technical Field
The invention relates to the technical field of communication, in particular to a face recognition unlocking control method and a mobile terminal.
Background
With the development and progress of science and technology, mobile terminals are more and more popular, and the functions of the mobile terminals are more and more diversified. For example, an audio function, a photographing function, a camera function, and a face recognition function have become essential functions of the mobile terminal. In the prior art, when the mobile terminal is in a bright screen and locked screen state, face recognition can be automatically performed. And when the detected face feature information is matched with the face feature information stored in advance, the screen is unlocked.
However, in an actual application scenario, the user may not turn on the mobile terminal to unlock the screen. For example, the user may press the power key to turn the mobile terminal on for viewing time only, or for viewing notification messages, which may then turn the mobile terminal off, and the user may not want to unlock the screen.
Therefore, in the prior art, when the mobile terminal is in a bright screen and screen locking state, face recognition can be directly performed, so that the screen can be unlocked, actual requirements of a user cannot be accurately met, and unlocking experience is poor.
Disclosure of Invention
The embodiment of the invention provides a face recognition unlocking control method and a mobile terminal, and aims to solve the problems that in the prior art, when the mobile terminal is in a bright screen and locked screen state, face recognition can be directly carried out, a screen can be unlocked, actual requirements of a user cannot be accurately met, and unlocking experience is poor.
In order to solve the technical problem, the invention is realized as follows:
in a first aspect, an embodiment of the present invention provides a face recognition unlocking control method, which is applied to a mobile terminal, and the method includes:
when the mobile terminal is in a screen-off state, acquiring a first touch operation;
acquiring first touch track information of the first touch operation;
judging whether the first touch track information is matched with first preset track information or not;
and if the first touch track information is matched with the first preset track information and the mobile terminal is changed from the screen-off state to the screen-on and screen-locking state, forbidding starting the face recognition function.
In a second aspect, an embodiment of the present invention further provides a mobile terminal, including:
the first obtaining module is used for obtaining a first touch operation when the mobile terminal is in a screen-off state;
the second acquisition module is used for acquiring first touch track information of the first touch operation;
the first judging module is used for judging whether the first touch track information is matched with first preset track information or not;
and the start prohibiting module is used for prohibiting the face recognition function from being started if the first touch track information is matched with the first preset track information and the mobile terminal is changed from the screen-off state to the screen-on and screen-locking state.
In a third aspect, an embodiment of the present invention further provides a mobile terminal, including a processor, a memory, and a computer program stored in the memory and capable of running on the processor, where the computer program, when executed by the processor, implements the steps of the above-mentioned face recognition unlocking control method.
In this way, in the embodiment of the present invention, when the mobile terminal is in the screen-off state, the first touch operation is obtained; acquiring first touch track information of the first touch operation; judging whether the first touch track information is matched with first preset track information or not; and if the first touch track information is matched with the first preset track information and the mobile terminal is changed from the screen-off state to the screen-on and screen-locking state, forbidding starting the face recognition function. Therefore, if the first touch track information is matched with the first preset track information and the mobile terminal is changed from the screen-off state to the screen-on and screen-locking state, the face recognition function can be prohibited from being started. The situation that the mobile terminal can directly perform face recognition when being in a bright screen and screen locking state and then unlock the screen is avoided, and unlocking experience is good.
Drawings
Fig. 1 is a flowchart of a face recognition unlocking control method according to an embodiment of the present invention;
fig. 2 is a flowchart of another face recognition unlocking control method according to an embodiment of the present invention;
fig. 3 is a block diagram of a mobile terminal according to an embodiment of the present invention;
fig. 4 is a block diagram of another mobile terminal according to an embodiment of the present invention;
fig. 5 is a block diagram of another mobile terminal according to an embodiment of the present invention;
fig. 6 is a block diagram of another mobile terminal according to an embodiment of the present invention;
fig. 7 is a block diagram of another mobile terminal according to an embodiment of the present invention;
fig. 8 is a schematic diagram of a hardware structure of a mobile terminal according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Referring to fig. 1, fig. 1 is a flowchart of a face recognition unlocking control method provided in an embodiment of the present invention, and is applied to a mobile terminal. As shown in fig. 1, the method comprises the following steps:
and 101, acquiring a first touch operation when the mobile terminal is in a screen-off state.
In step 101, the mobile terminal may preset first preset trajectory information. For example, the first preset trajectory information may be "√" trajectory information, or five-pointed star trajectory information, or the like. In the following description, the first preset trajectory information is exemplified as "√" trajectory information.
When the mobile terminal is in a screen-off state, a first touch operation can be acquired.
And 102, acquiring first touch track information of the first touch operation.
In step 102, the mobile terminal may acquire first touch trajectory information of a first touch operation.
And 103, judging whether the first touch track information is matched with first preset track information.
In step 103, the mobile terminal may determine whether the first touch trajectory information matches the first preset trajectory information, that is, the mobile terminal may determine whether the first touch trajectory information matches the "√" trajectory information.
And 104, if the first touch track information is matched with the first preset track information and the mobile terminal is changed from the screen-off state to the screen-on and screen-locking state, forbidding starting of a face recognition function.
In step 104, if the mobile terminal determines that the first touch trajectory information matches the first preset trajectory information, that is, if the mobile terminal determines that the first touch trajectory information matches the "√" trajectory information and the mobile terminal changes from the off-screen state to the on-screen and off-screen state, the start of the face recognition function may be prohibited.
Further, if the first touch trajectory information matches the first preset trajectory information, that is, if the first touch trajectory information matches the "√" trajectory information, the mobile terminal may determine whether the mobile terminal is changed from the off-screen state to the bright-screen and lock-screen state within a preset time period. The preset time period may be 1 second. Of course, in a preferred implementation manner of the embodiment of the present invention, the preset time period may be set to any value according to the preference of the user. If the mobile terminal is changed from the screen-off state to the screen-on and screen-locking state within the preset time period, namely within 1 second, the starting of the face recognition function can be forbidden.
If the mobile terminal is not changed from the screen-off state to the screen-on and screen-locked state within the preset time period, namely if the mobile terminal is not changed from the screen-off state to the screen-on and screen-locked state within 1 second, and after the preset time period, namely after 1 second, if the mobile terminal is detected to be changed from the screen-off state to the screen-on and screen-locked state, the face recognition function can be started.
It should be noted that the mobile terminal determines that the first touch trajectory information matches the first preset trajectory information, and does not detect that the mobile terminal changes from the screen-off state to the screen-on and screen-locking state within a period of time, and after a period of time, detects that the mobile terminal changes from the screen-off state to the screen-on and screen-locking state. The actual idea of the user may be to perform face recognition directly and then unlock the screen. If the preset time period is not set, the face recognition function is always prohibited from being started, which is inconsistent with the actual idea of the user. Therefore, the advantage of setting the preset time period is more in line with practical application scenes, can be more fit with practical ideas of users, and further improves the unlocking effect.
In an embodiment of the present invention, the Mobile terminal may be a Mobile phone, a Tablet Personal Computer (Tablet Personal Computer), a Laptop Computer (Laptop Computer), a Personal Digital Assistant (PDA), a Mobile Internet Device (MID), a Wearable Device (Wearable Device), or the like.
The face recognition unlocking control method is applied to the mobile terminal. When the mobile terminal is in a screen-off state, acquiring a first touch operation; acquiring first touch track information of the first touch operation; judging whether the first touch track information is matched with first preset track information or not; and if the first touch track information is matched with the first preset track information and the mobile terminal is changed from the screen-off state to the screen-on and screen-locking state, forbidding starting the face recognition function. Therefore, if the first touch track information is matched with the first preset track information and the mobile terminal is changed from the screen-off state to the screen-on and screen-locking state, the face recognition function can be prohibited from being started. The situation that the mobile terminal can directly perform face recognition when being in a bright screen locking state is avoided, so that the screen is unlocked, and the intelligent degree of unlocking is improved. The unlocking experience is better.
Referring to fig. 2, fig. 2 is a flowchart of another face recognition unlocking control method provided in the embodiment of the present invention, and is applied to a mobile terminal. The main difference between this embodiment and the previous embodiment is that the process of activating the face recognition function after inhibiting the activation of the face recognition function is explained in detail. As shown in fig. 2, the method comprises the following steps:
step 201, when the mobile terminal is in a screen-off state, acquiring a first touch operation.
In step 201, the mobile terminal may preset first preset trajectory information. For example, the first preset trajectory information may be "√" trajectory information, or five-pointed star trajectory information, or the like. In the following description, the first preset trajectory information is exemplified as "√" trajectory information.
When the mobile terminal is in a screen-off state, a first touch operation can be acquired.
Step 202, obtaining first touch track information of the first touch operation.
In step 202, the mobile terminal may acquire first touch trajectory information of a first touch operation.
And 203, judging whether the first touch track information is matched with first preset track information.
In step 203, the mobile terminal may determine whether the first touch trajectory information matches the first preset trajectory information, that is, the mobile terminal may determine whether the first touch trajectory information matches the "√" trajectory information.
Step 204, if the first touch track information is matched with the first preset track information, determining whether the mobile terminal is changed from the screen-off state to the screen-on and screen-locking state within a preset time period.
In step 204, if the first touch trajectory information matches the first preset trajectory information, that is, if the first touch trajectory information matches the "√" trajectory information, the mobile terminal may determine whether the mobile terminal is changed from the off-screen state to the bright-screen and lock-screen state within a preset time period. The preset time period may be 1 second. Of course, in a preferred implementation manner of the embodiment of the present invention, the preset time period may be set to any value according to the preference of the user.
Step 205, if the mobile terminal is changed from the screen-off state to the screen-on and screen-locking state within the preset time period, prohibiting starting of the face recognition function.
In step 205, if the mobile terminal changes from the off-screen state to the bright-screen and lock-screen state within the preset time period, i.e., if within 1 second, the face recognition function may be prohibited from being activated.
Step 206, if the mobile terminal is not changed from the screen-off state to the screen-on and screen-locking state within the preset time period, and after the preset time period, if it is detected that the mobile terminal is changed from the screen-off state to the screen-on and screen-locking state, the face recognition function is started.
In step 206, if the mobile terminal is not changed from the screen-off state to the screen-on and screen-locked state within the preset time period, that is, if the mobile terminal is not changed from the screen-off state to the screen-on and screen-locked state within 1 second, and after the preset time period, that is, after 1 second, if it is detected that the mobile terminal is changed from the screen-off state to the screen-on and screen-locked state, the face recognition function may be started.
It should be noted that the mobile terminal determines that the first touch trajectory information matches the first preset trajectory information, and does not detect that the mobile terminal changes from the screen-off state to the screen-on and screen-locking state within a period of time, and after a period of time, detects that the mobile terminal changes from the screen-off state to the screen-on and screen-locking state. The actual idea of the user may be to perform face recognition directly and then unlock the screen. If the preset time period is not set, the face recognition function is always prohibited from being started, which is inconsistent with the actual idea of the user. Therefore, the advantage of setting the preset time period is more in line with practical application scenes, can be more fit with practical ideas of users, and further improves the unlocking effect.
If the mobile terminal is changed from the screen-off state to the screen-on and screen-locking state within the preset time period, namely within 1 second, the starting of the face recognition function can be forbidden. The user can view the time or a notification message in a bright screen lock state. After the user views the time or the notification message in the screen-lighting and screen-locking state, the user may want to start the face recognition function, and further unlock the screen.
Optionally, after the step of prohibiting the face recognition function from being started, the method further includes:
acquiring rotation parameters of the mobile terminal;
judging whether the rotation parameter of the mobile terminal is greater than or equal to a preset threshold value or not;
if the rotation parameter of the mobile terminal is greater than or equal to the preset threshold value, starting the face recognition function;
the rotation parameter of the mobile terminal is a rotation angle of the mobile terminal or an acceleration variation of the mobile terminal.
The mobile terminal may obtain rotation parameters of the mobile terminal. And then whether the rotation parameter of the mobile terminal is greater than or equal to a preset threshold value can be judged. If the rotation parameter of the mobile terminal is greater than or equal to the preset threshold value, the face recognition function can be started.
The rotation parameter of the mobile terminal may be a rotation angle of the mobile terminal or an acceleration variation of the mobile terminal. If the rotation angle of the mobile terminal is greater than or equal to a preset threshold value, a face recognition function can be started; or, if the acceleration variation of the mobile terminal is greater than or equal to a preset threshold, the face recognition function may be started.
Optionally, after the step of prohibiting the face recognition function from being started, the method further includes:
acquiring a second touch operation;
acquiring second touch track information of the second touch operation;
judging whether the second touch track information is matched with second preset track information or not;
and if the second touch track information is matched with the second preset track information, starting the face recognition function.
The mobile terminal can also acquire a second touch operation, and further can acquire second touch track information of the second touch operation. Next, the mobile terminal may determine whether the second touch trajectory information matches second preset trajectory information, which may be "√" trajectory information, or five-pointed star trajectory information, or the like. And if the mobile terminal judges that the second touch track information is matched with the second preset track information, the face recognition function can be started.
At this time, the face feature information can be collected, and the collected face feature information is compared with the face feature information stored in advance. And when the acquired face feature information is matched with the face feature information stored in advance, the screen can be unlocked.
The face recognition unlocking control method is applied to the mobile terminal. If the first touch track information is matched with the first preset track information and the mobile terminal is changed from the screen-off state to the screen-on and screen-locking state within the preset time period, the face recognition function can be prohibited from being started. Further, if the rotation parameter of the mobile terminal is greater than or equal to the preset threshold, or if the mobile terminal determines that the second touch trajectory information matches the second preset trajectory information, the face recognition function may be started. The situation that the mobile terminal can directly perform face recognition when being in a bright screen locking state is avoided, so that the screen is unlocked, and the intelligent degree of unlocking is improved. The unlocking experience is better.
Referring to fig. 3, fig. 3 is a structural diagram of a mobile terminal according to an embodiment of the present invention, as shown in fig. 3, the mobile terminal 300 includes a first obtaining module 301, a second obtaining module 302, a first determining module 303, and a start prohibition module 304, where:
a first obtaining module 301, configured to obtain a first touch operation when the mobile terminal is in a screen-off state;
a second obtaining module 302, configured to obtain first touch trajectory information of the first touch operation;
a first judging module 303, configured to judge whether the first touch trajectory information matches first preset trajectory information;
and a start prohibiting module 304, configured to prohibit starting the face recognition function if the first touch trajectory information matches the first preset trajectory information and the mobile terminal changes from the screen-off state to the screen-on and screen-locked state.
Optionally, as shown in fig. 4, the start prohibition module 304 includes:
a determining submodule 3041, configured to determine whether the mobile terminal is changed from the screen-off state to the screen-on and screen-locking state within a preset time period if the first touch trajectory information matches the first preset trajectory information;
a start prohibiting sub-module 3042, configured to prohibit starting the face recognition function if the mobile terminal changes from the screen-off state to the screen-on and screen-locking state within the preset time period.
Optionally, as shown in fig. 5, the mobile terminal further includes:
a first starting module 305, configured to start the face recognition function if the mobile terminal is not changed from the screen-off state to the screen-on and screen-locking state within the preset time period, and after the preset time period elapses, if it is detected that the mobile terminal is changed from the screen-off state to the screen-on and screen-locking state.
Optionally, as shown in fig. 6, the mobile terminal further includes:
a third obtaining module 306, configured to obtain a rotation parameter of the mobile terminal;
a second determining module 307, configured to determine whether the rotation parameter of the mobile terminal is greater than or equal to a preset threshold;
a second starting module 308, configured to start the face recognition function if the rotation parameter of the mobile terminal is greater than or equal to the preset threshold;
the rotation parameter of the mobile terminal is a rotation angle of the mobile terminal or an acceleration variation of the mobile terminal.
Optionally, as shown in fig. 7, the mobile terminal further includes:
a fourth obtaining module 309, configured to obtain a second touch operation;
a fifth obtaining module 3010, configured to obtain second touch trajectory information of the second touch operation;
a third determining module 3011, configured to determine whether the second touch trajectory information matches second preset trajectory information;
a third starting module 3012, configured to start the face recognition function if the second touch trajectory information matches the second preset trajectory information.
The mobile terminal 300 can implement each process implemented by the mobile terminal in the method embodiments of fig. 1 and fig. 2, and is not described herein again to avoid repetition. And the mobile terminal 300 may prohibit starting the face recognition function if the first touch trajectory information matches with the first preset trajectory information and the mobile terminal changes from the off-screen state to the on-screen and locked-screen state within a preset time period. Further, if the rotation parameter of the mobile terminal is greater than or equal to the preset threshold, or if the mobile terminal determines that the second touch trajectory information matches the second preset trajectory information, the face recognition function may be started. The situation that the mobile terminal can directly perform face recognition when being in a bright screen locking state is avoided, so that the screen is unlocked, and the intelligent degree of unlocking is improved. The unlocking experience is better.
Fig. 8 is a schematic diagram of a hardware structure of a mobile terminal implementing various embodiments of the present invention.
The mobile terminal 800 includes, but is not limited to: a radio frequency unit 801, a network module 802, an audio output unit 803, an input unit 804, a sensor 805, a display unit 806, a user input unit 807, an interface unit 808, a memory 809, a processor 810, and a power supply 811. Those skilled in the art will appreciate that the mobile terminal architecture illustrated in fig. 8 is not intended to be limiting of mobile terminals, and that a mobile terminal may include more or fewer components than those illustrated, or some components may be combined, or a different arrangement of components. In the embodiment of the present invention, the mobile terminal includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted mobile terminal, a wearable device, a pedometer, and the like.
The processor 810 is configured to obtain a first touch operation when the mobile terminal is in a screen-off state;
acquiring first touch track information of the first touch operation;
judging whether the first touch track information is matched with first preset track information or not;
and if the first touch track information is matched with the first preset track information and the mobile terminal is changed from the screen-off state to the screen-on and screen-locking state, forbidding starting the face recognition function.
If the first touch track information is matched with the first preset track information and the mobile terminal is changed from the screen-off state to the screen-on and screen-locking state within the preset time period, the face recognition function can be prohibited from being started. Further, if the rotation parameter of the mobile terminal is greater than or equal to the preset threshold, or if the mobile terminal determines that the second touch trajectory information matches the second preset trajectory information, the face recognition function may be started. The situation that the mobile terminal can directly perform face recognition when being in a bright screen locking state is avoided, so that the screen is unlocked, and the intelligent degree of unlocking is improved. The unlocking experience is better.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 801 may be used for receiving and sending signals during a message sending and receiving process or a call process, and specifically, receives downlink data from a base station and then processes the received downlink data to the processor 810; in addition, the uplink data is transmitted to the base station. In general, radio frequency unit 801 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. Further, the radio frequency unit 801 can also communicate with a network and other devices through a wireless communication system.
The mobile terminal provides the user with wireless broadband internet access through the network module 802, such as helping the user send and receive e-mails, browse webpages, access streaming media, and the like.
The audio output unit 803 may convert audio data received by the radio frequency unit 801 or the network module 802 or stored in the memory 809 into an audio signal and output as sound. Also, the audio output unit 803 may also provide audio output related to a specific function performed by the mobile terminal 800 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 803 includes a speaker, a buzzer, a receiver, and the like.
The input unit 804 is used for receiving an audio or video signal. The input Unit 804 may include a Graphics Processing Unit (GPU) 8041 and a microphone 8042, and the Graphics processor 8041 processes image data of a still picture or video obtained by an image capturing device (such as a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 806. The image frames processed by the graphics processor 8041 may be stored in the memory 809 (or other storage medium) or transmitted via the radio frequency unit 801 or the network module 802. The microphone 8042 can receive sound, and can process such sound into audio data. The processed audio data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 801 in case of a phone call mode.
The mobile terminal 800 also includes at least one sensor 805, such as light sensors, motion sensors, and other sensors. Specifically, the light sensor includes an ambient light sensor that can adjust the brightness of the display panel 8061 according to the brightness of ambient light, and a proximity sensor that can turn off the display panel 8061 and/or the backlight when the mobile terminal 800 moves to the ear. As one of the motion sensors, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally three axes), detect the magnitude and direction of gravity when stationary, and can be used to identify the posture of the mobile terminal (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), and vibration identification related functions (such as pedometer, tapping); the sensors 805 may also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc., which are not described in detail herein.
The display unit 806 is used to display information input by the user or information provided to the user. The Display unit 806 may include a Display panel 8061, and the Display panel 8061 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 807 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the mobile terminal. Specifically, the user input unit 807 includes a touch panel 8071 and other input devices 8072. The touch panel 8071, also referred to as a touch screen, may collect touch operations by a user on or near the touch panel 8071 (e.g., operations by a user on or near the touch panel 8071 using a finger, a stylus, or any other suitable object or accessory). The touch panel 8071 may include two portions of a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 810, receives a command from the processor 810, and executes the command. In addition, the touch panel 8071 can be implemented by various types such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. In addition to the touch panel 8071, the user input unit 807 can include other input devices 8072. Specifically, the other input devices 8072 may include, but are not limited to, a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a track information ball, a mouse, and a joystick, which are not described herein again.
Further, the touch panel 8071 can be overlaid on the display panel 8061, and when the touch panel 8071 detects a touch operation on or near the touch panel 8071, the touch operation is transmitted to the processor 810 to determine the type of the touch event, and then the processor 810 provides a corresponding visual output on the display panel 8061 according to the type of the touch event. Although in fig. 8, the touch panel 8071 and the display panel 8061 are two independent components to implement the input and output functions of the mobile terminal, in some embodiments, the touch panel 8071 and the display panel 8061 may be integrated to implement the input and output functions of the mobile terminal, which is not limited herein.
The interface unit 808 is an interface through which an external device is connected to the mobile terminal 800. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 808 may be used to receive input (e.g., data information, power, etc.) from external devices and transmit the received input to one or more elements within the mobile terminal 800 or may be used to transmit data between the mobile terminal 800 and external devices.
The memory 809 may be used to store software programs as well as various data. The memory 809 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 809 can include high speed random access memory, and can also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The processor 810 is a control center of the mobile terminal, connects various parts of the entire mobile terminal using various interfaces and lines, and performs various functions of the mobile terminal and processes data by running or executing software programs and/or modules stored in the memory 809 and calling data stored in the memory 809, thereby integrally monitoring the mobile terminal. Processor 810 may include one or more processing units; preferably, the processor 810 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into processor 810.
The mobile terminal 800 may also include a power supply 811 (e.g., a battery) for powering the various components, and the power supply 811 may be logically coupled to the processor 810 via a power management system that may be used to manage charging, discharging, and power consumption.
In addition, the mobile terminal 800 includes some functional modules that are not shown, and thus, are not described in detail herein.
Optionally, the processor 810 is further configured to:
if the first touch track information is matched with the first preset track information, determining whether the mobile terminal is changed from the screen-off state to the screen-on and screen-locking state within a preset time period;
and if the mobile terminal is changed from the screen-off state to the screen-on and screen-locking state within the preset time period, forbidding starting the face recognition function.
Optionally, the processor 810 is further configured to:
and if the mobile terminal is not changed from the screen-off state to the screen-on and screen-locking state within the preset time period and after the preset time period, if the mobile terminal is detected to be changed from the screen-off state to the screen-on and screen-locking state, starting the face recognition function.
Optionally, the processor 810 is further configured to:
acquiring rotation parameters of the mobile terminal;
judging whether the rotation parameter of the mobile terminal is greater than or equal to a preset threshold value or not;
if the rotation parameter of the mobile terminal is greater than or equal to the preset threshold value, starting the face recognition function;
the rotation parameter of the mobile terminal is a rotation angle of the mobile terminal or an acceleration variation of the mobile terminal.
Optionally, the processor 810 is further configured to:
acquiring a second touch operation;
acquiring second touch track information of the second touch operation;
judging whether the second touch track information is matched with second preset track information or not;
and if the second touch track information is matched with the second preset track information, starting the face recognition function.
The mobile terminal 800 can implement each process implemented by the mobile terminal in the foregoing embodiments, and details are not repeated here to avoid repetition. And the mobile terminal 800 may prohibit starting the face recognition function if the first touch trajectory information matches with the first preset trajectory information and the mobile terminal changes from the off-screen state to the on-screen and locked-screen state within a preset time period. Further, if the rotation parameter of the mobile terminal is greater than or equal to the preset threshold, or if the mobile terminal determines that the second touch trajectory information matches the second preset trajectory information, the face recognition function may be started. The situation that the mobile terminal can directly perform face recognition when being in a bright screen locking state is avoided, so that the screen is unlocked, and the intelligent degree of unlocking is improved. The unlocking experience is better.
Preferably, an embodiment of the present invention further provides a mobile terminal, which includes a processor 810, a memory 809, and a computer program stored in the memory 809 and capable of running on the processor 810, where the computer program, when executed by the processor 810, implements each process of the above-mentioned embodiment of the face recognition unlocking control method, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
The embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program implements each process of the above-mentioned embodiment of the face recognition unlocking control method, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here. The computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a mobile terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (7)

1. A face recognition unlocking control method is applied to a mobile terminal, and is characterized by comprising the following steps:
when the mobile terminal is in a screen-off state, acquiring a first touch operation;
acquiring first touch track information of the first touch operation;
judging whether the first touch track information is matched with first preset track information or not;
if the first touch track information is matched with the first preset track information and the mobile terminal is changed from the screen-off state to the screen-on and screen-locking state, prohibiting starting of a face recognition function;
if the first touch track information is matched with the first preset track information and the mobile terminal is changed from the screen-off state to the screen-on and screen-locking state, the face recognition function is prohibited from being started, and the method comprises the following steps:
if the first touch track information is matched with the first preset track information, determining whether the mobile terminal is changed from the screen-off state to the screen-on and screen-locking state within a preset time period;
if the mobile terminal is changed from the screen-off state to the screen-on and screen-locking state within the preset time period, prohibiting starting of a face recognition function;
after the step of determining whether the mobile terminal is changed from the screen-off state to the screen-on and screen-locking state within a preset time period, the method further includes:
and if the mobile terminal is not changed from the screen-off state to the screen-on and screen-locking state within the preset time period and after the preset time period, if the mobile terminal is detected to be changed from the screen-off state to the screen-on and screen-locking state, starting the face recognition function.
2. The method of claim 1, wherein after the step of inhibiting activation of the face recognition function, the method further comprises:
acquiring rotation parameters of the mobile terminal;
judging whether the rotation parameter of the mobile terminal is greater than or equal to a preset threshold value or not;
if the rotation parameter of the mobile terminal is greater than or equal to the preset threshold value, starting the face recognition function;
the rotation parameter of the mobile terminal is a rotation angle of the mobile terminal or an acceleration variation of the mobile terminal.
3. The method of claim 1, wherein after the step of inhibiting activation of the face recognition function, the method further comprises:
acquiring a second touch operation;
acquiring second touch track information of the second touch operation;
judging whether the second touch track information is matched with second preset track information or not;
and if the second touch track information is matched with the second preset track information, starting the face recognition function.
4. A mobile terminal, comprising:
the first obtaining module is used for obtaining a first touch operation when the mobile terminal is in a screen-off state;
the second acquisition module is used for acquiring first touch track information of the first touch operation;
the first judging module is used for judging whether the first touch track information is matched with first preset track information or not;
the start prohibiting module is used for prohibiting the face recognition function from being started if the first touch track information is matched with the first preset track information and the mobile terminal is changed from the screen-off state to the screen-on and screen-locking state;
the start-prohibiting module includes:
the determining submodule is used for determining whether the mobile terminal is changed from the screen-off state to the screen-on and screen-locking state within a preset time period if the first touch track information is matched with the first preset track information;
the start prohibiting sub-module is used for prohibiting starting a face recognition function if the mobile terminal is changed from the screen-off state to the screen-on and screen-locking state within the preset time period;
the first starting module is used for starting the face recognition function if the mobile terminal is not changed from the screen-off state to the screen-on and screen-locking state within the preset time period and after the preset time period, and if the mobile terminal is detected to be changed from the screen-off state to the screen-on and screen-locking state.
5. The mobile terminal of claim 4, wherein the mobile terminal further comprises:
a third obtaining module, configured to obtain a rotation parameter of the mobile terminal;
the second judgment module is used for judging whether the rotation parameter of the mobile terminal is greater than or equal to a preset threshold value or not;
the second starting module is used for starting the face recognition function if the rotation parameter of the mobile terminal is greater than or equal to the preset threshold value;
the rotation parameter of the mobile terminal is a rotation angle of the mobile terminal or an acceleration variation of the mobile terminal.
6. The mobile terminal of claim 4, wherein the mobile terminal further comprises:
the fourth obtaining module is used for obtaining a second touch operation;
a fifth obtaining module, configured to obtain second touch trajectory information of the second touch operation;
the third judging module is used for judging whether the second touch track information is matched with second preset track information or not;
and the third starting module is used for starting the face recognition function if the second touch track information is matched with the second preset track information.
7. A mobile terminal, characterized by comprising a processor, a memory and a computer program stored on the memory and executable on the processor, the computer program, when executed by the processor, implementing the steps of the face recognition unlocking control method according to any one of claims 1 to 3.
CN201810127084.3A 2018-02-08 2018-02-08 Face recognition unlocking control method and mobile terminal Active CN108256308B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201810127084.3A CN108256308B (en) 2018-02-08 2018-02-08 Face recognition unlocking control method and mobile terminal
PCT/CN2019/073687 WO2019154190A1 (en) 2018-02-08 2019-01-29 Face recognition-based unlocking control method and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810127084.3A CN108256308B (en) 2018-02-08 2018-02-08 Face recognition unlocking control method and mobile terminal

Publications (2)

Publication Number Publication Date
CN108256308A CN108256308A (en) 2018-07-06
CN108256308B true CN108256308B (en) 2021-10-01

Family

ID=62744018

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810127084.3A Active CN108256308B (en) 2018-02-08 2018-02-08 Face recognition unlocking control method and mobile terminal

Country Status (2)

Country Link
CN (1) CN108256308B (en)
WO (1) WO2019154190A1 (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108256308B (en) * 2018-02-08 2021-10-01 维沃移动通信有限公司 Face recognition unlocking control method and mobile terminal
CN109561208A (en) * 2018-11-20 2019-04-02 努比亚技术有限公司 Recognition of face starts method, apparatus, terminal and storage medium
CN112770265B (en) * 2020-12-31 2023-04-18 深圳前海中电慧安科技有限公司 Pedestrian identity information acquisition method, system, server and storage medium
CN113055524A (en) * 2021-03-09 2021-06-29 北京有竹居网络技术有限公司 Terminal control method and device, terminal and storage medium
CN113687899A (en) * 2021-08-25 2021-11-23 读书郎教育科技有限公司 A method and device for solving the conflict between viewing notifications and face unlocking
CN113821109B (en) * 2021-11-25 2022-03-11 上海齐感电子信息科技有限公司 Control method and control system

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105425941A (en) * 2015-10-28 2016-03-23 广东欧珀移动通信有限公司 Method and apparatus for preventing erroneous start-up of application in mobile terminal
CN105554260A (en) * 2015-12-10 2016-05-04 小米科技有限责任公司 Method for running off automatic rotation function of screen, device and mobile terminal
CN106101369A (en) * 2016-08-12 2016-11-09 福建中金在线信息科技有限公司 A kind of unlocking method and system of mobile phone

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20140134821A (en) * 2013-05-14 2014-11-25 삼성전자주식회사 Security method and electronic device implementing the same
CN108256308B (en) * 2018-02-08 2021-10-01 维沃移动通信有限公司 Face recognition unlocking control method and mobile terminal

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105425941A (en) * 2015-10-28 2016-03-23 广东欧珀移动通信有限公司 Method and apparatus for preventing erroneous start-up of application in mobile terminal
CN105554260A (en) * 2015-12-10 2016-05-04 小米科技有限责任公司 Method for running off automatic rotation function of screen, device and mobile terminal
CN106101369A (en) * 2016-08-12 2016-11-09 福建中金在线信息科技有限公司 A kind of unlocking method and system of mobile phone

Also Published As

Publication number Publication date
WO2019154190A1 (en) 2019-08-15
CN108256308A (en) 2018-07-06

Similar Documents

Publication Publication Date Title
CN108256308B (en) Face recognition unlocking control method and mobile terminal
CN108182019B (en) Suspension control display processing method and mobile terminal
CN109078319B (en) Game interface display method and terminal
CN108279948B (en) Application program starting method and mobile terminal
CN109739429B (en) Screen switching processing method and mobile terminal equipment
CN107835286B (en) Method for preventing mistaken unlocking and mobile terminal
CN111339515A (en) Application program starting method and electronic equipment
CN108664818B (en) Unlocking control method and device
CN108108111B (en) Method and device for checking lock screen picture information and mobile terminal
CN109544172B (en) Display method and terminal equipment
CN108196663B (en) Face recognition method and mobile terminal
CN108304108B (en) Icon display method of application program and mobile terminal
CN110636225B (en) Photographing method and electronic equipment
CN110519443B (en) Screen lightening method and mobile terminal
CN111125680A (en) Permission setting method and terminal equipment
CN107809515B (en) Display control method and mobile terminal
CN110647727A (en) Terminal control method and terminal
CN111381753B (en) Multimedia file playing method and electronic equipment
CN111124537B (en) Application starting method and electronic equipment
CN110516515B (en) Unlocking method and mobile terminal
CN110113486B (en) Application icon moving method and terminal
CN109743634B (en) Video playing control method and terminal
CN108062465B (en) Unlocking method and mobile terminal
CN109164951B (en) Mobile terminal operation method and mobile terminal
CN108108608B (en) Control method of mobile terminal and mobile terminal

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