CN107885987A - A kind of unlocking method, terminal and computer-readable recording medium - Google Patents

A kind of unlocking method, terminal and computer-readable recording medium Download PDF

Info

Publication number
CN107885987A
CN107885987A CN201710876633.2A CN201710876633A CN107885987A CN 107885987 A CN107885987 A CN 107885987A CN 201710876633 A CN201710876633 A CN 201710876633A CN 107885987 A CN107885987 A CN 107885987A
Authority
CN
China
Prior art keywords
terminal
eyes
user
angle value
angle
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201710876633.2A
Other languages
Chinese (zh)
Other versions
CN107885987B (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
Nubia 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 Nubia Technology Co Ltd filed Critical Nubia 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

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 a kind of unlocking method, terminal and computer-readable recording medium, this method is by obtaining the eyes related information of user, wherein eyes related information includes two eyes of user relative to the angle value for the target angle that unblock calibration point is preset in terminal, the target angle is the angle for stretching out respectively from the position where two eyes of user and being crossed to form with the default unblock calibration point, when determining that the terminal meets default unlocking condition according to the eyes related information acquired and the angle value prestored, the terminal is unlocked, the invention also discloses a kind of terminal and computer-readable recording medium, by implementing such scheme, while Terminal security is ensured, it will damage and be preferably minimized to caused by end entity key mapping, also user's operation is easily facilitated, improve the satisfaction of Consumer's Experience.

Description

A kind of unlocking method, terminal and computer-readable recording medium
Technical field
, can more specifically to a kind of unlocking method, terminal and computer the present invention relates to technical field of electronic equipment Read storage medium.
Background technology
With the fast development of mobile technology, many traditional electronic products also gradually increase intelligent terminal in terms of work( Can, such as intelligent watch.Either intelligent watch or traditional smart mobile phone, these electronic equipments can be with internets It is connected, the content such as display incoming information, news and Weather information, therefore, the security of information also becomes particularly significant, mesh Before, electronic equipment on the market is in order to ensure that the security of information is typically by a kind of entity key mapping of touch-screen and solving locking key position Combine for user operate with realize unblock, for example, user when being unlocked, generally require by press entity key mapping with Screen is lighted, password is then inputted on screen to unlock, for the entity key mapping because frequently using, service life can be significantly Shortening, and for user uses angle, by entity key mapping and touch screen coordinate the mode of operation operated also compared with To be cumbersome.
The content of the invention
The technical problem to be solved in the present invention is that the unlocking manner of existing electronic equipment is relatively complicated, due to frequently using Entity key mapping on electronic equipment is unlocked the problem of causing the entity key mapping service life shorter, for the technical problem, A kind of new unlocking method, terminal and computer-readable recording medium are provided.
In order to solve the above technical problems, the present invention provides a kind of unlocking method, the unlocking method includes:
The current eyes related information of user is obtained, the eyes related information includes two eyes phases of the user For the angle value for the target angle that unblock calibration point is preset in the terminal, the target angle is respectively from two eyes The angle that position where eyeball stretches out and is crossed to form with the default unblock calibration point;
Determining that the terminal meets default release bar according to the eyes related information and the angle value prestored During part, the terminal is unlocked.
Optionally, it is described to determine that the terminal meets in advance according to the eyes related information and the angle value prestored If unlocking condition includes:
When the angle value of the acquisition is equal to the angle value prestored, determine that the terminal meets default release bar Part;
Or,
It is less than or equal to default angle threshold in the angle value of the acquisition and the absolute value of difference of the angle value prestored During value, determine that the terminal meets default unlocking condition.
The current eyes related information of user that obtains includes:
Two eyes of the user are obtained respectively the distance between with described default unblock calibration point, obtain the first distance With second distance;
The angle value of the target angle is calculated with the second distance according to first distance.
Optionally, the angle value bag for calculating the target angle with the second distance according to first distance Include:
The facial feature data of the user is gathered, and two eyes of the user are obtained based on the facial feature data The 3rd distance between eyeball;
The angle of the target angle is calculated according to the described first distance, the second distance and the 3rd distance Value.
Optionally, the default unblock calibration point is the location point where the infrared sensor being arranged in the terminal;
Two eyes for obtaining the user include with described default the distance between calibration point that unlocks respectively:
By the infrared sensor that is arranged in the terminal obtain two eyes of the user respectively with it is described infrared The distance between location point where sensor.
Optionally, the default unlocking condition includes default unlocking screen condition, described to be unlocked bag to the terminal Include:The screen of the terminal is unlocked;
Or,
The default unlocking condition includes default application program unlocking condition, it is described the terminal is unlocked including: Application program in the terminal is unlocked.
Optionally, it is described the terminal is unlocked before also include:The target currently acquired is pressed from both sides The angle value at angle is shown on the screen of the terminal.
Optionally, the eyes related information also includes eye recognition information, and the eye recognition information is believed including eyeprint Breath, at least one of iris information and eyeball information;
It is described to determine that the terminal meets default unblock according to the eyes related information and the angle value prestored Condition includes:
In the eye recognition information and the eye recognition information match that prestores, and angle value of the acquisition etc. When the angle value prestored, determine that the terminal meets default unlocking condition;
Or,
In the eye recognition information and the eye recognition information match that prestores, and the angle value of the acquisition with When the absolute value of the difference of the angle value prestored is less than or equal to default angle threshold, determine that the terminal meets default unblock Condition.
Further, present invention also offers a kind of terminal, the terminal to include processor, memory and communication bus;
The communication bus is used to realize the connection communication between the processor and the memory;
The memory is used to store one or more programs, and the processor is used to perform what is stored in the memory One or more program, with realize as described above any unlocking method the step of.
Further, present invention also offers a kind of computer-readable recording medium, the computer-readable recording medium It is stored with one or more program, one or more of programs can be by one or more computing device, to realize The step of any unlocking method as described above.
Beneficial effect
The present invention provides a kind of unlocking method, terminal and computer-readable recording medium, is closed by the eyes for obtaining user Join information, wherein eyes related information includes two eyes of user relative to the target folder that unblock calibration point is preset in terminal The angle value at angle, the target angle are calibrated to stretch out respectively from the position where two eyes of user and presetting unblock with this The angle that point is crossed to form, determining that the terminal expires according to the eyes related information acquired and the angle value prestored When foot presets unlocking condition, the terminal is unlocked, scheme provided by the invention is according to pre- on two eyes of user and terminal If the angle value that unblock calibration point forms angle is unlocked to terminal, user is without right manually for currently existing scheme Terminal, which carries out operation, can realize unblock, therefore the entity key mapping in terminal would not be had an impact, and ensure terminal security Property while, will damage being preferably minimized to caused by end entity key mapping, also easily facilitate user operation, improve Consumer's Experience Satisfaction.
Brief description of the drawings
Below in conjunction with drawings and Examples, the invention will be further described, in accompanying drawing:
Fig. 1 is the hardware architecture diagram for realizing each optional mobile terminal of embodiment one of the present invention.
Fig. 2 is the wireless communication system schematic diagram of mobile terminal as shown in Figure 1;
Fig. 3 is the schematic flow sheet for the unlocking method that first embodiment of the invention provides;
Fig. 4 is the schematic diagram that calibration point is unlocked on the terminal screen that first embodiment of the invention provides;
Fig. 5 is the first operation chart of the typing target angle angle value that first embodiment of the invention provides;
Fig. 6 is the second operation chart of the typing target angle angle value that first embodiment of the invention provides;
Fig. 7 is the signal that calibration point and sensor set location are unlocked on the terminal screen that first embodiment of the invention provides Figure;
Fig. 8 is the schematic diagram between the human eye that first embodiment of the invention provides and unblock calibration point;
Fig. 9 is the schematic diagram that three-dimensional system of coordinate is established in terminal that first embodiment of the invention provides;
Figure 10 is the schematic flow sheet for the unlocking method that second embodiment of the invention provides;
Figure 11 is the structural representation for the terminal that third embodiment of the invention provides.
Embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
In follow-up description, the suffix using such as " module ", " part " or " unit " for representing element is only Be advantageous to the explanation of the present invention, itself there is no a specific meaning.Therefore, " module ", " part " or " unit " can mix Ground uses.
Terminal can be implemented in a variety of manners.For example, the terminal described in the present invention can include such as mobile phone, flat board Computer, notebook computer, palm PC, personal digital assistant (Personal Digital Assistant, PDA), portable Media player (Portable Media Player, PMP), guider, wearable device, Intelligent bracelet, pedometer etc. move Dynamic terminal, and the fixed terminal such as digital TV, desktop computer.
It will be illustrated in subsequent descriptions by taking mobile terminal as an example, it will be appreciated by those skilled in the art that except special Outside element for moving purpose, construction according to the embodiment of the present invention can also apply to the terminal of fixed type.
Referring to Fig. 1, its hardware architecture diagram for a kind of mobile terminal of each embodiment of the realization present invention, the shifting Dynamic terminal 100 can include:RF (Radio Frequency, radio frequency) unit 101, WiFi module 102, audio output unit 103rd, A/V (audio/video) input block 104, sensor 105, display unit 106, user input unit 107, interface unit 108th, the part such as memory 109, processor 110 and power supply 111.It will be understood by those skilled in the art that shown in Fig. 1 Mobile terminal structure does not form the restriction to mobile terminal, and mobile terminal can be included than illustrating more or less parts, Either combine some parts or different parts arrangement.
The all parts of mobile terminal are specifically introduced with reference to Fig. 1:
Radio frequency unit 101 can be used for receiving and sending messages or communication process in, the reception and transmission of signal, specifically, by base station Downlink information receive after, handled to processor 110;In addition, up data are sent to base station.Generally, radio frequency unit 101 Including but not limited to antenna, at least one amplifier, transceiver, coupler, low-noise amplifier, duplexer etc..In addition, penetrate Frequency unit 101 can also be communicated by radio communication with network and other equipment.Above-mentioned radio communication can use any communication Standard or agreement, including but not limited to GSM (Global System of Mobile communication, global system for mobile telecommunications System), GPRS (General Packet Radio Service, general packet radio service), CDMA2000 (Code Division Multiple Access 2000, CDMA 2000), WCDMA (Wideband Code Division Multiple Access, WCDMA), TD-SCDMA (Time Division-Synchronous Code Division Multiple Access, TD SDMA), FDD-LTE (Frequency Division Duplexing-Long Term Evolution, FDD Long Term Evolution) and TDD-LTE (Time Division Duplexing-Long Term Evolution, time division duplex Long Term Evolution) etc..
WiFi belongs to short range wireless transmission technology, and mobile terminal can help user to receive and dispatch electricity by WiFi module 102 Sub- mail, browse webpage and access streaming video etc., it has provided the user wireless broadband internet and accessed.Although Fig. 1 shows Go out WiFi module 102, but it is understood that, it is simultaneously not belonging to must be configured into for mobile terminal, completely can be according to need To be omitted in the essential scope for do not change invention.
Audio output unit 103 can be in call signal reception pattern, call mode, record mould in mobile terminal 100 When under the isotypes such as formula, speech recognition mode, broadcast reception mode, by radio frequency unit 101 or WiFi module 102 it is receiving or It is sound that the voice data stored in memory 109, which is converted into audio signal and exported,.Moreover, audio output unit 103 The audio output related to the specific function that mobile terminal 100 performs can also be provided (for example, call signal receives sound, disappeared Breath receives sound etc.).Audio output unit 103 can include loudspeaker, buzzer etc..
A/V input blocks 104 are used to receive audio or video signal.A/V input blocks 104 can include graphics processor (Graphics Processing Unit, GPU) 1041 and microphone 1042, graphics processor 1041 is in video acquisition mode Or the static images or the view data of video obtained in image capture mode by image capture apparatus (such as camera) are carried out Reason.Picture frame after processing may be displayed on display unit 106.Picture frame after the processing of graphics processor 1041 can be deposited Storage is transmitted in memory 109 (or other storage mediums) or via radio frequency unit 101 or WiFi module 102.Mike Wind 1042 can connect in telephone calling model, logging mode, speech recognition mode etc. operational mode via microphone 1042 Quiet down sound (voice data), and can be voice data by such acoustic processing.Audio (voice) data after processing can To be converted to the form output that mobile communication base station can be sent to via radio frequency unit 101 in the case of telephone calling model. Microphone 1042 can implement various types of noises and eliminate (or suppression) algorithm to eliminate (or suppression) in reception and send sound Caused noise or interference during frequency signal.
Mobile terminal 100 also includes at least one sensor 105, such as optical sensor, motion sensor and other biographies Sensor.Specifically, optical sensor includes ambient light sensor and proximity transducer, wherein, ambient light sensor can be according to environment The light and shade of light adjusts the brightness of display panel 1061, and proximity transducer can close when mobile terminal 100 is moved in one's ear Display panel 1061 and/or backlight.As one kind of motion sensor, accelerometer sensor can detect in all directions (general For three axles) size of acceleration, size and the direction of gravity are can detect that when static, the application available for identification mobile phone posture (such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, percussion) etc.; The fingerprint sensor that can also configure as mobile phone, pressure sensor, iris sensor, molecule sensor, gyroscope, barometer, The other sensors such as hygrometer, thermometer, infrared ray sensor, will not be repeated here.
Display unit 106 is used for the information for showing the information inputted by user or being supplied to user.Display unit 106 can wrap Display panel 1061 is included, liquid crystal display (Liquid Crystal Display, LCD), Organic Light Emitting Diode can be used Forms such as (Organic Light-Emitting Diode, OLED) configures display panel 1061.
User input unit 107 can be used for the numeral or character information for receiving input, and produce the use with mobile terminal The key signals input that family is set and function control is relevant.Specifically, user input unit 107 may include contact panel 1071 with And other input equipments 1072.Contact panel 1071, also referred to as touch-screen, collect touch operation of the user on or near it (for example user uses any suitable objects or annex such as finger, stylus on contact panel 1071 or in contact panel 1071 Neighbouring operation), and corresponding attachment means are driven according to formula set in advance.Contact panel 1071 may include touch detection Two parts of device and touch controller.Wherein, the touch orientation of touch detecting apparatus detection user, and detect touch operation band The signal come, transmits a signal to touch controller;Touch controller receives touch information from touch detecting apparatus, and by it Contact coordinate is converted into, then gives processor 110, and the order sent of reception processing device 110 and can be performed.In addition, can To realize contact panel 1071 using polytypes such as resistance-type, condenser type, infrared ray and surface acoustic waves.Except contact panel 1071, user input unit 107 can also include other input equipments 1072.Specifically, other input equipments 1072 can wrap Include but be not limited to physical keyboard, in function key (such as volume control button, switch key etc.), trace ball, mouse, action bars etc. One or more, do not limit herein specifically.
Further, contact panel 1071 can cover display panel 1061, detect thereon when contact panel 1071 or After neighbouring touch operation, processor 110 is sent to determine the type of touch event, is followed by subsequent processing device 110 according to touch thing The type of part provides corresponding visual output on display panel 1061.Although in Fig. 1, contact panel 1071 and display panel 1061 be the part independent as two to realize the input of mobile terminal and output function, but in certain embodiments, can Input and the output function of mobile terminal are realized so that contact panel 1071 and display panel 1061 is integrated, is not done herein specifically Limit.
Interface unit 108 is connected the interface that can pass through as at least one external device (ED) with mobile terminal 100.For example, External device (ED) can include wired or wireless head-band earphone port, external power source (or battery charger) port, wired or nothing Line FPDP, memory card port, the port for connecting the device with identification module, audio input/output (I/O) end Mouth, video i/o port, ear port etc..Interface unit 108 can be used for receiving the input from external device (ED) (for example, number It is believed that breath, electric power etc.) and the input received is transferred to one or more elements in mobile terminal 100 or can be with For transmitting data between mobile terminal 100 and external device (ED).
Memory 109 can be used for storage software program and various data.Memory 109 can mainly include storing program area And storage data field, wherein, storing program area can storage program area, application program (such as the sound needed at least one function Sound playing function, image player function etc.) etc.;Storage data field can store according to mobile phone use created data (such as Voice data, phone directory etc.) etc..In addition, memory 109 can include high-speed random access memory, can also include non-easy The property lost memory, a for example, at least disk memory, flush memory device or other volatile solid-state parts.
Processor 110 is the control centre of mobile terminal, utilizes each of various interfaces and the whole mobile terminal of connection Individual part, by running or performing the software program and/or module that are stored in memory 109, and call and be stored in storage Data in device 109, the various functions and processing data of mobile terminal are performed, so as to carry out integral monitoring to mobile terminal.Place Reason device 110 may include one or more processing units;Preferably, processor 110 can integrate application processor and modulatedemodulate is mediated Device is managed, wherein, application processor mainly handles operating system, user interface and application program etc., and modem processor is main Handle radio communication.It is understood that above-mentioned modem processor can not also be integrated into processor 110.
Mobile terminal 100 can also include the power supply 111 (such as battery) to all parts power supply, it is preferred that power supply 111 Can be logically contiguous by power-supply management system and processor 110, so as to realize management charging by power-supply management system, put The function such as electricity and power managed.
Although Fig. 1 is not shown, mobile terminal 100 can also will not be repeated here including bluetooth module etc..
For the ease of understanding the embodiment of the present invention, the communications network system being based on below to the mobile terminal of the present invention enters Row description.
Referring to Fig. 2, Fig. 2 is a kind of communications network system Organization Chart provided in an embodiment of the present invention, the communication network system Unite as the LTE system of universal mobile communications technology, the UE that the LTE system includes communicating connection successively (User Equipment, is used Family equipment) 201, E-UTRAN (Evolved UMTS Terrestrial Radio Access Network, evolved UMTS lands Ground wireless access network) 202, EPC (Evolved Packet Core, evolved packet-based core networks) 203 and operator IP operation 204。
Specifically, UE201 can be above-mentioned terminal 100, and here is omitted.
E-UTRAN202 includes eNodeB2021 and other eNodeB2022 etc..Wherein, eNodeB2021 can be by returning Journey (backhaul) (such as X2 interface) is connected with other eNodeB2022, and eNodeB2021 is connected to EPC203, ENodeB2021 can provide UE201 to EPC203 access.
EPC203 can include MME (Mobility Management Entity, mobility management entity) 2031, HSS (Home Subscriber Server, home subscriber server) 2032, other MME2033, SGW (Serving Gate Way, Gateway) 2034, PGW (PDN Gate Way, grouped data network gateway) 2035 and PCRF (Policy and Charging Rules Function, policy and rate functional entity) 2036 etc..Wherein, MME2031 be processing UE201 and The control node of signaling between EPC203, there is provided carrying and connection management.HSS2032 is all to manage for providing some registers Such as the function of attaching position register (not shown) etc, and preserve some and used about service features, data rate etc. The special information in family.All customer data can be transmitted by SGW2034, and PGW2035 can provide UE 201 IP Address is distributed and other functions, and PCRF2036 is strategy and the charging control strategic decision-making of business data flow and IP bearing resources Point, it selects and provided available strategy and charging control decision-making with charge execution function unit (not shown) for strategy.
IP operation 204 can include internet, Intranet, IMS (IP Multimedia Subsystem, IP multimedia System) or other IP operations etc..
Although above-mentioned be described by taking LTE system as an example, those skilled in the art it is to be understood that the present invention not only Suitable for LTE system, be readily applicable to other wireless communication systems, such as GSM, CDMA2000, WCDMA, TD-SCDMA with And following new network system etc., do not limit herein.
Based on above-mentioned mobile terminal hardware configuration and communications network system, each embodiment of the inventive method is proposed.
First embodiment
It is relatively complicated in order to solve the unlocking manner of existing electronic equipment, frequently entered using the entity key mapping on electronic equipment The problem of row unblock causes the entity key mapping service life shorter, the present embodiment provide a kind of new unlocking method, refer to Fig. 3 It is shown, including:
S301:Obtain the current eyes related information of user.
Eyes related information in the present embodiment should comprise at least two eyes of user relative to default solution in terminal The angle value of the target angle of calibration point is locked, wherein, target angle refers to stretch out from the position where two eyes of user And the angle being crossed to form with the default unblock calibration point.It should be noted that the default unblock calibration point in the present embodiment can To be any one location point in terminal, the location point can specially be referred in advance on a terminal screen to be unlocked Fixed location point, such as can be the center point on terminal screen, shown in Figure 4, Fig. 4 is that unblock calibration point 41 is The schematic diagram of mobile phone screen central point, the angle X that two eyes of user are formed with the unblock calibration point is target angle, should When the accurate location where the default unblock calibration point in understanding, the present embodiment can be set by developer, when User Defined can also so be supported.
S302:Determining that terminal meets default unlocking condition according to eyes related information and the angle value prestored When, the terminal is unlocked.
For step S302, the angle value of the target angle acquired can be compared with the angle value prestored Compared with if equal, it is determined that terminal meets default unlocking condition;Can in the precision of the angle value in some cases, prestored Can be very thin, for example be accurate to the second, if so for the ease of user unlock the angle value obtained and the angle value prestored it The absolute value of difference is less than or equal to default angle threshold, can also be defined as terminal and meet to preset unlocking condition, in the present embodiment Predetermined angle threshold value can flexibly be set according to the practice scene of electronic equipment by developer, also support user make by oneself Justice.
It should be noted that the angle value prestored in the present embodiment can be manually entered by user by touch-screen , for example, shown in Figure 5, user can input an angle value on the touch screen of terminal, after terminal is locked, User need to only adjust terminal makes the angle value of target angle match with the angle value inputted before to the distance between eyes, just Terminal can be unlocked;In addition, the angle value being stored in advance in terminal can also be by user by non-manual operation form typing, It is shown in Figure 6, such as, after terminal enters the interface of set angle angle value, user can adjust two eyes to unblock The distance between calibration point, at this point it is possible to the angle value in the display screen display now target angle of terminal, until user thinks The angle value wanted is shown on the display screen of terminal.
It should also be noted that the default unlocking condition in step S302 can include default unlocking screen condition and preset Any one in application program unlocking condition, therefore, when default unlocking condition includes default unlocking screen condition, above-mentioned step Being unlocked to terminal in rapid should just include being unlocked the screen of terminal;Include default application in default unlocking condition During program unlocking condition, being unlocked to terminal in above-mentioned steps should just include solving the application program in terminal Lock.
In order to be better understood from scheme provided by the invention, the process of the angle value to obtaining target angle is said below It is bright.
Terminal can obtain two eyes of user respectively the distance between with unblock calibration point, obtain the first distance and the Two distances, the angle value of target angle is then calculated with second distance according to the first distance.Specifically, setting can be passed through Sensor in terminal obtains two eyes distance with the sensor respectively, and the sensor in the present embodiment can be infrared Sensor or other there is the equipment of similar functions.Infrared sensor in the present embodiment can use specific wavelength Infrared ray positioning user's eyes position, so as to acquire the distance between eyes and the infrared sensor, if Position where default unblock calibration point is the position where infrared sensor, then the user that infrared sensor acquires is double Eye also be just above-mentioned the first distance and second distance with the distance between the infrared sensor, if default unlock is calibrated certainly Point is the other positions point on terminal screen, refers to Fig. 7, illustrated therein is accurate location where unblock calibration point 41 with it is red Position where outer sensor 42, at this point it is possible to obtain the first above-mentioned distance and second distance in the following way:Terminal can To measure the corresponding optical axis of the distance between user's eyes and infrared sensor d1 and d2, two eyes by infrared sensor The angle x1 and x2 of display screen plane are respectively relative to, while unblock calibration point and infrared ray sensor institute can also be acquired Location point between distance s, can try to achieve two eyes of user respectively with unlocking school using the cosine law of triangle The distance between on schedule, it is assumed that the first distance is m1, second distance m2, then
In the present embodiment, after the first distance and second distance has been obtained, want to try to achieve two eyes relative to unblock The angle value of the target angle of calibration point can use a variety of methods.Shown in Figure 8, the Q points in Fig. 8 are calibrated for unblock Position where point, A and B is respectively the position of human eye, so target angle is also ∠ AQB, and QA is equal to m1, and QB is equal to M2, so wanting to try to achieve ∠ AQB, AB distance or ∠ QAB or ∠ QBA size only need to be acquired, then again ∠ AQB can be tried to achieve using the cosine law of triangle.
Therefore optical axis corresponding to any one eyes can be measured by infrared sensor relative to user in the present embodiment The angle value of target angle can be calculated in the angle of face plane, can additionally obtain between two eyes of user away from From thus calculating the angle value of target angle.
In certain embodiments, can prestore faceform and the mapping table of eyes distance in terminal system, because This, when detecting face, can use face recognition technology extract the facial feature data of user, in facial feature data Width, length of user's face etc. can be included, be then based on the face mould that the facial feature data prestores from terminal The faceform most matched with user's face is matched in type, is then obtained according to faceform and the mapping table of eyes distance The distance between user's eyes are obtained, can be counted based on eyes distance and the first foregoing distance and second distance terminal Calculation obtains the angle value of target angle.
In other embodiment, the distance between user's eyes can also be obtained in the following manner:For example, can be with Using the center of display screen as origin, for XY coordinate planes parallel to display screen, three-dimensional coordinate is established in the direction for pointing to human eye for Z axis System, it is shown in Figure 9, it is necessary to explanation, can also be in other positions such as the display screen lower left corner, upper left corner in specific embodiment It is set to origin and establishes space coordinates, Face datection can be carried out to user by face recognition technology first, be examined according to face The facial feature data and coordinate system measured obtains the position of people's eyes, and two eyes of user are as illustrated, according to setting The data and coordinate system of camera shooting photo in terminal obtain two eyes in coordinate system X/Y plane coordinate system respectively Coordinate, it is assumed that its corresponding coordinate points be respectively (x1, y1) and (x2, y2), in general, user is right in practice Terminal typically can be by face parallel to terminal when being unlocked operation display screen, it is possible to by between the two coordinate points Distance is as the distance between two eyes of user, namely now the distance between two eyes of user are
In addition, in order to prevent user's terminal during use from obtaining the eyes related information of user always, electricity is caused The loss of amount, also include before the eyes related information of user is obtained:Judge whether the sight of user falls into preset range, such as It is, then obtains the eyes related information of user.Preset range in the present embodiment can arbitrarily be set by developer, in addition, The sight of user can be detected using existing Eye-controlling focus algorithm in the present embodiment, repeated no more here.
User when being unlocked to terminal, can according to before storage in the terminal angle value adjustment terminal and eyes it Between distance so as to Indirect method target angle size, among this process, in order to prompt user, so that user Know that the angle value of current goal angle so as to which terminal be moved along correct direction, can also press from both sides the target currently acquired The angle value at angle is shown on the screen of terminal.So under the inconvenient situation of user's both hands, can also be provided by the present invention Scheme terminal is unlocked.
Certainly, in some other embodiment, in order to further lift the security of terminal, eyes related information can be with Including eye recognition information, the eye recognition information in the present embodiment can include eyeprint information, iris information and eyeball letter At least one of breath.So terminal obtain target angle angle value while, or obtain target angle angle The eye recognition information of user can also be gathered before the step for value by camera.Know in eyes related information comprising eyes In the case of other information, determine that terminal meets default release bar according to the eyes related information and the angle value prestored Part can includes:The eye recognition information currently collected is matched with the eye recognition information prestored, when When the angle value for the target angle that the match is successful and currently acquires is equal to the angle value prestored, it is pre- to determine that terminal meets If unlocking condition;Or the eye recognition information that ought currently collect and the eye recognition information matches prestored into Work(, and the absolute value of the difference of the angle value of the target angle currently acquired and the angle value prestored is less than or equal to preset During angle threshold, determine that terminal currently meets default unlocking condition.
Here the eye recognition information and the angle value of target angle that prestore are illustrated.It should be appreciated that Include the embodiment of eye recognition information for eyes related information, user can control terminal to enter after latching mode is opened Enter to set the interface of unlocking pin, gather the eye recognition information and current goal of user by terminal afterwards into the interface The angle value of angle, and the eye recognition information and angle value that acquire are preserved and wanted as subsequent user to end Hold the standard of comparison being unlocked.It should be appreciated that for such a situation, except needing the eye recognition information to user to enter Row matching, it is also necessary to matched the angle value of the target angle acquired, even if the eye recognition information of user is by him People steals, due to other side do not know the angle value for the target angle being set in advance in terminal be it is how many, equally can not be to end End is unlocked, so such a scheme further improves the security of terminal.
The unlocking method that the present embodiment provides, by obtaining two eyes of user relative to default unblock calibration point in terminal Target angle angle value, and the terminal is judged according to the eyes related information acquired and the angle value prestored Whether satisfaction presets unlocking condition, in this way, then the terminal is unlocked, user is without manually for currently existing scheme Operation is carried out to terminal can realize unblock, therefore the entity key mapping in terminal would not be had an impact, and ensure terminal peace While full property, it will damage and be preferably minimized to caused by end entity key mapping, and also easily facilitate user's operation, improve user's body The satisfaction tested.
Second embodiment
Mainly using terminal as mobile phone terminal description in above-described embodiment one, it should be appreciated that institute of the present invention The terminal of finger can be any terminal, for example can also be intelligent watch etc., so provided by the invention in order to be better understood from Scheme, the present embodiment provide a kind of more specifical unlocking method, and wherein the present embodiment is carried out so that terminal is intelligent watch as an example Illustrate, shown in Figure 10, the unlocking method that the present embodiment provides includes:
S1001:Gather the eye recognition information of user.
The eye recognition information of user can be gathered by the camera being arranged on intelligent watch, for example can be eyeprint At least one of information, iris information and eyeball information.
S1002:Judge whether the eye recognition information matches with the eye recognition information prestored, in this way, go to S1003, otherwise, go to S1007.
The eye recognition information prestored in step S1002 can be by the advance typing of user, in the intelligent watch When being not locked out, user can control intelligent watch to enter the interface for setting eye recognition information, so as to the eyes of typing itself Identification information.
S1003:Two eyes for obtaining user unlock the distance between calibration point with default respectively.
Preferably, the default calibration point in the present embodiment can be the location point where infrared sensor, so now may be used To measure the distance between two eyes and infrared sensor of user by the infrared sensor with specific infrared wavelength.
S1004:Angle of two eyes of user relative to the target angle of default unblock calibration point is calculated according to the distance Value.
The distance between two eyes of user can be calculated based on image recognition technology, due to being surveyed in step S1003 again Two eyes have been measured respectively the distance between with infrared sensor, so can now utilize the cosine law meter of triangle Calculate angle value of two eyes of user relative to the target angle of infrared sensor.
S1005:Judge whether the angle value of the target angle matches with the angle value prestored, in this way, go to S1006, otherwise, go to S1007.
The Input Process of the angle value prestored in step S1005 and the process class of above-mentioned typing eye recognition information Seemingly, repeat no more here.
S1006:Terminal is unlocked.
S1007:Unblock failed message notice is shown on a terminal screen.
In certain embodiments, in order to further lift the security of intelligent watch, lost when to the continuous unblock of intelligent watch When the number lost reaches preset times threshold value, can be sent to another electronic equipment for being bound with the intelligent watch alert notice or Person's localization message.
The unlocking method that the present embodiment provides, it is relative by the eye recognition information and two eyes of user that obtain user Angle value in the target angle that unblock calibration point is preset in terminal, and according to the eye recognition information and target acquired The angle value of angle judges whether the intelligent watch meets default unlocking condition, in this way, then the intelligent watch is unlocked, by In needing with the angle value of target angle all to be matched the eye recognition information currently acquired, even if the eyes of user Identification information is stolen by others, due to other side do not know the angle value for the target angle being set in advance in terminal be it is how many, Terminal can not be equally unlocked, further improve the security of terminal, the unblock side provided in addition by the present embodiment Method, user can realize unblock without carrying out operation to intelligent watch manually, therefore would not be to the entity key on intelligent watch Position has an impact, and while intelligent watch security is ensured, will damage and be preferably minimized to caused by intelligent watch entity key mapping, Also user's operation is easily facilitated, improves the satisfaction of Consumer's Experience.
3rd embodiment:
The present embodiment provides a kind of terminal, shown in Figure 11, including processor 1101, memory 1102 and communication are total Line 1103;Wherein, communication bus 1103 is used to realize the connection communication between processor 1101 and memory 1102;Memory 1102 are used to store one or more programs, and processor 1101 is used to perform one or more journey stored in memory 1102 Sequence, to realize as described above in each embodiment the step of unlocking method.
The present embodiment also provides a kind of computer-readable recording medium, computer-readable recording medium storage have one or Multiple programs, one or more program can be solved by one or more computing device with realizing in each embodiment as described above The step of locking method.
It should be noted that herein, term " comprising ", "comprising" or its any other variant are intended to non-row His property includes, so that process, method, article or device including a series of elements not only include those key elements, and And also include the other element being not expressly set out, or also include for this process, method, article or device institute inherently Key element.In the absence of more restrictions, the key element limited by sentence "including a ...", it is not excluded that including this Other identical element also be present in the process of key element, method, article or device.
The embodiments of the present invention are for illustration only, do not represent the quality of embodiment.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can add the mode of required general hardware platform to realize by software, naturally it is also possible to by hardware, but in many cases The former is more preferably embodiment.Based on such understanding, technical scheme is substantially done to prior art in other words Going out the part of contribution can be embodied in the form of software product, and the computer software product is stored in a storage medium In (such as ROM/RAM, magnetic disc, CD), including some instructions to cause a station terminal (can be mobile phone, computer, service Device, air conditioner, or network equipment etc.) perform method described in each embodiment of the present invention.
Embodiments of the invention are described above in conjunction with accompanying drawing, but the invention is not limited in above-mentioned specific Embodiment, above-mentioned embodiment is only schematical, rather than restricted, one of ordinary skill in the art Under the enlightenment of the present invention, in the case of present inventive concept and scope of the claimed protection is not departed from, it can also make a lot Form, these are belonged within the protection of the present invention.

Claims (10)

  1. A kind of 1. unlocking method, it is characterised in that including:
    Obtain the current eyes related information of user, the eyes related information include two eyes of the user relative to The angle value of the target angle of unblock calibration point is preset in the terminal, the target angle is respectively from two eyes institute Position stretch out and with the default angle that is crossed to form of unblock calibration point;
    When determining that the terminal meets default unlocking condition according to the eyes related information and the angle value prestored, The terminal is unlocked.
  2. 2. unlocking method as claimed in claim 1, it is characterised in that described to deposit according to the eyes related information and in advance The angle value of storage determines that the terminal meets that default unlocking condition includes:
    When the angle value of the acquisition is equal to the angle value prestored, determine that the terminal meets default unlocking condition;
    Or,
    When the angle value of the acquisition and the absolute value of difference of the angle value prestored are less than or equal to default angle threshold, Determine that the terminal meets default unlocking condition.
  3. 3. unlocking method as claimed in claim 1, it is characterised in that described to obtain the current eyes related information bag of user Include:
    Two eyes of the user are obtained respectively the distance between with described default unblock calibration point, obtain the first distance and the Two distances;
    The angle value of the target angle is calculated with the second distance according to first distance.
  4. 4. unlocking method as claimed in claim 3, it is characterised in that described according to first distance and the second distance Calculating the angle value of the target angle includes:
    Gather the facial feature data of the user, and based on the facial feature data obtain the user two eyes it Between the 3rd distance;
    The angle value of the target angle is calculated according to the described first distance, the second distance and the 3rd distance.
  5. 5. unlocking method as claimed in claim 3, it is characterised in that the default unblock calibration point is to be arranged on the terminal On infrared sensor where location point;
    Two eyes for obtaining the user include with described default the distance between calibration point that unlocks respectively:
    By the infrared sensor that is arranged in the terminal obtain two eyes of the user respectively with the infrared sensing The distance between location point where device.
  6. 6. unlocking method as claimed in claim 1, it is characterised in that the default unlocking condition includes default unlocking screen bar Part, it is described the terminal is unlocked including:The screen of the terminal is unlocked;
    Or,
    The default unlocking condition includes default application program unlocking condition, it is described the terminal is unlocked including:To institute The application program stated in terminal is unlocked.
  7. 7. unlocking method as claimed in claim 1, it is characterised in that it is described the terminal is unlocked before also wrap Include:The angle value of the target angle currently acquired is included on the screen of the terminal.
  8. 8. the unlocking method as described in claim any one of 3-7, it is characterised in that the eyes related information also includes eyes Identification information, the eye recognition information include eyeprint information, at least one of iris information and eyeball information;
    It is described to determine that the terminal meets default unlocking condition according to the eyes related information and the angle value prestored Including:
    In the eye recognition information and the eye recognition information match prestored, and the angle value of the acquisition is equal in advance During the angle value first stored, determine that the terminal meets default unlocking condition;
    Or,
    In the eye recognition information and the eye recognition information match that prestores, and the angle value of the acquisition with advance When the absolute value of the difference of the angle value of storage is less than or equal to default angle threshold, determine that the terminal meets default release bar Part.
  9. 9. a kind of terminal, it is characterised in that the terminal includes processor, memory and communication bus;
    The communication bus is used to realize the connection communication between the processor and the memory;
    The memory is used to store one or more programs, and the processor is used to perform one stored in the memory Or multiple programs, the step of to realize unlocking method as any one of claim 1-8.
  10. A kind of 10. computer-readable recording medium, it is characterised in that the computer-readable recording medium storage have one or Multiple programs, one or more of programs can be by one or more computing devices, to realize as in claim 1-8 The step of unlocking method described in any one.
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 true CN107885987A (en) 2018-04-06
CN107885987B 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)

Cited By (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
WO2020048535A1 (en) * 2018-09-08 2020-03-12 太若科技(北京)有限公司 Method and apparatus for unlocking head-mounted display device
CN113221699A (en) * 2021-04-30 2021-08-06 杭州海康威视数字技术股份有限公司 Method and device for improving identification safety and identification equipment

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

Cited By (5)

* 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
WO2020048535A1 (en) * 2018-09-08 2020-03-12 太若科技(北京)有限公司 Method and apparatus for unlocking head-mounted display device
US11454811B2 (en) 2018-09-08 2022-09-27 Matrixed Reality Technology Co., Ltd. Method and apparatus for unlocking head-mounted display device
CN113221699A (en) * 2021-04-30 2021-08-06 杭州海康威视数字技术股份有限公司 Method and device for improving identification safety and identification equipment
CN113221699B (en) * 2021-04-30 2023-09-08 杭州海康威视数字技术股份有限公司 Method, device and identification equipment for improving identification safety

Also Published As

Publication number Publication date
CN107885987B (en) 2020-11-10

Similar Documents

Publication Publication Date Title
CN106961706A (en) Method, mobile terminal and the computer-readable recording medium of communication pattern switching
CN108052302A (en) Association display methods, terminal and the computer readable storage medium of double-sided screen
CN107613489A (en) A kind of wireless charging method, hotspot equipment, terminal and storage medium
CN106953684A (en) A kind of method for searching star, mobile terminal and computer-readable recording medium
CN108345426A (en) A kind of terminal control method, terminal and computer readable storage medium
CN108197441A (en) Flexible screen terminal and its solution lock control method, computer readable storage medium
CN107862196A (en) Fingerprint verification method, mobile terminal and computer-readable recording medium
CN108062489A (en) A kind of glance prevention method, terminal and computer readable storage medium
CN107844231A (en) A kind of interface display method, mobile terminal and computer-readable recording medium
CN107948430A (en) A kind of display control method, mobile terminal and computer-readable recording medium
CN108172161A (en) Display methods, mobile terminal and computer readable storage medium based on flexible screen
CN107272906A (en) Using many account display control methods and mobile terminal
CN108040170A (en) A kind of unlocked by fingerprint method, terminal device and computer-readable storage medium
CN109358831A (en) A kind of display control method, mobile terminal and computer readable storage medium
CN108376239A (en) A kind of face identification method, mobile terminal and storage medium
CN107800879A (en) A kind of audio regulation method, terminal and computer-readable recording medium
CN107608613A (en) A kind of method and terminal for preventing maloperation
CN107896287A (en) Phone number risk monitoring method and mobile terminal
CN107276991A (en) Load method, equipment and the computer-readable recording medium of Web page
CN107885987A (en) A kind of unlocking method, terminal and computer-readable recording medium
CN108540458A (en) A kind of method of client checks, equipment, server and storage medium
CN107613206A (en) A kind of image processing method, mobile terminal and computer-readable recording medium
CN110052024A (en) Method of adjustment, adjustment device, mobile terminal and the storage medium of game vibration
CN108037880A (en) A kind of Curved screen control method, terminal and computer-readable recording medium
CN107483823A (en) A kind of image processing method and 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
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