CN114527921A - Fingerprint detection method and device for touch screen and storage medium - Google Patents

Fingerprint detection method and device for touch screen and storage medium Download PDF

Info

Publication number
CN114527921A
CN114527921A CN202011233658.9A CN202011233658A CN114527921A CN 114527921 A CN114527921 A CN 114527921A CN 202011233658 A CN202011233658 A CN 202011233658A CN 114527921 A CN114527921 A CN 114527921A
Authority
CN
China
Prior art keywords
fingerprint
touch
detection
similarity
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.)
Pending
Application number
CN202011233658.9A
Other languages
Chinese (zh)
Inventor
慕伟虎
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software 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 Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN202011233658.9A priority Critical patent/CN114527921A/en
Publication of CN114527921A publication Critical patent/CN114527921A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • 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/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures

Landscapes

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

Abstract

The disclosure relates to a fingerprint detection method and device for a touch screen and a storage medium. The method is applied to the terminal and comprises the following steps: when touch operation is detected in a trigger area of the touch screen, fingerprint detection is carried out through a fingerprint detection assembly to obtain a detected fingerprint; the fingerprint detection assembly is located in the trigger area in a projection area of the touch screen, and the area of the projection area is smaller than that of the trigger area; and reporting a fingerprint detection event according to the matching result of the detection fingerprint and the sample fingerprint. Through the technical scheme of the embodiment of the disclosure, as long as the finger touch can trigger the fingerprint detection function in the trigger area and starts to detect, the situation that the fingerprint detection function cannot be triggered due to the fact that the finger touches the position deviation is reduced, and the detection efficiency and the success rate are improved.

Description

Fingerprint detection method and device for touch screen and storage medium
Technical Field
The present disclosure relates to electronic technologies, and in particular, to a fingerprint detection method and apparatus for a touch screen, and a storage medium.
Background
With the wide application of the full-face screen, the technologies of the sensor under the screen, the camera under the screen, the fingerprint detection under the screen and the like are also developed. Fingerprint detection adopts the sensor hardware who sets up the fingerprint detection subassembly under the screen to realize under the screen, realizes the detection discernment of fingerprint through pressing of finger in fingerprint detection area. However, the position of the fingerprint detection component is difficult to be marked on the display screen in any situation by the fingerprint detection under the screen, so that the situation that the finger cannot be accurately pressed on the fingerprint detection module and cannot trigger the fingerprint detection or the fingerprint detection fails is easily caused, and the use feeling of a user is influenced.
Disclosure of Invention
The disclosure provides a fingerprint detection method and device for a touch screen and a storage medium.
According to a first aspect of the embodiments of the present disclosure, a fingerprint detection method for a touch screen is provided, where the method is applied to a terminal, and includes:
when touch operation is detected in a trigger area of the touch screen, fingerprint detection is carried out through a fingerprint detection assembly to obtain a detected fingerprint; the fingerprint detection assembly is located in the trigger area in a projection area of the touch screen, and the area of the projection area is smaller than that of the trigger area;
and reporting a fingerprint detection event according to the matching result of the detection fingerprint and the sample fingerprint.
In some embodiments, the method further comprises:
acquiring touch detection data of the touch operation while the fingerprint detection is performed;
the reporting of the fingerprint detection event according to the matching result of the detection fingerprint and the sample fingerprint comprises:
and reporting a fingerprint detection event according to the matching result of the detection fingerprint and the sample fingerprint and the matching result of the touch detection data and the touch sample data.
In some embodiments, reporting a fingerprint detection event according to the matching result of the detected fingerprint and the sample fingerprint and the matching result of the touch detection data and the touch sample data includes:
and if the similarity between the detected fingerprint and the sample fingerprint is greater than or equal to a first similarity threshold value, and the similarity between the touch detection data and the touch sample data is greater than or equal to a second similarity threshold value, reporting the fingerprint detection event.
In some embodiments, the method further comprises:
if the similarity between the detected fingerprint and the sample fingerprint is greater than a third similarity threshold value, and the similarity between the touch detection data and the touch sample data is less than or equal to the second similarity threshold value, updating the touch sample data according to the touch detection data; wherein the third similarity threshold is greater than the first similarity threshold.
In some embodiments, the reporting a fingerprint detection event according to the matching result of the detected fingerprint and the sample fingerprint includes:
and if the similarity between the detected fingerprint and the sample fingerprint is greater than the third similarity threshold, reporting a fingerprint detection event.
In some embodiments, the method further comprises:
if the similarity between the detected fingerprint and the sample fingerprint is smaller than the first similarity threshold, the report of the fingerprint detection event is shielded;
or,
and if the similarity between the detected fingerprint and the sample fingerprint is greater than the first similarity threshold and less than the third similarity threshold, and the similarity between the touch detection data and the touch sample data is less than the second similarity threshold, shielding the report of the fingerprint detection event.
In some embodiments, when a touch operation is detected in a trigger area of the touch screen, performing fingerprint detection by a fingerprint detection component includes:
when touch operation is detected in a trigger area of a touch screen, determining whether fingerprint detection is triggered according to touch detection data of the touch operation;
and triggering the fingerprint detection if the touch detection data meets a data threshold condition.
In some embodiments, the triggering the fingerprint detection if the touch detection data satisfies a data threshold condition includes:
and if the touch area corresponding to the touch detection data is larger than a preset area threshold value and/or the touch duration corresponding to the touch detection data is larger than a preset duration threshold value, triggering the fingerprint detection.
According to a second aspect of the embodiments of the present disclosure, there is provided a fingerprint detection device for a touch screen, where the device is applied to a terminal, and the device includes:
the detection module is used for detecting a fingerprint through the fingerprint detection component to obtain a detected fingerprint when a touch operation is detected in a trigger area of the touch screen; the fingerprint detection assembly is located in the trigger area in a projection area of the touch screen, and the area of the projection area is smaller than that of the trigger area;
and the reporting module is used for reporting the fingerprint detection event according to the matching result of the detection fingerprint and the sample fingerprint.
In some embodiments, the apparatus further comprises:
the acquisition module is used for acquiring touch detection data of the touch operation while the fingerprint detection is carried out;
the reporting module includes:
and the first reporting sub-module is used for reporting the fingerprint detection event according to the matching result of the detection fingerprint and the sample fingerprint and the matching result of the touch detection data and the touch sample data.
In some embodiments, the first reporting sub-module is specifically configured to:
and if the similarity between the detected fingerprint and the sample fingerprint is greater than or equal to a first similarity threshold value, and the similarity between the touch detection data and the touch sample data is greater than or equal to a second similarity threshold value, reporting the fingerprint detection event.
In some embodiments, the apparatus further comprises:
an updating module, configured to update the touch sample data according to the touch detection data if the similarity between the detected fingerprint and the sample fingerprint is greater than a third similarity threshold and the similarity between the touch detection data and the touch sample data is less than or equal to the second similarity threshold; wherein the third similarity threshold is greater than the first similarity threshold.
In some embodiments, the reporting module includes:
and the second reporting sub-module is used for reporting a fingerprint detection event if the similarity between the detected fingerprint and the sample fingerprint is greater than the third similarity threshold.
In some embodiments, the apparatus further comprises:
a first shielding module, configured to shield reporting of the fingerprint detection event if the similarity between the detected fingerprint and the sample fingerprint is smaller than the first similarity threshold;
or,
and the second shielding module is used for shielding the report of the fingerprint detection event if the similarity between the detected fingerprint and the sample fingerprint is greater than the first similarity threshold and less than the third similarity threshold, and the similarity between the touch detection data and the touch sample data is less than the second similarity threshold.
In some embodiments, the detection module comprises:
the determining submodule is used for determining whether fingerprint detection is triggered or not according to touch detection data of touch operation when the touch operation is detected in a trigger area of the touch screen;
and the triggering sub-module is used for triggering the fingerprint detection if the touch detection data meets a data threshold condition.
In some embodiments, the trigger submodule is specifically configured to:
and if the touch area corresponding to the touch detection data is larger than a preset area threshold value and/or the touch duration corresponding to the touch detection data is larger than a preset duration threshold value, triggering the fingerprint detection.
According to a third aspect of the embodiments of the present disclosure, there is provided a fingerprint detection apparatus for a touch screen, the apparatus at least including: a processor and a memory for storing executable instructions operable on the processor, wherein:
when the processor is used for executing the executable instruction, the executable instruction executes the steps in the fingerprint detection method of any touch screen.
According to a fourth aspect of the embodiments of the present disclosure, there is provided a non-transitory computer-readable storage medium having stored therein computer-executable instructions, which when executed by a processor, implement the steps in any of the above fingerprint detection methods for a final touch screen.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects: through the technical scheme of the embodiment of the disclosure, the fingerprint detection component is positioned in the trigger area in the projection area of the touch screen, and the trigger area is used for triggering the fingerprint detection function when the finger touches the touch screen. Because the area of trigger zone is great, consequently the finger finds the position of trigger zone more easily to be convenient for trigger fingerprint detection's function, like this, as long as there is some finger to fall into the projection region at fingerprint detection subassembly place, perhaps the detected signal that the finger launched can be received by fingerprint detection subassembly, just can carry out fingerprint detection. Therefore, the situation that the fingerprint detection function cannot be triggered due to the fact that the finger touches the position deviation is reduced, and the detection efficiency and the success rate are improved. So, the user carries out fingerprint detection time in needs, as long as with roughly touch the finger just can trigger the fingerprint fast in the region that the fingerprint detected to begin to detect, need not to point the accurate position of pressing at fingerprint detection subassembly place, thereby reduced the degree of difficulty that the user used, promoted user's use and experienced.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and together with the description, serve to explain the principles of the invention.
Fig. 1 is a first flowchart illustrating a fingerprint detection method of a touch screen according to an exemplary embodiment;
FIG. 2 is a flowchart illustrating a second method for detecting a fingerprint of a touch screen according to an exemplary embodiment;
FIG. 3 is a flowchart illustrating a fingerprint detection method for a touch screen according to an exemplary embodiment;
fig. 4 is a block diagram illustrating a fingerprint detection apparatus for a touch screen according to an exemplary embodiment;
fig. 5 is a block diagram illustrating an entity structure of a terminal according to an exemplary embodiment.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present invention. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the invention, as detailed in the appended claims.
Fig. 1 is a flowchart illustrating a fingerprint detection method for a touch screen according to an exemplary embodiment, where the method is applied to a terminal, as shown in fig. 1, and the method includes the following steps:
step S101, when touch operation is detected in a trigger area of a touch screen, fingerprint detection is carried out through a fingerprint detection assembly to obtain a detected fingerprint; the fingerprint detection assembly is located in the trigger area in a projection area of the touch screen, and the area of the projection area is smaller than that of the trigger area;
and step S102, reporting a fingerprint detection event according to the matching result of the detection fingerprint and the sample fingerprint.
The touch operation is detected by a sensing unit on the touch screen, the touch screen can be a capacitive touch screen or a push type touch screen, and the like, and the terminal can correspondingly execute various touch instructions through the touch operation detected by the touch screen.
In the embodiment of the present disclosure, a fingerprint detection component is disposed under the touch screen, and fingerprint detection can be performed by emitting an optical signal (the optical signal includes but is not limited to infrared light), irradiating the surface of a finger through the touch screen, and receiving an optical signal reflected by the fingerprint. Through the received reflected light signal, a fingerprint image can be formed, and therefore fingerprint detection is achieved.
In the embodiment of the present disclosure, the trigger area is a touch area on the touch screen, and when the trigger area receives a touch operation, the start of the fingerprint detection module may be triggered by executing a touch instruction for triggering the fingerprint detection function, or the fingerprint detection is triggered to emit detection light to start the detection. Because the area of the trigger region is larger than that of the region where the fingerprint detection assembly is located, the probability that the finger contacts the trigger region is higher, and therefore the probability that the fingerprint detection is successfully triggered is improved. After fingerprint detection is triggered, detecting a detection fingerprint formed by a finger on a touch screen in a mode of emitting detection light and receiving reflected light, matching the detection fingerprint with a sample fingerprint, and reporting a fingerprint detection event which is successfully matched if matching is successful, wherein the fingerprint detection event is used for unlocking the screen, logging in an application program, verifying the identity of scenes such as electronic payment and the like; if the matching between the detected fingerprint and the sample fingerprint fails, a fingerprint detection event with the failed matching can be reported for displaying a prompt of the failed matching or reporting alarm information and the like, and certainly, no response can be made.
So, even the finger fails to fall into the projection region of fingerprint detection subassembly completely, also can trigger the fingerprint detection function for the fingerprint detection subassembly is opened and is sent out and detect the light, even only detect the partial fingerprint of finger, also can carry out the fingerprint and match, thereby can effectively promote fingerprint detection's success rate.
In some embodiments, it may be determined whether a reporting condition is satisfied separately from a first matching result of the detected fingerprint and the sample fingerprint, and if the reporting condition is satisfied, a fingerprint detection event is reported; and if the reporting condition is not met, determining whether the reporting condition is met according to a first matching result of the detection fingerprint and the sample fingerprint and a second matching result of the touch detection data and the sample detection data detected by the touch screen. And if the first matching result and the second matching result do not meet the reporting condition, shielding the report of the fingerprint detection event.
Here, whether to report may be determined by combining the detected fingerprint obtained by the fingerprint detection component with the touch detection result on the touch screen. The reporting condition may be a matching degree of the fingerprint detection result and/or a matching degree of the touch detection result. For example, if the detected fingerprint detected by the fingerprint detection component is an incomplete fingerprint, which is partially similar to the sample fingerprint, but has a low overall similarity, the position of the finger touch may be determined in combination with the touch detection result. If the detected fingerprint contains most information of the finger fingerprint, or the detected fingerprint and the sample fingerprint show that most or the whole finger is pressed above the fingerprint detection component, therefore, the reported fingerprint detection event can be determined directly according to the matching degree of the detected fingerprint.
Therefore, after the trigger area is enlarged, fingerprint identification can be carried out under the condition that the finger presses the offset, and the accuracy and the detection efficiency of fingerprint detection can be improved by utilizing the touch detection function of the touch screen.
In some embodiments, as shown in fig. 2, the method further comprises:
step S201, acquiring touch detection data of the touch operation while the fingerprint detection is performed;
in the step S102, the reporting a fingerprint detection event according to the matching result between the detected fingerprint and the sample fingerprint includes:
and S202, reporting a fingerprint detection event according to the matching result of the detection fingerprint and the sample fingerprint and the matching result of the touch detection data and the touch sample data.
In the embodiment of the disclosure, while fingerprint detection can be performed through the fingerprint detection assembly, the touch position of the finger touch area is received through the touch screen, so as to obtain the touch detection data. And comprehensively judging the matching result of the finger fingerprints through fingerprint detection and touch detection.
Fingerprint detection can send out through the fingerprint detection subassembly and detect the light and receive the reverberation of fingerprint reflection and form the fingerprint image, according to the similarity of the image of fingerprint image and sample fingerprint, judges whether the fingerprint matches. Since the area of the trigger region is larger in the embodiment of the present disclosure, in the fingerprint detection process, the region touched by the finger and the projection region of the fingerprint detection assembly have an offset. Thus, only a partial fingerprint image of the finger may be detected at the time of fingerprint detection, making it difficult to compare with a complete sample fingerprint.
Therefore, in the embodiment of the present disclosure, the matching result is determined by using the touch detection data and the detected fingerprint together. Through touch detection data, the position touched by the finger can be determined, so that the position relation between the detected fingerprint and the sample fingerprint is convenient to determine. Like this, even detect the fingerprint and only have partial image of finger, also can realize with the sample fingerprint between the matching to promoted fingerprint detection efficiency, need not the finger accuracy and press at the projection region of fingerprint detection subassembly and just can accomplish fingerprint detection.
In some embodiments, reporting a fingerprint detection event according to the matching result of the detected fingerprint and the sample fingerprint and the matching result of the touch detection data and the touch sample data includes:
and if the similarity between the detected fingerprint and the sample fingerprint is greater than or equal to a first similarity threshold value, and the similarity between the touch detection data and the touch sample data is greater than or equal to a second similarity threshold value, reporting the fingerprint detection event.
In the embodiment of the disclosure, when fingerprint detection is performed to determine whether the fingerprints are matched, matching can be performed according to touch data. And determining the fingerprint detection event by the similarity of the detection fingerprint and the sample fingerprint and the similarity of the touch detection data and the touch sample data.
Here, the sample fingerprint is a fingerprint image entered in advance before fingerprint detection is performed. In the process of inputting the sample fingerprint, images of the finger at different angles can be input for many times according to the requirements of the fineness and the accuracy of the sample, and then the sample fingerprint containing most information of the finger fingerprint is comprehensively obtained. Similarly, touch sample data can be recorded as a data sample of the touch screen while the sample fingerprint is recorded. Of course, the touch sample data and the sample fingerprint may also be respectively input under different touch operations. The touch sample data contains position coordinate data of finger touch during fingerprint detection. For example, the touch sample data may include coordinate data of each touch point surrounded by a finger shape at different touch angles.
And performing rough comparison, determining that the similarity between the detected fingerprint and the sample fingerprint is greater than a preset first similarity threshold, and simultaneously comparing the similarity between touch detection data and touch sample data to realize the comparison of finger shapes at different touch angles, thereby quickly finishing fingerprint matching. Therefore, in this embodiment, the first similarity threshold for fingerprint matching does not need to be very high, and a relatively accurate matching result can be obtained by synchronously comparing the two parameters.
In some embodiments, the method further comprises:
if the similarity between the detected fingerprint and the sample fingerprint is greater than a third similarity threshold value, and the similarity between the touch detection data and the touch sample data is less than or equal to the second similarity threshold value, updating the touch sample data according to the touch detection data; wherein the third similarity threshold is greater than the first similarity threshold.
In the embodiment of the present disclosure, the third similarity threshold is greater than the first similarity threshold, and if the similarity between the detected fingerprint and the sample fingerprint is greater than the third similarity threshold, the detected fingerprint and the sample fingerprint may be considered to be matched with each other. However, if the similarity of the touch sample data is lower than the second similarity threshold, that is, the touch detection data does not match the touch sample data, it indicates that the touch sample data is insufficient. At this time, touch detection data in the fingerprint detection process can be input into touch sample data by triggering the flow of caching the touch data.
Therefore, touch sample data can be continuously improved in the using process of fingerprint detection, so that the touch sample data is closer to the using habit of a user, and the detection efficiency and the detection success rate are further improved in subsequent fingerprint detection. The performance of the touch detection cannot be reduced due to long-time use, the fingerprint detection effect can be continuously optimized, and the use experience of a user is improved.
In some embodiments, the reporting a fingerprint detection event according to the matching result of the detected fingerprint and the sample fingerprint includes:
and if the similarity between the detected fingerprint and the sample fingerprint is greater than the third similarity threshold, reporting a fingerprint detection event.
Because the third similarity threshold in the fingerprint detection process is greater than the first similarity threshold, if the similarity between the detected fingerprint and the sample fingerprint is greater than the third similarity threshold, the detected fingerprint and the sample fingerprint can be determined to be matched without matching the touch detection data. Therefore, no matter whether the touch detection data is matched with the touch sample data or not, the fingerprint detection event matched with the fingerprint can be directly reported.
In some embodiments, the method further comprises:
if the similarity between the detected fingerprint and the sample fingerprint is smaller than the first similarity threshold, the report of the fingerprint detection event is shielded;
or,
and if the similarity between the detected fingerprint and the sample fingerprint is greater than the first similarity threshold and less than the third similarity threshold, and the similarity between the touch detection data and the touch sample data is less than the second similarity threshold, shielding the report of the fingerprint detection event.
In the disclosed embodiment, since the first similarity is low, if the similarity between the detected fingerprint and the sample fingerprint is less than the first similarity threshold, it indicates that the detected fingerprint has a large fingerprint that may not belong to the entered finger of the valid-identity user. Therefore, the report of the fingerprint detection event can be directly shielded at the moment, and responses such as unlocking or login are not needed. Of course, a prompt or alarm message indicating that the fingerprint is invalid may be output at this time. Therefore, when the similarity between the detected fingerprint and the sample fingerprint is low, the report of the fingerprint detection event is shielded, so that the login or the unlocking of an illegal user is reduced, and the safety performance is improved.
In the embodiment, the fingerprint verification result is determined by detecting two parameters of the fingerprint and the touch detection data. Thus, if the similarity between the detected fingerprint and the sample fingerprint is greater than the first similarity threshold and less than the third similarity threshold, the similarity of the detected fingerprint and the sample fingerprint is low, which is not enough to directly determine a fingerprint match. And if the similarity between the touch detection data and the touch sample data is lower than the second similarity threshold, the overall matching degree of the fingerprint detection is low, and the fingerprint matching can be considered to be failed. Therefore, the report of the fingerprint detection event can be shielded at the moment, and no response is made or prompt or alarm information that the fingerprint is invalid is output.
Therefore, the condition that the invalid finger is judged to be successfully matched with the fingerprint by mistake in the detection process can be reduced by detecting the matching of the fingerprint and the touch detection data, and potential safety hazards caused by misjudgment of the fingerprint are reduced.
In some embodiments, when a touch operation is detected in a trigger area of the touch screen, performing fingerprint detection by a fingerprint detection component includes:
when touch operation is detected in a trigger area of a touch screen, determining whether fingerprint detection is triggered according to touch detection data of the touch operation;
and triggering the fingerprint detection if the touch detection data meets a data threshold condition.
Since the touch area of the touch screen can also be used for displaying images, not every touch is used for fingerprint detection. In addition, if the touch screen is in a screen-off state, the finger may touch the touch screen by mistake or only be used for triggering the display of the touch screen, for example: the time frame can be displayed when the finger clicks the touch screen.
In the embodiment of the present disclosure, the data threshold condition refers to a condition that the touch detection data generated by the touch operation triggers fingerprint detection, and may include a duration condition, a location condition, and the like. For example, the number of coordinate points of the coordinates of the touch detection data located in the trigger area is greater than a data threshold condition, or the touch area determined by the touch detection data is greater than the data threshold condition, and the duration of touch is greater than the data threshold condition, and so on.
Therefore, in the embodiment of the present disclosure, fingerprint detection is triggered only when the detected touch detection data satisfies the data threshold condition, so that unnecessary fingerprint detection is reduced.
In some embodiments, the triggering the fingerprint detection if the touch detection data satisfies a data threshold condition includes:
and if the touch area corresponding to the touch detection data is larger than a preset area threshold value and/or the touch duration corresponding to the touch detection data is larger than a preset duration threshold value, triggering the fingerprint detection.
The data threshold condition includes a predetermined area threshold and a predetermined duration threshold. If the touch area corresponding to the touch detection data is larger than the predetermined area threshold, it indicates that the touch finger has a larger area to press, and the touch area for the general click operation or the sliding operation is usually smaller. Therefore, whether to trigger fingerprint detection can be determined by the touch area.
Since fingerprint detection requires a long time for identification, users also habitually press a fingerprint for a long time when pressing the fingerprint until the fingerprint is successfully verified. Therefore, in the embodiment of the disclosure, whether fingerprint detection is triggered or not can be determined according to the touch duration, and if the touch duration is short, fingerprint detection does not need to be triggered, so that unnecessary detection is reduced.
The disclosed embodiments also provide the following examples:
due to different use habits of different users, the gesture, angle and position of finger touch may be different in the process of fingerprint detection. The position of the fingerprint detection assembly is fixed and the corresponding projection area is small, so if the habitual touch position of the user and the projection position of the fingerprint detection assembly on the touch screen deviate or the finger shakes slightly, the fingerprint detection cannot be triggered easily, and the detection fails. Increasing the size of the hardware sensor of the fingerprint detection assembly not only complicates the design, but also increases the size or weight of the electronic device.
Therefore, in the embodiment of the present disclosure, the area of the area triggering the fingerprint detection function is enlarged in the touch detection area through the touch screen, so that when a finger touches the trigger area triggering the fingerprint detection function, the detection function of the fingerprint detection component is turned on, and detection light is emitted for detection.
As shown in fig. 3, the detection method of the embodiment of the present disclosure may include the following steps:
step S301, detecting touch operation through the trigger area with the enlarged area;
step S302, judging whether the touch operation is in a trigger area;
step S303, if the touch operation is not in the trigger area, reporting a touch coordinate when the screen is on, and not responding when the screen is off;
step S304, if the touch operation is in the trigger area, judging whether the data meets a threshold condition;
step S305, if the threshold condition is met, a fingerprint unlocking event is reported;
step S306, if the threshold condition is not met, caching the touch data to enable the current touch data to meet the threshold condition.
By the method, the touch area for triggering the fingerprint detection function can be increased without changing the hardware structure, so that the cost is saved, and the related complexity is reduced. Meanwhile, quick unlocking can be achieved, the efficiency of fingerprint detection is improved, and the use experience of a user is improved.
Fig. 4 is a block diagram illustrating a fingerprint detection apparatus for a touch screen according to an exemplary embodiment, and as shown in fig. 4, the apparatus 400 is applied to a terminal and includes:
the detection module 401 is configured to perform fingerprint detection through a fingerprint detection component to obtain a detected fingerprint when a touch operation is detected in a trigger area of the touch screen; the fingerprint detection assembly is located in the trigger area in a projection area of the touch screen, and the area of the projection area is smaller than that of the trigger area;
a reporting module 402, configured to report a fingerprint detection event according to a matching result between the detected fingerprint and the sample fingerprint.
In some embodiments, the apparatus further comprises:
the acquisition module is used for acquiring touch detection data of the touch operation while the fingerprint detection is carried out;
the reporting module includes:
and the first reporting sub-module is used for reporting the fingerprint detection event according to the matching result of the detection fingerprint and the sample fingerprint and the matching result of the touch detection data and the touch sample data.
In some embodiments, the first reporting sub-module is specifically configured to:
and if the similarity between the detected fingerprint and the sample fingerprint is greater than or equal to a first similarity threshold value, and the similarity between the touch detection data and the touch sample data is greater than or equal to a second similarity threshold value, reporting the fingerprint detection event.
In some embodiments, the apparatus further comprises:
an updating module, configured to update the touch sample data according to the touch detection data if the similarity between the detected fingerprint and the sample fingerprint is greater than a third similarity threshold and the similarity between the touch detection data and the touch sample data is less than or equal to the second similarity threshold; wherein the third similarity threshold is greater than the first similarity threshold.
In some embodiments, the reporting module includes:
and the second reporting sub-module is used for reporting a fingerprint detection event if the similarity between the detected fingerprint and the sample fingerprint is greater than the third similarity threshold.
In some embodiments, the apparatus further comprises:
a first shielding module, configured to shield reporting of the fingerprint detection event if the similarity between the detected fingerprint and the sample fingerprint is smaller than the first similarity threshold;
or,
and the second shielding module is used for shielding the report of the fingerprint detection event if the similarity between the detected fingerprint and the sample fingerprint is greater than the first similarity threshold and less than the third similarity threshold, and the similarity between the touch detection data and the touch sample data is less than the second similarity threshold.
In some embodiments, the detection module comprises:
the determining submodule is used for determining whether fingerprint detection is triggered or not according to touch detection data of touch operation when the touch operation is detected in a trigger area of the touch screen;
and the triggering sub-module is used for triggering the fingerprint detection if the touch detection data meets a data threshold condition.
In some embodiments, the trigger submodule is specifically configured to:
and if the touch area corresponding to the touch detection data is larger than a preset area threshold value and/or the touch duration corresponding to the touch detection data is larger than a preset duration threshold value, triggering the fingerprint detection.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
Fig. 5 is a block diagram illustrating a terminal 500 according to an example embodiment. For example, the terminal 500 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, and the like.
Referring to fig. 5, terminal 500 may include one or more of the following components: processing component 501, memory 502, power component 503, multimedia component 504, audio component 505, input/output (I/O) interface 506, sensor component 507, and communication component 508.
The processing component 501 generally controls the overall operation of the terminal 500, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing component 501 may include one or more processors 510 to execute instructions to perform all or a portion of the steps of the methods described above. Further, the processing component 501 may also include one or more modules that facilitate interaction between the processing component 501 and other components. For example, the processing component 501 may include a multimedia module to facilitate interaction between the multimedia component 504 and the processing component 501.
The memory 510 is configured to store various types of data to support operations at the terminal 500. Examples of such data include instructions for any application or method operating on terminal 500, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 502 may be implemented by any type or combination of volatile or non-volatile storage devices, such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
The power supply component 503 provides power to the various components of the terminal 500. The power supply component 503 may include: a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for terminal 500.
The multimedia components 504 include a screen that provides an output interface between the terminal 500 and the user. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 504 includes a front facing camera and/or a rear facing camera. The front camera and/or the rear camera may receive external multimedia data when the terminal 500 is in an operation mode, such as a photographing mode or a video mode. Each front camera and/or rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
The audio component 505 is configured to output and/or input audio signals. For example, the audio component 505 includes a Microphone (MIC) configured to receive external audio signals when the terminal 500 is in an operating mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may further be stored in the memory 510 or transmitted via the communication component 508. In some embodiments, audio component 505 further comprises a speaker for outputting audio signals.
The I/O interface 506 provides an interface between the processing component 501 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
The sensor assembly 507 includes one or more sensors for providing various aspects of status assessment for the terminal 500. For example, sensor component 507 can detect an open/closed state of terminal 500, the relative positioning of components such as a display and keypad of terminal 500, sensor component 507 can also detect a change in position of terminal 500 or a component of terminal 500, the presence or absence of user contact with terminal 500, orientation or acceleration/deceleration of terminal 500, and a change in temperature of terminal 500. The sensor assembly 507 may include a proximity sensor configured to detect the presence of a nearby object in the absence of any physical contact. The sensor assembly 507 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 507 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 508 is configured to facilitate communications between the terminal 500 and other devices in a wired or wireless manner. The terminal 500 may access a wireless network based on a communication standard, such as WiFi, 2G, or 3G, or a combination thereof. In an exemplary embodiment, the communication component 508 receives a broadcast signal or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 508 further includes a Near Field Communication (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, or other technologies.
In an exemplary embodiment, the terminal 500 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors or other electronic components for performing the above-described methods.
In an exemplary embodiment, a non-transitory computer readable storage medium comprising instructions, such as the memory 502 comprising instructions, executable by the processor 510 of the terminal 500 to perform the above-described method is also provided. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
The embodiments of the present disclosure also provide a non-transitory computer-readable storage medium, where instructions in the storage medium, when executed by a processor of a mobile terminal, enable the mobile terminal to perform the method provided in any of the embodiments.
Other embodiments of the invention will be apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the invention following, in general, the principles of the invention and including such departures from the present disclosure as come within known or customary practice within the art to which the invention pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the invention being indicated by the following claims.
It will be understood that the invention is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the invention is limited only by the appended claims.

Claims (18)

1. A fingerprint detection method of a touch screen is applied to a terminal and comprises the following steps:
when touch operation is detected in a trigger area of the touch screen, fingerprint detection is carried out through a fingerprint detection assembly to obtain a detected fingerprint; the fingerprint detection assembly is located in the trigger area in a projection area of the touch screen, and the area of the projection area is smaller than that of the trigger area;
and reporting a fingerprint detection event according to the matching result of the detection fingerprint and the sample fingerprint.
2. The method of claim 1, further comprising:
acquiring touch detection data of the touch operation while the fingerprint detection is performed;
the reporting of the fingerprint detection event according to the matching result of the detection fingerprint and the sample fingerprint comprises:
and reporting a fingerprint detection event according to the matching result of the detection fingerprint and the sample fingerprint and the matching result of the touch detection data and the touch sample data.
3. The method of claim 2, wherein reporting a fingerprint detection event according to the matching result of the detected fingerprint and the sample fingerprint and the matching result of the touch detection data and the touch sample data comprises:
and if the similarity between the detected fingerprint and the sample fingerprint is greater than or equal to a first similarity threshold value, and the similarity between the touch detection data and the touch sample data is greater than or equal to a second similarity threshold value, reporting the fingerprint detection event.
4. The method of claim 3, further comprising:
if the similarity between the detected fingerprint and the sample fingerprint is greater than a third similarity threshold value, and the similarity between the touch detection data and the touch sample data is less than or equal to the second similarity threshold value, updating the touch sample data according to the touch detection data; wherein the third similarity threshold is greater than the first similarity threshold.
5. The method of claim 4, wherein reporting a fingerprint detection event based on the matching of the detected fingerprint and the sample fingerprint comprises:
and if the similarity between the detected fingerprint and the sample fingerprint is greater than the third similarity threshold, reporting a fingerprint detection event.
6. The method of claim 4, further comprising:
if the similarity between the detected fingerprint and the sample fingerprint is smaller than the first similarity threshold, shielding the report of the fingerprint detection event;
or,
and if the similarity between the detected fingerprint and the sample fingerprint is greater than the first similarity threshold and less than the third similarity threshold, and the similarity between the touch detection data and the touch sample data is less than the second similarity threshold, shielding the report of the fingerprint detection event.
7. The method according to any one of claims 1 to 6, wherein when the touch operation is detected in the trigger area of the touch screen, performing fingerprint detection by a fingerprint detection component includes:
when touch operation is detected in a trigger area of a touch screen, determining whether fingerprint detection is triggered according to touch detection data of the touch operation;
and if the touch detection data meets a data threshold condition, triggering the fingerprint detection.
8. The method of claim 7, wherein triggering the fingerprint detection if the touch detection data satisfies a data threshold condition comprises:
and if the touch area corresponding to the touch detection data is larger than a preset area threshold value and/or the touch duration corresponding to the touch detection data is larger than a preset duration threshold value, triggering the fingerprint detection.
9. The utility model provides a fingerprint detection device of touch-control screen, its characterized in that, the device is applied to the terminal, includes:
the detection module is used for detecting a fingerprint through the fingerprint detection component to obtain a detected fingerprint when a touch operation is detected in a trigger area of the touch screen; the fingerprint detection assembly is located in the trigger area in a projection area of the touch screen, and the area of the projection area is smaller than that of the trigger area;
and the reporting module is used for reporting the fingerprint detection event according to the matching result of the detection fingerprint and the sample fingerprint.
10. The apparatus of claim 9, further comprising:
the acquisition module is used for acquiring touch detection data of the touch operation while the fingerprint detection is carried out;
the reporting module includes:
and the first reporting sub-module is used for reporting the fingerprint detection event according to the matching result of the detection fingerprint and the sample fingerprint and the matching result of the touch detection data and the touch sample data.
11. The apparatus of claim 10, wherein the first reporting sub-module is specifically configured to:
and if the similarity between the detected fingerprint and the sample fingerprint is greater than or equal to a first similarity threshold value, and the similarity between the touch detection data and the touch sample data is greater than or equal to a second similarity threshold value, reporting the fingerprint detection event.
12. The apparatus of claim 11, further comprising:
an updating module, configured to update the touch sample data according to the touch detection data if the similarity between the detected fingerprint and the sample fingerprint is greater than a third similarity threshold and the similarity between the touch detection data and the touch sample data is less than or equal to the second similarity threshold; wherein the third similarity threshold is greater than the first similarity threshold.
13. The apparatus of claim 12, wherein the reporting module comprises:
and the second reporting sub-module is used for reporting a fingerprint detection event if the similarity between the detected fingerprint and the sample fingerprint is greater than the third similarity threshold.
14. The apparatus of claim 12, further comprising:
a first shielding module, configured to shield reporting of the fingerprint detection event if the similarity between the detected fingerprint and the sample fingerprint is smaller than the first similarity threshold;
or,
and the second shielding module is used for shielding the report of the fingerprint detection event if the similarity between the detected fingerprint and the sample fingerprint is greater than the first similarity threshold and less than the third similarity threshold, and the similarity between the touch detection data and the touch sample data is less than the second similarity threshold.
15. The apparatus of any one of claims 9 to 14, wherein the detection module comprises:
the determining submodule is used for determining whether fingerprint detection is triggered or not according to touch detection data of touch operation when the touch operation is detected in a trigger area of the touch screen;
and the triggering sub-module is used for triggering the fingerprint detection if the touch detection data meets a data threshold condition.
16. The apparatus of claim 15, wherein the trigger submodule is specifically configured to:
and if the touch area corresponding to the touch detection data is larger than a preset area threshold value and/or the touch duration corresponding to the touch detection data is larger than a preset duration threshold value, triggering the fingerprint detection.
17. A fingerprint detection device of a touch screen, the device at least comprising: a processor and a memory for storing executable instructions operable on the processor, wherein:
the processor is configured to execute the executable instructions, and the executable instructions perform the steps of the method for detecting a fingerprint of a touch screen provided in any one of the above claims 1 to 8.
18. A non-transitory computer-readable storage medium, wherein computer-executable instructions are stored in the computer-readable storage medium, and when executed by a processor, the computer-executable instructions implement the steps of the fingerprint detection method for a final touch screen provided in any one of claims 1 to 8.
CN202011233658.9A 2020-11-06 2020-11-06 Fingerprint detection method and device for touch screen and storage medium Pending CN114527921A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011233658.9A CN114527921A (en) 2020-11-06 2020-11-06 Fingerprint detection method and device for touch screen and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011233658.9A CN114527921A (en) 2020-11-06 2020-11-06 Fingerprint detection method and device for touch screen and storage medium

Publications (1)

Publication Number Publication Date
CN114527921A true CN114527921A (en) 2022-05-24

Family

ID=81619918

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011233658.9A Pending CN114527921A (en) 2020-11-06 2020-11-06 Fingerprint detection method and device for touch screen and storage medium

Country Status (1)

Country Link
CN (1) CN114527921A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108319836A (en) * 2018-01-31 2018-07-24 北京小米移动软件有限公司 The method and apparatus for executing processing based on fingerprint recognition
CN108334769A (en) * 2018-05-18 2018-07-27 北京小米移动软件有限公司 Unlocked by fingerprint method and device
CN108681716A (en) * 2018-05-18 2018-10-19 北京小米移动软件有限公司 Unlocked by fingerprint method and device
CN110765813A (en) * 2018-07-26 2020-02-07 北京小米移动软件有限公司 Fingerprint identification method and device
CN111291600A (en) * 2018-12-07 2020-06-16 北京小米移动软件有限公司 Fingerprint acquisition method and device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108319836A (en) * 2018-01-31 2018-07-24 北京小米移动软件有限公司 The method and apparatus for executing processing based on fingerprint recognition
CN108334769A (en) * 2018-05-18 2018-07-27 北京小米移动软件有限公司 Unlocked by fingerprint method and device
CN108681716A (en) * 2018-05-18 2018-10-19 北京小米移动软件有限公司 Unlocked by fingerprint method and device
CN110765813A (en) * 2018-07-26 2020-02-07 北京小米移动软件有限公司 Fingerprint identification method and device
CN111291600A (en) * 2018-12-07 2020-06-16 北京小米移动软件有限公司 Fingerprint acquisition method and device

Similar Documents

Publication Publication Date Title
CN105446646B (en) Content input method, device and touch control device based on dummy keyboard
CN105488464B (en) Fingerprint identification method and device
US20170053149A1 (en) Method and apparatus for fingerprint identification
CN106951884B (en) Fingerprint acquisition method and device and electronic equipment
US10643054B2 (en) Method and device for identity verification
WO2018133387A1 (en) Fingerprint identification method and device
CN104363205B (en) Using login method and device
CN109324863B (en) Fingerprint identification method and device and computer readable storage medium
CN112905103B (en) False touch processing method and device and storage medium
CN111695382A (en) Fingerprint collection area determining method and fingerprint collection area determining device
CN108898126B (en) Fingerprint identification method and device
CN106919283A (en) The touch event processing method of terminal, device and terminal
CN112905136A (en) Screen projection control method and device and storage medium
CN108491834B (en) Fingerprint identification method and device
CN114664009A (en) Unlocking method and device, electronic equipment, storage medium and intelligent door lock
US10671827B2 (en) Method and device for fingerprint verification
CN107688765B (en) Fingerprint acquisition method and device
CN107133551B (en) Fingerprint verification method and device
CN107203315B (en) Click event processing method and device and terminal
CN111353427B (en) Fingerprint unlocking signal processing method, device and medium
CN114527921A (en) Fingerprint detection method and device for touch screen and storage medium
CN110708427B (en) Information processing method, device and storage medium
US20160195992A1 (en) Mobile terminal and method for processing signals generated from touching virtual keys
CN109144587B (en) Terminal control method, device, equipment and storage medium
CN108037875B (en) Method, device and storage medium for switching input modes

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