CN107563166A - A kind of fingerprint module dormancy awakening method and device - Google Patents

A kind of fingerprint module dormancy awakening method and device Download PDF

Info

Publication number
CN107563166A
CN107563166A CN201710751646.7A CN201710751646A CN107563166A CN 107563166 A CN107563166 A CN 107563166A CN 201710751646 A CN201710751646 A CN 201710751646A CN 107563166 A CN107563166 A CN 107563166A
Authority
CN
China
Prior art keywords
fingerprint module
dormancy
module
nuclear layer
inner nuclear
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201710751646.7A
Other languages
Chinese (zh)
Other versions
CN107563166B (en
Inventor
吴新胜
董起武
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
XIAN CILICO MICROELECTRONICS CORP
Original Assignee
XIAN CILICO MICROELECTRONICS CORP
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by XIAN CILICO MICROELECTRONICS CORP filed Critical XIAN CILICO MICROELECTRONICS CORP
Priority to CN201710751646.7A priority Critical patent/CN107563166B/en
Publication of CN107563166A publication Critical patent/CN107563166A/en
Application granted granted Critical
Publication of CN107563166B publication Critical patent/CN107563166B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Image Input (AREA)
  • Measurement Of The Respiration, Hearing Ability, Form, And Blood Characteristics Of Living Organisms (AREA)
  • Power Sources (AREA)
  • Telephone Function (AREA)

Abstract

The embodiment of the present invention provides a kind of fingerprint module dormancy awakening method and device.Methods described includes:Judge whether there is dormancy notice in inner nuclear layer;If there is dormancy notice in the inner nuclear layer, dormancy fingerprint module registered in advance;Judge whether there are default wake events to be triggered in inner nuclear layer;If there are default wake events to be triggered in the inner nuclear layer, the fingerprint module of dormancy is waken up.Fingerprint module dormancy awakening method provided in an embodiment of the present invention, the dormancy fingerprint module registered in advance when intelligent terminal inner nuclear layer has dormancy notice, when there is wake events to be triggered, wake up the fingerprint module of dormancy, so that the dormancy awakening fingerprint module in intelligent terminal system dormancy awakening, intelligent terminal power consumption is reduced, improves the cruising time of intelligent terminal.

Description

A kind of fingerprint module dormancy awakening method and device
Technical field
The present embodiments relate to communication technical field, and in particular to a kind of fingerprint module dormancy awakening method and device.
Background technology
In recent years, vigorously supporting and under enterprise is continually striving in the industry in national policy, China's intelligent terminal industry development Rapidly, the trend risen year by year is presented in the use of intelligent terminal.The popularization of intelligent terminal is brought to the production and living of people Earth-shaking change, introducing fingerprint module makes intelligent terminal use more convenient in intelligent terminal, safer.For example, in thing Fingerprint module is introduced in networked terminals, realizes the functions such as unlocked by fingerprint, fingerprint authentication, and for example introduces fingerprint mould in the terminal Block, realize the functions such as quick release, quick login, quick payment.
When user's finger presses pickup area, the fingerprint module collection fingerprint image of intelligent terminal, judge what is collected Whether image is matched with the fingerprint image stored, and next step operation, such as unblock intelligent terminal, quick payment are carried out if matching Deng.
But during intelligent terminal use, fingerprint module gathers fingerprint image at any time, and power consumption is larger, and intelligence Terminal is powered using battery, and fingerprint module long-play has a strong impact on the endurance of equipment.
The content of the invention
For in the prior art the defects of, the embodiments of the invention provide a kind of fingerprint module dormancy awakening method and dress Put.
In a first aspect, the embodiment of the present invention provides a kind of fingerprint module dormancy awakening method, including:
Judge whether there is dormancy notice in inner nuclear layer;
If there is dormancy notice in the inner nuclear layer, dormancy fingerprint module registered in advance;
Judge whether there are default wake events to be triggered in inner nuclear layer;
If there are default wake events to be triggered in the inner nuclear layer, the fingerprint module of dormancy is waken up.
Second aspect, the embodiment of the present invention provide a kind of fingerprint module dormancy awakening device, including:
First judge module, for judging whether there is dormancy notice in inner nuclear layer;
Sleep block, if for having dormancy notice, dormancy fingerprint module registered in advance in the inner nuclear layer;
Second judge module, for judging whether there are default wake events to be triggered in inner nuclear layer;
Wake module, if for there are default wake events to be triggered in the inner nuclear layer, wake up the finger of dormancy Line module.
The third aspect, the embodiment of the present invention provide a kind of electronic equipment, including:
Memory and processor, the processor and the memory complete mutual communication by bus;It is described to deposit Reservoir is stored with can be by the programmed instruction of the computing device, and it is as follows that the processor calls described program instruction to be able to carry out Method:Whether there is dormancy notice in disconnected inner nuclear layer;If there is dormancy notice in the inner nuclear layer, dormancy fingerprint mould registered in advance Block;Judge whether there are default wake events to be triggered in inner nuclear layer;If there are default wake events to be touched in the inner nuclear layer Hair, then wake up the fingerprint module of dormancy.
Fourth aspect, the embodiment of the present invention provide a kind of storage medium, are stored thereon with computer program, the computer journey Following method is realized when sequence is executed by processor:Whether there is dormancy notice in disconnected inner nuclear layer;If there is dormancy to lead in the inner nuclear layer Know, then dormancy fingerprint module registered in advance;Judge whether there are default wake events to be triggered in inner nuclear layer;If the kernel There are default wake events to be triggered in layer, then wake up the fingerprint module of dormancy.
Fingerprint module dormancy awakening method and device provided in an embodiment of the present invention, have dormancy to lead in intelligent terminal inner nuclear layer Dormancy fingerprint module registered in advance when knowing, when there are wake events to be triggered, wake up the fingerprint module of dormancy so that Dormancy awakening fingerprint module during intelligent terminal system dormancy awakening, intelligent terminal power consumption is reduced, when improving the continuation of the journey of intelligent terminal Between.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing There is the required accompanying drawing used in technology description to be briefly described, it should be apparent that, drawings in the following description are this hairs Some bright embodiments, for those of ordinary skill in the art, on the premise of not paying creative work, can be with root Other accompanying drawings are obtained according to these accompanying drawings.
Fig. 1 is fingerprint module dormancy awakening method schematic flow sheet provided in an embodiment of the present invention;
Fig. 2 is Android system power management architecture figure provided in an embodiment of the present invention;
Fig. 3 is Wakeup workflow diagrams in Android system provided in an embodiment of the present invention;
Fig. 4 is fingerprint module dormancy method schematic flow sheet provided in an embodiment of the present invention;
Fig. 5 is fingerprint module awakening method schematic flow sheet provided in an embodiment of the present invention;
Fig. 6 is the structural representation of fingerprint module dormancy awakening device provided in an embodiment of the present invention;
Fig. 7 is the structural representation of electronic equipment provided in an embodiment of the present invention.
Embodiment
To make the purpose, technical scheme and advantage of the embodiment of the present invention clearer, below in conjunction with the embodiment of the present invention In accompanying drawing, the technical scheme in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment is Part of the embodiment of the present invention, rather than whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art The every other embodiment obtained under the premise of creative work is not made, belongs to the scope of protection of the invention.
Fig. 1 is fingerprint module dormancy awakening method schematic flow sheet provided in an embodiment of the present invention, as shown in figure 1, described Method includes:
Step S11, judge whether there is dormancy notice in inner nuclear layer;
If there is dormancy notice in step S12, described inner nuclear layer, dormancy fingerprint module registered in advance;
Specifically, power management is very important link in design of electronic products, and intelligent terminal passes through power management machine System, when intelligent terminal carries out dormancy awakening, the module of all registrations of dormancy awakening, electrical source consumption, increase intelligence are reduced with this The cruising time of terminal.The intelligent terminal being related in the embodiment of the present invention is based on Android operation system and including fingerprint module Mobile terminal or internet-of-things terminal etc., wherein fingerprint module is that the fingerprint collecting for including such as TCS1 fingerprint collectings chip is set It is standby.The dormancy awakening method of fingerprint module includes the sleep step of fingerprint module and the wake-up step of fingerprint module, wherein step S11 and step S12 is the sleep step of fingerprint module, step S13 and the wake-up step that step S14 is fingerprint module.
The power management of Android system is mainly by waking up (wakelock) mechanism of lock come the state of management system, entirely Intelligent terminal power management, four levels can be divided into:Application-interface layer, framework layer (Framework) layer, hardware abstraction layer And inner nuclear layer (kernel) (HAL).
Fig. 2 is Android system power management architecture figure provided in an embodiment of the present invention, as shown in Fig. 2 in application-interface layer Application can be by calling the interface application wakelock of the PowerManager in Framework layers, for waking up system Or system is entered the operation such as sleep, PowerManager interface includes:Wakeup():Pressure system is called out from sleep state Wake up, this interface is nonopen to application, using thinking that wake-up system must be by setting bright screen mark;gotoSleep():By force System processed enters sleep state, and this interface is also that application is not opened;userActivity():To PowerManagerService reports the User Activity of influence system dormancy, and re-computation is gone out the screen time, backlight illumination etc., such as Touch screen, swipe, the User Activity such as power key;Wakelock:Wakelock is a PowerManager inner classes, there is provided Related interface operates wakelock locks, such as newWakeLock () method to create wakelock locks, acquire () and Release () method is applied and discharges lock, as long as there is a wakelock not to be released in system, system all cannot be introduced into Resting state;isDeviceIdleMode():The current state of returning equipment, if equipment is in idle (Idle) state, True is returned to, Idle states are in the case where intelligent terminal is not used for a long time and is not moved, and enter one kind Doze off under the pattern of (Doze) low-power consumption, intelligent terminal may turn off network data access under this state, and system can lead to This broadcast message of prison DEVICE_IDLE_MODE_CHANGED is crossed, carrys out the change of monitoring device state.Application call The interface that PowerManager is opened, the operation that some row are carried out to system are completed in PowerManagerService, The calculating related to Power in PowerManagerService computing systems, it is the decision system of whole power management. PowerManagerService coordinates how Power interacts with the other modules of system simultaneously, sets up in Framework layers One policy control scheme, come control device holding state, control display screen, backlight to making policy decision HAL layers and Kernel layers The state of the hardware devices such as lamp, range sensor, light sensor, fingerprint module, is supplied to application program to grasp accordingly upwards System wake-up is persistently kept when making interface, for example listening music, applicative notifications arrive to wake up the scenes such as mobile phone screen.HAL layers only have One power.c file, this document are communicated by the parameter that upper strata hands down with Kernel layers, major function be application/ Release lock, maintains screen light on and off.Kernel layers realize power management, such as judge whether system needs dormancy, if desired dormancy, The module that then dormancy is registered in Kernel layers, system is set to enter resting state.Specifically, the module tool of Kernel layers registration dormancy Body is the module that pre- suspending mechanism (early_suspend) is have registered in system drive, and the module of registration is added to In the dmp_list chained lists of Kernel layers.
In actual applications, if fingerprint module wants to carry out dormancy in intelligent terminal system dormancy, it is necessary in advance in intelligence Early_suspend mechanism, when intelligent terminal system enters resting state, Kernel layer meetings can be registered in the system drive of terminal Perform the sleep procedure of fingerprint module.Specifically, the reason for causing system to enter resting state includes three kinds:The first is user By power key (Power_Key), second is that system releases all wake-up locks (wakelock), and the third is that system surpasses When.When system often starts an application program, application program can apply for that a wakelock wakes up lock, whenever application It can all be registered after success in kernel, for notifying system kernel layer, there is wakelock to be applied, when using journey When sequence discharges wakelock under certain conditions, apllied wakelock before nullifying.When all in system After wakelock is released, system will enter real sleep state.Specifically, system passes through in inner nuclear layer GoToSleepNoUpdateLocked functions complete monitoring wakelock operation, and to having registered early_suspend machines The module of system send will dormancy notice, goToSleepNoUpdateLocked functions are additionally operable to have modified system Wakefulness is identified, and is set to WAKEFULNESS_DOZING, by mDirty |=DIRTY_WAKEFULNESS set. When fingerprint module receive that inner nuclear layer sends will dormancy notice after, inner nuclear layer is by operating HAL layers and Framework layers Dormancy is carried out to fingerprint module.
Step S13, judge whether there are default wake events to be triggered in inner nuclear layer;
If there are default wake events to be triggered in step S14, described inner nuclear layer, the fingerprint mould of dormancy is waken up Block.
Specifically, after intelligent terminal system dormancy, intelligent terminal is made to recover normal mode of operation by triggering wake events. Intelligent terminal wake events have a variety of, common wake events to have Power_Key, incoming call wake up, alarm clock wakes up etc..When there is wake-up When event produces, application program sets the Wakeup interfaces for calling PowerManager, forces wake-up system.Fig. 3 is the present invention Wakeup workflow diagrams in the Android system that embodiment provides, system kernel layer light intelligent terminal screen by Wakeup flows Curtain.When there is wake events to be triggered in inner nuclear layer, inner nuclear layer wakes up the fingerprint module of dormancy, and now fingerprint module can be with Continue to gather fingerprint, then carry out fingerprint associative operation, system is resumed work state.
Fingerprint module dormancy awakening method provided in an embodiment of the present invention, stops when intelligent terminal inner nuclear layer has dormancy notice Sleep fingerprint module registered in advance, when there are wake events to be triggered, wake up the fingerprint module of dormancy so that at intelligent end Dormancy awakening fingerprint module during end system dormancy awakening, intelligent terminal power consumption is reduced, improve the cruising time of intelligent terminal.
On the basis of above-described embodiment, further, dormancy fingerprint module registered in advance, including:
If judgement knows that the fingerprint module is in open mode, electricity is gone to the fingerprint module.
Fig. 4 is fingerprint module dormancy method schematic flow sheet provided in an embodiment of the present invention, as shown in figure 4, methods described Including:
Step S211, judge that fingerprint module is in open mode, if fingerprint module has already turned on, perform step S212, Otherwise sleep procedure terminates;
Step S212, electricity is gone to the fingerprint module.
Specifically, when fingerprint module opens or closes, the feedback of status value of fingerprint module can be set in inner nuclear layer, for The fingerprint module being not switched on, without carrying out sleep operation, therefore when carrying out dormancy to fingerprint module, inner nuclear layer is referred to by searching The feedback of status value of line module obtains whether fingerprint module is opened, if fingerprint module is opened, to the corresponding pin of fingerprint module Electricity is removed, high level is set to low level, to save the electricity of fingerprint module.
Fingerprint module dormancy awakening method provided in an embodiment of the present invention, stops when intelligent terminal inner nuclear layer has dormancy notice Sleep fingerprint module registered in advance, electricity is removed to fingerprint module, reduce intelligent terminal power consumption, improve the cruising time of intelligent terminal.
On the basis of above-described embodiment, further, the fingerprint module for waking up dormancy, including:
If judgement knows that the fingerprint module is in open mode, to electric on the fingerprint module;
Sent to the fingerprint module and wake up instruction, if judging to know that the respective pin of the fingerprint module has been waken up, Then initialize the fingerprint module.
Specifically, when fingerprint module opens or closes, the feedback of status value of fingerprint module can be set in inner nuclear layer, for The fingerprint module being not switched on, without carrying out wake operation.When system needs to wake up, inner nuclear layer is first by searching fingerprint module Feedback of status value obtain whether fingerprint module is opened, if fingerprint module is opened, to electric in the module of dormancy, be delayed one section After time, the universal input output pin (gpio) of correlation is initialized, inner nuclear layer is sent out by bus (SPI) to fingerprint module afterwards Wake-up is sent to instruct, specifically, inner nuclear layer sends WKE_UP instructions to fingerprint module, then judges wakeup corresponding to fingerprint module Whether pin has already turned on, if after delay preset time, wakeup pins can not still be opened, then inner nuclear layer judges fingerprint Data bits fail.If wakeup pins have already turned on, fingerprint module is initialized, fingerprint module is returned to working condition.
Fingerprint module dormancy awakening method provided in an embodiment of the present invention, is called out when intelligent terminal inner nuclear layer has wake events The fingerprint module of awake dormancy, to electric on fingerprint module, initialization fingerprint module, intelligent terminal power consumption is reduced, improved intelligent The cruising time of terminal.
On the basis of the various embodiments described above, further, the initialization fingerprint module includes:
Reset instruction and initialization package are sent to the fingerprint module, so that the fingerprint module is according to described initial Change packet and reset to original state.
Specifically, inner nuclear layer sends RESET instructions to fingerprint module and initialization package, fingerprint module receive this and referred to After order, original state is reset to according to initialization package, wakes up fingerprint module, in wakeup process, fingerprint module is to kernel The information of layer feedback response instruction, so that inner nuclear layer judges whether fingerprint module just wakes up successfully.Wherein initialization package is The initialization package of fingerprint module, inner nuclear layer can be by calling the Command Reference of fingerprint module to obtain, according to the initialization Packet, fingerprint module can return to working condition, continue the operation such as fingerprint collecting.
Fig. 5 is fingerprint module awakening method schematic flow sheet provided in an embodiment of the present invention, as shown in figure 5, methods described Including:
Step S411, inner nuclear layer judges whether fingerprint module is opened, and step S412 is performed if opening, is otherwise terminated;
Step S412, inner nuclear layer is to electric on fingerprint module;
Step S413, the related gpio pins of inner nuclear layer initialization fingerprint module;
Step S414, inner nuclear layer judges whether the wakeup pins of fingerprint module are opened, if opening, performs step S415, otherwise terminate;
Step S415, inner nuclear layer sends reset instruction to fingerprint module;
Step S416, fingerprint module resets to original state according to reset instruction.
Fingerprint module dormancy awakening method provided in an embodiment of the present invention, is called out when intelligent terminal inner nuclear layer has wake events The fingerprint module of awake dormancy, to electric on fingerprint module, reset instruction and initialization package are sent to fingerprint module, makes finger Line module resets reduce intelligent terminal power consumption, improve the cruising time of intelligent terminal to original state.
Fig. 6 is the structural representation of fingerprint module dormancy awakening device provided in an embodiment of the present invention, as shown in fig. 6, institute Stating device includes:First judge module 61, sleep block 62, the second judge module 63 and wake module 64, wherein:
First judge module 61 is used to judge whether there is dormancy notice in inner nuclear layer;If sleep block 62 is used for the kernel There is dormancy notice in layer, then dormancy fingerprint module registered in advance;Second judge module 63 is used to judge whether have in inner nuclear layer Default wake events are triggered;If wake module 64 is used for there are default wake events to be triggered in the inner nuclear layer, call out The fingerprint module of awake dormancy.
Specifically, system completes monitoring wakelock by the goToSleepNoUpdateLocked functions in inner nuclear layer Operation, and to registered early_suspend mechanism module send will dormancy notice, GoToSleepNoUpdateLocked functions are additionally operable to have modified the Wakefulness marks of system, are set to WAKEFULNESS_DOZING, by mDirty |=DIRTY_WAKEFULNESS set.First judge module 61 passes through judgement Whether Wakefulness mark acquisition systems have dormancy notice, if there is dormancy notice, sleep block 62 is to fingerprint registered in advance Module carries out dormancy.Second judge module 63 determines whether wake events such as Power_Key, incoming call wake up, alarm clock wakes up etc., If so, then wake module 64 wakes up the fingerprint module of dormancy.Device provided in an embodiment of the present invention, its function referring in particular to Above method embodiment, here is omitted.
Fingerprint module dormancy awakening device provided in an embodiment of the present invention, stops when intelligent terminal inner nuclear layer has dormancy notice Sleep fingerprint module registered in advance, when there are wake events to be triggered, wake up the fingerprint module of dormancy so that at intelligent end Dormancy awakening fingerprint module during end system dormancy awakening, intelligent terminal power consumption is reduced, improve the cruising time of intelligent terminal.
On the basis of above-described embodiment, further, the sleep block is specifically used for:
If judgement knows that the fingerprint module is in open mode, electricity is gone to the fingerprint module.
Specifically, when fingerprint module opens or closes, the feedback of status value of fingerprint module can be set in inner nuclear layer, for The fingerprint module being not switched on, without carrying out sleep operation, therefore when carrying out dormancy to fingerprint module, sleep block passes through lookup The feedback of status value of fingerprint module obtains whether fingerprint module is opened, if fingerprint module is opened, to the corresponding pipe of fingerprint module Pin removes electricity, and high level is set into low level, to save the electricity of fingerprint module.Device provided in an embodiment of the present invention, its function Referring in particular to above method embodiment, here is omitted.
Fingerprint module dormancy awakening device provided in an embodiment of the present invention, stops when intelligent terminal inner nuclear layer has dormancy notice Sleep fingerprint module registered in advance, electricity is removed to fingerprint module, reduce intelligent terminal power consumption, improve the cruising time of intelligent terminal.
On the basis of the various embodiments described above, further, the wake module, including:
Upper electric unit, if for judging to know that the fingerprint module is in open mode, to electric on the fingerprint module;
Initialization unit, instruction is waken up for being sent to the fingerprint module, if judging to know the phase of the fingerprint module Answer pin to be waken up, then initialize the fingerprint module.
Specifically, upper electric unit obtains whether fingerprint module is opened by searching the feedback of status value of fingerprint module first, If fingerprint module is opened, to electric in the module of dormancy, after delay a period of time, initialization unit initializes the general of correlation Input and output pin (gpio), afterwards initialization unit by bus (SPI) to fingerprint module send wake up instruction, specifically, Initialization unit sends WKE_UP instructions to fingerprint module, then judges whether wakeup pins have been beaten corresponding to fingerprint module Open, if after delay preset time, wakeup pins can not still be opened, then initialization unit judges that fingerprint module wakes up mistake Lose.If wakeup pins have already turned on, fingerprint module is initialized, fingerprint module is returned to working condition.The present invention is implemented The device that example provides, its function is referring in particular to above method embodiment, and here is omitted.
Fingerprint module dormancy awakening device provided in an embodiment of the present invention, is called out when intelligent terminal inner nuclear layer has wake events The fingerprint module of awake dormancy, to electric on fingerprint module, initialization fingerprint module, intelligent terminal power consumption is reduced, improved intelligent The cruising time of terminal.
On the basis of above-described embodiment, further, the initialization unit is specifically used for:
Reset instruction and initialization package are sent to the fingerprint module, so that the fingerprint module is according to described initial Change packet and reset to original state.
Specifically, initialization unit sends RESET instructions to fingerprint module and initialization package, fingerprint module receive After the instruction, original state is reset to according to initialization package, wakes up fingerprint module, in wakeup process, fingerprint module to The information of initialization unit feedback response instruction, so that initialization unit judges whether fingerprint module just wakes up successfully.Wherein just Beginningization packet is the initialization package of fingerprint module, and initialization unit can be by calling the Command Reference of fingerprint module to obtain , according to the initialization package, fingerprint module can return to working condition, continue the operation such as fingerprint collecting.This hair The device that bright embodiment provides, its function is referring in particular to above method embodiment, and here is omitted.
Fingerprint module dormancy awakening device provided in an embodiment of the present invention, is called out when intelligent terminal inner nuclear layer has wake events The fingerprint module of awake dormancy, to electric on fingerprint module, reset instruction and initialization package are sent to fingerprint module, makes finger Line module resets reduce intelligent terminal power consumption, improve the cruising time of intelligent terminal to original state.
Fig. 7 is the structural representation of electronic equipment provided in an embodiment of the present invention, as shown in fig. 7, the equipment includes:Place Manage device (processor) 701, memory (memory) 702 and bus 703;
Wherein, processor 701 and memory 702 complete mutual communication by the bus 703;
Processor 701 is used to call programmed instruction in memory 702, is provided with to perform above-mentioned each method embodiment Method, such as including:Judge whether there is dormancy notice in inner nuclear layer;If there is dormancy notice in the inner nuclear layer, dormancy is advance The fingerprint module of registration;Judge whether there are default wake events to be triggered in inner nuclear layer;If have in the inner nuclear layer default Wake events are triggered, then wake up the fingerprint module of dormancy.
The embodiment of the present invention discloses a kind of computer program product, and the computer program product is non-transient including being stored in Computer program on computer-readable recording medium, the computer program include programmed instruction, when described program instructs quilt When computer performs, computer is able to carry out the method that above-mentioned each method embodiment is provided, such as including:Judge in inner nuclear layer Whether dormancy notice is had;If there is dormancy notice in the inner nuclear layer, dormancy fingerprint module registered in advance;Judge in inner nuclear layer Whether there are default wake events to be triggered;If there are default wake events to be triggered in the inner nuclear layer, wake up and stopped The fingerprint module of dormancy.
The embodiment of the present invention provides a kind of non-transient computer readable storage medium storing program for executing, the non-transient computer readable storage Medium storing computer instructs, and the computer instruction makes the computer perform the side that above-mentioned each method embodiment is provided Method, such as including:Judge whether there is dormancy notice in inner nuclear layer;If there is dormancy notice in the inner nuclear layer, dormancy is noted in advance The fingerprint module of volume;Judge whether there are default wake events to be triggered in inner nuclear layer;If there is default call out in the inner nuclear layer Awake event is triggered, then wakes up the fingerprint module of dormancy.
One of ordinary skill in the art will appreciate that:Realizing all or part of step of above method embodiment can pass through Programmed instruction related hardware is completed, and foregoing program can be stored in a computer read/write memory medium, the program Upon execution, the step of execution includes above method embodiment;And foregoing storage medium includes:ROM, RAM, magnetic disc or light Disk etc. is various can be with the medium of store program codes.
The embodiments such as device described above are only schematical, wherein the unit illustrated as separating component It can be or may not be physically separate, can be as the part that unit is shown or may not be physics list Member, you can with positioned at a place, or can also be distributed on multiple NEs.It can be selected according to the actual needs In some or all of module realize the purpose of this embodiment scheme.Those of ordinary skill in the art are not paying creativeness Work in the case of, you can to understand and implement.
Through the above description of the embodiments, those skilled in the art can be understood that each embodiment can Realized by the mode of software plus required general hardware platform, naturally it is also possible to pass through hardware.Based on such understanding, on The part that technical scheme substantially in other words contributes to prior art is stated to embody in the form of software product, should Computer software product can store in a computer-readable storage medium, such as ROM/RAM, magnetic disc, CD, including some fingers Make to cause a computer equipment (can be personal computer, server, or network equipment etc.) to perform each implementation Method described in some parts of example or embodiment.
Finally it should be noted that:Various embodiments above is rather than right only illustrating the technical scheme of embodiments of the invention It is limited;Although embodiments of the invention are described in detail with reference to foregoing embodiments, the ordinary skill of this area Personnel should be understood:It can still modify to the technical scheme described in foregoing embodiments, or to which part Or all technical characteristic carries out equivalent substitution;And these modifications or replacement, do not make the essence disengaging of appropriate technical solution The scope of each embodiment technical scheme of embodiments of the invention.

Claims (10)

  1. A kind of 1. fingerprint module dormancy awakening method, it is characterised in that including:
    Judge whether there is dormancy notice in inner nuclear layer;
    If there is dormancy notice in the inner nuclear layer, dormancy fingerprint module registered in advance;
    Judge whether there are default wake events to be triggered in inner nuclear layer;
    If there are default wake events to be triggered in the inner nuclear layer, the fingerprint module of dormancy is waken up.
  2. 2. according to the method for claim 1, it is characterised in that dormancy fingerprint module registered in advance, including:
    If judgement knows that the fingerprint module is in open mode, electricity is gone to the fingerprint module.
  3. 3. according to the method for claim 1, it is characterised in that the fingerprint module for waking up dormancy, including:
    If judgement knows that the fingerprint module is in open mode, to electric on the fingerprint module;
    Sent to the fingerprint module and wake up instruction, if judging to know that the respective pin of the fingerprint module has been waken up, just The beginningization fingerprint module.
  4. 4. according to the method for claim 3, it is characterised in that the initialization fingerprint module includes:
    Reset instruction and initialization package are sent to the fingerprint module, so that the fingerprint module is according to the initialization number Original state is reset to according to bag.
  5. A kind of 5. fingerprint module dormancy awakening device, it is characterised in that including:
    First judge module, for judging whether there is dormancy notice in inner nuclear layer;
    Sleep block, if for having dormancy notice, dormancy fingerprint module registered in advance in the inner nuclear layer;
    Second judge module, for judging whether there are default wake events to be triggered in inner nuclear layer;
    Wake module, if for there are default wake events to be triggered in the inner nuclear layer, wake up the fingerprint mould of dormancy Block.
  6. 6. device according to claim 5, it is characterised in that the sleep block is specifically used for:
    If judgement knows that the fingerprint module is in open mode, electricity is gone to the fingerprint module.
  7. 7. device according to claim 5, it is characterised in that the wake module, including:
    Upper electric unit, if for judging to know that the fingerprint module is in open mode, to electric on the fingerprint module;
    Initialization unit, instruction is waken up for being sent to the fingerprint module, if judging to know the respective tube of the fingerprint module Pin has been waken up, then initializes the fingerprint module.
  8. 8. device according to claim 7, it is characterised in that the initialization unit is specifically used for:
    Reset instruction and initialization package are sent to the fingerprint module, so that the fingerprint module is according to the initialization number Original state is reset to according to bag.
  9. 9. a kind of electronic equipment, it is characterised in that including:
    Memory and processor, the processor and the memory complete mutual communication by bus;The memory Being stored with can be by the programmed instruction of the computing device, and the processor calls described program instruction to be able to carry out right such as will Seek 1 to 4 any described method.
  10. 10. a kind of computer-readable recording medium, is stored thereon with computer program, it is characterised in that the computer program The method as described in Claims 1-4 is any is realized when being executed by processor.
CN201710751646.7A 2017-08-28 2017-08-28 Fingerprint module dormancy awakening method and device Active CN107563166B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710751646.7A CN107563166B (en) 2017-08-28 2017-08-28 Fingerprint module dormancy awakening method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710751646.7A CN107563166B (en) 2017-08-28 2017-08-28 Fingerprint module dormancy awakening method and device

Publications (2)

Publication Number Publication Date
CN107563166A true CN107563166A (en) 2018-01-09
CN107563166B CN107563166B (en) 2020-10-13

Family

ID=60976077

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710751646.7A Active CN107563166B (en) 2017-08-28 2017-08-28 Fingerprint module dormancy awakening method and device

Country Status (1)

Country Link
CN (1) CN107563166B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111356214A (en) * 2018-12-21 2020-06-30 杭州登虹科技有限公司 Low-power-consumption wireless visual doorbell sleep time difference awakening optimization scheme
EP3862848A1 (en) * 2020-02-10 2021-08-11 Beijing Xiaomi Mobile Software Co., Ltd. Pressure-sensitive vibration processing method and apparatus, mobile terminal and electronic device
CN114024784A (en) * 2021-09-28 2022-02-08 浙江大华技术股份有限公司 Communication device control method, communication device, and computer storage medium

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102075637A (en) * 2009-11-25 2011-05-25 英业达股份有限公司 Portable electronic device and method thereof for acquiring chip pin state
CN103516913A (en) * 2013-09-13 2014-01-15 广东欧珀移动通信有限公司 Method and device for automatic sleep awakening of mobile phone display screen
CN104010076A (en) * 2014-05-12 2014-08-27 联想(北京)有限公司 Information processing method, electronic equipment and system
CN104636169A (en) * 2015-02-15 2015-05-20 广东欧珀移动通信有限公司 System awakening method and system awakening device
CN105183352A (en) * 2015-09-01 2015-12-23 广东欧珀移动通信有限公司 Method and device for realizing more hand gesture recognition at blank screen state of terminal
US20160037448A1 (en) * 2014-07-29 2016-02-04 Apple Inc. Apparatus, System, and Method for Parallelizing UE Wakeup Process
CN105872189A (en) * 2015-11-13 2016-08-17 乐视移动智能信息技术(北京)有限公司 Automatic reconnection method and device after dormancy wakeup of mobile phone
CN105892629A (en) * 2015-10-20 2016-08-24 乐视移动智能信息技术(北京)有限公司 Multicore-based screen awakening method and device as well as mobile terminal

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102075637A (en) * 2009-11-25 2011-05-25 英业达股份有限公司 Portable electronic device and method thereof for acquiring chip pin state
CN103516913A (en) * 2013-09-13 2014-01-15 广东欧珀移动通信有限公司 Method and device for automatic sleep awakening of mobile phone display screen
CN104010076A (en) * 2014-05-12 2014-08-27 联想(北京)有限公司 Information processing method, electronic equipment and system
US20160037448A1 (en) * 2014-07-29 2016-02-04 Apple Inc. Apparatus, System, and Method for Parallelizing UE Wakeup Process
CN104636169A (en) * 2015-02-15 2015-05-20 广东欧珀移动通信有限公司 System awakening method and system awakening device
CN105183352A (en) * 2015-09-01 2015-12-23 广东欧珀移动通信有限公司 Method and device for realizing more hand gesture recognition at blank screen state of terminal
CN105892629A (en) * 2015-10-20 2016-08-24 乐视移动智能信息技术(北京)有限公司 Multicore-based screen awakening method and device as well as mobile terminal
CN105872189A (en) * 2015-11-13 2016-08-17 乐视移动智能信息技术(北京)有限公司 Automatic reconnection method and device after dormancy wakeup of mobile phone

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111356214A (en) * 2018-12-21 2020-06-30 杭州登虹科技有限公司 Low-power-consumption wireless visual doorbell sleep time difference awakening optimization scheme
CN111356214B (en) * 2018-12-21 2023-08-04 杭州登虹科技有限公司 Low-power consumption wireless visible doorbell sleep time difference awakening optimization method
EP3862848A1 (en) * 2020-02-10 2021-08-11 Beijing Xiaomi Mobile Software Co., Ltd. Pressure-sensitive vibration processing method and apparatus, mobile terminal and electronic device
US11570289B2 (en) 2020-02-10 2023-01-31 Beijing Xiaomi Mobile Software Co., Ltd. Pressure-sensitive vibration processing method and apparatus, mobile terminal and electronic device
CN114024784A (en) * 2021-09-28 2022-02-08 浙江大华技术股份有限公司 Communication device control method, communication device, and computer storage medium

Also Published As

Publication number Publication date
CN107563166B (en) 2020-10-13

Similar Documents

Publication Publication Date Title
CN105740690B (en) A kind of unlocking method and mobile terminal
CN103324500B (en) A kind of method and device reclaiming internal memory
CN102999384B (en) Managing processes within suspend states and execution states
CN107563166A (en) A kind of fingerprint module dormancy awakening method and device
CN102594999A (en) Method and system for performing adaptive mobile phone energy conservation through face identification
CN105022955B (en) A kind of locking means and mobile terminal of application program
CN107454955A (en) A kind of screen awakening method, device and terminal device
CN107810488A (en) A kind of method of state management of virtual machine, device and intelligent terminal
CN111831099A (en) Electronic device
CN106547204A (en) A kind of method of intelligent watch and its bright aobvious screen
CN109660665A (en) A kind of screen control method, screen control device and terminal device
CN105892629A (en) Multicore-based screen awakening method and device as well as mobile terminal
CN103902011A (en) Electronic device controlling method and electronic device
CN104063316B (en) The method of testing and device of a kind of application
CN104461368A (en) User-defined touch screen locking method and device
CN105739986B (en) A kind of awakening method and terminal of terminal
CN105404379A (en) Low-power Operation Method And Associated Electronic Device
CN107943578A (en) A kind of memory release method, terminal device and computer-readable medium
CN101866212A (en) Multi-mode power source managing device and managing method
CN101646227A (en) Power management method for mobile terminal and mobile terminal
CN103257894A (en) Program management method and electronic terminal
CN107765834A (en) application management method, device, storage medium and electronic equipment
CN105892879A (en) Terminal equipment and awakening processing method of touch key
CN116825013A (en) Control device, control method and related equipment of display screen
CN108132803A (en) Timing keep-alive and awakening method, system, terminal and medium based on mobile terminal

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant