CN107885987B - Unlocking method, terminal and computer readable storage medium - Google Patents

Unlocking method, terminal and computer readable storage medium Download PDF

Info

Publication number
CN107885987B
CN107885987B CN201710876633.2A CN201710876633A CN107885987B CN 107885987 B CN107885987 B CN 107885987B CN 201710876633 A CN201710876633 A CN 201710876633A CN 107885987 B CN107885987 B CN 107885987B
Authority
CN
China
Prior art keywords
terminal
unlocking
user
preset
angle value
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
CN201710876633.2A
Other languages
Chinese (zh)
Other versions
CN107885987A (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.)
Shandong Xingchuang Information Technology Co., Ltd
Original Assignee
Shandong Xingchuang Information 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 Shandong Xingchuang Information Technology Co Ltd filed Critical Shandong Xingchuang Information Technology Co Ltd
Priority to CN201710876633.2A priority Critical patent/CN107885987B/en
Publication of CN107885987A publication Critical patent/CN107885987A/en
Application granted granted Critical
Publication of CN107885987B publication Critical patent/CN107885987B/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
    • G06F2221/00Indexing scheme relating to security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F2221/21Indexing scheme relating to G06F21/00 and subgroups addressing additional information or applications relating to security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F2221/2133Verifying human interaction, e.g., Captcha

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Telephone Function (AREA)

Abstract

The invention discloses an unlocking method, a terminal and a computer readable storage medium, the method obtains the eye related information of a user, wherein the eye correlation information comprises angle values of target included angles of two eyes of the user relative to a preset unlocking calibration point on the terminal, the target included angle is an included angle which extends outwards from the positions of the two eyes of the user and is intersected with the preset unlocking calibration point, when the terminal is determined to meet the preset unlocking condition according to the obtained eye-related information and the pre-stored angle value, the invention also discloses a terminal and a computer readable storage medium, by implementing the above scheme, the method and the device have the advantages that the terminal safety is guaranteed, meanwhile, the damage to the key position of the terminal entity is minimized, the user operation is more convenient, and the satisfaction degree of user experience is improved.

Description

Unlocking method, terminal and computer readable storage medium
Technical Field
The present invention relates to the field of electronic device technologies, and in particular, to an unlocking method, a terminal, and a computer-readable storage medium.
Background
With the rapid development of mobile technology, many conventional electronic products are also gradually increasing the functions of smart terminals, such as smart watches. No matter the smart watch or the traditional smart phone, the electronic devices can be connected to the internet to display contents such as incoming call information, news, weather information and the like, so that the safety of information becomes very important, at present, the electronic devices on the market usually combine a touch screen and entity key positions such as unlocking key positions for user operation to realize unlocking in order to ensure the safety of information, for example, when a user unlocks, the user often needs to press the entity key positions to light a screen and then input a password on the screen to unlock the screen, the service life of the entity key positions can be greatly shortened due to frequent use, and the operation mode of operation through the cooperation of the entity key positions and the touch screen is complicated from the use aspect of the user.
Disclosure of Invention
The technical problems to be solved by the invention are that the unlocking mode of the existing electronic equipment is complicated, and the service life of the entity key is short due to frequent unlocking by using the entity key on the electronic equipment.
In order to solve the technical problem, the invention provides an unlocking method, which comprises the following steps:
acquiring current eye correlation information of a user, wherein the eye correlation information comprises angle values of target included angles of two eyes of the user relative to preset unlocking calibration points on the terminal, and the target included angles are included angles which respectively extend outwards from positions where the two eyes are located and are intersected with the preset unlocking calibration points;
and unlocking the terminal when the terminal is determined to meet a preset unlocking condition according to the eye correlation information and the angle value stored in advance.
Optionally, the determining that the terminal meets the preset unlocking condition according to the eye-related information and the pre-stored angle value includes:
when the obtained angle value is equal to a pre-stored angle value, determining that the terminal meets a preset unlocking condition;
or the like, or, alternatively,
and when the absolute value of the difference between the obtained angle value and the angle value stored in advance is smaller than or equal to a preset angle threshold value, determining that the terminal meets a preset unlocking condition.
The acquiring the current eye related information of the user comprises the following steps:
obtaining the distance between the two eyes of the user and the preset unlocking calibration point respectively to obtain a first distance and a second distance;
and calculating the angle value of the target included angle according to the first distance and the second distance.
Optionally, the calculating an angle value of the target included angle according to the first distance and the second distance includes:
collecting facial feature data of the user, and acquiring a third distance between two eyes of the user based on the facial feature data;
and calculating the angle value of the target included angle according to the first distance, the second distance and the third distance.
Optionally, the preset unlocking calibration point is a position point where an infrared sensor arranged on the terminal is located;
the obtaining distances between the two eyes of the user and the preset unlocking calibration points respectively comprises:
and acquiring distances between two eyes of the user and position points where the infrared sensors are located respectively through the infrared sensors arranged on the terminal.
Optionally, the preset unlocking condition includes a preset screen unlocking condition, and unlocking the terminal includes: unlocking a screen of the terminal;
or the like, or, alternatively,
the preset unlocking condition comprises a preset application program unlocking condition, and the unlocking the terminal comprises the following steps: and unlocking the application program on the terminal.
Optionally, before the unlocking the terminal, the method further includes: and displaying the angle value of the target included angle obtained currently on a screen of the terminal.
Optionally, the eye-related information further includes eye identification information, where the eye identification information includes at least one of eye print information, iris information, and eyeball information;
the determining that the terminal meets a preset unlocking condition according to the eye correlation information and a pre-stored angle value comprises:
when the eye identification information is matched with the pre-stored eye identification information and the obtained angle value is equal to the pre-stored angle value, determining that the terminal meets a preset unlocking condition;
or the like, or, alternatively,
and when the eye identification information is matched with the pre-stored eye identification information and the absolute value of the difference between the obtained angle value and the pre-stored angle value is less than or equal to a preset angle threshold value, determining that the terminal meets a preset unlocking condition.
Furthermore, the invention also provides a terminal, which comprises a processor, a memory and a communication bus;
the communication bus is used for realizing connection communication between the processor and the memory;
the memory is used for storing one or more programs, and the processor is used for executing the one or more programs stored in the memory to realize the steps of any unlocking method.
Further, the present invention also provides a computer-readable storage medium storing one or more programs, which are executable by one or more processors to implement the steps of any of the unlocking methods described above.
Advantageous effects
The invention provides an unlocking method, a terminal and a computer readable storage medium, by acquiring eye related information of a user, wherein the eye related information comprises angle values of target included angles of two eyes of the user relative to a preset unlocking calibration point on the terminal, the target included angles are included angles which respectively extend outwards from positions where the two eyes of the user are located and are intersected with the preset unlocking calibration point, when the terminal is determined to meet a preset unlocking condition according to the acquired eye related information and a prestored angle value, the terminal is unlocked according to the angle values of the included angles formed by the two eyes of the user and the preset unlocking calibration point on the terminal, compared with the existing scheme, the unlocking can be realized without manually operating the terminal by the user, so that an entity key position on the terminal is not influenced, the method and the device have the advantages that the terminal safety is guaranteed, meanwhile, the damage to the key position of the terminal entity is minimized, the user operation is more convenient, and the satisfaction degree of user experience is improved.
Drawings
The invention will be further described with reference to the accompanying drawings and examples, in which:
fig. 1 is a schematic diagram of a hardware structure of an optional mobile terminal for implementing various embodiments of the present invention.
FIG. 2 is a diagram of a wireless communication system for the mobile terminal shown in FIG. 1;
fig. 3 is a schematic flowchart of an unlocking method according to a first embodiment of the present invention;
FIG. 4 is a diagram illustrating an unlocking calibration point on a terminal screen according to a first embodiment of the present invention;
fig. 5 is a first operation diagram for entering a target included angle value according to the first embodiment of the present invention;
fig. 6 is a second operation diagram for entering a target included angle value according to the first embodiment of the present invention;
FIG. 7 is a diagram illustrating an unlock calibration point and a sensor setup position on a terminal screen according to a first embodiment of the present invention;
FIG. 8 is a schematic view between a human eye and an unlock calibration point provided by the first embodiment of the present invention;
fig. 9 is a schematic diagram of establishing a three-dimensional coordinate system on a terminal according to a first embodiment of the present invention;
fig. 10 is a flowchart illustrating an unlocking method according to a second embodiment of the present invention;
fig. 11 is a schematic structural diagram of a terminal according to a third embodiment of the present invention.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
In the following description, suffixes such as "module", "component", or "unit" used to denote elements are used only for facilitating the explanation of the present invention, and have no specific meaning in itself. Thus, "module", "component" or "unit" may be used mixedly.
The terminal may be implemented in various forms. For example, the terminal described in the present invention may include a mobile terminal such as a mobile phone, a tablet computer, a notebook computer, a palmtop computer, a Personal Digital Assistant (PDA), a Portable Media Player (PMP), a navigation device, a wearable device, a smart band, a pedometer, and the like, and a fixed terminal such as a Digital TV, a desktop computer, and the like.
The following description will be given by way of example of a mobile terminal, and it will be understood by those skilled in the art that the construction according to the embodiment of the present invention can be applied to a fixed type terminal, in addition to elements particularly used for mobile purposes.
Referring to fig. 1, which is a schematic diagram of a hardware structure of a mobile terminal for implementing various embodiments of the present invention, the mobile terminal 100 may include: RF (Radio Frequency) unit 101, WiFi module 102, audio output unit 103, a/V (audio/video) input unit 104, sensor 105, display unit 106, user input unit 107, interface unit 108, memory 109, processor 110, and power supply 111. Those skilled in the art will appreciate that the mobile terminal architecture shown in fig. 1 is not intended to be limiting of mobile terminals, which may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
The following describes each component of the mobile terminal in detail with reference to fig. 1:
the radio frequency unit 101 may be configured to receive and transmit signals during information transmission and reception or during a call, and specifically, receive downlink information of a base station and then process the downlink information to the processor 110; in addition, the uplink data is transmitted to the base station. Typically, radio frequency unit 101 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. In addition, the radio frequency unit 101 can also communicate with a network and other devices through wireless communication. The wireless communication may use any communication standard or protocol, including but not limited to GSM (Global System for Mobile communications), GPRS (General Packet Radio Service), CDMA2000(Code Division Multiple Access 2000), WCDMA (Wideband Code Division Multiple Access), TD-SCDMA (Time Division-Synchronous Code Division Multiple Access), FDD-LTE (Frequency Division duplex Long Term Evolution), and TDD-LTE (Time Division duplex Long Term Evolution).
WiFi belongs to short-distance wireless transmission technology, and the mobile terminal can help a user to receive and send e-mails, browse webpages, access streaming media and the like through the WiFi module 102, and provides wireless broadband internet access for the user. Although fig. 1 shows the WiFi module 102, it is understood that it does not belong to the essential constitution of the mobile terminal, and may be omitted entirely as needed within the scope not changing the essence of the invention.
The audio output unit 103 may convert audio data received by the radio frequency unit 101 or the WiFi module 102 or stored in the memory 109 into an audio signal and output as sound when the mobile terminal 100 is in a call signal reception mode, a call mode, a recording mode, a voice recognition mode, a broadcast reception mode, or the like. Also, the audio output unit 103 may also provide audio output related to a specific function performed by the mobile terminal 100 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 103 may include a speaker, a buzzer, and the like.
The a/V input unit 104 is used to receive audio or video signals. The a/V input Unit 104 may include a Graphics Processing Unit (GPU) 1041 and a microphone 1042, the Graphics processor 1041 Processing image data of still pictures or video obtained by an image capturing device (e.g., a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 106. The image frames processed by the graphic processor 1041 may be stored in the memory 109 (or other storage medium) or transmitted via the radio frequency unit 101 or the WiFi module 102. The microphone 1042 may receive sounds (audio data) via the microphone 1042 in a phone call mode, a recording mode, a voice recognition mode, or the like, and may be capable of processing such sounds into audio data. The processed audio (voice) data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 101 in case of a phone call mode. The microphone 1042 may implement various types of noise cancellation (or suppression) algorithms to cancel (or suppress) noise or interference generated in the course of receiving and transmitting audio signals.
The mobile terminal 100 also includes at least one sensor 105, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor that can adjust the brightness of the display panel 1061 according to the brightness of ambient light, and a proximity sensor that can turn off the display panel 1061 and/or a backlight when the mobile terminal 100 is moved to the ear. As one of the motion sensors, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally, three axes), can detect the magnitude and direction of gravity when stationary, and can be used for applications of recognizing the posture of a mobile phone (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer and tapping), and the like; as for other sensors such as a fingerprint sensor, a pressure sensor, an iris sensor, a molecular sensor, a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which can be configured on the mobile phone, further description is omitted here.
The display unit 106 is used to display information input by a user or information provided to the user. The Display unit 106 may include a Display panel 1061, and the Display panel 1061 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 107 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 107 may include a touch panel 1071 and other input devices 1072. The touch panel 1071, also referred to as a touch screen, may collect a touch operation performed by a user on or near the touch panel 1071 (e.g., an operation performed by the user on or near the touch panel 1071 using a finger, a stylus, or any other suitable object or accessory), and drive a corresponding connection device according to a predetermined program. The touch panel 1071 may include two parts 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 110, and can receive and execute commands sent by the processor 110. In addition, the touch panel 1071 may be implemented in various types, such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. In addition to the touch panel 1071, the user input unit 107 may include other input devices 1072. In particular, other input devices 1072 may include, but are not limited to, one or more of a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like, and are not limited to these specific examples.
Further, the touch panel 1071 may cover the display panel 1061, and when the touch panel 1071 detects a touch operation thereon or nearby, the touch panel 1071 transmits the touch operation to the processor 110 to determine the type of the touch event, and then the processor 110 provides a corresponding visual output on the display panel 1061 according to the type of the touch event. Although the touch panel 1071 and the display panel 1061 are shown in fig. 1 as two separate components to implement the input and output functions of the mobile terminal, in some embodiments, the touch panel 1071 and the display panel 1061 may be integrated to implement the input and output functions of the mobile terminal, and is not limited herein.
The interface unit 108 serves as an interface through which at least one external device is connected to the mobile terminal 100. 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 108 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 100 or may be used to transmit data between the mobile terminal 100 and external devices.
The memory 109 may be used to store software programs as well as various data. The memory 109 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 109 may include high speed random access memory, and may 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 110 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 operating or executing software programs and/or modules stored in the memory 109 and calling data stored in the memory 109, thereby performing overall monitoring of the mobile terminal. Processor 110 may include one or more processing units; preferably, the processor 110 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 the processor 110.
The mobile terminal 100 may further include a power supply 111 (e.g., a battery) for supplying power to various components, and preferably, the power supply 111 may be logically connected to the processor 110 via a power management system, so as to manage charging, discharging, and power consumption management functions via the power management system.
Although not shown in fig. 1, the mobile terminal 100 may further include a bluetooth module or the like, which is not described in detail herein.
In order to facilitate understanding of the embodiments of the present invention, a communication network system on which the mobile terminal of the present invention is based is described below.
Referring to fig. 2, fig. 2 is an architecture diagram of a communication Network system according to an embodiment of the present invention, where the communication Network system is an LTE system of a universal mobile telecommunications technology, and the LTE system includes a UE (User Equipment) 201, an E-UTRAN (Evolved UMTS Terrestrial Radio Access Network) 202, an EPC (Evolved Packet Core) 203, and an IP service 204 of an operator, which are in communication connection in sequence.
Specifically, the UE201 may be the terminal 100 described above, and is not described herein again.
The E-UTRAN202 includes eNodeB2021 and other eNodeBs 2022, among others. Among them, the eNodeB2021 may be connected with other eNodeB2022 through backhaul (e.g., X2 interface), the eNodeB2021 is connected to the EPC203, and the eNodeB2021 may provide the UE201 access to the EPC 203.
The EPC203 may include an MME (Mobility Management Entity) 2031, an HSS (Home Subscriber Server) 2032, other MMEs 2033, an SGW (Serving gateway) 2034, a PGW (PDN gateway) 2035, and a PCRF (Policy and Charging Rules Function) 2036, and the like. The MME2031 is a control node that handles signaling between the UE201 and the EPC203, and provides bearer and connection management. HSS2032 is used to provide registers to manage functions such as home location register (not shown) and holds subscriber specific information about service characteristics, data rates, etc. All user data may be sent through SGW2034, PGW2035 may provide IP address assignment for UE201 and other functions, and PCRF2036 is a policy and charging control policy decision point for traffic data flow and IP bearer resources, which selects and provides available policy and charging control decisions for a policy and charging enforcement function (not shown).
The IP services 204 may include the internet, intranets, IMS (IP Multimedia Subsystem), or other IP services, among others.
Although the LTE system is described as an example, it should be understood by those skilled in the art that the present invention is not limited to the LTE system, but may also be applied to other wireless communication systems, such as GSM, CDMA2000, WCDMA, TD-SCDMA, and future new network systems.
Based on the above mobile terminal hardware structure and communication network system, the present invention provides various embodiments of the method.
First embodiment
In order to solve the problem that the unlocking manner of the conventional electronic device is complicated, and the service life of the entity key is short due to frequent use of the entity key on the electronic device for unlocking, the present embodiment provides a new unlocking method, please refer to fig. 3, which includes:
s301: and acquiring the current eye related information of the user.
The eye-related information in this embodiment should at least include an angle value of a target included angle between the two eyes of the user and the preset unlocking calibration point on the terminal, where the target included angle is an included angle extending outward from the positions where the two eyes of the user are located and intersecting with the preset unlocking calibration point. It should be noted that the preset unlocking calibration point in this embodiment may be any position point on the terminal, where the position point may be a position point that is specially pre-specified on the terminal screen for unlocking, for example, the position point may be a center position point on the terminal screen, please refer to fig. 4, where fig. 4 is a schematic diagram that the unlocking calibration point 41 is a center point of the mobile phone screen, an included angle X formed by two eyes of the user and the unlocking calibration point is a target included angle, it should be understood that an exact position where the preset unlocking calibration point is located in this embodiment may be set by a developer, and certainly, user self-definition may also be supported.
S302: and unlocking the terminal when the terminal meets the preset unlocking condition according to the eye correlation information and the angle value stored in advance.
For step S302, the obtained angle value of the target included angle may be compared with a prestored angle value, and if equal, it is determined that the terminal satisfies a preset unlocking condition; in some cases, the accuracy of the pre-stored angle value may be fine, for example, the accuracy is as accurate as seconds, so that if the absolute value of the difference between the obtained angle value and the pre-stored angle value is less than or equal to the preset angle threshold value, it may also be determined that the terminal satisfies the preset unlocking condition, and the preset angle threshold value in this embodiment may be flexibly set by a developer according to the actual application scenario of the electronic device, and also supports user-defined.
It should be noted that the angle value pre-stored in this embodiment may be manually input by the user through the touch screen, for example, please refer to fig. 5, the user may input an angle value on the touch screen of the terminal, and after the terminal is locked, the user only needs to adjust the distance between the terminal and the eyes to match the angle value of the target included angle with the previously input angle value, so as to unlock the terminal; in addition, the angle value pre-stored in the terminal may also be entered by the user in a non-manual operation manner, please refer to fig. 6, for example, after the terminal enters the interface for setting the angle value, the user may adjust the distance between the two eyes and the unlocking calibration point, and at this time, the angle value of the current target included angle may be displayed on the display screen of the terminal until the angle value desired by the user is displayed on the display screen of the terminal.
It should be further noted that the preset unlocking condition in step S302 may include any one of a preset screen unlocking condition and a preset application unlocking condition, and therefore, when the preset unlocking condition includes the preset screen unlocking condition, unlocking the terminal in the above steps should include unlocking the screen of the terminal; when the preset unlocking condition includes a preset application program unlocking condition, unlocking the terminal in the above steps should include unlocking the application program on the terminal.
In order to better understand the solution provided by the present invention, the following describes a process of obtaining an angle value of a target included angle.
The terminal can obtain the distances between the two eyes of the user and the unlocking calibration point respectively to obtain a first distance and a second distance, and then the angle value of the target included angle is calculated according to the first distance and the second distance. Specifically, the distances between the two eyes and the sensor can be acquired through the sensor arranged on the terminal, and the sensor in this embodiment may be an infrared sensor, or may be other devices with similar functions. In this embodiment, the infrared sensor may position the positions of the two eyes of the user by using infrared rays with specific wavelengths, so as to obtain the distance between the two eyes and the infrared sensor, if the preset unlocking calibration point is located at the position of the infrared sensor, the distance between the two eyes of the user and the infrared sensor obtained by the infrared sensor is also the first distance and the second distance, of course, if the preset unlocking calibration point is located at another position point on the terminal screen, please refer to fig. 7, which shows the exact position of the unlocking calibration point 41 and the position of the infrared sensor 42, where the exact position is shownHere, the first distance and the second distance may be obtained as follows: the terminal can measure the distances d1 and d2 between the two eyes of the user and the infrared sensor through the infrared sensor, the included angles x1 and x2 between the optical axes corresponding to the two eyes and the plane of the display screen respectively, and can also obtain the distance s between the unlocking calibration point and the position point of the infrared sensor, and the distance between the two eyes of the user and the unlocking calibration point can be obtained by utilizing the cosine theorem of a triangle, and if the first distance is m1 and the second distance is m2, the distance between the two eyes of the user and the unlocking calibration point can be obtained respectively
Figure BDA0001418248870000111
In this embodiment, after the first distance and the second distance are obtained, various methods may be used to obtain the angle value of the target included angle between the two eyes relative to the unlocking calibration point. Please refer to fig. 8, point Q in fig. 8 is an unlocking calibration point, and the positions of a and B are the positions of eyes, respectively, so that the target included angle is also × AQB, QA is equal to m1, and QB is equal to m2, so to obtain × AQB, only the distance AB or the size of × QAB or × QBA needs to be obtained, and then × AQB can be obtained by adopting the cosine theorem of triangle again.
Therefore, in this embodiment, the angle value of the target included angle can be calculated by measuring the angle of the optical axis corresponding to any one eye relative to the face plane of the user through the infrared sensor, and in addition, the distance between the two eyes of the user can be acquired, so that the angle value of the target included angle is calculated.
In some embodiments, a corresponding relationship table between a face model and a distance between two eyes may be prestored in the terminal system, so when a face is detected, face feature data of a user may be extracted by using a face recognition technology, where the face feature data may include a width, a length, and the like of a face of the user, then a face model that matches the face of the user most closely is matched from the face model prestored in the terminal based on the face feature data, then a distance between two eyes of the user is obtained according to the corresponding relationship table between the face model and the distance between two eyes of the user, and the terminal may calculate an angle value of the target included angle based on the distance between two eyes and the first distance and the second distance.
In some other embodiments, the distance between the two eyes of the user can be obtained by: for example, a three-dimensional coordinate system may be established with the center of the display screen as an origin, the XY coordinate plane is parallel to the display screen, and the direction pointing to the eyes of the user is the Z axis, please refer to fig. 9, it should be noted that, in the specific embodiment, a spatial coordinate system may also be established with other positions as the origin, such as the lower left corner and the upper left corner of the display screen, first, the face of the user may be detected by using the face recognition technology, the positions of the eyes of the user are obtained according to the facial feature data and the coordinate system obtained by the face detection, as shown in the figure, the coordinates of the eyes in the XY plane coordinate system of the coordinate system are respectively obtained according to the data and the coordinate system of the photograph taken by the camera installed on the terminal, and it is assumed that the corresponding coordinate points are (x1, y1) and (x2, y2), generally, when the user performs the unlocking operation on the terminal in practical application, the distance between these two coordinate points can be regarded as the distance between the two eyes of the user, i.e. the distance between the two eyes of the user is
Figure BDA0001418248870000121
In addition, in order to prevent the terminal from acquiring the eye related information of the user all the time during the use of the terminal, which causes the loss of the electric quantity, the method further comprises the following steps before acquiring the eye related information of the user: and judging whether the sight of the user falls into a preset range, and if so, acquiring the eye related information of the user. The preset range in this embodiment may be set by a developer at will, and in addition, the present embodiment may use an existing gaze tracking algorithm to detect the gaze of the user, which is not described herein again.
When the user unlocks the terminal, the distance between the terminal and the two eyes can be adjusted according to the angle value stored in the terminal before, so that the size of the target included angle is indirectly adjusted, in the process, in order to prompt the user, the user can know the angle value of the current target included angle and move the terminal along the correct direction, and the angle value of the current obtained target included angle can be displayed on a screen of the terminal. Therefore, under the condition that the hands of the user are inconvenient, the terminal can be unlocked through the scheme provided by the invention.
Of course, in some other embodiments, in order to further improve the security of the terminal, the eye-related information may further include eye identification information, and the eye identification information in this embodiment may include at least one of eye pattern information, iris information, and eyeball information. Therefore, the terminal can acquire the eye identification information of the user through the camera while acquiring the angle value of the target included angle or before the step of acquiring the angle value of the target included angle. When the eye-related information includes the eye identification information, determining that the terminal satisfies the preset unlocking condition according to the eye-related information and the pre-stored angle value may include: matching the currently acquired eye identification information with prestored eye identification information, and determining that the terminal meets a preset unlocking condition when the matching is successful and the currently acquired angle value of the target included angle is equal to the prestored angle value; or when the currently acquired eye identification information is successfully matched with the prestored eye identification information and the absolute value of the difference between the currently acquired angle value of the target included angle and the prestored angle value is less than or equal to a preset angle threshold value, determining that the terminal currently meets the preset unlocking condition.
The angle values of the eye recognition information and the target angle stored in advance are explained here. It should be understood that, for the embodiment in which the eye-related information includes the eye identification information, after the user starts the unlocking mode, the user may control the terminal to enter the interface for setting the unlocking password, and after entering the interface, the user's eye identification information and the angle value of the current target included angle are collected by the terminal, and the obtained eye identification information and the obtained angle value are stored as the comparison standard for the subsequent user to unlock the terminal. It should be understood that, in this case, in addition to the need to match the eye identification information of the user, the obtained angle value of the target included angle needs to be matched, even if the eye identification information of the user is stolen by others, since the opposite party does not know how many angle values of the target included angle preset in the terminal are, the terminal cannot be unlocked, the security of the terminal is further improved by the scheme.
According to the unlocking method provided by the embodiment, the angle value of the target included angle of the two eyes of the user relative to the preset unlocking calibration point on the terminal is obtained, whether the terminal meets the preset unlocking condition is judged according to the obtained eye correlation information and the angle value stored in advance, if yes, the terminal is unlocked, compared with the existing scheme, the unlocking can be realized without manually operating the terminal by the user, so that the influence on the entity key position on the terminal is avoided, the terminal safety is ensured, meanwhile, the damage to the entity key position of the terminal is reduced to the minimum, the user operation is facilitated, and the satisfaction degree of user experience is improved.
Second embodiment
In the first embodiment, a terminal is mainly used as a mobile phone terminal for explanation, and it should be understood that a terminal referred to in the present invention may be any terminal, such as a smart watch, and the like, so that in order to better understand a scheme provided by the present invention, the present embodiment provides a more specific unlocking method, where the present embodiment takes the terminal as a smart watch for explanation, please refer to fig. 10, and the unlocking method provided by the present embodiment includes:
s1001: eye identification information of a user is collected.
The eye identification information of the user, such as at least one of eye pattern information, iris information and eyeball information, may be collected by a camera provided on the smart watch.
S1002: and judging whether the eye identification information is matched with the pre-stored eye identification information, if so, going to S1003, otherwise, going to S1007.
The eye identification information pre-stored in step S1002 may be pre-entered by the user, and when the smart watch is not locked, the user may control the smart watch to enter an interface for setting the eye identification information, so as to enter the eye identification information of the user.
S1003: and acquiring the distance between the two eyes of the user and the preset unlocking calibration point respectively.
Preferably, the preset calibration point in the present embodiment may be a position point where the infrared sensor is located, so that the distance between the two eyes of the user and the infrared sensor may be measured by the infrared sensor having a specific infrared wavelength at this time.
And S1004, calculating the angle value of the target included angle of the two eyes of the user relative to the preset unlocking calibration point according to the distance.
The distance between the two eyes of the user can be calculated based on an image recognition technology, and since the distances between the two eyes and the infrared sensor are obtained by measuring in step S1003, the angle value of the target included angle between the two eyes of the user and the infrared sensor can be calculated by using the cosine law of a triangle.
S1005: and judging whether the angle value of the target included angle is matched with a prestored angle value, if so, turning to S1006, otherwise, turning to S1007.
The process of entering the angle value prestored in step S1005 is similar to the process of entering the eye identification information described above, and is not described again here.
S1006: and unlocking the terminal.
S1007: and displaying an unlocking failure message notification on a terminal screen.
In some embodiments, to further improve the security of the smart watch, when the number of consecutive unlocking failures of the smart watch reaches a preset number threshold, an alarm notification or a location message may be sent to another electronic device bound to the smart watch.
In the unlocking method provided by the embodiment, the eye identification information of the user and the angle values of the target included angles of the two eyes of the user relative to the preset unlocking calibration point on the terminal are obtained, whether the intelligent watch meets the preset unlocking condition is judged according to the obtained eye identification information and the angle values of the target included angles, if yes, the intelligent watch is unlocked, and the currently obtained eye identification information and the angle values of the target included angles need to be matched, so that even if the eye identification information of the user is stolen by others, the terminal cannot be unlocked because the opposite side does not know the angle values of the target included angles preset in the terminal, the safety of the terminal is further improved, in addition, the unlocking method provided by the embodiment can realize unlocking without manually operating the intelligent watch by the user, so that the key position of the entity on the intelligent watch is not influenced, when guaranteeing intelligent wrist-watch security, will reduce to minimum to the damage that intelligent wrist-watch entity key position caused, also be convenient for user operation more, promoted user experience's satisfaction.
The third embodiment:
the present embodiment provides a terminal, please refer to fig. 11, which includes a processor 1101, a memory 1102 and a communication bus 1103; the communication bus 1103 is used for implementing connection communication between the processor 1101 and the memory 1102; the memory 1102 is configured to store one or more programs, and the processor 1101 is configured to execute the one or more programs stored in the memory 1102 to implement the steps of the unlocking method in the embodiments described above.
The present embodiment also provides a computer readable storage medium, which stores one or more programs, and the one or more programs are executable by one or more processors to implement the steps of the unlocking method as in the above embodiments.
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.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
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 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 (8)

1. An unlocking method, comprising:
acquiring current eye related information of a user, wherein the eye related information comprises angle values of target included angles of two eyes of the user relative to a preset unlocking calibration point on a terminal, and the target included angles are included angles which respectively extend outwards from positions where the two eyes are located and are intersected with the preset unlocking calibration point;
unlocking the terminal when the terminal is determined to meet a preset unlocking condition according to the eye correlation information and a pre-stored angle value;
the acquiring the current eye related information of the user comprises the following steps:
obtaining the distance between the two eyes of the user and the preset unlocking calibration point respectively to obtain a first distance and a second distance;
calculating an angle value of the target included angle according to the first distance and the second distance;
the calculating the angle value of the target included angle according to the first distance and the second distance comprises:
collecting facial feature data of the user, and acquiring a third distance between two eyes of the user based on the facial feature data;
and calculating the angle value of the target included angle according to the first distance, the second distance and the third distance.
2. The unlocking method according to claim 1, wherein the determining that the terminal satisfies a preset unlocking condition according to the eye-related information and a pre-stored angle value comprises:
when the obtained angle value is equal to a pre-stored angle value, determining that the terminal meets a preset unlocking condition;
or the like, or, alternatively,
and when the absolute value of the difference between the obtained angle value and the angle value stored in advance is smaller than or equal to a preset angle threshold value, determining that the terminal meets a preset unlocking condition.
3. The unlocking method according to claim 1, wherein the preset unlocking calibration point is a position point where an infrared sensor provided on the terminal is located;
the obtaining distances between the two eyes of the user and the preset unlocking calibration points respectively comprises:
and acquiring distances between two eyes of the user and position points where the infrared sensors are located respectively through the infrared sensors arranged on the terminal.
4. The unlocking method according to claim 1, wherein the preset unlocking condition includes a preset screen unlocking condition, and the unlocking the terminal includes: unlocking a screen of the terminal;
or the like, or, alternatively,
the preset unlocking condition comprises a preset application program unlocking condition, and the unlocking the terminal comprises the following steps: and unlocking the application program on the terminal.
5. The unlocking method according to claim 1, further comprising, before said unlocking the terminal: and displaying the angle value of the target included angle obtained currently on a screen of the terminal.
6. The unlocking method according to any one of claims 1 and 3 to 5, wherein the eye-related information further includes eye identification information including at least one of eye print information, iris information, and eyeball information;
the determining that the terminal meets a preset unlocking condition according to the eye correlation information and a pre-stored angle value comprises:
when the eye identification information is matched with the pre-stored eye identification information and the obtained angle value is equal to the pre-stored angle value, determining that the terminal meets a preset unlocking condition;
or the like, or, alternatively,
and when the eye identification information is matched with the pre-stored eye identification information and the absolute value of the difference between the obtained angle value and the pre-stored angle value is less than or equal to a preset angle threshold value, determining that the terminal meets a preset unlocking condition.
7. A terminal, characterized in that the terminal comprises a processor, a memory and a communication bus;
the communication bus is used for realizing connection communication between the processor and the memory;
the memory is configured to store one or more programs, and the processor is configured to execute the one or more programs stored in the memory to implement the steps of the unlocking method according to any one of claims 1 to 6.
8. A computer-readable storage medium, characterized in that the computer-readable storage medium stores one or more programs which are executable by one or more processors to implement the steps of the unlocking method according to any one of claims 1 to 6.
CN201710876633.2A 2017-09-25 2017-09-25 Unlocking method, terminal and computer readable storage medium Active CN107885987B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710876633.2A CN107885987B (en) 2017-09-25 2017-09-25 Unlocking method, terminal and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710876633.2A CN107885987B (en) 2017-09-25 2017-09-25 Unlocking method, terminal and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN107885987A CN107885987A (en) 2018-04-06
CN107885987B true CN107885987B (en) 2020-11-10

Family

ID=61780786

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710876633.2A Active CN107885987B (en) 2017-09-25 2017-09-25 Unlocking method, terminal and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN107885987B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109033779A (en) * 2018-06-29 2018-12-18 努比亚技术有限公司 A kind of unlock authentication method, wearable device and computer readable storage medium
CN109145566A (en) * 2018-09-08 2019-01-04 太若科技(北京)有限公司 Method, apparatus and AR glasses based on blinkpunkt information unlock AR glasses
CN113221699B (en) * 2021-04-30 2023-09-08 杭州海康威视数字技术股份有限公司 Method, device and identification equipment for improving identification safety

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104573667A (en) * 2015-01-23 2015-04-29 北京中科虹霸科技有限公司 Iris recognition device improving iris image quality of mobile terminal
CN105095847A (en) * 2014-05-16 2015-11-25 北京天诚盛业科技有限公司 Iris identification method and apparatus for mobile terminal

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105095847A (en) * 2014-05-16 2015-11-25 北京天诚盛业科技有限公司 Iris identification method and apparatus for mobile terminal
CN104573667A (en) * 2015-01-23 2015-04-29 北京中科虹霸科技有限公司 Iris recognition device improving iris image quality of mobile terminal

Also Published As

Publication number Publication date
CN107885987A (en) 2018-04-06

Similar Documents

Publication Publication Date Title
CN108830062B (en) Face recognition method, mobile terminal and computer readable storage medium
CN110035176B (en) Brightness adjusting method of mobile terminal, mobile terminal and storage medium
CN109086582B (en) Fingerprint authentication method, terminal and computer readable storage medium
CN108229420B (en) Face recognition method and mobile terminal
CN109144441B (en) Screen adjusting method, terminal and computer readable storage medium
CN108376239B (en) Face recognition method, mobile terminal and storage medium
CN109146463B (en) Mobile payment method, mobile terminal and computer readable storage medium
CN107862217B (en) Position information acquisition method, mobile terminal and computer storage medium
CN107832032B (en) Screen locking display method and mobile terminal
CN107885987B (en) Unlocking method, terminal and computer readable storage medium
CN108076221B (en) Terminal control method, terminal and computer readable storage medium
CN109862278B (en) Light supplementing method and device for face recognition and computer readable storage medium
CN109063444B (en) Mobile terminal screen unlocking method, mobile terminal and computer readable storage medium
CN108196768B (en) Mobile terminal turnover detection method, mobile terminal and computer readable storage medium
CN107395363B (en) Fingerprint sharing method and mobile terminal
CN107340958B (en) Horizontal and vertical screen switching method and mobile terminal
CN107194217B (en) User data access control method, apparatus and computer-readable storage medium
CN111443818B (en) Screen brightness regulation and control method, equipment and computer readable storage medium
CN112866685A (en) Screen projection delay measuring method, mobile terminal and computer readable storage medium
CN110060617B (en) Screen light spot compensation method and device, terminal and readable storage medium
CN112153305A (en) Camera starting method, mobile terminal and computer storage medium
CN109547330B (en) Information sharing method and device
CN109711850B (en) Secure payment method, device and computer readable storage medium
CN108876387B (en) Payment verification method, payment verification equipment and computer-readable storage medium
CN108400994B (en) User authentication method, mobile terminal, server, and computer-readable storage medium

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
TA01 Transfer of patent application right

Effective date of registration: 20201015

Address after: Room 1101-1105, 11th floor, office building, No.7, Huajian 1st block, high tech Zone, Liaocheng City, Shandong Province 252000

Applicant after: Shandong Xingchuang Information Technology Co., Ltd

Address before: 518057 Guangdong province Shenzhen city Nanshan District high tech park, No. 9018 North Central Avenue, building A, floor 10, Han's innovation

Applicant before: NUBIA TECHNOLOGY Co.,Ltd.

TA01 Transfer of patent application right
GR01 Patent grant
GR01 Patent grant