CN109886189A - Fingerprint template acquisition methods and relevant apparatus - Google Patents

Fingerprint template acquisition methods and relevant apparatus Download PDF

Info

Publication number
CN109886189A
CN109886189A CN201910126486.6A CN201910126486A CN109886189A CN 109886189 A CN109886189 A CN 109886189A CN 201910126486 A CN201910126486 A CN 201910126486A CN 109886189 A CN109886189 A CN 109886189A
Authority
CN
China
Prior art keywords
fingerprint
picture
pixel
typing
pictures
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
CN201910126486.6A
Other languages
Chinese (zh)
Other versions
CN109886189B (en
Inventor
郭子青
陈然
欧锦荣
李虎
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201910126486.6A priority Critical patent/CN109886189B/en
Priority to CN202110536799.6A priority patent/CN113239817A/en
Publication of CN109886189A publication Critical patent/CN109886189A/en
Priority to PCT/CN2020/071849 priority patent/WO2020168861A1/en
Application granted granted Critical
Publication of CN109886189B publication Critical patent/CN109886189B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • 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
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T5/00Image enhancement or restoration
    • G06T5/70Denoising; Smoothing
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Multimedia (AREA)
  • Collating Specific Patterns (AREA)
  • Image Input (AREA)

Abstract

The embodiment of the present application discloses a kind of fingerprint template acquisition methods and relevant apparatus, and method includes: continuous several times acquisition user fingerprints information to obtain multiple fingerprint pictures;Fingerprint typing guidance information is exported, and when detecting that user is directed to the touch control operation of predeterminable area, executes cumulative reference operation according to multiple fingerprint pictures, and export fingerprint typing successful information;Predetermined registration operation is repeated until detecting that cumulative reference operation executes completion during n-th executes predetermined registration operation, terminate the first operation executed in predetermined registration operation, and it exports fingerprint typing and completes prompt information, predetermined registration operation includes following operation: output fingerprint typing guidance information, detect touch control operation, when detecting touch control operation, fingerprint typing successful information is exported;The Target Photo that storage is obtained according to cumulative reference operation is as fingerprint template.The embodiment of the present application is conducive to visually promote fingerprint template input speed, and shortens fingerprint template and obtain duration.

Description

Fingerprint template acquisition methods and relevant apparatus
Technical field
This application involves technical field of electronic equipment, and in particular to a kind of fingerprint template acquisition methods and relevant apparatus.
Background technique
With the development of mobile communication technology, electronic equipment (such as smart phone) using more and more extensive, in order to protect Hinder the safety of various data in electronic equipment, is provided with unlocked by fingerprint function, and in order to keep the screen of display screen sufficiently large, light Fingerprint mould group under shielding is learned to come into being.
Currently, the noise specific capacitance fingerprint due to fingerprint under optical panel is much serious, fingerprint needs when typing Noise processed is carried out, which needs time-consuming 2-3s, and it is bad that this will cause the typing of user to be experienced, in the end user of typing It will be considered that mobile phone is in the state of Caton.
Summary of the invention
The embodiment of the present application provides a kind of fingerprint template acquisition methods and relevant apparatus, to visually promote fingerprint Template input speed, and shorten fingerprint template and obtain duration.
In a first aspect, the embodiment of the present application provides a kind of fingerprint template acquisition methods, it is applied to electronic equipment, the electronics Equipment includes fingerprint mould group under the screen that display screen and the predeterminable area relative to the display screen are arranged, which comprises
Continuous several times acquire user fingerprints information to obtain multiple fingerprint pictures;
Fingerprint typing guidance information is exported, and when detecting that user is directed to the touch control operation of the predeterminable area, according to Multiple described fingerprint pictures execute cumulative reference operation, and export fingerprint typing successful information;
Predetermined registration operation is repeated until detecting the cumulative benchmark during n-th executes the predetermined registration operation Operation executes completion, terminates the first operation executed in the predetermined registration operation, and exports fingerprint typing and complete prompt information, described Predetermined registration operation includes following operation: exporting the fingerprint typing guidance information, and the detection touch control operation, and is detecting When to the touch control operation, the fingerprint typing successful information is exported, first operation includes appointing in the predetermined registration operation One operation, N is positive integer;
The Target Photo obtained according to the cumulative reference operation is stored as fingerprint template.
Second aspect, the embodiment of the present application provide a kind of fingerprint template acquisition device, are applied to electronic equipment, the electronics Equipment includes fingerprint mould group under the screen that display screen and the predeterminable area relative to the display screen are arranged, and the fingerprint template obtains Device includes processing unit and communication unit, wherein
The processing unit is referred to for acquiring user fingerprints information by the communication unit continuous several times with obtaining multiple Line picture;And for exporting fingerprint typing guidance information by the communication unit, and works as and detect user for described pre- If when the touch control operation in region, executing cumulative reference operation according to multiple described fingerprint pictures, and defeated by the communication unit Fingerprint typing successful information out;And for repeating process of the predetermined registration operation until executing the predetermined registration operation in n-th In detect that the cumulative reference operation executes completion, terminate the first operation executed in the predetermined registration operation, and by described Communication unit exports fingerprint typing and completes prompt information, and the predetermined registration operation includes following operation: exporting the fingerprint typing and draws Information, and the detection touch control operation are led, and when detecting the touch control operation, exports the fingerprint typing and successfully believes Breath, first operation include any operation in the predetermined registration operation, and N is positive integer;And for storing according to described tired The Target Photo for adding reference operation to obtain is as fingerprint template.
The third aspect, the embodiment of the present application provide a kind of electronic equipment, including processor, memory, communication interface and One or more programs, wherein said one or multiple programs are stored in above-mentioned memory, and are configured by above-mentioned It manages device to execute, above procedure is included the steps that for executing the instruction in the embodiment of the present application first aspect either method.
Fourth aspect, the embodiment of the present application provide a kind of computer readable storage medium, wherein above-mentioned computer-readable Storage medium storage is used for the computer program of electronic data interchange, wherein above-mentioned computer program executes computer such as Step some or all of described in the embodiment of the present application first aspect either method.
5th aspect, the embodiment of the present application provide a kind of computer program product, wherein above-mentioned computer program product Non-transient computer readable storage medium including storing computer program, above-mentioned computer program are operable to make to calculate Machine executes the step some or all of as described in the embodiment of the present application first aspect either method.The computer program product It can be a software installation packet.
As can be seen that electronic equipment continuous several times acquisition user fingerprints information is referred in the embodiment of the present application with obtaining multiple Line picture, and fingerprint typing guidance information is exported, and when detecting that user is directed to the touch control operation of predeterminable area, according to multiple Fingerprint picture executes cumulative reference operation, and exports fingerprint typing successful information, then, repeats predetermined registration operation until the N times detect that cumulative reference operation executes completion during executing predetermined registration operation, terminate the first operation in predetermined registration operation, and It exports fingerprint typing and completes prompt information, predetermined registration operation includes following operation: output fingerprint typing guidance information, detection touch-control behaviour Make, when detecting touch control operation, export fingerprint typing successful information, finally, the mesh that storage is obtained according to the reference operation that adds up Piece mark on a map as fingerprint template.As it can be seen that electronic equipment is after obtaining multiple fingerprint pictures, that is, ensureing cumulative benchmark After the precision of calculating, during repeatedly output fingerprint typing guidance information, it is not carried out the acquisition operation of fingerprint picture But the operation of cumulative benchmark is executed, be conducive to shorten the duration that fingerprint template obtains, meanwhile, allow user to be mistakenly considered currently also to exist The operation for carrying out fingerprint typing avoids the user caused by the cumulative reference operation of execution after obtaining all fingerprints of user's typing from recognizing It is in the visual effect of Caton state for mobile phone, is conducive to visually promote fingerprint template input speed.
Detailed description of the invention
In order to illustrate the technical solutions in the embodiments of the present application or in the prior art more clearly, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this Some embodiments of application for those of ordinary skill in the art without creative efforts, can be with It obtains other drawings based on these drawings.
Fig. 1 is the schematic diagram of a kind of electronic equipment acquisition fingerprint provided by the embodiments of the present application;
Fig. 2 is a kind of flow diagram of fingerprint template acquisition methods provided by the embodiments of the present application;
Fig. 3 is the flow diagram of another fingerprint template acquisition methods provided by the embodiments of the present application;
Fig. 4 is the flow diagram of another fingerprint template acquisition methods provided by the embodiments of the present application;
Fig. 5 is the structural schematic diagram of another electronic equipment provided by the embodiments of the present application;
Fig. 6 is a kind of functional unit composition block diagram of fingerprint template acquisition device provided by the embodiments of the present application.
Specific embodiment
In order to make those skilled in the art more fully understand application scheme, below in conjunction in the embodiment of the present application Attached drawing, the technical scheme in the embodiment of the application is clearly and completely described, it is clear that described embodiment is only Some embodiments of the present application, instead of all the embodiments.Based on the embodiment in the application, those of ordinary skill in the art Every other embodiment obtained without creative efforts, shall fall in the protection scope of this application.
The description and claims of this application and term " first " in above-mentioned attached drawing, " second " etc. are for distinguishing Different objects, are not use to describe a particular order.In addition, term " includes " and " having " and their any deformations, it is intended that It is to cover and non-exclusive includes.Such as the process, method, system, product or equipment for containing a series of steps or units do not have It is defined in listed step or unit, but optionally further comprising the step of not listing or unit, or optionally also wrap Include other step or units intrinsic for these process, methods, product or equipment.
Referenced herein " embodiment " is it is meant that a particular feature, structure, or characteristic described can wrap in conjunction with the embodiments It is contained at least one embodiment of the application.Each position in the description occur the phrase might not each mean it is identical Embodiment, nor the independent or alternative embodiment with other embodiments mutual exclusion.Those skilled in the art explicitly and Implicitly understand, embodiment described herein can be combined with other embodiments.
Electronic equipment involved by the embodiment of the present application can be the electronic equipment for having data transmission capabilities, the electronics Equipment may include the various handheld devices with wireless communication function, mobile unit, wearable device, calculate equipment or connection It is mobile to other processing equipments of radio modem and various forms of user equipmenies (User Equipment, UE) Platform (Mobile Station, MS), terminal device (terminal device) etc..
It describes in detail below to the embodiment of the present application.
Fingerprint identification technology is mapped a people with his fingerprint, by by his fingerprint and the fingerprint that pre-saves Mould group is compared, and is identified by the details of different fingerprints, so that it may verify his true identity.Characteristic point Refer to that breakpoint, bifurcation and the turning point of interruption, bifurcated or turnover often occurs in fingerprint lines.Everyone fingerprint lines is being schemed It is different on case, breakpoint, bifurcation and turning point, it is unique.And its uniqueness be it is constant throughout one's life, exactly by this Uniqueness and stability, we could create fingerprint identification technology.Fingerprint identification technology possess that recognition speed is fast, acquisition is convenient and The advantages that cheap, is widely used in numerous ambits such as image procossing, pattern-recognition, computer vision.Such as Fig. 1 institute Show, Fig. 1 is the schematic diagram that an electronic equipment 101 acquires fingerprint, and the electronic equipment 101 is including display screen 102 and relative to institute Fingerprint mould group 104 under the screen of the setting of predeterminable area 103 of display screen 102 is stated, fingerprint mould group 104 is fingerprint under optical panel under the screen Mould group, 105 be fingerprint enlarged drawing, and when user's finger contacts screen, the light that 102 predeterminable area of display screen issues penetrates cover board Fingerprint texture is illuminated, forms fingerprint light film, (reflection light includes fingerprint reflection to the display screen digital reflex light of predeterminable area The light returned) the lower fingerprint mould group 104 of screen is returned to, fingerprint picture is ultimately formed, which includes fingerprint image and pre- If the panel noise etc. in region.
Referring to Fig. 2, Fig. 2 is that the embodiment of the present application provides a kind of flow diagram of fingerprint template acquisition methods, answer For electronic equipment as shown in Figure 1, the electronic equipment includes display screen and the predeterminable area relative to the display screen Fingerprint mould group under the screen of setting, as shown, this fingerprint template acquisition methods include:
S201, electronic equipment continuous several times acquire user fingerprints information to obtain multiple fingerprint pictures.
Wherein, electronic equipment continuous several times acquisition user fingerprints information can be with the trigger condition for obtaining multiple fingerprint pictures It is to detect that user needs the operation of typing fingerprint template, wherein acquisition user fingerprints information obtains a fingerprint picture every time, The operating process acquired every time may is that output fingerprint typing guidance information, detection user are directed to the touch-control of the predeterminable area It operates, when detecting the touch control operation, passes through fingerprint mould group under the screen and obtain fingerprint picture.
Wherein, the number of continuous several times is preset in the electronic equipment before electronic equipment factory by technical staff , for example, can be 16 times, 17 times, it is 18 inferior, it is not limited here.
Wherein, the fingerprint picture includes each noise like etc. of fingerprint image and display screen predeterminable area.
S202, the electronic equipment export fingerprint typing guidance information, and work as and detect user for the predeterminable area Touch control operation when, execute cumulative reference operation according to multiple described fingerprint pictures, and export fingerprint typing successful information.
Wherein, the fingerprint typing guidance information is for prompting user's typing fingerprint, wherein the position including typing fingerprint Deng.
Wherein, when the number of continuous several times is 17 times, the current fingerprint typing guidance information that exports is the 18th time, but the At 18 times, the fingerprint picture of user is not obtained, but when detecting that user is directed to the touch control operation of predeterminable area, can be exported The successful message of this fingerprint typing informs user, is performed simultaneously the operation of cumulative benchmark.
Wherein, cumulative benchmark refers to the noise of the cumulative determining display screen predeterminable area according to multiple fingerprint pictures, thus Noise in removal fingerprint picture obtains the operation of the higher fingerprint template of quality, wherein when typing fingerprint each due to user The position of pressing and dynamics difference, and the position of noise (spot, barrier etc.) is identical, therefore, according to multiple fingerprint pictures The specific implementation of the cumulative noise for determining display screen predeterminable area can be the pixel according to plurality of pictures same position Gray value add up, and divided by picture number, the gray average of each pixel is determined, in the process for determining gray average In due to the dynamics of fingerprint and position it is different, cause the influence of fingerprint to become minimum, therefore, the ash formed by each pixel The picture that degree mean value obtains can be noise pattern piece.
S203, the electronic equipment repeat predetermined registration operation until during n-th executes the predetermined registration operation It detects that the cumulative reference operation executes completion, terminates the first operation executed in the predetermined registration operation, and export fingerprint record Enter to complete prompt information;
Wherein, the predetermined registration operation includes following operation: exporting the fingerprint typing guidance information, and the detection touching Control operation, and when detecting the touch control operation, the fingerprint typing successful information is exported, first operation includes institute Any operation in predetermined registration operation is stated, N is positive integer, and N can be 1,2,3 etc., it is not limited here.
Wherein, it detects that the cumulative reference operation executes to complete to detect the generation of following Target Photos to determine It states cumulative reference operation and executes completion.
Wherein, the electronic equipment repeats predetermined registration operation until during n-th executes the predetermined registration operation Detect that the cumulative reference operation executes the parallel work-flow completed as two processes, two parallel work-flows can be operation A: weight Predetermined registration operation is executed again;Operation B: whether the detection cumulative reference operation executes completion.
Wherein, described to terminate the first operation executed in the predetermined registration operation, including terminate and execute the first operation and institute The operation after the first operation, such as first operation are stated to detect the touch control operation, then the first operation of termination includes Terminate to execute and detect the touch control operation, and terminate after executing when detecting the touch control operation, described in output The operation of fingerprint typing successful information.
S204, the Target Photo that the electronic equipment storage is obtained according to the cumulative reference operation is as fingerprint template.
Wherein, the fingerprint template is for during unlocked by fingerprint, being compared the fingerprint image of typing, really later Determine whether fingerprint image matches with fingerprint template, upon a match, unlock operation could be executed.
As can be seen that electronic equipment continuous several times acquisition user fingerprints information is referred in the embodiment of the present application with obtaining multiple Line picture, and fingerprint typing guidance information is exported, and when detecting that user is directed to the touch control operation of predeterminable area, according to multiple Fingerprint picture executes cumulative reference operation, and exports fingerprint typing successful information, then, repeats predetermined registration operation until the N times detect that cumulative reference operation executes completion during executing predetermined registration operation, terminate the first operation in predetermined registration operation, and It exports fingerprint typing and completes prompt information, predetermined registration operation includes following operation: output fingerprint typing guidance information, detection touch-control behaviour Make, when detecting touch control operation, export fingerprint typing successful information, finally, the mesh that storage is obtained according to the reference operation that adds up Piece mark on a map as fingerprint template.As it can be seen that electronic equipment is after obtaining multiple fingerprint pictures, that is, ensureing cumulative benchmark After the precision of calculating, during repeatedly output fingerprint typing guidance information, it is not carried out the acquisition operation of fingerprint picture But the operation of cumulative benchmark is executed, be conducive to shorten the duration that fingerprint template obtains, meanwhile, allow user to be mistakenly considered currently also to exist The operation for carrying out fingerprint typing avoids the user caused by the cumulative reference operation of execution after obtaining all fingerprints of user's typing from recognizing It is in the visual effect of Caton state for mobile phone, is conducive to visually promote fingerprint template input speed.
In a possible example, described multiple fingerprint pictures according to execute cumulative reference operation, comprising:
Obtain the gray value of each pixel in every fingerprint picture;
According to the gray value of each pixel described in every fingerprint picture determine described in the in multiple fingerprint pictures First gray average of each pixel of one group of fingerprint picture;
According to the gray value of each pixel described in every fingerprint picture determine described in the in multiple fingerprint pictures Second gray average of each pixel of two groups of fingerprint pictures;
Determine first gray average and the identical multiple target pixel points of second gray average;
Using first gray average of the multiple target pixel points as noise mean value, and according to the noise mean value The noise for removing any one Zhang Zhiwen picture in multiple described fingerprint pictures obtains the Target Photo.
Wherein, every fingerprint picture is obtained by fingerprint mould group under same screen, that is to say, that every fingerprint picture Size with resolution ratio be as, i.e., the pixel array of every fingerprint image on piece be it is the same, therefore, according to every described The gray value of each pixel described in fingerprint picture determines in multiple described fingerprint pictures the described every of first group of fingerprint picture The specific implementation of first gray average of a pixel is, every fingerprint image on piece in first group of fingerprint picture is identical The gray value of the pixel of position is added, and then divided by the quantity of first group of fingerprint picture middle finger line picture, and then is determined each First gray average of pixel includes for example that 3 fingerprint pictures (are picture 1 respectively, scheme in first group of fingerprint picture Piece 2, picture 3), every fingerprint image on piece have 5 pixels (be respectively pixel 1, pixel 2, pixel 3, pixel 4, as Vegetarian refreshments 5), the first gray average of pixel 1 are as follows: (in picture 1 in gray value+picture 2 of pixel 1 pixel 1 gray value The gray value of pixel 1 in+picture 3)/3=pixel 1 the first gray average, pixel 2, pixel 3, pixel 4, as Described in the first gray average of the calculation method of first gray average of vegetarian refreshments 5 with pixel 1, this will not be repeated here.
Wherein, the concrete methods of realizing of second gray average is identical with the implementation method of above-mentioned first gray average, This will not be repeated here.
Wherein, since in multiple fingerprint pictures in first group of fingerprint picture, the noise of every fingerprint picture is constant (such as spot, scratch etc.), but the dynamics etc. that user presses in every fingerprint picture is different, and therefore, chooses first Gray average and the second gray average are identical for target pixel points, as noise pixel point.
Wherein, it is obtained according to the noise that the noise mean value removes any one Zhang Zhiwen picture in multiple described fingerprint pictures The specific implementation of the Target Photo is to subtract the gray value of multiple target pixel points in any one Zhang Zhiwen picture The picture obtained after first gray average is Target Photo.
Wherein, in multiple described fingerprint pictures the selection of any one Zhang Zhiwen picture can be it is diversified, such as can To be according to the variable quantity of gray value in multiple fingerprint pictures, it is described any one for choosing the maximum fingerprint picture of variable quantity Zhang Zhiwen picture, or can be and choose the least fingerprint picture of pixel quantity of same grayscale value in multiple fingerprint pictures and be Any one Zhang Zhiwen picture, it is not limited here.
As it can be seen that electronic equipment passes through first group of fingerprint picture and second by the way that multiple fingerprint pictures to be grouped in this example The gray average of each pixel of group fingerprint picture determines noise mean value, and then obtains and do not have noisy Target Photo, favorably In the quality for promoting fingerprint template in Target Photo.
In this possible example, the gray value of each pixel according to every fingerprint picture is true First gray average of each pixel of first group of fingerprint picture in multiple fixed described fingerprint pictures, comprising:
First group of fingerprint picture described in multiple described fingerprint pictures is divided at least two regions, in each region Including at least two fingerprint pictures;
At least reference gray level mean value of each pixel described in two fingerprint pictures is executed in each region parallel;
Each pixel of first group of fingerprint picture is determined according to the reference gray level mean value in each region First gray average.
Wherein, at least reference gray level of each pixel described in two fingerprint pictures is executed in each region parallel The specific implementation of mean value can be to be executed in each region at least two fingerprint pictures by multiple thread parallels The reference gray level mean value of each pixel, wherein the quantity of multiple threads can be the number of regions at least two regions Amount is consistent, can also be inconsistent, for example, the quantity of multiple threads can be 2, region quantity can be 4 or Thread Count Amount 4, region quantity 4, it is not limited here.
Wherein, the first gray average of each pixel is the reference gray level mean value phase of the corresponding pixel points in each region Add, the first gray average then obtained divided by the region quantity at least two regions.
As it can be seen that in this example, electronic equipment is by by multiple fingerprint picture subregions in first group of fingerprint picture, then simultaneously Row executes the reference gray level mean value in each region, and then determines the gray average of first group of fingerprint picture, improves serial execution Execution speed, and then promoted fingerprint template acquisition speed.
In a possible example, described multiple fingerprint pictures according to execute cumulative reference operation, comprising:
Multiple described fingerprint pictures are divided at least two groups fingerprint picture;
Parallel to execute third operation and the 4th operation, the third operation is in at least two groups fingerprint picture At least one set of fingerprint picture executes the operation of the cumulative benchmark to obtain the first reference picture, and the 4th operation is for institute State the behaviour that the fingerprint picture at least two groups fingerprint picture in addition at least one set of fingerprint picture executes the cumulative benchmark Make to obtain the second reference picture;
The Target Photo is determined according to first reference picture and second reference picture.
Wherein, the specific implementation of the Target Photo is determined according to first reference picture and second reference picture Mode can be diversified, such as can be that choose fingerprint template integrity degree in two reference pictures higher for target figure Piece, or can be choose fingerprint template in two reference pictures clarity it is higher for Target Photo etc., do not limit herein It is fixed.
Wherein, can also simultaneously it is parallel three operation, four operation etc., it is each operation be directed to one group or multiple groups fingerprint image Piece executes the operation of cumulative benchmark, it is not limited here.
As it can be seen that in this example, electronic equipment by executing third operation and the 4th operation parallel, rather than by multiple fingerprint images Piece carries out serial process, is conducive to promote the speed that fingerprint template obtains, avoids Caton, meanwhile, according at least two groups fingerprint image Two reference pictures that piece obtains determine last Target Photo, are conducive to promote quality and accuracy that fingerprint obtains.
It is described according to first reference picture and second reference picture determination in this possible example Target Photo, comprising:
Determine the coordinate and gray value of each pixel of the first fingerprint image in first reference picture;
Determine the coordinate and gray value of each pixel of the second fingerprint image in second reference picture;
According to the coordinate of each pixel of first fingerprint image and gray value and second fingerprint image The coordinate and gray value of each pixel generate the Target Photo.
Wherein, when typing fingerprint each due to user, the dynamics of pressing and the fingerprint region of typing are different, therefore, described According to each pixel of the coordinate of each pixel of first fingerprint image and gray value and second fingerprint image The specific implementation that the coordinate and gray value of point generate the Target Photo can be the pixel for determining the first fingerprint image With the pixel of the second fingerprint image number, when the second fingerprint image pixel be more than the first fingerprint image pixel When, pixel different from the gray value of pixel in the first reference picture in the second reference picture is obtained, according to the second reference The gray value of these pixels is added in the first reference picture by the coordinate of these pixels in picture, generates Target Photo, Or can be, when the pixel on the left of the first fingerprint image is more than the pixel on right side, choose the in the first reference picture Described in all pixels point group is combined on the right side of the second fingerprint image in one fingerprint image left side all pixels point and the second reference picture Target Photo, it is not limited here.
As it can be seen that the first reference picture and second that electronic equipment is obtained according to cumulative reference operation is with reference to figure in this example Piece determines final Target Photo, rather than just obtains Target Photo according to cumulative reference operation, is conducive to promote fingerprint mould The accuracy and integrity degree that plate obtains.
It is described to terminate the first operation executed in the predetermined registration operation in a possible example, comprising:
Determine whether the operation being currently executing is to detect the touch control operation;
If so, terminating the operation for executing the output fingerprint typing successful information in the predetermined registration operation;
If it is not, then terminating the operation being currently executing described in execution.
As it can be seen that electronic equipment first detects whether the operation being currently executing is touch control operation in this example, when being touch-control When operation, termination is the operation for exporting the fingerprint typing successful information, without terminating current touch control operation, is avoided defeated Out after fingerprint typing guidance information, there are no touch-controls by user, just see the unreasonable message that fingerprint typing is completed, are conducive to mention Rise electronic equipment interacted with user between reasonability.
In a possible example, the Target Photo obtained according to the cumulative reference operation that stores is as fingerprint Template, comprising:
Determine the semaphore of the Target Photo obtained according to the cumulative reference operation and the ratio of spatial noise;
When the ratio of the semaphore and spatial noise that detect the Target Photo is greater than preset threshold, institute is stored Target Photo is stated as fingerprint template.
Wherein it is determined that the semaphore of the Target Photo obtained according to the cumulative reference operation and the ratio of spatial noise The specific implementation of value includes the semaphore and spatial noise of determining Target Photo, then calculates semaphore and spatial noise Ratio, wherein the circular of the semaphore of Target Photo be determine fingerprint image in all salient points pixel First average value of gray value, and determine the second average value of the gray value of the pixel of all concave points, it is average by first Value and the second average value subtract each other the value for obtaining semaphore;Wherein, the circular of the spatial noise of Target Photo is to determine The flatness of concave point determines spatial noise according to flatness, and flatness is higher, and spatial noise is smaller, and flatness is lower, and airspace is made an uproar Sound is bigger.
As it can be seen that electronic equipment is by the semaphore of Target Photo and the ratio of spatial noise to Target Photo in this example Quality testing is carried out, when the ratio of semaphore and spatial noise is greater than preset threshold, shows the noise very little of Target Photo, into And Target Photo is stored as fingerprint template, be conducive to the reliability and accuracy that promote fingerprint template.
It is consistent with above-mentioned embodiment shown in Fig. 2, referring to Fig. 3, Fig. 3 is a kind of fingerprint provided by the embodiments of the present application The flow diagram of template acquisition methods, applied to electronic equipment as shown in Figure 1, the electronic equipment include display screen and Fingerprint mould group under the screen that predeterminable area relative to the display screen is arranged, as shown, this fingerprint template acquisition methods include:
S301, electronic equipment continuous several times acquire user fingerprints information to obtain multiple fingerprint pictures.
S302, the electronic equipment export fingerprint typing guidance information, and work as and detect user for the predeterminable area Touch control operation when, execute cumulative reference operation according to multiple described fingerprint pictures, and export fingerprint typing successful information.
S303, the electronic equipment repeat predetermined registration operation until during n-th executes the predetermined registration operation Detect that the cumulative reference operation executes completion.
S304, the electronic equipment determine whether the operation being currently executing is detection touch control operation.
S305, if the touch control operation, the electronic equipment is then terminated described in the output executed in the predetermined registration operation The operation of fingerprint typing successful information, and export fingerprint typing and complete prompt information.
S306 if not the touch control operation, then terminate the operation being currently executing described in executing, and exports fingerprint record Enter to complete prompt information.
S307, the electronic equipment determine semaphore and the airspace of the Target Photo obtained according to the cumulative reference operation The ratio of noise.
S308, the electronic equipment, which is worked as, detects that the semaphore of the Target Photo and the ratio of spatial noise are greater than When preset threshold, the Target Photo is stored as fingerprint template.
As can be seen that electronic equipment continuous several times acquisition user fingerprints information is referred in the embodiment of the present application with obtaining multiple Line picture, and fingerprint typing guidance information is exported, and when detecting that user is directed to the touch control operation of predeterminable area, according to multiple Fingerprint picture executes cumulative reference operation, and exports fingerprint typing successful information, then, repeats predetermined registration operation until the N times detect that cumulative reference operation executes completion during executing predetermined registration operation, terminate the first operation in predetermined registration operation, and It exports fingerprint typing and completes prompt information, predetermined registration operation includes following operation: output fingerprint typing guidance information, detection touch-control behaviour Make, when detecting touch control operation, export fingerprint typing successful information, finally, the mesh that storage is obtained according to the reference operation that adds up Piece mark on a map as fingerprint template.As it can be seen that electronic equipment is after obtaining multiple fingerprint pictures, that is, ensureing cumulative benchmark After the precision of calculating, during repeatedly output fingerprint typing guidance information, it is not carried out the acquisition operation of fingerprint picture But the operation of cumulative benchmark is executed, be conducive to shorten the duration that fingerprint template obtains, meanwhile, allow user to be mistakenly considered currently also to exist The operation for carrying out fingerprint typing avoids the user caused by the cumulative reference operation of execution after obtaining all fingerprints of user's typing from recognizing It is in the visual effect of Caton state for mobile phone, is conducive to visually promote fingerprint template input speed.
In addition, electronic equipment first detects whether the operation being currently executing is touch control operation, when being touch control operation, eventually Only be the operation for exporting the fingerprint typing successful information, without terminating current touch control operation, avoid in output fingerprint record After entering guidance information, there are no touch-controls by user, just see the unreasonable message that fingerprint typing is completed, and are conducive to promotion electronics and set The standby reasonability between user's interaction.
In addition, electronic equipment carries out quality inspection to Target Photo by the semaphore of Target Photo and the ratio of spatial noise It surveys, when the ratio of semaphore and spatial noise is greater than preset threshold, shows the noise very little of Target Photo, and then store target Picture is conducive to the reliability and accuracy that promote fingerprint template as fingerprint template.
It is consistent with above-mentioned embodiment shown in Fig. 2, referring to Fig. 4, Fig. 4 is a kind of fingerprint provided by the embodiments of the present application The flow diagram of template acquisition methods, applied to electronic equipment as shown in Figure 1, the electronic equipment includes relative to aobvious Fingerprint mould group under the screen of the predeterminable area setting of display screen, as shown, this fingerprint template acquisition methods include:
S401, electronic equipment continuous several times acquire user fingerprints information to obtain multiple fingerprint pictures.
S402, the electronic equipment export fingerprint typing guidance information, and work as and detect user for the predeterminable area Touch control operation when, and export fingerprint typing successful information, obtain the gray value of each pixel in every fingerprint picture.
S403, described in the gray value of the electronic equipment each pixel according to every fingerprint picture determines First gray average of each pixel of first group of fingerprint picture in multiple fingerprint pictures.
S404, described in the gray value of the electronic equipment each pixel according to every fingerprint picture determines Second gray average of each pixel of second group of fingerprint picture in multiple fingerprint pictures.
S405, the electronic equipment determine first gray average and the identical multiple targets of second gray average Pixel.
S406, the electronic equipment using first gray average of the multiple target pixel points as noise mean value, And Target Photo is obtained according to the noise that the noise mean value removes any one Zhang Zhiwen picture in multiple described fingerprint pictures.
S407, the electronic equipment repeat predetermined registration operation until during n-th executes the predetermined registration operation It detects to obtain the Target Photo, terminates the first operation executed in the predetermined registration operation, and export fingerprint typing completion and mention Show information;
Wherein, the predetermined registration operation includes following operation: exporting the fingerprint typing guidance information, and the detection touching Control operation, and when detecting the touch control operation, the fingerprint typing successful information is exported, first operation includes institute Any operation in predetermined registration operation is stated, N is positive integer.
S408, the electronic equipment store the Target Photo as fingerprint template.
As can be seen that electronic equipment continuous several times acquisition user fingerprints information is referred in the embodiment of the present application with obtaining multiple Line picture, and fingerprint typing guidance information is exported, and when detecting that user is directed to the touch control operation of predeterminable area, according to multiple Fingerprint picture executes cumulative reference operation, and exports fingerprint typing successful information, then, repeats predetermined registration operation until the N times detect that cumulative reference operation executes completion during executing predetermined registration operation, terminate the first operation in predetermined registration operation, and It exports fingerprint typing and completes prompt information, predetermined registration operation includes following operation: output fingerprint typing guidance information, detection touch-control behaviour Make, when detecting touch control operation, export fingerprint typing successful information, finally, the mesh that storage is obtained according to the reference operation that adds up Piece mark on a map as fingerprint template.As it can be seen that electronic equipment is after obtaining multiple fingerprint pictures, that is, ensureing cumulative benchmark After the precision of calculating, during repeatedly output fingerprint typing guidance information, it is not carried out the acquisition operation of fingerprint picture But the operation of cumulative benchmark is executed, be conducive to shorten the duration that fingerprint template obtains, meanwhile, allow user to be mistakenly considered currently also to exist The operation for carrying out fingerprint typing avoids the user caused by the cumulative reference operation of execution after obtaining all fingerprints of user's typing from recognizing It is in the visual effect of Caton state for mobile phone, is conducive to visually promote fingerprint template input speed.
In addition, electronic equipment passes through first group of fingerprint picture and second group of fingerprint image by the way that multiple fingerprint pictures to be grouped The gray average of each pixel of piece determines noise mean value, and then obtains and do not have noisy Target Photo, is conducive to promote mesh It marks on a map the quality of fingerprint template in piece.
It is consistent with above-mentioned Fig. 2, Fig. 3, embodiment shown in Fig. 4, referring to Fig. 5, Fig. 5 is provided by the embodiments of the present application The structural schematic diagram of a kind of electronic equipment 500, the electronic equipment include display screen and the predeterminable area relative to the display screen Fingerprint mould group under the screen of setting, as shown, the electronic equipment 500 connects including application processor 510, memory 520, communication Mouth 530 and one or more programs 521, wherein one or more of programs 521 are stored in above-mentioned memory 520, And it is configured to be executed by above-mentioned application processor 510, one or more of programs 521 include for executing following steps Instruction:
Continuous several times acquire user fingerprints information to obtain multiple fingerprint pictures;
Fingerprint typing guidance information is exported, and when detecting that user is directed to the touch control operation of the predeterminable area, according to Multiple described fingerprint pictures execute cumulative reference operation, and export fingerprint typing successful information;
Predetermined registration operation is repeated until detecting the cumulative benchmark during n-th executes the predetermined registration operation Operation executes completion, terminates the first operation executed in the predetermined registration operation, and exports fingerprint typing and complete prompt information, described Predetermined registration operation includes following operation: exporting the fingerprint typing guidance information, and the detection touch control operation, and is detecting When to the touch control operation, the fingerprint typing successful information is exported, first operation includes appointing in the predetermined registration operation One operation, N is positive integer;
The Target Photo obtained according to the cumulative reference operation is stored as fingerprint template.
As can be seen that electronic equipment continuous several times acquisition user fingerprints information is referred in the embodiment of the present application with obtaining multiple Line picture, and fingerprint typing guidance information is exported, and when detecting that user is directed to the touch control operation of predeterminable area, according to multiple Fingerprint picture executes cumulative reference operation, and exports fingerprint typing successful information, then, repeats predetermined registration operation until the N times detect that cumulative reference operation executes completion during executing predetermined registration operation, terminate the first operation in predetermined registration operation, and It exports fingerprint typing and completes prompt information, predetermined registration operation includes following operation: output fingerprint typing guidance information, detection touch-control behaviour Make, when detecting touch control operation, export fingerprint typing successful information, finally, the mesh that storage is obtained according to the reference operation that adds up Piece mark on a map as fingerprint template.As it can be seen that electronic equipment is after obtaining multiple fingerprint pictures, that is, ensureing cumulative benchmark After the precision of calculating, during repeatedly output fingerprint typing guidance information, it is not carried out the acquisition operation of fingerprint picture But the operation of cumulative benchmark is executed, be conducive to shorten the duration that fingerprint template obtains, meanwhile, allow user to be mistakenly considered currently also to exist The operation for carrying out fingerprint typing avoids the user caused by the cumulative reference operation of execution after obtaining all fingerprints of user's typing from recognizing It is in the visual effect of Caton state for mobile phone, is conducive to visually promote fingerprint template input speed.
In a possible example, in terms of described multiple fingerprint pictures according to execute cumulative reference operation, institute It states the instruction in program 521 to be specifically used for executing following operation: obtaining the gray value of each pixel in every fingerprint picture;With And first in multiple fingerprint pictures described in the gray value determination for each pixel according to every fingerprint picture First gray average of each pixel of group fingerprint picture;And for every according to every fingerprint picture The gray value of a pixel determines the second ash of each pixel of second group of fingerprint picture in multiple described fingerprint pictures Spend mean value;And for determining first gray average and the identical multiple target pixel points of second gray average;With And for first gray average using the multiple target pixel points as noise mean value, and gone according to the noise mean value Except the noise of any one Zhang Zhiwen picture in multiple described fingerprint pictures obtains the Target Photo.
In this possible example, in the gray value of each pixel according to every fingerprint picture It determines in multiple described fingerprint pictures in terms of the first gray average of each pixel of first group of fingerprint picture, the journey Instruction in sequence 521 is specifically used for executing following operation: first group of fingerprint picture described in multiple described fingerprint pictures is divided into At least two regions include at least two fingerprint pictures in each region;And for executing each region parallel In at least each pixel described in two fingerprint pictures reference gray level mean value;And for the ginseng according to each region Examine first gray average that gray average determines each pixel of first group of fingerprint picture.
In a possible example, in terms of described multiple fingerprint pictures according to execute cumulative reference operation, institute It states the instruction in program 521 to be specifically used for executing following operation: multiple described fingerprint pictures is divided at least two groups fingerprint picture; And for executing third operation and the 4th operation parallel, the third operation is in at least two groups fingerprint picture At least one set of fingerprint picture executes the operation of the cumulative benchmark to obtain the first reference picture, and the 4th operation is for institute State the behaviour that the fingerprint picture at least two groups fingerprint picture in addition at least one set of fingerprint picture executes the cumulative benchmark Make to obtain the second reference picture;And for determining the mesh according to first reference picture and second reference picture It marks on a map piece.
In this possible example, institute is determined according to first reference picture and second reference picture described In terms of stating Target Photo, the instruction in described program 521 is specifically used for executing following operation: determining in first reference picture The coordinate and gray value of each pixel of first fingerprint image;And for determining the second fingerprint in second reference picture The coordinate and gray value of each pixel of image;And for the coordinate according to each pixel of first fingerprint image And the coordinate and gray value of each pixel of gray value and second fingerprint image generate the Target Photo.
In a possible example, in first operating aspect for terminating and executing in the predetermined registration operation, the journey Instruction in sequence 521 is specifically used for executing following operation: determining whether the operation being currently executing is to detect the touch-control behaviour Make;And for if so, terminating the operation for executing the output fingerprint typing successful information in the predetermined registration operation; And for if it is not, then terminating the operation being currently executing described in execution.
In a possible example, it is used as and refers in the Target Photo that the storage is obtained according to the cumulative reference operation In terms of line template, the instruction in described program 521 is specifically used for executing following operation: determination is obtained according to the cumulative reference operation The semaphore of the Target Photo arrived and the ratio of spatial noise;And for when the letter for detecting the Target Photo When number amount is greater than preset threshold with the ratio of spatial noise, the Target Photo is stored as fingerprint template.
It is above-mentioned that mainly the scheme of the embodiment of the present application is described from the angle of method side implementation procedure.It is understood that , in order to realize the above functions, it comprises execute the corresponding hardware configuration of each function and/or software mould for electronic equipment Block.Those skilled in the art should be readily appreciated that, in conjunction with each exemplary unit of embodiment description presented herein And algorithm steps, the application can be realized with the combining form of hardware or hardware and computer software.Some function actually with Hardware or computer software drive the mode of hardware to execute, the specific application and design constraint item depending on technical solution Part.Professional technician can specifically realize described function to each using distinct methods, but this reality Now it is not considered that exceeding scope of the present application.
The embodiment of the present application can carry out the division of functional unit according to above method example to electronic equipment, for example, can With each functional unit of each function division of correspondence, two or more functions can also be integrated in a processing unit In.Above-mentioned integrated unit both can take the form of hardware realization, can also realize in the form of software functional units.It needs It is noted that be schematical, only a kind of logical function partition to the division of unit in the embodiment of the present application, it is practical real It is current that there may be another division manner.
Fig. 6 is the functional unit composition block diagram of fingerprint template acquisition device 600 involved in the embodiment of the present application.This refers to Line template acquisition device 600 is applied to electronic equipment, and the electronic equipment includes display screen and relative to the pre- of the display screen If fingerprint mould group under the screen of region setting, the fingerprint template acquisition device 600 include processing unit 601 and communication unit 602, In:
The processing unit 601, for acquiring user fingerprints information by 602 continuous several times of communication unit to obtain Multiple fingerprint pictures;And for exporting fingerprint typing guidance information by the communication unit 602, and works as and detect user's needle When to the touch control operation of the predeterminable area, cumulative reference operation is executed according to multiple described fingerprint pictures, and by described logical Believe that unit 602 exports fingerprint typing successful information;And it is described default until being executed in n-th for repeating predetermined registration operation It detects that the cumulative reference operation executes completion during operation, terminates the first operation executed in the predetermined registration operation, And fingerprint typing is exported by the communication unit 602 and completes prompt information, the predetermined registration operation includes following operation: output institute Fingerprint typing guidance information, and the detection touch control operation are stated, and when detecting the touch control operation, exports the finger Line typing successful information, first operation include any operation in the predetermined registration operation, and N is positive integer;And for depositing The Target Photo obtained according to the cumulative reference operation is stored up as fingerprint template.
Wherein, the fingerprint template acquisition device 600 can also include storage unit 603, for storing electronic equipment Program code and data.The processing unit 601 can be processor, the communication unit 602 can be touching display screen or Person's transceiver, storage unit 603 can be memory.
As can be seen that electronic equipment continuous several times acquisition user fingerprints information is referred in the embodiment of the present application with obtaining multiple Line picture, and fingerprint typing guidance information is exported, and when detecting that user is directed to the touch control operation of predeterminable area, according to multiple Fingerprint picture executes cumulative reference operation, and exports fingerprint typing successful information, then, repeats predetermined registration operation until the N times detect that cumulative reference operation executes completion during executing predetermined registration operation, terminate the first operation in predetermined registration operation, and It exports fingerprint typing and completes prompt information, predetermined registration operation includes following operation: output fingerprint typing guidance information, detection touch-control behaviour Make, when detecting touch control operation, export fingerprint typing successful information, finally, the mesh that storage is obtained according to the reference operation that adds up Piece mark on a map as fingerprint template.As it can be seen that electronic equipment is after obtaining multiple fingerprint pictures, that is, ensureing cumulative benchmark After the precision of calculating, during repeatedly output fingerprint typing guidance information, it is not carried out the acquisition operation of fingerprint picture But the operation of cumulative benchmark is executed, be conducive to shorten the duration that fingerprint template obtains, meanwhile, allow user to be mistakenly considered currently also to exist The operation for carrying out fingerprint typing avoids the user caused by the cumulative reference operation of execution after obtaining all fingerprints of user's typing from recognizing It is in the visual effect of Caton state for mobile phone, is conducive to visually promote fingerprint template input speed.
In a possible example, in terms of described multiple fingerprint pictures according to execute cumulative reference operation, institute It states processing unit 601 to be specifically used for: obtaining the gray value of each pixel in every fingerprint picture;And for according to described every The gray value of each pixel described in Zhang Zhiwen picture determines in multiple described fingerprint pictures the described of first group of fingerprint picture First gray average of each pixel;And the gray value for each pixel according to every fingerprint picture Determine the second gray average of each pixel of second group of fingerprint picture in multiple described fingerprint pictures;And for true Fixed first gray average and the identical multiple target pixel points of second gray average;And for the multiple mesh First gray average of pixel is marked as noise mean value, and multiple described fingerprint pictures are removed according to the noise mean value In the noise of any one Zhang Zhiwen picture obtain the Target Photo.
In this possible example, in the gray value of each pixel according to every fingerprint picture It determines in multiple described fingerprint pictures in terms of the first gray average of each pixel of first group of fingerprint picture, the place Reason unit 601 is specifically used for: first group of fingerprint picture described in multiple described fingerprint pictures being divided at least two regions, each It include at least two fingerprint pictures in the region;And for executing at least two fingerprint pictures in each region parallel Described in each pixel reference gray level mean value;And for according to the determination of the reference gray level mean value in each region First gray average of each pixel of first group of fingerprint picture.
In a possible example, in terms of described multiple fingerprint pictures according to execute cumulative reference operation, institute It states processing unit 601 to be specifically used for: multiple described fingerprint pictures is divided at least two groups fingerprint picture;And for executing parallel Third operation and the 4th operation, the third operation is at least one set of fingerprint picture in at least two groups fingerprint picture The operation of the cumulative benchmark is executed to obtain the first reference picture, the 4th operation is for at least two groups fingerprint image Fingerprint picture in piece in addition at least one set of fingerprint picture executes the operation of the cumulative benchmark to obtain the second reference Picture;And for determining the Target Photo according to first reference picture and second reference picture.
In this possible example, institute is determined according to first reference picture and second reference picture described In terms of stating Target Photo, the processing unit 601 is specifically used for: determining the every of the first fingerprint image in first reference picture The coordinate and gray value of a pixel;And each pixel for determining the second fingerprint image in second reference picture Coordinate and gray value;And for the coordinate and gray value according to each pixel of first fingerprint image, Yi Jisuo The coordinate and gray value for stating each pixel of the second fingerprint image generate the Target Photo.
In a possible example, at first operating aspect for terminating and executing in the predetermined registration operation, the place Reason unit 601 is specifically used for: determining whether the operation being currently executing is to detect the touch control operation;And be used for if so, Then terminate the behaviour that the fingerprint typing successful information is exported by the communication unit 602 executed in the predetermined registration operation Make;And for if it is not, then terminating the operation being currently executing described in execution.
In a possible example, it is used as and refers in the Target Photo that the storage is obtained according to the cumulative reference operation In terms of line template, the processing unit 601 is specifically used for: determining the Target Photo obtained according to the cumulative reference operation Semaphore and spatial noise ratio;And for when the semaphore and spatial noise for detecting the Target Photo When ratio is greater than preset threshold, the Target Photo is stored as fingerprint template.
The embodiment of the present application also provides a kind of computer storage medium, wherein computer storage medium storage is for electricity The computer program of subdata exchange, the computer program make computer execute any as recorded in above method embodiment Some or all of method step, above-mentioned computer include electronic equipment.
The embodiment of the present application also provides a kind of computer program product, and above-mentioned computer program product includes storing calculating The non-transient computer readable storage medium of machine program, above-mentioned computer program are operable to that computer is made to execute such as above-mentioned side Some or all of either record method step in method embodiment.The computer program product can be a software installation Packet, above-mentioned computer includes electronic equipment.
It should be noted that for the various method embodiments described above, for simple description, therefore, it is stated as a series of Combination of actions, but those skilled in the art should understand that, the application is not limited by the described action sequence because According to the application, some steps may be performed in other sequences or simultaneously.Secondly, those skilled in the art should also know It knows, the embodiments described in the specification are all preferred embodiments, related actions and modules not necessarily the application It is necessary.
In the above-described embodiments, it all emphasizes particularly on different fields to the description of each embodiment, there is no the portion being described in detail in some embodiment Point, reference can be made to the related descriptions of other embodiments.
In several embodiments provided herein, it should be understood that disclosed device, it can be by another way It realizes.For example, the apparatus embodiments described above are merely exemplary, such as the division of said units, it is only a kind of Logical function partition, there may be another division manner in actual implementation, such as multiple units or components can combine or can To be integrated into another system, or some features can be ignored or not executed.Another point, shown or discussed is mutual Coupling, direct-coupling or communication connection can be through some interfaces, the indirect coupling or communication connection of device or unit, It can be electrical or other forms.
Above-mentioned unit as illustrated by the separation member may or may not be physically separated, aobvious as unit The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme 's.
It, can also be in addition, each functional unit in each embodiment of the application can integrate in one processing unit It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list Member both can take the form of hardware realization, can also realize in the form of software functional units.
If above-mentioned integrated unit is realized in the form of SFU software functional unit and sells or use as independent product When, it can store in a computer-readable access to memory.Based on this understanding, the technical solution of the application substantially or Person says that all or part of the part that contributes to existing technology or the technical solution can body in the form of software products Reveal and, which is stored in a memory, including some instructions are used so that a computer equipment (can be personal computer, server or network equipment etc.) executes all or part of each embodiment above method of the application Step.And memory above-mentioned includes: USB flash disk, read-only memory (ROM, Read-Only Memory), random access memory The various media that can store program code such as (RAM, Random Access Memory), mobile hard disk, magnetic or disk.
Those of ordinary skill in the art will appreciate that all or part of the steps in the various methods of above-described embodiment is can It is completed with instructing relevant hardware by program, which can store in a computer-readable memory, memory May include: flash disk, read-only memory (English: Read-Only Memory, referred to as: ROM), random access device (English: Random Access Memory, referred to as: RAM), disk or CD etc..
The embodiment of the present application is described in detail above, specific case used herein to the principle of the application and Embodiment is expounded, the description of the example is only used to help understand the method for the present application and its core ideas; At the same time, for those skilled in the art can in specific embodiments and applications according to the thought of the application There is change place, in conclusion the contents of this specification should not be construed as limiting the present application.

Claims (10)

1. a kind of fingerprint template acquisition methods, which is characterized in that be applied to electronic equipment, the electronic equipment include display screen and Fingerprint mould group under the screen that predeterminable area relative to the display screen is arranged, which comprises
Continuous several times acquire user fingerprints information to obtain multiple fingerprint pictures;
Fingerprint typing guidance information is exported, and when detecting that user is directed to the touch control operation of the predeterminable area, according to described Multiple fingerprint pictures execute cumulative reference operation, and export fingerprint typing successful information;
Predetermined registration operation is repeated until detecting the cumulative reference operation during n-th executes the predetermined registration operation Completion is executed, the first operation executed in the predetermined registration operation is terminated, and exports fingerprint typing and completes prompt information, it is described default Operation includes following operation: exporting the fingerprint typing guidance information, and the detection touch control operation, and detecting When stating touch control operation, the fingerprint typing successful information is exported, first operation includes any behaviour in the predetermined registration operation Make, N is positive integer;
The Target Photo obtained according to the cumulative reference operation is stored as fingerprint template.
2. the method according to claim 1, wherein described multiple fingerprint pictures according to execute cumulative benchmark Operation, comprising:
Obtain the gray value of each pixel in every fingerprint picture;
According to first group in multiple fingerprint pictures described in the determination of the gray value of each pixel described in every fingerprint picture First gray average of each pixel of fingerprint picture;
According to second group in multiple fingerprint pictures described in the determination of the gray value of each pixel described in every fingerprint picture Second gray average of each pixel of fingerprint picture;
Determine first gray average and the identical multiple target pixel points of second gray average;
Using first gray average of the multiple target pixel points as noise mean value, and removed according to the noise mean value The noise of any one Zhang Zhiwen picture obtains the Target Photo in multiple described fingerprint pictures.
3. according to the method described in claim 2, it is characterized in that, each picture according to every fingerprint picture The gray value of vegetarian refreshments determines that the first gray scale of each pixel of first group of fingerprint picture in multiple described fingerprint pictures is equal Value, comprising:
First group of fingerprint picture described in multiple described fingerprint pictures is divided at least two regions, includes in each region At least two fingerprint pictures;
At least reference gray level mean value of each pixel described in two fingerprint pictures is executed in each region parallel;
The institute of each pixel of first group of fingerprint picture is determined according to the reference gray level mean value in each region State the first gray average.
4. the method according to claim 1, wherein described multiple fingerprint pictures according to execute cumulative benchmark Operation, comprising:
Multiple described fingerprint pictures are divided at least two groups fingerprint picture;
It is parallel to execute third operation and the 4th operation, the third operation for in at least two groups fingerprint picture at least One group of fingerprint picture executes the operation of the cumulative benchmark to obtain the first reference picture, the 4th operation for for it is described extremely Fingerprint picture in few two groups of fingerprint pictures in addition at least one set of fingerprint picture execute the operation of the cumulative benchmark with Obtain the second reference picture;
The Target Photo is determined according to first reference picture and second reference picture.
5. according to the method described in claim 4, it is characterized in that, described join according to first reference picture with described second It examines picture and determines the Target Photo, comprising:
Determine the coordinate and gray value of each pixel of the first fingerprint image in first reference picture;
Determine the coordinate and gray value of each pixel of the second fingerprint image in second reference picture;
According to each of the coordinate of each pixel of first fingerprint image and gray value and second fingerprint image The coordinate and gray value of pixel generate the Target Photo.
6. method according to claim 1-5, which is characterized in that the termination executes in the predetermined registration operation First operation, comprising:
Determine whether the operation being currently executing is to detect the touch control operation;
If so, terminating the operation for executing the output fingerprint typing successful information in the predetermined registration operation;
If it is not, then terminating the operation being currently executing described in execution.
7. method according to claim 1-6, which is characterized in that the storage is according to the cumulative reference operation Obtained Target Photo is as fingerprint template, comprising:
Determine the semaphore of the Target Photo obtained according to the cumulative reference operation and the ratio of spatial noise;
When the ratio of the semaphore and spatial noise that detect the Target Photo is greater than preset threshold, the mesh is stored Piece mark on a map as fingerprint template.
8. a kind of fingerprint template acquisition device, which is characterized in that be applied to electronic equipment, the electronic equipment include display screen and Fingerprint mould group under the screen that predeterminable area relative to the display screen is arranged, the fingerprint template acquisition device includes processing unit And communication unit, wherein
The processing unit, for acquiring user fingerprints information by the communication unit continuous several times to obtain multiple fingerprint images Piece;And for exporting fingerprint typing guidance information by the communication unit, and works as and detect user for the preset areas When the touch control operation in domain, cumulative reference operation is executed according to multiple described fingerprint pictures, and refer to by communication unit output Line typing successful information;And it is examined for repeating predetermined registration operation until during n-th executes the predetermined registration operation It measures the cumulative reference operation and executes completion, terminate the first operation executed in the predetermined registration operation, and pass through the communication Unit exports fingerprint typing and completes prompt information, and the predetermined registration operation includes following operation: exporting the fingerprint typing guidance letter Breath, and the detection touch control operation, and when detecting the touch control operation, the fingerprint typing successful information is exported, First operation includes any operation in the predetermined registration operation, and N is positive integer;And for storing according to the cumulative base The Target Photo that quasi- operation obtains is as fingerprint template.
9. a kind of electronic equipment, which is characterized in that including processor, memory, communication interface, and one or more programs, One or more of programs are stored in the memory, and are configured to be executed by the processor, described program packet Include the instruction for executing the step in the method according to claim 1 to 7.
10. a kind of computer readable storage medium, which is characterized in that storage is used for the computer program of electronic data interchange, In, the computer program makes computer execute the method according to claim 1 to 7.
CN201910126486.6A 2019-02-20 2019-02-20 Fingerprint template acquisition method and related device Active CN109886189B (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
CN201910126486.6A CN109886189B (en) 2019-02-20 2019-02-20 Fingerprint template acquisition method and related device
CN202110536799.6A CN113239817A (en) 2019-02-20 2019-02-20 Fingerprint template acquisition method and related device
PCT/CN2020/071849 WO2020168861A1 (en) 2019-02-20 2020-01-13 Method for obtaining fingerprint template and related device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910126486.6A CN109886189B (en) 2019-02-20 2019-02-20 Fingerprint template acquisition method and related device

Related Child Applications (1)

Application Number Title Priority Date Filing Date
CN202110536799.6A Division CN113239817A (en) 2019-02-20 2019-02-20 Fingerprint template acquisition method and related device

Publications (2)

Publication Number Publication Date
CN109886189A true CN109886189A (en) 2019-06-14
CN109886189B CN109886189B (en) 2021-06-04

Family

ID=66928590

Family Applications (2)

Application Number Title Priority Date Filing Date
CN201910126486.6A Active CN109886189B (en) 2019-02-20 2019-02-20 Fingerprint template acquisition method and related device
CN202110536799.6A Pending CN113239817A (en) 2019-02-20 2019-02-20 Fingerprint template acquisition method and related device

Family Applications After (1)

Application Number Title Priority Date Filing Date
CN202110536799.6A Pending CN113239817A (en) 2019-02-20 2019-02-20 Fingerprint template acquisition method and related device

Country Status (2)

Country Link
CN (2) CN109886189B (en)
WO (1) WO2020168861A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111443934A (en) * 2020-03-31 2020-07-24 广州市百果园信息技术有限公司 Gray scale user determination method, device, equipment and storage medium
WO2020168861A1 (en) * 2019-02-20 2020-08-27 Oppo广东移动通信有限公司 Method for obtaining fingerprint template and related device

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115131835B (en) * 2022-09-02 2023-01-13 荣耀终端有限公司 Fingerprint identification method and electronic equipment

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103942540A (en) * 2014-04-10 2014-07-23 杭州景联文科技有限公司 False fingerprint detection algorithm based on curvelet texture analysis and SVM-KNN classification
CN105956448A (en) * 2016-05-27 2016-09-21 广东欧珀移动通信有限公司 Fingerprint unlocking method and apparatus, and user terminal
US20170147800A1 (en) * 2015-11-19 2017-05-25 Hewlett-Packard Development Company, L.P. Fingerprint scans with power buttons
CN107169479A (en) * 2017-06-26 2017-09-15 西北工业大学 Intelligent mobile equipment sensitive data means of defence based on fingerprint authentication
CN107179871A (en) * 2017-04-28 2017-09-19 广东欧珀移动通信有限公司 Fingerprint recognition region display methods and Related product
CN108205663A (en) * 2017-12-29 2018-06-26 李文清 A kind of vehicle startup system based on fingerprint recognition
CN108764015A (en) * 2015-10-19 2018-11-06 广东欧珀移动通信有限公司 A kind of acquisition methods, device and the mobile terminal of fingerprint image to be identified
CN109241859A (en) * 2018-08-13 2019-01-18 Oppo广东移动通信有限公司 Fingerprint identification method and Related product

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016029346A1 (en) * 2014-08-25 2016-03-03 华为技术有限公司 Fingerprint extraction method and apparatus
KR101639986B1 (en) * 2015-10-07 2016-07-15 크루셜텍 (주) Fingerprint information processing method and apparatus for speed improvement of fingerprint registration and authentification
CN107025419B (en) * 2016-01-29 2020-11-10 北京小米移动软件有限公司 Fingerprint template inputting method and device
CN107609375B (en) * 2016-05-30 2020-01-21 Oppo广东移动通信有限公司 Unlocking control method and related product
CN107025434A (en) * 2017-03-08 2017-08-08 广东欧珀移动通信有限公司 A kind of fingerprint register method and mobile terminal
CN108053371B (en) * 2017-11-30 2022-04-19 努比亚技术有限公司 Image processing method, terminal and computer readable storage medium
CN109886189B (en) * 2019-02-20 2021-06-04 Oppo广东移动通信有限公司 Fingerprint template acquisition method and related device

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103942540A (en) * 2014-04-10 2014-07-23 杭州景联文科技有限公司 False fingerprint detection algorithm based on curvelet texture analysis and SVM-KNN classification
CN108764015A (en) * 2015-10-19 2018-11-06 广东欧珀移动通信有限公司 A kind of acquisition methods, device and the mobile terminal of fingerprint image to be identified
US20170147800A1 (en) * 2015-11-19 2017-05-25 Hewlett-Packard Development Company, L.P. Fingerprint scans with power buttons
CN105956448A (en) * 2016-05-27 2016-09-21 广东欧珀移动通信有限公司 Fingerprint unlocking method and apparatus, and user terminal
CN107179871A (en) * 2017-04-28 2017-09-19 广东欧珀移动通信有限公司 Fingerprint recognition region display methods and Related product
CN107169479A (en) * 2017-06-26 2017-09-15 西北工业大学 Intelligent mobile equipment sensitive data means of defence based on fingerprint authentication
CN108205663A (en) * 2017-12-29 2018-06-26 李文清 A kind of vehicle startup system based on fingerprint recognition
CN109241859A (en) * 2018-08-13 2019-01-18 Oppo广东移动通信有限公司 Fingerprint identification method and Related product

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
孙以雷等: "指纹图像的预处理算法", 《计算机测量与控制》 *
谢红芝等: "基于MMX技术的指纹图像并行处理算法", 《中国优秀博硕士学位论文全文数据库 (硕士) 信息科技辑》 *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020168861A1 (en) * 2019-02-20 2020-08-27 Oppo广东移动通信有限公司 Method for obtaining fingerprint template and related device
CN111443934A (en) * 2020-03-31 2020-07-24 广州市百果园信息技术有限公司 Gray scale user determination method, device, equipment and storage medium
CN111443934B (en) * 2020-03-31 2023-05-16 广州市百果园信息技术有限公司 Gray scale user determination method, device, equipment and storage medium

Also Published As

Publication number Publication date
WO2020168861A1 (en) 2020-08-27
CN113239817A (en) 2021-08-10
CN109886189B (en) 2021-06-04

Similar Documents

Publication Publication Date Title
CN109583320A (en) Fingerprint identification method and relevant apparatus
CN109886189A (en) Fingerprint template acquisition methods and relevant apparatus
EP3910535A1 (en) Fingerprint input method and related device
CN107527046A (en) Solve lock control method and Related product
CN109711255A (en) Fingerprint collecting method and relevant apparatus
CN109886162A (en) Fingerprint authentication method and relevant apparatus
CN107506629B (en) Unlocking control method and related product
WO2020168858A1 (en) Data self-calibration method and related apparatus
CN102810015B (en) Input method based on space motion and terminal
CN109670291A (en) A kind of implementation method of identifying code, device and storage medium
CN114402369A (en) Human body posture recognition method and device, storage medium and electronic equipment
CN110506252B (en) Terminal screen is fixed a position to transform relation based on mark figure point coordinate in pattern
CN110147751A (en) A kind of method and device of fingerprint detection
CN105518717B (en) A kind of face identification method and device
CN109933970A (en) A kind of graphic verification code detection method, device and storage medium
CN108961183A (en) Image processing method, terminal device and computer readable storage medium
CN109858221A (en) Application control method and relevant apparatus
CN110222651A (en) A kind of human face posture detection method, device, terminal device and readable storage medium storing program for executing
CN110346704A (en) Determination method, apparatus, equipment and the storage medium of test file in board test
CN109543385A (en) Event-handling method and relevant device
CN109164972A (en) A kind of control method, control device and mobile terminal
CN112070456A (en) Task issuing method, terminal equipment, robot and storage medium
CN110187806A (en) Fingerprint template input method and relevant apparatus
CN109241899A (en) Fingerprint identification method and relevant apparatus
CN111489433A (en) Vehicle damage positioning method and device, electronic equipment and 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
GR01 Patent grant
GR01 Patent grant