CN104978572B - A kind of fingerprint collecting method and terminal - Google Patents
A kind of fingerprint collecting method and terminal Download PDFInfo
- Publication number
- CN104978572B CN104978572B CN201510381178.XA CN201510381178A CN104978572B CN 104978572 B CN104978572 B CN 104978572B CN 201510381178 A CN201510381178 A CN 201510381178A CN 104978572 B CN104978572 B CN 104978572B
- Authority
- CN
- China
- Prior art keywords
- fingerprint
- image
- acquisition window
- collecting
- window
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V40/00—Recognition of biometric, human-related or animal-related patterns in image or video data
- G06V40/10—Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
- G06V40/12—Fingerprints or palmprints
- G06V40/13—Sensors therefor
Landscapes
- Engineering & Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Multimedia (AREA)
- Theoretical Computer Science (AREA)
- Image Input (AREA)
- Measurement Of The Respiration, Hearing Ability, Form, And Blood Characteristics Of Living Organisms (AREA)
Abstract
The embodiment of the present invention discloses a kind of fingerprint collecting method and terminal, wherein method include the following steps:It receives the instruction of fingerprint collecting and opens the first acquisition window of fingerprint sensor according to described instruction;It controls first acquisition window and carries out fingerprint collecting according to prefixed time interval;When detecting the collected object for contacting the fingerprint sensor, fingerprint collecting is carried out to generate the first image to the collected object by first acquisition window;Judge whether described first image is effective fingerprint image, if so, opening the second acquisition window of the fingerprint sensor, and fingerprint collecting is carried out to generate the second image to the collected object by second acquisition window and first acquisition window.Using the present invention, the power consumption of fingerprint sensor in terminal can be reduced, improves the cruising ability of terminal.
Description
Technical field
The present invention relates to electronic technology field more particularly to a kind of fingerprint collecting method and terminals.
Background technology
With the development of information technology and electronic technology, terminal (such as:Mobile phone, tablet etc.) with the daily life of people
Work is closely bound up, since various functions may be implemented in terminal, such as makes a phone call, takes pictures, storing Miscellaneous Documents, Instant Messenger
Letter, on-line payment etc., people are higher and higher to the dependence of terminal, and all kinds of privacy informations are saved in terminal, this is allowed for
The safety of terminal is particularly important.In the prior art, it is mounted with fingerprint sensor in the terminal, since fingerprint is finger watch musculus cutaneus
The lines for formation that skin is rough and uneven in surface, and fingerprint characteristic has the characteristics that uniqueness, stability, therefore fingerprint sensor can be used to know
Other user identity, to ensure the safety of terminal.
Currently, when existing fingerprint sensor is installed in terminal, generally glass cover-plate will be installed in outmost surface,
Or it is set to the lower section of monolithic glass panel, but in this way due to every glass cover-plate, needing raising power consumption that can just penetrate glass
Glass cover board recognizes the fingerprint of user, while finger is put on sensor and needs constantly to acquire without response by user in order to prevent
Image, if since maloperation starts fingerprint sensor, fingerprint sensor can acquire image, increase terminal all the time
Power consumption reduces the cruising ability of terminal.
Invention content
A kind of fingerprint collecting method of offer of the embodiment of the present invention and terminal, can reduce the power consumption of fingerprint sensor in terminal
Amount, improves the cruising ability of terminal.
First aspect of the embodiment of the present invention provides a kind of fingerprint collecting method, including:
It receives the instruction of fingerprint collecting and opens the first acquisition window of fingerprint sensor according to instruction;
It controls the first acquisition window and carries out fingerprint collecting according to prefixed time interval;
When detecting the collected object of contact fingerprint sensor, collected object is carried out by the first acquisition window
Fingerprint collecting is to generate the first image;
Judge whether the first image is effective fingerprint image, if so, the second acquisition window of fingerprint sensor is opened, and
Fingerprint collecting is carried out to generate the second image to collected object by the second acquisition window and the first acquisition window.
Second aspect of the embodiment of the present invention provides a kind of fingerprint collecting method, including:
It receives the instruction of fingerprint collecting and opens the first acquisition window of fingerprint sensor according to instruction;
It controls the first acquisition window and carries out fingerprint collecting;
When detecting the collected object of contact fingerprint sensor, collected object is carried out by the first acquisition window
Fingerprint collecting is to generate the first image;
Judge whether the first image is effective fingerprint image, if so, the second acquisition window of fingerprint sensor is opened, and
Fingerprint collecting is carried out to generate the second image to collected object by the second acquisition window and the first acquisition window.
The third aspect of the embodiment of the present invention provides a kind of terminal, including:
Opening unit, instruction for receiving fingerprint collecting and the first collecting window that fingerprint sensor is opened according to instruction
Mouthful;
Control unit carries out fingerprint collecting for controlling the first acquisition window according to prefixed time interval;
Collecting unit, for when detecting the collected object of contact fingerprint sensor, passing through the first acquisition window pair
Collected object carries out fingerprint collecting to generate the first image;
Collecting unit is additionally operable to judge whether the first image is effective fingerprint image, if so, opening fingerprint sensor
Second acquisition window, and fingerprint collecting carried out to collected object by the second acquisition window and the first acquisition window to generate the
Two images.
Fourth aspect of the embodiment of the present invention provides a kind of terminal, including:
Opening unit, instruction for receiving fingerprint collecting and the first collecting window that fingerprint sensor is opened according to instruction
Mouthful;
Control unit carries out fingerprint collecting for controlling the first acquisition window;
Collecting unit is additionally operable to judge whether the first image is effective fingerprint image, if so, opening fingerprint sensor
Second acquisition window, and fingerprint collecting carried out to collected object by the second acquisition window and the first acquisition window to generate the
Two images.
In embodiments of the present invention, by receiving the instruction of fingerprint collecting and opening the first of fingerprint sensor according to instruction
Acquisition window, the first acquisition window of control carries out fingerprint collecting according to prefixed time interval, when detecting contact fingerprint sensor
Collected object when, fingerprint collecting is carried out to generate the first image to collected object by the first acquisition window, judges the
Whether one image is effective fingerprint image, if so, opening the second acquisition window of fingerprint sensor, and passes through the second collecting window
Mouth and the first acquisition window carry out fingerprint collecting to generate the second image to collected object.It is adopted by the first of fingerprint sensor
Collect window and acquire image according to prefixed time interval, reduces fingerprint sensor in the prior art and acquire image institute all the time
The electricity of consumption, and then the cruising ability of terminal is improved, in addition, after determining that the first image is effective fingerprint image, eventually
End is to acquire fingerprint by the first acquisition window and the second acquisition window, this ensure that the accuracy of acquisition fingerprint.
Description of the drawings
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below
There is attached drawing needed in technology description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this
Some embodiments of invention for those of ordinary skill in the art without creative efforts, can be with
Obtain other attached drawings according to these attached drawings.
Fig. 1 is a kind of flow diagram of fingerprint collecting method provided in an embodiment of the present invention;
Fig. 2 is the flow diagram of another fingerprint collecting method provided in an embodiment of the present invention;
Fig. 3 is a kind of application schematic diagram of fingerprint sensor provided in an embodiment of the present invention;
Fig. 4 is the flow diagram of another fingerprint collecting method provided in an embodiment of the present invention;
Fig. 5 is a kind of structural schematic diagram of terminal provided in an embodiment of the present invention;
Fig. 6 is the structural schematic diagram of another terminal provided in an embodiment of the present invention.
Specific implementation mode
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation describes, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on
Embodiment in the present invention, those of ordinary skill in the art are obtained every other under the premise of not making the creative labor
Embodiment shall fall within the protection scope of the present invention.
The present embodiments relate to terminal can be any equipment for having communication and store function, such as:Tablet electricity
Brain, electronic reader, remote controler, personal computer (Personal Computer, PC), laptop, vehicle-mounted is set mobile phone
Standby, Web TV, wearable device etc. have the smart machine of network function.
Below in conjunction with attached drawing 1- attached drawings 4, describe in detail to fingerprint collecting method provided in an embodiment of the present invention.
Fig. 1 is referred to, for an embodiment of the present invention provides a kind of flow diagrams of fingerprint collecting method.As shown in Figure 1,
The method of the embodiment of the present invention may comprise steps of S101- steps S104.
S101 receives the instruction of fingerprint collecting and opens the first acquisition window of fingerprint sensor according to instruction.
Specifically, terminal receives the instruction of fingerprint collecting and opens the first acquisition window of fingerprint sensor according to instruction.
Wherein, fingerprint collecting instruction can be the fingerprint collecting instruction of unlocked by fingerprint screen, the fingerprint collecting instruction of fingerprint login software
Or the fingerprint collecting instruction etc. of fingerprint payment.Fingerprint sensor is the dedicated devices for obtaining fingerprint image, and fingerprint sensor can
It is divided into optical fingerprint sensor, semicoductor capacitor sensor, semiconductor heat dependent sensor, semiconductor pressure sensor etc..Fingerprint
The pixel for acquiring fingerprint it has been covered in sensor, the first acquisition window includes the acquisition window of the first quantity, wherein is adopted
Collection window is made of the pixel of preset quantity adjacent in fingerprint sensor, each collecting window in the first acquisition window
The position of mouth does not limit in embodiments of the present invention, for example, 8*8 pixels form an acquisition window, 12 8*8's of selection
Acquisition window is distributed evenly in fingerprint sensor as the first acquisition window, this 12 acquisition windows.Terminal receives fingerprint
When the instruction of acquisition, the first acquisition window of fingerprint sensor is opened.
S102, the first acquisition window of control carry out fingerprint collecting according to prefixed time interval.
Specifically, the first acquisition window of terminal control carries out fingerprint collecting according to prefixed time interval.Compared to existing skill
In art, when receiving the instruction of fingerprint collecting, whole pixels of fingerprint sensor are opened, the embodiment of the present invention can not only lead to
It crosses and opens up the mode of the first acquisition window and reduce the power consumption of terminal, it can also be by the way that the first acquisition window be arranged according to preset time
The mode of interval acquisition fingerprint reduces power consumption of terminal.For example, when terminal is misused or contacts by mistake and lights screen, existing skill
Art is to open fingerprint sensor and control fingerprint sensor to acquire image all the time, if screen lighting time is 10 minutes
When, screen can just close after 10 min, and fingerprint sensor needs to acquire 10 minutes images always in this course, and
The embodiment of the present invention can be acquired image by controlling the first acquisition window according to prefixed time interval (for example, 10ms),
Reduce the power consumption of terminal.
S103, when detecting the collected object of contact fingerprint sensor, by the first acquisition window to collected couple
As carrying out fingerprint collecting to generate the first image.
Specifically, terminal when detect contact fingerprint sensor collected object when, by the first acquisition window to quilt
Acquisition target carries out fingerprint collecting to generate the first image, to judge whether to acquisition fingerprint according to the first image.
S104 judges whether the first image is effective fingerprint image, if so, opening the second collecting window of fingerprint sensor
Mouthful, and fingerprint collecting is carried out to generate the second image to collected object by the second acquisition window and the first acquisition window.
Specifically, terminal judges whether the first image is effective fingerprint image, when the first image is effective fingerprint image,
The second acquisition window of fingerprint sensor is opened, and collected object is carried out by the second acquisition window and the first acquisition window
Fingerprint collecting is to generate the second image.Second acquisition window include the second quantity acquisition window or the second acquisition window by
Whole pixels composition in fingerprint sensor other than the pixel that the first acquisition window is included.When the first image is to have
When imitating fingerprint image, acquisition is needed to be collected corresponding image, for the accuracy of acquired image, terminal starts the first acquisition
Window and the first acquisition window, at this moment, the first acquisition window is acquired not in accordance with prefixed time interval, but in always
Constantly acquisition state generates the second image, to be verified to the second image.
In embodiments of the present invention, by receiving the instruction of fingerprint collecting and opening the first of fingerprint sensor according to instruction
Acquisition window, the first acquisition window of control carries out fingerprint collecting according to prefixed time interval, when detecting contact fingerprint sensor
Collected object when, fingerprint collecting is carried out to generate the first image to collected object by the first acquisition window, judges the
Whether one image is effective fingerprint image, if so, opening the second acquisition window of fingerprint sensor, and passes through the second collecting window
Mouth and the first acquisition window carry out fingerprint collecting to generate the second image to collected object.It is adopted by the first of fingerprint sensor
Collect window and acquire image according to prefixed time interval, reduces fingerprint sensor in the prior art and acquire image institute all the time
The electricity of consumption, and then the cruising ability of terminal is improved, in addition, after determining that the first image is effective fingerprint image, eventually
End is to acquire fingerprint by the first acquisition window and the second acquisition window, this ensure that the accuracy of acquisition fingerprint.
Fig. 2 is referred to, for an embodiment of the present invention provides the flow diagrams of another fingerprint collecting method.Such as Fig. 2 institutes
Show, the method for the embodiment of the present invention may comprise steps of S201- steps S206.
S201 receives the instruction of fingerprint collecting and opens the first acquisition window of fingerprint sensor according to instruction.
Specifically, terminal receives the instruction of fingerprint collecting and opens the first acquisition window of fingerprint sensor according to instruction.
In feasible scheme, terminal receives the instruction of fingerprint collecting, and according to instruction by the first collecting window in fingerprint sensor
The first acquisition window of confession electric-opening.Wherein, fingerprint collecting instruction can be the fingerprint collecting instruction of unlocked by fingerprint screen, fingerprint
Log in the fingerprint collecting instruction of software or the fingerprint collecting instruction etc. of fingerprint payment.Fingerprint sensor is to obtain fingerprint image
Dedicated devices, fingerprint sensor can be divided into optical fingerprint sensor, semicoductor capacitor sensor, semiconductor heat dependent sensor, half
Conductor pressure sensor etc..The pixel for acquiring fingerprint it has been covered in fingerprint sensor, the first acquisition window includes first
The acquisition window of quantity, wherein acquisition window is made of the pixel of preset quantity adjacent in fingerprint sensor, the
The position of each acquisition window does not limit in embodiments of the present invention in one acquisition window, for example, 8*8 pixels form one
Acquisition window selects the acquisition window of 12 8*8 as the first acquisition window, this 12 acquisition windows are distributed evenly in fingerprint
Sensor.When terminal receives the instruction of fingerprint collecting, the first acquisition window of fingerprint sensor is opened.
S202, the first acquisition window of control carry out fingerprint collecting according to prefixed time interval.
Specifically, the first acquisition window of terminal control carries out fingerprint collecting according to prefixed time interval.Compared to existing skill
In art, when receiving the instruction of fingerprint collecting, whole pixels of fingerprint sensor are opened, the embodiment of the present invention can not only lead to
It crosses and opens up the mode of the first acquisition window and reduce the power consumption of terminal, it can also be by the way that the first acquisition window be arranged according to preset time
The mode of interval acquisition fingerprint reduces power consumption of terminal.For example, when terminal is misused or contacts by mistake and lights screen, existing skill
Art is to open fingerprint sensor and control fingerprint sensor to acquire image all the time, if screen lighting time is 10 minutes
When, screen can just close after 10 min, and fingerprint sensor needs to acquire 10 minutes images always in this course, and
The embodiment of the present invention can be acquired image by controlling the first acquisition window according to prefixed time interval (for example, 10ms),
Reduce the power consumption of terminal.
S203, when detecting the collected object of contact fingerprint sensor, by the first acquisition window to collected couple
As carrying out fingerprint collecting to generate the first image.
Specifically, terminal when detect contact fingerprint sensor collected object when, by the first acquisition window to quilt
Acquisition target carries out fingerprint collecting to generate the first image, to judge whether to acquisition fingerprint according to the first image.
S204 calculates the corresponding gray value of the first image.
Specifically, terminal generates grey level histogram according to the first image, and the first image pair is calculated according to grey level histogram
The gray value answered.The abscissa of grey level histogram is gray level (for example, 32 grades, 64 grades, 256 grades etc.), and ordinate is the gray scale
The frequency that grade occurs can represent the number or frequency of the pixel with certain gray level in the first image, to according to the
The gray value of one image determines the need for being acquired fingerprint.
S205, when the corresponding gray value of the first image is more than or equal to first threshold, it is determined that the first image is effectively to refer to
Print image.
Specifically, when the corresponding gray value of the first image is more than or equal to first threshold, then terminal determines that the first image is
Effective fingerprint image.In feasible scheme, calculating the scheme of the gray value of the first image can be:It is straight in the gray scale of the first image
On square figure horizontal axis coordinate, according to area ratio, left and right respectively clips 3%.Horizontal axis gray value differences corresponding to intermediate 94% area are big
In 25, you can be determined as effective fingerprint image, this scheme is only a citing, specifically according to the corresponding ash of the first image
Angle value determine the first image whether be effective fingerprint image calculating process, the embodiment of the present invention do not limit.It is appreciated that
It is, when the corresponding gray value of the first image is less than first threshold, it is determined that the first image is not effective fingerprint image.
S206 opens the second acquisition window of fingerprint sensor when the first image is effective fingerprint image, and passes through the
Two acquisition windows and the first acquisition window carry out fingerprint collecting to generate the second image to collected object.
Specifically, when the first image is effective fingerprint image, pass through the second acquisition window progress to fingerprint sensor
Fingerprint collecting is carried out to collected object for the second acquisition window of electric-opening, and by the second acquisition window and the first acquisition window
To generate the second image.Wherein, the second acquisition window include the second quantity acquisition window or the second acquisition window by fingerprint
Whole pixels composition in sensor other than the pixel that the first acquisition window is included.When the first image is effectively to refer to
When print image, acquisition is needed to be collected corresponding image, for the accuracy of acquired image, terminal starts the first acquisition window
With the first acquisition window, at this moment, the first acquisition window is acquired not in accordance with prefixed time interval, is in all the time
Acquisition state generates the second image, to be verified to the second image.It is understood that when the first image is not effective
When fingerprint image, terminal does not start the second acquisition window, in optional scheme, can close the first acquisition window of fingerprint sensor
It closes, to reduce power consumption of terminal.
In conjunction with Fig. 3, a feasible specific example is provided for fingerprint sensor involved in the embodiment of the present invention, such as
Shown in Fig. 3, fingerprint sensor 100 includes the first acquisition window 101 and the second acquisition window 102.Shown in Fig. 3 12 it is identical
Acquisition window constitute the first acquisition window 101, and this 12 acquisition windows are uniformly distributed in fingerprint sensor 100, when
When in the presence of to the touch operation of fingerprint sensor, will not there is no acquisition window because of touch operation region and cause acquisition not at
Work(other than the first acquisition window 101 is the second acquisition window 102 in fingerprint sensor 100.Terminal receives fingerprint and adopts
The instruction of collection and the first acquisition window that fingerprint sensor 100 is opened according to instruction;The first acquisition window 101 is controlled according to default
Time interval carries out fingerprint collecting;When detecting the collected object of contact fingerprint sensor 100, pass through the first acquisition window
101 pairs of collected objects carry out fingerprint collecting to generate the first image;Judge whether the first image is effective fingerprint image, if
It is then to open the second acquisition window 102 of fingerprint sensor, and it is right by the second acquisition window 102 and the first acquisition window 101
Collected object carries out fingerprint collecting to generate the second image, and the embodiment of the present invention is to the first acquisition window of fingerprint sensor
It is not limited with the second acquisition window.
In embodiments of the present invention, by receiving the instruction of fingerprint collecting and opening the first of fingerprint sensor according to instruction
Acquisition window, the first acquisition window of control carries out fingerprint collecting according to prefixed time interval, when detecting contact fingerprint sensor
Collected object when, fingerprint collecting is carried out to generate the first image to collected object by the first acquisition window, judges the
Whether one image is effective fingerprint image, if so, opening the second acquisition window of fingerprint sensor, and passes through the second collecting window
Mouth and the first acquisition window carry out fingerprint collecting to generate the second image to collected object.It is adopted by the first of fingerprint sensor
Collect window and acquire image according to prefixed time interval, reduces fingerprint sensor in the prior art and acquire image institute all the time
The electricity of consumption, and then the cruising ability of terminal is improved, in addition, after determining that the first image is effective fingerprint image, eventually
End is to acquire fingerprint by the first acquisition window and the second acquisition window, this ensure that the accuracy of acquisition fingerprint.
Fig. 4 is referred to, for an embodiment of the present invention provides the flow diagrams of another fingerprint collecting method.Such as Fig. 4 institutes
Show, the method for the embodiment of the present invention may comprise steps of S401- steps S404.
S401 receives the instruction of fingerprint collecting and opens the first acquisition window of fingerprint sensor according to instruction.
Specifically, terminal receives the instruction of fingerprint collecting and opens the first acquisition window of fingerprint sensor according to instruction.
In feasible scheme, terminal receives the instruction of fingerprint collecting, and according to instruction by the first collecting window in fingerprint sensor
The first acquisition window of confession electric-opening.Wherein, fingerprint collecting instruction can be the fingerprint collecting instruction of unlocked by fingerprint screen, fingerprint
Log in the fingerprint collecting instruction of software or the fingerprint collecting instruction etc. of fingerprint payment.Fingerprint sensor is to obtain fingerprint image
Dedicated devices, fingerprint sensor can be divided into optical fingerprint sensor, semicoductor capacitor sensor, semiconductor heat dependent sensor, half
Conductor pressure sensor etc..The pixel for acquiring fingerprint it has been covered in fingerprint sensor, the first acquisition window includes first
The acquisition window of quantity, wherein acquisition window is made of the pixel of preset quantity adjacent in fingerprint sensor, the
The position of each acquisition window does not limit in embodiments of the present invention in one acquisition window, for example, 8*8 pixels form one
Acquisition window selects the acquisition window of 12 8*8 as the first acquisition window, this 12 acquisition windows are distributed evenly in fingerprint
Sensor.When terminal receives the instruction of fingerprint collecting, the first acquisition window of fingerprint sensor is opened.
S402, the first acquisition window of control carry out fingerprint collecting.
Specifically, the first acquisition window of terminal control carries out fingerprint collecting, it in this way can be by the way that the first acquisition window be arranged
The mode of acquisition fingerprint reduces power consumption of terminal.For example, when terminal is misused or contacts by mistake and lights screen, the prior art is
It opens fingerprint sensor and controls fingerprint sensor and acquire image all the time, if screen lighting time is 10 minutes,
Screen can just close after 10 min, and fingerprint sensor needs to acquire 10 minutes images always in this course, and this
Inventive embodiments can be acquired image by controlling the first acquisition window, reduce the power consumption of terminal.
S403, when detecting the collected object of contact fingerprint sensor, by the first acquisition window to collected couple
As carrying out fingerprint collecting to generate the first image.
Specifically, terminal when detect contact fingerprint sensor collected object when, by the first acquisition window to quilt
Acquisition target carries out fingerprint collecting to generate the first image, to judge whether to acquisition fingerprint according to the first image.
S404 judges whether the first image is effective fingerprint image, if so, opening the second collecting window of fingerprint sensor
Mouthful, and fingerprint collecting is carried out to generate the second image to collected object by the second acquisition window and the first acquisition window.
Specifically, terminal judges whether the first image is effective fingerprint image, when the first image is effective fingerprint image,
It is powered by the second acquisition window to fingerprint sensor and opens the second acquisition window, and pass through the second acquisition window and the
One acquisition window carries out fingerprint collecting to generate the second image to collected object.Wherein, the second acquisition window includes the second number
The acquisition window of amount or the second acquisition window by fingerprint sensor other than the pixel that the first acquisition window is included
Whole pixels composition.When the first image is effective fingerprint image, acquisition is needed to be collected corresponding image, in order to be adopted
Collect the accuracy of image, terminal starts the first acquisition window and the first acquisition window, the second image is generated, to the second image
It is verified.It is understood that when the first image is not effective fingerprint image, terminal does not start the second acquisition window, can
In the scheme of choosing, the first acquisition window of fingerprint sensor can be closed, to reduce power consumption of terminal.
In feasible scheme, grey level histogram can be generated according to the first image, and first is calculated according to grey level histogram
The corresponding gray value of image;When the corresponding gray value of the first image is more than or equal to first threshold, it is determined that the first image is to have
Imitate fingerprint image.
In embodiments of the present invention, by receiving the instruction of fingerprint collecting and opening the first of fingerprint sensor according to instruction
Acquisition window, the first acquisition window of control carry out fingerprint collecting, when detecting the collected object of contact fingerprint sensor, lead to
It crosses the first acquisition window and fingerprint collecting is carried out to generate the first image to collected object, judge whether the first image is effectively to refer to
Print image if so, opening the second acquisition window of fingerprint sensor, and passes through the second acquisition window and the first acquisition window pair
Collected object carries out fingerprint collecting to generate the second image.Image is acquired by the first acquisition window of fingerprint sensor, is subtracted
Lack fingerprint sensor in the prior art and acquired the electricity that image is consumed all the time, and then improves the continuation of the journey energy of terminal
Power, in addition, after determining that the first image is effective fingerprint image, terminal is by the first acquisition window and the second acquisition window
Fingerprint is acquired, this ensure that the accuracy of acquisition fingerprint.
Below in conjunction with attached drawing 5- attached drawings 6, describe in detail to terminal provided in an embodiment of the present invention.It needs to illustrate
It is the attached terminals shown in fig. 6 of attached drawing 5-, the method for executing Fig. 1-embodiment illustrated in fig. 4 of the present invention, for convenience of description,
It illustrates only and is not disclosed with the relevant part of the embodiment of the present invention, particular technique details, please referred to shown in Fig. 1-Fig. 4 of the present invention
Embodiment.
Fig. 5 is referred to, for an embodiment of the present invention provides a kind of structural schematic diagrams of terminal.As shown in figure 5, the present invention is real
The terminal 1 for applying example may include:Opening unit 11, control unit 12 and collecting unit 13.
Opening unit 11, instruction for receiving fingerprint collecting and the first collecting window that fingerprint sensor is opened according to instruction
Mouthful.
In the specific implementation, opening unit 11 receives the instruction of fingerprint collecting and opens the first of fingerprint sensor according to instruction
Acquisition window.Wherein, fingerprint collecting instruction can be the fingerprint collecting instruction of unlocked by fingerprint screen, fingerprint log in software fingerprint
Acquisition instructions or the fingerprint collecting instruction etc. of fingerprint payment.Fingerprint sensor is the dedicated devices for obtaining fingerprint image, fingerprint
Sensor can be divided into optical fingerprint sensor, semicoductor capacitor sensor, semiconductor heat dependent sensor, semiconductor pressure sensor
Deng.It has been covered with the pixel for acquiring fingerprint in fingerprint sensor, the first acquisition window includes the acquisition window of the first quantity,
Wherein, acquisition window is made of the pixel of preset quantity adjacent in fingerprint sensor, each in the first acquisition window
The position of a acquisition window does not limit in embodiments of the present invention, for example, 8*8 pixels form an acquisition window, selection
The acquisition window of 12 8*8 is distributed evenly in fingerprint sensor as the first acquisition window, this 12 acquisition windows.It opens single
When member 11 receives the instruction of fingerprint collecting, the first acquisition window of fingerprint sensor is opened.
In feasible scheme, opening unit 11 receives the instruction of fingerprint collecting, and according to instruction by fingerprint sensor
In the first acquisition window for the first acquisition window of electric-opening.
Control unit 12, the first acquisition window of control carry out fingerprint collecting according to prefixed time interval.
In the specific implementation, control unit 12 controls the first acquisition window carries out fingerprint collecting according to prefixed time interval.Phase
Than the whole pixels for when in the prior art, receiving the instruction of fingerprint collecting, opening fingerprint sensor, the embodiment of the present invention
The power consumption of terminal can be not only reduced by way of opening up the first acquisition window, can also be pressed by the way that the first acquisition window is arranged
The mode that fingerprint is acquired according to prefixed time interval reduces power consumption of terminal.For example, lighting screen when terminal is misused or contacts by mistake
When curtain, the prior art is to open fingerprint sensor and control fingerprint sensor to acquire image all the time, if screen is lighted
When time is 10 minutes, screen can just close after 10 min, and fingerprint sensor needs to acquire 10 always in this course
The image of minute, and the embodiment of the present invention can be acquired image by controlling the first acquisition window, reduce the work(of terminal
Consumption.
Collecting unit 13, for when detecting the collected object of contact fingerprint sensor, passing through the first acquisition window
Fingerprint collecting is carried out to generate the first image to collected object.
In the specific implementation, 13 terminal of collecting unit is when detecting the collected object of contact fingerprint sensor, by the
One acquisition window carries out fingerprint collecting to generate the first image, to be judged whether to according to the first image to collected object
Acquire fingerprint.
Collecting unit 13 is additionally operable to judge whether the first image is effective fingerprint image, if so, opening fingerprint sensor
The second acquisition window, and fingerprint collecting is carried out to generate to collected object by the second acquisition window and the first acquisition window
Second image.
In the specific implementation, collecting unit 13 judges whether the first image is effective fingerprint image, when the first image is effective
When fingerprint image, the second acquisition window of fingerprint sensor is opened, and by the second acquisition window and the first acquisition window to quilt
Acquisition target carries out fingerprint collecting to generate the second image.Second acquisition window includes the acquisition window of the second quantity, Huo Zhe
Two acquisition windows are made of whole pixels in fingerprint sensor other than the pixel that the first acquisition window is included.When
When first image is effective fingerprint image, acquisition is needed to be collected corresponding image, for the accuracy of acquired image, terminal
Start the first acquisition window and the first acquisition window, at this moment, the first acquisition window is acquired not in accordance with prefixed time interval,
But in acquisition state all the time, the second image is generated, to be verified to the second image.It is understood that
When the first image is not effective fingerprint image, terminal does not start the second acquisition window, can be by fingerprint sensing in optional scheme
First acquisition window of device is closed, to reduce power consumption of terminal.
In a kind of feasible scheme, grey level histogram can be generated according to the first image, and calculate according to grey level histogram
The corresponding gray value of first image;When the corresponding gray value of the first image is more than or equal to first threshold, it is determined that the first image
For effective fingerprint image.
In another feasible scheme, when the first image is effective fingerprint image, pass through second to fingerprint sensor
Acquisition window, which is powered, opens the second acquisition window, and by the second acquisition window and the first acquisition window to being collected object
Fingerprint collecting is carried out to generate the second image.
In embodiments of the present invention, by receiving the instruction of fingerprint collecting and opening the first of fingerprint sensor according to instruction
Acquisition window, the first acquisition window of control carries out fingerprint collecting according to prefixed time interval, when detecting contact fingerprint sensor
Collected object when, fingerprint collecting is carried out to generate the first image to collected object by the first acquisition window, judges the
Whether one image is effective fingerprint image, if so, opening the second acquisition window of fingerprint sensor, and passes through the second collecting window
Mouth and the first acquisition window carry out fingerprint collecting to generate the second image to collected object.It is adopted by the first of fingerprint sensor
Collect window and acquire image according to prefixed time interval, reduces fingerprint sensor in the prior art and acquire image institute all the time
The electricity of consumption, and then the cruising ability of terminal is improved, in addition, after determining that the first image is effective fingerprint image, eventually
End is to acquire fingerprint by the first acquisition window and the second acquisition window, this ensure that the accuracy of acquisition fingerprint.
Fig. 6 is referred to, for an embodiment of the present invention provides the structural schematic diagrams of another terminal.As shown in fig. 6, of the invention
The terminal 2 of embodiment may include:Opening unit 21, control unit 22 and collecting unit 23.
Opening unit 21, instruction for receiving fingerprint collecting and the first collecting window that fingerprint sensor is opened according to instruction
Mouthful.
In the specific implementation, opening unit 21 receives the instruction of fingerprint collecting and opens the first of fingerprint sensor according to instruction
Acquisition window.In feasible scheme, opening unit 21 receives the instruction of fingerprint collecting, and according to instruction by fingerprint sensor
In the first acquisition window for the first acquisition window of electric-opening.Wherein, fingerprint collecting instruction can be the finger of unlocked by fingerprint screen
Line acquisition instructions, fingerprint log in the fingerprint collecting instruction of software or the fingerprint collecting instruction etc. of fingerprint payment.Fingerprint sensor
It is the dedicated devices for obtaining fingerprint image, fingerprint sensor can be divided into optical fingerprint sensor, semicoductor capacitor sensor, partly lead
Body heat dependent sensor, semiconductor pressure sensor etc..The pixel for acquiring fingerprint it has been covered in fingerprint sensor, first adopts
Collection window includes the acquisition window of the first quantity, wherein acquisition window is by the picture of preset quantity adjacent in fingerprint sensor
What vegetarian refreshments was formed, the position of each acquisition window does not limit in embodiments of the present invention in the first acquisition window, for example, 8*
8 pixels form an acquisition window, select the acquisition window of 12 8*8 as the first acquisition window, this 12 acquisition windows
It is distributed evenly in fingerprint sensor.When terminal receives the instruction of fingerprint collecting, the first collecting window of fingerprint sensor is opened
Mouthful.
Control unit 22 carries out fingerprint collecting for controlling the first acquisition window.
Specifically, control unit 22, which controls the first acquisition window, carries out fingerprint collecting, can be adopted in this way by setting first
The mode of collection window acquisition fingerprint reduces power consumption of terminal.For example, when terminal is misused or contacts by mistake and lights screen, it is existing
Technology is to open fingerprint sensor and control fingerprint sensor to acquire image all the time, if screen lighting time is 10 points
Zhong Shi, screen can just close after 10 min, and fingerprint sensor needs to acquire 10 minutes images always in this course,
And the embodiment of the present invention can be acquired image by controlling the first acquisition window, reduce the power consumption of terminal.
Collecting unit 23, for when detecting the collected object of contact fingerprint sensor, passing through the first acquisition window
Fingerprint collecting is carried out to generate the first image to collected object.
Specifically, collecting unit 23 passes through the first collecting window when detecting the collected object of contact fingerprint sensor
Mouth carries out fingerprint collecting to generate the first image to collected object, refers to judge whether to acquisition according to the first image
Line.
Collecting unit 23 is additionally operable to judge whether the first image is effective fingerprint image, if so, opening fingerprint sensor
The second acquisition window, and fingerprint collecting is carried out to generate to collected object by the second acquisition window and the first acquisition window
Second image.
Specifically, collecting unit 23 judges whether the first image is effective fingerprint image, when the first image is effective fingerprint
It when image, is powered by the second acquisition window to fingerprint sensor and opens the second acquisition window, and pass through the second acquisition
Window and the first acquisition window carry out fingerprint collecting to generate the second image to collected object.Wherein, the second acquisition window packet
Include the second quantity acquisition window or the second acquisition window by fingerprint sensor in addition to picture that the first acquisition window is included
Whole pixels composition except vegetarian refreshments.When the first image is effective fingerprint image, acquisition is needed to be collected corresponding image,
For the accuracy of acquired image, terminal starts the first acquisition window and the first acquisition window, the second image is generated, to right
Second image is verified.It is understood that when the first image is not effective fingerprint image, terminal does not start the second acquisition
Window in optional scheme, can close the first acquisition window of fingerprint sensor, to reduce power consumption of terminal.
In feasible scheme, grey level histogram can be generated according to the first image, and first is calculated according to grey level histogram
The corresponding gray value of image;When the corresponding gray value of the first image is more than or equal to first threshold, it is determined that the first image is to have
Imitate fingerprint image.
In embodiments of the present invention, by receiving the instruction of fingerprint collecting and opening the first of fingerprint sensor according to instruction
Acquisition window, the first acquisition window of control carry out fingerprint collecting, when detecting the collected object of contact fingerprint sensor, lead to
It crosses the first acquisition window and fingerprint collecting is carried out to generate the first image to collected object, judge whether the first image is effectively to refer to
Print image if so, opening the second acquisition window of fingerprint sensor, and passes through the second acquisition window and the first acquisition window pair
Collected object carries out fingerprint collecting to generate the second image.Image is acquired by the first acquisition window of fingerprint sensor, is subtracted
Lack fingerprint sensor in the prior art and acquired the electricity that image is consumed all the time, and then improves the continuation of the journey energy of terminal
Power, in addition, after determining that the first image is effective fingerprint image, terminal is by the first acquisition window and the second acquisition window
Fingerprint is acquired, this ensure that the accuracy of acquisition fingerprint.
One of ordinary skill in the art will appreciate that realizing all or part of flow in above-described embodiment method, being can be with
Instruct relevant hardware to complete by computer program, program can be stored in a computer read/write memory medium,
The program is when being executed, it may include such as the flow of the embodiment of above-mentioned each method.Wherein, storage medium can be magnetic disc, CD,
Read-only memory (Read-Only Memory, ROM) or random access memory (Random Access Memory,
RAM) etc..
The above disclosure is only the preferred embodiments of the present invention, cannot limit the right model of the present invention with this certainly
It encloses, therefore equivalent changes made in accordance with the claims of the present invention, is still within the scope of the present invention.
Claims (10)
1. a kind of fingerprint collecting method, which is characterized in that including:
It receives the instruction of fingerprint collecting and opens the first acquisition window of fingerprint sensor according to described instruction;
It controls first acquisition window and carries out fingerprint collecting according to prefixed time interval;
When detecting the collected object for contacting the fingerprint sensor, by first acquisition window to described collected
Object carries out fingerprint collecting to generate the first image;
Judge whether described first image is effective fingerprint image, if so, opening the second collecting window of the fingerprint sensor
Mouthful, and fingerprint collecting is carried out to generate to the collected object by second acquisition window and first acquisition window
Second image.
2. according to the method described in claim 1, it is characterized in that, first acquisition window includes the collecting window of the first quantity
Mouthful, wherein the acquisition window is made of the pixel of adjacent preset quantity in the fingerprint sensor;Described
Two acquisition windows include the second quantity the acquisition window or second acquisition window by being removed in the fingerprint sensor
Whole pixels composition except the pixel that first acquisition window is included.
3. method according to claim 1 or 2, which is characterized in that it is described receive fingerprint collecting instruction and according to described
The step of first acquisition window of instruction unlatching fingerprint sensor, specifically includes:
Receive fingerprint collecting instruction, and according to described instruction by the first acquisition window in fingerprint sensor for electric-opening
First acquisition window.
4. method according to claim 1 or 2, which is characterized in that described to judge whether described first image is effectively to refer to
The step of print image, specifically includes:
Calculate the corresponding gray value of described first image;
When the corresponding gray value of described first image is more than or equal to first threshold, it is determined that described first image is effective fingerprint
Image.
5. according to the method described in claim 4, it is characterized in that, the step for calculating the corresponding gray value of described first image
Suddenly it specifically includes:
Grey level histogram is generated according to described first image, and corresponding according to grey level histogram calculating described first image
Gray value.
6. method according to claim 1 or 2, which is characterized in that second acquisition for opening the fingerprint sensor
Window, and fingerprint collecting is carried out with life to the collected object by second acquisition window and first acquisition window
It is specifically included at the step of the second image:
It is powered by the second acquisition window to the fingerprint sensor and opens second acquisition window, and by described
Second acquisition window and first acquisition window carry out fingerprint collecting to generate the second image to the collected object.
7. a kind of fingerprint collecting method, which is characterized in that including:
It receives the instruction of fingerprint collecting and opens the first acquisition window of fingerprint sensor according to described instruction;
It controls first acquisition window and carries out fingerprint collecting;
When detecting the collected object for contacting the fingerprint sensor, by first acquisition window to described collected
Object carries out fingerprint collecting to generate the first image;
Judge whether described first image is effective fingerprint image, if so, opening the second collecting window of the fingerprint sensor
Mouthful, and fingerprint collecting is carried out to generate to the collected object by second acquisition window and first acquisition window
Second image.
8. the method according to the description of claim 7 is characterized in that first acquisition window includes the collecting window of the first quantity
Mouthful, wherein the acquisition window is made of the pixel of adjacent preset quantity in the fingerprint sensor;Described
Two acquisition windows include the second quantity the acquisition window or second acquisition window by being removed in the fingerprint sensor
Whole pixels composition except the pixel that first acquisition window is included.
9. a kind of terminal, which is characterized in that including:
Opening unit, instruction for receiving fingerprint collecting and the first collecting window that fingerprint sensor is opened according to described instruction
Mouthful;
Control unit carries out fingerprint collecting for controlling first acquisition window according to prefixed time interval;
Collecting unit, for when detecting the collected object for contacting the fingerprint sensor, passing through first collecting window
Mouth carries out fingerprint collecting to generate the first image to the collected object;
The collecting unit is additionally operable to judge whether described first image is effective fingerprint image, if so, opening the fingerprint
Second acquisition window of sensor, and by second acquisition window and first acquisition window to the collected object
Fingerprint collecting is carried out to generate the second image.
10. a kind of terminal, which is characterized in that including:
Opening unit, instruction for receiving fingerprint collecting and the first collecting window that fingerprint sensor is opened according to described instruction
Mouthful;
Control unit carries out fingerprint collecting for controlling first acquisition window;
Collecting unit, for when detecting the collected object for contacting the fingerprint sensor, passing through first collecting window
Mouth carries out fingerprint collecting to generate the first image to the collected object;
The collecting unit is additionally operable to judge whether described first image is effective fingerprint image, if so, opening the fingerprint
Second acquisition window of sensor, and by second acquisition window and first acquisition window to the collected object
Fingerprint collecting is carried out to generate the second image.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510381178.XA CN104978572B (en) | 2015-06-30 | 2015-06-30 | A kind of fingerprint collecting method and terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510381178.XA CN104978572B (en) | 2015-06-30 | 2015-06-30 | A kind of fingerprint collecting method and terminal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104978572A CN104978572A (en) | 2015-10-14 |
CN104978572B true CN104978572B (en) | 2018-10-23 |
Family
ID=54275057
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510381178.XA Active CN104978572B (en) | 2015-06-30 | 2015-06-30 | A kind of fingerprint collecting method and terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104978572B (en) |
Families Citing this family (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105260722B (en) * | 2015-10-19 | 2017-02-15 | 广东欧珀移动通信有限公司 | Fingerprint identification method and device, and mobile terminal |
CN105303175B (en) * | 2015-10-19 | 2017-10-20 | 广东欧珀移动通信有限公司 | A kind of recognition methods of fingerprint, device and mobile terminal |
CN105260105B (en) * | 2015-10-19 | 2017-10-24 | 广东欧珀移动通信有限公司 | Display screen awakening method, device and mobile terminal based on fingerprint sensor |
CN105243369B (en) * | 2015-10-19 | 2017-03-08 | 广东欧珀移动通信有限公司 | A kind of recognition methodss of fingerprint, device and mobile terminal |
CN105447447A (en) * | 2015-11-11 | 2016-03-30 | 广东欧珀移动通信有限公司 | Fingerprint identification method and fingerprint identification system of terminal |
CN106716297B (en) | 2015-12-31 | 2019-11-05 | 华为技术有限公司 | A kind of method, apparatus and touch screen terminal of fingerprint recognition |
CN105939336A (en) * | 2016-03-07 | 2016-09-14 | 李明 | Identity authentication method and system |
CN105991652A (en) * | 2016-03-07 | 2016-10-05 | 李明 | Identity authentication method and system |
US9723563B1 (en) * | 2016-03-24 | 2017-08-01 | Himax Technologies Limited | Device and a method of waking up the same |
CN106569581A (en) * | 2016-10-31 | 2017-04-19 | 珠海市魅族科技有限公司 | Electronic equipment driving method and related electronic equipment |
CN106529498A (en) * | 2016-11-24 | 2017-03-22 | 珠海市魅族科技有限公司 | Fingerprint acquisition control method and terminal |
CN107480610A (en) | 2017-07-31 | 2017-12-15 | 广东欧珀移动通信有限公司 | Fingerprint identification method and related product |
CN108492420B (en) * | 2018-03-29 | 2020-06-30 | 成都惠网远航科技有限公司 | Security system based on fingerprint identification |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101697563A (en) * | 2009-10-26 | 2010-04-21 | 宇龙计算机通信科技(深圳)有限公司 | Power saving method for mobile terminal and mobile terminal |
CN102594999A (en) * | 2012-01-30 | 2012-07-18 | 郑凯 | Method and system for performing adaptive mobile phone energy conservation through face identification |
CN104392219A (en) * | 2014-11-21 | 2015-03-04 | 上海箩箕技术有限公司 | Biological information identification method and device |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8144947B2 (en) * | 2008-06-27 | 2012-03-27 | Palo Alto Research Center Incorporated | System and method for finding a picture image in an image collection using localized two-dimensional visual fingerprints |
-
2015
- 2015-06-30 CN CN201510381178.XA patent/CN104978572B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101697563A (en) * | 2009-10-26 | 2010-04-21 | 宇龙计算机通信科技(深圳)有限公司 | Power saving method for mobile terminal and mobile terminal |
CN102594999A (en) * | 2012-01-30 | 2012-07-18 | 郑凯 | Method and system for performing adaptive mobile phone energy conservation through face identification |
CN104392219A (en) * | 2014-11-21 | 2015-03-04 | 上海箩箕技术有限公司 | Biological information identification method and device |
Also Published As
Publication number | Publication date |
---|---|
CN104978572A (en) | 2015-10-14 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104978572B (en) | A kind of fingerprint collecting method and terminal | |
CN105550554B (en) | A kind of glance prevention method and mobile terminal | |
CN107450708B (en) | Unlocking control method and related product | |
CN104063150A (en) | Mobile terminal capable of entering corresponding scene modes by means of face recognition and implementation method thereof | |
CN104077516B (en) | A kind of biological authentication method and terminal | |
CN102984352B (en) | Method and device of adjusting of screen luminance of terminal and terminal | |
CN105809139A (en) | Acquisition method and device of eyeball information | |
CN103501389A (en) | Method and terminal for turning off alarm | |
CN104899490A (en) | Terminal positioning method and user terminal | |
CN106940589A (en) | A kind of Terminal fingerprints detection management method, device and terminal | |
CN104700017B (en) | One kind is based on recognition of face automatic unlocking method, system and terminal | |
CN106502467B (en) | A kind of the screen awakening method and device, user terminal of user terminal | |
CN110297536A (en) | A kind of control method and electronic equipment | |
CN104935812A (en) | Self-shot mode turn-on control method and device | |
CN103105922A (en) | Method and device for mobile terminal backlight control | |
CN107968890A (en) | theme setting method, device, terminal device and storage medium | |
CN105323384A (en) | Method for switching multi-scenario mode and mobile terminal | |
CN111477135A (en) | Screen display method, equipment and storage medium | |
CN107402625A (en) | Touch screen scanning method, device, terminal and computer-readable recording medium | |
CN106529498A (en) | Fingerprint acquisition control method and terminal | |
CN106648042A (en) | Identification control method and apparatus | |
CN110109609A (en) | Display control apparatus and method and image display | |
CN104881633B (en) | A kind of colour blindness mode starting method and intelligent glasses | |
CN106873889A (en) | A kind of fingerprint operating method, device and electronic equipment | |
CN107437016A (en) | Application control method and related product |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CP03 | Change of name, title or address | ||
CP03 | Change of name, title or address |
Address after: 519085 Guangdong Zhuhai science and technology innovation coastal Meizu Technology Building Patentee after: MEIZU TECHNOLOGY Co.,Ltd. Address before: 519080 Technology Innovation Coast Meizu science and technology building, Xiangzhou District, Zhuhai, Guangdong Patentee before: Meizu Technology (China) Co.,Ltd. |