Summary of the invention
The application provides a kind of fingerprint gate lock awakening method, device, MCU, fingerprint gate lock and storage medium, to realize to fingerThe wake-up of line door lock improves the reliability of fingerprint gate lock.
In a first aspect, the embodiment of the present application provides a kind of fingerprint gate lock awakening method, comprising:
Detection zone on fingerprint sensor in fingerprint gate lock is scanned, scan data is obtained;Judge scan dataWhether first default wake-up condition is met;If scan data meets the first default wake-up condition, fingerprint gate lock is waken up.
In the embodiment of the present application, by being scanned to the inspection area on fingerprint sensor in fingerprint gate lock, and toTo scan data carry out judging whether to meet the condition of default wake-up, and meet the first default wake-up condition in scan dataWhen, fingerprint gate lock is waken up, the wake-up to fingerprint gate lock is realized.It is swept by what the detection zone in fingerprint sensor obtainedIt retouches data to judge whether to wake up fingerprint gate lock, avoids the use using becket and touch detection chip, not only increaseThe reliability of fingerprint gate lock and the cost for reducing fingerprint gate lock.
Optionally, the detection zone on fingerprint sensor in fingerprint gate lock is scanned, obtains scan data, comprising:
Detection zone on fingerprint sensor in fingerprint gate lock is scanned in present scanning cycle, obtains scanning numberAccording to.
Correspondingly, fingerprint gate lock awakening method provided by the embodiments of the present application further include:
If scan data is unsatisfactory for the first default wake-up condition, fingerprint gate lock is made to enter dormant state, worked as until enteringNext scan period of preceding scan period.
In the embodiment of the present application, by making fingerprint gate lock enter suspend mode when scan data is unsatisfactory for default wake-up conditionState reduces the power consumption of fingerprint gate lock, next scan period until entering present scanning cycle, again to detection zoneDomain is scanned, to detect whether that there are finger touches.
It optionally, include at least one detection subregion in detection zone, on the fingerprint sensor in fingerprint gate lockDetection zone is scanned, and obtains scan data, comprising:
Each detection subregion is scanned respectively, obtains the capacitance variations of multiple pixels in each detection subregionData.
Optionally, judge whether scan data meets the first default wake-up condition, comprising:
The scan data in each detection subregion is judged respectively, if meets the second default wake-up condition;It determines and meetsThe number of the detection subregion of second default wake-up condition;If meeting the number of the inspection detection subregion of the second default wake-up conditionGreater than preset quantity, then judge that scan data meets the first default wake-up condition.
In the embodiment of the present application, the number of the detection subregion of the second default wake-up condition is met by judgement, if fullSufficient preset quantity improves the reliability of the first default wake-up condition as the first default wake-up condition, and then improves fingerprintThe accuracy that door lock wakes up.
Optionally, judge the scan data of each detection subregion, if meet the second default wake-up condition, comprising:
According to the capacitance variations data of multiple pixels in each detection subregion, the mesh in each detection subregion is obtainedPixel is marked, target pixel points are pixel of the capacitance variations data in default variation range;Calculate each detection subregionCorresponding capacitor averaging delta data, capacitor averaging delta data are being averaged for the capacitance variations data of target pixel pointsValue;Obtain predetermined capacitive change threshold and each corresponding capacitor a reference value of detection subregion;For any detection sub-districtDomain judges the difference of the corresponding capacitor a reference value of detection subregion capacitor averaging delta data corresponding with the detection subregionWhether predetermined capacitive change threshold is greater than or equal to.
Optionally, fingerprint gate lock awakening method provided by the embodiments of the present application, further includes:
For any detection subregion, the corresponding capacitor averaging delta data of subregion and the detection sub-district are detected if it existsThe difference of the corresponding capacitor a reference value in domain is greater than or equal to the predetermined capacitive change threshold, then updates each detection subregion respectivelyCorresponding capacitor a reference value.
In the embodiment of the present application, by there is the corresponding capacitor averaging delta data of detection subregion and the detection sub-districtWhen the difference of the corresponding capacitor a reference value in domain is greater than or equal to the detection subregion corresponding predetermined capacitive change threshold, update everyA corresponding capacitor a reference value of detection subregion, improves the reliability of capacitor a reference value.
Fingerprint gate lock Rouser provided by the embodiments of the present application introduced below, micro-control unit (MicrocontrollerUnit, MCU), fingerprint gate lock, storage medium and computer program product, content and method can refer to first aspect and firstThe fingerprint gate lock awakening method that aspect optional way provides, repeats no more.
Second aspect, the embodiment of the present application provide a kind of fingerprint gate lock Rouser, comprising:
Scan module obtains scan data for being scanned to the detection zone on fingerprint sensor in fingerprint gate lock.
Judgment module, for judging whether scan data meets the first default wake-up condition.
Wake-up module wakes up fingerprint gate lock if meeting the first default wake-up condition for scan data.
Optionally, scan module includes:
Submodule is scanned, for sweeping to the detection zone on fingerprint sensor in fingerprint gate lock in present scanning cycleIt retouches, obtains scan data.
Correspondingly, fingerprint gate lock Rouser provided by the embodiments of the present application further include:
Sleep block makes fingerprint gate lock enter suspend mode shape if being unsatisfactory for the first default wake-up condition for scan dataState, next scan period until entering present scanning cycle.
Optionally, include at least one detection subregion in detection zone, scan submodule, be specifically used for:
Each detection subregion is scanned respectively, obtains the capacitance variations of multiple pixels in each detection subregionData.
Optionally, judgment module, comprising:
First judging submodule, for judging the scan data in each detection subregion respectively, if it is pre- to meet secondIf wake-up condition.
Submodule is determined, for determining the number for meeting the detection subregion of the second default wake-up condition.
Second judgment submodule is preset if the number of the inspection detection subregion for meeting the second default wake-up condition is greater thanQuantity then judges that scan data meets the first default wake-up condition.
Optionally, the first judging submodule is specifically used for:
According to the capacitance variations data of multiple pixels in each detection subregion, the mesh in each detection subregion is obtainedPixel is marked, target pixel points are pixel of the capacitance variations data in default variation range.
Each corresponding capacitor averaging delta data of detection subregion is calculated, capacitor averaging delta data is target pictureThe average value of the capacitance variations data of vegetarian refreshments.
Obtain predetermined capacitive change threshold and each corresponding capacitor a reference value of detection subregion.
For any detection subregion, judge that the corresponding capacitor a reference value of the detection subregion is corresponding with the detection subregionThe difference of capacitor averaging delta data whether be greater than or equal to predetermined capacitive change threshold.
Optionally, fingerprint gate lock Rouser provided by the embodiments of the present application, further includes:
Update module detects the corresponding capacitor averaging of subregion if it exists and changes number for being directed to any detection subregionIt is greater than or equal to predetermined capacitive change threshold according to the difference of capacitor a reference value corresponding with the detection subregion, then updates each inspectionSurvey the corresponding capacitor a reference value of subregion.
The third aspect, the embodiment of the present application provide a kind of micro-control unit MCU, for executing such as the embodiment of the present application firstThe fingerprint gate lock awakening method of aspect and first aspect optional way.
Fourth aspect, the embodiment of the present application provide a kind of fingerprint gate lock, including fingerprint sensor, fingerprint algorithm chip and such asThe MCU that the third aspect provides.
5th aspect, the embodiment of the present application provide a kind of computer readable storage medium, the computer-readable storage mediumMatter is stored with computer program, and the computer program executes server described in first aspect and first aspect optional wayFingerprint gate lock awakening method.
6th aspect, the embodiment of the present application provide a kind of computer program product, comprising: executable instruction can be performed and refer toEnable the fingerprint gate lock awakening method for realizing such as first aspect or first aspect optional way.
Fingerprint gate lock awakening method, device, MCU, fingerprint gate lock and storage medium provided by the present application, by fingerprint doorDetection zone in lock on fingerprint sensor is scanned, and obtains scan data;It is default to judge whether scan data meets firstWake-up condition;If scan data meets the first default wake-up condition, fingerprint gate lock is waken up.Due to by fingerprint gate lock middle fingerInspection area on line sensor is scanned, and carries out judging whether to meet the item of default wake-up to obtained scan dataPart, and when scan data meets the first default wake-up condition, fingerprint gate lock is waken up, the wake-up to fingerprint gate lock is realized, andAnd since the scan data obtained by the detection zone in fingerprint sensor judges whether to wake up fingerprint gate lock, avoidUsing the use of becket and touch detection chip, not only increases the reliability of fingerprint gate lock and reduce fingerprint gate lockCost.
Specific embodiment
To keep the purposes, technical schemes and advantages of the embodiment of the present application clearer, below in conjunction with the embodiment of the present applicationIn attached drawing, the technical scheme in the embodiment of the application is clearly and completely described, it is clear that described embodiment isSome embodiments of the present application, instead of all the embodiments.Based on the embodiment in the application, those of ordinary skill in the artEvery other embodiment obtained without making creative work, shall fall in the protection scope of this application.
The description and claims of this application and term " first ", " second ", " third ", " in above-mentioned attached drawingThe (if present)s such as four " are to be used to distinguish similar objects, without being used to describe a particular order or precedence order.It should manageThe data that solution uses in this way are interchangeable under appropriate circumstances, so that embodiments herein described herein for example can be to removeSequence other than those of illustrating or describe herein is implemented.In addition, term " includes " and " having " and theirs is anyDeformation, it is intended that cover it is non-exclusive include, for example, containing the process, method of a series of steps or units, system, productionProduct or equipment those of are not necessarily limited to be clearly listed step or unit, but may include be not clearly listed or for thisA little process, methods, the other step or units of product or equipment inherently.
Fingerprint identification technology is and the life being most widely used now by the means of identification of fingerprint contrast verification identityObject feature identification technique.With the development of terminal device and the development of fingerprint identification technology, fingerprint identification technology is in fingerprint doorThe demand in lock field is also constantly expanding, since stand-by power consumption of the fingerprint gate lock field to fingerprint recognition system is more demanding, becauseThis, the power consumption for how reducing fingerprint recognition system becomes a technical problem to be solved urgently.However in the prior art byWhen fingerprint recognition system is in standby phase, the power supply of fingerprint sensor and fingerprint algorithm chip is disconnected, when user touches goldWhen belonging to ring, touches chip and receive the signal that user touches becket, then supplied again for fingerprint sensor and fingerprint algorithm chipElectricity carries out fingerprint recognition.Although meeting the stand-by power consumption requirement of fingerprint recognition system, since becket is exposed outside and cleverSensitivity is higher, is easy to be interfered, reliability is lower.Based on this, the application provide a kind of fingerprint gate lock awakening method, device,MCU, fingerprint gate lock and storage medium.
Hereinafter, the exemplary scene to the embodiment of the present application is introduced.
Fingerprint gate lock awakening method, device, MCU, fingerprint gate lock and storage medium provided by the embodiments of the present application are mainly answeredFor in fingerprint gate lock, Fig. 1 to be the exemplary application scene figure of the embodiment of the present application, as shown in Figure 1, with the application of fingerprint gate lock 11It is simply introduced in safety cabinet 13, it is generally the case that user needs to pass through when opening the cabinet door 12 of safety cabinet 1314 touch fingerprint door lock 11 of user's finger, so that the finger print information of the fingerprint sensor acquisition user in fingerprint gate lock 11, concurrentlyFinger print information is sent to be identified and verified into fingerprint algorithm chip, to judge whether user fingerprints are preset fingerprint, if userFingerprint is that preset fingerprint then opens fingerprint gate lock 11, if the non-default fingerprint of user fingerprints, fingerprint gate lock 11 can not be opened, is improvedThe safety and intelligence of fingerprint gate lock.However, in a longer period of time, user may there is no the need for opening fingerprint gate lockAsk, if fingerprint gate lock dormancy time section be fingerprint gate lock in fingerprint sensor and fingerprint algorithm chip be powered, can consumeTake a large amount of power consumption, therefore only needs a key wake-up to be carried out to fingerprint gate lock, when user is using fingerprint gate lock to reduce functionConsumption is based on this, and the application provides a kind of fingerprint gate lock awakening method, device, MCU, fingerprint gate lock and storage medium.
Fig. 2 is the flow diagram for the fingerprint gate lock awakening method that one embodiment of the application provides, and this method can be by referring toLine door lock Rouser executes, which can be realized by way of software and/or hardware, such as: the device can be endSome or all of end equipment, for example, it may be central processing unit (Central Processing Unit, CPU), MCU etc.,Fingerprint gate lock awakening method is illustrated using MCU as executing subject below, as shown in Fig. 2, finger provided by the embodiments of the present applicationLine door lock awakening method may include:
Step S101: the detection zone on fingerprint sensor in fingerprint gate lock is scanned, scan data is obtained.
It may include fingerprint sensor and fingerprint algorithm chip in fingerprint gate lock, fingerprint sensor can be used for detecting whetherThere are finger touches, specifically, can by being scanned to the detection zone in fingerprint sensor, to obtain scan data,Scan data can be capacitance variations data or other data, and the form of data can be analog signal, be also possible to countWord information, the embodiment of the present application to the specific data mode of scan data with no restrictions.
In order to reduce energy consumption, the detection zone on fingerprint sensor in fingerprint gate lock is scanned, setting can be passed throughThe mode of scan period is timed scanning to detection zone.Optionally, to the detection zone on fingerprint sensor in fingerprint gate lockDomain is scanned, and obtains scan data, comprising: to the detection zone on fingerprint sensor in fingerprint gate lock in present scanning cycleIt is scanned, obtains scan data.
Setting to the scan period can realize that Fig. 3 is that the application is implemented by the timer in control fingerprint gate lockThe schematic diagram for the scan period that example provides, as shown in figure 3, in present scanning cycle, to the detection zone on fingerprint sensorIt is scanned, and after undergoing period distances, into next scan period.It can be by configuring timing in the embodiment of the present applicationCounter in device sets period distances, and every a cycle interval, into next scanning of present scanning cyclePeriod, and the detection zone on fingerprint sensor in fingerprint gate lock is scanned in the scan period, to obtain scan data.ThisApply embodiment to the period distances of scan period, the specific time of scan period with no restrictions, for example, period distances can be1044.46 the second.The embodiment of the present application to setting period distances and the implementation of scan period also with no restrictions.
Step S102: judge whether scan data meets the first default wake-up condition.
The detection zone of the fingerprint sensor in fingerprint gate lock is scanned within the scan period, and gets scanning numberAccording to later, it is also necessary to judge whether scan data meets the first default wake-up condition, the first default wake-up condition can be according to sweepingThe form for retouching data is configured, for example, scan data is the capacitance variations of detection zone, then the first default wake-up condition can be withIt is predetermined capacitive variation range, if scan data in predetermined capacitive variation range, judges that scan data satisfaction first is default and calls outThe condition of waking up;For another example the first default wake-up condition can be predetermined current if scan data is the curent change of detection zoneVariation range, if scan data in predetermined current variation range, judges that scan data meets first default wake-up condition etc.,The embodiment of the present application is without limitation.
Step S103: if scan data meets the first default wake-up condition, fingerprint gate lock is waken up.
If scan data meets the first default wake-up condition, fingerprint gate lock is waken up, waking up fingerprint gate lock can be to fingerFingerprint algorithm chip in line door lock powers on, or to the normal power supply of fingerprint gate lock, makes the fingerprint algorithm in fingerprint gate lockChip can be identified and be matched to the collected fingerprint signal of fingerprint sensor.The embodiment of the present application is without limitation,As long as fingerprint gate lock can be waken up.
In addition, if scan data is unsatisfactory for the first default wake-up condition, making fingerprint in a kind of possible embodimentDoor lock enters dormant state, next scan period until entering present scanning cycle, to sweep again to detection zoneIt retouches.
As shown in figure 3, not detected if scan data is unsatisfactory for the first default wake-up condition in present scanning cycleTo finger touch signal, then enter period distances, in period distances, is that the supply current of fingerprint gate lock is lower, makes fingerprint doorIt is locked into dormant state, next scan period until entering present scanning cycle.Next in present scanning cycle sweepsIt retouches in the period, to fingerprint gate lock normal power supply, to be scanned again to detection zone.If in next scan period, scanningData are still unsatisfactory for the first default wake-up condition, then continue to repeat the above steps, and call out until scan data satisfaction first is defaultThe condition of waking up or MCU sending mode switching command, pattern switching are instructed for switching to the powering mode of fingerprint gate lock alwaysIn normal power supply state.In the embodiment of the present application, by making fingerprint gate lock when scan data is unsatisfactory for default wake-up conditionInto dormant state, the power consumption of fingerprint gate lock is reduced, next scan period until entering present scanning cycle, with againDetection zone is scanned, and then detects whether that there are finger touches.
In the embodiment of the present application, by being scanned to the inspection area on fingerprint sensor in fingerprint gate lock, and toTo scan data carry out judging whether to meet the condition of default wake-up, and meet the first default wake-up condition in scan dataWhen, fingerprint gate lock is waken up, realizes the wake-up to fingerprint gate lock, and due to passing through the detection zone in fingerprint sensorObtained scan data judges whether wake-up fingerprint gate lock, avoids the use using becket and touch detection chip, noIt improves only the reliability of fingerprint gate lock and reduces the cost of fingerprint gate lock.
Optionally, the detection zone in fingerprint sensor may include at least one detection subregion, each detection sub-districtDomain includes a detecting electrode, and multiple detecting electrode layer matrix arrangements, Fig. 4 is the knot of detection zone provided by the embodiments of the present applicationStructure schematic diagram, as shown in figure 4, including multiple detection subregions 42 in detection zone 41, the embodiment of the present application is to detection subregionQuantity with no restrictions.Detection subregion 42 can be detecting electrode, and each detection subregion 42 may include multiple pixels.
Based on this, Fig. 5 is the flow diagram for the fingerprint gate lock awakening method that another embodiment of the application provides, this methodIt can be executed by fingerprint gate lock Rouser, which can be realized by way of software and/or hardware, such as: the deviceIt can be some or all of terminal device, for example, it may be CPU, MCU etc., are below executing subject to fingerprint gate lock using MCUAwakening method is illustrated, as shown in figure 5, the step S101 in fingerprint gate lock awakening method provided by the embodiments of the present application can be withInclude:
Step S201: being respectively scanned each detection subregion, obtains multiple pixels in each detection subregionCapacitance variations data.
If there are finger touch on the fingerprint sensor of fingerprint gate lock, finger touches the detection that can make on fingerprint sensorThe capacitor in region changes, available by the capacitance variations data of pixel in the detection subregion in detection zoneThe finger print information that finger touches.
In getting each detection subregion after the capacitance variations data of multiple pixels, as shown in figure 5, above-mentioned realityThe step S102 applied in example may include:
Step S202: the scan data in each detection subregion is judged respectively, if meet the second default wake-up condition.
Second default wake-up condition can be configured according to user demands such as the sensitivity of fingerprint sensor, and the application is realIt is without limitation to apply example.For the scan data in each detection subregion, judge whether to meet the second default wake-up condition,It can be judged according to different default wake-up conditions and different scan data types etc..In a kind of possible embodiment partyIn formula, the scan data of each detection subregion is judged, if meet the second default wake-up condition, comprising:
Firstly, obtaining each detection subregion according to the capacitance variations data of multiple pixels in each detection subregionIn target pixel points, target pixel points are pixel of the capacitance variations data in default variation range.
By the way that default variation range is arranged, in each detection subregion of acquisition during the number of target pixel points, byIt, may be due to differences such as the structures, size, material of detecting electrode, in each detection subregion in different detection subregionsThe judgment criteria of target pixel points may also be different, therefore, can be directed to each detection subregion, and each detection is respectively setThe corresponding default variation range in region, so according to it is each detection subregion in multiple pixels capacitance variations data,Obtain the number of each detection corresponding target pixel points of subregion.Setting to default variation range, can be according to realityBorder situation is configured, and the embodiment of the present application is without limitation.For example, setting finger touch detection subregion corresponding regionWhen, the normal variation range of capacitor is as default variation range.
Secondly, calculating each corresponding capacitor averaging delta data of detection subregion, capacitor averaging delta data isThe average value of the capacitance variations data of target pixel points.
Determining each detection subregion respectively after target point, it is also necessary to respectively to each detection subregionCorresponding capacitor averaging delta data is respectively calculated, and calculation is to the corresponding target picture of each detection subregionThe capacitance variations data of vegetarian refreshments are averaging.
Then, predetermined capacitive change threshold and each corresponding capacitor a reference value of detection subregion are obtained.
Capacitor a reference value is the capacitance signal size that Scanning Detction subregion obtains when touching there is no finger.Default electricityHolding change threshold can be configured according to actual needs, and each corresponding predetermined capacitive change threshold of detection subregion canIt can also be different with identical.Goal-selling pixel threshold value, can be according to the pixel number for including, the detection for detecting subregionThe position of subregion, fingerprint sensor the factors such as sensitivity, be configured.The embodiment of the present application is without limitation.
Obtain the corresponding capacitor a reference value of each detection subregion, predetermined capacitive change threshold and goal-selling pixelPoint threshold value, can be by reading in the corresponding deposit of each detection subregion, and the embodiment of the present application is without limitation.
Finally, being directed to any detection subregion, the corresponding capacitor a reference value of the detection subregion and the detection sub-district are judgedWhether the difference of the corresponding capacitor averaging delta data in domain is greater than or equal to predetermined capacitive change threshold.
If by judgement, the capacitor averaging variation corresponding with the detection subregion of the corresponding capacitor a reference value of detection subregionThe difference of data is greater than or equal to predetermined capacitive change threshold, then the detection subregion meets the second default wake-up condition.
In addition, capacitor a reference value, there are finger touch, will lead to capacitor in acquisition in a kind of possible embodimentA reference value mistake is based on this, fingerprint gate lock awakening method provided by the embodiments of the present application, further includes:
For any detection subregion, the corresponding capacitor averaging delta data of subregion and the detection sub-district are detected if it existsThe difference of the corresponding capacitor a reference value in domain is greater than or equal to predetermined capacitive change threshold, then it is respectively right to update each detection subregionThe capacitor a reference value answered.
In the embodiment of the present application, by there is the corresponding capacitor averaging delta data of detection subregion and the detection sub-districtWhen the difference of the corresponding capacitor a reference value in domain is greater than or equal to predetermined capacitive change threshold, it is respectively right to update each detection subregionThe capacitor a reference value answered, improves the reliability of capacitor a reference value.
Step S203: the number for meeting the detection subregion of the second default wake-up condition is determined.
By above-mentioned steps S202, it can determine whether each detection subregion meets the second default wake-up condition, thenThe number for meeting the detection subregion of the second default wake-up condition is determined again.
Step S204: if the number for meeting the inspection detection subregion of the second default wake-up condition is greater than preset quantity, sentenceDisconnected scan data meets the first default wake-up condition.
Preset quantity can be configured according to the quantity needs of detection subregion, and the embodiment of the present application does not limit thisSystem judges that scan data meets if the number for meeting the inspection detection subregion of the second default wake-up condition is greater than preset quantityFirst default wake-up condition.
In the embodiment of the present application, the number of the detection subregion of the second default wake-up condition is met by judgement, if fullSufficient preset quantity improves the reliability of the first default wake-up condition as the first default wake-up condition, and then improves fingerprintThe accuracy that door lock wakes up.
Following is the application Installation practice, can be used for executing the application embodiment of the method.It is real for the application deviceUndisclosed details in example is applied, the application embodiment of the method is please referred to.
Fig. 6 is the structural schematic diagram for the fingerprint gate lock Rouser that one embodiment of the application provides, which can pass throughThe mode of software and/or hardware realizes, such as: the device can be some or all of terminal device, for example, it may be CPU,MCU etc., as shown in fig. 6, fingerprint gate lock Rouser provided by the embodiments of the present application may include:
Scan module 61 obtains scanning number for being scanned to the detection zone on fingerprint sensor in fingerprint gate lockAccording to.
Judgment module 62, for judging whether scan data meets the first default wake-up condition.
Wake-up module 63 wakes up fingerprint gate lock if meeting the first default wake-up condition for scan data.
Optionally, Fig. 7 is the structural schematic diagram for the fingerprint gate lock Rouser that another embodiment of the application provides, the deviceIt can be realized by way of software and/or hardware, such as: the device can be some or all of terminal device, for example, canTo be CPU, MCU etc., as shown in fig. 7, fingerprint gate lock Rouser provided by the embodiments of the present application, scan module 61 can wrapIt includes:
Scan submodule 611, for the detection zone on fingerprint sensor in fingerprint gate lock present scanning cycle intoRow scanning, obtains scan data.
Correspondingly, as shown in fig. 7, fingerprint gate lock Rouser provided by the embodiments of the present application further include:
Sleep block 64 makes fingerprint gate lock enter suspend mode if being unsatisfactory for the first default wake-up condition for scan dataState, next scan period until entering present scanning cycle.
Optionally, as shown in fig. 7, including at least one detection subregion in detection zone, submodule 611 is scanned, specificallyFor:
Each detection subregion is scanned respectively, obtains the capacitance variations of multiple pixels in each detection subregionData.
Optionally, as shown in fig. 7, judgment module 62, comprising:
First judging submodule 621, for judging the scan data in each detection subregion respectively, if meet secondDefault wake-up condition.
Submodule 622 is determined, for determining the number for meeting the detection subregion of the second default wake-up condition.
Second judgment submodule 623, if the number of the inspection detection subregion for meeting the second default wake-up condition is greater thanPreset quantity then judges that scan data meets the first default wake-up condition.
Optionally, the first judging submodule 621, is specifically used for:
According to the capacitance variations data of multiple pixels in each detection subregion, the mesh in each detection subregion is obtainedPixel is marked, target pixel points are pixel of the capacitance variations data in default variation range.
Each corresponding capacitor averaging delta data of detection subregion is calculated, capacitor averaging delta data is target pictureThe average value of the capacitance variations data of vegetarian refreshments.
Obtain predetermined capacitive change threshold and each corresponding capacitor a reference value of detection subregion.
For any detection subregion, judge that the corresponding capacitor a reference value of the detection subregion is corresponding with the detection subregionThe difference of capacitor averaging delta data whether be greater than or equal to predetermined capacitive change threshold.
Optionally, as shown in fig. 7, fingerprint gate lock Rouser provided by the embodiments of the present application, further includes:
Update module 65 detects the corresponding capacitor averaging variation of subregion for being directed to any detection subregion if it existsThe difference of data capacitor a reference value corresponding with the detection subregion is greater than or equal to predetermined capacitive change threshold, then updates eachDetect the corresponding capacitor a reference value of subregion.
The embodiment of the present application provides a kind of micro-control unit MCU, for executing such as the embodiment of the present application first aspect and theThe fingerprint gate lock awakening method of one side optional way.
The embodiment of the present application provides a kind of fingerprint gate lock, and Fig. 8 is that the structure of fingerprint gate lock provided by the embodiments of the present application is shownIt is intended to, as shown in figure 8, fingerprint gate lock 81 includes fingerprint sensor 82, fingerprint algorithm chip 83 and MCU84.
Fingerprint sensor 82 is used to acquire fingerprint sensor 82 for acquiring user fingerprints information, fingerprint algorithm chip 93To user fingerprints information identified that MCU84 is for realizing the control to fingerprint sensor 82 and fingerprint algorithm chip.
In addition, the embodiment of the present application also provides a kind of computer readable storage medium, deposited in computer readable storage mediumComputer executed instructions are contained, when at least one processor of user equipment executes the computer executed instructions, user equipmentExecute above-mentioned various possible methods.
Wherein, computer-readable medium includes computer storage media and communication media, and wherein communication media includes being convenient forFrom a place to any medium of another place transmission computer program.Storage medium can be general or specialized computerAny usable medium that can be accessed.A kind of illustrative storage medium is coupled to processor, to enable a processor to from thisRead information, and information can be written to the storage medium.Certainly, storage medium is also possible to the composition portion of processorPoint.Pocessor and storage media can be located in ASIC.In addition, the ASIC can be located in user equipment.Certainly, processor andStorage medium can also be used as discrete assembly and be present in communication equipment.
Those of ordinary skill in the art will appreciate that: realize that all or part of the steps of above-mentioned each method embodiment can lead toThe relevant hardware of program instruction is crossed to complete.Program above-mentioned can be stored in a computer readable storage medium.The journeyWhen being executed, execution includes the steps that above-mentioned each method embodiment to sequence;And storage medium above-mentioned include: ROM, RAM, magnetic disk orThe various media that can store program code such as person's CD.
Finally, it should be noted that the above various embodiments is only to illustrate the technical solution of the application, rather than its limitations;To the greatest extentPipe is described in detail the application referring to foregoing embodiments, those skilled in the art should understand that: its according toSo be possible to modify the technical solutions described in the foregoing embodiments, or to some or all of the technical features intoRow equivalent replacement;And these are modified or replaceed, each embodiment technology of the application that it does not separate the essence of the corresponding technical solutionThe range of scheme.