CN111291653A - Fingerprint event reporting method and device and electronic equipment - Google Patents

Fingerprint event reporting method and device and electronic equipment Download PDF

Info

Publication number
CN111291653A
CN111291653A CN202010070484.2A CN202010070484A CN111291653A CN 111291653 A CN111291653 A CN 111291653A CN 202010070484 A CN202010070484 A CN 202010070484A CN 111291653 A CN111291653 A CN 111291653A
Authority
CN
China
Prior art keywords
acquisition area
fingerprint acquisition
state
fingerprint
data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202010070484.2A
Other languages
Chinese (zh)
Other versions
CN111291653B (en
Inventor
林进全
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Oppo Chongqing Intelligent Technology Co Ltd
Original Assignee
Oppo Chongqing Intelligent Technology 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 Oppo Chongqing Intelligent Technology Co Ltd filed Critical Oppo Chongqing Intelligent Technology Co Ltd
Priority to CN202010070484.2A priority Critical patent/CN111291653B/en
Publication of CN111291653A publication Critical patent/CN111291653A/en
Application granted granted Critical
Publication of CN111291653B publication Critical patent/CN111291653B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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
    • G06V40/1306Sensors therefor non-optical, e.g. ultrasonic or capacitive sensing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/041Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
    • G06F3/044Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means by capacitive means
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • User Interface Of Digital Computer (AREA)
  • Image Input (AREA)

Abstract

The application discloses a fingerprint event reporting method and device and electronic equipment, and relates to the technical field of electronics. Wherein, the method comprises the following steps: when the electronic equipment is in a black screen state, if the pressing operation of a fingerprint acquisition area of the electronic equipment is detected, when the duration of the pressing operation meets a state switching condition, storing the current electric signal data of the fingerprint acquisition area as target data, and switching from the black screen state to a bright screen state; when the electronic equipment is switched to a bright screen state, determining whether the fingerprint acquisition area is lifted or not according to target data; and when the fingerprint acquisition area is detected to be lifted, reporting a lifting event. Therefore, the problem that the lifting event cannot be reported in time when the lifting operation occurs in the fingerprint acquisition area after the electronic equipment is switched from the black screen state to the bright screen state can be avoided.

Description

Fingerprint event reporting method and device and electronic equipment
Technical Field
The present application relates to the field of electronic technologies, and in particular, to a method and an apparatus for reporting a fingerprint event, and an electronic device.
Background
One application scenario of fingerprint identification is that when an electronic device is in a black screen state, a system is awakened according to an operation of a user on a fingerprint acquisition area. In the process of waking up the system, the electronic device can be switched from a black screen state to a bright screen state, and the switching of the states can cause that a lifting event corresponding to the lifting operation of the user in the fingerprint acquisition area cannot be reported to an operating system of the electronic device in time, so that errors in subsequent processing are caused.
Disclosure of Invention
In view of the foregoing problems, the present application provides a method, an apparatus, and an electronic device for reporting a fingerprint event, so as to improve the foregoing problems.
In a first aspect, an embodiment of the present application provides a method for reporting a fingerprint event, including: when the electronic equipment is in a black screen state, if the fact that a pressing operation occurs in a fingerprint acquisition area of the electronic equipment is detected, when the duration of the pressing operation meets a state switching condition, storing current electric signal data of the fingerprint acquisition area as target data, and switching from the black screen state to a bright screen state; when the electronic equipment is switched to the bright screen state, determining the current state of the fingerprint acquisition area according to the target data; when the fingerprint acquisition area is determined to be in a pressing state currently, detecting whether the fingerprint acquisition area is lifted; and when the fingerprint acquisition area is detected to be lifted, reporting a lifting event.
In a second aspect, an embodiment of the present application provides a fingerprint event reporting apparatus, including: the device comprises a storage module, a state determination module, a detection module and a reporting module. The storage module is used for storing current electric signal data of the fingerprint acquisition area as target data when the duration of the pressing operation meets a state switching condition and switching from a black screen state to a bright screen state if the pressing operation of the fingerprint acquisition area of the electronic equipment is detected when the electronic equipment is in the black screen state. And the state determining module is used for determining the current state of the fingerprint acquisition area according to the target data when the electronic equipment is switched to the bright screen state. The detection module is used for detecting whether the fingerprint acquisition area is lifted or not when the fingerprint acquisition area is determined to be in a pressing state currently. And the reporting module is used for reporting a lifting event when the lifting operation of the fingerprint acquisition area is detected.
In a third aspect, an embodiment of the present application provides an electronic device, including: one or more processors; a memory; one or more programs. Wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors, the one or more programs configured to perform the methods described above.
In a fourth aspect, the present application provides a computer-readable storage medium, in which program code is stored, and the program code can be called by a processor to execute the method described above.
Compared with the prior art, according to the scheme provided by the application, when the electronic equipment is in the black screen state, if the operation of the fingerprint acquisition area of the electronic equipment meets the switching condition of switching from the black screen state to the bright screen state, the current electric signal data of the fingerprint acquisition area is stored as the target data, then the switching operation of switching from the black screen state to the bright screen state is executed, after the switching operation is executed, the current state of the fingerprint acquisition area of the electronic equipment is determined according to the stored target data, if the fingerprint acquisition area is determined to be in the pressing state, whether the fingerprint acquisition area is lifted or not is detected, and when the lifting operation of the fingerprint acquisition area is detected, a lifting event is reported. Therefore, the problem that after the electronic equipment is switched from a black screen state to a bright screen state, the current electrical signal data of the fingerprint acquisition area is reset to be the reference signal data, the current fingerprint acquisition area is judged to be in a non-pressing state by mistake, so that the lifting operation of the fingerprint acquisition area cannot be detected, and the lifting event cannot be reported in time when the lifting operation occurs can be avoided.
These and other aspects of the present application will be more readily apparent from the following description of the embodiments.
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 shows a block diagram of an electronic device provided in an embodiment of the present application.
Fig. 2 is a flowchart illustrating a fingerprint event reporting method according to an embodiment of the present application.
Fig. 3 shows a schematic diagram of capacitance data of a touch screen when a fingerprint acquisition area is not pressed.
Fig. 4 shows a schematic diagram of capacitance data of a touch screen when a fingerprint acquisition area is pressed.
Fig. 5 is a flowchart illustrating a fingerprint event reporting method according to another embodiment of the present application.
Fig. 6 is a diagram illustrating a difference between data in the area 301 shown in fig. 3 and data in the area 301 shown in fig. 4.
Fig. 7 is a block diagram illustrating a fingerprint event reporting apparatus according to an embodiment of the present application.
Fig. 8 is a storage unit according to an embodiment of the present application, configured to store or carry program codes for implementing a fingerprint event reporting method according to an embodiment of the present application.
Detailed Description
In order to make the technical solutions better understood by those skilled in the art, 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.
Fingerprint identification is increasingly used in the field of electronic technology. In practical applications, fingerprint recognition usually employs a touch screen as a trigger source for pressing and lifting events of a user's finger. In detail, a fingerprint collection area is arranged under the screen of the touch screen, when a user performs a pressing operation (namely, presses the fingerprint collection area) in the fingerprint collection area, the touch screen can report a pressing event to an operating system of the electronic device, and the operating system can control the fingerprint module to collect an image, so that the subsequent processing is performed based on the collected fingerprint image. When the user performs a lifting operation in the fingerprint acquisition area (that is, the finger of the user leaves the fingerprint acquisition area), the touch screen can report a lifting event to an operating system of the electronic device, and the operating system can control the fingerprint module to stop image acquisition.
There are various application scenarios for fingerprint identification. One of them is: when the electronic equipment is in a bright screen state, fingerprint images are collected so as to realize functions of payment, unlocking and the like. The other is as follows: when the electronic equipment is in a black screen state, the operating system is awakened through the operation of a user in the fingerprint acquisition area, and screen unlocking is achieved.
The process of waking up the operating system of the electronic device by fingerprint identification may generally be as follows: when the electronic equipment is in a black screen state, if a user presses the fingerprint acquisition area and the pressing duration meets the state switching condition, the electronic equipment is switched from the black screen state to a bright screen state, and the working mode of the electronic equipment is also switched from the black screen working mode to the bright screen working mode. And the scanning frequency of the touch screen by the electronic equipment in the black screen working mode is less than that of the touch screen by the electronic equipment in the bright screen working mode.
In the process, after the electronic device is switched from the black screen state to the bright screen state, the lifting operation cannot be accurately detected for a period of time, so that the lifting event cannot be reported in time.
The inventor provides a fingerprint event reporting method, a fingerprint event reporting device and electronic equipment through long-term research, and can accurately detect the lifting operation of a fingerprint collection area after the electronic equipment is switched from a black screen state to a bright screen state, so as to report the lifting event in time. This is explained below.
Referring to fig. 1, fig. 1 is a block diagram of an electronic device according to an embodiment of the present disclosure. The electronic device 100 may be any device with data processing function, such as a smart phone, a tablet computer, an electronic book, etc. The electronic device 100 in the present application may include one or more of the following components: a processor 110, a memory 120, a touch screen 130, a display screen 140, and one or more programs, wherein the one or more programs may be stored in the memory 120 and configured to be executed by the one or more processors 110, the one or more programs configured to perform the fingerprint event reporting method described below.
The touch screen 130 includes a fingerprint collection area 131, and the fingerprint collection area 131 is a preset area for collecting a user's fingerprint. When a user's finger is placed on the fingerprint collection area 131, the electronic device 100 may collect an image of the fingerprint placed on the skin of the finger in the area through the touch screen 130.
In addition, the touch screen 130 may further include an IC (Integrated Circuit Chip) 132, a register 133, and the like. The register 133 is an internal memory, and may be used to store, for example, electrical signal data of the touch screen 130, and the type of the electrical signal data varies according to the sensing manner of the touch screen 130. For example, when the sensing mode of the touch screen is capacitive sensing, the electrical signal data of the fingerprint acquisition area 133 is capacitive data. For another example, when the sensing manner of the touch screen is inductive sensing, the electrical signal data of the fingerprint acquisition area 133 is inductive data. The integrated circuit chip 132 may transmit an excitation signal to a transmitting electrode at an operating frequency to cause the transmitting electrode to collect electrical signal data from a receiving electrode coupled to the fingerprint collection area 131.
Display screen 140 may be used to display data to be displayed, which may include, for example, icons indicating the location of fingerprint acquisition area 131.
The display screen 140 and the touch screen 130 are electrically connected to the processor 110 via a communication bus, which may be, for example, I2A C (Inter-Integrated Circuit) bus, an SPI (Serial peripheral interface) bus, or the like. The communication bus connected between the touch screen 130 and the processor 110 may include an interrupt pin, which may be regarded as a signal interface through which the touch screen 130 may send a signal to the processor 110 to inform the processor 110 to read data from the touch screen 130.
Processor 110 may include one or more processing cores. The processor 110 connects various parts within the overall electronic device 100 using various interfaces and lines, and performs various functions of the electronic device 100 and processes data by executing or executing instructions, programs, code sets, or instruction sets stored in the memory 120 and calling data stored in the memory 120. Alternatively, the processor 110 may be implemented in hardware using at least one of Digital Signal Processing (DSP), Field-Programmable Gate Array (FPGA), and Programmable Logic Array (PLA). The processor 110 may integrate one or more of a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), a modem, and the like. Wherein, the CPU mainly processes an operating system, a user interface, an application program and the like; the GPU is used for rendering and drawing display content; the modem is used to handle wireless communications. It is understood that the modem may not be integrated into the processor 110, but may be implemented by a communication chip.
The Memory 120 may include a Random Access Memory (RAM) or a Read-Only Memory (Read-Only Memory). The memory 120 may be used to store instructions, programs, code sets, or instruction sets. The memory 120 may include a stored program area and a stored data area, wherein the stored program area may store instructions for implementing an operating system, instructions for implementing at least one function (such as a touch function, a sound playing function, an image playing function, etc.), instructions for implementing various method embodiments described below, and the like. The storage data area may also store data (such as target data) created by the electronic device 100 in use, and the like.
It is understood that the structure shown in fig. 1 is merely an illustration, and the electronic device 100 may include more or less components than those shown in fig. 1, or have a different configuration than that shown in fig. 1, and the embodiment of the present application is not limited thereto. For example, the electronic device 100 may further include a communication unit.
Referring to fig. 2, fig. 2 is a flowchart illustrating a fingerprint event reporting method according to an embodiment of the present application, which can be applied to the electronic device 100 shown in fig. 1, and steps included in the method are described below.
Step S110, when the electronic equipment is in a black screen state, if the pressing operation of the fingerprint acquisition area of the electronic equipment is detected, when the duration of the pressing operation meets the state switching condition, the current electric signal data of the fingerprint acquisition area is stored as target data, and the electronic equipment is switched from the black screen state to a bright screen state.
The screen state of the electronic device 100 generally refers to the state of the display screen 140, and may include both a black screen state and a bright screen state. When the display screen 140 of the electronic device 100 is in the black screen state, the user may wake up the operating system of the electronic device 100 by operating the fingerprint acquisition area 131 of the touch screen 130 to switch the display screen 140 from the black screen state to the bright screen state.
In detail, the user may perform a pressing operation at the fingerprint collection area 131, such as pressing the fingerprint collection area 131 of the touch screen 130 with a finger. In this embodiment, the electrical signal data of the touch screen 130 is different between the case where the fingerprint collection area 131 is pressed by a finger and the case where the fingerprint collection area is not pressed by a finger.
For convenience of description, in the present embodiment, a state in which the fingerprint collection area 131 is pressed is described as a pressed state, and a state in which the fingerprint collection area 131 is not pressed is described as a non-pressed state.
Generally, the touch screen 130 has reference signal data, and the reference signal data includes the magnitude of the electrical signal value corresponding to each pixel of the touch screen 130. In practice, in the case where the fingerprint collection area 133 is not pressed, the electrical signal data of the touch screen 130 is maintained as the reference signal data. Referring to fig. 3, in which the sensing manner of the touch screen 130 is capacitance sensing, capacitance data of the touch screen 130 in a case where the fingerprint acquisition area 131 is not pressed by the user is exemplarily shown to be equal to the reference capacitance data. Where area 301 represents capacitance data corresponding to fingerprint acquisition area 131, i.e. reference capacitance data for fingerprint acquisition area 131.
It is understood that, hereinafter, the reference signal data (reference capacitance data) of the fingerprint collection area 131 refers to data corresponding to the fingerprint collection area 131 among the reference signal data (reference capacitance data) of the touch screen 120. The electrical signal data (capacitance data) of the fingerprint collection area 131 refers to data corresponding to the fingerprint collection area 131 among the electrical signal data (capacitance data) of the touch screen 130.
In the above case, the touch screen 130 may determine that the fingerprint collection area 131 is currently in the non-pressed state in a case where it is determined that the current electrical signal data of the fingerprint collection area 131 is the same as the reference signal data of the fingerprint collection area 131. When the fingerprint collection area 131 is pressed, the electrical signal data of the fingerprint collection area 131 changes. That is, the electrical signal data in the region 301 may change. Taking the sensing manner of the touch screen 130 as capacitance sensing again as an example, the surface of the touch screen 130 can be regarded as an electrode plate of a capacitor, when a user presses the fingerprint collecting area 131 with a finger, the skin surface of the finger is in one-to-one correspondence with the fingerprint collecting area 131, and can be regarded as that the skin surface of the finger and the fingerprint collecting area 131 form a plurality of electrode plate pairs, and the capacitance value of each electrode plate pair is determined by the distance between the skin surface of the fingerprint and the fingerprint collecting area 131. Thus, the capacitance data in the area 301 shown in fig. 3 is updated to the capacitance corresponding to the electrode plate pairs. For example, as shown in fig. 4, which exemplarily shows capacitance data of the touch screen 130 in a case where the fingerprint collection area 131 is pressed by a finger of a user, wherein capacitance data of the fingerprint collection area 131 in a case where the fingerprint collection area 301 is pressed is shown, it can be seen that the data in the area 301 shown in fig. 4 is different from the data in the area 301 shown in fig. 3.
Based on this, the touch screen 130 may determine that the fingerprint collection area 131 is currently in the pressed state when it is determined that the current electrical signal data of the fingerprint collection area 131 is different from the reference signal data of the fingerprint collection area 131.
Further, the integrated circuit chip 132 of the touch screen 130 can detect the operation currently occurring on the fingerprint collection area 131 according to the change of the state of the fingerprint collection area 131. For example, when the state of the fingerprint collection area 131 changes from the non-pressed state to the pressed state, it may be determined that a pressing operation occurs in the fingerprint collection area 131, and a pressing event (event) may be reported to the processor 110. As another example, when the state in which the fingerprint collection area 131 is in changes from the pressed state to the non-pressed state, it may be determined that the lifting operation of the fingerprint collection area 131 occurs, i.e., the user's finger leaves the fingerprint collection area 131. At this time, the touch screen 130 may report the lift-off event to the processor 110.
Based on the above description, when the pressing operation of the fingerprint collection area 131 occurs, the fingerprint collection area 131 is already in the pressed state. After the pressing operation occurs, the duration of the pressing operation can be regarded as the duration of the pressing operation, where the fingerprint collection area 131 is in the pressed state.
In this embodiment, the electronic device 100 stores a state switching condition corresponding to the duration of the pressing operation, and when the duration of the pressing operation satisfies the state switching condition, the screen state of the display screen 140 may be switched. Illustratively, the state switching condition may be, for example: the duration of the pressing operation reaches a preset duration, such as 5-10 milliseconds. The preset duration can be flexibly set, and this embodiment does not limit this.
In an implementation process, the processor 110 of the electronic device 100 may start timing when receiving a pressing event reported by the touch screen 130, and stop timing until receiving a lifting event reported by the touch screen 130. The timing duration may be the duration of the pressing operation, i.e., the duration of the pressing operation after the pressing operation occurs, when the fingerprint collection area 131 is in the pressed state. In the timing process, if the timing duration reaches the preset duration in the state switching conditions, it may be determined that the state switching conditions are satisfied, so that the display screen 140 may be controlled to be switched from the black screen state to the bright screen state.
In this embodiment, before controlling the display screen 140 to switch from the black screen state to the bright screen state, the processor 130 may acquire and store the current electrical signal data of the fingerprint acquisition area 131, where the stored current electrical signal data is the target data.
Step S120, when the electronic device is switched to the bright screen state, determining whether the fingerprint acquisition area is currently in a pressing state according to the target data.
In this embodiment, when the electronic device 100 switches the display screen 140 from the black screen state to the bright screen state, the electrical signal data of the touch screen 130 is reset, and is usually set as the reference signal data.
However, as described above, the touch screen 130 determines the current state of the fingerprint collection area 131 based on the electrical signal data of the fingerprint collection area 131, and further determines the operation currently occurring on the fingerprint collection area 131 according to the state change condition of the fingerprint collection area 131, and after the electrical signal data of the touch screen 130 is reset due to the screen state switch of the display screen 140 of the electronic device 100, the current electrical signal data of the fingerprint collection area 131 reflects the state that the fingerprint collection area 131 does not actually exist, and then the state of the fingerprint collection area 131 determined by the touch screen 130 based on the current electrical signal data of the fingerprint collection area 131 may be wrong, and the operation occurring on the fingerprint collection area 131 cannot be accurately detected.
In detail, when the electronic device 100 switches the display screen 140 from the black screen state to the bright screen state, the current electrical signal data of the fingerprint collection area 131 should actually indicate: the fingerprint acquisition area 131 is in a pressed state. At this time, since the electrical signal data of the touch screen 130 is set as the reference signal data, the current electrical signal data of the fingerprint collection area 131 actually indicates that: the fingerprint acquisition area 131 is in a non-depressed state. Therefore, after the display screen 140 is switched from the black screen state to the bright screen state, the touch screen 130 erroneously determines that the fingerprint collection area 131 is currently in the non-pressed state based on the current electrical signal data of the fingerprint collection area 131. Since the touch screen 130 is usually configured to detect whether the fingerprint collection area 131 is in the non-pressed state when it is determined that the fingerprint collection area 131 is in the pressed state, the touch screen 130 cannot detect the change of the state of the fingerprint collection area 131 from the pressed state to the non-pressed state for a period of time.
In other words, even if the user's finger leaves the fingerprint collection area 131 within a period of time after the display screen 140 is switched from the blank screen state to the bright screen state, the touch screen 130 cannot detect the lifting operation, and therefore cannot report the lifting event to the processor 110 in time.
Based on this, in this embodiment, the processor 110 stores the current electrical signal data of the fingerprint collection area 131, that is, the electrical signal data indicating the actual state of the fingerprint collection area 131 before switching the display screen 140 from the black screen state to the bright screen state, and determines the state of the fingerprint collection area 131 according to the stored electrical signal data (target data) after switching the display screen 140 from the black screen state to the bright screen state. As such, the touch screen 130 can generally accurately determine that the fingerprint collection area 131 is in the pressed state.
Step S130, when the fingerprint collection area is determined to be in the pressing state currently, whether the fingerprint collection area is lifted or not is detected.
In this embodiment, after the touch screen 130 accurately determines that the fingerprint collection area 131 is currently in the pressed state according to the stored target data, it may monitor whether the fingerprint collection area 131 changes to the non-pressed state. Upon detecting that the fingerprint collection area 131 becomes a non-pressed state, it can be determined that a lifting operation of the fingerprint collection area 131 has occurred, i.e., the user's finger has left the fingerprint collection area.
And step S140, when the fingerprint acquisition area is detected to be lifted, reporting a lifting event.
After determining that the fingerprint collection area 131 sends the lifting operation, the touch screen 130 may generate a lifting event and report the lifting event to the processor 110, so that the processor 110 performs subsequent processing based on the lifting event.
Through the process shown in fig. 2, after the electronic device is switched from the black screen state to the bright screen state, the lifting operation occurring on the fingerprint acquisition area can be accurately detected, so that when the lifting operation is detected, the lifting event is reported in time for subsequent processing.
Referring to fig. 5, fig. 5 is a flowchart illustrating a method for reporting a fingerprint event according to another embodiment of the present application, where the method may be applied to the electronic device 100 shown in fig. 1, and the steps included in the method are described in detail in this embodiment by taking the touch screen 130 of the electronic device 100 as a capacitive sensing touch screen as an example.
In this embodiment, the electrical signal data of the touch screen 130 and the fingerprint acquisition area 131 may be capacitance data.
Step S510, when the electronic device is in a black screen state, if it is detected that a pressing operation occurs in a fingerprint acquisition area of the electronic device, monitoring whether a duration of the pressing operation satisfies a state switching condition. If yes, go to step S520; if not, step S570 may be performed.
The detailed implementation process of step S510 is similar to step S110 in the previous embodiment, and is not described herein again.
Step S520, when the duration of the pressing operation meets a state switching condition, acquiring reference capacitance data of a touch screen of the electronic device and current capacitance data of the touch screen, identifying difference data different from the reference capacitance data from the current capacitance data, acquiring the difference data, storing the difference data as the target data, and switching from a black screen state to a bright screen state.
In this embodiment, as can be seen from the description of the previous embodiment, when the fingerprint collection area 131 is pressed by the finger of the user, the electrical signal data (in this embodiment, the capacitance data) of the touch screen 130 changes. The specific variation area is the data corresponding to the fingerprint collection area 131 in the capacitance data of the touch screen 130, such as the data1 in the area 301 in fig. 3. Illustratively, when the fingerprint collection area 131 is pressed by the user's finger (i.e., in a pressed state), the capacitance data of the fingerprint collection area 131 may become, for example, the data2 within the area 301 in fig. 4.
It is understood that the data shown in fig. 4 can be regarded as the current capacitance data of the touch screen 130, the data shown in fig. 3 is the reference capacitance data of the touch screen 130, and the data2 in the area 301 shown in fig. 4 is the difference data having the difference from the reference capacitance data. In this case, the processor 110 may acquire data2 and save the acquired data2 as target data. Then, the display screen 140 is controlled to switch from the black screen state to the bright screen state.
Further, the capacitance data of the touch screen 130 may be buffered in the register 133, and in this case, the data corresponding to the fingerprint collection area 131 in the data stored in the register 133 may be changed to the target data, so as to change the capacitance data of the fingerprint collection area 131 to the target data.
In this embodiment, when the electronic device 100 is switched to the bright screen state, the capacitance data of the fingerprint collection area 131 is set as the reference capacitance data.
At this time, the present capacitance data of the fingerprint collection area 131 indicates that it is not the state in which the fingerprint collection area 131 is actually located. In order to avoid that the touch screen 130 erroneously determines the current state of the fingerprint collection area 131 according to the current capacitance data of the fingerprint collection area 131, in this embodiment, the processor 110 determines the current state of the fingerprint collection area 131 according to the target data, which may be specifically implemented by step S530.
Step S530, changing the capacitance data of the fingerprint acquisition area into the target data, and determining whether the fingerprint acquisition area is currently in a pressing state according to the changed capacitance data of the fingerprint acquisition area.
The processor 110 may change the capacitance data of the fingerprint collection area 131 into the stored target data, so that the current capacitance data of the fingerprint collection area 131 matches the actual state. At this time, the state in which the fingerprint collection area 131 is determined based on the current capacitance data of the fingerprint collection area 131 is accurate.
In this embodiment, the integrated circuit chip 132 of the touch screen 130 may determine data corresponding to the fingerprint collection area 131 from the reference capacitance data of the touch screen 130 of the electronic device 100, where the determined data is the reference capacitance data of the fingerprint collection area 131. Then, a difference between the reference capacitance data of the fingerprint collection area 131 and the current capacitance data of the fingerprint collection area 131 is calculated. If the difference is positive, it may be determined that the fingerprint acquisition area 131 is currently in a pressed state. If the difference is not a positive number (e.g., 0), then it may be determined that fingerprint acquisition area 131 is currently in a non-depressed state.
Referring to fig. 6, there is shown a difference value obtained by subtracting the data2 in the area 301 shown in fig. 4 from the data1 in the area 301 shown in fig. 3. It can be seen that the obtained differences are all integers, and therefore, it can be determined that the fingerprint acquisition area 131 indicated by the capacitance data shown in fig. 4 is in a pressed state.
And step S540, when the fingerprint acquisition area is determined to be in the pressing state currently, detecting whether the fingerprint acquisition area is lifted or not. If yes, go to step S550; if not, step S560 is executed.
The detailed implementation flow of step S540 is similar to that of step S130 in the previous embodiment.
In practical applications, when the electronic device 100 switches from the black screen state to the bright screen state, the fingerprint collection area 131 is usually in the pressed state, and correspondingly, based on the current capacitance data (i.e., the changed capacitance data) of the fingerprint collection area 131, it can be usually determined that the fingerprint collection area 131 is currently in the pressed state, so that whether the fingerprint collection area 131 changes into the non-pressed state can be continuously detected, and when it is detected that the state of the fingerprint collection area 131 changes into the non-pressed state, it is determined that the fingerprint collection area 131 has been lifted, and then a lift event can be reported to the processor 110 according to step S550.
And step S550, reporting the lifting event.
Step S560, keep not reporting the fingerprint event, or report the pressing event when the next pressing operation of the fingerprint collection area is detected.
There may be a plurality of processing modes if it is detected that the fingerprint collection area 131 is not lifted in the case where it is determined that the fingerprint collection area 131 is in the pressed state.
In one mode, the processing logic set by the electronic device 100 for the fingerprint identification function may be: a press event is only reported for the first press operation within a target duration (e.g., 0.1s-0.5 s). At this point, the fingerprint event may remain unreported. It is understood that the specific values of the target time duration are all examples, can be flexibly set, and are not used to limit the scope of the present application.
In another way, the processing logic of the electronic device 100 for the fingerprint identification function may be: and reporting a pressing event aiming at each pressing operation. In this case, the touch screen 130 may report the pressing event when the next pressing operation of the fingerprint collection area 131 is detected.
Step S570, detecting whether the fingerprint collection area is lifted. If yes, go to step S550; if not, the above step S560 is executed.
In step S510, when the duration of the pressing operation does not satisfy the state switching condition, it may be continuously detected whether the finger of the user leaves the fingerprint acquisition area 131, that is, whether the fingerprint acquisition area 131 is lifted, and the subsequent processing is performed according to the detection result, where the detailed implementation process of the subsequent processing may refer to the description of step S550 and step S560, and is not described herein again.
Optionally, in this embodiment, in order to indicate the position of the fingerprint collection area 131 of the user, when the touch screen 130 detects that the pressing operation occurs in the fingerprint collection area 131 and reports the pressing event to the processor 110, the processor 110 usually lights an icon on the display screen 140 at a position corresponding to the fingerprint collection area 131. Correspondingly, when the user's finger leaves the fingerprint collection area 131, that is, the touch screen 130 detects that the fingerprint collection area 131 is lifted, and reports a lifting event to the processor 110, the processor 110 may extinguish the icon.
Through the design, the lifting operation of the user can be accurately detected and the lifting event can be reported after the electronic equipment is switched from the black screen state to the bright screen state, so that the processor can timely extinguish the icon for indicating the fingerprint acquisition area according to the user operation, the synchronization of the on-off of the icon of the fingerprint acquisition area and the user operation is realized, and the user experience is improved.
Referring to fig. 7, a block diagram of a fingerprint event reporting apparatus 700 according to an embodiment of the present disclosure is shown. The apparatus 700 may be applied to the electronic device 100 shown in fig. 1, and the apparatus 700 may include: a storage module 710, a state determination module 720, a detection module 730, and a reporting module 740.
The storage module 710 is configured to, when the electronic device is in a black screen state, store, if it is detected that a pressing operation occurs in a fingerprint acquisition area of the electronic device, current electrical signal data of the fingerprint acquisition area as target data when a duration of the pressing operation satisfies a state switching condition, and switch from the black screen state to a bright screen state.
The apparatus 700 may further include a setting module, configured to set the electrical signal data of the fingerprint collection area 131 as reference signal data when the electronic device 400 is switched to the bright screen state.
Optionally, the manner of saving the current electrical signal data of the fingerprint acquisition area as the target data by the saving module 710 may be:
acquiring reference capacitance data of a touch screen of the electronic equipment and current capacitance data of the touch screen, and identifying difference data different from the reference capacitance data from the current capacitance data; and acquiring the difference data and saving the difference data as the target data.
The state determining module 720 is configured to determine whether the fingerprint acquisition area is currently in a pressed state according to the target data when the electronic device is switched to the bright screen state.
Optionally, in this embodiment, the manner in which the state determining module 720 determines the current state of the fingerprint acquisition area according to the target data may be:
after the electrical signal data of the fingerprint acquisition area is set as reference signal data, changing the electrical signal data of the fingerprint acquisition area into the target data; and determining the current state of the fingerprint acquisition area according to the electrical signal data after the fingerprint acquisition area is changed.
Optionally, the fingerprint acquisition area may include a register for buffering current electrical signal data. In this case, the manner of the status determination module 720 changing the current electrical signal data of the fingerprint collection area to the target data may be:
and changing the data corresponding to the fingerprint acquisition area in the register of the fingerprint acquisition area into the target data.
Optionally, in this embodiment, the state determining module 720 may determine the current state of the fingerprint acquisition area 131 by:
determining reference signal data of the fingerprint acquisition area from reference signal data of a touch screen of the electronic equipment; calculating the difference value of the reference signal data of the fingerprint acquisition area and the current electric signal data of the fingerprint acquisition area; if the difference value is a positive number, determining that the fingerprint acquisition area is currently in a pressing state; and if the difference is not a positive number, determining that the fingerprint acquisition area is currently in a non-pressing state.
In this case, the saving module 710 may detect whether the fingerprint collection area 131 is lifted up by: when the fingerprint collection area 131 changes from a pressed state to a non-pressed state, it is determined that a lifting operation has occurred in the fingerprint collection area 131.
The detecting module 730 is configured to detect whether the fingerprint capturing area is lifted when it is determined that the fingerprint capturing area is currently in the pressing state.
The reporting module 740 is configured to report a lifting event when it is detected that the lifting operation occurs in the fingerprint collection area.
Optionally, the apparatus 700 may further include an icon control module, which may be configured to: when the pressing operation of the fingerprint acquisition area 131 of the electronic device 100 is detected, lighting an icon corresponding to the fingerprint acquisition area 131; and when the fingerprint collection area 131 is detected to be lifted, the icon is extinguished.
It can be clearly understood by those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described apparatuses and modules may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the several embodiments provided in the present application, the coupling or direct coupling or communication connection between the modules shown or discussed may be through some interfaces, and the indirect coupling or communication connection between the devices or modules may be in an electrical, mechanical or other form.
In addition, functional modules in the embodiments of the present application may be integrated into one processing module, or each of the modules may exist alone physically, or two or more modules are integrated into one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode.
Referring to fig. 8, a block diagram of a computer-readable storage medium according to an embodiment of the present application is shown. The computer-readable medium 800 has stored therein a program code that can be called by a processor to execute the method described in the above-described method embodiments.
The computer-readable storage medium 800 may be an electronic memory such as a flash memory, an EEPROM (electrically erasable programmable read only memory), an EPROM, a hard disk, or a ROM. Alternatively, the computer-readable storage medium 800 includes a non-transitory computer-readable storage medium. The computer readable storage medium 800 has storage space for program code 810 to perform any of the method steps of the method described above. The program code can be read from or written to one or more computer program products. The program code 810 may be compressed, for example, in a suitable form.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solutions of the present application, and not to limit the same; although the present application has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not necessarily depart from the spirit and scope of the corresponding technical solutions in the embodiments of the present application.

Claims (10)

1. A fingerprint event reporting method is characterized by comprising the following steps:
when the electronic equipment is in a black screen state, if the fact that a pressing operation occurs in a fingerprint acquisition area of the electronic equipment is detected, when the duration of the pressing operation meets a state switching condition, storing current electric signal data of the fingerprint acquisition area as target data, and switching from the black screen state to a bright screen state;
when the electronic equipment is switched to the bright screen state, determining the current state of the fingerprint acquisition area according to the target data;
when the fingerprint acquisition area is determined to be in a pressing state currently, detecting whether the fingerprint acquisition area is lifted;
and when the fingerprint acquisition area is detected to be lifted, reporting a lifting event.
2. The method of claim 1, wherein the electrical signal data of the fingerprint acquisition area is set as reference signal data when the electronic device is switched to the bright screen state.
3. The method of claim 2, wherein the saving the current electrical signal data of the fingerprint acquisition area as target data comprises:
acquiring reference capacitance data of a touch screen of the electronic equipment and current capacitance data of the touch screen, and identifying difference data different from the reference capacitance data from the current capacitance data;
and acquiring the difference data and saving the difference data as the target data.
4. The method of claim 3, wherein determining the current state of the fingerprint acquisition area according to the target data comprises:
after the electrical signal data of the fingerprint acquisition area is set as reference signal data, changing the electrical signal data of the fingerprint acquisition area into the target data;
and determining the current state of the fingerprint acquisition area according to the electrical signal data after the fingerprint acquisition area is changed.
5. The method of claim 4, wherein the fingerprint acquisition area includes a register for buffering current electrical signal data; the changing the current electrical signal data of the fingerprint acquisition area into the target data comprises:
and changing the data corresponding to the fingerprint acquisition area in the register of the fingerprint acquisition area into the target data.
6. The method according to any one of claims 1-5, wherein the current state of the fingerprint acquisition area is determined by:
determining reference signal data of the fingerprint acquisition area from reference signal data of a touch screen of the electronic equipment;
calculating the difference value of the reference signal data of the fingerprint acquisition area and the current electric signal data of the fingerprint acquisition area;
if the difference value is a positive number, determining that the fingerprint acquisition area is currently in a pressing state;
if the difference value is not a positive number, determining that the fingerprint acquisition area is currently in a non-pressing state;
the detecting whether the fingerprint collecting area is lifted or not comprises the following steps:
when the state of the fingerprint acquisition area is changed from a pressing state to a non-pressing state, determining that a lifting operation occurs in the fingerprint acquisition area.
7. The method according to any one of claims 1-5, further comprising:
when the pressing operation of a fingerprint acquisition area of the electronic equipment is detected, lightening an icon corresponding to the fingerprint acquisition area;
and when the fingerprint acquisition area is detected to be lifted, the icon is extinguished.
8. A fingerprint event reporting device is characterized by comprising:
the storage module is used for storing current electric signal data of a fingerprint acquisition area as target data when the duration of pressing operation meets a state switching condition and switching from a black screen state to a bright screen state if the pressing operation of the fingerprint acquisition area of the electronic equipment is detected when the electronic equipment is in a black screen state;
the state determining module is used for determining the current state of the fingerprint acquisition area according to the target data when the electronic equipment is switched to the bright screen state;
the detection module is used for detecting whether the fingerprint acquisition area is lifted or not when the fingerprint acquisition area is determined to be in a pressing state currently;
and the reporting module is used for reporting the lifting event when the lifting operation of the fingerprint acquisition area is detected.
9. An electronic device, comprising:
one or more processors;
a memory;
one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors, the one or more programs configured to perform the method of any of claims 1-7.
10. A computer-readable storage medium, characterized in that a program code is stored in the computer-readable storage medium, which program code can be called by a processor to perform the method according to any of claims 1-7.
CN202010070484.2A 2020-01-21 2020-01-21 Fingerprint event reporting method and device and electronic equipment Active CN111291653B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010070484.2A CN111291653B (en) 2020-01-21 2020-01-21 Fingerprint event reporting method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010070484.2A CN111291653B (en) 2020-01-21 2020-01-21 Fingerprint event reporting method and device and electronic equipment

Publications (2)

Publication Number Publication Date
CN111291653A true CN111291653A (en) 2020-06-16
CN111291653B CN111291653B (en) 2023-06-16

Family

ID=71021289

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010070484.2A Active CN111291653B (en) 2020-01-21 2020-01-21 Fingerprint event reporting method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN111291653B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111949159A (en) * 2020-08-12 2020-11-17 Oppo(重庆)智能科技有限公司 Calibration method and device of touch screen, equipment and storage medium

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5513260A (en) * 1994-06-29 1996-04-30 Macrovision Corporation Method and apparatus for copy protection for various recording media
US20110090047A1 (en) * 2001-02-20 2011-04-21 Patel Pankaj B Biometric switch and indicating means
US20120154296A1 (en) * 2010-12-17 2012-06-21 Microsoft Corporation Supplementing a touch input mechanism with fingerprint detection
CN104281295A (en) * 2013-07-01 2015-01-14 中兴通讯股份有限公司 Method and system for preventing false slide triggering on touch screen and electronic device
CN105183442A (en) * 2014-05-31 2015-12-23 苹果公司 Message User Interfaces For Capture And Transmittal Of Media And Location Content
CN106775074A (en) * 2016-12-05 2017-05-31 广东欧珀移动通信有限公司 The method of controlling operation thereof and device of terminal
CN106951759A (en) * 2017-03-07 2017-07-14 青岛海信移动通信技术股份有限公司 Unlocked by fingerprint control method and device
CN107294522A (en) * 2017-07-05 2017-10-24 广东欧珀移动通信有限公司 Response method, device, storage medium and electronic equipment based on touch key-press
CN107562350A (en) * 2017-09-22 2018-01-09 北京小米移动软件有限公司 A kind of method and apparatus for reporting key-press event
CN109582195A (en) * 2017-09-29 2019-04-05 北京小米移动软件有限公司 Report the method and device of key-press event
CN110287666A (en) * 2019-06-03 2019-09-27 Oppo广东移动通信有限公司 The method and relevant apparatus of unlocked by fingerprint

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5513260A (en) * 1994-06-29 1996-04-30 Macrovision Corporation Method and apparatus for copy protection for various recording media
US20110090047A1 (en) * 2001-02-20 2011-04-21 Patel Pankaj B Biometric switch and indicating means
US20120154296A1 (en) * 2010-12-17 2012-06-21 Microsoft Corporation Supplementing a touch input mechanism with fingerprint detection
CN104281295A (en) * 2013-07-01 2015-01-14 中兴通讯股份有限公司 Method and system for preventing false slide triggering on touch screen and electronic device
CN105183442A (en) * 2014-05-31 2015-12-23 苹果公司 Message User Interfaces For Capture And Transmittal Of Media And Location Content
CN106775074A (en) * 2016-12-05 2017-05-31 广东欧珀移动通信有限公司 The method of controlling operation thereof and device of terminal
CN106951759A (en) * 2017-03-07 2017-07-14 青岛海信移动通信技术股份有限公司 Unlocked by fingerprint control method and device
CN107294522A (en) * 2017-07-05 2017-10-24 广东欧珀移动通信有限公司 Response method, device, storage medium and electronic equipment based on touch key-press
CN107562350A (en) * 2017-09-22 2018-01-09 北京小米移动软件有限公司 A kind of method and apparatus for reporting key-press event
CN109582195A (en) * 2017-09-29 2019-04-05 北京小米移动软件有限公司 Report the method and device of key-press event
CN110287666A (en) * 2019-06-03 2019-09-27 Oppo广东移动通信有限公司 The method and relevant apparatus of unlocked by fingerprint

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111949159A (en) * 2020-08-12 2020-11-17 Oppo(重庆)智能科技有限公司 Calibration method and device of touch screen, equipment and storage medium

Also Published As

Publication number Publication date
CN111291653B (en) 2023-06-16

Similar Documents

Publication Publication Date Title
CN106775084B (en) A kind of false-touch prevention method, device and mobile terminal of touch screen
CN108021259B (en) False touch prevention method and electronic equipment
CN105787328B (en) A kind of method and mobile terminal for improving unblock speed
CN109543574B (en) Fingerprint acquisition method and related equipment
US20180365086A1 (en) Method for Processing Data Collected by Touch Panel, and Terminal Device
CN105955658A (en) Method and apparatus for interaction by curved surface screen and mobile terminal
CN106708263A (en) Method and device for preventing mistaken touch of touch screens and mobile terminal
CN109409320B (en) Fingerprint acquisition method and related equipment
EP3039516A1 (en) System and method for improved processing of touch sensor data
CN102855037A (en) Capacitive screen mobile terminal and screen control method and device thereof
CN110287666B (en) Fingerprint unlocking method and related device
CN107273009B (en) Method and system for rapidly capturing screen of mobile terminal
CN106909250B (en) Touch operation processing method and device and mobile terminal
CN109543378B (en) Fingerprint unlocking method and related equipment
CN111291653B (en) Fingerprint event reporting method and device and electronic equipment
CN111623863A (en) Electronic scale control method and electronic scale
JP4924412B2 (en) Capacitive digital touch panel
CN108024017B (en) Screen display control method and system of intelligent terminal
CN106126087A (en) A kind of based on the display picture approach of intelligent terminal and the device with touch screen
CN107423593B (en) Fingerprint unlocking control method and device
CN111857413B (en) Touch screen control method and device, terminal equipment and storage medium
CN110825300A (en) Touch sensing method, electronic device and non-transitory computer readable recording medium device
CN115909426A (en) Fingerprint identification device, module, method, electronic equipment and computer program product
CN111399691B (en) Screen touch detection method, mobile terminal and computer storage medium
CN111045738B (en) Electronic equipment control method and device, electronic equipment and storage medium

Legal Events

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