CN113158809A - Fingerprint sensor control method and device, equipment and storage medium - Google Patents

Fingerprint sensor control method and device, equipment and storage medium Download PDF

Info

Publication number
CN113158809A
CN113158809A CN202110312968.8A CN202110312968A CN113158809A CN 113158809 A CN113158809 A CN 113158809A CN 202110312968 A CN202110312968 A CN 202110312968A CN 113158809 A CN113158809 A CN 113158809A
Authority
CN
China
Prior art keywords
fingerprint sensor
temperature
sensor
damaged
fingerprint
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
CN202110312968.8A
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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN202110312968.8A priority Critical patent/CN113158809A/en
Publication of CN113158809A publication Critical patent/CN113158809A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V40/00Recognition of biometric, human-related or animal-related patterns in image or video data
    • G06V40/10Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
    • G06V40/12Fingerprints or palmprints
    • G06V40/13Sensors therefor
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01KMEASURING TEMPERATURE; MEASURING QUANTITY OF HEAT; THERMALLY-SENSITIVE ELEMENTS NOT OTHERWISE PROVIDED FOR
    • G01K13/00Thermometers specially adapted for specific purposes

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Multimedia (AREA)
  • Theoretical Computer Science (AREA)
  • Power Sources (AREA)

Abstract

The embodiment of the application discloses a control method, a control device, equipment and a storage medium of a fingerprint sensor; wherein the method comprises the following steps: acquiring the temperature of the fingerprint sensor from the temperature sensor; determining whether the fingerprint sensor is damaged based at least on the temperature; and if the fingerprint sensor is damaged, stopping supplying power to the fingerprint sensor.

Description

Fingerprint sensor control method and device, equipment and storage medium
Technical Field
The embodiment of the application relates to electronic technology, and relates to a control method, a control device, control equipment and a storage medium of a fingerprint sensor.
Background
With the development of terminal technology and image processing technology, fingerprint identification technology has been applied to a plurality of fields as an identification technology with higher security, which not only brings security protection to personal private devices, but also brings convenience to users. For example, the terminal or application software or files on the terminal are encrypted or unlocked through a fingerprint identification technology, so that a good experience is brought to a user.
However, the fingerprint sensor may be damaged during use (for example, some devices are short-circuited, etc.), and the damage may cause the fingerprint sensor to be heated and scalded, so that the user may be burned when touching the sensing panel.
Disclosure of Invention
In view of this, the fingerprint sensor control method and apparatus, device, and storage medium provided in the embodiments of the present application can accurately detect whether the fingerprint sensor is damaged, and stop supplying power to the fingerprint sensor when the fingerprint sensor is damaged, thereby preventing the user from being scalded due to an excessively high temperature of the fingerprint sensor. The control method, the control device, the control equipment and the control storage medium of the fingerprint sensor are realized as follows:
the control method of the fingerprint sensor provided by the embodiment of the application comprises the following steps: acquiring the temperature of the fingerprint sensor from the temperature sensor; determining whether the fingerprint sensor is damaged based at least on the temperature; and if the fingerprint sensor is damaged, stopping supplying power to the fingerprint sensor.
The fingerprint sensor's that this application embodiment provided controlling means includes: the acquisition module is used for acquiring the temperature of the fingerprint sensor from the temperature sensor; a determination module for determining whether the fingerprint sensor is damaged based at least on the temperature; and the control module is used for stopping supplying power to the fingerprint sensor if the fingerprint sensor is damaged.
The electronic device provided by the embodiment of the application comprises a memory and a processor, wherein the memory stores a computer program which can run on the processor, and the processor executes the program to realize the method provided by the embodiment of the application.
The computer readable storage medium provided by the embodiment of the present application has a computer program stored thereon, and the computer program is used for implementing the method provided by the embodiment of the present application when being executed by a processor.
In the embodiment of the application, whether the fingerprint sensor is damaged or not is determined at least according to the temperature of the fingerprint sensor detected by the temperature sensor; therefore, on one hand, whether the fingerprint sensor is damaged or not can be accurately detected, and power supply to the fingerprint sensor is stopped under the condition of damage, so that the phenomenon that a user is scalded due to overhigh temperature of the fingerprint sensor is avoided; on the other hand, in the whole process, the working mode of the fingerprint sensor does not need to be interrupted, the fingerprint identification mode of the fingerprint sensor does not need to be switched to the acquisition mode of detection data (namely, the basis for detecting whether the fingerprint sensor is damaged), the fingerprint identification mode interacts with the temperature sensor independent of the fingerprint sensor, the temperature of the fingerprint sensor is acquired from the temperature sensor, whether the fingerprint sensor is damaged or not is judged based on the temperature, and therefore the mode can not cause the problem that the fingerprint sensor is large when responding to the touch time delay of a user, namely, the experience of the user for using the fingerprint sensor is not influenced.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the application.
Fig. 1 is a schematic flow chart illustrating an implementation of a control method of a fingerprint sensor according to an embodiment of the present application;
fig. 2 is a schematic flow chart illustrating an implementation of another fingerprint sensor control method according to an embodiment of the present application;
fig. 3 is a schematic flow chart illustrating an implementation of a control method of a fingerprint sensor according to another embodiment of the present application;
fig. 4 is a schematic flow chart illustrating an implementation of a control method of a fingerprint sensor according to another embodiment of the present application;
fig. 5 is a schematic flow chart illustrating an implementation of another fingerprint sensor control method according to an embodiment of the present application;
FIG. 6 is a schematic structural diagram of a control device of a fingerprint sensor according to an embodiment of the present application;
fig. 7 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, specific technical solutions of the present application will be described in further detail below with reference to the accompanying drawings in the embodiments of the present application. The following examples are intended to illustrate the present application but are not intended to limit the scope of the present application.
Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs. The terminology used herein is for the purpose of describing embodiments of the present application only and is not intended to be limiting of the application.
In the following description, reference is made to "some embodiments" which describe a subset of all possible embodiments, but it is understood that "some embodiments" may be the same subset or different subsets of all possible embodiments, and may be combined with each other without conflict.
It should be noted that the terms "first \ second \ third" are used herein to distinguish similar or different objects and do not denote a particular order or importance to the objects, and it should be understood that "first \ second \ third" may be interchanged with a particular order or sequence where permissible to enable embodiments of the present application described herein to be practiced otherwise than as shown or described herein.
The embodiment of the application provides control of a fingerprint sensor, and the method is applied to electronic equipment, and the electronic equipment can be various types of equipment with the fingerprint sensor in the implementation process, for example, the electronic equipment can comprise a mobile phone, a tablet computer, a fingerprint door lock and the like. The functions implemented by the method can be implemented by calling program code by a processor in an electronic device, and the program code can be stored in a computer storage medium.
Fig. 1 is a schematic implementation flow diagram of a control method of a fingerprint sensor provided in an embodiment of the present application, and as shown in fig. 1, the method may include the following steps 101 to 103:
step 101, acquiring the temperature of the fingerprint sensor from the temperature sensor.
In the embodiment of the present application, the timing for acquiring the fingerprint sensor is not limited, that is, the timing for detecting whether the fingerprint sensor is damaged or not is not limited. The method can be used for detecting whether the fingerprint sensor is damaged or not at any time in the starting state of the electronic equipment or when certain specific trigger conditions are met, for example, when the working current of the fingerprint sensor is greater than a current threshold; for another example, when the electronic device is powered on, whether the fingerprint sensor is damaged is detected.
In some embodiments, the temperature sensor is in a low power consumption state without certain specific triggering conditions being met. For example, the temperature sensor is not powered, and the electronic device powers the temperature sensor when certain specific triggering conditions are met; for another example, the temperature sensor detects the temperature of the fingerprint sensor at a lower detection frequency, and the electronic device controls the temperature sensor to detect the temperature of the fingerprint sensor at a higher detection frequency when certain specific trigger conditions are met. Therefore, the method can save the power consumption of the electronic equipment.
Step 102, determining whether the fingerprint sensor is damaged at least according to the temperature.
Understandably, if the fingerprint sensor is damaged, the electronic equipment can cut off the power supply circuit of the fingerprint sensor at the moment, so as to stop supplying power to the fingerprint sensor; if the fingerprint sensor is not damaged, it may be returned to step 101 after a certain period of time, so as to detect again whether the fingerprint sensor is damaged.
In an embodiment of the application, the electronic device may determine whether the fingerprint sensor is damaged according to the temperature or according to the temperature and other indexes. For example, if the temperatures detected for a plurality of consecutive times are all greater than the temperature threshold, it is determined that the fingerprint sensor is damaged; for another example, the other index is an index that can reflect the fingerprint sensor being damaged, for example, the index is an operating current, and if the temperature detected for one or more consecutive times is greater than a temperature threshold value and the operating current is greater than a current threshold value, the fingerprint sensor is determined to be damaged. The other indexes are not limited to the index of the operating current, and may be any index that can reflect whether the fingerprint sensor is damaged.
In the present application, the size of the temperature threshold is not limited, and the value may be any temperature value that the human body cannot bear. For example, the temperature threshold may be any value in the interval [45 ℃,50 ℃ ]. Of course, other values outside this interval are also possible.
And 103, stopping supplying power to the fingerprint sensor if the fingerprint sensor is damaged.
In some embodiments, the electronic device may also output an alert message when it is determined that the fingerprint sensor is damaged, the alert message for alerting the user to refrain from touching the fingerprint area to avoid burning the finger. The manner for the output may be varied. For example, a window containing the reminding information pops up on the current interface of the electronic equipment. As another example, the reminding purpose is achieved by voice or special alarm sound.
In the embodiment of the application, whether the fingerprint sensor is damaged or not is determined at least according to the temperature of the fingerprint sensor detected by the temperature sensor; therefore, on one hand, whether the fingerprint sensor is damaged or not can be accurately detected, and power supply to the fingerprint sensor is stopped under the condition of damage, so that the phenomenon that a user is scalded due to overhigh temperature of the fingerprint sensor is avoided; on the other hand, in the whole process, the working mode of the fingerprint sensor does not need to be interrupted, the fingerprint identification mode of the fingerprint sensor does not need to be switched to the acquisition mode of detection data (namely, the basis for detecting whether the fingerprint sensor is damaged), the fingerprint identification mode interacts with the temperature sensor independent of the fingerprint sensor, the temperature of the fingerprint sensor is acquired from the temperature sensor, whether the fingerprint sensor is damaged or not is judged based on the temperature, and therefore the mode can not cause the problem that the fingerprint sensor is large when responding to the touch time delay of a user, namely, the experience of the user for using the fingerprint sensor is not influenced.
Fig. 2 is a schematic flow chart illustrating an implementation of the control method of the fingerprint sensor according to the embodiment of the present application, and as shown in fig. 2, the method includes the following steps 201 to 205:
step 201, acquiring the temperature of a fingerprint sensor from a temperature sensor;
step 202, detecting the working current of the fingerprint sensor;
step 203, determining whether the fingerprint sensor is damaged or not according to the working current and the temperature; if yes, go to step 204; otherwise, go to step 205;
it can be understood that, in the embodiment of the application, whether the fingerprint sensor is damaged or not can be more accurately judged according to more indexes of the fingerprint sensor, so that the influence of misjudgment on user experience is reduced.
In some embodiments, the electronic device may control the temperature sensor to detect the temperature of the fingerprint sensor one or more times, thereby acquiring the temperature detected by the temperature sensor one or more times. When the working current is greater than the current threshold value and the temperatures acquired for M times are greater than the temperature threshold value, determining that the fingerprint sensor is damaged; wherein M is an integer greater than 0.
It is understood that when M is greater than 1, whether the fingerprint sensor is damaged or not can be determined more accurately.
Step 204, stopping supplying power to the fingerprint sensor, and outputting reminding information, wherein the reminding information is used for reminding a user of not touching the fingerprint area so as to avoid scalding;
step 205, starting the first timer, and returning to step 201 when the time of the first timer expires.
An embodiment of the present application further provides a method for controlling a fingerprint sensor, and fig. 3 is a schematic implementation flow chart of the method for controlling a fingerprint sensor according to the embodiment of the present application, and as shown in fig. 3, the method includes the following steps 301 to 308:
step 301, detecting the working current of the fingerprint sensor;
step 302, determining whether the working current is larger than a current threshold value; if so, go to step 304; otherwise, go to step 303;
and acquiring the temperature of the fingerprint sensor from the temperature sensor under the condition that the working current is larger than a current threshold value. For example, the temperatures detected by the temperature sensor a plurality of times are acquired by the following step 305.
It will be appreciated that an operating current anomaly is likely to be a fingerprint sensor that is damaged, and therefore, in some embodiments, the operating current of the fingerprint sensor has a higher priority than the temperature. Thus, whether the working current is larger than the current threshold value is judged; if the working current is too large, the fingerprint sensor is likely to be damaged, and whether the temperature of the fingerprint sensor is abnormal is further detected; if the temperature is abnormal, the power supply circuit of the fingerprint sensor is cut off, so that the user is prevented from being scalded when touching the fingerprint sensor; moreover, the method has higher judgment accuracy, so that the influence of misjudgment on user experience can be reduced;
if the working current is less than or equal to the current threshold, the fingerprint sensor is not damaged at a high probability, and further detection work is not carried out at the moment, namely, the temperature sensor does not need to be started to detect the temperature, so that the power consumption is saved.
Step 303, starting a second timer, and returning to execute step 301 when the time of the second timer is up;
step 304, turning on the temperature sensor;
and 305, controlling the temperature sensor to detect the temperature of the fingerprint sensor for multiple times, so as to acquire the temperature detected by the temperature sensor for multiple times.
It can be understood that, in most cases, the fingerprint sensor is not bad, so that when the operating current is greater than the current threshold, it is very likely that the fingerprint sensor is bad, and the temperature sensor is turned on to detect the temperature, so that the power consumption of the electronic device can be saved.
In some embodiments, the temperature sensor is a temperature sensor abutting against a lower surface of a sensing panel of the fingerprint sensor; therefore, the temperature detected by the temperature sensor is closer to the actual temperature of the fingerprint sensor, so that the accuracy of judging whether the fingerprint sensor is damaged or not can be improved, and the problem of poor user experience caused by misjudgment is prevented. For example, if the actual temperature of the fingerprint sensor is greater than the temperature threshold, but if the detection error of the temperature sensor is large, if the detected temperature is less than the actual temperature and also less than the temperature threshold, it should be determined that the fingerprint sensor is damaged, but it is determined that the fingerprint sensor is not damaged, the power supply of the fingerprint sensor is not cut off, and the fingerprint sensor is still in a state of continuously increasing temperature, so obviously, when the user touches the fingerprint area, the user may be scalded.
Step 306, determining whether the temperature of the fingerprint sensor obtained for N times is greater than a temperature threshold value; if yes, go to step 307; otherwise, go to step 308; wherein N is an integer greater than 1;
and 307, stopping supplying power to the fingerprint sensor, and outputting reminding information, wherein the reminding information is used for reminding a user of not touching the fingerprint area so as to avoid scalding.
It is understood that if the temperature of the fingerprint sensor acquired N times (for example, 3 times or 6 times) is greater than the temperature threshold, the power supply circuit of the fingerprint sensor is cut off, and the power supply to the fingerprint sensor is stopped.
In step 308, a third timer is started, and when the time of the third timer expires, the step 301 is executed again, or the step 305 is executed again.
In the related art, a main control terminal reads a chip identifier (chip id) of a fingerprint sensor, and if the chip identifier cannot be read correctly, the fingerprint sensor is considered to be damaged. However, in some cases, the failure to read the chip identifier may be due to other reasons than the fingerprint sensor being damaged. Therefore, the method has high misjudgment probability, when the fingerprint sensor is not damaged and is judged to be damaged, the main control end performs power-off processing on the fingerprint sensor, and then if a user touches the fingerprint area, no sensing condition occurs, namely, the user cannot use the fingerprint function, so that the use experience of the user is influenced.
In another related technology, the main control end switches the fingerprint sensor to the FTD mode and collects data of the FTD block; then judging whether the data are saturated up and down according to the collected data; if saturation occurs, the fingerprint sensor is considered to be broken.
Above-mentioned prior art's arbitrary condition satisfies, then think that fingerprint sensor damages, and the main control end draws the module that resets of fingerprint reset pin down, and 3 consecutive detections all appear unusually, then think that fingerprint sensor thoroughly damages, and the main control end carries out the outage with fingerprint sensor this moment and handles.
It can be understood that the related art cannot accurately detect if the FDT sensing area (i.e. some small area where the IC is fixed) of the fingerprint sensor is not damaged but the non-FDT area is damaged or other devices inside the fingerprint sensor are short-circuited or damaged. Problems with these components can also cause the fingerprint sensor to be too hot.
In some special situations, there is a probabilistic misjudgment, for example, static electricity may strike the fingerprint sensor, and the static electricity may cause an abnormal FDT sensing region of the fingerprint sensor, thereby causing the misjudgment.
In addition, the related art needs to frequently detect whether the fingerprint sensor is abnormal in multiple scenes, such as on/off screen scenes, and initiate a scene before fingerprint identification. Each detection needs 20-30 ms, so that the fingerprint identification speed is influenced, and poor user experience is caused. The reason is that before the main control end collects the data of the FTD block, the fingerprint sensor needs to be switched from the fingerprint identification mode to the FTD mode, and the main control end can interact with the fingerprint sensor in the FTD mode to obtain FTD data; the process takes 20-30 ms.
Based on this, an exemplary application of the embodiment of the present application in a practical application scenario will be described below.
In the embodiment of the present application, a control method of a fingerprint sensor is provided, as shown in fig. 4, a temperature sensor detects the temperature of the fingerprint sensor in real time, a main control end periodically queries temperature values detected by the temperature sensor, and determines whether the temperature of the fingerprint sensor is abnormal according to the temperature values; and if the fingerprint sensor is abnormal, the power supply circuit between the fingerprint sensor and the power supply is disconnected, and the power supply for the fingerprint sensor is stopped.
An embodiment of the present application further provides a method for controlling a fingerprint sensor, as shown in fig. 5, the method includes the following steps 501 to 504:
step 501, a main control end creates a temperature detection daemon process;
step 502, the daemon process inquires the temperature detected by the temperature sensor of the fingerprint area once every x seconds; wherein x is a preset value;
step 503, the main control end determines whether the temperature query result exceeds 50 ℃ for 3 times continuously; if yes, go to step 504; otherwise, returning to execute the step 502;
and step 504, the main control end turns off the power supply of the fingerprint sensor and prompts the user that the fingerprint function is abnormal.
In this application embodiment, the temperature of direct detection fingerprint region to when the temperature of the fingerprint region that detects 3 times in succession all exceeded 50 degrees centigrade, closed fingerprint sensor's power, thereby can effectively avoid correlation technique to the inaccurate defect of the discernment of fingerprint sensor whether damage, whether the detection fingerprint module that can be more accurate is temperature anomaly, avoids the problem that the user was scalded to the high temperature.
And because the main control end does not need to switch the fingerprint sensor from the fingerprint identification mode to the FTD mode first, but directly obtains the temperature of the fingerprint sensor from the temperature sensor, and the temperature is compared with FTD data, and the data volume is very little, it can be seen that the method of the embodiment of the application consumes less time, and can not interrupt the current working mode of the fingerprint sensor, therefore, the identification speed and the stability of the fingerprint sensor are not influenced.
In the embodiment of the application, the temperature of the fingerprint sensor is directly detected through the temperature sensor, so that various defects (such as inaccurate detection, time consumption, poor stability and the like) of the current mainstream scheme can be avoided, whether the temperature is too high can be accurately judged, and the problem that a user is scalded due to damage of the fingerprint sensor is avoided.
Detecting whether the fingerprint sensor is damaged, in principle:
(1) the main control end sends an instruction to instruct the fingerprint sensor to switch to a self-checking mode, and the fingerprint sensor detects whether the fingerprint sensor is abnormal.
(2) A temperature sensor is added to monitor the temperature of the fingerprint sensor.
(3) The main control end monitors the change of the working current of the fingerprint sensor, and when the working current is too large (if the working current is larger than a current threshold), the fingerprint sensor is considered to be damaged.
Based on the foregoing embodiments, the present application provides a control apparatus for a fingerprint sensor, where the apparatus includes modules and units included in the modules, and may be implemented by a processor; of course, the implementation can also be realized through a specific logic circuit; in implementation, the processor may be a Central Processing Unit (CPU), a Microprocessor (MPU), a Digital Signal Processor (DSP), a Field Programmable Gate Array (FPGA), or the like.
Fig. 6 is a schematic structural diagram of a control device of a fingerprint sensor according to an embodiment of the present application, and as shown in fig. 6, the device 600 includes:
an obtaining module 601, configured to obtain a temperature of the fingerprint sensor from the temperature sensor;
a determining module 602, configured to determine whether the fingerprint sensor is damaged at least according to the temperature;
a control module 603 configured to stop supplying power to the fingerprint sensor if the fingerprint sensor is damaged.
In some embodiments, the obtaining module 601 is configured to: detecting the working current of the fingerprint sensor; and acquiring the temperature of the fingerprint sensor from the temperature sensor under the condition that the working current is larger than a current threshold value.
In some embodiments, the determining module 602 is configured to: detecting the working current of the fingerprint sensor; and determining whether the fingerprint sensor is damaged or not according to the working current and the temperature.
In some embodiments, the determining module 602 is configured to: when the working current is greater than the current threshold and the temperatures acquired for M times are greater than the temperature threshold, determining that the fingerprint sensor is damaged; wherein M is an integer greater than 0.
In some embodiments, the obtaining module 601 is configured to: controlling the temperature sensor to detect the temperature of the fingerprint sensor for multiple times so as to obtain the temperature detected by the temperature sensor for multiple times; a determining module 602 configured to: determining that the fingerprint sensor is damaged under the condition that the temperature of the fingerprint sensor acquired for N times is greater than a temperature threshold value; wherein N is an integer greater than 1.
In some embodiments, the temperature sensor is a temperature sensor abutting against a lower surface of a sensing panel of the fingerprint sensor.
In some embodiments, the obtaining module 601 is further configured to: before the temperature of the fingerprint sensor is obtained from the temperature sensor, the temperature sensor is started under the condition that the working current of the fingerprint sensor is larger than a current threshold value.
The above description of the apparatus embodiments, similar to the above description of the method embodiments, has similar beneficial effects as the method embodiments. For technical details not disclosed in the embodiments of the apparatus of the present application, reference is made to the description of the embodiments of the method of the present application for understanding.
It should be noted that the division of the control device of the fingerprint sensor shown in fig. 6 into modules in the embodiment of the present application is schematic, and is only a logical function division, and there may be another division manner in actual implementation. In addition, functional units in the embodiments of the present application may be integrated into one processing unit, may exist alone physically, or may be integrated into one unit by two or more units. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit. Or may be implemented in a combination of software and hardware.
It should be noted that, in the embodiment of the present application, if the method described above is implemented in the form of a software functional module and sold or used as a standalone product, it may also be stored in a computer readable storage medium. Based on such understanding, the technical solutions of the embodiments of the present application may be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for causing an electronic device to execute all or part of the methods described in the embodiments of the present application. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read Only Memory (ROM), a magnetic disk, or an optical disk. Thus, embodiments of the present application are not limited to any specific combination of hardware and software.
An electronic device according to an embodiment of the present application is provided, fig. 7 is a schematic diagram of a hardware entity of the electronic device according to the embodiment of the present application, and as shown in fig. 7, the electronic device 700 includes a memory 701 and a processor 702, where the memory 701 stores a computer program that can be executed on the processor 702, and the processor 702 implements the steps in the method provided in the embodiment when executing the computer program.
It should be noted that the Memory 701 is configured to store instructions and applications executable by the processor 702, and may also buffer data (for example, image data, audio data, voice communication data, and video communication data) to be processed or already processed by the processor 702 and modules in the electronic device 700, and may be implemented by a FLASH Memory (FLASH) or a Random Access Memory (RAM).
Embodiments of the present application provide a computer-readable storage medium, on which a computer program is stored, which, when executed by a processor, implements the steps in the methods provided in the above embodiments.
Embodiments of the present application provide a computer program product containing instructions which, when run on a computer, cause the computer to perform the steps of the method provided by the above-described method embodiments.
Here, it should be noted that: the above description of the storage medium and device embodiments is similar to the description of the method embodiments above, with similar advantageous effects as the method embodiments. For technical details not disclosed in the embodiments of the storage medium, the storage medium and the device of the present application, reference is made to the description of the embodiments of the method of the present application for understanding.
It should be appreciated that reference throughout this specification to "one embodiment" or "an embodiment" or "some embodiments" means that a particular feature, structure or characteristic described in connection with the embodiments is included in at least one embodiment of the present application. Thus, the appearances of the phrases "in one embodiment" or "in an embodiment" or "in some embodiments" in various places throughout this specification are not necessarily all referring to the same embodiment. Furthermore, the particular features, structures, or characteristics may be combined in any suitable manner in one or more embodiments. It should be understood that, in the various embodiments of the present application, the sequence numbers of the above-mentioned processes do not mean the execution sequence, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation to the implementation process of the embodiments of the present application. The above-mentioned serial numbers of the embodiments of the present application are merely for description and do not represent the merits of the embodiments. The foregoing description of the various embodiments is intended to highlight various differences between the embodiments, and the same or similar parts may be referred to each other, and for brevity, will not be described again herein.
The term "and/or" herein is merely an association relationship describing an associated object, and means that three relationships may exist, for example, object a and/or object B, may mean: the object A exists alone, the object A and the object B exist simultaneously, and the object B exists alone.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
In the several embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. The above-described embodiments are merely illustrative, and for example, the division of the modules is only one logical functional division, and other divisions may be realized in practice, such as: multiple modules or components may be combined, or may be integrated into another system, or some features may be omitted, or not implemented. In addition, the coupling, direct coupling or communication connection between the components shown or discussed may be through some interfaces, and the indirect coupling or communication connection between the devices or modules may be electrical, mechanical or other.
The modules described as separate parts may or may not be physically separate, and parts displayed as modules may or may not be physical modules; can be located in one place or distributed on a plurality of network units; some or all of the modules can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, all functional modules in the embodiments of the present application may be integrated into one processing unit, or each module may be separately regarded as one unit, or two or more modules may be integrated into one unit; the integrated module can be realized in a form of hardware, or in a form of hardware plus a software functional unit.
Those of ordinary skill in the art will understand that: all or part of the steps for realizing the method embodiments can be completed by hardware related to program instructions, the program can be stored in a computer readable storage medium, and the program executes the steps comprising the method embodiments when executed; and the aforementioned storage medium includes: various media that can store program codes, such as a removable Memory device, a Read Only Memory (ROM), a magnetic disk, or an optical disk.
Alternatively, the integrated units described above in the present application may be stored in a computer-readable storage medium if they are implemented in the form of software functional modules and sold or used as independent products. Based on such understanding, the technical solutions of the embodiments of the present application may be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for causing an electronic device to execute all or part of the methods described in the embodiments of the present application. And the aforementioned storage medium includes: a removable storage device, a ROM, a magnetic or optical disk, or other various media that can store program code.
The methods disclosed in the several method embodiments provided in the present application may be combined arbitrarily without conflict to obtain new method embodiments.
Features disclosed in several of the product embodiments provided in the present application may be combined in any combination to yield new product embodiments without conflict.
The features disclosed in the several method or apparatus embodiments provided in the present application may be combined arbitrarily, without conflict, to arrive at new method embodiments or apparatus embodiments.
The above description is only for the embodiments of the present application, but the scope of the present application is not limited thereto, and any person skilled in the art can easily conceive of changes or substitutions within the technical scope of the present application, and shall be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (10)

1. A method of controlling a fingerprint sensor, the method comprising:
acquiring the temperature of the fingerprint sensor from a temperature sensor;
determining whether the fingerprint sensor is damaged based at least on the temperature;
and if the fingerprint sensor is damaged, stopping supplying power to the fingerprint sensor.
2. The method of claim 1, wherein the obtaining the temperature of the fingerprint sensor from the temperature sensor comprises:
detecting the working current of the fingerprint sensor;
and acquiring the temperature of the fingerprint sensor from the temperature sensor under the condition that the working current is larger than a current threshold value.
3. The method of claim 1, wherein determining whether the fingerprint sensor is damaged based at least on the temperature comprises:
detecting the working current of the fingerprint sensor;
and determining whether the fingerprint sensor is damaged or not according to the working current and the temperature.
4. The method of claim 3, wherein determining whether the fingerprint sensor is damaged based on the operating current and the temperature comprises:
when the working current is greater than the current threshold and the temperatures acquired for M times are greater than the temperature threshold, determining that the fingerprint sensor is damaged; wherein M is an integer greater than 0.
5. The method according to claim 1 or 2, wherein the obtaining the temperature of the fingerprint sensor from the temperature sensor comprises: controlling the temperature sensor to detect the temperature of the fingerprint sensor for multiple times so as to obtain the temperature detected by the temperature sensor for multiple times;
accordingly, said determining whether the fingerprint sensor is damaged based at least on the temperature comprises:
determining that the fingerprint sensor is damaged under the condition that the temperature of the fingerprint sensor acquired for N times is greater than a temperature threshold value; wherein N is an integer greater than 1.
6. The method according to any one of claims 1 to 5, wherein the temperature sensor is a temperature sensor abutting against a lower surface of a sensing panel of the fingerprint sensor.
7. The method of claim 6, wherein prior to said obtaining the temperature of the fingerprint sensor from the temperature sensor, the method further comprises:
and under the condition that the working current of the fingerprint sensor is greater than the current threshold value, the temperature sensor is started.
8. A control apparatus of a fingerprint sensor, comprising:
the acquisition module is used for acquiring the temperature of the fingerprint sensor from the temperature sensor;
a determination module for determining whether the fingerprint sensor is damaged based at least on the temperature;
and the control module is used for stopping supplying power to the fingerprint sensor if the fingerprint sensor is damaged.
9. An electronic device comprising a memory and a processor, the memory storing a computer program operable on the processor, wherein the processor implements the method of any of claims 1 to 7 when executing the program.
10. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the method according to any one of claims 1 to 7.
CN202110312968.8A 2021-03-24 2021-03-24 Fingerprint sensor control method and device, equipment and storage medium Pending CN113158809A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110312968.8A CN113158809A (en) 2021-03-24 2021-03-24 Fingerprint sensor control method and device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110312968.8A CN113158809A (en) 2021-03-24 2021-03-24 Fingerprint sensor control method and device, equipment and storage medium

Publications (1)

Publication Number Publication Date
CN113158809A true CN113158809A (en) 2021-07-23

Family

ID=76888361

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110312968.8A Pending CN113158809A (en) 2021-03-24 2021-03-24 Fingerprint sensor control method and device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN113158809A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115347526A (en) * 2022-10-17 2022-11-15 荣耀终端有限公司 Side fingerprint protection circuit, control method and electronic equipment

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115347526A (en) * 2022-10-17 2022-11-15 荣耀终端有限公司 Side fingerprint protection circuit, control method and electronic equipment

Similar Documents

Publication Publication Date Title
KR101641174B1 (en) Method for enabling shutdown alarm clock and mobile terminal, and program, and recording medium for enabling shutdown alarm clock
US9970966B2 (en) Method, device and computer storage medium for detecting power consumption of an application
US20170034331A1 (en) Method and Device for Switching State of Terminal
US20100313270A1 (en) System and method for detecting energy consumption anomalies and mobile malware variants
CN105301949A (en) Method and system of wearing state detection of smart watch and smart watch
CN105468217A (en) Mobile terminal for replacing power button by capacitive sensor and relation method of mobile terminal
CN109362124B (en) Infrared detection false triggering prevention method and device and low-power-consumption wireless equipment
CN106970552B (en) Switch control method, intelligent switch and mobile terminal
CN109889682B (en) Task demand cloud processing evaluation system and method
CN105825153B (en) A kind of mobile terminal guard method and device
CN103106040A (en) Mobile terminal operation method and device using the same
KR20170085105A (en) Method, apparatus and terminal device for setting interrupt threshold for fingerprint identification device
CN109067416A (en) A kind of method and Intelligent hardware for realizing SIM card hot plug and starting
CN113158809A (en) Fingerprint sensor control method and device, equipment and storage medium
KR20160145755A (en) Method, device and mobile terminal for reducing power consumption
CN105472165A (en) Control method and control device of mobile terminal
US20140218316A1 (en) Control method and electronic device
CN106485117A (en) A kind of intelligent terminal method of controlling operation thereof based on recognition of face and system
CN104423661B (en) A kind of mobile terminal and the method for preventing touch screen mistaken touch
CN105373208A (en) Mobile terminal
CN107682909B (en) Control method and device for connecting access point
CN113835558A (en) Screen parameter adjusting method and device and electronic equipment
CN111327760B (en) Control method and device for false touch prevention mode, mobile terminal and storage medium
CN106529263A (en) Terminal unlocking method and terminal
US10977350B2 (en) Contact information display method and device, and information display method and device

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