CN108566485A - A kind of unlocking method, terminal and computer readable storage medium - Google Patents

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

Info

Publication number
CN108566485A
CN108566485A CN201810235591.9A CN201810235591A CN108566485A CN 108566485 A CN108566485 A CN 108566485A CN 201810235591 A CN201810235591 A CN 201810235591A CN 108566485 A CN108566485 A CN 108566485A
Authority
CN
China
Prior art keywords
picture
fingerprint
fingerprint image
stored
shooting
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.)
Pending
Application number
CN201810235591.9A
Other languages
Chinese (zh)
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.)
Nubia 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 CN201810235591.9A priority Critical patent/CN108566485A/en
Publication of CN108566485A publication Critical patent/CN108566485A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/66Substation equipment, e.g. for use by subscribers with means for preventing unauthorised or fraudulent calling
    • H04M1/667Preventing unauthorised calls from a telephone set
    • H04M1/67Preventing unauthorised calls from a telephone set by electronic means
    • 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
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/70Arrangements for image or video recognition or understanding using pattern recognition or machine learning
    • G06V10/74Image or video pattern matching; Proximity measures in feature spaces
    • G06V10/75Organisation of the matching processes, e.g. simultaneous or sequential comparisons of image or video features; Coarse-fine approaches, e.g. multi-scale approaches; using context analysis; Selection of dictionaries
    • G06V10/757Matching configurations of points or features
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V40/00Recognition of biometric, human-related or animal-related patterns in image or video data
    • G06V40/10Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
    • G06V40/12Fingerprints or palmprints
    • G06V40/13Sensors therefor
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V40/00Recognition of biometric, human-related or animal-related patterns in image or video data
    • G06V40/10Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
    • G06V40/12Fingerprints or palmprints
    • G06V40/1347Preprocessing; Feature extraction
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V40/00Recognition of biometric, human-related or animal-related patterns in image or video data
    • G06V40/10Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
    • G06V40/12Fingerprints or palmprints
    • G06V40/1365Matching; Classification
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72454User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72463User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions to restrict the functionality of the device

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • General Physics & Mathematics (AREA)
  • Multimedia (AREA)
  • Computer Security & Cryptography (AREA)
  • Signal Processing (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Software Systems (AREA)
  • Health & Medical Sciences (AREA)
  • Computing Systems (AREA)
  • Databases & Information Systems (AREA)
  • Evolutionary Computation (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Artificial Intelligence (AREA)
  • General Engineering & Computer Science (AREA)
  • Environmental & Geological Engineering (AREA)
  • Computer Hardware Design (AREA)
  • Telephone Function (AREA)

Abstract

The embodiment of the invention discloses a kind of unlocking methods, before unlock shows screen, obtain shooting picture according to operational order, the shooting picture is the fingerprint picture of shooting, and the shooting picture includes an at least fingerprint picture;The shooting picture is matched with pre-stored fingerprint image;When an at least fingerprint picture is with pre-stored fingerprint image successful match in the shooting picture, the display screen is unlocked.The embodiment of the invention also discloses a kind of terminal and computer readable storage mediums, and terminal can be unlocked by fingerprint recognition, convenient for users, improve user experience.

Description

A kind of unlocking method, terminal and computer readable storage medium
Technical field
The present invention relates to a kind of technical field of image processing more particularly to unlocking method, terminal and computer-readable storages Medium.
Background technology
With the continuous development of internet and electronic technology, the application of various mobile terminals in people's lives is got over Come it is more extensive, for example, shielding terminal device comprehensively.Comprehensive screen mobile phone is needed to enhance screen accounting, in this way, it is necessary to reduce mobile phone Occupancy of the preposition function to screen is gone up, for example, the Home key of preposition fingerprint recognition.And the unlocked by fingerprint of mobile phone is in the prior art It is a kind of very convenient, quick, and the unlocking manner of energy effective protection privacy of user.Therefore, how comprehensive screen mobile phone is realized Fingerprint recognition is a urgent problem to be solved.
Invention content
In order to solve the above technical problems, a kind of unlocking method of offer of the embodiment of the present invention, terminal and computer-readable storage Medium, may be implemented fingerprint recognition and by unlocked by fingerprint terminal for comprehensive screen mobile phone, convenient for users to use, improve User experience.
The technical proposal of the invention is realized in this way:
On the one hand, the embodiment of the present invention provides a kind of unlocking method, and this method may include:
Before unlock shows screen, shooting picture is obtained according to operational order, the shooting picture is the fingerprint image of shooting Piece, the shooting picture include an at least fingerprint picture;
The shooting picture is matched with pre-stored fingerprint image;
When an at least fingerprint picture is with pre-stored fingerprint image successful match in the shooting picture, described in unlock Show screen.
Further, described to match the shooting picture with pre-stored fingerprint image, including:
The gray value of the location information of each pixel and pixel corresponding with the location information in the first picture is obtained, First picture is any one Zhang Zhiwen pictures in the shooting picture;
By in the gray value of the pixel of first position information in first picture and the pre-stored fingerprint image the The gray value of the pixel of two location informations is matched, and the first position information is identical as the second position information, described First position information is the location information of any one pixel in first picture, and the second position information is described prestore The location information of any one pixel in the fingerprint image of storage;
Be more than when the ratio value of the pixel of same grayscale value in first picture and the pre-stored fingerprint image or When person is equal to the first preset value, first picture and pre-stored fingerprint image successful match are determined;
When the ratio value of the pixel of same grayscale value in first picture and the pre-stored fingerprint image is less than the When one preset value, determining first picture, it fails to match with pre-stored fingerprint image.
Further, described to match the shooting picture with pre-stored fingerprint image, including:
The fingerprint feature information of second picture is obtained, the second picture is any one fingerprint image in the shooting picture Piece, the fingerprint feature information include at least:The line shape of fingerprint, line number corresponding with the line shape of the fingerprint, the core of fingerprint Point;
The fingerprint feature information of the second picture is matched with the fingerprint feature information of pre-stored fingerprint image;
When the fingerprint feature information of the second picture is identical as the fingerprint feature information of pre-stored fingerprint image Ratio when being more than or equal to the second preset value, determine the second picture and pre-stored fingerprint image successful match;
When the fingerprint feature information of the second picture is identical as the fingerprint feature information of pre-stored fingerprint image Ratio when being less than the second preset value, determining the second picture, it fails to match with pre-stored fingerprint image.
Further, it is described by it is described shooting picture be pre-stored fingerprint image matched after, including:
When it fails to match for each Zhang Zhiwen pictures in the shooting picture and the fingerprint image being pre-stored, display unlock is lost The information lost.
Further, described that shooting picture is obtained according to operational order, including:
Operational order is received, camera is opened according to the operational order, shooting fingerprint by the camera obtains institute State shooting picture.
On the one hand, the embodiment of the present invention also provides a kind of terminal, and the terminal includes:Processor, memory and communication are total Line;
The communication bus is for realizing the connection communication between processor and memory;
The processor is for executing the unlocking program stored in memory, to realize following steps:
Before unlock shows screen, shooting picture is obtained according to operational order, the shooting picture is the fingerprint image of shooting Piece, the shooting picture include an at least fingerprint picture;
The shooting picture is matched with pre-stored fingerprint image;
When an at least fingerprint picture is with pre-stored fingerprint image successful match in the shooting picture, described in unlock Show screen.
Further, the processor is for executing the unlocking program stored in memory, to realize following steps:
The gray value of the location information of each pixel and pixel corresponding with the location information in the first picture is obtained, First picture is any one Zhang Zhiwen pictures in the shooting picture;
By in the gray value of the pixel of first position information in first picture and the pre-stored fingerprint image the The gray value of the pixel of two location informations is matched, and the first position information is identical as the second position information, described First position information is the location information of any one pixel in first picture, and the second position information is described prestore The location information of any one pixel in the fingerprint image of storage;
Be more than when the ratio value of the pixel of same grayscale value in first picture and the pre-stored fingerprint image or When person is equal to the first preset value, first picture and pre-stored fingerprint image successful match are determined;
When the ratio value of the pixel of same grayscale value in first picture and the pre-stored fingerprint image is less than the When one preset value, determining first picture, it fails to match with pre-stored fingerprint image.
Further, the processor is for executing the unlocking program stored in memory, to realize following steps:
The fingerprint feature information of second picture is obtained, the second picture is any one fingerprint image in the shooting picture Piece, the fingerprint feature information include at least:The line shape of fingerprint, line number corresponding with the line shape of the fingerprint, the core of fingerprint Point;
The fingerprint feature information of the second picture is matched with the fingerprint feature information of pre-stored fingerprint image;
When the fingerprint feature information of the second picture is identical as the fingerprint feature information of pre-stored fingerprint image Ratio when being more than or equal to the second preset value, determine the second picture and pre-stored fingerprint image successful match;
When the fingerprint feature information of the second picture is identical as the fingerprint feature information of pre-stored fingerprint image Ratio when being less than the second preset value, determining the second picture, it fails to match with pre-stored fingerprint image.
Further, it is described by it is described shooting picture be pre-stored fingerprint image matched after, the processing Device is additionally operable to execute the unlocking program stored in memory, to realize following steps:
When it fails to match for each Zhang Zhiwen pictures in the shooting picture and the fingerprint image being pre-stored, display unlock is lost The information lost.
Further, the processor is for executing the unlocking program stored in memory, to realize following steps:
Operational order is received, camera is opened according to the operational order, shooting fingerprint by the camera obtains institute State shooting picture.
On the one hand, the embodiment of the present invention provides a kind of computer readable storage medium, the computer readable storage medium It is stored with one or more program, one or more of programs can be executed by one or more processor, to realize The step of any one of them method as above.
An embodiment of the present invention provides a kind of unlocking method, terminal and computer readable storage mediums, in unlock display screen Before curtain, shooting picture is obtained according to operational order, the shooting picture is the fingerprint picture of shooting, and the shooting picture includes extremely A few fingerprint picture;The shooting picture is matched with pre-stored fingerprint image;When in the shooting picture at least When one fingerprint picture is with pre-stored fingerprint image successful match, unlock shows screen.Unlock provided in an embodiment of the present invention Method, terminal and computer readable storage medium, by shooting fingerprint picture, and by the fingerprint picture of shooting and the fingerprint that prestores Picture carries out matching and carries out fingerprint recognition, and fingerprint recognition may be implemented simultaneously hence for comprehensive screen mobile phone of not fingerprint recognition key It is convenient for users to use by unlocked by fingerprint terminal, improve user experience.
Description of the drawings
The hardware architecture diagram of Fig. 1 optional mobile terminal of each embodiment to realize the present invention;
Fig. 2 is the wireless communication system schematic diagram of mobile terminal as shown in Figure 1;
Fig. 3 is unlocking method flow diagram one provided in an embodiment of the present invention;
Fig. 4 is fingerprint picture shooting exemplary plot provided in an embodiment of the present invention;
Fig. 5 is unlock failure information display example figure provided in an embodiment of the present invention;
Fig. 6 is unlocking method flow diagram two provided in an embodiment of the present invention;
Fig. 7 is that fingerprint picture provided in an embodiment of the present invention extracts exemplary plot;
Fig. 8 is unlocking method flow diagram three provided in an embodiment of the present invention;
Fig. 9 is terminal structure schematic diagram provided in an embodiment of the present invention.
Specific implementation mode
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 subsequent description, using for indicating that the suffix of such as " module ", " component " or " unit " of element is only The explanation for being conducive to the present invention, itself does not have a specific meaning.Therefore, " module ", " component " or " unit " can mix Ground uses.
Terminal can be implemented in a variety of manners.For example, terminal described in the present invention may include such as mobile phone, tablet Computer, laptop, palm PC, personal digital assistant (Personal Digital Assistant, PDA), portable The shiftings such as media player (Portable Media Player, PMP), navigation device, wearable device, Intelligent bracelet, pedometer The fixed terminals such as dynamic terminal, and number TV, desktop computer.
It will be illustrated by taking mobile terminal as an example in subsequent descriptions, it will be appreciated by those skilled in the art that in addition to special Except 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, a kind of hardware architecture diagram of its mobile terminal of each embodiment to realize the present invention, the shifting Moving terminal 100 may include:RF (Radio Frequency, 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, the components 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 constitute the restriction to mobile terminal, and mobile terminal may include components more more or fewer than diagram, Either combine certain components or different components 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, signal sends and receivees, specifically, by base station Downlink information receive after, to processor 110 handle;In addition, the data of uplink are sent to base station.In general, radio frequency unit 101 Including but not limited to antenna, at least one amplifier, transceiver, coupler, low-noise amplifier, duplexer etc..In addition, penetrating Frequency unit 101 can also be communicated with network and other equipment by radio communication.Above-mentioned wireless 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, wideband code division multiple access), TD-SCDMA (Time Division-Synchronous Code Division Multiple Access, TD SDMA), FDD-LTE (Frequency Division Duplexing-Long Term Evolution, frequency division duplex 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, browsing webpage and access streaming video etc., it has provided wireless broadband internet to the user and has accessed.Although Fig. 1 shows Go out WiFi module 102, but it is understood that, and it is not belonging to must be configured into for mobile terminal, it completely can be according to need It to be omitted in the range for the essence for not changing 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, it is that radio frequency unit 101 or WiFi module 102 are received or The audio data stored in memory 109 is converted into audio signal and exports to be sound.Moreover, audio output unit 103 The relevant audio output of specific function executed with mobile terminal 100 can also be provided (for example, call signal receives sound, disappears Breath receives sound etc.).Audio output unit 103 may include loud speaker, buzzer etc..
A/V input units 104 are for receiving audio or video signal.A/V input units 104 may include graphics processor (Graphics Processing Unit, GPU) 1041 and microphone 1042, graphics processor 1041 is in video acquisition mode Or the image data of the static images or video obtained by image capture apparatus (such as camera) in image capture mode carries out Reason.Treated, and picture frame may be displayed on display unit 106.Through graphics processor 1041, treated that picture frame can be deposited Storage is sent 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 (audio data), and can be audio data by such acoustic processing.Audio that treated (voice) data can To be converted to the format output that can be sent to mobile communication base station via radio frequency unit 101 in the case of telephone calling model. Microphone 1042 can implement various types of noises elimination (or inhibition) algorithms and send and receive sound to eliminate (or inhibition) The noise generated during frequency signal or interference.
Mobile terminal 100 further 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 sensor, wherein ambient light sensor can be according to environment The light and shade of light adjusts the brightness of display panel 1061, and proximity sensor can close when mobile terminal 100 is moved in one's ear Display panel 1061 and/or backlight.As a kind of motion sensor, accelerometer sensor can detect in all directions (general For three axis) size of acceleration, size and the direction of gravity are can detect that when static, can be used to identify the application of 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 sensor, details are not described herein.
Display unit 106 is for showing information input by user or being supplied to the information of user.Display unit 106 can wrap Display panel 1061 is included, liquid crystal display (Liquid Crystal Display, LCD), Organic Light Emitting Diode may be used Forms such as (Organic Light-Emitting Diode, OLED) configure display panel 1061.
User input unit 107 can be used for receiving the number or character information of input, and generate the use with mobile terminal Family is arranged and the related key signals input of function control.Specifically, user input unit 107 may include touch panel 1071 with And other input equipments 1072.Touch panel 1071, also referred to as touch screen collect user on it or neighbouring touch operation (for example user uses any suitable objects or attachment such as finger, stylus on touch panel 1071 or in touch panel 1071 Neighbouring operation), and corresponding attachment device is driven according to preset formula.Touch 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 It is converted into contact coordinate, then gives processor 110, and order that processor 110 is sent can be received and executed.In addition, can To realize touch panel 1071 using multiple types such as resistance-type, condenser type, infrared ray and surface acoustic waves.In addition to touch panel 1071, user input unit 107 can also include other input equipments 1072.Specifically, other input equipments 1072 can wrap It includes but is not limited in physical keyboard, function key (such as volume control button, switch key etc.), trace ball, mouse, operating lever etc. It is one or more, do not limit herein specifically.
Further, touch panel 1071 can cover display panel 1061, when touch panel 1071 detect on it 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, touch panel 1071 and display panel 1061 be to realize the function that outputs and inputs of mobile terminal as two independent components, but in certain embodiments, can The function that outputs and inputs of mobile terminal is realized so that touch panel 1071 and display panel 1061 is integrated, is not done herein specifically It limits.
Interface unit 108 be used as at least one external device (ED) connect with mobile terminal 100 can by interface.For example, External device (ED) may include wired or wireless headphone port, external power supply (or battery charger) port, wired or nothing Line data port, 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 the transmission data between mobile terminal 100 and external device (ED).
Memory 109 can be used for storing software program and various data.Memory 109 can include mainly 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 Audio data, phone directory etc.) etc..In addition, memory 109 may 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 entire mobile terminal of connection A part by running or execute the software program and/or module that are stored in memory 109, and calls and is stored in storage Data in device 109 execute the various functions and processing data of mobile terminal, 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 Manage device, wherein the main processing operation system of application processor, user interface and application program etc., modem processor is main Processing wireless 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) powered to all parts, it is preferred that power supply 111 Can be logically contiguous by power-supply management system and processor 110, to realize management charging by power-supply management system, put The functions such as electricity and power managed.
Although Fig. 1 is not shown, mobile terminal 100 can also be including bluetooth module etc., and details are not described herein.
Embodiment to facilitate the understanding of the present invention, below to the communications network system that is based on of mobile terminal of the present invention into 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 System is the LTE system of universal mobile communications technology, which includes communicating UE (User Equipment, the use of connection successively Family equipment) (the lands Evolved UMTS Terrestrial Radio Access Network, evolved UMTS 201, E-UTRAN 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 details are not described herein again.
E-UTRAN202 includes eNodeB2021 and other eNodeB2022 etc..Wherein, eNodeB2021 can be by returning Journey (backhaul) (such as X2 interface) is connect with other eNodeB2022, and eNodeB2021 is connected to EPC203, ENodeB2021 can provide the access of UE201 to EPC203.
EPC203 may 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, provides carrying and connection management between EPC203.HSS2032 is all to manage for providing some registers Such as the function of home location register (not shown) etc, and some are preserved in relation to use such as service features, data rates The dedicated information in family.All customer data can be sent by SGW2034, and PGW2035 can provide the IP of UE 201 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 provides available strategy and charging control decision with charge execution function unit (not shown) for strategy.
IP operation 204 may 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 the following new network system etc., it does not limit herein.
Based on above-mentioned mobile terminal hardware configuration and communications network system, each embodiment of the method for the present invention is proposed.
It should be noted that term " first ", " second " etc. in description and claims of this specification and attached drawing It is for distinguishing similar object, without being used to describe specific sequence or precedence.
The embodiment of the present invention provides a kind of unlocking method, is applied to terminal, and the function that this method is realized can pass through end Processor caller code in end realizes that certain program code can be stored in computer storage media, it is seen then that should Terminal includes at least pocessor and storage media.Fig. 3 is that a kind of implementation process of unlocking method provided in an embodiment of the present invention is shown It is intended to, as shown in figure 3, this method may comprise steps of:
Step 301, unlock show screen before, according to operational order obtain shooting picture.
The shooting picture is the fingerprint picture of shooting, and the shooting picture includes an at least fingerprint picture.
In the embodiment of the present invention, obtaining shooting picture according to operational order can be realized by terminal, i.e. terminal root Shooting picture is obtained according to operational order, terminal can be the electronic equipment for having camera function, such as mobile phone, tablet computer etc..
Specifically, described obtain shooting picture according to operational order, may include:Operational order is received, according to the behaviour The camera for making terminal described in instruction unpack shoots fingerprint by the camera and obtains the shooting picture.
Here, operational order can refer to the function that user is used to open the camera taken pictures, and the camera of opening can be with It is front camera, can also be rear camera.Before unlock shows screen, terminal, which is likely to be at, puts out screen state, at this moment beats It can open camera by shortcut key directly in the case where putting out screen state to open camera, for example, double-clicking volume key etc.;It can be with Shortcut key is first passed through in the case where putting out screen state and lights screen, then camera, example are opened by quick touch control operation on the screen lighted Such as, screen is lighted by power button, the icon that touch control operation finds camera is then carried out on the screen, by clicking camera icon Camera is opened to be shot.
Here it is possible to which the shooting function by mobile phone shoots a fingerprint picture, pass through this pictures and the finger to prestore Print image is matched;Multiple fingerprint pictures can also be shot, respectively by this multiple fingerprint picture and the fingerprint image that prestores into Row matching, this way it is possible to avoid a fingerprint picture collection of shooting finger print information is limited or a fingerprint picture collection Finger print information have the case where damage, so as to avoid the low problem of a fingerprint picture successful match rate.
Illustratively, as shown in figure 4, user opens the rear camera of mobile phone by shortcut, then pass through mobile phone Rear camera shoot finger, can go out fingerprint according to the picture recognition of shooting here in order to facilitate mobile phone, preferably can be with Only shooting needs the picture of the finger of fingerprint recognition.
It should be noted that when shooting fingerprint image, preferably in the case of finger and larger shooting background contrast Shooting, the in this way identification convenient for fingerprint when images match, can improve recognition efficiency.
Step 302 matches the shooting picture with pre-stored fingerprint image.
It is stored it should be noted that user can shoot fingerprint image in advance, which is made On the basis of fingerprint image be used for carrying out fingerprint authentication, which is that high definition is taken pictures the fingerprint image of acquisition, and And the fingerprint image includes all characteristic informations of fingerprint.The pre-stored fingerprint image can be a high definition and wrap The fingerprint image for having included all characteristic informations of fingerprint can also be multiple fingerprint images, in this way can be to avoid a finger of storage The finger print information of print image acquisition is limited or finger print information has the case where damage, to avoid a fingerprint image of storage With the low problem of success rate.
Specifically, when pre-stored fingerprint image is a fingerprint image, by shooting picture and the pre-stored fingerprint image As carrying out matching comparison;And pre-stored fingerprint image is when being multiple fingerprint images, will shooting picture respectively with pre-stored finger Print image carries out matching comparison.
Step 303, when at least fingerprint picture is with pre-stored fingerprint image successful match in the shooting picture, Unlock shows screen.
Specifically, pre-stored fingerprint image is a fingerprint image, and when to shoot picture be a fingerprint picture, will clap It takes the photograph picture and carries out matching comparison with the pre-stored fingerprint image, if shooting picture is matched into the pre-stored fingerprint image Work(can then be unlocked terminal;Pre-stored fingerprint image is a fingerprint image, and it is multiple fingerprint images to shoot picture When piece, multiple fingerprint pictures will be clapped respectively and carry out matching comparison with pre-stored fingerprint image, in carrying out matching comparison procedure, As long as shooting fingerprint picture in one be pre-stored fingerprint image successful match, then terminal can be unlocked, Its not matched fingerprint picture can not have to be matched, and can save the fingerprint authentication time in this way, improve unlock efficiency.
Specifically, pre-stored fingerprint image is multiple fingerprint images, and when to shoot picture be a fingerprint picture, will clap It takes the photograph picture and carries out matching comparison with pre-stored fingerprint image respectively, as long as in the fingerprint picture of shooting and the fingerprint image of storage A matching fingerprint image success, then terminal can be unlocked, not having to again will shooting picture and other pre-stored finger Print image carries out matching comparison, can save the fingerprint authentication time in this way;Pre-stored fingerprint image is multiple fingerprint images, and When shooting picture is multiple fingerprint pictures, multiple fingerprint pictures will be clapped respectively and carry out matching comparison with pre-stored fingerprint image, In carrying out matching comparison procedure, as long as one in the fingerprint picture of shooting matches with one in pre-stored fingerprint image Success, then can be unlocked terminal, and other not matched fingerprint pictures and pre-stored fingerprint image can not have to carry out Matching, can save the fingerprint authentication time, improve unlock efficiency in this way.
Optionally, it is described by it is described shooting picture be pre-stored fingerprint image matched after, including:
When it fails to match for each Zhang Zhiwen pictures in the shooting picture and the fingerprint image being pre-stored, display unlock is lost The information lost.
In a kind of possible mode, pre-stored fingerprint image is a fingerprint image, and it is a fingerprint to shoot picture When picture, shooting picture is subjected to matching comparison with the pre-stored fingerprint image, if shooting picture and the pre-stored fingerprint Images match fails, then fingerprint authentication fails, can be with the prompt message of terminal unlocking displayed on the terminals failure, such as Fig. 5 institutes Show, which user may also be prompted whether to verify again, when user's selection "Yes", then reenter shooting interface shooting fingerprint Picture is verified, and when user selects "No", then exit message prompting interface and puts out screen.
In a kind of possible mode, pre-stored fingerprint image is a fingerprint image, and it is multiple fingerprints to shoot picture When picture, multiple fingerprint pictures will be clapped respectively and carry out matching comparison with pre-stored fingerprint image, are carrying out matching comparison procedure In, when one in the fingerprint picture of shooting, it fails to match with pre-stored fingerprint image, then will be in the fingerprint picture of shooting Another match with pre-stored fingerprint image, and so on, until shoot each Zhang Zhiwen pictures in picture and being pre-stored It fails to match for fingerprint image, then fingerprint authentication fails, the prompt message of terminal unlocking failure displayed on the terminals.
In a kind of possible mode, pre-stored fingerprint image is multiple fingerprint images, and shooting picture is a fingerprint image When piece, shooting picture is subjected to matching comparison with pre-stored fingerprint image respectively, when the fingerprint picture of shooting and the finger of storage A matching fingerprint image failure in print image, then by the fingerprint picture of shooting and another in pre-stored fingerprint image Matching, and so on, until shooting picture, it fails to match for each fingerprint image with pre-stored fingerprint image, then fingerprint inspection Card failure, the prompt message of terminal unlocking failure displayed on the terminals.
In a kind of possible mode, pre-stored fingerprint image is multiple fingerprint images, and shooting picture is multiple fingerprint images When piece, multiple fingerprint pictures will be clapped respectively and carry out matching comparison with pre-stored fingerprint image, in carrying out matching comparison procedure, When first in the fingerprint picture of shooting, it fails to match with first fingerprint image in pre-stored fingerprint image, then will clap Second in the fingerprint picture taken the photograph matches with first fingerprint image in pre-stored fingerprint image, and so on, until Shooting each Zhang Zhiwen pictures in picture, it fails to match with first fingerprint image in pre-stored fingerprint image, by shooting It fails to match with first fingerprint image in pre-stored fingerprint image by second in fingerprint picture, when the fingerprint image of shooting It fails to match with first fingerprint image in pre-stored fingerprint image by second in piece, then will be in the fingerprint picture of shooting Second matched with second fingerprint image in pre-stored fingerprint image, and so on, it is each in picture until shooting It fails to match with each fingerprint image in pre-stored fingerprint image for Zhang Zhiwen pictures, then fingerprint authentication fails, in terminal The prompt message of upper display terminal unlock failure.
Unlocking method provided in an embodiment of the present invention, by shoot fingerprint picture, and by the fingerprint picture of shooting with prestore Fingerprint picture carry out matching carry out fingerprint recognition, fingerprint may be implemented hence for comprehensive screen mobile phone of not fingerprint recognition key It identifies and by unlocked by fingerprint terminal, it is convenient for users to use, improve user experience.
The embodiment of the present invention provides a kind of unlocking method, is applied to terminal, and the function that this method is realized can pass through end Processor caller code in end realizes that certain program code can be stored in computer storage media, it is seen then that should Terminal includes at least pocessor and storage media.Fig. 6 is that a kind of implementation process of unlocking method provided in an embodiment of the present invention is shown It is intended to, as shown in fig. 6, this method may comprise steps of:
Step 401, unlock show screen before, according to operational order obtain shooting picture.
The shooting picture is the fingerprint picture of shooting, and the shooting picture includes an at least fingerprint picture.
Specifically, terminal receives the operational order of user, camera is opened according to the operational order of the user, passes through institute It states camera shooting fingerprint and obtains the shooting picture.Wherein, terminal can be the electronic equipment for having camera function, such as hand Machine, tablet computer etc..Here, the operational order of user refers to the function that user is used to open the camera taken pictures, and opening is taken the photograph Can also be rear camera as head can be front camera.
Step 402 obtains the location information of each pixel and pixel corresponding with the location information in the first picture Gray value.
Wherein, first picture is any one Zhang Zhiwen pictures in the shooting picture.
Here, gray value refers to the color depth at black white image midpoint.Since the color of scenery each point and brightness are different, clap Different degrees of grey is presented in each point on the black-and-white photograph taken the photograph or on the black white image of television receiver reproduction.White with it is black It is divided into several grades by logarithmic relationship between color, referred to as " tonal gradation ".Range is generally from 0 to 255, and white is 255, black 0, Therefore black and white picture is also referred to as gray level image.
Specifically, can handle the fingerprint picture of shooting, the effective information part in the picture that takes the fingerprint refers to Line region, such as shown in Fig. 7, be then gray level image by the image procossing of finger-print region, obtain each picture of gray level image The location information of the gray value and the pixel of element, pre-stored fingerprint image can anticipate to be extracted fingerprint region Then domain carries out the gray value of the fingerprint picture of shooting pixel corresponding with same position information in pre-stored fingerprint image Matching.
It should be noted that the finger-print region in the picture that can first take the fingerprint for the fingerprint picture of shooting, then will refer to The image procossing in line region is gray level image;It can also be first gray level image by the processing of the fingerprint picture of shooting, then extract gray scale Finger-print region in image, the embodiment of the present invention do not limit this.
Step 403, by the gray value of the pixel of first position information in first picture and the pre-stored fingerprint The gray value of the pixel of second position information is matched in image.
Wherein, the first position information is identical as coordinate of the second position information in respective image, described First position information is the location information of any one pixel in first picture, and the second position information is described prestore The location information of any one pixel in the fingerprint image of storage.
Step 404, when the ratio of the pixel of same grayscale value in first picture and the pre-stored fingerprint image When value is more than or equal to the first preset value, determine that first picture and pre-stored fingerprint image successful match, unlock are aobvious Display screen curtain.
Optionally, when the ratio value of the pixel of same grayscale value in first picture and the pre-stored fingerprint image When less than the first preset value, determining first picture, it fails to match with pre-stored fingerprint image.
Here, the first preset value can be pre-set successful match ratio value, and the first preset value is bigger, then fingerprint is known Other higher grade, for example, 60%, 80% etc., it can also be that other values, the embodiment of the present invention do not limit this.
Illustratively, the first preset value is 60%, when the first picture and same grayscale value in pre-stored fingerprint image The ratio value of pixel is 68%, then can determine that the first picture and pre-stored fingerprint image successful match, terminal can unlock.
It should be noted that other algorithms can also be used by carrying out images match for the gray scale based on image, such as Sequential similarity detection algorithm SSDA can set a threshold value for SSDA algorithms, be more than the threshold to gray scale in fingerprint picture Value is directly skipped and is compared less than the pixel of the threshold value, can improve arithmetic speed in this way, can meet the quick solution of fingerprint Lock.
Wherein, sequential similarity detection algorithm, which refers to image matching technology, is existed according to known image module (Prototype drawing) The process of corresponding or close module is found in another piece image (search graph), it is basic in computer vision and pattern-recognition Means.The basic search strategy of traditional template matching algorithm is ergodic, and in order to find Optimum Matching point, conventional method is equal Region relevant matches calculating, the data volume and meter of image relevant matches must be carried out on the pixel of each in region of search Calculation amount is very big, and matching speed is slower, and sequential similarity detection algorithm is for a kind of efficient of conventional template matching algorithm proposition Image matching algorithm.Specific algorithm is first initial search, then essence search, the range of search reduce step by step.
SSDA is early terminated in the calculating mismatched on position, is reduced with this by the way that a fixed threshold is manually set Calculation amount achievees the purpose that improve arithmetic speed.SSDA algorithm steps are as follows:An error criterion is chosen, as not terminating not With the standard calculated, absolute error can be usually chosen;Set a constant threshold value;It is randomly selected in image subsection a bit, meter The absolute error value for calculating it and respective point in template, the error of each random point pair is added up, if being added to the r times mistiming Difference is more than given threshold, then stops adding up, write down accumulative frequency r at this time;Error e is calculated for entire image, can be obtained one A curved surface being made of r values, corresponding position is template best match position at curved surface maximum value.This is because the point needs Multiple add up error just can exceed that threshold value, therefore relative to other points, it is most likely to be matching position.
Unlocking method provided in an embodiment of the present invention, by shoot fingerprint picture, and by the fingerprint picture of shooting with prestore Fingerprint picture carry out matching carry out fingerprint recognition, fingerprint may be implemented hence for comprehensive screen mobile phone of not fingerprint recognition key It identifies and by unlocked by fingerprint terminal, it is convenient for users to use, improve user experience.
The embodiment of the present invention provides a kind of unlocking method, is applied to terminal, and the function that this method is realized can pass through end Processor caller code in end realizes that certain program code can be stored in computer storage media, it is seen then that should Terminal includes at least pocessor and storage media.Fig. 8 is that a kind of implementation process of unlocking method provided in an embodiment of the present invention is shown It is intended to, as shown in figure 8, this method may comprise steps of:
Step 501, unlock show screen before, according to operational order obtain shooting picture.
The shooting picture is the fingerprint picture of shooting, and the shooting picture includes an at least fingerprint picture.
Wherein, terminal can be the electronic equipment for having camera function, such as mobile phone, tablet computer etc..Here, user Operational order refers to the function that user is used to open the camera taken pictures, and the camera of opening can be front camera, also may be used To be rear camera.
Step 502, the fingerprint feature information for obtaining second picture.
Wherein, the second picture is any one Zhang Zhiwen pictures in the shooting picture, and the fingerprint feature information is extremely Include less:The line shape of fingerprint, line number corresponding with the line shape of the fingerprint, the core point of fingerprint.
Wherein, the line shape of fingerprint is generally to be divided into three categories fingerprint with distribution situation according to the trend of crestal line:It is ring-like (loop, also known as bucket shape), arch (arch), spiral shape (whorl).The core point of fingerprint be positioned at fingerprint lines it is progressive in The heart, it is as a reference point when reading fingerprint and comparing fingerprint.Many algorithms can only be handled and be identified based on core point Fingerprint with core point.
In order to enhance the matched accuracy of finger print information, fingerprint feature information can also include:Ramification point, isolated point, ring Point, short grain, Mode Areas, triangulation point and line number etc.;Include the region of general characteristic on Mode Areas, that is, fingerprint, from this region energy Enough tell which type fingerprint belongs to.Some algorithm for recognizing fingerprint only use the data of Mode Areas, some then uses Acquired complete finger print.Triangulation point is located at first bifurcation either breakpoint or two lines meetings since core point Poly- place, isolated point, turn back place, or is directed toward these singular points.Triangulation point provide fingerprint lines counting tracking beginning it Place.Line number, i.e., the quantity of fingerprint lines in Mode Areas.When calculating the lines of fingerprint, core point and triangulation point are generally first connected, The quantity that this line intersects with fingerprint lines is regarded as the line number of fingerprint.
Step 503, by the fingerprint feature information of the fingerprint feature information of the second picture and pre-stored fingerprint image It is matched.
Step 504, when the second picture fingerprint feature information and the pre-stored fingerprint image fingerprint characteristic When the identical ratio of information is more than or equal to the second preset value, determine that the second picture is matched with pre-stored fingerprint image Success, unlock show screen.
Optionally, when the fingerprint characteristic of the fingerprint feature information of the second picture and the pre-stored fingerprint image is believed When ceasing identical ratio less than the second preset value, determining the second picture, it fails to match with pre-stored fingerprint image.
Here, the second preset value can be pre-set successful match ratio value, and the second preset value is bigger, then fingerprint is known Other higher grade, for example, 70%, 85% etc., it can also be that other values, the embodiment of the present invention do not limit this.
Illustratively, the second preset value is 70%, when fingerprint feature information and the pre-stored fingerprint image of second picture The identical ratio of fingerprint feature information be 76%, then can determine second picture and pre-stored fingerprint image successful match, Terminal can unlock.
Optionally, it is described by it is described shooting picture be pre-stored fingerprint image matched after, including:
When it fails to match for each Zhang Zhiwen pictures in the shooting picture and the fingerprint image being pre-stored, display unlock is lost The information lost.
Unlocking method provided in an embodiment of the present invention, by shoot fingerprint picture, and by the fingerprint picture of shooting with prestore Fingerprint picture carry out matching carry out fingerprint recognition, fingerprint may be implemented hence for comprehensive screen mobile phone of not fingerprint recognition key It identifies and by unlocked by fingerprint terminal, it is convenient for users to use, improve user experience.
The embodiment of the present invention provides a kind of terminal 60, as shown in figure 9, the terminal includes:Processor 601, memory 602 And communication bus 603;
The communication bus 603 is for realizing the connection communication between processor 601 and memory 602;
The processor 601 is for executing the unlocking program stored in memory 602, to realize following steps:
Before unlock shows screen, shooting picture is obtained according to operational order, the shooting picture is the fingerprint image of shooting Piece, the shooting picture include an at least fingerprint picture;
The shooting picture is matched with pre-stored fingerprint image;
When an at least fingerprint picture is with pre-stored fingerprint image successful match in the shooting picture, described in unlock Show screen.
Further, the processor 601 is for executing the unlocking program stored in memory 602, to realize following step Suddenly:
The gray value of the location information of each pixel and pixel corresponding with the location information in the first picture is obtained, First picture is any one Zhang Zhiwen pictures in the shooting picture;
By in the gray value of the pixel of first position information in first picture and the pre-stored fingerprint image the The gray value of the pixel of two location informations is matched, and the first position information is identical as the second position information, described First position information is the location information of any one pixel in first picture, and the second position information is described prestore The location information of any one pixel in the fingerprint image of storage;
Be more than when the ratio value of the pixel of same grayscale value in first picture and the pre-stored fingerprint image or When person is equal to the first preset value, first picture and pre-stored fingerprint image successful match are determined;
When the ratio value of the pixel of same grayscale value in first picture and the pre-stored fingerprint image is less than the When one preset value, determining first picture, it fails to match with pre-stored fingerprint image.
Further, the processor 601 is for executing the unlocking program stored in memory 602, to realize following step Suddenly:
The fingerprint feature information of second picture is obtained, the second picture is any one fingerprint image in the shooting picture Piece, the fingerprint feature information include at least:The line shape of fingerprint, line number corresponding with the line shape of the fingerprint, the core of fingerprint Point;
The fingerprint feature information of the second picture is matched with the fingerprint feature information of pre-stored fingerprint image;
When the fingerprint feature information of the second picture is identical as the fingerprint feature information of pre-stored fingerprint image Ratio when being more than or equal to the second preset value, determine the second picture and pre-stored fingerprint image successful match;
When the fingerprint feature information of the second picture is identical as the fingerprint feature information of pre-stored fingerprint image Ratio when being less than the second preset value, determining the second picture, it fails to match with pre-stored fingerprint image.
Further, it is described by it is described shooting picture be pre-stored fingerprint image matched after, the processing Device 601 is additionally operable to execute the unlocking program stored in memory 602, to realize following steps:
When it fails to match for each Zhang Zhiwen pictures in the shooting picture and the fingerprint image being pre-stored, display unlock is lost The information lost.
Further, the processor 601 is for executing the unlocking program stored in memory 602, to realize following step Suddenly:
Operational order is received, camera is opened according to the operational order, shooting fingerprint by the camera obtains institute State shooting picture.
Here, memory 602 can be volatile memory or nonvolatile memory, may also comprise volatibility and Fei Yi Both the property lost memories.Wherein, nonvolatile memory can be read-only memory (ROM, Read Only Memory), can compile Journey read-only memory (PROM, Programmable Read-Only Memory), Erasable Programmable Read Only Memory EPROM (EPROM, Erasable Programmable Read-Only Memory), electrically erasable programmable read-only memory (EEPROM, Electrically Erasable Programmable Read-Only Memory), magnetic random access store Device (FRAM, ferromagnetic random access memory), flash memory (Flash Memory), magnetic surface are deposited Reservoir, CD or CD-ROM (CD-ROM, Compact Disc Read-Only Memory);Magnetic surface storage can be Magnetic disk storage or magnetic tape storage.Volatile memory can be random access memory (RAM, Random Access Memory), it is used as External Cache.By exemplary but be not restricted explanation, the RAM of many forms is available, such as Static RAM (SRAM, Static Random Access Memory), synchronous static RAM (SSRAM, Synchronous Static Random Access Memory), dynamic random access memory (DRAM, Dynamic Random Access Memory), Synchronous Dynamic Random Access Memory (SDRAM, Synchronous Dynamic Random Access Memory), double data speed synchronous dynamic RAM (DDRSDRAM, Double Data Rate Synchronous Dynamic Random Access Memory), enhanced synchronous dynamic random Access memory (ESDRAM, Enhanced Synchronous Dynamic Random Access Memory), synchronized links Dynamic random access memory (SLDRAM, SyncLink Dynamic Random Access Memory), direct rambus Random access memory (DRRAM, Direct Rambus Random Access Memory).Description of the embodiment of the present invention is deposited Reservoir 602 is intended to the memory of including but not limited to these and any other suitable type.
Memory 602 in the embodiment of the present invention is for storing various types of data to support the operation of terminal 60.This The example of data includes a bit:Any computer program for being operated in terminal 60, such as operating system and application program;Contact Personal data;Telephone book data;Message;Picture;Video etc..Wherein, operating system include various system programs, such as ccf layer, Core library layer, driving layer etc., for realizing various basic businesses and the hardware based task of processing.Application program can include Various application programs, such as media player (Media Player), browser (Browser) etc., for realizing various applications Business.Realize that the program of present invention method may be embodied in application program.
The method that the embodiments of the present invention disclose can be applied in processor 601, or be realized by processor 601. Processor 601 may be a kind of IC chip, the processing capacity with signal.During realization, the above method it is each Step can be completed by the integrated logic circuit of the hardware in processor 601 or the instruction of software form.Above-mentioned processing Device 601 can be general processor, digital signal processor (DSP, Digital Signal Processor) or other can Programmed logic device, discrete gate or transistor logic, discrete hardware components etc..Processor 601 may be implemented or hold Disclosed each method, step and logic diagram in the row embodiment of the present invention.General processor can be microprocessor or appoint What conventional processor etc..It the step of method in conjunction with disclosed in the embodiment of the present invention, can be embodied directly at hardware decoding Reason device executes completion, or in decoding processor hardware and software module combine and execute completion.Software module can be located at In storage medium, which is located at memory 602, and processor 601 reads the information in memory 602, in conjunction with its hardware The step of completing preceding method.
Specifically, terminal provided in an embodiment of the present invention understands the explanation that can refer to above-mentioned unlocking method embodiment, Details are not described herein for the embodiment of the present invention.
Terminal provided in an embodiment of the present invention, by shooting fingerprint picture, and by the fingerprint picture of shooting and the finger that prestores Line picture carries out matching and carries out fingerprint recognition, and fingerprint recognition may be implemented hence for comprehensive screen mobile phone of not fingerprint recognition key It is convenient for users to use and by unlocked by fingerprint terminal, improve user experience.
In the embodiment of the present invention, if above-mentioned unlocking method is realized in the form of software function module, and as independence Product sale or in use, can also be stored in a computer read/write memory medium.Based on this understanding, this hair Substantially the part that contributes to existing technology can body in the form of software products in other words for the technical solution of bright embodiment Reveal and, which is stored in a storage medium, including some instructions are with so that a computer is set Standby (can be personal computer, server or network equipment etc.) executes the whole of each embodiment the method for the present invention Or part.And storage medium above-mentioned includes:USB flash disk, mobile hard disk, read-only memory (ROM, Read Only Memory), magnetic The various media that can store program code such as dish or CD.In this way, the embodiment of the present invention be not limited to it is any specific hard Part and software combine.
The embodiment of the present invention provides a kind of computer readable storage medium, and the computer-readable recording medium storage has one A or multiple programs, one or more of programs can be executed by one or more processor, to realize following steps:
Before unlock shows screen, shooting picture is obtained according to operational order, the shooting picture is the fingerprint image of shooting Piece, the shooting picture include an at least fingerprint picture;
The shooting picture is matched with pre-stored fingerprint image;
When an at least fingerprint picture is with pre-stored fingerprint image successful match in the shooting picture, described in unlock Show screen.
The above computer readable storage medium implements the description of item, is similar with above method description, has Tongfang The identical advantageous effect of method embodiment.For undisclosed technical detail in computer readable storage medium embodiment of the present invention, Those skilled in the art please refers to the description of the method for the present invention embodiment and understands.
It should be understood that " one embodiment " or " embodiment " that specification is mentioned in the whole text mean it is related with embodiment A particular feature, structure, or characteristic includes at least one embodiment of the present invention.Therefore, occur everywhere in the whole instruction " in one embodiment " or " in one embodiment " not necessarily refer to identical embodiment.In addition, these specific feature, knots Structure or characteristic can in any suitable manner combine in one or more embodiments.It should be understood that in the various implementations of the present invention In example, size of the sequence numbers of the above procedures is not meant that the order of the execution order, and the execution sequence of each process should be with its work( It can determine that the implementation process of the embodiments of the invention shall not be constituted with any limitation with internal logic.The embodiments of the present invention Serial number is for illustration only, can not represent the quality of embodiment.
It should be noted that herein, the terms "include", "comprise" 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 include not only those elements, and And further include other elements that are not explicitly listed, or further include for this process, method, article or device institute it is intrinsic Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including this There is also other identical elements in the process of element, method, article or device.
In several embodiments provided herein, it should be understood that disclosed device and method can pass through it Its mode is realized.Apparatus embodiments described above are merely indicative, for example, the division of the unit, only A kind of division of logic function, formula that in actual implementation, there may be another division manner, such as:Multiple units or component can combine, or It is desirably integrated into another system, or some features can be ignored or not executed.In addition, shown or discussed each composition portion It can be the INDIRECT COUPLING by some interfaces, equipment or unit to divide mutual coupling or direct-coupling or communication connection Or communication connection, can be electrical, mechanical or other forms.
The above-mentioned unit illustrated as separating component can be or may not be and be physically separated, aobvious as unit The component shown can be or may not be physical unit;Both it can be located at a place, may be distributed over multiple network lists In member;Some or all of wherein unit can be selected according to the actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in various embodiments of the present invention can be fully integrated into a processing unit, also may be used It, can also be during two or more units be integrated in one unit to be each unit individually as a unit;It is above-mentioned The form that hardware had both may be used in integrated unit is realized, can also be realized in the form of hardware adds SFU software functional unit.
One of ordinary skill in the art will appreciate that:Realize that all or part of step of above method embodiment can pass through The relevant hardware of program instruction is completed, and program above-mentioned can be stored in computer read/write memory medium, which exists When execution, step including the steps of the foregoing method embodiments is executed;And storage medium above-mentioned includes:Movable storage device read-only is deposited The various media that can store program code such as reservoir (Read Only Memory, ROM), magnetic disc or CD.
If alternatively, the above-mentioned integrated unit of the present invention is realized in the form of software function module and as independent product Sale in use, can also be stored in a computer read/write memory medium.Based on this understanding, the present invention is implemented Substantially the part that contributes to existing technology can be expressed in the form of software products the technical solution of example in other words, The computer software product is stored in a storage medium, including some instructions are used so that computer equipment (can be with It is personal computer, server or network equipment etc.) execute all or part of each embodiment the method for the present invention. And storage medium above-mentioned includes:Various Jie that can store program code such as movable storage device, ROM, magnetic disc or CD Matter.
The above description is merely a specific embodiment, but scope of protection of the present invention is not limited thereto, any Those familiar with the art in the technical scope disclosed by the present invention, can easily think of the change or the replacement, and should all contain Lid is within protection scope of the present invention.Therefore, protection scope of the present invention should be based on the protection scope of the described claims.

Claims (10)

1. a kind of unlocking method, which is characterized in that the method includes:
Before unlock shows screen, shooting picture is obtained according to operational order, the shooting picture is the fingerprint picture of shooting, institute It includes an at least fingerprint picture to state shooting picture;
The shooting picture is matched with pre-stored fingerprint image;
When an at least fingerprint picture is with pre-stored fingerprint image successful match in the shooting picture, the display is unlocked Screen.
2. according to the method described in claim 1, it is characterized in that, described by the shooting picture and pre-stored fingerprint image It is matched, including:
The gray value of the location information of each pixel and pixel corresponding with the location information in the first picture is obtained, it is described First picture is any one Zhang Zhiwen pictures in the shooting picture;
By second in the gray value of the pixel of first position information in first picture and the pre-stored fingerprint image The gray value of the pixel of confidence breath is matched, and the first position information is identical as the second position information, and described first Location information is the location information of any one pixel in first picture, and the second position information is described pre-stored The location information of any one pixel in fingerprint image;
When the ratio value of first picture and the pixel of same grayscale value in the pre-stored fingerprint image is more than or waits When the first preset value, first picture and pre-stored fingerprint image successful match are determined;
When the ratio value of the pixel of same grayscale value in first picture and the pre-stored fingerprint image is less than first in advance If when value, determining first picture, it fails to match with pre-stored fingerprint image.
3. according to the method described in claim 1, it is characterized in that, described by the shooting picture and pre-stored fingerprint image It is matched, including:
The fingerprint feature information of second picture is obtained, the second picture is any one Zhang Zhiwen pictures in the shooting picture, The fingerprint feature information includes at least:The line shape of fingerprint, line number corresponding with the line shape of the fingerprint, the core point of fingerprint;
The fingerprint feature information of the second picture is matched with the fingerprint feature information of pre-stored fingerprint image;
When the fingerprint feature information of second picture ratio identical with the fingerprint feature information of pre-stored fingerprint image When example is more than or equal to the second preset value, the second picture and pre-stored fingerprint image successful match are determined;
When the fingerprint feature information of second picture ratio identical with the fingerprint feature information of pre-stored fingerprint image When example is less than the second preset value, determining the second picture, it fails to match with pre-stored fingerprint image.
4. method according to any one of claims 1 to 3, which is characterized in that it is described by the shooting picture with prestore After the fingerprint image of storage is matched, including:
When it fails to match for each Zhang Zhiwen pictures in the shooting picture and the fingerprint image being pre-stored, display unlock failure Information.
5. according to the method described in claim 1, it is characterized in that, it is described according to operational order obtain shooting picture, including:
Operational order is received, camera is opened according to the operational order, shooting fingerprint by the camera obtains the bat Take the photograph picture.
6. a kind of terminal, which is characterized in that the terminal includes:Processor, memory and communication bus;
The communication bus is for realizing the connection communication between processor and memory;
The processor is for executing the unlocking program stored in memory, to realize following steps:
Before unlock shows screen, shooting picture is obtained according to operational order, the shooting picture is the fingerprint picture of shooting, institute It includes an at least fingerprint picture to state shooting picture;
The shooting picture is matched with pre-stored fingerprint image;
When an at least fingerprint picture is with pre-stored fingerprint image successful match in the shooting picture, the display is unlocked Screen.
7. terminal according to claim 6, which is characterized in that the processor is for executing the unlock stored in memory Program, to realize following steps:
The gray value of the location information of each pixel and pixel corresponding with the location information in the first picture is obtained, it is described First picture is any one Zhang Zhiwen pictures in the shooting picture;
By second in the gray value of the pixel of first position information in first picture and the pre-stored fingerprint image The gray value of the pixel of confidence breath is matched, and the first position information is identical as the second position information, and described first Location information is the location information of any one pixel in first picture, and the second position information is described pre-stored The location information of any one pixel in fingerprint image;
When the ratio value of first picture and the pixel of same grayscale value in the pre-stored fingerprint image is more than or waits When the first preset value, first picture and pre-stored fingerprint image successful match are determined;
When the ratio value of the pixel of same grayscale value in first picture and the pre-stored fingerprint image is less than first in advance If when value, determining first picture, it fails to match with pre-stored fingerprint image.
8. terminal according to claim 6, which is characterized in that the processor is for executing the unlock stored in memory Program, to realize following steps:
The fingerprint feature information of second picture is obtained, the second picture is any one Zhang Zhiwen pictures in the shooting picture, The fingerprint feature information includes at least:The line shape of fingerprint, line number corresponding with the line shape of the fingerprint, the core point of fingerprint;
The fingerprint feature information of the second picture is matched with the fingerprint feature information of pre-stored fingerprint image;
When the fingerprint feature information of second picture ratio identical with the fingerprint feature information of pre-stored fingerprint image When example is more than or equal to the second preset value, the second picture and pre-stored fingerprint image successful match are determined;
When the fingerprint feature information of second picture ratio identical with the fingerprint feature information of pre-stored fingerprint image When example is less than the second preset value, determining the second picture, it fails to match with pre-stored fingerprint image.
9. according to claim 6 to 8 any one of them terminal, which is characterized in that it is described by the shooting picture with prestore After the fingerprint image of storage is matched, the processor is additionally operable to execute the unlocking program that stores in memory, with realize with Lower step:
When it fails to match for each Zhang Zhiwen pictures in the shooting picture and the fingerprint image being pre-stored, display unlock failure Information.
10. a kind of computer readable storage medium, which is characterized in that the computer-readable recording medium storage there are one or Multiple programs, one or more of programs can be executed by one or more processor, to realize such as claim 1 to 5 The step of any one of them method.
CN201810235591.9A 2018-03-21 2018-03-21 A kind of unlocking method, terminal and computer readable storage medium Pending CN108566485A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810235591.9A CN108566485A (en) 2018-03-21 2018-03-21 A kind of unlocking method, terminal and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810235591.9A CN108566485A (en) 2018-03-21 2018-03-21 A kind of unlocking method, terminal and computer readable storage medium

Publications (1)

Publication Number Publication Date
CN108566485A true CN108566485A (en) 2018-09-21

Family

ID=63531950

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810235591.9A Pending CN108566485A (en) 2018-03-21 2018-03-21 A kind of unlocking method, terminal and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN108566485A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111314918A (en) * 2020-02-24 2020-06-19 致能装备科技(集团)有限公司 DTU remote control system and remote control method
CN112287830A (en) * 2020-10-29 2021-01-29 泰康保险集团股份有限公司 Image detection method and device
CN113269012A (en) * 2020-02-14 2021-08-17 北京小米移动软件有限公司 Fingerprint identification device, display screen module, terminal equipment and fingerprint identification method

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103092503A (en) * 2012-10-11 2013-05-08 百度在线网络技术(北京)有限公司 Unlocking and verification method for mobile terminal and unlocking and verification device
CN105573614A (en) * 2015-07-28 2016-05-11 东莞酷派软件技术有限公司 Screen unlocking method and user terminal
CN106709457A (en) * 2016-12-27 2017-05-24 维沃移动通信有限公司 Task execution method based on fingerprint, and mobile terminal

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103092503A (en) * 2012-10-11 2013-05-08 百度在线网络技术(北京)有限公司 Unlocking and verification method for mobile terminal and unlocking and verification device
CN105573614A (en) * 2015-07-28 2016-05-11 东莞酷派软件技术有限公司 Screen unlocking method and user terminal
CN106709457A (en) * 2016-12-27 2017-05-24 维沃移动通信有限公司 Task execution method based on fingerprint, and mobile terminal

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113269012A (en) * 2020-02-14 2021-08-17 北京小米移动软件有限公司 Fingerprint identification device, display screen module, terminal equipment and fingerprint identification method
CN113269012B (en) * 2020-02-14 2024-05-10 北京小米移动软件有限公司 Fingerprint identification device, display screen module, terminal equipment and fingerprint identification method
CN111314918A (en) * 2020-02-24 2020-06-19 致能装备科技(集团)有限公司 DTU remote control system and remote control method
CN112287830A (en) * 2020-10-29 2021-01-29 泰康保险集团股份有限公司 Image detection method and device

Similar Documents

Publication Publication Date Title
CN108089791A (en) Screen resolution method of adjustment, mobile terminal and computer readable storage medium
CN107682627A (en) A kind of acquisition parameters method to set up, mobile terminal and computer-readable recording medium
CN109739602A (en) A kind of mobile terminal wallpaper setting method and device, mobile terminal and storage medium
CN108182028A (en) A kind of control method, terminal and computer readable storage medium
CN108345426A (en) A kind of terminal control method, terminal and computer readable storage medium
CN109544139A (en) A kind of method of payment, terminal and readable storage medium storing program for executing
CN108241752A (en) Photo display methods, mobile terminal and computer readable storage medium
CN108172161A (en) Display methods, mobile terminal and computer readable storage medium based on flexible screen
CN108197206A (en) Expression packet generation method, mobile terminal and computer readable storage medium
CN107800879A (en) A kind of audio regulation method, terminal and computer-readable recording medium
CN107967056A (en) Control method, terminal and the computer-readable recording medium of flexible screen
CN110032887A (en) A kind of picture method for secret protection, terminal and computer readable storage medium
CN107688429A (en) Management method, mobile terminal and the computer-readable recording medium of application controls
CN108055491A (en) A kind of record screen method and terminal
CN108196777A (en) A kind of flexible screen application process, equipment and computer readable storage medium
CN108566485A (en) A kind of unlocking method, terminal and computer readable storage medium
CN109683742A (en) Prevent touch control device by error touch control method and device, touch control device and storage medium
CN108597512A (en) Method for controlling mobile terminal, mobile terminal and computer readable storage medium
CN108196774A (en) A kind of message consults method, flexible screen terminal and computer readable storage medium
CN108062669A (en) A kind of method of payment, terminal and computer readable storage medium
CN107613206A (en) A kind of image processing method, mobile terminal and computer-readable recording medium
CN107562586A (en) A kind of internal-memory detection method, equipment and computer-readable storage medium
CN109688268A (en) A kind of method and device, mobile terminal and the storage medium of mixed audio output
CN108229389A (en) Facial image processing method, apparatus and computer readable storage medium
CN108322606A (en) A kind of screen opening method, terminal 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
RJ01 Rejection of invention patent application after publication

Application publication date: 20180921

RJ01 Rejection of invention patent application after publication