CN111103963A - Fingerprint module starting method and device, storage medium and terminal - Google Patents

Fingerprint module starting method and device, storage medium and terminal Download PDF

Info

Publication number
CN111103963A
CN111103963A CN201911261968.9A CN201911261968A CN111103963A CN 111103963 A CN111103963 A CN 111103963A CN 201911261968 A CN201911261968 A CN 201911261968A CN 111103963 A CN111103963 A CN 111103963A
Authority
CN
China
Prior art keywords
fingerprint module
state
power consumption
data
low power
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201911261968.9A
Other languages
Chinese (zh)
Inventor
俞斌
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huizhou TCL Mobile Communication Co Ltd
Original Assignee
Huizhou TCL Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huizhou TCL Mobile Communication Co Ltd filed Critical Huizhou TCL Mobile Communication Co Ltd
Priority to CN201911261968.9A priority Critical patent/CN111103963A/en
Publication of CN111103963A publication Critical patent/CN111103963A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/4401Bootstrapping
    • G06F9/4418Suspend and resume; Hibernate and awake
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • G06F1/3203Power management, i.e. event-based initiation of a power-saving mode
    • G06F1/3206Monitoring of events, devices or parameters that trigger a change in power modality
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • G06F1/3203Power management, i.e. event-based initiation of a power-saving mode
    • G06F1/3234Power saving characterised by the action undertaken

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • Computer Security & Cryptography (AREA)
  • Telephone Function (AREA)
  • Power Sources (AREA)

Abstract

The embodiment of the application discloses a fingerprint module starting method and device, a storage medium and a terminal. The method comprises the following steps: monitoring the working state of the fingerprint module; if the fingerprint module is in an awakening state, detecting whether data to be processed exist at preset time intervals; determining the number of times that the data to be processed is not detected continuously according to the detection result; and when the times reach preset times, controlling the fingerprint module to enter a low power consumption state. This scheme can carry out effectual function switch operation to fingerprint module, avoids fingerprint module ageing with higher speed, prolongs fingerprint module's life, has reduced the terminal consumption simultaneously, promotes battery duration.

Description

Fingerprint module starting method and device, storage medium and terminal
Technical Field
The present application relates to the field of terminal technologies, and in particular, to a fingerprint module starting method and apparatus, a storage medium, and a terminal.
Background
In the screen locking state of the terminal screen, the process of unlocking the terminal by using the fingerprint is as follows: and recording a legal fingerprint in advance, judging whether the fingerprint is the legal fingerprint or not when the fingerprint is detected in a screen-off state, and unlocking the terminal and controlling the screen to display if the fingerprint is the legal fingerprint.
However, since the fingerprint module is often external and in direct contact with the user, there is little chance of actually using the fingerprint for a longer period of time but the time for turning on is longer, which tends to accelerate the aging of the fingerprint module and is detrimental to battery life.
Disclosure of Invention
The embodiment of the application provides a fingerprint module starting method and device, a storage medium and a terminal, which can delay the aging of the fingerprint module and reduce the power consumption of the terminal.
In a first aspect, an embodiment of the present application provides a fingerprint module starting method, which is applied to a terminal, and the method includes:
monitoring the working state of the fingerprint module;
if the fingerprint module is in an awakening state, detecting whether data to be processed exist at preset time intervals;
determining the number of times that the data to be processed is not detected continuously according to the detection result;
and when the times reach preset times, controlling the fingerprint module to enter a low power consumption state, wherein the power consumption of the fingerprint module in the awakening state is higher than that in the low power consumption state.
In some embodiments, after controlling the fingerprint module to enter the low power consumption state, the method further includes:
and when a data processing signal sent to the fingerprint module by the baseband chip is detected, controlling the fingerprint module to enter an awakening state from a low power consumption state.
In some embodiments, after the fingerprint module performs the wake-up state from the low power consumption state, the method further comprises:
monitoring the time from the moment when the fingerprint module enters the awakening state from the low power consumption state to the current moment;
and when the duration reaches the preset duration, processing the data to be processed corresponding to the data processing information number through the fingerprint module.
In some embodiments, the preset duration is less than the preset time interval.
In some embodiments, the method further comprises:
determining the current residual capacity;
if the residual electric quantity is smaller than a preset threshold value, determining a target electric quantity interval in which the residual electric quantity is located from a plurality of preset electric quantity intervals;
acquiring a time value corresponding to the target electric quantity interval;
extending the preset time interval based on the time value.
In a second aspect, an embodiment of the present application provides a fingerprint module starting apparatus, which is applied to a terminal, and the apparatus includes:
the first monitoring unit is used for monitoring the working state of the fingerprint module;
the detection unit is used for detecting whether the data to be processed exists or not at preset time intervals if the fingerprint module is in an awakening state;
the frequency determining unit is used for determining the frequency of continuous undetected data to be processed according to the detection result;
and the control unit is used for controlling the fingerprint module to enter a low power consumption state when the times reach preset times, wherein the power consumption of the fingerprint module in the awakening state is higher than that in the low power consumption state.
In some embodiments, the control unit is further configured to:
after the fingerprint module is controlled to enter the low power consumption state, when a data processing signal sent to the fingerprint module by a baseband chip is detected, the fingerprint module is controlled to enter the awakening state from the low power consumption state.
In some embodiments, the fingerprint module activation device further comprises:
the second monitoring unit is used for monitoring the time length from the moment when the fingerprint module enters the awakening state from the low power consumption state to the current moment after the fingerprint module is in the awakening state from the low power consumption state;
and the processing unit is used for processing the data to be processed corresponding to the data processing information number through the fingerprint module when the time length reaches a preset time length.
In some embodiments, the preset duration is less than the preset time interval.
In some embodiments, the fingerprint module activation device further comprises:
the electric quantity determining unit is used for determining the current residual electric quantity;
the interval determining unit is used for determining a target electric quantity interval in which the residual electric quantity is located from a plurality of preset electric quantity intervals if the residual electric quantity is smaller than a preset threshold;
the acquisition unit is used for acquiring a time value corresponding to the target electric quantity interval;
an extension unit for extending the preset time interval based on a time value.
In a third aspect, an embodiment of the present application further provides a computer-readable storage medium, where a plurality of instructions are stored, and the instructions are adapted to be loaded by a processor to perform the fingerprint module starting method described above.
In a fourth aspect, an embodiment of the present application further provides a terminal, including a processor, a memory, and a fingerprint module, where the processor is electrically connected to the memory and the fingerprint module, the memory is used to store instructions and data, and the processor is used to execute the fingerprint module starting method.
In the implementation of the application, the working state of the fingerprint module is monitored; if the fingerprint module is in an awakening state, detecting whether data to be processed exist at preset time intervals; determining the number of times that the data to be processed is not detected continuously according to the detection result; and when the times reach preset times, controlling the fingerprint module to enter a low power consumption state. This scheme can carry out effectual function switch operation to fingerprint module, avoids fingerprint module ageing with higher speed, prolongs fingerprint module's life, has reduced the terminal consumption simultaneously, promotes battery duration.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a flowchart illustrating a fingerprint module activation method according to an embodiment of the present disclosure.
Fig. 2 is another schematic flowchart of a fingerprint module starting method according to an embodiment of the present disclosure.
Fig. 3 is a schematic structural diagram of an activation apparatus of a fingerprint module according to an embodiment of the present application.
Fig. 4 is another schematic structural diagram of a fingerprint module activation apparatus according to an embodiment of the present application.
Fig. 5 is a schematic structural diagram of a terminal according to an embodiment of the present application.
Fig. 6 is another schematic structural diagram of a terminal according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The embodiment of the application provides a fingerprint module starting method and device, a storage medium and a terminal. The details will be described below separately.
In an embodiment, a fingerprint module starting method is provided, and is applied to terminal devices such as smart phones, tablet computers, and notebook computers. It should be noted that the terminal at least includes a fingerprint module. Referring to fig. 1, a specific flow of the fingerprint module starting method may be as follows:
101. and monitoring the working state of the fingerprint module.
In the embodiment of the present application, the operating states of the fingerprint module may include multiple types, and the operating parameters of the fingerprint module in different operating states are different. For example, the fingerprint module may operate at a higher power during certain operating conditions and at a lower power during certain operating conditions.
102. And if the fingerprint module is in the awakening state, detecting whether the data to be processed exists at preset time intervals.
In this embodiment, the working state of the fingerprint module may at least include a wake-up state. The awakening state means that the fingerprint module is completely started to detect the fingerprint input operation in the external environment in real time. At this time, the actual requirement of the function of the fingerprint module at present can be determined according to whether the data to be processed exists or not by detecting the condition of the data to be processed at regular time, so that a judgment reference can be provided for the fingerprint module to adjust the proper working state subsequently.
The preset time interval can be set by a person skilled in the art or a product manufacturer according to the actual test result of the product. For example, the preset time interval may be 1 second, 2 seconds, or the like.
103. And determining the number of times of continuously not detecting the data to be processed according to the detection result.
Specifically, the number of times that the data to be processed is not detected continuously is determined based on the result of detecting the data to be processed. For example, if the data to be processed is not detected for the first time, the data to be processed is not detected for the second time, and the data to be processed is detected for the third time, the number of times that the data to be processed is not detected continuously is 2; for another example, if the data to be processed is not detected for the first time, the data to be processed is detected for the second time, the data to be processed is detected for the third time, the data to be processed is not detected for the fourth time, and the data to be processed is detected for the fifth time, the number of times of continuously not detecting the data to be processed is 1.
104. And when the times reach the preset times, controlling the fingerprint module to enter a low power consumption state, wherein the power consumption of the fingerprint module in the awakening state is higher than that in the low power consumption state.
Specifically, when the number of times reaches a preset number of times, it indicates that there is no pending data to be processed for a while. Therefore, it can be concluded that there will be no data to be processed in a short time, and at this time, the high-speed operation state of the fingerprint module can be temporarily stopped, so that the fingerprint module enters a low power consumption state, thereby reducing the power consumption of the terminal.
In some embodiments, after controlling the fingerprint module to enter the low power consumption state, if a data processing signal sent by the baseband chip to the fingerprint module is detected, the fingerprint module may be controlled to enter the wake-up state from the low power consumption state for a subsequent operation of executing data processing.
In some embodiments, after the fingerprint module wakes up from the low power consumption state, the following process may be further included:
(11) monitoring the time from the moment when the fingerprint module enters the awakening state from the low-power-consumption state to the current moment;
(12) and when the duration reaches the preset duration, processing the data to be processed corresponding to the data processing information number through the fingerprint module.
In this embodiment, the preset time period may be set to be less than a preset time interval. For example, the preset time interval is set to 2 seconds, and the preset time period is set to 1 second.
In some embodiments, the method may further comprise the following process:
(21) determining the current residual capacity;
(22) if the residual electric quantity is smaller than a preset threshold value, determining a target electric quantity interval in which the residual electric quantity is located from a plurality of preset electric quantity intervals;
(23) acquiring a time value corresponding to a target electric quantity interval;
(24) the preset time interval is extended based on the time value.
Specifically, since the power consumption of the terminal is consumed for detecting the status of the data to be processed at regular time, if the data is consumed at high speed under the condition of insufficient electric quantity, the endurance time of the terminal is shortened at an accelerated speed. Therefore, in the scheme, data detection can be carried out by prolonging the time interval of timing detection under low power so as to delay the speed of consuming the power of the terminal.
In specific implementation, the lower the electric quantity is, the longer the corresponding detection time interval is, that is, the longer the time value delayed by the preset time interval is, so as to better meet the actual requirement.
As can be seen from the above, in the fingerprint module starting method provided in this embodiment, when the fingerprint module is in the wake-up state, whether the to-be-processed data exists is detected every preset time interval, and the number of times that the to-be-processed data is not detected continuously is determined according to the detection result. And when the times reach the preset times, controlling the fingerprint module to enter a low power consumption state. This scheme can carry out effectual function switch operation to fingerprint module, avoids fingerprint module ageing with higher speed, prolongs fingerprint module's life, has reduced the terminal consumption simultaneously, promotes battery duration.
To further explain the fingerprint module starting method provided by the present application, the present embodiment further describes the present application scheme by taking the signal interaction between the baseband chip and the fingerprint module as an example.
Referring to fig. 2, fig. 2 is a schematic diagram illustrating a connection between a baseband chip and a fingerprint module. The control line SCL of the baseband chip 100 is connected to the general-purpose input terminal GPIO1 of the fingerprint module 200 to form a clock line for the communication of the integrated circuit bus IIC, and the data line SDA of the baseband chip 100 is connected to the general-purpose input terminal GPIO2 of the fingerprint module 200 to form a data line for the communication of the integrated circuit bus IIC.
When the baseband chip 100 initiates an operation to the fingerprint module 200, the following steps are performed:
a1, the baseband chip 100 sends a byte of data to the fingerprint module 200 through IIC communication;
a2, if the baseband chip 100 detects that the fingerprint module 200 does not respond, waiting T1 seconds to execute the step A1 again;
according to the IIC communication protocol standard, when the host (i.e., the baseband chip 100) sends one byte of data to the slave (i.e., the fingerprint module 20), the host needs to generate 9 clock signals, wherein the first 8 clock signals are used for sending the one byte of data (one byte is eight bits), and the host pulls up the data line when the 9 th clock signal is received. If the fingerprinting module 200 receives this byte of data, it will pull the data line low, and if the fingerprinting module 200 does not respond, it will still be high. Therefore, the terminal can determine whether the fingerprint module 200 receives the byte data by determining whether the data is low at the time of the 9 th clock signal in the byte data sent by the baseband chip 100;
when the baseband chip 100 detects that the fingerprint module 200 responds, it indicates that the fingerprint module 200 is in an awake state; when the baseband chip 100 detects that the fingerprinting module 200 does not respond, it indicates that the fingerprinting module 200 is in a low power consumption state.
In addition, in the fingerprinting module 200, the following steps are performed:
b1, if the current fingerprint module 200 is in the wake-up state and detects that the IIC communication is idle for X seconds (such as 10 seconds), the fingerprint module 200 enters a low power consumption state, and the data line of the IIC communication is configured to be in an interrupt mode;
b2, if the current fingerprint module 200 is in the low power consumption state, when the baseband chip 100 sends data to the fingerprint module 200 through IIC communication (i.e. step a1), the baseband chip triggers the wakeup fingerprint module, disables the interrupt function of the GPIO1, and configures the GPIO1 as the clock line of the IIC. The fingerprint module is in an operating state after waiting for T2 seconds, and can receive the data sent by the baseband chip 100.
According to the IIC communication protocol standard, IIC communication idle means that the data line and the clock line are both high level. At this time, the baseband chip 100 does not transmit data to the fingerprint module 200. The fingerprint module 200 entering the low power consumption state means that the fingerprint module 200 is in a power saving state, and only responds to the GPIO1 interrupt signal and does not respond to data on the IIC communication.
The clock line of the IIC communication is configured to be in an interrupt mode, that is, the GPIO1 is configured to be in an interrupt mode, where the interrupt mode is a rising edge interrupt or a falling edge interrupt.
If the fingerprint module 200 is currently in the low power consumption state, only the level change on the GPIO1 is responded, and the baseband chip 100 necessarily causes the GPIO1 to generate a rising edge or a falling edge when sending data to the fingerprint module 200, so as to wake up the fingerprint module 200 in the low power consumption state.
In the present embodiment, the time T2 seconds is required to satisfy that T2 is less than T1. Preferably, T1 seconds is 2 seconds and T2 seconds is 1 second.
In some embodiments, the baseband chip 100 includes: the system comprises a data sending module and a response detection module; wherein:
a data sending module, configured to send data to the fingerprint module 200;
a response detection module for detecting whether the fingerprint module 200 has a response after the data transmission module transmits data to the fingerprint module 200;
in some embodiments, the fingerprinting module 200 includes: the device comprises a data receiving module, a pin configuration module, an interrupt detection module and a state switching module.
A data receiving module, configured to receive data sent by the baseband chip 100;
a pin configuration module, configured to configure GPIO1 of the fingerprint module 200, may configure GPIO1 as a clock line of the IIC, and may also configure GPIO1 as an interrupt detection pin, where the interrupt may be configured as a rising edge interrupt or a falling edge interrupt;
an interrupt detection module, configured to detect whether an interrupt is generated on the GPIO1 when the pin configuration module 220 configures the GPIO1 as an interrupt function;
the state switching module 240 is configured to switch the state of the fingerprint module 200, and specifically, the fingerprint module 200 may be switched to a low power consumption state for saving power, or the fingerprint module 200 may be switched to an awake state for receiving data sent by the baseband chip 100.
In the low power consumption state, the fingerprint module 200 only receives the interrupt signal on the GPIO1, and does not receive data sent by the baseband chip 100 through the IIC communication, that is, the data receiving module inside the fingerprint module 200 stops working.
In some embodiments, when the baseband chip 100 needs to send DATA [ N ] to the fingerprint module 200, the following steps are performed:
step A, setting a variable K to be 1;
step B, the DATA sending module 110 of the baseband chip 100 sends a byte DATA DATA [ K ] to the fingerprint module 200 through IIC communication;
step C, the response detection module 120 of the baseband chip 100 detects whether the fingerprint module 200 has a response, and if the response detection module 120 of the baseband chip 100 detects that the fingerprint module 200 has a response, step D is executed; if the response detection module 120 of the baseband chip 100 detects that the fingerprinting module 200 does not respond, step S1005 is executed;
step D, K ═ K +1, followed by step B;
e, delaying for 2 seconds, and then executing the step B;
where DATA [ N ] represents N bytes of DATA, DATA [1] represents the first byte, DATA [2] represents the first byte, … …, DATA [ N ] represents the Nth byte; n is a positive integer.
In the fingerprinting module 200:
if the current fingerprint module 200 is in the wake-up state, the data receiving module 210 can receive data sent by the baseband chip 100 through the IIC communication, but if the IIC communication is detected to be idle continuously for 10 seconds, the data receiving module stops working, the pin configuration module configures the GPIO1 into an interrupt function, and the state switching module enables the fingerprint module 200 to enter a low power consumption state;
if the current fingerprint module 200 is in a low power consumption state, when the interrupt detection module detects that the pin of the GPIO1 is interrupted, the state switching module enables the fingerprint module 200 to enter an awake state, the pin configuration module configures the GPIO1 into a clock line for IIC communication, and the data receiving module starts to operate.
In this embodiment, whether the fingerprint module is in the low power consumption state is determined by detecting whether the fingerprint module responds after sending data to the fingerprint module at the baseband chip side, and if the fingerprint module is in the low power consumption state, the baseband chip retransmits the data after 2 seconds. In the fingerprint module, if the IIC communication idle time is detected to exceed ten seconds, the low power consumption state is automatically entered, the GPIO1 is configured to be in an interrupt mode, and the fingerprint module automatically wakes up when the interrupt at the GPIO1 is detected. When the user uses the mobile terminal who has the fingerprint, can carry out effectual function switch operation to fingerprint module to reach mobile terminal battery and use the maximize, promote battery continuation of the journey, avoid fingerprint module to age with higher speed simultaneously, promote user experience, take the convenience for the user.
In another embodiment of the present application, there is also provided a fingerprint module activation apparatus, which may be integrated in a terminal in the form of software or hardware. The terminal specifically comprises a mobile phone with a fingerprint module, a tablet computer, a notebook computer and other devices. As shown in fig. 3, the fingerprint module activation device 300 may include: a first monitoring unit 301, a detection unit 302, a number of times determination unit 303, and a control unit 304, wherein:
a first monitoring unit 301, configured to monitor a working state of the fingerprint module;
a detecting unit 302, configured to detect whether there is data to be processed at preset time intervals if the fingerprint module is in an awake state;
a number determining unit 303, configured to determine, according to the detection result, the number of times that data to be processed is not detected continuously;
and the control unit 304 is configured to control the fingerprint module to enter a low power consumption state when the number of times reaches a preset number of times, where power consumption of the fingerprint module in the wake-up state is higher than power consumption of the fingerprint module in the low power consumption state.
In some embodiments, the control unit 304 may also be configured to:
after the fingerprint module is controlled to enter the low power consumption state, when a data processing signal sent to the fingerprint module by the baseband chip is detected, the fingerprint module is controlled to enter the awakening state from the low power consumption state.
Referring to fig. 4, in some embodiments, the fingerprint module activation device 300 may further include:
a second monitoring unit 305, configured to monitor a duration from a time when the fingerprint module enters the wake-up state from the low power consumption state to a current time after the fingerprint module enters the wake-up state from the low power consumption state;
and the processing unit 306 is configured to process the to-be-processed data corresponding to the data processing information number through the fingerprint module when the time length reaches a preset time length.
In some embodiments, the preset duration is less than the preset time interval.
In some embodiments, the fingerprint module activation device 300 may further include:
the electric quantity determining unit is used for determining the current residual electric quantity;
the interval determining unit is used for determining a target electric quantity interval in which the residual electric quantity is located from a plurality of preset electric quantity intervals if the residual electric quantity is smaller than a preset threshold;
the acquisition unit is used for acquiring a time value corresponding to the target electric quantity interval;
an extension unit for extending the preset time interval based on a time value.
Therefore, the fingerprint module starting device provided by the embodiment of the application detects whether the data to be processed exists at preset time intervals by monitoring the working state of the fingerprint module and if the fingerprint module is in the awakening state, and determines the continuous times of not detecting the data to be processed according to the detection result. And when the times reach the preset times, controlling the fingerprint module to enter a low power consumption state. This scheme can carry out effectual function switch operation to fingerprint module, avoids fingerprint module ageing with higher speed, prolongs fingerprint module's life, has reduced the terminal consumption simultaneously, promotes battery duration.
In another embodiment of the present application, a terminal is further provided, where the terminal may be a terminal device such as a smart phone and a tablet computer. As shown in fig. 5, the terminal 400 includes a processor 401, a memory 402, and a sensor 408. The processor 401 is electrically connected to the memory 402 and the sensor 408, respectively.
The processor 401 is a control center of the terminal 400, connects various parts of the entire terminal using various interfaces and lines, and performs various functions of the terminal and processes data by running or loading an application stored in the memory 402 and calling data stored in the memory 402, thereby performing overall monitoring of the terminal.
In this embodiment, the processor 401 in the terminal 400 loads instructions corresponding to one or more application processes into the memory 402 according to the following steps, and the processor 401 runs the application stored in the memory 402, thereby implementing various functions:
monitoring the working state of the fingerprint module;
if the fingerprint module is in an awakening state, detecting whether data to be processed exist at preset time intervals;
determining the number of times that the data to be processed is not detected continuously according to the detection result;
and when the times reach preset times, controlling the fingerprint module to enter a low power consumption state, wherein the power consumption of the fingerprint module in the awakening state is higher than that in the low power consumption state.
In some embodiments, after controlling the fingerprinting module to enter a low power consumption state, the processor 401 further performs the following steps:
and when a data processing signal sent to the fingerprint module by the baseband chip is detected, controlling the fingerprint module to enter an awakening state from a low power consumption state.
In some embodiments, after the fingerprinting module goes into the wake-up state from the low-power consumption state, the processor 401 further performs the following steps:
monitoring the time from the moment when the fingerprint module enters the awakening state from the low power consumption state to the current moment;
and when the duration reaches the preset duration, processing the data to be processed corresponding to the data processing information number through the fingerprint module.
In some embodiments, the preset duration is less than the preset time interval.
In some embodiments, processor 401 further performs the steps of:
determining the current residual capacity;
if the residual electric quantity is smaller than a preset threshold value, determining a target electric quantity interval in which the residual electric quantity is located from a plurality of preset electric quantity intervals;
acquiring a time value corresponding to the target electric quantity interval;
extending the preset time interval based on the time value.
The memory 402 may be used to store applications and data. The memory 402 stores applications containing instructions executable in the processor. Applications may constitute various functional modules. The processor 401 executes various functional applications and the fingerprinting module starts by running the application stored in the memory 402.
The sensor 408 is used to collect external environmental information. The sensors 408 may include ambient light sensors, acceleration sensors, light sensors, motion sensors, fingerprint sensors, and other sensors. In this embodiment, the sensor 408 includes at least a fingerprint sensor for collecting fingerprint information of the user.
In some embodiments, as shown in fig. 6, the terminal 400 further includes: display 403, control circuit 404, radio frequency circuit 405, input unit 406, sensor 408, and power supply 409. The processor 401 is electrically connected to the display 403, the control circuit 404, the rf circuit 405, the input unit 406, the audio circuit 407, the sensor 408, and the power source 409.
The display screen 403 may be used to display information input by or provided to the user as well as various graphical user interfaces of the terminal, which may be constituted by images, text, icons, video, and any combination thereof.
The control circuit 404 is electrically connected to the display 403, and is configured to control the display 403 to display information.
The rf circuit 405 is used for transceiving rf signals to establish wireless communication with a terminal or other terminals through wireless communication, and to transceive signals with a server or other terminals.
The input unit 406 may be used to receive input numbers, character information, or user characteristic information (e.g., fingerprint), and to generate keyboard, mouse, joystick, optical, or trackball signal inputs related to user settings and function control. The input unit 406 may include a fingerprint recognition module.
The audio circuit 407 may provide an audio interface between the user and the server through speakers, microphones.
The power supply 409 is used to power the various components of the terminal 400. In some embodiments, the power source 409 may be logically connected to the processor 401 through a power management system, so that functions of managing charging, discharging, and power consumption are implemented through the power management system.
Although not shown in fig. 6, the terminal 400 may further include a speaker, a bluetooth module, and the like, which will not be described in detail herein.
As can be seen from the above, in the terminal provided in the embodiment of the present application, when the fingerprint module is in the wake-up state, whether to-be-processed data exists is detected every preset time interval, and the number of times that to-be-processed data is not detected continuously is determined according to the detection result. And when the times reach the preset times, controlling the fingerprint module to enter a low power consumption state. This scheme can carry out effectual function switch operation to fingerprint module, avoids fingerprint module ageing with higher speed, prolongs fingerprint module's life, has reduced the terminal consumption simultaneously, promotes battery duration.
In some embodiments, there is also provided a computer readable storage medium having stored therein a plurality of instructions adapted to be loaded by a processor to perform any of the fingerprinting module startup methods described above.
Those skilled in the art will appreciate that all or part of the steps in the methods of the above embodiments may be implemented by associated hardware instructed by a program, which may be stored in a computer-readable storage medium, and the storage medium may include: read Only Memory (ROM), Random Access Memory (RAM), magnetic or optical disks, and the like.
The fingerprint module starting method, the fingerprint module starting device, the fingerprint module storage medium and the fingerprint module terminal provided by the embodiment of the application are introduced in detail, a specific example is applied in the description to explain the principle and the implementation of the application, and the description of the embodiment is only used for helping to understand the method and the core idea of the application; meanwhile, for those skilled in the art, according to the idea of the present application, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present application.

Claims (10)

1. A fingerprint module starting method is applied to a terminal and is characterized by comprising the following steps:
monitoring the working state of the fingerprint module;
if the fingerprint module is in an awakening state, detecting whether data to be processed exist at preset time intervals;
determining the number of times that the data to be processed is not detected continuously according to the detection result;
and when the times reach preset times, controlling the fingerprint module to enter a low power consumption state, wherein the power consumption of the fingerprint module in the awakening state is higher than that in the low power consumption state.
2. The fingerprint module starting method according to claim 1, further comprising, after controlling the fingerprint module to enter a low power consumption state:
and when a data processing signal sent to the fingerprint module by the baseband chip is detected, controlling the fingerprint module to enter an awakening state from a low power consumption state.
3. The fingerprint module starting method according to claim 2, further comprising, after the fingerprint module performs the wake-up state from the low power consumption state:
monitoring the time from the moment when the fingerprint module enters the awakening state from the low power consumption state to the current moment;
and when the duration reaches the preset duration, processing the data to be processed corresponding to the data processing information number through the fingerprint module.
4. The fingerprint module starting method according to claim 3, wherein the preset duration is less than the preset time interval.
5. The fingerprint module starting method according to any one of claims 1 to 4, further comprising:
determining the current residual capacity;
if the residual electric quantity is smaller than a preset threshold value, determining a target electric quantity interval in which the residual electric quantity is located from a plurality of preset electric quantity intervals;
acquiring a time value corresponding to the target electric quantity interval;
extending the preset time interval based on the time value.
6. The utility model provides a fingerprint module starting drive, is applied to the terminal, its characterized in that includes:
the first monitoring unit is used for monitoring the working state of the fingerprint module;
the detection unit is used for detecting whether the data to be processed exists or not at preset time intervals if the fingerprint module is in an awakening state;
the frequency determining unit is used for determining the frequency of continuous undetected data to be processed according to the detection result;
and the control unit is used for controlling the fingerprint module to enter a low power consumption state when the times reach preset times, wherein the power consumption of the fingerprint module in the awakening state is higher than that in the low power consumption state.
7. The fingerprint module activation device of claim 6, wherein the control unit is further configured to:
after the fingerprint module is controlled to enter the low power consumption state, when a data processing signal sent to the fingerprint module by a baseband chip is detected, the fingerprint module is controlled to enter the awakening state from the low power consumption state.
8. The fingerprint module activation apparatus of claim 7, further comprising:
the second monitoring unit is used for monitoring the time length from the moment when the fingerprint module enters the awakening state from the low power consumption state to the current moment after the fingerprint module is in the awakening state from the low power consumption state;
and the processing unit is used for processing the data to be processed corresponding to the data processing information number through the fingerprint module when the time length reaches a preset time length.
9. A computer-readable storage medium having stored thereon a plurality of instructions adapted to be loaded by a processor to perform the fingerprinting module startup method according to any of the claims 1-5.
10. A terminal is characterized by comprising a processor, a memory and a fingerprint module, wherein the processor is respectively electrically connected with the memory and the fingerprint module, and the memory is used for storing instructions and data; the processor is configured to perform the fingerprint module activation method of any one of claims 1-5.
CN201911261968.9A 2019-12-10 2019-12-10 Fingerprint module starting method and device, storage medium and terminal Pending CN111103963A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911261968.9A CN111103963A (en) 2019-12-10 2019-12-10 Fingerprint module starting method and device, storage medium and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911261968.9A CN111103963A (en) 2019-12-10 2019-12-10 Fingerprint module starting method and device, storage medium and terminal

Publications (1)

Publication Number Publication Date
CN111103963A true CN111103963A (en) 2020-05-05

Family

ID=70423275

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911261968.9A Pending CN111103963A (en) 2019-12-10 2019-12-10 Fingerprint module starting method and device, storage medium and terminal

Country Status (1)

Country Link
CN (1) CN111103963A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112579201A (en) * 2020-12-16 2021-03-30 惠州Tcl移动通信有限公司 Fingerprint induction starting method and device, storage medium and mobile terminal
CN114158027A (en) * 2021-12-14 2022-03-08 深圳Tcl新技术有限公司 Communication connection method, device, terminal and storage medium
CN114531947A (en) * 2020-08-31 2022-05-24 华为技术有限公司 Electronic device and response operation method of electronic device
US11354931B2 (en) 2020-07-21 2022-06-07 Egis Technology Inc. Fingerprint sensing device and operation method thereof
CN116700802A (en) * 2022-11-15 2023-09-05 荣耀终端有限公司 Control method and control device of fingerprint module

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106020418A (en) * 2016-05-16 2016-10-12 广东欧珀移动通信有限公司 Method and apparatus for reducing power consumption of mobile terminal, and mobile terminal
CN106527660A (en) * 2016-10-31 2017-03-22 珠海市魅族科技有限公司 Electronic equipment driving method and related electronic equipment
CN106886766A (en) * 2017-02-23 2017-06-23 维沃移动通信有限公司 A kind of fingerprint identification method, fingerprint recognition circuit and mobile terminal
CN110119651A (en) * 2018-02-06 2019-08-13 比亚迪股份有限公司 A kind of electronic equipment, finger print detection device and method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106020418A (en) * 2016-05-16 2016-10-12 广东欧珀移动通信有限公司 Method and apparatus for reducing power consumption of mobile terminal, and mobile terminal
CN106527660A (en) * 2016-10-31 2017-03-22 珠海市魅族科技有限公司 Electronic equipment driving method and related electronic equipment
CN106886766A (en) * 2017-02-23 2017-06-23 维沃移动通信有限公司 A kind of fingerprint identification method, fingerprint recognition circuit and mobile terminal
CN110119651A (en) * 2018-02-06 2019-08-13 比亚迪股份有限公司 A kind of electronic equipment, finger print detection device and method

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11354931B2 (en) 2020-07-21 2022-06-07 Egis Technology Inc. Fingerprint sensing device and operation method thereof
CN114531947A (en) * 2020-08-31 2022-05-24 华为技术有限公司 Electronic device and response operation method of electronic device
CN112579201A (en) * 2020-12-16 2021-03-30 惠州Tcl移动通信有限公司 Fingerprint induction starting method and device, storage medium and mobile terminal
CN114158027A (en) * 2021-12-14 2022-03-08 深圳Tcl新技术有限公司 Communication connection method, device, terminal and storage medium
CN114158027B (en) * 2021-12-14 2023-07-25 深圳Tcl新技术有限公司 Communication connection method, device, terminal and storage medium
CN116700802A (en) * 2022-11-15 2023-09-05 荣耀终端有限公司 Control method and control device of fingerprint module

Similar Documents

Publication Publication Date Title
CN111103963A (en) Fingerprint module starting method and device, storage medium and terminal
US20130254571A1 (en) Power management method and apparatus for network access module
CN110912574B (en) SIM card detection method, device, storage medium and terminal
CN106532876B (en) Power supply control method and device and computer equipment
CN111008090A (en) Battery electric quantity control method and device, storage medium and terminal equipment
CN112542867B (en) Mobile terminal power supply control method and device, terminal equipment and storage medium
CN110109529A (en) SD card method for controlling power supply, device, storage medium and electronic equipment
CN112486350B (en) Detection method and device for touch screen of mobile terminal, storage medium and mobile terminal
CN112997132A (en) Application freezing method and device and electronic equipment
CN111831100B (en) Electronic device control method and device, storage medium and electronic device
CN111045738B (en) Electronic equipment control method and device, electronic equipment and storage medium
CN110995324B (en) Bluetooth communication method, device, storage medium and terminal equipment
CN112286849A (en) Wireless charging base data switching method and system, storage medium and terminal equipment
CN112531835B (en) Mobile terminal charging method and device, storage medium and mobile terminal
CN107577479B (en) Electronic device and semi-sleep control method thereof
CN110958641B (en) WIFI data receiving and transmitting control method and device for mobile terminal
CN109445566B (en) OTG (on-the-go) power-saving processing method and system, storage medium and mobile terminal
CN111343325B (en) Port detection method and device, mobile terminal and storage medium
CN109995441B (en) Communication information processing method, device and storage medium
CN112433694B (en) Light intensity adjusting method and device, storage medium and mobile terminal
WO2023124658A1 (en) Shared hardware calling method, apparatus, electronic device, and storage medium
CN110046063B (en) Device and method for restoring factory settings of mobile terminal and storage medium
CN111367767B (en) Terminal temperature detection method and device, storage medium and terminal
CN112256610B (en) Connection control method, system, storage medium and mobile terminal
CN109561415B (en) NFC function detection method and device, storage medium and 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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20200505