Fingerprint unlocking method, fingerprint unlocking device, terminal and storage medium
By adjusting the trigger duration of fingerprint unlocking by obtaining terminal posture information, the problem of accidental screen unlocking during electronic product handling is solved, improving security and user experience.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- BEIJING XIAOMI MOBILE SOFTWARE CO LTD
- Filing Date
- 2021-11-29
- Publication Date
- 2026-04-17
AI Technical Summary
Electronic products are prone to accidental screen unlocking during transport, which affects security and user experience.
By obtaining the current posture information of the terminal, the trigger duration for fingerprint unlocking is determined based on the posture information, and the trigger duration in the state prone to false triggering is extended to reduce false unlocking.
This effectively reduces screen unlocking incidents caused by accidental triggering, improving the security and reliability of screen unlocking.
Smart Images

Figure CN116186663B_ABST
Abstract
Description
Technical Field
[0001] This disclosure relates to the field of touch technology, and in particular to a fingerprint unlocking method, fingerprint unlocking device, terminal and storage medium. Background Technology
[0002] With the rapid development of electronic technology, electronic products are evolving towards greater user-friendliness and higher quality. Especially in terms of information security, screen lock functionality has emerged to enhance the security of electronic products. When the screen is locked, unlocking is required to access and operate the device. Summary of the Invention
[0003] This disclosure provides a fingerprint unlocking method, a fingerprint unlocking device, a terminal, and a storage medium.
[0004] A first aspect of this disclosure provides a fingerprint unlocking method, including:
[0005] Obtain the current attitude information of the terminal;
[0006] Based on the current posture information of the terminal, determine the trigger duration for the terminal to unlock the screen via fingerprint.
[0007] If the fingerprint trigger duration applied to the unlock button on the terminal screen reaches the specified trigger duration, the screen is unlocked.
[0008] In some embodiments, determining the trigger duration for unlocking the screen via fingerprint based on the current posture information of the terminal includes:
[0009] Based on the judgment result of whether the current posture information of the terminal meets the preset conditions, the trigger duration for the terminal to unlock the screen by fingerprint is determined.
[0010] In some embodiments, determining the trigger duration for unlocking the screen via fingerprint based on whether the current posture information of the terminal meets preset conditions includes at least one of the following:
[0011] If it is determined that the current posture information of the terminal meets the preset conditions, then the trigger duration for the terminal to unlock the screen via fingerprint is determined to be the first duration.
[0012] If it is determined that the current posture information of the terminal does not meet the preset conditions, then the trigger duration for the terminal to unlock the screen via fingerprint is determined to be the second duration; wherein, the first duration is longer than the second duration.
[0013] In some embodiments, the current attitude information includes at least one of the following:
[0014] The acceleration of the terminal along each coordinate axis in the three-dimensional coordinate system at the current moment;
[0015] The change in angular velocity of the terminal along each coordinate axis in the three-dimensional coordinate system within the current time window;
[0016] The current posture information of the terminal satisfies preset conditions, including at least one of the following:
[0017] The acceleration of the terminal along each coordinate axis in the three-dimensional coordinate system at the current moment satisfies a first preset condition; the first preset condition is used to characterize the terminal's preset first motion state through acceleration;
[0018] The change in angular velocity of the terminal along each coordinate axis in the three-dimensional coordinate system within the current time window satisfies the second preset condition; the second preset condition is used to characterize the second preset motion state of the terminal through angular velocity.
[0019] In some embodiments, the acceleration of the terminal along each coordinate axis in the three-dimensional coordinate system at the current moment satisfies a first preset condition, including:
[0020] The root mean square of the acceleration of the terminal along the X-axis, Y-axis, and Z-axis at the current moment is greater than a first threshold; and / or, the acceleration of the terminal along the Y-axis at the current moment is less than a third threshold;
[0021] The change in angular velocity of the terminal along each coordinate axis in the three-dimensional coordinate system within the current time window satisfies the second preset condition, including:
[0022] The root mean square of the change in angular velocity of the terminal along the X-axis, Y-axis, and Z-axis within the current time window is greater than the second threshold.
[0023] In some embodiments, the method further includes:
[0024] Get the current screen display status of the terminal;
[0025] When the screen of the terminal is in a screen-off state, the number of times the unlock button of the terminal screen is pressed within a preset time period is detected.
[0026] When the number of presses reaches a preset number, the trigger duration for the terminal to unlock the screen via fingerprint is determined to be a third duration; wherein the third duration is longer than the second duration.
[0027] A second aspect of this disclosure provides a fingerprint unlocking device, the device comprising:
[0028] The first processing unit is used to obtain the current attitude information of the terminal;
[0029] The second processing unit is used to determine the trigger duration for the terminal to unlock the screen via fingerprint based on the terminal's current posture information.
[0030] The third processing unit is used to determine if the fingerprint trigger duration applied to the terminal screen unlock button reaches the trigger duration, and then unlock the screen.
[0031] In some embodiments, the second processing unit is specifically used for
[0032] Based on the judgment result of whether the current posture information of the terminal meets the preset conditions, the trigger duration for the terminal to unlock the screen by fingerprint is determined.
[0033] In some embodiments, the second processing unit is specifically used for
[0034] If it is determined that the current posture information of the terminal meets the preset conditions, then the trigger duration for the terminal to unlock the screen via fingerprint is determined to be the first duration.
[0035] If it is determined that the current posture information of the terminal does not meet the preset conditions, then the trigger duration for the terminal to unlock the screen via fingerprint is determined to be the second duration; wherein, the first duration is longer than the second duration.
[0036] In some embodiments, the current attitude information includes at least one of the following:
[0037] The acceleration of the terminal along each coordinate axis in the three-dimensional coordinate system at the current moment;
[0038] The change in angular velocity of the terminal along each coordinate axis in the three-dimensional coordinate system within the current time window;
[0039] The current posture information of the terminal satisfies preset conditions, including at least one of the following:
[0040] The acceleration of the terminal along each coordinate axis in the three-dimensional coordinate system at the current moment satisfies a first preset condition; the first preset condition is used to characterize the terminal's preset first motion state through acceleration;
[0041] The change in angular velocity of the terminal along each coordinate axis in the three-dimensional coordinate system within the current time window satisfies the second preset condition; the second preset condition is used to characterize the second preset motion state of the terminal through angular velocity.
[0042] In some embodiments, the acceleration of the terminal along each coordinate axis in the three-dimensional coordinate system at the current moment satisfies a first preset condition, including:
[0043] The root mean square of the acceleration of the terminal along the X-axis, Y-axis, and Z-axis at the current moment is greater than a first threshold; and / or, the acceleration of the terminal along the Y-axis at the current moment is less than a third threshold;
[0044] The change in angular velocity of the terminal along each coordinate axis in the three-dimensional coordinate system within the current time window satisfies the second preset condition, including:
[0045] The root mean square of the change in angular velocity of the terminal along the X-axis, Y-axis, and Z-axis within the current time window is greater than the second threshold.
[0046] In some embodiments, the second processing unit is further configured to...
[0047] Get the current screen display status of the terminal;
[0048] When the screen of the terminal is in a screen-off state, the number of times the unlock button of the terminal screen is pressed within a preset time period is detected.
[0049] When the number of presses reaches a preset number, the trigger duration for the terminal to unlock the screen via fingerprint is determined to be a third duration; wherein the third duration is longer than the second duration.
[0050] A third aspect of this disclosure provides a terminal, including a processor and a memory, wherein the memory stores a computer program capable of running on the processor, and the processor, when running the computer program, performs the steps of the method described in the first aspect.
[0051] A fourth aspect of this disclosure provides a computer-readable storage medium having a computer program stored thereon, characterized in that the computer program, when executed by a processor, implements the steps of the method described in the first aspect.
[0052] The technical solutions provided by the embodiments of this disclosure may include the following beneficial effects:
[0053] The fingerprint unlocking method in this embodiment includes: acquiring the current posture information of the terminal; determining, based on the current posture information of the terminal, a trigger duration for the terminal to unlock its screen via fingerprint triggering; and unlocking the screen once the fingerprint trigger duration applied to the screen unlock button of the terminal reaches the trigger duration. In this application, the terminal can unlock its screen by triggering the screen unlock button with a fingerprint. However, when the terminal is being carried, accidental triggering frequently occurs. To reduce accidental screen unlocking, this application determines the trigger duration for fingerprint-triggered screen unlocking based on the terminal's current posture information. If the terminal's current posture information is in a state prone to accidental triggering, the trigger duration can be appropriately extended as needed, thereby reducing the likelihood of screen unlocking due to accidental triggering.
[0054] It should be understood that the above general description and the following detailed description are exemplary and explanatory only, and are not intended to limit this disclosure. Attached Figure Description
[0055] The accompanying drawings, which are incorporated in and form a part of this specification, illustrate embodiments consistent with this disclosure and, together with the description, serve to explain the principles of this disclosure.
[0056] Figure 1 This is a flowchart illustrating a fingerprint unlocking method according to an exemplary embodiment.
[0057] Figure 2 This is a schematic diagram illustrating an application of a fingerprint unlocking method according to an exemplary embodiment.
[0058] Figure 3 This is a schematic diagram of a fingerprint unlocking device according to an exemplary embodiment.
[0059] Figure 4 This is a block diagram illustrating a terminal device according to an exemplary embodiment. Detailed Implementation
[0060] Exemplary embodiments will now be described in detail, examples of which are illustrated in the accompanying drawings. When the following description relates to the drawings, unless otherwise indicated, the same numerals in different drawings denote the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with this disclosure. Rather, they are merely examples of apparatuses consistent with some aspects of this disclosure as detailed in the appended claims.
[0061] With the rapid development of electronic technology, electronic products are evolving towards greater user-friendliness and higher quality. Especially in terms of information security, screen lock functions have emerged to improve the security of electronic products. When the screen is locked, unlocking is required to access and operate the device. However, accidental triggering frequently occurs when the device is in motion.
[0062] This disclosure provides a fingerprint unlocking method. Figure 1 This is a flowchart illustrating a fingerprint unlocking method according to an exemplary embodiment. Figure 1 As shown, fingerprint unlocking methods include:
[0063] Step 10: Obtain the current attitude information of the terminal;
[0064] Step 11: Based on the current posture information of the terminal, determine the trigger duration for the terminal to unlock the screen via fingerprint.
[0065] Step 12: If the fingerprint trigger duration applied to the unlock button on the terminal screen reaches the trigger duration, then unlock the screen.
[0066] In this embodiment of the disclosure, the fingerprint unlocking method can be applied to a terminal with a screen unlock button on the side. For example, a mobile phone with a screen unlock button on the side.
[0067] In this embodiment of the disclosure, the current posture information can be used to characterize the current motion state of the terminal and / or the posture presented by the terminal at the current moment. The presented posture includes at least: a horizontal placement posture, a vertical placement posture, etc.
[0068] In this embodiment of the disclosure, the current posture of the terminal can be determined through the terminal's current posture information. After determining the current posture information of the terminal, the trigger duration for unlocking the screen via fingerprint in the current posture can be determined.
[0069] In this embodiment, when a user touches the screen unlock button and their fingerprint is applied to it, the screen unlocks when the fingerprint trigger duration reaches a trigger duration determined based on the terminal's current posture information. The fingerprint trigger duration is the length of time the fingerprint remains on the screen unlock button. The fingerprint unlocking method in this embodiment includes: acquiring the terminal's current posture information; determining, based on the terminal's current posture information, the trigger duration for unlocking the screen via fingerprint; and unlocking the screen once the fingerprint trigger duration applied to the screen unlock button reaches the required trigger duration. In this application, the terminal can unlock the screen via fingerprint triggering of the screen unlock button. However, when the terminal is in use, accidental triggering frequently occurs. To reduce accidental screen unlocking, this application determines the fingerprint trigger duration for screen unlocking based on the terminal's current posture information. If the terminal's current posture information is in a state prone to accidental triggering, the trigger duration can be appropriately extended as needed, thereby reducing the occurrence of screen unlocking due to accidental triggering.
[0070] In some embodiments, determining the trigger duration for unlocking the screen via fingerprint based on the current posture information of the terminal includes:
[0071] Based on the judgment result of whether the current posture information of the terminal meets the preset conditions, the trigger duration for the terminal to unlock the screen by fingerprint is determined.
[0072] In this embodiment, when determining the trigger duration for unlocking the screen via fingerprint, the system first determines whether the terminal's current posture information meets preset conditions. Then, based on the determination of whether the terminal's current posture information meets the preset conditions, the trigger duration for unlocking the screen via fingerprint is determined. The preset conditions characterize a state where the terminal is prone to false triggering. When the terminal's current posture information meets the preset conditions, it indicates that the terminal is currently in a state prone to false triggering. In this case, the trigger duration for unlocking the screen via fingerprint is longer than the trigger duration when the terminal is in a state less prone to false triggering. By determining the trigger duration for unlocking the screen via fingerprint based on whether the terminal's current posture information meets the preset conditions, flexible adjustment of the trigger duration can be achieved, reducing the likelihood of screen unlocking due to false triggering in a state prone to false triggering.
[0073] In some embodiments, determining the trigger duration for unlocking the screen via fingerprint based on whether the current posture information of the terminal meets preset conditions includes at least one of the following:
[0074] If it is determined that the current posture information of the terminal meets the preset conditions, then the trigger duration for the terminal to unlock the screen via fingerprint is determined to be the first duration.
[0075] If it is determined that the current posture information of the terminal does not meet the preset conditions, then the trigger duration for the terminal to unlock the screen via fingerprint is determined to be the second duration; wherein, the first duration is longer than the second duration.
[0076] In this embodiment, the preset condition is used to characterize a state where the terminal is prone to false triggering. When it is determined that the current posture information of the terminal meets the preset condition, it indicates that the terminal is currently in a state prone to false triggering, and the trigger duration for unlocking the screen via fingerprint is determined to be a first duration; when it is determined that the current posture information of the terminal does not meet the preset condition, it indicates that the terminal is not currently in a state prone to false triggering, and the trigger duration for unlocking the screen via fingerprint is determined to be a second duration; the first duration is longer than the second duration. Thus, when the terminal is currently in a state prone to false triggering, appropriately extending the trigger duration can reduce the possibility of the screen being unlocked due to false triggering in this state.
[0077] In some embodiments, the current attitude information includes at least one of the following:
[0078] The acceleration of the terminal along each coordinate axis in the three-dimensional coordinate system at the current moment;
[0079] The change in angular velocity of the terminal along each coordinate axis in the three-dimensional coordinate system within the current time window;
[0080] The current posture information of the terminal satisfies preset conditions, including at least one of the following:
[0081] The acceleration of the terminal along each coordinate axis in the three-dimensional coordinate system at the current moment satisfies a first preset condition; the first preset condition is used to characterize the terminal's preset first motion state through acceleration;
[0082] The change in angular velocity of the terminal along each coordinate axis in the three-dimensional coordinate system within the current time window satisfies the second preset condition; the second preset condition is used to characterize the second preset motion state of the terminal through angular velocity.
[0083] In this embodiment, the terminal's acceleration can be acquired by an accelerometer integrated within the terminal. The change in angular velocity can be acquired by a gyroscope integrated within the terminal. The time window can be set as needed. The terminal's current attitude information satisfies at least one of the following preset conditions: acceleration satisfies a first preset condition, and the change in angular velocity satisfies a second preset condition.
[0084] In this embodiment, both the first and second operating states refer to states where the terminal is prone to accidental fingerprint unlocking. The first operating state indicates that the terminal's motion fluctuates significantly, making accidental fingerprint unlocking more likely. The second operating state indicates that the terminal's current posture is in a state prone to accidental fingerprint unlocking.
[0085] In some embodiments, the acceleration of the terminal along each coordinate axis in the three-dimensional coordinate system at the current moment satisfies a first preset condition, including:
[0086] The root mean square of the acceleration of the terminal along the X-axis, Y-axis, and Z-axis at the current moment is greater than a first threshold; and / or, the acceleration of the terminal along the Y-axis at the current moment is less than a third threshold;
[0087] The change in angular velocity of the terminal along each coordinate axis in the three-dimensional coordinate system within the current time window satisfies the second preset condition, including:
[0088] The root mean square of the change in angular velocity of the terminal along the X-axis, Y-axis, and Z-axis within the current time window is greater than the second threshold.
[0089] In this embodiment, the first threshold, second threshold, and third threshold can be set as needed. The Z-axis in the three-dimensional coordinate system is perpendicular to the surface of the terminal screen and pointing upwards. The X-axis in the three-dimensional coordinate system is along the longer side of the terminal screen surface, and the Y-axis is along the shorter side of the terminal screen surface.
[0090] In this embodiment of the disclosure, when the root mean square of the acceleration of the terminal along the X-axis, Y-axis, and Z-axis at the current moment is greater than a first threshold, and / or the root mean square of the change in angular velocity along the X-axis, Y-axis, and Z-axis within the current time window is greater than a second threshold, the terminal is in a state where it is prone to accidental fingerprint unlocking.
[0091] In this embodiment, when the acceleration along the Y-axis of the terminal at the current moment is less than a third threshold, the terminal is considered to be facing downwards, almost vertically downwards. At this time, the terminal is likely to be in a state where accidental fingerprint unlocking is possible. When the acceleration along the Y-axis is close to -9.8 m / s², the terminal is almost vertically downwards. The third threshold can be set to a value close to -9.8 m / s².
[0092] In some embodiments, the method further includes:
[0093] Get the current screen display status of the terminal;
[0094] When the screen of the terminal is in a screen-off state, the number of times the unlock button of the terminal screen is pressed within a preset time period is detected.
[0095] When the number of presses reaches a preset number, the trigger duration for the terminal to unlock the screen via fingerprint is determined to be a third duration; wherein the third duration is longer than the second duration.
[0096] In this embodiment, when the terminal screen is in a screen-off state, if the number of presses on the terminal screen unlock button within a preset time period reaches a preset number, it indicates that the number of presses on the screen unlock button within the preset time period is relatively frequent. At this time, the user may not want to unlock the device but only want to check the time. Therefore, the triggering time can be appropriately extended, i.e., the triggering time for the terminal to unlock the screen via fingerprint is determined to be the third time period. The second time period is the triggering time for the terminal to unlock the screen via fingerprint under normal circumstances. In this application, when the terminal is in a screen-off state, the screen can also be unlocked directly via fingerprint.
[0097] In this application, the screen unlocking process of the terminal can be divided into: screen unlocking during the screen-off phase and screen unlocking during the screen-on phase.
[0098] When the screen is unlocked during the screen-off phase, the fingerprint sensor in the terminal's screen unlock button recognizes the fingerprint acting on the unlock button and continues to act for a duration of a third time period. At this time, the terminal screen is turned on and unlocked. The third time period is a predetermined time threshold.
[0099] When determining the duration of the third time period, it can be based on the number of times the user presses the screen unlock button within a preset time period recorded by the terminal. For example, the terminal records the number of times the user quickly presses the screen unlock button again within a preset time period (which can be a few seconds) after pressing the screen unlock button (or the power button with screen unlock function). The time can be dynamically adjusted based on this number of presses. If the number of presses is too high, exceeding the preset number, it indicates that the user prefers to keep the screen on rather than unlock it. In this case, the duration of the third time period can be dynamically increased.
[0100] When unlocking the screen during the screen-on phase, the device's current posture or motion state is determined using an accelerometer and gyroscope integrated within the terminal. Based on the current posture and / or motion state, the trigger duration for unlocking the screen via fingerprint is determined.
[0101] For example, by recognizing the user's movement behavior, a targeted anti-mistouch strategy is implemented when the user is holding the terminal and the top of the terminal is facing down. If this scenario is recognized, the unlocking operation will not be performed.
[0102] Specific plan:
[0103] S01, Set a time window and read acceleration data and gyroscope data; the time window is not fixed, as long as enough status data can be obtained, to avoid excessive data collection due to an excessively long time window, which would increase the terminal's computing power consumption.
[0104] S02, Calculate the fluctuation characteristics of the state data: calculate the root mean square (RMS) of the acceleration and gyroscope three-axis data increments.
[0105] S03, when RMS > preset value A, it can be understood that the terminal fluctuates greatly at this time.
[0106] S04, when the terminal's acceleration along the Y-axis at the current moment is less than the preset value B, it can be considered that the top of the terminal is facing down and the terminal is almost vertically downward. This indicates that the terminal is very likely to accidentally trigger the screen unlock.
[0107] S05, A and B are empirical values (B<0), where B is a value close to -9.8m / s^2. When B is smaller, the terminal is closer to vertical downwards, which means that the terminal is more likely to accidentally trigger screen unlock. When B is larger, the phone is closer to horizontal, which means that the probability of the terminal accidentally triggering screen unlock is smaller.
[0108] S06. When both conditions are met, it can be considered that the expected scenario is in progress. The fingerprint sensor's recognition of the fingerprint trigger is more likely to be a false trigger. At this time, the unlocking function is disabled.
[0109] Therefore, to prevent accidental screen unlocking and to avoid users being unable to unlock, a time threshold C can be set as the duration of the trigger. The fingerprint sensor detects that the time applied to the screen unlock button exceeds this time threshold C, unlocking the terminal screen. Compared to the third duration, this time threshold C can be set to be longer.
[0110] Figure 2 This is a schematic diagram illustrating an application of a fingerprint unlocking method according to an exemplary embodiment. For example... Figure 2 As shown, a screen unlock button may be located on the side of the terminal. The terminal's screen can be unlocked by triggering a fingerprint.
[0111] This disclosure also provides a fingerprint unlocking device for use on the screen unlock button on the side of a terminal. Figure 3 This is a schematic diagram illustrating the structure of a fingerprint unlocking device according to an exemplary embodiment. Figure 3 As shown, the device includes:
[0112] The first processing unit 31 is used to obtain the current attitude information of the terminal;
[0113] The second processing unit 32 is used to determine the trigger duration for the terminal to unlock the screen via fingerprint based on the terminal's current posture information.
[0114] The third processing unit 33 is used to determine if the fingerprint trigger duration applied to the terminal screen unlock button reaches the trigger duration, and then unlock the screen.
[0115] In this embodiment of the disclosure, the fingerprint unlocking device can be applied to a terminal with a screen unlock button on the side. For example, a mobile phone with a screen unlock button on the side.
[0116] In this embodiment of the disclosure, the current posture information can be used to characterize the current motion state of the terminal and / or the posture presented by the terminal at the current moment. The presented posture includes at least: a horizontal placement posture, a vertical placement posture, etc.
[0117] In this embodiment of the disclosure, the current posture of the terminal can be determined through the terminal's current posture information. After determining the current posture information of the terminal, the trigger duration for unlocking the screen via fingerprint in the current posture can be determined.
[0118] In this embodiment, when a user touches the screen unlock button and their fingerprint is applied to it, the screen unlocks when the fingerprint trigger duration reaches a trigger duration determined based on the terminal's current posture information. The fingerprint trigger duration is the length of time the fingerprint remains on the screen unlock button. The fingerprint unlocking device in this embodiment includes: acquiring the terminal's current posture information; determining, based on the terminal's current posture information, the trigger duration for unlocking the screen via fingerprint; and unlocking the screen once the fingerprint trigger duration applied to the screen unlock button reaches the required trigger duration. In this application, the terminal can unlock the screen via fingerprint triggering of the screen unlock button. However, when the terminal is in use, accidental triggering frequently occurs. To reduce accidental screen unlocking, this application determines the fingerprint trigger duration for screen unlocking based on the terminal's current posture information. If the terminal's current posture information is in a state prone to accidental triggering, the trigger duration can be appropriately extended as needed, thereby reducing the occurrence of screen unlocking due to accidental triggering.
[0119] In some embodiments, the second processing unit is specifically used for
[0120] Based on the judgment result of whether the current posture information of the terminal meets the preset conditions, the trigger duration for the terminal to unlock the screen by fingerprint is determined.
[0121] In this embodiment, the preset condition is used to characterize a state where the terminal is prone to false triggering. When the terminal's current posture information meets the preset condition, it indicates that the terminal is currently in a state prone to false triggering. In this case, the trigger duration for unlocking the screen via fingerprint is determined to be longer than the trigger duration when the terminal is in a state less prone to false triggering. By determining whether the terminal's current posture information meets the preset condition to determine the trigger duration for unlocking the screen via fingerprint, flexible adjustment of the trigger duration can be achieved, reducing the likelihood of screen unlocking due to false triggering in a state prone to false triggering.
[0122] In some embodiments, the second processing unit is specifically used for
[0123] If it is determined that the current posture information of the terminal meets the preset conditions, then the trigger duration for the terminal to unlock the screen via fingerprint is determined to be the first duration.
[0124] If it is determined that the current posture information of the terminal does not meet the preset conditions, then the trigger duration for the terminal to unlock the screen via fingerprint is determined to be the second duration; wherein, the first duration is longer than the second duration.
[0125] In this embodiment, the preset condition is used to characterize a state where the terminal is prone to false triggering. When it is determined that the current posture information of the terminal meets the preset condition, it indicates that the terminal is currently in a state prone to false triggering, and the trigger duration for unlocking the screen via fingerprint is determined to be a first duration; when it is determined that the current posture information of the terminal does not meet the preset condition, it indicates that the terminal is not currently in a state prone to false triggering, and the trigger duration for unlocking the screen via fingerprint is determined to be a second duration; the first duration is longer than the second duration. Thus, when the terminal is currently in a state prone to false triggering, appropriately extending the trigger duration can reduce the possibility of the screen being unlocked due to false triggering in this state.
[0126] In some embodiments, the current attitude information includes at least one of the following:
[0127] The acceleration of the terminal along each coordinate axis in the three-dimensional coordinate system at the current moment;
[0128] The change in angular velocity of the terminal along each coordinate axis in the three-dimensional coordinate system within the current time window;
[0129] The current posture information of the terminal satisfies preset conditions, including at least one of the following:
[0130] The acceleration of the terminal along each coordinate axis in the three-dimensional coordinate system at the current moment satisfies a first preset condition; the first preset condition is used to characterize the terminal's preset first motion state through acceleration;
[0131] The change in angular velocity of the terminal along each coordinate axis in the three-dimensional coordinate system within the current time window satisfies the second preset condition; the second preset condition is used to characterize the second preset motion state of the terminal through angular velocity.
[0132] In this embodiment, the terminal's acceleration can be acquired by an accelerometer integrated within the terminal. The change in angular velocity can be acquired by a gyroscope integrated within the terminal. The time window can be set as needed. The terminal's current attitude information satisfies at least one of the following preset conditions: acceleration satisfies a first preset condition, and the change in angular velocity satisfies a second preset condition.
[0133] In this embodiment, both the first and second operating states refer to states where the terminal is prone to accidental fingerprint unlocking. The first operating state indicates that the terminal's motion fluctuates significantly, making accidental fingerprint unlocking more likely. The second operating state indicates that the terminal's current posture is in a state prone to accidental fingerprint unlocking.
[0134] In some embodiments, the acceleration of the terminal along each coordinate axis in the three-dimensional coordinate system at the current moment satisfies a first preset condition, including:
[0135] The root mean square of the acceleration of the terminal along the X-axis, Y-axis, and Z-axis at the current moment is greater than a first threshold; and / or, the acceleration of the terminal along the Y-axis at the current moment is less than a third threshold;
[0136] The change in angular velocity of the terminal along each coordinate axis in the three-dimensional coordinate system within the current time window satisfies the second preset condition, including:
[0137] The root mean square of the change in angular velocity of the terminal along the X-axis, Y-axis, and Z-axis within the current time window is greater than the second threshold.
[0138] In this embodiment, the first threshold, second threshold, and third threshold can be set as needed. The Z-axis in the three-dimensional coordinate system is perpendicular to the surface of the terminal screen and pointing upwards. The X-axis in the three-dimensional coordinate system is along the longer side of the terminal screen surface, and the Y-axis is along the shorter side of the terminal screen surface.
[0139] In this embodiment of the disclosure, when the root mean square of the acceleration of the terminal along the X-axis, Y-axis, and Z-axis at the current moment is greater than a first threshold, and / or the root mean square of the change in angular velocity along the X-axis, Y-axis, and Z-axis within the current time window is greater than a second threshold, the terminal is in a state where it is prone to accidental fingerprint unlocking.
[0140] In this embodiment, when the acceleration along the Y-axis of the terminal at the current moment is less than a third threshold, the terminal is considered to be facing downwards, almost vertically downwards. At this time, the terminal is likely to be in a state where accidental fingerprint unlocking is possible. When the acceleration along the Y-axis is close to -9.8 m / s², the terminal is almost vertically downwards. The third threshold can be set to a value close to -9.8 m / s².
[0141] In some embodiments, the second processing unit is further configured to...
[0142] Get the current screen display status of the terminal;
[0143] When the screen of the terminal is in a screen-off state, the number of times the unlock button of the terminal screen is pressed within a preset time period is detected.
[0144] When the number of presses reaches a preset number, the trigger duration for the terminal to unlock the screen via fingerprint is determined to be a third duration; wherein the third duration is longer than the second duration.
[0145] In this embodiment of the disclosure, when the terminal's screen is in a screen-off state, if the number of presses on the terminal's screen unlock button within a preset time period reaches a preset number, it indicates that the number of presses on the screen unlock button within the preset time period is relatively frequent. At this time, the user may not want to unlock the device but only wants to check the time. Therefore, the triggering time can be appropriately extended, that is, the triggering time for determining that the terminal can unlock the screen via fingerprint is the third time period. The second time period is the triggering time for the terminal to unlock the screen via fingerprint under normal circumstances.
[0146] This disclosure also provides a terminal, including a processor and a memory, wherein the memory stores a computer program that can run on the processor, and the processor, when running the computer program, executes the steps of the methods described in the various embodiments.
[0147] This disclosure also provides a computer-readable storage medium storing a computer program thereon, characterized in that the computer program, when executed by a processor, implements the steps of the methods described in the various embodiments.
[0148] Figure 4This is a block diagram illustrating a terminal device according to an exemplary embodiment. For example, the terminal device may be a mobile phone, computer, digital broadcasting terminal, messaging device, game console, tablet device, medical device, fitness equipment, personal digital assistant, etc.
[0149] Reference Figure 4 The terminal device may include one or more of the following components: processing component 802, memory 804, power component 806, multimedia component 808, audio component 810, input / output (I / O) interface 812, sensor component 814, and communication component 816.
[0150] Processing component 802 typically controls the overall operation of the terminal device, such as operations associated with touch, telephone calls, data communication, camera operation, and recording. Processing component 802 may include one or more processors 820 to execute instructions to complete all or part of the steps of the methods described above. Furthermore, processing component 802 may include one or more modules to facilitate interaction between processing component 802 and other components. For example, processing component 802 may include a multimedia module to facilitate interaction between multimedia component 808 and processing component 802.
[0151] Memory 804 is configured to store various types of data to support operation on the terminal device. Examples of this data include instructions for any application or method operating on the terminal device, contact data, phonebook data, messages, pictures, videos, etc. Memory 804 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic storage, flash memory, magnetic disk, or optical disk.
[0152] Power component 806 provides power to various components of the terminal device. Power component 806 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to the terminal device.
[0153] Multimedia component 808 includes a screen that provides an output interface between a terminal device and a user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touchscreen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensors may sense not only the boundaries of touch or swipe actions but also the duration and pressure associated with the touch or swipe operation. In some embodiments, multimedia component 808 includes a front-facing camera and / or a rear-facing camera. When the terminal device is in an operating mode, such as a shooting mode or a video mode, the front-facing camera and / or the rear-facing camera may receive external multimedia data. Each front-facing camera and rear-facing camera may be a fixed optical lens system or have focal length and optical zoom capabilities.
[0154] Audio component 810 is configured to output and / or input audio signals. For example, audio component 810 includes a microphone (MIC) configured to receive external audio signals when the terminal device is in an operating mode, such as call mode, recording mode, and voice recognition mode. The received audio signals may be further stored in memory 804 or transmitted via communication component 816. In some embodiments, audio component 810 also includes a speaker for outputting audio signals.
[0155] I / O interface 812 provides an interface between processing component 802 and peripheral interface modules, such as keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to, home buttons, volume buttons, power buttons, and lock buttons.
[0156] Sensor assembly 814 includes one or more sensors for providing status assessments of various aspects of the terminal device. For example, sensor assembly 814 can detect the on / off state of the terminal device, the relative positioning of components such as the terminal device's display and keypad, changes in the position of the terminal device or a component of the terminal device, the presence or absence of user contact with the terminal device, the terminal device's orientation or acceleration / deceleration, and temperature changes. Sensor assembly 814 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. Sensor assembly 814 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, sensor assembly 814 may also include an accelerometer, a gyroscope, a magnetometer, a pressure sensor, or a temperature sensor.
[0157] Communication component 816 is configured to facilitate wired or wireless communication between the terminal device and other devices. The terminal device can access wireless networks based on communication standards, such as WiFi, 2G, or 3G, or combinations thereof. In one exemplary embodiment, communication component 816 receives broadcast signals or broadcast-related information from an external broadcast management system via a broadcast channel. In one exemplary embodiment, communication component 816 also includes a near-field communication (NFC) module to facilitate short-range communication. For example, the NFC module may be implemented based on radio frequency identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
[0158] In an exemplary embodiment, the terminal device may be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field-programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components to perform the methods described above.
[0159] Other embodiments of this disclosure will readily occur to those skilled in the art upon consideration of the specification and practice of the invention disclosed herein. This disclosure is intended to cover any variations, uses, or adaptations of this disclosure that follow the general principles of this disclosure and include common knowledge or customary techniques in the art not disclosed herein. The specification and examples are to be considered exemplary only, and the true scope and spirit of this disclosure are indicated by the following claims.
[0160] It should be understood that this disclosure is not limited to the precise structures described above and shown in the accompanying drawings, and various modifications and changes can be made without departing from its scope. The scope of this disclosure is limited only by the appended claims.
Claims
1. A fingerprint unlocking method, characterized in that, The method includes: Get the current screen display status of the terminal; Obtain the current attitude information of the terminal; When the screen of the terminal is in the on state, based on the current posture information of the terminal, the trigger duration for unlocking the screen by fingerprint is determined; wherein, if the current posture of the terminal meets the preset conditions, the trigger duration is a first duration; if the current posture information of the terminal does not meet the preset conditions, the trigger duration is a second duration; the first duration is greater than the second duration. When the screen of the terminal is in a screen-off state, the number of times the terminal's screen unlock button is pressed within a preset time period is detected; when the number of presses reaches the preset number, the triggering time for the terminal to unlock the screen via fingerprint is determined to be a third time period; wherein, the third time period is determined based on the number of presses, and the third time period is longer than the second time period; If the fingerprint trigger duration applied to the unlock button on the terminal screen reaches the specified trigger duration, the screen is unlocked.
2. The fingerprint unlocking method according to claim 1, characterized in that, The current attitude information includes at least one of the following: The acceleration of the terminal along each coordinate axis in the three-dimensional coordinate system at the current moment; The change in angular velocity of the terminal along each coordinate axis in the three-dimensional coordinate system within the current time window; The current posture information of the terminal satisfies preset conditions, including at least one of the following: The acceleration of the terminal along each coordinate axis in the three-dimensional coordinate system at the current moment satisfies a first preset condition; the first preset condition is used to characterize the terminal's preset first motion state through acceleration; The change in angular velocity of the terminal along each coordinate axis in the three-dimensional coordinate system within the current time window satisfies the second preset condition; the second preset condition is used to characterize the second preset motion state of the terminal through angular velocity.
3. The fingerprint unlocking method according to claim 2, characterized in that, The acceleration of the terminal along each coordinate axis in the three-dimensional coordinate system at the current moment satisfies a first preset condition, including: The root mean square of the acceleration of the terminal along the X-axis, Y-axis, and Z-axis at the current moment is greater than a first threshold; and / or, the acceleration of the terminal along the Y-axis at the current moment is less than a third threshold; The change in angular velocity of the terminal along each coordinate axis in the three-dimensional coordinate system within the current time window satisfies the second preset condition, including: The root mean square of the change in angular velocity of the terminal along the X-axis, Y-axis, and Z-axis within the current time window is greater than the second threshold.
4. A fingerprint unlocking device, characterized in that, The device includes: The second processing unit is used to obtain the current screen display status of the terminal; The first processing unit is used to obtain the current attitude information of the terminal; The second processing unit is configured to, when the screen display state of the terminal is on, determine, based on the current posture information of the terminal, the trigger duration for unlocking the screen via fingerprint; wherein, if the current posture of the terminal meets the preset conditions, the trigger duration is a first duration; if the current posture information of the terminal does not meet the preset conditions, the trigger duration is a second duration; when the screen display state of the terminal is off, detect the number of presses on the screen unlock button within the preset duration; when the number of presses reaches the preset number, determine that the trigger duration for unlocking the screen via fingerprint is a third duration; wherein, the third duration is determined based on the number of presses, and the third duration is longer than the second duration; The third processing unit is used to determine if the fingerprint trigger duration applied to the terminal screen unlock button reaches the trigger duration, and then unlock the screen.
5. The fingerprint unlocking device according to claim 4, characterized in that, The current attitude information includes at least one of the following: The acceleration of the terminal along each coordinate axis in the three-dimensional coordinate system at the current moment; The change in angular velocity of the terminal along each coordinate axis in the three-dimensional coordinate system within the current time window; The current posture information of the terminal satisfies preset conditions, including at least one of the following: The acceleration of the terminal along each coordinate axis in the three-dimensional coordinate system at the current moment satisfies a first preset condition; the first preset condition is used to characterize the terminal's preset first motion state through acceleration; The change in angular velocity of the terminal along each coordinate axis in the three-dimensional coordinate system within the current time window satisfies the second preset condition; the second preset condition is used to characterize the second preset motion state of the terminal through angular velocity.
6. The fingerprint unlocking device according to claim 5, characterized in that, The acceleration of the terminal along each coordinate axis in the three-dimensional coordinate system at the current moment satisfies a first preset condition, including: The root mean square of the acceleration of the terminal along the X-axis, Y-axis, and Z-axis at the current moment is greater than a first threshold; and / or, the acceleration of the terminal along the Y-axis at the current moment is less than a third threshold; The change in angular velocity of the terminal along each coordinate axis in the three-dimensional coordinate system within the current time window satisfies the second preset condition, including: The root mean square of the change in angular velocity of the terminal along the X-axis, Y-axis, and Z-axis within the current time window is greater than the second threshold.
7. A terminal, characterized in that, include: A processor and a memory for storing a computer program capable of running on the processor, wherein the processor, when running the computer program, performs the steps of the method according to any one of claims 1 to 3.
8. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1 to 3.
Citation Information
Patent Citations
Adjustment method and device for response sensitivity of fingerprint sensor
CN106020671A
Control method and device for fingerprint sensor, and storage medium
CN107273173A
Terminal control method, terminal and computer readable storage medium
CN107786733A