Fingerprint verification processing method and device, storage medium and program product
By updating the press area threshold for fingerprint unlocking and adjusting the target press area for fingerprint verification according to user habits, the problem of low fingerprint unlocking sensitivity in the prior art is solved, and the unlocking success rate and user experience are improved.
Patent Information
- Application Number
- CN202411097395.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-12
- Publication Date
- 2024-11-22
AI Technical Summary
The existing fingerprint unlocking technology has low sensitivity, which leads to the user's pressing operation being unresponsive and the unlocking failure.
By obtaining the first pressing area of the fingerprint verification area, if it is less than or equal to the target pressing area, the pressing area is recorded, and the target pressing area is updated after a certain amount is reached to more accurately meet the pressing area of the user's habits, thereby reducing the pressing area without any pressure Probability of reaction.
It improves the sensitivity of fingerprint unlocking and user unlocking operation experience, reduces the situation of no response to pressing, and improves the unlocking success rate.
Smart Images

Figure CN119004434A_ABST
Abstract
Description
Technical Field
[0001] The present application belongs to the field of intelligent terminals, and specifically relates to a fingerprint verification processing method, device, storage medium and program product. Background Art
[0002] With the continuous development of smart terminals, their unlocking methods have also become diversified. The unlocking methods of smart terminals include password unlocking, pattern unlocking, face unlocking and fingerprint unlocking. Among them, fingerprint unlocking is favored by more and more people because of its characteristics of fast unlocking and not easy to be cracked by others.
[0003] The mainstream screen fingerprint unlocking solutions include optical or ultrasonic fingerprint unlocking solutions. However, whether it is an optical or ultrasonic fingerprint unlocking solution, it often happens that the terminal does not respond to the user's pressing operation, resulting in unlocking failure. In other words, the existing fingerprint unlocking has the problem of low sensitivity. Summary of the invention
[0004] The purpose of the embodiments of the present application is to provide a fingerprint verification processing method, device, storage medium and program product, which can solve the problem of low sensitivity of existing fingerprint unlocking.
[0005] In a first aspect, an embodiment of the present application provides a fingerprint verification processing method, the method comprising:
[0006] Acquire a first pressing area corresponding to the fingerprint verification area, where the first pressing area is smaller than or equal to a target pressing area corresponding to the fingerprint verification;
[0007] When the number of the first pressing areas reaches N, determining a second pressing area based on the N first pressing areas, where N≥1 and N is a positive integer;
[0008] The target pressing area is updated to the second pressing area.
[0009] In a second aspect, an embodiment of the present application provides a fingerprint verification processing device, including:
[0010] A first acquisition module, used to acquire a first pressing area corresponding to the fingerprint verification area, where the first pressing area is smaller than or equal to a target pressing area corresponding to the fingerprint verification;
[0011] A first processing module, configured to determine a second pressing area based on the N first pressing areas when the number of the first pressing areas reaches N, where N≥1 and N is a positive integer;
[0012] The second processing module is used to update the target pressing area to the second pressing area.
[0013] In a third aspect, an embodiment of the present application provides an electronic device, which includes a processor and a memory, wherein the memory stores programs or instructions that can be run on the processor, and when the program or instructions are executed by the processor, the steps of the fingerprint verification processing method described in the first aspect are implemented.
[0014] In a fourth aspect, an embodiment of the present application provides a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, the steps of the fingerprint verification processing method described in the first aspect are implemented.
[0015] In a fifth aspect, an embodiment of the present application provides a chip, comprising a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run a program or instruction to implement the fingerprint verification processing method as described in the first aspect.
[0016] In a sixth aspect, an embodiment of the present application provides a computer program product, which is stored in a storage medium and executed by at least one processor to implement the fingerprint verification processing method as described in the first aspect.
[0017] In an embodiment of the present application, by obtaining a first pressing area corresponding to a fingerprint verification area, the first pressing area is less than or equal to a target pressing area corresponding to fingerprint verification; when the number of the first pressing areas reaches N, a second pressing area is determined based on the N first pressing areas, N ≥ 1, and N is a positive integer; the target pressing area is updated to the second pressing area. In this way, based on the user's usage habits, a suitable second pressing area is determined according to the recorded pressing area corresponding to the user's fingerprint unlocking and pressing without response (i.e., the first pressing area), and the target pressing area corresponding to the fingerprint verification is updated according to the second pressing area. In this way, the pressing area that the user is accustomed to will be more likely to meet the target pressing area corresponding to the updated fingerprint verification, thereby reducing the probability of no response to pressing, improving the sensitivity of fingerprint unlocking, and improving the user's unlocking operation experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] Figure 1 This is one of the flow charts of the fingerprint verification processing method of the embodiment of the present application;
[0019] Figure 2 This is the second flow chart of the fingerprint verification processing method of the embodiment of the present application;
[0020] Figure 3 It is a module schematic diagram of a fingerprint verification processing device according to an embodiment of the present application;
[0021] Figure 4 It is one of the structural block diagrams of the electronic device according to the embodiment of the present application;
[0022] Figure 5 This is the second structural block diagram of the electronic device according to the embodiment of the present application. DETAILED DESCRIPTION
[0023] The following will be combined with the drawings in the embodiments of the present application to clearly describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, rather than all the embodiments. All other embodiments obtained by ordinary technicians in this field based on the embodiments in the present application belong to the scope of protection of this application.
[0024] The terms "first", "second", etc. in the specification and claims of the present application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable under appropriate circumstances, so that the embodiments of the present application can be implemented in an order other than those illustrated or described here, and the objects distinguished by "first", "second", etc. are generally of one type, and the number of objects is not limited. For example, the first object can be one or more. In addition, "and / or" in the specification and claims represents at least one of the connected objects, and the character " / " generally indicates that the objects associated with each other are in an "or" relationship.
[0025] In order to facilitate the understanding of the present application scheme, the relevant technology is first introduced and explained.
[0026] At present, screen fingerprint unlocking has almost become a standard feature of smart terminals (such as mobile phones), and the mainstream ones include optical or ultrasonic fingerprint unlocking solutions. Whether it is optical or ultrasonic fingerprint unlocking, the fingerprint sensor is located under the screen. When unlocking, the finger does not directly contact the fingerprint sensor. It relies on touch to report the finger pressing event to wake up the fingerprint sensor, and then execute the fingerprint collection process of the finger image. The basic principle of touch reporting finger pressing events is: there is a fingerprint gesture area on the screen (hereinafter also referred to as the fingerprint verification area), and the size of this area is usually about the same as the area of the displayed fingerprint icon. When a finger is pressed in the fingerprint gesture area, it is not necessary to report the finger pressing event as long as there is a press, but the touch module needs to determine whether the area of the fingerprint gesture area covered by the finger (ie, the pressing area) is greater than the trigger threshold (hereinafter also referred to as the target pressing area corresponding to fingerprint verification). If the pressing area is greater than the trigger threshold, the finger pressing event is reported to the fingerprint module. When the fingerprint module receives the finger pressing event, it wakes up the fingerprint sensor to start the image collection process. If the pressing area is smaller than the trigger threshold, the finger pressing event will not be reported to the fingerprint module. For the fingerprint module, this pressing is insensitive, which is manifested as no response to the unlocking press.
[0027] As mentioned above, the touch report of finger pressing events to the fingerprint module requires that the area of the fingerprint gesture area pressed by the finger is greater than a certain threshold, and the current threshold is often a fixed value. Whether different people or different fingers of the same person unlock, the same threshold must be met to trigger fingerprint unlocking. As we all know, the thickness of fingers of boys and girls or adults and children is often different, and the thickness of the thumb, index finger, middle finger, etc. of the same person is also different. This may lead to people with thicker fingers or thicker fingers. When performing fingerprint unlocking, it is easier to meet the threshold set by the touch. However, people with thinner fingers or thinner fingers find it difficult to reach the trigger threshold, and even a slight deviation will not meet the threshold condition, and thus the fingerprint unlocking cannot be triggered. The performance is that there is no response to the press (that is, the fingerprint unlocking sensitivity is low), the fingerprint icon user interface (UserInterface, UI) will not change at all, and the corresponding prompt cannot be triggered, and the unlocking experience is extremely bad.
[0028] In order to solve the above technical problems, the present application provides a fingerprint verification processing method, device, storage medium and program product, wherein the method and the device are based on the same application concept. Since the principles of solving the problems by the method and the device are similar, the implementation of the device and the method can refer to each other, and the repeated parts will not be repeated.
[0029] The fingerprint unlocking processing method provided in the embodiment of the present application is described in detail below through specific embodiments and their application scenarios in conjunction with the accompanying drawings.
[0030] like Figure 1 FIG. 1 is a flow chart of a fingerprint verification processing method provided in an embodiment of the present application. The method specifically includes:
[0031] Step 101: Acquire a first pressing area corresponding to a fingerprint verification area, where the first pressing area is smaller than or equal to a target pressing area corresponding to fingerprint verification.
[0032] Here, the user presses the fingerprint verification area on the screen of the electronic device, and the touch module of the terminal device monitors the pressed fingerprint of the user's finger. The fingerprint verification area is an area about the same size as the fingerprint icon on the screen, and the touch module is used to detect whether there is a finger pressing the area.
[0033] It should be noted that after the touch module detects the pressed fingerprint of the user's finger, it detects the corresponding pressed area S. If the pressed area S is less than or equal to the target pressed area S corresponding to the fingerprint verification T, that is, there is no response to this pressing, the touch module reports the pressing area S (first pressing area) to the fingerprint module of the electronic device (that is, obtains the first pressing area corresponding to the fingerprint verification area), but does not report the finger pressing event, which can avoid waking up the fingerprint sensor. If the pressing area S is larger than the target pressing area S corresponding to the fingerprint verification T That is, the touch module reports the finger pressing event (this unlocking is not pressing without response) to the fingerprint module of the electronic device, but does not report the pressing area S; then wakes up the fingerprint sensor, and then executes the fingerprint image collection process and the subsequent unlocking process.
[0034] Step 102: when the number of the first pressing areas reaches N, determine a second pressing area based on the N first pressing areas, where N≥1 and N is a positive integer.
[0035] Wherein, N is a set value. When the number of first pressing areas that are less than or equal to the target pressing area reaches N, that is, when it reaches a certain number, the second pressing area is determined based on the N first pressing areas, so that a more accurate pressing area that conforms to the user's habits can be obtained. It should be noted that the N value can be the N first pressing areas obtained in one unlock attempt by the user, or the N first pressing areas accumulated by the user after multiple unlock attempts.
[0036] Step 103: Update the target pressing area to the second pressing area.
[0037] Among them, the N first pressing areas are all smaller than or equal to the target pressing area, then the second pressing area determined based on the N first pressing areas must also be smaller than or equal to the target pressing area, and since the second pressing area is more in line with the user's habits, the target pressing area is updated to the second pressing area. In this way, the pressing area that the user is accustomed to will more easily meet the target pressing area corresponding to the updated fingerprint verification, thereby reducing the probability of no response to pressing, improving the sensitivity of fingerprint unlocking, and improving the user's unlocking operation experience.
[0038] In an optional embodiment, the above step 101, obtaining the first pressing area corresponding to the fingerprint verification area, includes:
[0039] Step 1011: receiving a first input from a user to the fingerprint verification area, where the first input satisfies a first condition.
[0040] Optionally, the first input is a pressing input.
[0041] Wherein, the first condition is at least one of the following:
[0042] No user input to the fingerprint verification area has been received before the first input;
[0043] The user successfully verifies a second input fingerprint of the fingerprint verification area, where the second input is input before the first input and adjacent to the first input.
[0044] Here, no user input to the fingerprint verification area has been received before the first input, which means that the first input is the first user input to the fingerprint verification area received by the electronic device after leaving the factory.
[0045] The user successfully verifies the second fingerprint input of the fingerprint verification area, and the second input is the input before the first input and adjacent to the first input; it should be understood that the user successfully verifies the second fingerprint input of the fingerprint verification area, and the second input is the last input before the first input. This situation indicates that there has been an input that succeeded the fingerprint verification before the first input.
[0046] Step 1012, in response to the first input, if a first sub-pressing area corresponding to the first input is smaller than or equal to the target pressing area, acquiring the first sub-pressing area;
[0047] If the first sub-pressing area corresponding to the first input is less than or equal to the target pressing area, it means that the pressing area corresponding to the pressing fingerprint of the user's finger monitored by the touch control module of the electronic device based on the first input (the first sub-pressing area corresponding to the first input) is less than or equal to the target pressing area, that is, there is no response to this pressing. Specifically, the touch control module reports the first sub-pressing area to the fingerprint module of the electronic device.
[0048] Step 1013, when successful fingerprint verification is detected within a preset time period, the first sub-pressing area and the second sub-pressing area are determined as the first pressing area, wherein the second sub-pressing area is the pressing area obtained according to the user's input to the fingerprint verification area within the preset time period, and the second sub-pressing area is less than or equal to the target pressing area, and the starting time of the preset time period is the time of obtaining the first sub-pressing area or the time of receiving the first input.
[0049] This step 1013 can be understood as: within the preset time period from the moment of acquiring the first sub-pressing area or receiving the first input, if the fingerprint verification is successful, all the pressing areas (i.e., the second sub-pressing areas) obtained before the fingerprint verification is successful and the first sub-pressing area are determined as the first pressing area. That is, the first pressing area includes the first sub-pressing area and at least one second sub-pressing area.
[0050] In one example, after obtaining the pressing area S uploaded by the touch module based on the first input 1(that is, the first sub-pressing area), the timing starts at the same time, and the timing length (that is, the preset duration) is T, which can be adjusted according to the actual situation. Within the length T (that is, the preset duration), it continuously detects whether there is no response to pressing (that is, it continuously detects whether there is a pressing area reported) or the fingerprint verification is successful.
[0051] Corresponding to the situation of step 1013 (i.e., situation 1): within the preset time from the moment of obtaining the first sub-pressing area or receiving the first input, until the fingerprint verification is detected to be successful, there are multiple presses without response (that is, there are multiple presses with the area less than or equal to the target press area), then the press area reported by the touch control with no response each time is recorded (saved), and recorded as S in the order of reporting. 2 , S 3 ... (i.e., the second sub-pressing area), that is, the pressing area (S 1 , S 2 , S 3 ...) are regarded as valid data for subsequent processing.
[0052] Situation 2 may also occur within the preset time period, that is, in an optional embodiment, the method of the present application further includes:
[0053] If no successful fingerprint verification is detected within the preset time period, the first sub-pressing area and the second sub-pressing area are discarded.
[0054] That is, within the preset time from the moment of obtaining the first sub-pressing area or receiving the first input, if no successful fingerprint verification is received and no pressing area is reported again (in this case, it is considered that the pressing area uploaded by the touch module based on the first input is an error touch), or if the pressing area is reported again or multiple times but no successful fingerprint verification is received (in this case, it is impossible to distinguish whether it is an error touch or the pressing area is always small), then all the pressing areas (i.e., the second sub-pressing area) and the first sub-pressing area obtained within the preset time are discarded, that is, the first sub-pressing area and the second sub-pressing area are both regarded as invalid data and are discarded. This ensures that the last recorded (saved) data are valid data and guarantees the accuracy of the second pressing area obtained later.
[0055] In this embodiment, if the number of first pressing areas obtained in this unlocking attempt process reaches N, the second pressing area can be determined based on the N first pressing areas obtained in this unlocking attempt process, where no user input to the fingerprint verification area was received before the first input.
[0056] If N first pressing areas have been saved before, the first pressing area obtained during this unlocking attempt is used to update the N first pressing areas saved before; based on the updated N first pressing areas, the second pressing area is determined, wherein the fingerprint verification corresponding to the input adjacent to the first input before the first input (i.e., the second input) is successful.
[0057] If multiple first pressing areas have been saved before, and the number of first pressing areas obtained during this unlock attempt exceeds N, the second pressing area is determined using the multiple first pressing areas saved before and the first x first pressing areas obtained during this unlock attempt, where the fingerprint verification is successful for the input that is adjacent to the first input before the first input (i.e., the second input). Here, the number of pressing areas saved before + x = N.
[0058] If multiple first pressing areas have been saved before, and the number of first pressing areas obtained in this unlocking attempt is N, the second pressing area is determined using the multiple first pressing areas saved before and the first pressing area obtained in this unlocking attempt, wherein the fingerprint verification corresponding to the input adjacent to the first input before the first input (i.e., the second input) is successful.
[0059] Here, after the fingerprint verification is successful, the first pressing area obtained in the unlocking attempt process is bound to the fingerprint successfully matched by the fingerprint verification (the fingerprint of the user's first finger), that is, the user's first finger corresponding to the successful fingerprint verification is associated with the first pressing area; wherein the binding method may be: adding a file to the path where the previously recorded fingerprint template is saved, if the recorded fingerprint template successfully matched by the fingerprint verification is finger_0_0.so (corresponding to the user's first finger), then adding a file finger_0_0_toucharea.so, and the first pressing area (such as S 1 To S N ) is written into the file finger_0_0_toucharea.so. If multiple fingers of the user are entered, similar operations are performed to bind and save when other fingers are unlocked successfully. It should be noted that when the corresponding fingerprint template is deleted, the corresponding file storing the pressed area is deleted together.
[0060] The fingerprint template refers to the file corresponding to the features extracted from the recorded finger image when the user records the fingerprint, which is used to match the features extracted from the image when unlocking.
[0061] In an optional embodiment, in the above step 102, determining the second pressing area based on the N first pressing areas includes:
[0062] Step 1021, determining a target pressing area set based on the N first pressing areas, wherein the target pressing area set satisfies a second condition, wherein the second condition is that the number of third pressing areas in the target pressing area set is greater than or equal to a first threshold, and a difference between any two third pressing areas in the target pressing area set is less than a second threshold;
[0063] It should be understood that a plurality of third pressing areas whose number is greater than or equal to the first threshold and whose difference between any two third pressing areas is less than the second threshold form a target pressing area set. That is, a plurality of third pressing areas whose number exceeds a certain number and whose pressing areas are not much different form a target pressing area set. The third pressing area is any one of the N first pressing areas. Optionally, the first threshold is N / 2.
[0064] Step 1022: Determine the second pressing area according to the target pressing area set.
[0065] Optionally, an average value of all third pressing areas in the target pressing area set is obtained by calculation, and when a ratio of the average value to the target pressing area is greater than or equal to a third threshold and less than or equal to 1, the average value is determined to be the second pressing area.
[0066] In one example, more than half (n≥0.5*N) of the N first pressing areas whose detection errors are within ±3% are grouped into a set, and the average value S of all the pressing areas in the set is calculated. max1 , if S max1 and target compression area S T When the ratio g is greater than or equal to a and less than or equal to 1 (i.e. a≤g≤1, for example, a is 0.8), the S max1 Determined as the second pressing area.
[0067] The value of a here cannot be too small. If it is too small, the fingerprint unlocking will be too sensitive, which will affect the success rate of fingerprint unlocking, and will also increase the processing burden of electronic devices, resulting in increased energy consumption.
[0068] The above method of determining the second pressing area based on N first pressing areas is intended to determine a pressing area that meets the user's usage habits.
[0069] In an optional embodiment, the fingerprint entered by the user includes a fingerprint of a first finger of the user and a fingerprint of a second finger of the user, wherein the fingerprint of the first finger of the user corresponds to the second pressing area. After step 103, the method of the present application further includes:
[0070] Acquire a sixth pressing area corresponding to the fingerprint verification area, where the sixth pressing area is smaller than or equal to the second pressing area;
[0071] When the number of the sixth pressing areas reaches N, determining a seventh pressing area based on the N sixth pressing areas, where N≥1 and N is a positive integer;
[0072] The second pressing area is updated to the seventh pressing area.
[0073] That is, after the fingerprint unlocking is successfully triggered by the first finger of the user, the user subsequently records fingerprints with other fingers (which may still be the user's first finger finger_0_0 or the user's second finger finger_0_1, etc.), if this is the second finger finger_0_1, if it also meets the requirements of the N pressing areas obtained before the fingerprint verification is successful in the above steps 101 and 102 (unlocking is successful using other fingers of the user's recorded fingerprints), then the subsequent execution principle of step 102 is still followed, that is, according to the N sixth pressing areas (the sixth pressing area is less than or equal to the second pressing area, and the second pressing area is determined based on the N first pressing areas of the user's first finger finger_0_0), the seventh pressing area is determined to be S max2 , then determine S max2 Than the current S max1 If the target pressing area is smaller, then the subsequent target pressing area is set to S max2 .
[0074] For all the fingers that have been recorded by the same user (the number of fingers that have been recorded is more than 1), the implementation of this embodiment can select a pressing area that satisfies all the recorded fingers and corresponds to the fingerprint verification, so as to take into account the different recorded fingers, and the user can unlock the phone more casually and freely.
[0075] Specifically, after the fingerprint module of the electronic device updates the target pressing area to the second pressing area, it sends the second pressing area to the touch control module of the electronic device, so that the touch control module updates the target pressing area corresponding to the fingerprint verification. In this way, the next time the unlocking pressing area meets the new threshold (i.e., the second pressing area), the finger pressing event can be reported. Compared with the factory preset initial pressing area threshold or the target pressing area threshold corresponding to the previous fingerprint verification, it is smaller, which can reduce the probability of no response to pressing.
[0076] In an optional embodiment, after the target pressing area is updated to the second pressing area, the method of the present application further includes:
[0077] If M fourth pressing areas are obtained, N first pressing areas are updated based on the M fourth pressing areas to obtain updated N first pressing areas; 1≤M≤N, and M is a positive integer.
[0078] The user's finger corresponding to the fourth pressing area and the first pressing area is the user's first finger.
[0079] It should be noted that after obtaining N first pressing areas, M fourth pressing areas are obtained by using the first finger to perform fingerprint unlocking. The M fourth pressing areas can be the first pressing area obtained in the unlocking attempt corresponding to the second pressing area, but are not saved in the newly added file (i.e., the file that saves the pressing area) under the path of the corresponding matching entered fingerprint template.
[0080] Alternatively, the M fourth pressing areas may be obtained in the next unlock attempt after the unlock attempt corresponding to the second pressing area is determined. It should be noted that the M fourth pressing areas obtained in this case are valid data, that is, the entire process of obtaining the M fourth pressing areas is the same as obtaining the N first pressing areas in the above steps 101 and 102. The difference is that in this case, M fourth pressing areas are obtained, and M may not be equal to N, but of course it may be equal to N.
[0081] Optionally, the M fourth pressing areas are replaced in order of acquisition time from early to late, and the N first pressing areas are sorted in order from small to large, and the first pressing areas ranked in the first M positions are replaced. That is, the fourth pressing area ranked first (earliest in time) among the M fourth pressing areas replaces the pressing area ranked first (smallest in area) among the N first pressing areas, and the fourth pressing area ranked second among the M fourth pressing areas replaces the pressing area ranked second among the N pressing areas, and so on, and finally the updated N first pressing areas are obtained. The purpose of this is to update the obtained N first pressing areas in real time, so as to facilitate the subsequent real-time update of the target pressing area corresponding to the fingerprint verification.
[0082] 3) determining a fifth pressing area based on the updated N first pressing areas;
[0083] Here, the specific implementation method of step 3) can refer to the above description of determining the second pressing area based on the N first pressing areas, which will not be repeated here.
[0084] 4) When the fifth pressing area threshold is smaller than the second pressing area, the target pressing area is updated to the fifth pressing area.
[0085] See below Figure 2 The embodiment of the present invention illustrates the overall implementation process of the fingerprint verification processing method of the present application.
[0086] First of all, it should be noted that an initial pressing area threshold S is preset when the electronic device leaves the factory. int .
[0087] Step 201: The user presses the fingerprint area on the screen, and the touch module detects the current pressing area S. If S is less than or equal to S int , the touch module reports the pressed area S to the fingerprint module but does not report the finger pressing event; if S is greater than S int , the touch module reports the finger pressing event but does not report the pressing area S.
[0088] It should be noted that if S is less than or equal to S int , that is, there is no response to this pressing. At this time, the touch module reports the pressing area S to the fingerprint module but does not report the finger pressing event. The purpose is to avoid waking up the fingerprint sensor.
[0089] Step 202: The fingerprint module determines whether a finger press event or a press area S is received. If a finger press event is received, the subsequent unlocking process is performed normally; if a press area S is received, within the preset time after the press area S is received, if the fingerprint verification is successful, all the press areas reported by the touch module before the fingerprint verification is successful are recorded as S in the order of reporting. 1 , S 2 , S 3 ...S N ; Then execute step 203.
[0090] It should be noted that the fingerprint module determines whether a finger press event or a press area S is received. If a finger press event is received, it indicates that the unlocking is not a press without response, and the subsequent unlocking process is performed normally. Whether the unlocking is successful or failed, it jumps to step 201 for re-testing; if a press area S is received, the press area S is recorded and recorded as S 1 , and start timing at the same time. Within the preset time T, continue to detect whether there is no response to pressing (that is, continue to detect whether the pressing area reported by the touch module is received) or unlocking is successful.
[0091] If there are multiple unresponsive presses within the preset time T until the fingerprint is successfully unlocked, the pressing area reported by the touch module that does not respond each time is recorded and recorded in the order of reporting as S 2 , S 3 ...S N .
[0092] If the fingerprint verification is not successful and the next pressing area is not received within the preset time T, that is, there is no subsequent pressing, it is considered an accidental touch, and the current pressing area S is 1Discard; if one or more press areas are received but the fingerprint verification is not successful within the preset time length T, since it is impossible to distinguish whether it is a false touch or the user has always pressed a small area, all the recorded multiple press areas S will be discarded. This ensures that the last recorded (saved) data is valid data, thereby ensuring the accuracy of the press area threshold (i.e., the target press area corresponding to the fingerprint verification) calculated based on the press area reported by the touch module.
[0093] If the next or multiple presses are received within the preset time T and the fingerprint verification is successful, it is considered that the user has multiple presses without response but the subsequent attempts to verify the fingerprint are successful. If there are N times of no response, S 1 To S N Write it all down.
[0094] According to the above principle, if there is no valid data, jump to step 201 for re-detection; if there is valid data, jump to step 203.
[0095] Step 203: record N T The pressed area is bound to the fingerprint that successfully matches the fingerprint verification.
[0096] The binding method may be: add a new file in the path where the previously recorded fingerprint template is saved; if the fingerprint template successfully matched by the fingerprint verification is finger_0_0.so, then add a new file finger_0_0_toucharea.so and save the recorded S 1 To S N Write to the file finger_0_0_toucharea.so. If multiple fingers of the user are entered, similar operations are performed to bind and save when other fingers are unlocked successfully. It should be noted that when the corresponding fingerprint template is deleted, the corresponding file saving the pressed area is also deleted.
[0097] When the number of data recorded in each saved press file (such as finger_0_0_toucharea.so) reaches the set threshold N T , which records N T When there is no response to the pressing area, the process jumps to step 204 for data statistics. T +1 press without response, that is, the data record is full, first replace the previously bound N T The pressing areas are replaced in order from small to large, that is, N T +1 pressing area replaces the smallest pressing area, N T The pressing area of +2 replaces the second smallest pressing area from the last, and the cycle continues, while also jumping to step 204.
[0098] Step 204, if N T The fingerprint corresponding to the pressed area is finger_0_0, then count the N fingerprints bound to it. T More than half of the pressed areas n≥0.5*N T The pressed areas with an area error within ±3% are grouped into a set, and the average value S of all pressed areas in the set is calculated. max1 , if S max1 Falling within the initial pressing area threshold S int If the pressing area threshold for subsequent fingerprint verification (i.e., the pressing area corresponding to the fingerprint verification) is within the range of 80% to 100% of S max1 .
[0099] After the first trigger, the subsequent other fingers may be finger_0_0, finger_0_1, etc. If they also meet the requirements of steps 201 to 203, then enter the current step 204 and still judge whether they meet the requirements according to the same rules as the first time (except that the pressing area threshold for fingerprint verification is S max1 ). If the next finger, for example: finger_0_1, meets the requirements of the current step, the average value of all pressed areas in the set is S max2 , where S max2 Than S max1 If the pressing area threshold for fingerprint verification is smaller, the pressing area threshold for fingerprint verification will be set to S max2 .
[0100] If the pressing area threshold for fingerprint verification is updated in the current step, the process jumps to step 205; if not, the process jumps to step 201 for detection.
[0101] Step 205: When the fingerprint module screens out a new pressing area threshold for fingerprint verification, the fingerprint module notifies the touch control module to update the pressing area threshold for fingerprint verification.
[0102] In this way, the next time you unlock, as long as the pressing area meets the new pressing area threshold for fingerprint verification, the finger pressing event can be reported. Compared with the factory preset threshold, the pressing area threshold for fingerprint verification is smaller at this time, which can reduce the probability of no response to pressing.
[0103] The fingerprint verification processing method provided in the embodiment of the present application can be executed by a fingerprint verification processing device. In the embodiment of the present application, the fingerprint verification processing device provided in the embodiment of the present application is described by taking the fingerprint verification processing method executed by the fingerprint verification processing device as an example.
[0104] like Figure 3As shown, the embodiment of the present application also provides a fingerprint verification processing device, the device 300 includes:
[0105] A first acquisition module 301 is used to acquire a first pressing area corresponding to a fingerprint verification area, where the first pressing area is smaller than or equal to a target pressing area corresponding to fingerprint verification;
[0106] A first processing module 302, configured to determine a second pressing area based on the N first pressing areas when the number of the first pressing areas reaches N, where N≥1 and N is a positive integer;
[0107] The second processing module 303 is used to update the target pressing area to the second pressing area.
[0108] In some embodiments, the first acquisition module 301 includes:
[0109] A receiving unit, configured to receive a first input from a user to the fingerprint verification area, wherein the first input is an input that satisfies a first condition;
[0110] a first acquiring unit, configured to acquire, in response to the first input, the first sub-pressing area if the first sub-pressing area corresponding to the first input is smaller than or equal to the target pressing area;
[0111] a second acquisition unit, configured to determine the first sub-pressed area and the second sub-pressed area as the first pressed area when the fingerprint verification is detected to be successful within a preset time period, wherein the second sub-pressed area is a pressed area obtained according to the user's input to the fingerprint verification area within the preset time period, and the second sub-pressed area is less than or equal to the target pressed area, and a start time of the preset time period is a time of obtaining the first sub-pressed area or a time of receiving the first input;
[0112] Wherein, the first condition is at least one of the following:
[0113] No user input to the fingerprint verification area has been received before the first input;
[0114] The user successfully verifies a second input fingerprint of the fingerprint verification area, where the second input is input before the first input and adjacent to the first input.
[0115] In some embodiments, the apparatus 300 of the present application further includes:
[0116] The third processing module is configured to discard the first sub-pressing area and the second sub-pressing area if no successful fingerprint verification is detected within the preset time period.
[0117] In some embodiments, the first processing module 302 includes:
[0118] a first processing unit, configured to determine a target pressing area set based on the N first pressing areas, wherein the target pressing area set satisfies a second condition, wherein the second condition is that the number of third pressing areas in the target pressing area set is greater than or equal to a first threshold, and a difference between any two third pressing areas in the target pressing area set is less than a second threshold;
[0119] The second processing unit is used to determine the second pressing area according to the target pressing area set.
[0120] In some embodiments, the apparatus 300 of the present application further includes:
[0121] A fourth processing module, configured to update N first pressing areas based on the M fourth pressing areas to obtain the updated N first pressing areas when M fourth pressing areas are obtained;
[0122] a fifth processing module, configured to determine a fifth pressing area based on the updated N first pressing areas;
[0123] The sixth processing module is used to update the target pressing area to the fifth pressing area when the fifth pressing area is smaller than the second pressing area.
[0124] The fingerprint verification processing device of the embodiment of the present application obtains a first pressing area corresponding to a fingerprint verification area, where the first pressing area is less than or equal to a target pressing area corresponding to fingerprint verification; when the number of the first pressing areas reaches N, a second pressing area is determined based on the N first pressing areas, where N ≥ 1, and N is a positive integer; the target pressing area is updated to the second pressing area, so that based on the user's usage habits, a suitable second pressing area is determined according to the recorded pressing area corresponding to the user's fingerprint unlocking and pressing without response (i.e., the first pressing area), and the target pressing area corresponding to the fingerprint verification is updated according to the second pressing area, so that the pressing area that the user is accustomed to will be more likely to meet the target pressing area corresponding to the updated fingerprint verification, thereby reducing the probability of no response to pressing, improving the sensitivity of fingerprint unlocking, and improving the user's unlocking operation experience.
[0125] The fingerprint verification processing device in the embodiment of the present application can be an electronic device, or a component in the electronic device, such as an integrated circuit or a chip. The electronic device can be a terminal, or other devices other than a terminal. Exemplarily, the electronic device can be a mobile phone, a tablet computer, a laptop computer, a PDA, a vehicle-mounted electronic device, a mobile Internet device (Mobile Internet Device, MID), an augmented reality (Augmented Reality, AR) / virtual reality (Virtual Reality, VR) device, a robot, a wearable device, an ultra-mobile personal computer (Ultra-Mobile Personal Computer, UMPC), a netbook or a personal digital assistant (Personal Digital Assistant, PDA), etc., and can also be a server, a network attached storage (Network Attached Storage, NAS), a personal computer (Personal Computer, PC), a television (television, TV), a teller machine or a self-service machine, etc., which is not specifically limited in the embodiment of the present application.
[0126] The fingerprint verification processing device in the embodiment of the present application may be a device having an operating system. The operating system may be an Android operating system, an IOS operating system, or other possible operating systems, which are not specifically limited in the embodiment of the present application.
[0127] The fingerprint verification processing device provided in the embodiment of the present application can achieve Figure 1 to Figure 2 To avoid repetition, the various processes implemented by the method embodiment are not described here.
[0128] Alternatively, if Figure 4 As shown, an embodiment of the present application further provides an electronic device 400, including a processor 401 and a memory 402, wherein the memory 402 stores a program or instruction that can be executed on the processor 401, and when the program or instruction is executed by the processor 401, each step of the above-mentioned fingerprint verification processing method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.
[0129] It should be noted that the electronic devices in the embodiments of the present application include the mobile electronic devices and non-mobile electronic devices mentioned above.
[0130] Figure 5 A schematic diagram of the hardware structure of an electronic device to implement an embodiment of the present application.
[0131] The electronic device 500 includes but is not limited to: a radio frequency unit 501, a network module 502, an audio output unit 503, an input unit 504, a sensor 505, a display unit 506, a user input unit 507, an interface unit 508, a memory 509, and a processor 510.
[0132] Those skilled in the art will appreciate that the electronic device 500 may also include a power source (such as a battery) for supplying power to various components, and the power source may be logically connected to the processor 510 through a power management system, thereby implementing functions such as managing charging, discharging, and power consumption management through the power management system. Figure 5 The electronic device structure shown in the figure does not constitute a limitation on the electronic device. The electronic device may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently, which will not be described in detail here.
[0133] The processor 510 is used for:
[0134] Acquire a first pressing area corresponding to the fingerprint verification area, where the first pressing area is smaller than or equal to a target pressing area corresponding to the fingerprint verification;
[0135] When the number of the first pressing areas reaches N, determining a second pressing area based on the N first pressing areas, where N≥1 and N is a positive integer;
[0136] The target pressing area is updated to the second pressing area.
[0137] In this way, based on the user's usage habits, a suitable second pressing area is determined according to the corresponding pressing area when the user's fingerprint unlocking is pressed without response (i.e., the first pressing area), and the target pressing area corresponding to the fingerprint verification is updated according to the second pressing area. In this way, the pressing area that the user is accustomed to will be more likely to meet the target pressing area corresponding to the updated fingerprint verification, thereby reducing the probability of no response to pressing, improving the sensitivity of fingerprint unlocking, and improving the user's unlocking operation experience.
[0138] It should be understood that in the embodiment of the present application, the input unit 504 may include a graphics processor (Graphics Processing Unit, GPU) 5041 and a microphone 5042, and the graphics processor 5041 processes the image data of the static picture or video obtained by the image capture device (such as a camera) in the video capture mode or the image capture mode. The display unit 506 may include a display panel 5061, and the display panel 5061 may be configured in the form of a liquid crystal display, an organic light emitting diode, etc. The user input unit 507 includes a touch panel 5071 (i.e., a touch module) and at least one of other input devices 5072. The touch panel 5071 is also called a touch screen. The touch panel 5071 may include two parts: a touch detection device and a touch controller. Other input devices 5072 may include, but are not limited to, a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which will not be repeated here.
[0139] The memory 509 can be used to store software programs and various data. The memory 509 may mainly include a first storage area for storing programs or instructions and a second storage area for storing data, wherein the first storage area may store an operating system, an application program or instructions required for at least one function (such as a sound playback function, an image playback function, etc.), etc. In addition, the memory 509 may include a volatile memory or a non-volatile memory, or the memory 509 may include both volatile and non-volatile memories. Among them, the non-volatile memory may be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory may be a random access memory (RAM), a static random access memory (SRAM), a dynamic random access memory (DRAM), a synchronous dynamic random access memory (SDRAM), a double data rate synchronous dynamic random access memory (DDRSDRAM), an enhanced synchronous dynamic random access memory (ESDRAM), a synchronous link dynamic random access memory (SLDRAM) and a direct memory bus random access memory (DRRAM). The memory 509 in the embodiment of the present application includes but is not limited to these and any other suitable types of memory.
[0140] The processor 510 may include one or more processing units; optionally, the processor 510 integrates an application processor and a modem processor, wherein the application processor mainly processes operations related to an operating system, a user interface, and application programs, and the modem processor mainly processes wireless communication signals, such as a baseband processor. It is understandable that the modem processor may not be integrated into the processor 510.
[0141] In some embodiments, the user input unit 507 is used to receive a first input from a user to the fingerprint verification area, where the first input is an input that satisfies a first condition;
[0142] The processor 510 is used to:
[0143] In response to the first input, if a first sub-pressing area corresponding to the first input is smaller than or equal to the target pressing area, acquiring the first sub-pressing area;
[0144] In the case where the fingerprint verification is detected to be successful within the preset time period, the first sub-pressing area and the second sub-pressing area are determined as the first pressing area, wherein the second sub-pressing area is the pressing area obtained according to the user's input to the fingerprint verification area within the preset time period, and the second sub-pressing area is less than or equal to the target pressing area, and the starting time of the preset time period is the time when the first sub-pressing area is obtained or the time when the first input is received;
[0145] Wherein, the first condition is at least one of the following:
[0146] No user input to the fingerprint verification area has been received before the first input;
[0147] The user successfully verifies a second input fingerprint of the fingerprint verification area, where the second input is input before the first input and adjacent to the first input.
[0148] In some embodiments, the processor 510 is configured to:
[0149] If no successful fingerprint verification is detected within the preset time period, the first sub-pressing area and the second sub-pressing area are discarded.
[0150] In some embodiments, the processor 510 is configured to:
[0151] Determine a target pressing area set based on the N first pressing areas, where the target pressing area set satisfies a second condition, where the second condition is that the number of third pressing areas in the target pressing area set is greater than or equal to a first threshold, and a difference between any two third pressing areas in the target pressing area set is less than a second threshold;
[0152] The second pressing area is determined according to the target pressing area set.
[0153] In some embodiments, the processor 510 is configured to:
[0154] If M fourth pressing areas are obtained, N first pressing areas are updated based on the M fourth pressing areas to obtain updated N first pressing areas; 1≤M≤N, and M is a positive integer;
[0155] Determining a fifth pressing area based on the updated N first pressing areas;
[0156] When the fifth pressing area is smaller than the second pressing area, the target pressing area is updated to the fifth pressing area.
[0157] The electronic device of the embodiment of the present application obtains a first pressing area corresponding to a fingerprint verification area, where the first pressing area is less than or equal to a target pressing area corresponding to fingerprint verification; when the number of the first pressing areas reaches N, a second pressing area is determined based on the N first pressing areas, where N≥1, and N is a positive integer; the target pressing area is updated to the second pressing area, so that based on the user's usage habits, a suitable second pressing area is determined according to the recorded pressing area corresponding to the user's fingerprint unlocking and pressing without response (i.e., the first pressing area), and the target pressing area corresponding to the fingerprint verification is updated according to the second pressing area, so that the pressing area that the user is accustomed to will be more likely to meet the target pressing area corresponding to the updated fingerprint verification, thereby reducing the probability of no response to pressing, improving the sensitivity of fingerprint unlocking, and improving the user's unlocking operation experience.
[0158] The embodiment of the present application also provides a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, each process of the above-mentioned fingerprint verification processing method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.
[0159] The processor is the processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a computer read-only memory ROM, a random access memory RAM, a magnetic disk or an optical disk.
[0160] An embodiment of the present application further provides a chip, which includes a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run programs or instructions to implement the various processes of the above-mentioned fingerprint unlocking processing method embodiment, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.
[0161] It should be understood that the chip mentioned in the embodiments of the present application can also be called a system-level chip, a system chip, a chip system or a system-on-chip chip, etc.
[0162] An embodiment of the present application provides a computer program product, which is stored in a storage medium. The program product is executed by at least one processor to implement the various processes of the fingerprint verification processing method embodiment described above, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.
[0163] It should be noted that, in this article, the terms "comprise", "include" or any other variant thereof are intended to cover non-exclusive inclusion, so that the process, method, article or device including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise one..." do not exclude the presence of other identical elements in the process, method, article or device including the element. In addition, it should be pointed out that the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in reverse order according to the functions involved, for example, the described method may be performed in an order different from that described, and various steps may also be added, omitted, or combined. In addition, the features described with reference to certain examples may be combined in other examples.
[0164] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a computer software product, which is stored in a storage medium (such as ROM / RAM, a disk, or an optical disk), and includes a number of instructions for a terminal (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods described in each embodiment of the present application.
[0165] The embodiments of the present application are described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of the present application, ordinary technicians in this field can also make many forms without departing from the purpose of the present application and the scope of protection of the claims, all of which are within the protection of the present application.
Claims
1. A fingerprint verification processing method, characterized in that: include: Acquire a first pressing area corresponding to the fingerprint verification area, where the first pressing area is smaller than or equal to a target pressing area corresponding to the fingerprint verification; When the number of the first pressing areas reaches N, determining a second pressing area based on the N first pressing areas, where N≥1 and N is a positive integer; The target pressing area is updated to the second pressing area.
2. The method according to claim 1, characterized in that The obtaining of a first pressing area corresponding to the fingerprint verification area includes: receiving a first input from a user to the fingerprint verification area, where the first input is an input that satisfies a first condition; In response to the first input, if a first sub-pressing area corresponding to the first input is smaller than or equal to the target pressing area, acquiring the first sub-pressing area; In the case where the fingerprint verification is detected to be successful within the preset time period, the first sub-pressing area and the second sub-pressing area are determined as the first pressing area, wherein the second sub-pressing area is a pressing area obtained according to the user's input to the fingerprint verification area within the preset time period, and the second sub-pressing area is less than or equal to the target pressing area, and the starting time of the preset time period is the time when the first sub-pressing area is obtained or the time when the first input is received; Wherein, the first condition is at least one of the following: No user input to the fingerprint verification area has been received before the first input; The user successfully verifies a second input fingerprint of the fingerprint verification area, where the second input is input before the first input and adjacent to the first input.
3. The method according to claim 2, characterized in that The method further comprises: If no successful fingerprint verification is detected within the preset time period, the first sub-pressing area and the second sub-pressing area are discarded.
4. The method according to claim 1, characterized in that: The determining the second pressing area based on the N first pressing areas includes: Based on the N first pressing areas, a target pressing area set is determined, where the target pressing area set satisfies a second condition, where the second condition is that the number of third pressing areas in the target pressing area set is greater than or equal to a first threshold, and a difference between any two third pressing areas in the target pressing area set is less than a second threshold; The second pressing area is determined according to the target pressing area set.
5. The method according to claim 1, characterized in that After the target pressing area is updated to the second pressing area, the method further includes: If M fourth pressing areas are obtained, N first pressing areas are updated based on the M fourth pressing areas to obtain updated N first pressing areas; 1≤M≤N, and M is a positive integer; Determining a fifth pressing area based on the updated N first pressing areas; When the fifth pressing area is smaller than the second pressing area, the target pressing area is updated to the fifth pressing area.
6. A fingerprint verification processing device, characterized in that: include: A first acquisition module, used to acquire a first pressing area corresponding to the fingerprint verification area, where the first pressing area is smaller than or equal to a target pressing area corresponding to the fingerprint verification; A first processing module, configured to determine a second pressing area based on the N first pressing areas when the number of the first pressing areas reaches N, where N≥1 and N is a positive integer; The second processing module is used to update the target pressing area to the second pressing area.
7. The device according to claim 6, characterized in that The first acquisition module includes: A receiving unit, configured to receive a first input from a user to the fingerprint verification area, wherein the first input is an input that satisfies a first condition; a first acquiring unit, configured to acquire, in response to the first input, the first sub-pressing area if the first sub-pressing area corresponding to the first input is smaller than or equal to the target pressing area; a second acquisition unit, configured to determine the first sub-pressed area and the second sub-pressed area as the first pressed area when the fingerprint verification is detected to be successful within a preset time period, wherein the second sub-pressed area is a pressed area obtained according to the user's input to the fingerprint verification area within the preset time period, and the second sub-pressed area is less than or equal to the target pressed area, and a start time of the preset time period is a time of obtaining the first sub-pressed area or a time of receiving the first input; Wherein, the first condition is at least one of the following: No user input to the fingerprint verification area has been received before the first input; The user successfully verifies a second input fingerprint of the fingerprint verification area, where the second input is input before the first input and adjacent to the first input.
8. The device according to claim 7, characterized in that The device also includes: The third processing module is configured to discard the first sub-pressing area and the second sub-pressing area if no successful fingerprint verification is detected within the preset time period.
9. The device according to claim 6, characterized in that The first processing module comprises: a first processing unit, configured to determine a target pressing area set based on the N first pressing areas, wherein the target pressing area set satisfies a second condition, wherein the second condition is that the number of third pressing areas in the target pressing area set is greater than or equal to a first threshold, and a difference between any two third pressing areas in the target pressing area set is less than a second threshold; The second processing unit is used to determine the second pressing area according to the target pressing area set.
10. The device according to claim 6, characterized in that The device also includes: A fourth processing module, configured to update N first pressing areas based on the M fourth pressing areas to obtain the updated N first pressing areas when M fourth pressing areas are obtained; a fifth processing module, configured to determine a fifth pressing area based on the updated N first pressing areas; The sixth processing module is used to update the target pressing area to the fifth pressing area when the fifth pressing area is smaller than the second pressing area.
11. An electronic device, characterized in that: The method comprises a processor and a memory, wherein the memory stores a program or instruction that can be run on the processor, and when the program or instruction is executed by the processor, the steps of the fingerprint verification processing method according to any one of claims 1 to 5 are implemented.
