CN111026285B - Method for adjusting pressure threshold and electronic equipment - Google Patents

Method for adjusting pressure threshold and electronic equipment Download PDF

Info

Publication number
CN111026285B
CN111026285B CN201811180250.2A CN201811180250A CN111026285B CN 111026285 B CN111026285 B CN 111026285B CN 201811180250 A CN201811180250 A CN 201811180250A CN 111026285 B CN111026285 B CN 111026285B
Authority
CN
China
Prior art keywords
electronic device
pressure threshold
pressure
preset
electronic equipment
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.)
Active
Application number
CN201811180250.2A
Other languages
Chinese (zh)
Other versions
CN111026285A (en
Inventor
张力
李丹洪
王林建
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201811180250.2A priority Critical patent/CN111026285B/en
Publication of CN111026285A publication Critical patent/CN111026285A/en
Application granted granted Critical
Publication of CN111026285B publication Critical patent/CN111026285B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/041Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
    • G06F3/0414Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means using force sensing means to determine a position
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V40/00Recognition of biometric, human-related or animal-related patterns in image or video data
    • G06V40/10Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
    • G06V40/12Fingerprints or palmprints
    • G06V40/13Sensors therefor
    • G06V40/1306Sensors therefor non-optical, e.g. ultrasonic or capacitive sensing

Abstract

The embodiment of the application provides a method for adjusting a pressure threshold and electronic equipment, relates to the technical field of touch control, and can dynamically adjust the pressure threshold of the electronic equipment. The specific scheme comprises the following steps: the electronic equipment comprises a touch screen, a fingerprint sensor and a pressure sensor; the electronic equipment displays a first interface on the touch screen; the electronic equipment acquires fingerprint information input by a user on a first interface through a fingerprint sensor, and acquires pressing pressure on the touch screen when the user inputs the fingerprint information on the first interface through a pressure sensor; if the pressing pressure is larger than or equal to the pressure threshold of the electronic equipment, carrying out user identity verification on the fingerprint information; if the user identity passes the verification, the pressure threshold of the electronic equipment is reduced; and if the user identity verification fails, the pressure threshold of the electronic equipment is increased.

Description

Method for adjusting pressure threshold and electronic equipment
Technical Field
The embodiment of the application relates to the technical field of touch control, in particular to a method for adjusting a pressure threshold and an electronic device.
Background
With the development of touch screens, the underscreen fingerprints are gradually applied to electronic devices as a new technical breakthrough of touch screens. The fingerprint under the screen is that a fingerprint sensor is integrated under a touch screen of the electronic equipment, and the fingerprint sensor responds to touch operation of a user on a preset position in the touch screen and can collect fingerprint information of the user.
When fingerprint information of a user is collected in response to touch operation of the user on a preset position in the touch screen, certain requirements are made on the fit degree of the finger of the user and the touch screen. The closer the user finger is attached to the touch screen, the higher the quality of the fingerprint image of the fingerprint information acquired by the fingerprint sensor is, and the higher the success rate of user identity verification (namely fingerprint identification) by using the fingerprint information is. In order to improve the success rate of fingerprint verification, the electronic equipment can guide the user to increase the pressing pressure properly when inputting the fingerprint information so as to ensure that the fitting degree of the finger of the user and the touch screen meets the requirement. For example, a pressure sensor may be disposed under a touch screen of the electronic device, and the pressure sensor is used for collecting the pressing pressure of the finger of the user on the touch screen. When the pressing pressure collected by the pressure sensor is greater than the pressure threshold value of the electronic equipment, the electronic equipment adopts fingerprint information to check the identity of the user.
Disclosure of Invention
The embodiment of the application provides a method for adjusting a pressure threshold and an electronic device, which can dynamically adjust the pressure threshold of the electronic device.
In a first aspect, the present technical solution provides a method for adjusting a pressure threshold, where the method may be applied to an electronic device including a touch screen, and the electronic device may further include a fingerprint sensor and a pressure sensor. The method of adjusting the pressure threshold may comprise: the electronic equipment displays a first interface on the touch screen; the electronic equipment acquires fingerprint information input by a user on a first interface through a fingerprint sensor, and acquires pressing pressure on the touch screen when the user inputs the fingerprint information on the first interface through a pressure sensor; if the pressing pressure is larger than or equal to the pressure threshold value of the electronic equipment, the electronic equipment carries out user identity verification on the fingerprint information; if the user identity passes the verification, the electronic equipment reduces the pressure threshold of the electronic equipment; and if the user identity verification fails, the electronic equipment raises the pressure threshold of the electronic equipment.
As can be appreciated, if the user identity verification passes, the electronic device turns down the pressure threshold of the electronic device; and if the user identity verification fails, the electronic equipment raises the pressure threshold of the electronic equipment. In both cases, the electronic device may have one of the situations, for example, if the user identity check passes, the electronic device turns the pressure threshold of the electronic device down, or if the user identity check fails, the electronic device turns the pressure threshold of the electronic device up. Of course, the electronic device may also have the above two cases: if the user identity passes the verification, the electronic equipment reduces the pressure threshold of the electronic equipment; and if the user identity verification fails, the electronic device raises the pressure threshold of the electronic device.
In the embodiment of the application, if the user identity passes the verification, the electronic equipment can lower the pressure threshold of the electronic equipment; if the user identity verification fails, the electronic device may raise the pressure threshold of the electronic device. Namely, the electronic equipment can dynamically adjust the pressure threshold value, and the user experience of the user in the identification of the fingerprint under the screen is improved.
It is to be understood that the electronic device may be configured to perform the user identity verification only when the pressing pressure is greater than or equal to the pressure threshold of the electronic device. Therefore, if the user identity passes the verification, the fingerprint image quality of the fingerprint information collected by the fingerprint sensor is high, and the user identity can be guaranteed to pass the verification. The higher parameter of the fingerprint image quality of the fingerprint information acquired by the fingerprint sensor may be due to two reasons: the fingerprint lines of the user are clear and are easy to collect; the real-time pressing pressure used when the user inputs the fingerprint information is large, and the finger is tightly attached to the touch screen. For any reason, if the electronic device appropriately adjusts the pressure threshold value and the fingerprint sensor re-acquires the fingerprint information of the user, the electronic device may pass the user identity verification using the fingerprint information re-acquired by the fingerprint sensor. Therefore, in this case, the electronic device can appropriately turn down the pressure threshold of the electronic device.
If the user identity verification fails, it may be due to two reasons: the user does not use the correct finger to input fingerprint information; the fingerprint lines of the user are fuzzy and not easy to be collected, and the pressing pressure used when the user inputs the fingerprint information can not ensure that the fingerprint sensor collects the fingerprint information with higher parameters of the fingerprint image quality. If the user identity verification fails due to the second reason, the electronic device appropriately increases the pressure threshold of the electronic device, so that the possibility that the user identity verification performed by using the fingerprint information re-acquired by the fingerprint sensor passes can be improved. Thus, in this case, the electronic device may turn up the pressure threshold of the electronic device.
With reference to the first aspect, in a possible design manner, the adjusting, by the electronic device, the pressure threshold of the electronic device may include: the electronic device lowers the pressure threshold of the electronic device by a first preset step. Wherein, the first preset step distance can be a smaller pressing pressure. For example, the first preset step distance may be any pressure value such as 2g, 3g or 5 g. The electronic device lowers the pressure threshold of the electronic device with a smaller pressing pressure (i.e., the first preset step), which may not have a greater impact on the user experience of fingerprint identification. The pressure threshold of the electronic device may be dynamically adjusted without the user's perception.
With reference to the first aspect, in another possible design manner, the adjusting, by the electronic device, the pressure threshold of the electronic device may include: the electronic device adjusts the pressure threshold of the electronic device to be the sum of the pressing pressure and the second preset step distance. Wherein the second preset step distance may be a smaller pressing pressure. For example, the second preset step distance may be any pressure value such as 2g, 3g, 5g or 6 g. In which the electronic device 100 increases the pressure threshold of the electronic device with a smaller pressing pressure (i.e., the second preset step distance), which may not have a great influence on the user's experience of fingerprint recognition. The pressure threshold of the electronic device may be dynamically adjusted without the user's perception.
With reference to the first aspect, in another possible design, if the user identity verification passes, the electronic device may adjust the pressure threshold, so as to reduce the possibility that the fingerprint information passes the user identity verification after the electronic device collects the fingerprint information next time. For example, it is assumed that the electronic device does not have a high parameter of fingerprint image quality of the fingerprint information collected this time, but can ensure that the user identity is verified. If the pressure threshold is reduced by the electronic equipment, the fingerprint information for the next user identity verification may be the fingerprint information input by the user with lower pressing pressure, and the parameter of the fingerprint image quality of the fingerprint information is lower than that of the fingerprint image quality of the fingerprint information acquired at this time. The electronic equipment adopts the fingerprint information to check the identity of the user, and the possibility that the identity of the user passes the check is low. Based on this situation, if the user identity authentication passes, the electronic device may first determine whether the electronic device satisfies a first preset condition. The electronic device may lower the pressure threshold of the electronic device if the electronic device does not satisfy the first preset condition.
Wherein the first preset condition includes at least one of the following conditions: the passing rate of the user identity verification performed by the electronic equipment is lower than or equal to a preset success rate threshold; the parameter of the fingerprint image quality of the fingerprint information is lower than or equal to a preset lower limit quality threshold; the pressure threshold of the electronic equipment is a preset lower limit pressure threshold. The electronic device meets a first preset condition, which may specifically be: the electronic device satisfies at least one of the first preset conditions.
For example, the first preset condition may include: the parameter of the fingerprint image quality of the fingerprint information is lower than or equal to a preset lower limit quality threshold. The electronic device meets a first preset condition, which may specifically be: the parameter of the fingerprint image quality of the fingerprint information is lower than or equal to a preset lower limit quality threshold. The electronic device does not satisfy the first preset condition, and specifically may be: the parameter of the fingerprint image quality of the fingerprint information is higher than the preset lower limit quality threshold.
For another example, the first preset condition may include: the passing rate of the user identity verification performed by the electronic equipment is lower than or equal to a preset success rate threshold; the parameter of the fingerprint image quality of the fingerprint information is lower than or equal to a preset lower limit quality threshold. The electronic device meets a first preset condition, which may specifically be: the passing rate of the user identity verification performed by the electronic equipment is lower than or equal to a preset power threshold; or the parameter of the fingerprint image quality of the fingerprint information is lower than or equal to a preset lower limit quality threshold; or, the passing rate of the user identity verification performed by the electronic equipment is lower than or equal to a preset success rate threshold, and the fingerprint image quality parameter of the fingerprint information is lower than or equal to a preset lower limit quality threshold. The electronic device does not satisfy the first preset condition, and specifically may be: the passing rate of the user identity verification of the electronic equipment is higher than a preset success rate threshold, and the fingerprint image quality parameter of the fingerprint information is higher than a preset lower limit quality threshold.
For another example, the first preset condition may include: the passing rate of the user identity verification performed by the electronic equipment is lower than or equal to a preset success rate threshold; the parameter of the fingerprint image quality of the fingerprint information is lower than or equal to a preset lower limit quality threshold; the pressure threshold of the electronic equipment is a preset lower limit pressure threshold. The electronic device meets a first preset condition, which may specifically be: the passing rate of the user identity verification performed by the electronic equipment is lower than or equal to a preset success rate threshold; or the parameter of the fingerprint image quality of the fingerprint information is lower than or equal to a preset lower limit quality threshold; or the pressure threshold of the electronic equipment is a preset lower limit pressure threshold; or the passing rate of the user identity verification performed by the electronic equipment is lower than or equal to a preset success rate threshold, and the parameter of the fingerprint image quality of the fingerprint information is lower than or equal to a preset lower limit quality threshold; or the passing rate of the user identity verification performed by the electronic equipment is lower than or equal to a preset success rate threshold, and the pressure threshold of the electronic equipment is a preset lower limit pressure threshold; or the parameter of the fingerprint image quality of the fingerprint information is lower than or equal to a preset lower limit quality threshold, and the pressure threshold of the electronic device is a preset lower limit pressure threshold. The electronic device does not satisfy the first preset condition, and specifically may be: the passing rate of the user identity verification of the electronic equipment is higher than a preset success rate threshold, the fingerprint image quality parameter of the fingerprint information is higher than a preset lower limit quality threshold, and the pressure threshold of the electronic equipment is not the preset lower limit pressure threshold.
With reference to the first aspect, in another possible design manner, if the user identity verification fails, the electronic device may increase a pressure threshold of the electronic device, which may affect user experience when the electronic device collects fingerprint information next time. For example, if the fingerprint information collected by the fingerprint sensor is not the correct fingerprint information, the user identity verification using the fingerprint information will not pass even if the electronic device turns the pressure threshold high. Moreover, after the pressure threshold is increased, the user needs to use a larger real-time pressing degree to ensure that the real-time pressing degree is greater than the increased pressure threshold when inputting fingerprint information next time, and user experience is affected. Based on this situation, if the user identity verification fails, the electronic device may first determine whether the electronic device satisfies the second preset condition. The electronic device may increase the pressure threshold of the electronic device if the electronic device does not satisfy the second preset condition.
Wherein the second preset condition comprises at least one of the following conditions: the parameter of the fingerprint image quality of the fingerprint information is higher than or equal to a preset upper limit quality threshold; the pressure threshold of the electronic equipment is a preset upper limit pressure threshold; the pressing pressure is greater than or equal to a preset upper limit pressure threshold value. The electronic device meets a second preset condition, which may specifically be: the electronic device satisfies at least one of the second preset conditions.
For example, the second preset condition may include: the parameter of the fingerprint image quality of the fingerprint information is higher than or equal to a preset upper limit quality threshold. The electronic device meeting the second preset condition may specifically be: the parameter of the fingerprint image quality of the fingerprint information is higher than or equal to a preset upper limit quality threshold. The electronic device not satisfying the second preset condition may be: the parameter of the fingerprint image quality of the fingerprint information is lower than a preset upper limit quality threshold.
For another example, the second preset condition may include: the parameter of the fingerprint image quality of the fingerprint information is higher than or equal to a preset upper limit quality threshold; the pressure threshold of the electronic equipment is a preset upper limit pressure threshold. The electronic device meeting the second preset condition may specifically be: the parameter of the fingerprint image quality of the fingerprint information is higher than or equal to a preset upper limit quality threshold; or the pressure threshold of the electronic equipment is a preset upper limit pressure threshold; or the parameter of the fingerprint image quality of the fingerprint information is higher than or equal to the preset upper limit quality threshold, and the pressure threshold of the electronic device is the preset upper limit pressure threshold.
The electronic device that does not satisfy the second preset condition may specifically be: the parameter of the fingerprint image quality of the fingerprint information is lower than a preset upper limit quality threshold, and the pressure threshold of the electronic device is not the preset upper limit pressure threshold.
For another example, the second preset condition may include: the fingerprint image quality parameter of the fingerprint information is higher than or equal to a preset upper limit quality threshold; the pressure threshold of the electronic equipment is a preset upper limit pressure threshold; the pressing pressure is greater than or equal to a preset upper limit pressure threshold value. The electronic device meeting the second preset condition may specifically be: the parameter of the fingerprint image quality of the fingerprint information is higher than or equal to a preset upper limit quality threshold; or the pressure threshold of the electronic equipment is a preset upper limit pressure threshold; or the pressing pressure is greater than or equal to a preset upper limit pressure threshold; or the parameter of the fingerprint image quality of the fingerprint information is higher than or equal to a preset upper limit quality threshold, and the pressure threshold of the electronic equipment is a preset upper limit pressure threshold; or the parameter of the fingerprint image quality of the fingerprint information is higher than or equal to a preset upper limit quality threshold, and the pressing pressure is greater than or equal to a preset upper limit pressure threshold; or the pressure threshold of the electronic device is a preset upper limit pressure threshold, and the pressing pressure is greater than or equal to the preset upper limit pressure threshold.
The electronic device that does not satisfy the second preset condition may specifically be: the fingerprint image quality parameter of the fingerprint information is lower than a preset upper limit quality threshold, the pressure threshold of the electronic equipment is not the preset upper limit pressure threshold, and the pressing pressure is smaller than the preset upper limit pressure threshold.
With reference to the first aspect, in another possible design manner, a lower limit value of the pressure threshold (i.e., a preset lower limit pressure threshold) is configured in advance in the electronic device. The preset lower limit pressure threshold is the lowest pressure threshold that can be set in the electronic device. If the electronic device lowers the pressure threshold of the electronic device and the pressure threshold of the electronic device is lower than the preset lower limit pressure threshold, the electronic device may set the pressure threshold of the electronic device to the preset lower limit pressure threshold.
With reference to the first aspect, in another possible design manner, an upper limit value of the pressure threshold (i.e., a preset upper limit pressure threshold) is preconfigured in the electronic device. The preset upper limit pressure threshold is the highest pressure threshold that can be set in the electronic device. If the pressure threshold of the electronic device is higher than the preset upper limit pressure threshold after the electronic device adjusts the pressure threshold of the electronic device, the electronic device may set the pressure threshold of the electronic device to the preset upper limit pressure threshold.
With reference to the first aspect, in another possible design manner, if the pressing pressure is smaller than a pressure threshold of the electronic device, the electronic device displays a prompt message on the first interface, where the prompt message is used to prompt the user to increase the pressing pressure when inputting the fingerprint information. After the user increases the pressing pressure, the pressing pressure collected by the pressure sensor is increased. When the pressing pressure acquired by the pressure sensor is greater than the pressure threshold value of the electronic equipment, the electronic equipment can carry out user identity verification.
In a second aspect, an embodiment of the present application provides an electronic device, including: display element, fingerprint acquisition unit, pressure acquisition unit, check-up unit and adjustment unit. The display unit is used for displaying the first interface. And the fingerprint acquisition unit is used for acquiring fingerprint information input by a user on the first interface displayed by the display unit. And the pressure acquisition unit is used for acquiring the pressing pressure used when the user inputs the fingerprint information on the first interface displayed by the display unit. And the verification unit is used for verifying the user identity of the fingerprint information acquired by the fingerprint acquisition unit if the pressing pressure acquired by the pressure acquisition unit is greater than or equal to the pressure threshold of the electronic equipment. The adjusting unit is used for reducing the pressure threshold of the electronic equipment if the user identity verification is passed; and/or, if the user identity verification fails, increasing the pressure threshold of the electronic device.
With reference to the second aspect, in a possible design manner, the adjusting unit for lowering the pressure threshold of the electronic device may include: the adjusting unit is used for adjusting down the pressure threshold of the electronic equipment by a first preset step pitch.
With reference to the second aspect, in another possible design manner, the adjusting unit, configured to increase the pressure threshold of the electronic device, may include: and the adjusting unit is used for adjusting the pressure threshold of the electronic equipment to be the sum of the pressing pressure acquired by the pressure acquisition unit and the second preset step pitch.
With reference to the second aspect, in another possible design manner, the adjusting unit, configured to adjust the pressure threshold of the electronic device down, may include: the adjusting unit is used for reducing the pressure threshold of the electronic equipment under the condition that the electronic equipment does not meet the first preset condition. Wherein the first preset condition comprises at least one of the following conditions: the passing rate of the user identity verification performed by the electronic equipment is lower than or equal to a preset success rate threshold; the parameter of the fingerprint image quality of the fingerprint information is lower than or equal to a preset lower limit quality threshold; the pressure threshold of the electronic equipment is a preset lower limit pressure threshold.
With reference to the second aspect, in another possible design manner, the adjusting unit, configured to increase the pressure threshold of the electronic device, may include: and the adjusting unit is used for increasing the pressure threshold of the electronic equipment under the condition that the electronic equipment does not meet the second preset condition. Wherein the second preset condition comprises at least one of the following conditions: the parameter of the fingerprint image quality of the fingerprint information is higher than or equal to a preset upper limit quality threshold; the pressure threshold of the electronic equipment is a preset upper limit pressure threshold; the pressing pressure is greater than or equal to a preset upper limit pressure threshold value.
With reference to the second aspect, in another possible design manner, the adjusting unit is further configured to, after the pressure threshold of the electronic device is reduced, set the pressure threshold of the electronic device to a preset lower limit pressure threshold if the adjusted pressure threshold is smaller than the preset lower limit pressure threshold.
With reference to the second aspect, in another possible design manner, the adjusting unit is further configured to, after the pressure threshold of the electronic device is increased, set the pressure threshold of the electronic device to the preset upper limit pressure threshold if the adjusted pressure threshold is greater than the preset upper limit pressure threshold.
With reference to the second aspect, in another possible design manner, the display unit is further configured to display a prompt message on the first interface if the compression pressure acquired by the pressure acquisition unit is smaller than a pressure threshold of the electronic device. The prompt message is used for prompting the user to increase the pressing pressure when inputting the fingerprint information.
In a third aspect, an embodiment of the present application provides an electronic device, which may include: a processor, a touch screen, a fingerprint sensor, and a pressure sensor. The touch screen is used for displaying the first interface. And the fingerprint sensor is used for collecting fingerprint information input by the user on the first interface. And the pressure sensor is used for acquiring the pressing pressure of the user on the touch screen when the fingerprint information is input on the first interface. And the processor is used for carrying out user identity verification on the fingerprint information acquired by the fingerprint sensor if the pressing pressure acquired by the pressure sensor is greater than or equal to the pressure threshold of the electronic equipment. The processor is further used for reducing the pressure threshold of the electronic equipment if the user identity verification is passed; and/or, if the user identity verification fails, raising a pressure threshold of the electronic device.
With reference to the third aspect, in a possible design manner, the processor is configured to turn down a pressure threshold of the electronic device, and includes: the processor is used for adjusting down the pressure threshold of the electronic equipment at a first preset step pitch.
With reference to the third aspect, in another possible design manner, the processor is configured to increase a pressure threshold of the electronic device, and includes: and the processor is used for adjusting the pressure threshold of the electronic equipment to be the sum of the pressing pressure and the second preset step distance.
With reference to the third aspect, in another possible design manner, the processor is configured to turn down a pressure threshold of the electronic device, and includes: the processor is used for reducing the pressure threshold of the electronic equipment when the electronic equipment does not meet the first preset condition. Wherein the first preset condition comprises at least one of the following conditions: the passing rate of the user identity verification performed by the electronic equipment is lower than or equal to a preset success rate threshold; the parameter of the fingerprint image quality of the fingerprint information is lower than or equal to a preset lower limit quality threshold; the pressure threshold of the electronic equipment is a preset lower limit pressure threshold.
With reference to the third aspect, in another possible design manner, the processor is configured to increase a pressure threshold of the electronic device, and includes: and the processor is used for increasing the pressure threshold of the electronic equipment when the electronic equipment does not meet the second preset condition. Wherein the second preset condition comprises at least one of the following conditions: the parameter of the fingerprint image quality of the fingerprint information is higher than or equal to a preset upper limit quality threshold; the pressure threshold of the electronic equipment is a preset upper limit pressure threshold; the pressing pressure is greater than or equal to a preset upper pressure limiting threshold.
With reference to the third aspect, in another possible design manner, the processor is further configured to, after the pressure threshold of the electronic device is adjusted down, set the pressure threshold of the electronic device to be the preset lower limit pressure threshold if the adjusted pressure threshold is smaller than the preset lower limit pressure threshold.
With reference to the third aspect, in another possible design manner, the processor is further configured to, after the pressure threshold of the electronic device is increased, set the pressure threshold of the electronic device to the preset upper limit pressure threshold if the adjusted pressure threshold is greater than the preset upper limit pressure threshold.
With reference to the third aspect, in another possible design manner, the touch screen is further configured to display a prompt message on the first interface if the pressing pressure is smaller than a pressure threshold of the electronic device, where the prompt message is used to prompt the user to increase the pressing pressure when inputting the fingerprint information.
In a fourth aspect, the present technical solution provides a computer storage medium including computer instructions, which, when run on an electronic device, cause the electronic device to perform the method for adjusting a pressure threshold as described in the first aspect and its possible design forms.
In a fifth aspect, the present invention provides a computer program product, which when run on a computer causes the computer to perform the method of adjusting a pressure threshold as described in the first aspect and possible designs thereof.
In addition, for the technical effects brought by the electronic device according to the second aspect, the third aspect, and any design manner thereof, the computer storage medium according to the fourth aspect, and the computer program product according to the fifth aspect, reference may be made to the technical effects brought by the first aspect and the different design manners thereof, and no further description is given here.
Drawings
FIG. 1A is a first schematic diagram illustrating an example of a graphical user interface provided by an embodiment of the present application;
fig. 1B is a schematic diagram of a hardware structure of an electronic device according to an embodiment of the present disclosure;
fig. 2 is a schematic view of a structural example of a display screen provided with a fingerprint sensor and a pressure sensor according to an embodiment of the present application;
FIG. 3 is a first flowchart of a method for adjusting a pressure threshold according to an embodiment of the present disclosure;
FIG. 4 is a second schematic diagram illustrating an example of a graphical user interface provided by an embodiment of the present application;
FIG. 5 is a third schematic diagram illustrating an example of a graphical user interface provided by an embodiment of the present application;
FIG. 6 is a fourth schematic diagram illustrating an example of a graphical user interface provided by an embodiment of the present application;
FIG. 7 is a flowchart of a method for adjusting a pressure threshold according to an embodiment of the present disclosure;
FIG. 8 is a flowchart of a method for adjusting a pressure threshold according to an embodiment of the present disclosure;
fig. 9 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
Generally, the pressure threshold of the electronic device is a fixed threshold that is set in advance. However, the quality of the fingerprint image of the fingerprint information collected by the fingerprint sensor is not completely determined by the pressing pressure of the user finger on the touch screen, and the depth of the fingerprint line of the user finger and the degree of dryness of the user finger also affect the quality of the fingerprint image. The depths of the fingerprint lines of different users are different, and the dryness and the humidity of the fingers are also different; different users may rely on pressure sensations to a different degree (e.g., some users prefer to press the touch screen with a greater force, while other users prefer to press the touch screen with a lesser force). Therefore, the user experience of the user in performing the identification of the fingerprint under the screen may be affected by determining the pressing pressure by using the preset pressure threshold (i.e., the fixed pressure threshold).
The embodiment of the application provides a method for adjusting a pressure threshold, and electronic equipment can dynamically adjust the pressure threshold of the electronic equipment, so that user experience of a user for identifying fingerprints under a screen can be improved. The method may be applied to an electronic device including a touch screen. A fingerprint sensor and a pressure sensor can be arranged below the touch screen. Alternatively, the touch screen integrates a fingerprint sensor and a pressure sensor. The fingerprint sensor is used for collecting fingerprint information input by a user on the touch screen. The pressure sensor is used for collecting the pressing pressure of a user on the touch screen when the fingerprint information is input by the touch screen.
The electronic equipment performs user identity verification on the fingerprint information acquired by the fingerprint sensor under the condition that the pressing pressure acquired by the pressure sensor is greater than or equal to the pressure threshold of the electronic equipment. That is to say, the pressure threshold value of the embodiment of the present application is used to determine whether the pressing pressure collected by the pressure sensor meets the requirement of the electronic device on the pressing pressure used when the user inputs fingerprint information.
Specifically, the electronic device may dynamically adjust the pressure threshold of the electronic device according to the fingerprint identification result, the fingerprint image quality of the fingerprint information, the size of the pressing pressure, and other parameters. Therefore, the setting mode of the pressure threshold of the fingerprint under the screen can be optimized, and the pressure threshold fixed in the electronic equipment is changed into the pressure threshold capable of being dynamically adjusted. The problems that the fixed pressure threshold requires that all users input fingerprint information, the user uses large pressing pressure to bring bad experience and the user identity verification consumes long time are solved, so that the adjusted pressure threshold can better accord with the fingerprint characteristics and pressing habits of the users, and the passing rate and the pressing effect of the user identity verification are considered.
The electronic device in the embodiment of the present application may be, for example, a portable computer (e.g., a mobile phone), a tablet computer, a notebook computer, a Personal Computer (PC), a wearable electronic device (e.g., a smart watch), an Augmented Reality (AR) \ Virtual Reality (VR) device, an in-vehicle computer, and the like, and the following embodiment does not particularly limit a specific form of the electronic device.
The parameters of the fingerprint image quality of the fingerprint information can be used for representing the quality of the fingerprint image. The quality of the fingerprint image can be represented by the definition or the integrity of the fingerprint image, and the quality of the fingerprint image can also be represented by the definition or the integrity of the fingerprint image. Wherein, the higher the definition of the fingerprint image is, the higher the quality of the fingerprint image is. The more complete the fingerprint image, the higher the quality of the fingerprint image. The higher the quality of the fingerprint image, the higher the parameters of the fingerprint image quality. When a user inputs fingerprint information on the touch screen, the larger the pressing pressure of the user on the touch screen is, the tighter the fit between the finger of the user and the touch screen is, and the higher the parameter of the fingerprint image quality of the fingerprint information acquired by the fingerprint sensor is. In this embodiment, the electronic device 100 may analyze the fingerprint information acquired by the fingerprint sensor of the electronic device 100 by using a preset image algorithm, and determine a parameter of the fingerprint image quality of the fingerprint information.
For example, assume that the electronic device is the cell phone 100 shown in fig. 1A. Take the example that the mobile phone 100 displays the screen locking interface 101 shown in (a) of fig. 1A. A fingerprint area 102 for inputting fingerprint information may be included in the lock screen interface 101. In the touch screen of the mobile phone 100, a fingerprint sensor and a pressure sensor are disposed at a position corresponding to the fingerprint area 102. Prompt information for prompting the user to input a fingerprint in the fingerprint area 102, such as "please input a fingerprint in the fingerprint area to unlock the screen! ". As shown in fig. 1A (b), the cellular phone 100 may receive a user input of fingerprint information in the fingerprint area 102. At this time, the fingerprint sensor may collect fingerprint information input by the user. The pressure sensor may capture a pressing pressure of the user against the touch screen when the user inputs fingerprint information in the fingerprint area 102. The user's pressure when inputting fingerprint information in the fingerprint area 102 is different, and the fingerprint image quality of the fingerprint information collected by the fingerprint sensor is different. For example, as shown in (b) of fig. 1A, the pressing pressure of the user on the touch screen may be X or Y, X < Y.
For example, when the pressing pressure of the user on the touch screen is X, the fingerprint image of the fingerprint information collected by the fingerprint sensor is the fingerprint image shown in (c) of fig. 1A. When the pressing pressure of the user on the touch screen is Y, the fingerprint image of the fingerprint information collected by the fingerprint sensor is the fingerprint image shown in (d) of fig. 1A. Wherein the definition of the fingerprint image shown in (d) of fig. 1A is higher than that of the fingerprint image shown in (c) of fig. 1A; and the fingerprint image shown in (d) of fig. 1A is more complete than the fingerprint image shown in (c) of fig. 1A. That is, the parameter of the fingerprint image quality of the fingerprint image shown in (d) of fig. 1A is higher than the parameter of the fingerprint image quality of the fingerprint image shown in (c) of fig. 1A.
In the embodiment of the present application, the unit of the pressing pressure and the pressure threshold may be newtons, abbreviated as cows, and the unit symbol is N. In physics, the gravity of an object is determined by using the formula G as mg. Wherein G is gravity, m is mass, G is constant, and G is about 9.8N/kg. That is, gravity is proportional to mass, so that the unit of mass m may be used as the unit of the pressing pressure and the pressure threshold value in this embodiment. The unit of mass m is kg (unit symbol is kg) or g (unit symbol is g). For example, in the present embodiment, the unit of the pressing pressure and the pressure threshold value may be gram, and the unit symbol is g.
Please refer to fig. 1B, which illustrates a schematic structural diagram of an electronic device 100 according to an embodiment of the present disclosure. The electronic device 100 may include a processor 110, an external memory interface 120, an internal memory 121, a Universal Serial Bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, a sensor module 180, a button 190, a motor 191, an indicator 192, a camera 193, a display screen 194, a Subscriber Identity Module (SIM) card interface 195, and the like.
The sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity light sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, a bone conduction sensor 180M, and the like.
It is to be understood that the illustrated structure of the embodiment of the present invention does not specifically limit the electronic device 100. In other embodiments of the present application, electronic device 100 may include more or fewer components than illustrated, or some components may be combined, some components may be separated, or a different arrangement of components may be used. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
Processor 110 may include one or more processing units, such as: the processor 110 may include an Application Processor (AP), a modem processor, a Graphics Processing Unit (GPU), an Image Signal Processor (ISP), a controller, a memory, a video codec, a Digital Signal Processor (DSP), a baseband-processor neural Network Processor (NPU), and/or a Micro Controller Unit (MCU), etc. The different processing units may be separate devices or may be integrated in one or more processors.
The controller may be, among other things, a neural center and a command center of the electronic device 100. The controller can generate an operation control signal according to the instruction operation code and the timing signal to complete the control of instruction fetching and instruction execution.
A memory may also be provided in processor 110 for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. The memory may hold instructions or data that have just been used or recycled by the processor 110. If the processor 110 needs to reuse the instruction or data, it can be called directly from the memory. Avoiding repeated accesses reduces the latency of the processor 110, thereby increasing the efficiency of the system.
In some embodiments, processor 110 may include one or more interfaces. The interface may include an integrated circuit (I2C) interface, a Serial Peripheral Interface (SPI), an integrated circuit built-in audio (I2S) interface, a Pulse Code Modulation (PCM) interface, a universal asynchronous receiver/transmitter (UART) interface, a Mobile Industry Processor Interface (MIPI), a general-purpose input/output (GPIO) interface, a Subscriber Identity Module (SIM) interface, and/or a Universal Serial Bus (USB) interface, etc.
The I2C interface is a bi-directional synchronous serial bus that includes a Serial Data Line (SDL) and a Serial Clock Line (SCL). In some embodiments, processor 110 may include multiple sets of I2C buses. The processor 110 may be coupled to the touch sensor 180K, the charger, the flash, the camera 193, etc. through different I2C bus interfaces. For example: the processor 110 may be coupled to the touch sensor 180K via an I2C interface, such that the processor 110 and the touch sensor 180K communicate via an I2C bus interface to implement the touch function of the electronic device 100. For example, an I2C interface may connect the MCU with a Touch Panel (TP), and an I2C interface may connect the MCU with a pressure sensor.
The SPI is used by the processor 110 to synchronize serial data transmissions with various peripheral devices, such as fingerprint sensors. Compared with the I2C interface, the data transmission speed of the SPI is faster. For example, the SPI may connect the MCU with the fingerprint sensor. The SPI can also connect the MCU with the TP, and the MCU with the pressure sensor.
The I2S interface may be used for audio communication. In some embodiments, processor 110 may include multiple sets of I2S buses. The processor 110 may be coupled to the audio module 170 via an I2S bus to enable communication between the processor 110 and the audio module 170. In some embodiments, the audio module 170 may communicate audio signals to the wireless communication module 160 via the I2S interface, enabling answering of calls via a bluetooth headset.
The PCM interface may also be used for audio communication, sampling, quantizing and encoding analog signals. In some embodiments, the audio module 170 and the wireless communication module 160 may be coupled by a PCM bus interface. In some embodiments, the audio module 170 may also transmit audio signals to the wireless communication module 160 through the PCM interface, so as to implement a function of answering a call through a bluetooth headset. Both the I2S interface and the PCM interface may be used for audio communication.
The UART interface is a universal serial data bus used for asynchronous communications. The bus may be a bidirectional communication bus. It converts the data to be transmitted between serial communication and parallel communication. In some embodiments, a UART interface is generally used to connect the processor 110 with the wireless communication module 160. For example: the processor 110 communicates with a bluetooth module in the wireless communication module 160 through a UART interface to implement a bluetooth function. In some embodiments, the audio module 170 may transmit the audio signal to the wireless communication module 160 through a UART interface, so as to realize the function of playing music through a bluetooth headset.
MIPI interfaces may be used to connect processor 110 with peripheral devices such as display screen 194, camera 193, and the like. The MIPI interface includes a Camera Serial Interface (CSI), a Display Serial Interface (DSI), and the like. In some embodiments, processor 110 and camera 193 communicate through a CSI interface to implement the capture functionality of electronic device 100. The processor 110 and the display screen 194 communicate through the DSI interface to implement the display function of the electronic device 100.
The GPIO interface may be configured by software. The GPIO interface may be configured as a control signal and may also be configured as a data signal. In some embodiments, a GPIO interface may be used to connect the processor 110 with the camera 193, the display 194, the wireless communication module 160, the audio module 170, the sensor module 180, and the like. The GPIO interface may also be configured as an I2C interface, an I2S interface, a UART interface, a MIPI interface, and the like.
The USB interface 130 is an interface conforming to the USB standard specification, and may specifically be a Mini USB interface, a Micro USB interface, a USB Type C interface, or the like. The USB interface 130 may be used to connect a charger to charge the electronic device 100, and may also be used to transmit data between the electronic device 100 and a peripheral device. And the earphone can also be used for connecting an earphone and playing audio through the earphone. The interface may also be used to connect other electronic devices, such as AR devices and the like.
It should be understood that the connection relationship between the modules according to the embodiment of the present invention is only illustrative, and is not limited to the structure of the electronic device 100. In other embodiments of the present application, the electronic device 100 may also adopt different interface connection manners or a combination of multiple interface connection manners in the above embodiments.
The charging management module 140 is configured to receive charging input from a charger. The charger may be a wireless charger or a wired charger. In some wired charging embodiments, the charging management module 140 may receive charging input from a wired charger via the USB interface 130. In some wireless charging embodiments, the charging management module 140 may receive a wireless charging input through a wireless charging coil of the electronic device 100. The charging management module 140 may also supply power to the electronic device through the power management module 141 while charging the battery 142.
The power management module 141 is used to connect the battery 142, the charging management module 140 and the processor 110. The power management module 141 receives input from the battery 142 and/or the charge management module 140 and provides power to the processor 110, the internal memory 121, the external memory, the display 194, the camera 193, the wireless communication module 160, and the like. The power management module 141 may also be used to monitor parameters such as battery capacity, battery cycle number, battery state of health (leakage, impedance), etc. In some other embodiments, the power management module 141 may also be disposed in the processor 110. In other embodiments, the power management module 141 and the charging management module 140 may be disposed in the same device.
The wireless communication function of the electronic device 100 may be implemented by the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, a modem processor, a baseband processor, and the like.
The antennas 1 and 2 are used for transmitting and receiving electromagnetic wave signals. Each antenna in electronic device 100 may be used to cover a single or multiple communication bands. Different antennas can also be multiplexed to improve the utilization of the antennas. For example: the antenna 1 may be multiplexed as a diversity antenna of a wireless local area network. In other embodiments, the antenna may be used in conjunction with a tuning switch.
The mobile communication module 150 may provide a solution including 2G/3G/4G/5G wireless communication applied to the electronic device 100. The mobile communication module 150 may include at least one filter, a switch, a power amplifier, a Low Noise Amplifier (LNA), and the like. The mobile communication module 150 may receive the electromagnetic wave from the antenna 1, filter, amplify, etc. the received electromagnetic wave, and transmit the electromagnetic wave to the modem processor for demodulation. The mobile communication module 150 may also amplify the signal modulated by the modem processor, and convert the signal into electromagnetic wave through the antenna 1 to radiate the electromagnetic wave. In some embodiments, at least some of the functional modules of the mobile communication module 150 may be disposed in the processor 110. In some embodiments, at least some of the functional modules of the mobile communication module 150 may be disposed in the same device as at least some of the modules of the processor 110.
The modem processor may include a modulator and a demodulator. The modulator is used for modulating a low-frequency baseband signal to be transmitted into a medium-high frequency signal. The demodulator is used for demodulating the received electromagnetic wave signal into a low-frequency baseband signal. The demodulator then transmits the demodulated low frequency baseband signal to a baseband processor for processing. The low frequency baseband signal is processed by the baseband processor and then passed to the application processor. The application processor outputs sound signals through an audio device (not limited to the speaker 170A, the receiver 170B, etc.) or displays images or video through the display screen 194. In some embodiments, the modem processor may be a stand-alone device. In other embodiments, the modem processor may be provided in the same device as the mobile communication module 150 or other functional modules, independent of the processor 110.
The wireless communication module 160 may provide a solution for wireless communication applied to the electronic device 100, including Wireless Local Area Networks (WLANs), such as Wi-Fi networks, Bluetooth (BT), Global Navigation Satellite Systems (GNSS), Frequency Modulation (FM), NFC, Infrared (IR), and the like. The wireless communication module 160 may be one or more devices that integrate at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via the antenna 2, performs frequency modulation and filtering processing on electromagnetic wave signals, and transmits the processed signals to the processor 110. The wireless communication module 160 may also receive a signal to be transmitted from the processor 110, perform frequency modulation and amplification on the signal, and convert the signal into electromagnetic waves through the antenna 2 to radiate the electromagnetic waves. When the electronic device 100 is a first device, the wireless communication module 160 may provide a solution for NFC wireless communication applied on the electronic device 100, meaning that the first device includes an NFC chip. The NFC chip can improve the NFC wireless communication function. When the electronic device 100 is a second device, the wireless communication module 160 may provide a solution for NFC wireless communication applied on the electronic device 100, meaning that the first device includes an electronic tag (e.g., an RFID tag). The NFC chip of the other device is close to the electronic tag to perform NFC wireless communication with the second device.
In some embodiments, antenna 1 of electronic device 100 is coupled to mobile communication module 150 and antenna 2 is coupled to wireless communication module 160 so that electronic device 100 can communicate with networks and other devices through wireless communication techniques. The wireless communication technology may include global system for mobile communications (GSM), General Packet Radio Service (GPRS), code division multiple access (code division multiple access, CDMA), Wideband Code Division Multiple Access (WCDMA), time-division code division multiple access (time-division code division multiple access, TD-SCDMA), Long Term Evolution (LTE), BT, GNSS, WLAN, NFC, FM, and/or IR technologies, etc. The GNSS may include a Global Positioning System (GPS), a global navigation satellite system (GLONASS), a beidou navigation satellite system (BDS), a quasi-zenith satellite system (QZSS), and/or a Satellite Based Augmentation System (SBAS).
The electronic device 100 implements display functions via the GPU, the display screen 194, and the application processor. The GPU is a microprocessor for image processing, and is connected to the display screen 194 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. The processor 110 may include one or more GPUs that execute program instructions to generate or alter display information.
The display screen 194 is used to display images, video, and the like. The display screen 194 includes a display panel. The display panel may adopt a Liquid Crystal Display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode (active-matrix organic light-emitting diode, AMOLED), a flexible light-emitting diode (FLED), a miniature, a Micro-oeld, a quantum dot light-emitting diode (QLED), and the like. In some embodiments, the electronic device 100 may include 1 or N display screens 194, with N being a positive integer greater than 1.
The electronic device 100 may implement a shooting function through the ISP, the camera 193, the video codec, the GPU, the display screen 194, and the application processor, etc.
The ISP is used to process the data fed back by the camera 193. For example, when a photo is taken, the shutter is opened, light is transmitted to the camera photosensitive element through the lens, the optical signal is converted into an electrical signal, and the camera photosensitive element transmits the electrical signal to the ISP for processing and converting into an image visible to naked eyes. The ISP can also carry out algorithm optimization on the noise, brightness and skin color of the image. The ISP can also optimize parameters such as exposure, color temperature and the like of a shooting scene. In some embodiments, the ISP may be provided in camera 193.
The camera 193 is used to capture still images or video. The object generates an optical image through the lens and projects the optical image to the photosensitive element. The photosensitive element may be a Charge Coupled Device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor. The light sensing element converts the optical signal into an electrical signal, which is then passed to the ISP where it is converted into a digital image signal. And the ISP outputs the digital image signal to the DSP for processing. The DSP converts the digital image signal into image signal in standard RGB, YUV and other formats. In some embodiments, the electronic device 100 may include 1 or N cameras 193, N being a positive integer greater than 1.
The digital signal processor is used for processing digital signals, and can process digital image signals and other digital signals. For example, when the electronic device 100 selects a frequency bin, the digital signal processor is used to perform fourier transform or the like on the frequency bin energy.
Video codecs are used to compress or decompress digital video. The electronic device 100 may support one or more video codecs. In this way, the electronic device 100 may play or record video in a variety of encoding formats, such as: moving Picture Experts Group (MPEG) 1, MPEG2, MPEG3, MPEG4, and the like.
The NPU is a neural-network (NN) computing processor that processes input information quickly by using a biological neural network structure, for example, by using a transfer mode between neurons of a human brain, and can also learn by itself continuously. Applications such as intelligent recognition of the electronic device 100 can be realized through the NPU, for example: image recognition, face recognition, speech recognition, text understanding, and the like.
The external memory interface 120 may be used to connect an external memory card, such as a Micro SD card, to extend the memory capability of the electronic device 100. The external memory card communicates with the processor 110 through the external memory interface 120 to implement a data storage function. For example, files such as music, video, etc. are saved in an external memory card.
The internal memory 121 may be used to store computer-executable program code, which includes instructions. The processor 110 executes various functional applications of the electronic device 100 and data processing by executing instructions stored in the internal memory 121. The internal memory 121 may include a program storage area and a data storage area. The storage program area may store an operating system, an application program (such as a sound playing function, an image playing function, etc.) required by at least one function, and the like. The storage data area may store data (such as audio data, phone book, etc.) created during use of the electronic device 100, and the like. In addition, the internal memory 121 may include a high-speed random access memory, and may further include a nonvolatile memory, such as at least one magnetic disk storage device, a flash memory device, a universal flash memory (UFS), and the like.
The electronic device 100 may implement audio functions via the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the headphone interface 170D, and the application processor. Such as music playing, recording, etc.
The audio module 170 is used to convert digital audio information into an analog audio signal for output, and also used to convert an analog audio input into a digital audio signal. The audio module 170 may also be used to encode and decode audio signals. In some embodiments, the audio module 170 may be disposed in the processor 110, or some functional modules of the audio module 170 may be disposed in the processor 110.
The speaker 170A, also called a "horn", is used to convert the audio electrical signal into an acoustic signal. The electronic apparatus 100 can listen to music through the speaker 170A or listen to a handsfree call.
The receiver 170B, also called "earpiece", is used to convert the electrical audio signal into an acoustic signal. When the electronic apparatus 100 receives a phone call or voice information, it can receive a voice by placing the receiver 170B close to the ear of the person.
The microphone 170C, also referred to as a "microphone," is used to convert sound signals into electrical signals. When making a call or sending voice information, the user can input a voice signal to the microphone 170C by speaking the user's mouth near the microphone 170C. The electronic device 100 may be provided with at least one microphone 170C. In other embodiments, the electronic device 100 may be provided with two microphones 170C to achieve a noise reduction function in addition to collecting sound signals. In other embodiments, the electronic device 100 may further include three, four or more microphones 170C to collect sound signals, reduce noise, identify sound sources, perform directional recording, and so on.
The headphone interface 170D is used to connect a wired headphone. The headset interface 170D may be the USB interface 130, or may be a 3.5mm open mobile electronic device platform (OMTP) standard interface, a cellular telecommunications industry association (cellular telecommunications industry association of the USA, CTIA) standard interface.
The pressure sensor 180A is used for sensing a pressure signal, and converting the pressure signal into an electrical signal. In some embodiments, the pressure sensor 180A may be disposed below the display screen 194; alternatively, the pressure sensor 180A may be integrated into the display screen 194. The pressure sensor 180A can be of a wide variety, such as a resistive pressure sensor, an inductive pressure sensor, a capacitive pressure sensor, and the like. The capacitive pressure sensor may be a sensor comprising at least two parallel plates having an electrically conductive material. When a force acts on the pressure sensor 180A, the capacitance between the electrodes changes. The electronic device 100 determines the strength of the pressure from the change in capacitance. When a touch operation is applied to the display screen 194, the electronic apparatus 100 detects the intensity of the touch operation according to the pressure sensor 180A. The electronic apparatus 100 can also calculate the touched position from the detection signal of the pressure sensor 180A. In some embodiments, the touch operations performed at the same touch position but different touch operation intensities may correspond to different operation instructions. For example: and when the touch operation with the touch operation intensity smaller than the first pressure threshold value acts on the short message application icon, executing an instruction for viewing the short message. And when the touch operation with the touch operation intensity larger than or equal to the first pressure threshold value acts on the short message application icon, executing an instruction of newly building the short message.
The gyro sensor 180B may be used to determine the motion attitude of the electronic device 100. In some embodiments, the angular velocity of electronic device 100 about three axes (i.e., the x, y, and z axes) may be determined by gyroscope sensor 180B. The gyro sensor 180B may be used for photographing anti-shake. For example, when the shutter is pressed, the gyro sensor 180B detects a shake angle of the electronic device 100, calculates a distance to be compensated for by the lens module according to the shake angle, and allows the lens to counteract the shake of the electronic device 100 through a reverse movement, thereby achieving anti-shake. The gyroscope sensor 180B may also be used for navigation, somatosensory gaming scenes.
The air pressure sensor 180C is used to measure air pressure. In some embodiments, electronic device 100 calculates altitude, aiding in positioning and navigation, from barometric pressure values measured by barometric pressure sensor 180C.
The magnetic sensor 180D includes a hall sensor. The electronic device 100 may detect the opening and closing of the flip holster using the magnetic sensor 180D. In some embodiments, when the electronic device 100 is a flip phone, the electronic device 100 may detect the opening and closing of the flip according to the magnetic sensor 180D. And then according to the opening and closing state of the leather sheath or the opening and closing state of the flip cover, the automatic unlocking of the flip cover is set.
The acceleration sensor 180E may detect the magnitude of acceleration of the electronic device 100 in various directions (typically three axes). The magnitude and direction of gravity can be detected when the electronic device 100 is at rest. The method can also be used for recognizing the posture of the electronic equipment, and is applied to horizontal and vertical screen switching, pedometers and other applications.
A distance sensor 180F for measuring a distance. The electronic device 100 may measure the distance by infrared or laser. In some embodiments, taking a picture of a scene, electronic device 100 may utilize range sensor 180F to range for fast focus.
The proximity light sensor 180G may include, for example, a Light Emitting Diode (LED) and a light detector, such as a photodiode. The light emitting diode may be an infrared light emitting diode. The electronic device 100 emits infrared light to the outside through the light emitting diode. The electronic device 100 detects infrared reflected light from a nearby object using a photodiode. When sufficient reflected light is detected, it can be determined that there is an object near the electronic device 100. When insufficient reflected light is detected, the electronic device 100 may determine that there is no object near the electronic device 100. The electronic device 100 can detect that the user holds the electronic device 100 close to the ear by using the proximity light sensor 180G, so as to automatically turn off the screen to save power. The proximity light sensor 180G may also be used in a holster mode, a pocket mode automatically unlocks and locks the screen.
The ambient light sensor 180L is used to sense the ambient light level. The electronic device 100 may adaptively adjust the brightness of the display screen 194 according to the perceived ambient light level. The ambient light sensor 180L may also be used to automatically adjust the white balance when taking a picture. The ambient light sensor 180L may also cooperate with the proximity light sensor 180G to detect whether the electronic device 100 is in a pocket to prevent accidental touches.
The fingerprint sensor 180H is used to collect fingerprint information. The electronic device 100 can perform user identity verification by using the fingerprint characteristics of the collected fingerprint information to realize fingerprint unlocking, access to an application lock, fingerprint photographing, fingerprint incoming call answering and the like.
In this embodiment, the fingerprint sensor 180H may be disposed under the display screen 194; alternatively, the fingerprint sensor 180H may be integrated in the display screen 194. The fingerprint sensor 180H may be disposed at a fixed position of the display screen 194. For example, when the electronic device 100 is a touch-screen cell phone, the fingerprint sensor 180H may be disposed in a position of the touch screen (i.e., the display screen 194) of the touch-screen cell phone that is close to the underside of the touch-screen cell phone. For example, as shown in fig. 2, the fingerprint sensor 180H may be disposed at a position a of the display screen 194. Alternatively, the fingerprint sensor 180H may be disposed in the entire display screen 194. The pressure sensor 180A may be disposed at a position close to the fingerprint sensor 180H in the display screen 194, so that the pressure sensor 180A may conveniently collect the pressing pressure on the display screen 194 when the user inputs the fingerprint information. For example, as shown in fig. 2, the pressure sensor 180A may be disposed at an upper side of a preset position a in the display screen 194.
The temperature sensor 180J is used to detect temperature. In some embodiments, electronic device 100 implements a temperature processing strategy using the temperature detected by temperature sensor 180J. For example, when the temperature reported by the temperature sensor 180J exceeds a threshold, the electronic device 100 performs a reduction in performance of a processor located near the temperature sensor 180J, so as to reduce power consumption and implement thermal protection. In other embodiments, the electronic device 100 heats the battery 142 when the temperature is lower than another threshold, so as to avoid abnormal shutdown of the electronic device 100 due to low temperature. In other embodiments, when the temperature is lower than a further threshold, the electronic device 100 performs boosting on the output voltage of the battery 142 to avoid abnormal shutdown due to low temperature.
The touch sensor 180K is also referred to as a "Touch Panel (TP)". The touch sensor 180K may be disposed on the display screen 194, and the touch sensor 180K and the display screen 194 form a touch screen, which is also called a "touch screen". The touch sensor 180K is used to detect a touch operation applied thereto or thereabout. The touch sensor can communicate the detected touch operation to the application processor to determine the touch event type. Visual output associated with the touch operation may be provided through the display screen 194. In other embodiments, the touch sensor 180K may be disposed on a surface of the electronic device 100, different from the position of the display screen 194.
The bone conduction sensor 180M may acquire a vibration signal. In some embodiments, the bone conduction sensor 180M may acquire a vibration signal of the human vocal part vibrating the bone mass. The bone conduction sensor 180M may also contact the human pulse to receive the blood pressure pulsation signal. In some embodiments, the bone conduction sensor 180M may also be disposed in a headset, integrated into a bone conduction headset. The audio module 170 may analyze a voice signal based on the vibration signal of the bone mass vibrated by the sound part acquired by the bone conduction sensor 180M, so as to implement a voice function. The application processor can analyze heart rate information based on the blood pressure beating signal acquired by the bone conduction sensor 180M, so as to realize the heart rate detection function.
The keys 190 include a power-on key, a volume key, and the like. The keys 190 may be mechanical keys. Or may be touch keys. The electronic device 100 may receive a key input, and generate a key signal input related to user setting and function control of the electronic device 100.
The motor 191 may generate a vibration cue. The motor 191 may be used for both an incoming call vibration prompt and a touch vibration feedback. For example, touch operations applied to different applications (e.g., photographing, audio playing, etc.) may correspond to different vibration feedback effects. The motor 191 may also respond to different vibration feedback effects for touch operations applied to different areas of the display screen 194. Different application scenes (such as time reminding, information receiving, alarm clock, game and the like) can also correspond to different vibration feedback effects. The touch vibration feedback effect may also support customization.
Indicator 192 may be an indicator light that may be used to indicate a state of charge, a change in charge, or a message, missed call, notification, etc.
The SIM card interface 195 is used to connect a SIM card. The SIM card can be attached to and detached from the electronic apparatus 100 by being inserted into the SIM card interface 195 or being pulled out from the SIM card interface 195. The electronic device 100 may support 1 or N SIM card interfaces, N being a positive integer greater than 1. The SIM card interface 195 may support a Nano SIM card, a Micro SIM card, a SIM card, etc. The same SIM card interface 195 can be inserted with multiple cards at the same time. The types of the plurality of cards may be the same or different. The SIM card interface 195 may also be compatible with different types of SIM cards. The SIM card interface 195 may also be compatible with external memory cards. The electronic device 100 interacts with the network through the SIM card to implement functions such as communication and data communication. In some embodiments, the electronic device 100 employs esims, namely: an embedded SIM card. The eSIM card can be embedded in the electronic device 100 and cannot be separated from the electronic device 100.
The embodiment of the present application provides a method for adjusting a pressure threshold, as shown in fig. 3, the method for adjusting a pressure threshold may include S301 to S306:
s301, the electronic device 100 displays a first interface.
When the electronic device 100 displays the first interface, fingerprint information input by the user on the first interface may be received, and the fingerprint information is used for user identity authentication.
Illustratively, the first interface may be a lock screen interface of the electronic device 100. For example, the first interface may be the lock screen interface 101 shown in (a) of fig. 1A.
Alternatively, the first interface may be an order payment interface of the electronic device 100. For example, the first interface may be an order payment interface 403 for panning shown in (b) of fig. 4. The electronic apparatus 100 displays an order payment interface 403 shown in (b) in fig. 4 in response to a user's click operation (e.g., a one-click operation) on an "immediate payment" button 402 in an order payment interface 401 of panning shown in (a) in fig. 4. The order payment interface 403 includes a fingerprint area 404. The fingerprint area 404 is used to input fingerprint information. Prompt information for prompting the user to enter a fingerprint in the fingerprint area 404, such as "please enter a fingerprint in the fingerprint area to complete payment! ".
Alternatively, the first interface may be an application login interface (i.e., an application unlock interface) of the electronic device 100. For example, the first interface may be the payroll unlocking interface 501 shown in fig. 5. Fingerprint area 502 is included in paymate unlock interface 501. The fingerprint area 502 is used for inputting fingerprint information. Prompt information for prompting the user to input a fingerprint in the fingerprint area 502, such as "please input a fingerprint in the fingerprint area to unlock the Payment application! ".
In this embodiment, the first interface includes, but is not limited to, the screen locking interface, the order payment interface, and the application login interface. The first interface in this embodiment may be any interface that may be used to receive fingerprint information input by a user for user identity authentication, for example, the interface may be a graphical user interface.
S302, the electronic device 100 collects fingerprint information input by the user on the first interface through the fingerprint sensor 180H, and collects pressing pressure of the user on the touch screen when the fingerprint information is input on the first interface through the pressure sensor 180A.
The fingerprint sensor 180H of the electronic device 100 may collect fingerprint information input by the user on the first interface. For example, the fingerprint sensor 180H may collect fingerprint information input by the user in the fingerprint area 102 in the first interface 101 shown in (b) of fig. 1A. For another example, the fingerprint sensor 180H may collect fingerprint information input by the user in the fingerprint area 404 in the first interface 403 shown in (b) of fig. 4. As another example, the fingerprint sensor 180H may collect fingerprint information input by the user in the fingerprint area 502 of the first interface 501 shown in fig. 5.
The pressure sensor 180A of the electronic device 100 may collect a pressing pressure of the user against the touch screen when the fingerprint information is input at the first interface. The pressing pressure may be a maximum pressing pressure of the user on the touch screen when the fingerprint information is input on the first interface.
S303, the electronic device 100 determines whether the pressing pressure collected by the pressure sensor 180A is greater than or equal to a pressure threshold of the electronic device 100.
Before the electronic device 100 leaves the factory, an initial pressure threshold may be configured in the electronic device 100. The initial pressure threshold may be a pressure threshold obtained by counting pressing pressures of a large number of users on the touch screen when the fingerprint information is input by the touch screen, and analyzing the quality of the fingerprint image of the fingerprint information input by using the corresponding pressing pressure and the user identity verification result. For most users, when the user inputs fingerprint information on the touch screen by using the pressing pressure greater than or equal to the initial pressure threshold, the fingerprint image quality of the fingerprint information acquired by the fingerprint sensor 180H can ensure that the user identity is verified. Of course, the premise of passing the user identity verification is that the user inputs fingerprint information using a correct finger.
If the electronic device 100 never adjusts the pressure threshold (i.e., the initial pressure threshold) of the electronic device 100, the pressure threshold of the electronic device 100 is the initial pressure threshold configured when the electronic device 100 is shipped. If the electronic device 100 adjusts the initial pressure threshold; then, the pressure threshold of the electronic device 100 is the adjusted pressure threshold of the electronic device 100. It should be noted that if the electronic device 100 adjusts the pressure threshold across the electronic device 100 multiple times; then, the pressure threshold of the electronic device 100 is the pressure threshold that the electronic device 100 has adjusted last time. For example, assuming that the initial pressure threshold of the electronic device 100 is 40g, the electronic device 100 adjusts the pressure threshold of the electronic device 100 twice, and increases the initial pressure threshold by 6g for the first time, so as to obtain a pressure threshold 46 g; the pressure threshold was adjusted a second time down by 5g, resulting in a pressure threshold of 41 g. At this time, the pressure threshold of the electronic apparatus 100 is 41 g.
It is understood that if the pressure sensor 180A senses a pressure greater than or equal to the pressure threshold of the electronic device 100, it indicates that the user's finger is more closely attached to the touch screen. In this case, the fingerprint image quality parameter of the fingerprint information collected by the fingerprint sensor 180H is relatively high. When the electronic device 100 performs the user identity verification using the fingerprint information, the possibility that the user identity verification passes is high. At this time, the electronic device 100 may perform user identity verification using the fingerprint information, that is, the electronic device 100 may perform S304.
If the pressure sensor 180A collects a pressure less than the pressure threshold of the electronic device 100, it indicates that the user's finger is not in close proximity to the touch screen. In this case, the parameter of the fingerprint image quality of the fingerprint information collected by the fingerprint sensor 180H is not so high. When the electronic device 100 performs the user identity verification by using the fingerprint information, the possibility that the user identity verification passes is not very high. At this time, the electronic device 100 does not perform user identity verification using the fingerprint information, and the electronic device 100 may discard (i.e., delete) the fingerprint information. The electronic device 100 may prompt the user to increase the pressing pressure when entering the fingerprint information. For example, it is assumed that the first interface described above is the first interface 101 shown in (b) in fig. 1A. The electronic device 100 receives fingerprint information input by a user in a fingerprint area 102 of the first interface 101. The pressure sensor 180A may capture a real-time pressing pressure of the user against the touch screen when the first fingerprint information is input in the fingerprint area 102. When the pressing pressure collected by the pressure sensor 180A is less than the pressure threshold of the electronic device 100, the electronic device 100 may display a prompt message "please increase the pressing pressure and input a fingerprint in the fingerprint area to unlock the screen! "601.
S304, the electronic device 100 performs user identity verification by using the fingerprint information.
If the user identity verification performed by the electronic device 100 using the fingerprint information passes, the parameter indicating the fingerprint image quality of the fingerprint information acquired by the fingerprint sensor 180H of the electronic device 100 is higher, so that the user identity verification can be guaranteed to pass. The higher parameter of the fingerprint image quality of the fingerprint information acquired by the fingerprint sensor 180H may be due to two reasons: (1) the fingerprint lines of the user are clear and are easy to collect; (2) the real-time pressing pressure used when the user inputs the fingerprint information is large, and the finger is tightly attached to the touch screen. Whether it is for reason (1) or reason (2), if the electronic device 100 properly lowers the pressure threshold, the fingerprint sensor 180H re-collects the fingerprint information of the user, and the electronic device 100 may pass the user identity verification using the fingerprint information re-collected by the fingerprint sensor 180H. Therefore, in this case, the electronic apparatus 100 can appropriately turn down the pressure threshold of the electronic apparatus 100. Specifically, if the electronic device 100 passes the user identity verification using the fingerprint information, the electronic device 100 may execute S305.
If the user identity is verified, the electronic device 100 may further display a graphical user interface corresponding to the first interface after the user identity is verified. For example, when the first interface is the screen locking interface 101 shown in (b) of fig. 1A, if the user identity verification is passed, the electronic device 100 (e.g., the mobile phone 100) may display the main interface (i.e., the desktop) of the mobile phone 100. The main interface includes icons of a plurality of applications. For another example, when the first interface is the order payment interface 403 of panning shown in (b) of fig. 4, if the user identity is verified, the electronic device 100 (e.g., the mobile phone 100) may display a prompt interface (not shown in the drawings) for successful payment.
If the user identity verification performed by the electronic device 100 using the fingerprint information is not passed, the following two reasons may be considered: (1) the user does not use the correct finger to input fingerprint information; (2) the fingerprint lines of the user are fuzzy and not easy to be collected, and the pressing pressure used when the user inputs the fingerprint information can not ensure that the fingerprint sensor 180H collects the fingerprint information with higher parameters of the fingerprint image quality. If the user id is not verified due to the reason (2), the electronic apparatus 100 appropriately increases the pressure threshold of the electronic apparatus 100, so that the possibility that the user id verification using the fingerprint information re-acquired by the fingerprint sensor 180H is passed can be increased. Therefore, in this case, the electronic device 100 may turn up the pressure threshold of the electronic device 100. Specifically, if the user identity verification performed by the electronic device 100 using the fingerprint information fails, the electronic device 100 may execute S306.
S305, the electronic device 100 reduces the pressure threshold of the electronic device 100.
In some embodiments, electronic device 100 may turn down the pressure threshold of electronic device 100 at a first preset pace. Wherein the first preset step distance may be a smaller pressing pressure. For example, the first preset step distance may be any pressure value such as 2g, 3g or 5 g. The electronic device 100 adjusts the pressure threshold of the electronic device 100 with a smaller pressing pressure (i.e., the first preset step distance), which does not have a larger influence on the user experience of fingerprint identification. That is, the pressure threshold of the electronic device 100 may be dynamically adjusted without the user's perception.
For example, it is assumed that the pressing pressure is 50g, the pressure threshold of the electronic device 100 is 45g, and the first preset step distance is 5 g. Since the pressing pressure 50g is greater than the pressure threshold 45g, the electronic device 100 may perform user identity verification using the fingerprint information collected by the fingerprint sensor 180H. If the user identity is verified, the electronic device 100 may decrease the pressure threshold 45g of the electronic device 100 by 5g, which is the first preset step size, to obtain the pressure threshold 40 g. At this time, the pressure threshold of the electronic apparatus 100 is 40 g.
In this embodiment, the lower limit value of the pressure threshold (i.e., the preset lower limit pressure threshold) is configured in advance in the electronic device 100. The preset lower limit pressure threshold is the lowest pressure threshold that can be set in the electronic device 100. If the adjusted pressure threshold of the electronic device 100 after performing S305 is lower than the preset lower limit pressure threshold, the electronic device 100 may set the pressure threshold of the electronic device to the preset lower limit pressure threshold.
S306, the electronic device 100 raises the pressure threshold of the electronic device 100.
In some embodiments, the electronic device 100 may adjust the pressure threshold of the electronic device 100 to be the sum of the above-mentioned pressing pressure and the second preset step distance. Wherein the second preset step distance may be a smaller pressing pressure. For example, the second preset step distance may be any pressure value such as 2g, 3g, 5g or 6 g. The electronic device 100 increases the pressure threshold of the electronic device 100 by a smaller pressing pressure (i.e., the second preset step distance), which does not have a larger influence on the user experience of fingerprint identification. That is, the pressure threshold of the electronic device 100 may be dynamically adjusted without the user's perception.
It should be noted that the second preset step distance may be the same as the first preset step distance. The second preset stride page may also be different from the first preset stride.
In connection with the above example, assume that the second predetermined step size is 6 g. Since the pressing pressure 50g is greater than the pressure threshold 45g, the electronic device 100 can perform the user identity verification using the fingerprint information collected by the fingerprint sensor 180H. If the user identity verification fails, the electronic device 100 may adjust the pressure threshold of the electronic device 200 to be the sum of the pressing pressure 50g and the second preset step 6 g. I.e. the adjusted pressure threshold is 56 g.
In this embodiment, when the pressure threshold of the electronic device 100 is increased for the electronic device 100, the second preset step distance may be added to the pressing pressure as a new pressure threshold.
In this embodiment, the user identity is verified on the premise that the pressing pressure is greater than the pressure threshold of the electronic device 100. That is, S304 is performed on the premise that the pressing pressure is greater than the pressure threshold of the electronic apparatus 100. That is, before the electronic apparatus 100 performs S306, the pressure threshold of the electronic apparatus 100 (i.e., the pressure threshold before adjustment) is smaller than the pressing pressure at which the user inputs the fingerprint information. Therefore, if the second preset step distance is added as a new pressure threshold value on the basis of the pre-adjustment pressure threshold value, the new pressure threshold value may also be smaller than the pressing pressure of the user to input the fingerprint information.
If the new pressure threshold is smaller than the above-mentioned pressing pressure, when the user inputs fingerprint information again using the same pressing pressure, the electronic device 100 may perform S304 for user identity verification using the fingerprint information collected by the fingerprint sensor 180H since the pressing pressure is greater than the new pressure threshold. However, if the user still inputs fingerprint information using the same pressing pressure; the quality of the fingerprint image of the fingerprint information acquired by the fingerprint sensor 180H is not improved compared to the quality of the fingerprint image of the fingerprint information acquired last time (i.e., before the pressure threshold is adjusted). It can be seen that if the second preset step distance is added to the pressure threshold before adjustment as a new pressure threshold, the new pressure threshold cannot be used to guide the user to increase the pressing pressure when inputting the fingerprint information, and thus the quality of the fingerprint image of the fingerprint information collected by the fingerprint sensor 180H may not be improved.
In the embodiment of the present application, a second preset step distance may be added as a new pressure threshold value on the basis of the pressing pressure of the user for inputting the fingerprint information. Wherein the new pressure threshold is greater than the pressing pressure. In this case, if the user inputs fingerprint information using the same pressing pressure again, the electronic apparatus 100 may determine that the pressing pressure is less than the new pressure threshold, and may prompt the user to increase the pressing pressure. If the pressing pressure is increased by the user, the degree of fitting of the finger of the user to the touch screen is increased, and the parameter of the fingerprint image quality of the fingerprint information acquired by the fingerprint sensor 180H is higher, so that the possibility that the user identity verification performed by the electronic device 100 is passed can be improved.
In this embodiment, the upper limit value of the pressure threshold (i.e., the preset upper limit pressure threshold) is configured in advance in the electronic device 100. The preset upper limit pressure threshold is the highest pressure threshold that can be set in the electronic device 100. If the adjusted pressure threshold of the electronic device 100 after performing S306 is higher than the preset upper limit pressure threshold, the electronic device 100 may set the pressure threshold of the electronic device to the preset upper limit pressure threshold.
The embodiment of the application provides a method for adjusting a pressure threshold, where the electronic device 100 may decrease the pressure threshold by a first preset step distance when the user identity passes verification; when the user identity verification fails, the pressure threshold of the electronic device 100 is adjusted to be the sum of the pressing pressure and the second preset step distance, that is, the pressure threshold is increased. That is, the electronic device 100 may dynamically adjust the pressure threshold, and improve the user experience of the user in performing the fingerprint recognition under the screen.
In some embodiments, if the user identity is verified, the electronic device 100 directly performs S305 to lower the pressure threshold, which may reduce the possibility that the fingerprint information passes the user identity verification after the electronic device 100 collects the fingerprint information next time. For example, it is assumed that the parameters of the fingerprint image quality of the fingerprint information acquired by the electronic device 100 this time are not very high, but the user identity verification can be guaranteed to pass. If the pressure threshold is lowered by the electronic device 100, the fingerprint information for the next user identity verification may be the fingerprint information input by the user with a lower pressing pressure, and the parameter of the fingerprint image quality of the fingerprint information is lower than that of the fingerprint image quality of the fingerprint information acquired this time. The electronic device 100 performs user identity verification by using the fingerprint information, and the possibility that the user identity verification passes is low.
Based on this situation, as shown in fig. 7, after S304, if the user identity is verified, before S305, the method of the embodiment of the present application may further include S701:
s701, the electronic device 100 determines whether the electronic device 100 satisfies a first preset condition.
Wherein, if the electronic device 100 does not satisfy the first preset condition, the electronic device 100 may perform S305. If the electronic device 100 satisfies the first preset condition, the electronic device 100 does not adjust the pressure threshold of the electronic device 100.
For example, the first preset condition may include at least one of the following conditions (1), (2), and (3):
condition (1): the passing rate of the user identity verification performed by the electronic device 100 is lower than or equal to a preset success rate threshold.
Condition (2): the parameter of the fingerprint image quality of the fingerprint information collected by the electronic device 100 is lower than or equal to the preset lower limit quality threshold.
Condition (3): the pressure threshold of the electronic device 100 (i.e., the pressure threshold of the electronic device 100 before S305 is executed) is the preset lower limit pressure threshold.
The electronic device 100 meets a first preset condition, which may specifically include: the electronic apparatus 100 satisfies at least one of the first preset conditions. For example, it is assumed that the first preset condition includes the above condition (1), condition (2), and condition (3). Then, if the electronic device 100 satisfies any one or any two or all three of the conditions (1), (2) and (3), the electronic device 100 satisfies a first preset condition. For another example, it is assumed that the first preset condition includes the condition (1) and the condition (3). Then, if the electronic apparatus 100 satisfies any one of the condition (1) and the condition (3), or both of the conditions, the electronic apparatus 100 satisfies a first preset condition.
For example, it is assumed that the first preset condition includes the above condition (1), condition (2), and condition (3). Then, if the electronic apparatus 100 does not satisfy the condition (1), and the electronic apparatus 100 does not satisfy the condition (2), and the electronic apparatus 100 does not satisfy the condition (3), the electronic apparatus 100 does not satisfy the first preset condition. For another example, it is assumed that the first preset condition includes the condition (1) and the condition (2). Then, if the electronic apparatus 100 does not satisfy the condition (1) and the electronic apparatus 100 does not satisfy the condition (2), the electronic apparatus 100 does not satisfy the first preset condition.
For example, in this embodiment, S701 is described by taking the example that the first preset condition includes the condition (1), the condition (2), and the condition (3). As shown in fig. 8, S701 shown in fig. 7 may include S801-S803:
s801, the electronic device 100 determines whether a passing rate of the user identity verification performed by the electronic device 100 is lower than or equal to a preset power threshold.
The electronic device 100 may count the total number of times of user identity verification performed by the electronic device 100 and the number of times of user identity verification passing; and calculating the ratio of the number of times of passing the user identity verification to the total number of times of performing the user identity verification, wherein the ratio is the passing rate of performing the user identity verification by the electronic equipment 100. For example, if the total number of user id checks performed by the electronic device is 10, and 7 user id checks in the 10 user id checks pass, the passing rate of the user id check performed by the electronic device 100 is 70%.
It should be noted that, when the electronic device 100 is used for the first time after being shipped from a factory, the initial value of the passing rate of the user identity verification performed by the electronic device 100 is 100%. After the electronic device 100 performs the user identity verification once, if the user identity verification passes, the passing rate of the user identity verification performed by the electronic device 100 is still 100%. If the user identity check is not passed, the passing rate of the user identity check performed by the electronic device 100 is 0.
It can be understood that if the passing rate of the user identity verification performed by the electronic device 100 is lower than or equal to the preset success rate threshold, it indicates that the passing rate of the user identity verification performed by the electronic device 100 is lower. In this case, if the electronic device 100 turns down the pressure threshold of the electronic device 100, the user identity verification performed by the electronic device 100 next time may fail. Therefore, as shown in fig. 8, after S801, if the passing rate of the user identity verification performed by the electronic device 100 is lower than or equal to the preset success rate threshold, the electronic device 100 does not adjust the pressure threshold.
If the passing rate of the user identity verification performed by the electronic device 100 is higher than the preset success rate threshold, it indicates that the passing rate of the user identity verification performed by the electronic device 100 is higher. In this case, it is not very likely that turning down the pressure threshold of the electronic device 100 will cause the next user identity verification by the electronic device 100 to fail. Then the electronic device 100 may attempt to adjust the low pressure threshold. If the passing rate of the user identity verification performed by the electronic device 100 is higher than the preset success rate threshold, the electronic device 100 may lower the pressure threshold of the electronic device 100. As shown in fig. 8, after S801, if the passing rate of the user identity verification performed by the electronic device 100 is higher than the preset success rate threshold, the electronic device 100 may perform S802:
s802, the electronic device 100 determines whether a parameter of the fingerprint image quality of the fingerprint information is lower than or equal to a preset lower quality threshold.
The preset lower limit quality threshold is a fingerprint image quality of a large amount of statistical fingerprint information, and the lower limit value of the parameter of the fingerprint image quality is determined by the result of user identity verification of a large amount of electronic equipment by adopting fingerprint information with different fingerprint image qualities.
It can be understood that if the user identity verification passes, the parameter of the fingerprint image quality of the fingerprint information adopted for the user identity verification is lower than or equal to the preset lower-limit quality threshold; in this case, if the electronic device 100 turns down the pressure threshold of the electronic device 100, the fingerprint information for the next user identity verification may be the fingerprint information input by the user with a lower pressing pressure, and the parameter of the fingerprint image quality of the fingerprint information is lower than that of the fingerprint image quality of the fingerprint information acquired this time. The electronic device 100 performs user identity verification by using the fingerprint information, and the possibility that the user identity verification passes is low. Therefore, as shown in fig. 8, after S802, if the parameter of the fingerprint image quality of the fingerprint information is lower than or equal to the preset lower limit quality threshold, the electronic device 100 does not adjust the pressure threshold.
If the user identity verification is passed, the parameter of the fingerprint image quality of the fingerprint information adopted for the user identity verification is higher than a preset lower limit quality threshold value; in this case, it is not very likely that turning down the pressure threshold of the electronic device 100 will cause the next user identity verification by the electronic device 100 to fail. Then the electronic device 100 may attempt to adjust the low pressure threshold. As shown in fig. 8, after S802, if the parameter of the fingerprint image quality of the fingerprint information is higher than the preset lower quality threshold, the electronic device 100 may perform S803:
s803, the electronic device 100 determines whether the pressure threshold of the electronic device 100 is a preset lower limit pressure threshold.
If the pressure threshold of the electronic device 100 is the preset lower limit pressure threshold, it indicates that the pressure threshold of the electronic device 100 is the lowest value of the pressure thresholds of the electronic device 100. In this case, the electronic device 100 does not need to readjust the pressure threshold of the electronic device 100. As shown in fig. 8, if the pressure threshold of the electronic device 100 is the preset lower limit pressure threshold, the electronic device 100 does not adjust the pressure threshold.
Since the preset lower limit pressure threshold is the lowest pressure threshold that can be set in the electronic device 100; therefore, if the pressure threshold of the electronic device 100 is not the preset lower limit pressure threshold, the pressure threshold of the electronic device 100 is greater than the preset lower limit pressure threshold. As shown in fig. 8, if the pressure threshold of the electronic device 100 is not the preset lower limit pressure threshold, the electronic device 100 may turn down the pressure threshold of the electronic device 100, i.e., the electronic device 100 may perform S305.
It is to be noted that one way in which the electronic apparatus 100 determines whether the electronic apparatus 100 satisfies the above-described condition (1), condition (2), and condition (3) is given in fig. 8 by way of example only. In the embodiment of the present application, the electronic device 100 is not limited to determine whether the electronic device 100 satisfies the sequence of the condition (1), the condition (2), and the condition (3). That is, in this embodiment of the application, the sequence of executing S801, S802, and S803 by the electronic device 100 is not limited.
For example, after S304, if the user identity is verified, the electronic device 100 may first perform S802; after S802, if the parameter of the fingerprint image quality of the fingerprint information is higher than the preset lower quality threshold, the electronic device 100 may perform S801; after S801, if the passing rate of the user identity verification performed by the electronic device 100 is higher than the preset success rate threshold, the electronic device may execute S803; after S803, if the pressure threshold of the electronic device 100 is not the preset lower limit pressure threshold, the electronic device 100 may perform S305.
For another example, after S304, if the user identity is verified, the electronic device 100 may first perform S802; after S802, if the parameter of the fingerprint image quality of the fingerprint information is higher than the preset lower quality threshold, the electronic device 100 may perform S803; after S803, if the pressure threshold of the electronic device 100 is not the preset lower limit pressure threshold, the electronic device may perform S801; after S801, if the passing rate of the user identity verification performed by the electronic device 100 is higher than the preset success rate threshold, the electronic device 100 may execute S305.
For another example, after S304, if the user identity is verified, the electronic device 100 may first perform S803; after S803, if the pressure threshold of the electronic device 100 is not the preset lower limit pressure threshold, the electronic device 100 may perform S801; after S801, if the passing rate of the user identity verification performed by the electronic device 100 is higher than the preset success rate threshold, the electronic device may perform S802; after S802, if the parameter of the fingerprint image quality of the fingerprint information is higher than the preset lower quality threshold, the electronic device 100 may perform S305.
It is to be noted that the first preset condition may include at least one of the following three conditions. For example, in some embodiments, the first preset condition may include only the condition (1) described above. In this embodiment, if the user identity check passes, the electronic device 100 may perform S801; after S801, if the passing rate of the user identity verification performed by the electronic device 100 is higher than the preset success rate threshold, the electronic device may directly perform S305.
In other embodiments, the first preset condition may include only the condition (2). In this embodiment, if the user identity check passes, the electronic device 100 may perform S802; after S802, if the parameter of the fingerprint image quality of the fingerprint information is higher than the preset lower quality threshold, the electronic device 100 may directly perform S305.
In other embodiments, the first preset condition may include the condition (1) and the condition (2). In this embodiment, if the user identity check passes, the electronic device 100 may perform S801; after S801, if a passing rate of the user identity verification performed by the electronic device 100 is higher than a preset success rate threshold, the electronic device 100 may execute S802; after S802, if the parameter of the fingerprint image quality of the fingerprint information is higher than the preset lower quality threshold, the electronic device 100 may directly perform S305.
In other embodiments, the first preset condition may include the condition (2) and the condition (3). In this embodiment, if the user identity check passes, the electronic device 100 may perform S803; after S803, if the pressure threshold of the electronic device 100 is not the preset lower limit pressure threshold, the electronic device 100 may perform S802; after S802, if the parameter of the fingerprint image quality of the fingerprint information is higher than the preset lower quality threshold, the electronic device 100 may directly perform S305.
In some embodiments, if the user identity verification fails, the electronic device 100 directly performs S306 to raise the pressure threshold of the electronic device 100, which may affect the user experience when the electronic device 100 next acquires fingerprint information. For example, if the fingerprint information collected by the fingerprint sensor 180H is not the correct fingerprint information, the user identity check using the fingerprint information will not pass even if the electronic device 100 turns the pressure threshold high. Moreover, after the pressure threshold is increased, the user needs to use a larger real-time pressing degree to ensure that the real-time pressing degree is greater than the increased pressure threshold when inputting fingerprint information next time, and user experience is affected.
Based on this situation, as shown in fig. 7, after S304, if the user identity check fails, before S306, the method of this embodiment of the application may further include S702:
s702, the electronic device 100 determines whether the electronic device 100 satisfies a second preset condition.
Wherein, if the electronic device 100 does not satisfy the second preset condition, the electronic device 100 may perform S306. If the electronic device 100 satisfies the second preset condition, the electronic device 100 does not adjust the pressure threshold of the electronic device 100.
For example, the second preset condition may include at least one of the following conditions (4), (5), and (6):
condition (4): the parameter of the fingerprint image quality of the fingerprint information collected by the electronic device 100 is higher than or equal to the preset upper limit quality threshold.
Condition (5): the pressure threshold of the electronic apparatus 100 (i.e. the pressure threshold of the electronic apparatus 100 before S306 is executed) is the preset upper limit pressure threshold.
Condition (6): the pressing pressure collected by the pressure sensor 180A of the electronic device 100 is greater than or equal to a preset upper pressure limiting threshold.
The electronic device 100 meets a second preset condition, which may specifically include: the electronic apparatus 100 satisfies at least one of the second preset conditions. For example, it is assumed that the second preset condition includes the condition (4), the condition (5), and the condition (6). Then, if the electronic device 100 satisfies any one or any two or all three of the conditions (4), (5) and (6), the electronic device 100 satisfies a second preset condition. For another example, it is assumed that the second preset condition includes the condition (4) and the condition (6). Then, if the electronic apparatus 100 satisfies any one of the condition (4) and the condition (6), or both of the conditions, the electronic apparatus 100 satisfies a second preset condition.
For example, it is assumed that the second preset condition includes the condition (4), the condition (5), and the condition (6). Then, if the electronic apparatus 100 does not satisfy the condition (4), and the electronic apparatus 100 does not satisfy the condition (5), and the electronic apparatus 100 does not satisfy the condition (6), the electronic apparatus 100 does not satisfy the second preset condition. For another example, it is assumed that the second preset condition includes the condition (4) and the condition (5). Then, if the electronic apparatus 100 does not satisfy the condition (4) and the electronic apparatus 100 does not satisfy the condition (5), the electronic apparatus 100 does not satisfy the second preset condition.
For example, the present embodiment will describe S702 by taking the second preset condition as an example, where the second preset condition includes the condition (4), the condition (5), and the condition (6). As shown in fig. 8, S702 shown in fig. 7 may include S901-S903:
s901, the electronic device 100 determines whether a parameter of the fingerprint image quality of the fingerprint information acquired by the electronic device 100 is higher than or equal to a preset upper quality threshold.
The preset upper limit quality threshold is the upper limit value of the parameter of the fingerprint image quality determined by counting the fingerprint image quality of a large amount of fingerprint information and the result of user identity verification of a large amount of electronic equipment by adopting the fingerprint information with different fingerprint image qualities.
It can be understood that, if the user identity verification fails, but the parameter of the fingerprint image quality of the fingerprint information used for performing the user identity verification this time is higher than or equal to the preset upper quality threshold, it may be because the fingerprint information input by the user is not correct fingerprint information. That is, the fingerprint information collected by the fingerprint sensor 180H does not match the fingerprint information that is pre-entered in the electronic device 100 for user identity verification. In this case, even if the electronic apparatus 100 raises the pressure threshold, the user identification check using the fingerprint information does not pass. Moreover, after the pressure threshold is increased, the user needs to use a larger real-time pressing degree to ensure that the real-time pressing degree is greater than the increased pressure threshold when inputting fingerprint information next time, so that the user experience is influenced. Therefore, as shown in fig. 8, after S901, if the parameter of the fingerprint image quality of the above fingerprint information acquired by the electronic device 100 is higher than or equal to the preset upper quality threshold, the electronic device 100 does not adjust the pressure threshold.
If the user identity verification fails, but the parameter of the fingerprint image quality of the fingerprint information used for the user identity verification is lower than the preset upper quality threshold, the fitting degree between the finger and the touch screen may be poor due to the small pressing pressure used when the user inputs the fingerprint information, and the fingerprint sensor 180H may not acquire the fingerprint information with the higher parameter of the fingerprint image quality. In this case, in order to improve the parameter of the fingerprint image quality of the fingerprint information collected by the fingerprint sensor 180H, the electronic apparatus 100 may increase the pressure threshold of the electronic apparatus 100 to guide the user to input the fingerprint information using a larger pressing pressure. As shown in fig. 8, after S901, if the parameter of the fingerprint image quality of the above fingerprint information collected by the electronic device 100 is lower than the preset upper quality threshold, the electronic device 100 may execute S902:
s902, the electronic device 100 determines whether the pressure threshold of the electronic device 100 is a preset upper limit pressure threshold.
If the pressure threshold of the electronic device 100 is the preset upper limit pressure threshold, it indicates that the pressure threshold of the electronic device 100 is already the maximum value of the pressure threshold of the electronic device 100. In this case, the electronic device 100 does not need to increase the pressure threshold of the electronic device 100.
Since the preset upper limit pressure threshold is the highest pressure threshold that can be set in the electronic device 100; therefore, if the pressure threshold of the electronic device 100 is not the preset upper limit pressure threshold, the pressure threshold of the electronic device 100 is smaller than the preset upper limit pressure threshold. In this case, the electronic device 100 may turn up the pressure threshold of the electronic device 100. As shown in fig. 8, after S902, if the pressure threshold of the electronic device 100 is not the preset upper limit pressure threshold, the electronic device 100 may perform S903:
s903, the electronic device 100 determines whether the pressing pressure is greater than or equal to a preset upper limit pressure threshold.
If the pressing pressure is greater than or equal to the preset upper limit pressure threshold, it indicates that the user has input fingerprint information using the pressing pressure greater than or equal to the preset upper limit pressure threshold. In this case, the user identity verification is not passed, and the reason why the user identity verification is not passed is not that the pressing pressure used when the user inputs the fingerprint information is small. In this case, the electronic device 100 does not need to raise the pressure threshold of the electronic device 100.
If the pressing pressure is smaller than the preset upper limit pressure threshold, it indicates that the pressing pressure used when the user inputs the fingerprint information is not the upper limit value of the pressure threshold of the electronic device 100. In this case, in order to improve a parameter of the fingerprint image quality of the fingerprint information collected by the fingerprint sensor 180H, the electronic apparatus 100 may increase the pressure threshold of the electronic apparatus 100 to guide the user to input the fingerprint information using a large pressing pressure. As shown in fig. 8, after S903, if the pressing pressure is less than the preset upper limit pressure threshold, the electronic device 100 may perform S306.
It is to be noted that one way in which the electronic apparatus 100 determines whether the electronic apparatus 100 satisfies the above-described condition (4), condition (5), and condition (6) is given in fig. 8 by way of example only. In the embodiment of the present application, the electronic device 100 is not limited to determine whether the electronic device 100 satisfies the sequence of the condition (4), the condition (5), and the condition (6). That is, in this embodiment of the application, the sequence of executing S901, S902, and S903 by the electronic device 100 is not limited.
For example, after S304, if the user identity verification fails, the electronic device 100 may first perform S902; after S902, if the pressure threshold of the electronic device 100 is not the preset upper limit pressure threshold, the electronic device 100 may execute S901; after S901, if the parameter of the fingerprint image quality of the fingerprint information is lower than the preset upper quality threshold, the electronic device may execute S903; after S903, if the pressing pressure is smaller than the preset upper limit pressure threshold, the electronic device 100 may execute S306.
For another example, after S304, if the user identity verification fails, the electronic device 100 may first perform S901; after S901, if the parameter of the fingerprint image quality of the fingerprint information is lower than the preset upper quality threshold, the electronic device may execute S903; after S903, if the pressing pressure is smaller than the preset upper limit pressure threshold, the electronic device 100 may execute S902; after S902, if the pressure threshold of the electronic device 100 is not the preset upper limit pressure threshold, the electronic device 100 may perform S306.
For another example, after S304, if the user identity verification fails, the electronic device 100 may first perform S903; after S903, if the pressing pressure is smaller than the preset upper limit pressure threshold, the electronic device 100 may execute S901; after S901, if the parameter of the fingerprint image quality of the fingerprint information is lower than the preset upper quality threshold, the electronic device may execute S902; after S902, if the pressure threshold of the electronic device 100 is not the preset upper limit pressure threshold, the electronic device 100 may perform S306.
It is to be noted that the second preset condition may include at least one of the following three conditions. For example, in some embodiments, the second preset condition may include only the condition (4). In this embodiment, if the user identity verification fails, the electronic device 100 may perform S901; after S901, if the parameter of the fingerprint image quality of the fingerprint information acquired by the electronic device 100 is lower than the preset upper quality threshold, the electronic device may directly perform S306.
In other embodiments, the second preset condition may include only the condition (5). In this embodiment, if the user identity check fails, the electronic device 100 may perform S902; after S902, if the pressure threshold of the electronic device 100 is not the preset upper limit pressure threshold, the electronic device 100 may directly perform S306.
In other embodiments, the second preset condition may include the condition (4) and the condition (5). In this embodiment, if the user identity verification fails, the electronic device 100 may perform S901; after S901, if the parameter of the fingerprint image quality of the fingerprint information acquired by the electronic device 100 is lower than the preset upper quality threshold, the electronic device 100 may execute S902; after S902, if the pressure threshold of the electronic device 100 is not the preset upper limit pressure threshold, the electronic device 100 may directly perform S306.
In other embodiments, the second preset condition may include the condition (4) and the condition (6). In this embodiment, if the user identity verification fails, the electronic device 100 may perform S901; after S901, if the parameter of the fingerprint image quality of the fingerprint information collected by the electronic device 100 is lower than the preset upper quality threshold, the electronic device 100 may execute S903; after S903, if the pressing pressure is smaller than the preset upper limit pressure threshold, the electronic device 100 may execute S306.
The embodiment of the application provides a method for adjusting a pressure threshold, and an electronic device 100 can dynamically adjust the pressure threshold according to a user identity verification result of fingerprint information, a parameter of fingerprint image quality of the fingerprint information, a size of pressing pressure and other parameters, so that the adjusted pressure threshold can better accord with fingerprint characteristics and pressing habits of a user.
It is understood that the electronic device comprises corresponding hardware structures and/or software modules for performing the respective functions in order to realize the functions. Those of skill in the art will readily appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as hardware or combinations of hardware and computer software. Whether a function is performed as hardware or computer software drives hardware depends upon the particular application and design constraints imposed on the solution.
In the embodiment of the present application, the electronic device may be divided into the functional modules according to the method example, for example, each functional module may be divided corresponding to each function, or two or more functions may be integrated into one processing module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode. It should be noted that the division of the modules in the embodiments of the present application is illustrative, and is only one logical function division, and in actual implementation, there may be another division manner.
In the case of dividing each functional module by corresponding functions, fig. 9 shows a schematic diagram of a possible structure of the electronic device involved in the above embodiment, and the electronic device 900 includes: the fingerprint acquisition device comprises a display unit 901, a fingerprint acquisition unit 902, a pressure acquisition unit 903, a verification unit 904 and an adjustment unit 905.
Among other things, the display unit 901 is used to support the electronic device 900 to perform S301 in the above-described method embodiments, and/or other processes for the techniques described herein. Fingerprint acquisition unit 902 is used to support electronic device 900 to perform the operations of "acquiring fingerprint information" in S302 in the above-described method embodiments, and/or other processes for the techniques described herein. The pressure acquisition unit 903 is used to support the electronic device 900 to perform the operation of "acquiring the pressing pressure" in S302 in the above-described method embodiment, and/or other processes for the techniques described herein. Verification unit 904 is used to enable electronic device 900 to perform S304 in the above-described method embodiments, and/or other processes for the techniques described herein. The adjustment unit 905 is used to enable the electronic device 900 to perform S305, S306 in the above-described method embodiments, and/or other processes for the techniques described herein.
Specifically, the adjusting unit 905 may be further configured to support the electronic device 900 to decrease the pressure threshold of the electronic device 900 by a first preset step, and support the electronic device 900 to adjust the pressure threshold of the electronic device 900 to be the sum of the pressing pressure and the second preset step. The adjustment unit 905 may also be used to support adjustment of the pressure threshold of the electronic device 900 when the electronic device 900 satisfies the relevant conditions in S701, S702, S801-S803, and S901-S903.
Further, the electronic device 900 may further include: and a judging unit. The determination unit is configured to enable the electronic device 900 to perform S303, S701, S801-S803, S702, S901-S903, and/or other processes for the techniques described herein in the above-described method embodiments.
Further, the electronic device 900 may further include: and a memory unit. The memory unit is used to store the pressure threshold, the first preset step size, the second preset step size, and the like of the electronic device 900, cache the fingerprint information collected by the fingerprint collection unit 902, and/or perform other processes for the techniques described herein.
Of course, the electronic device 900 includes, but is not limited to, the above-listed unit modules. For example, the electronic device 900 may also include a receiving unit and a transmitting unit. The receiving unit is used for receiving data or instructions sent by other electronic equipment. The sending unit is used for sending data or instructions to other electronic equipment. Moreover, the functions that can be specifically realized by the above functional units also include, but are not limited to, the functions corresponding to the method steps described in the above examples, and the detailed description of the corresponding method steps may be referred to for the detailed description of other units of the electronic device 900, which is not described herein again in this embodiment of the present application.
In the case of an integrated unit, the verification unit 904, the adjustment unit 905, and the judgment unit may be integrated in a processor. The processor is configured to control and manage actions of the electronic device 900. The Processor may be a Central Processing Unit (CPU), a general purpose Processor, a Digital Signal Processor (DSP), an Application-Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other Programmable logic device, transistor logic device, hardware component, or any combination thereof. Which may implement or perform the various illustrative logical blocks, modules, and circuits described in connection with the disclosure. The processor may also be a combination of computing functions, e.g., comprising one or more microprocessors, DSPs, and microprocessors, among others.
The storage unit may be a memory. A memory for storing program codes and data for the electronic device 900. For example, the memory stores a pressure threshold, a first preset step distance, a second preset step distance, and the like of the electronic device 900, and buffers fingerprint information collected by the fingerprint collecting unit 902. The display unit 901 may be a touch panel. The touch screen is used to display the processor-generated image. The fingerprint acquisition unit 902 may be a fingerprint sensor. The pressure acquisition unit 903 may be a pressure sensor. The fingerprint sensor and the pressure sensor can be arranged below the touch screen; alternatively, the fingerprint sensor and the pressure sensor may be integrated in the touch screen. The fingerprint sensor is used for collecting fingerprint information input by a user on the touch screen. The pressure sensor is used for collecting the pressing pressure of the user on the touch screen when inputting the fingerprint information.
For example, the processor may be the processor 110 shown in fig. 1B, the memory may be the internal memory 121 shown in fig. 1B and an external SD card connected to the electronic device 900 through the external memory interface 120, the touch screen may be the display screen 194 (including a display panel and a touch panel) shown in fig. 1B, the fingerprint sensor may be the fingerprint sensor 180H shown in fig. 1B, and when the pressure sensor is the pressure sensor 180A shown in fig. 1B, the electronic device 900 provided in the embodiment of the present application may be the electronic device 100 shown in fig. 1B. Wherein the processor, the touch screen, the memory, the fingerprint sensor and the pressure sensor may be coupled together.
The embodiment of the present application further provides a computer storage medium, where computer program codes are stored in the computer storage medium, and when the processor executes the computer program codes, the electronic device executes the relevant method steps in any one of fig. 3, fig. 7, or fig. 8 to implement the method in the foregoing embodiment.
The embodiments of the present application also provide a computer program product, which when run on a computer, causes the computer to execute the relevant method steps in any one of fig. 3, fig. 7 or fig. 8 to implement the method in the above embodiments.
The electronic device 900, the computer storage medium, or the computer program product provided in the embodiment of the present application are all configured to execute the corresponding methods provided above, so that beneficial effects achieved by the electronic device may refer to beneficial effects in the corresponding methods provided above, and are not described herein again.
Through the above description of the embodiments, it is clear to those skilled in the art that, for convenience and simplicity of description, the foregoing division of the functional modules is merely used as an example, and in practical applications, the above function distribution may be completed by different functional modules according to needs, that is, the internal structure of the device may be divided into different functional modules to complete all or part of the above described functions.
In the several embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described device embodiments are merely illustrative, and for example, the division of the modules or units is only one logical functional division, and there may be other divisions when actually implemented, for example, a plurality of units or components may be combined or may be integrated into another device, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may be one physical unit or a plurality of physical units, that is, may be located in one place, or may be distributed in a plurality of different places. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a readable storage medium. Based on such understanding, the technical solutions of the embodiments of the present application may be essentially or partially contributed to by the prior art, or all or part of the technical solutions may be embodied in the form of a software product, where the software product is stored in a storage medium and includes several instructions to enable a device (which may be a single chip, a chip, or the like) or a processor (processor) to execute all or part of the steps of the methods described in the embodiments of the present application. The storage medium includes: various media capable of storing program codes, such as a U disk, a removable hard disk, a ROM, a RAM, a magnetic disk, or an optical disk.
The above description is only an embodiment of the present application, but the scope of the present application is not limited thereto, and any changes or substitutions within the technical scope of the present disclosure should be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (16)

1. A method of adjusting a pressure threshold, the method being applied to an electronic device comprising a touch screen, the electronic device further comprising a fingerprint sensor and a pressure sensor, the method comprising:
the electronic equipment displays a first interface on the touch screen;
the electronic equipment acquires fingerprint information input by a user on the first interface through the fingerprint sensor, and acquires pressing pressure on the touch screen when the user inputs the fingerprint information on the first interface through the pressure sensor;
if the pressing pressure is larger than or equal to the pressure threshold value of the electronic equipment, the electronic equipment carries out user identity verification on the fingerprint information;
if the user identity passes the verification, the electronic equipment reduces the pressure threshold of the electronic equipment; and/or
And if the user identity verification fails, the electronic equipment raises the pressure threshold of the electronic equipment.
2. The method of claim 1, wherein the electronic device adjusting down the stress threshold of the electronic device comprises:
the electronic device lowers a pressure threshold of the electronic device by a first preset step pitch.
3. The method of claim 1 or 2, wherein the electronic device raises the pressure threshold of the electronic device, comprising:
the electronic equipment adjusts the pressure threshold of the electronic equipment to be the sum of the pressing pressure and a second preset step distance.
4. The method of any one of claims 1-3, wherein the electronic device adjusting down the pressure threshold of the electronic device comprises:
when the electronic equipment does not meet a first preset condition, the electronic equipment reduces a pressure threshold value of the electronic equipment;
wherein the first preset condition comprises at least one of the following conditions:
the passing rate of the user identity verification performed by the electronic equipment is lower than or equal to a preset success rate threshold; the parameter of the fingerprint image quality of the fingerprint information is lower than or equal to a preset lower limit quality threshold; the pressure threshold of the electronic equipment is a preset lower limit pressure threshold.
5. The method of any one of claims 1-4, wherein the electronic device adjusting the pressure threshold of the electronic device up comprises:
when the electronic equipment does not meet a second preset condition, the electronic equipment increases the pressure threshold of the electronic equipment;
wherein the second preset condition comprises at least one of the following conditions: the parameter of the fingerprint image quality of the fingerprint information is higher than or equal to a preset upper limit quality threshold; the pressure threshold of the electronic equipment is a preset upper limit pressure threshold; the pressing pressure is greater than or equal to a preset upper limit pressure threshold value.
6. The method of any of claims 1-5, wherein after the electronic device turns down the pressure threshold of the electronic device, the method further comprises:
and if the adjusted pressure threshold value is smaller than a preset lower limit pressure threshold value, the electronic equipment sets the pressure threshold value of the electronic equipment to be the preset lower limit pressure threshold value.
7. The method of any of claims 1-6, wherein after the electronic device raises the pressure threshold of the electronic device, the method further comprises:
and if the adjusted pressure threshold value is larger than a preset upper limit pressure threshold value, the electronic equipment sets the pressure threshold value of the electronic equipment as the preset upper limit pressure threshold value.
8. The method according to any one of claims 1-7, further comprising:
and if the pressing pressure is smaller than the pressure threshold value of the electronic equipment, the electronic equipment displays prompt information on the first interface, and the prompt information is used for prompting a user to increase the pressing pressure when inputting fingerprint information.
9. An electronic device, characterized in that the electronic device comprises: the system comprises a processor, a touch screen, a fingerprint sensor and a pressure sensor, wherein the processor is connected with the touch screen, the fingerprint sensor and the pressure sensor;
the touch screen is used for displaying a first interface;
the fingerprint sensor is used for collecting fingerprint information input by a user on the first interface;
the pressure sensor is used for collecting the pressing pressure of a user on the touch screen when the fingerprint information is input by the first interface;
the processor is used for carrying out user identity verification on the fingerprint information acquired by the fingerprint sensor if the pressing pressure acquired by the pressure sensor is greater than or equal to a pressure threshold value of the electronic equipment;
the processor is further configured to reduce a pressure threshold of the electronic device if the user identity is verified; and/or the processor is further used for increasing the pressure threshold of the electronic equipment if the user identity verification fails.
10. The electronic device of claim 9, wherein the processor is configured to turn down a pressure threshold of the electronic device, comprising:
the processor is used for reducing the pressure threshold of the electronic equipment by a first preset step pitch.
11. The electronic device of claim 9 or 10, wherein the processor is configured to raise the pressure threshold of the electronic device, and comprises:
the processor is used for adjusting the pressure threshold of the electronic equipment to be the sum of the pressing pressure and a second preset step distance.
12. The electronic device of any of claims 9-11, wherein the processor is configured to turn down a pressure threshold of the electronic device, comprising:
the processor is used for reducing the pressure threshold of the electronic equipment when the electronic equipment does not meet a first preset condition;
wherein the first preset condition comprises at least one of the following conditions: the passing rate of the user identity verification performed by the electronic equipment is lower than or equal to a preset success rate threshold; the parameter of the fingerprint image quality of the fingerprint information is lower than or equal to a preset lower limit quality threshold; the pressure threshold of the electronic equipment is a preset lower limit pressure threshold.
13. The electronic device of any of claims 9-12, wherein the processor is configured to increase the pressure threshold of the electronic device, and comprises:
the processor is used for increasing the pressure threshold of the electronic equipment when the electronic equipment does not meet a second preset condition;
wherein the second preset condition comprises at least one of the following conditions: the parameter of the fingerprint image quality of the fingerprint information is higher than or equal to a preset upper limit quality threshold; the pressure threshold of the electronic equipment is a preset upper limit pressure threshold; the pressing pressure is greater than or equal to a preset upper limit pressure threshold value.
14. The electronic device of any of claims 9-13, wherein the processor is further configured to, after adjusting the pressure threshold of the electronic device, set the pressure threshold of the electronic device to a preset lower pressure threshold if the adjusted pressure threshold is less than the preset lower pressure threshold.
15. The electronic device of any of claims 9-14, wherein the processor is further configured to set the pressure threshold of the electronic device to a preset upper pressure threshold if the adjusted pressure threshold is greater than the preset upper pressure threshold after the pressure threshold of the electronic device is adjusted up.
16. The electronic device according to any one of claims 9-15, wherein the touch screen is further configured to display a prompt message on the first interface if the pressing pressure is less than a pressure threshold of the electronic device, the prompt message being configured to prompt a user to increase the pressing pressure when inputting fingerprint information.
CN201811180250.2A 2018-10-10 2018-10-10 Method for adjusting pressure threshold and electronic equipment Active CN111026285B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811180250.2A CN111026285B (en) 2018-10-10 2018-10-10 Method for adjusting pressure threshold and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811180250.2A CN111026285B (en) 2018-10-10 2018-10-10 Method for adjusting pressure threshold and electronic equipment

Publications (2)

Publication Number Publication Date
CN111026285A CN111026285A (en) 2020-04-17
CN111026285B true CN111026285B (en) 2021-08-31

Family

ID=70192295

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811180250.2A Active CN111026285B (en) 2018-10-10 2018-10-10 Method for adjusting pressure threshold and electronic equipment

Country Status (1)

Country Link
CN (1) CN111026285B (en)

Family Cites Families (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103135810B (en) * 2011-11-24 2016-09-07 比亚迪股份有限公司 The pressure-sensitivity control method of a kind of touch-screen and system
CN107025041B (en) * 2016-01-29 2020-11-10 北京小米移动软件有限公司 Fingerprint input method and terminal
CN107545160A (en) * 2016-06-28 2018-01-05 中兴通讯股份有限公司 Fingerprint identification method and device
CN106201067A (en) * 2016-06-29 2016-12-07 宇龙计算机通信科技(深圳)有限公司 Contactor control device, display control method, display control unit and terminal
CN106372586B (en) * 2016-08-26 2018-03-06 广东欧珀移动通信有限公司 Fingerprint recognition sensing device further, electronic equipment and mobile terminal
CN108139856B (en) * 2016-08-31 2020-07-07 华为技术有限公司 Signature authentication method, terminal, handwriting pen and system
KR102330327B1 (en) * 2016-11-29 2021-11-24 삼성전자주식회사 Device and method for recognizing finger print based on pressure
KR101859713B1 (en) * 2017-01-10 2018-05-21 주식회사 하이딥 The touch input device for providing user interface and the method for the same
CN107330374B (en) * 2017-06-05 2020-01-14 Oppo广东移动通信有限公司 Fingerprint registration method and related product
CN108334769B (en) * 2018-05-18 2021-08-31 北京小米移动软件有限公司 Fingerprint unlocking method and device
CN108595935B (en) * 2018-05-18 2021-08-31 北京小米移动软件有限公司 Fingerprint unlocking method and device

Also Published As

Publication number Publication date
CN111026285A (en) 2020-04-17

Similar Documents

Publication Publication Date Title
CN110347269B (en) Empty mouse mode realization method and related equipment
CN111543049B (en) Photographing method and electronic equipment
WO2021169515A1 (en) Method for data exchange between devices, and related device
CN111552451A (en) Display control method and device, computer readable medium and terminal equipment
CN113892920A (en) Wearable device wearing detection method and device and electronic device
CN113225661A (en) Loudspeaker identification method and device and electronic equipment
CN113448482A (en) Sliding response control method and device of touch screen and electronic equipment
CN114880251A (en) Access method and access device of storage unit and terminal equipment
WO2020019355A1 (en) Touch control method for wearable device, and wearable device and system
CN114095602B (en) Index display method, electronic device and computer readable storage medium
CN114762588A (en) Sleep monitoring method and related device
CN109285563B (en) Voice data processing method and device in online translation process
CN113129916A (en) Audio acquisition method, system and related device
CN113467747B (en) Volume adjusting method, electronic device and storage medium
CN115665632A (en) Audio circuit, related device and control method
CN111026285B (en) Method for adjusting pressure threshold and electronic equipment
CN114221402A (en) Charging method and device of terminal equipment and terminal equipment
CN112527220B (en) Electronic equipment display method and electronic equipment
CN113467735A (en) Image adjusting method, electronic device and storage medium
CN115393676A (en) Gesture control optimization method and device, terminal and storage medium
CN114661258A (en) Adaptive display method, electronic device, and storage medium
CN115459643A (en) Method and device for adjusting vibration waveform of linear motor
CN113918003A (en) Method and device for detecting time length of skin contacting screen and electronic equipment
CN113391735A (en) Display form adjusting method and device, electronic equipment and storage medium
CN111586236A (en) Electronic equipment marking method and device, computer readable medium and electronic equipment

Legal Events

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