Display control method and device, electronic equipment and storage medium
By maintaining a normal display mode on the terminal device's screen and adjusting the backlight brightness, displaying the fingerprint layer, and switching to screen-off mode after a preset time, the issues of screen lag and flickering during fingerprint unlocking are resolved, thus improving the user experience.
Patent Information
- Application Number
- CN202211289785.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-10-20
- Publication Date
- 2025-12-19
- Estimated Expiration
- 2042-10-20
AI Technical Summary
During the fingerprint unlocking process of a terminal device, the difference in power supply and Vsync signal frequency when the display switches between always-on display mode and normal display mode can cause stuttering and screen flickering, affecting the user experience.
When the display meets the preset screen-off conditions, maintain the normal display mode and adjust the backlight brightness to the screen-off display mode, display the fingerprint layer, and delete the fingerprint layer after a preset time, then switch to the screen-off display mode.
This avoids screen lag and flickering issues caused by mode switching during fingerprint unlocking, thus improving the user experience.
Smart Images

Figure CN115620680B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present disclosure relates to the technical field of display control, and in particular, to a display control method and device, an electronic device, and a storage medium. BACKGROUND
[0002] In recent years, various technologies of terminal devices have gradually improved, and the user experience has been greatly improved. For example, the fingerprint unlocking technology of the terminal device has gradually broken away from the specific fingerprint unlocking button and realized the form of under-screen fingerprint unlocking. Before (after) fingerprint unlocking, the terminal device is often in an unused screen-off state, that is, the display screen is in an Always-on-Display (AoD) mode, and during fingerprint unlocking, the terminal device is often in a screen-on state, that is, the display screen is in a normal display mode. Because there are differences in the power supply of the display screen and the frequency of the vertical synchronization (Vsync) signal between the screen-off display mode and the normal display mode, the display screen may be stuck and flash during fingerprint unlocking in the related technology, resulting in poor user experience. SUMMARY
[0003] To overcome the problems in the related art, the embodiments of the present disclosure provide a display control method and device, an electronic device, and a storage medium to solve the defects in the related art.
[0004] According to a first aspect of an embodiment of the present disclosure, a display control method is provided, applied to a terminal device with a display screen, and the method comprises:
[0005] In a case where the display screen meets a preset screen-off condition, keeping the display screen in a normal display mode, adjusting the backlight brightness of the display screen to the backlight brightness in the screen-off display mode, and displaying the fingerprint layer on the display screen;
[0006] In a case where the time for the display screen to display the fingerprint layer reaches a preset time length, deleting the fingerprint layer on the display screen, and switching the display screen from the normal display mode to the screen-off display mode.
[0007] In an embodiment, the switching of the display screen from the normal display mode to the screen-off display mode comprises:
[0008] After deleting the fingerprint layer on the display screen, in response to the system state of the terminal device being switched from a first sleep state to a second sleep state, the display screen is switched from the normal display mode to the screen-off display mode.
[0009] In an embodiment, the method further comprises:
[0010] In a case where the display screen is in the off-screen display mode and the touch signal reported by the display screen is received, the display screen is switched from the off-screen display mode to a normal display mode, the backlight brightness of the display screen is adjusted to the backlight brightness in the off-screen display mode, and the fingerprint image layer is displayed on the display screen.
[0011] In one embodiment, further comprising:
[0012] In a case where the fingerprint image layer is displayed on the display screen and the touch signal reported by the fingerprint area of the display screen is received, the backlight brightness of the fingerprint area is adjusted to the backlight brightness in the fingerprint identification mode, wherein the fingerprint area is an area on the display screen where the fingerprint image layer is displayed.
[0013] A fingerprint pattern is determined according to the touch signal reported by the display screen, and a fingerprint verification result is determined according to the fingerprint pattern.
[0014] In one embodiment, after the fingerprint verification result is determined according to the fingerprint pattern, further comprising:
[0015] The display screen is kept in the normal display mode, and the display screen is controlled to display content corresponding to the fingerprint verification result.
[0016] In one embodiment, the display screen is controlled to display content corresponding to the fingerprint verification result, comprising:
[0017] In a case where the fingerprint verification result is successful, the display screen is controlled to display a target page.
[0018] In a case where the fingerprint verification result is unsuccessful, the backlight brightness of the display screen is adjusted to the backlight brightness in the off-screen display mode, and the fingerprint image layer is displayed on the display screen.
[0019] In one embodiment, in a case where the time for which the display screen displays the fingerprint image layer reaches a preset time length, the fingerprint image layer is deleted on the display screen, and the display screen is switched from the normal display mode to the off-screen display mode, comprising:
[0020] In a case where the time for which the display screen displays the fingerprint image layer reaches a preset time length and no touch signal reported by the display screen is received within the preset time length, the fingerprint image layer is deleted on the display screen, and the display screen is switched from the normal display mode to the off-screen display mode.
[0021] According to a second aspect of the embodiments of the present disclosure, a display control apparatus is provided, applied to a terminal device with a display screen, and the apparatus comprises:
[0022] The first screen-off module is configured to keep the display screen in a normal display mode, adjust the backlight brightness of the display screen to the backlight brightness in the screen-off display mode, and display the fingerprint layer on the display screen when the display screen meets a preset screen-off condition.
[0023] The second screen-off module is configured to delete the fingerprint layer on the display screen and switch the display screen from the normal display mode to the screen-off display mode when the display screen displays the fingerprint layer for a preset time length.
[0024] In one embodiment, the second screen-off module is configured to switch the display screen from the normal display mode to the screen-off display mode, in particular for:
[0025] After the fingerprint layer is deleted on the display screen, the display screen is switched from the normal display mode to the screen-off display mode in response to the system state of the terminal device being switched from a first sleep state to a second sleep state.
[0026] In one embodiment, the terminal device further comprises a screen-on module configured to:
[0027] When the display screen is in the screen-off display mode and the touch signal reported by the display screen is received, the display screen is switched from the screen-off display mode to the normal display mode, the backlight brightness of the display screen is adjusted to the backlight brightness in the screen-off display mode, and the fingerprint layer is displayed on the display screen.
[0028] In one embodiment, the terminal device further comprises a fingerprint verification module configured to:
[0029] When the fingerprint layer is displayed on the display screen and the touch signal reported by the fingerprint area of the display screen is received, the backlight brightness of the fingerprint area is adjusted to the backlight brightness in the fingerprint identification mode, where the fingerprint area is an area of the display screen on which the fingerprint layer is displayed.
[0030] A fingerprint pattern is determined according to the touch signal reported by the display screen, and a fingerprint verification result is determined according to the fingerprint pattern.
[0031] In one embodiment, the terminal device further comprises a display module configured to:
[0032] After the fingerprint verification result is determined according to the fingerprint pattern, the display screen is kept in the normal display mode, and the display screen displays content corresponding to the fingerprint verification result.
[0033] In one embodiment, the display module is configured to control the display screen to display the content corresponding to the fingerprint verification result, in particular for:
[0034] In a case that the fingerprint verification result is successful, the display screen displays a target page;
[0035] In a case that the fingerprint verification result is unsuccessful, the backlight brightness of the display screen is adjusted to the backlight brightness in the screen-off display mode, and the fingerprint layer is displayed on the display screen.
[0036] In one embodiment, the second screen-off module is specifically used for:
[0037] In a case that the time for displaying the fingerprint layer on the display screen reaches a preset time length, and no touch signal reported by the display screen is received within the preset time length, the fingerprint layer is deleted on the display screen, and the display screen is switched from the normal display mode to the screen-off display mode.
[0038] According to a third aspect of the embodiments of the present disclosure, an electronic device is provided, which includes a memory and a processor, the memory is used to store computer instructions executable on the processor, and the processor is used to implement the display control method according to the first aspect when executing the computer instructions.
[0039] According to a fourth aspect of the embodiments of the present disclosure, a computer readable storage medium is provided, which stores a computer program, and the program is executed by a processor to implement the method according to the first aspect.
[0040] The technical solutions provided by the embodiments of the present disclosure can include the following beneficial effects:
[0041] The display control method provided by the embodiments of the present disclosure can keep the display screen in the normal display mode, adjust the backlight brightness of the display screen to the backlight brightness in the screen-off display mode, and display the fingerprint layer on the display screen in a case that the display screen is switched from the screen-on state to the screen-off state. In a case that the time for displaying the fingerprint layer on the display screen reaches a preset time length, the fingerprint layer is deleted on the display screen, and the display screen is switched from the normal display mode to the screen-off display mode. Since the display screen remains in the normal display mode after being turned off, and is switched to the screen-off display mode only when the fingerprint layer disappears, the user performs fingerprint unlocking while the fingerprint layer is displayed, and the display screen is in the normal display mode before (after) and during the fingerprint unlocking, so that the switching between the two display modes is avoided, and the problems such as screen freezing and screen flashing are avoided, thereby improving the user experience. BRIEF DESCRIPTION OF DRAWINGS
[0042] The accompanying drawings, which are incorporated herein and form part of the specification, illustrate embodiments consistent with the present application and, together with the description, further serve to explain the principles behind the application.
[0043] Figure 1is a flowchart of a display control method according to an example embodiment of the present disclosure;
[0044] Figure 2 is a flowchart of a display control method according to another example embodiment of the present disclosure;
[0045] Figure 3 is a flowchart of a display control method according to yet another example embodiment of the present disclosure;
[0046] Figure 4 is a structural diagram of a display control apparatus according to an example embodiment of the present disclosure;
[0047] Figure 5 is a structural block diagram of an electronic device according to an example embodiment of the present disclosure. DETAILED DESCRIPTION
[0048] The example embodiments will now be described in detail with reference to the accompanying drawings. If the description of the example embodiments refers to accompanying drawings, then the description is illustrative of the example embodiments and does not limit the scope of the disclosure. Although the figures can be concentrated in one area, they can be spread throughout various areas of the specification. Although the description of example embodiments can use terms like x, y, upper, lower, behind, in front of, etc., these terms are used for the convenience of the reader and are non-limiting.
[0049] The terminology used in the present disclosure is for the purpose of describing particular embodiments only and is not intended to be limiting of the present disclosure. As used in the description of the present disclosure and the appended claims, the singular forms “a,” “an,” and “the” are intended to include the plural forms as well, unless the context clearly indicates otherwise. It will also be understood that the term “and / or” as used herein refers to and encompasses any and all possible combinations of one or more of the associated listed items.
[0050] It will be understood that, although the terms first, second, third, etc. can be used herein to describe various information, these terms are not intended to denote a temporal or chronological order. Rather, these terms are used only as labels to distinguish different sets of the information from each other. For example, a first information can be termed a second information, and similarly, a second information can also be termed a first information without departing from the scope of the present disclosure. As used herein, the term “if’ can be construed to mean “when” or “in response to determining” depending on the context. It will be further understood that the terms “comprises” and / or “comprising,” or “includes” and / or “including” when used in this specification, specify the presence of stated features, integers, steps, operations, elements, and / or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and / or groups thereof.
[0051] In recent years, various technologies in terminal devices have gradually improved, significantly enhancing the user experience. For example, fingerprint unlocking technology on terminal devices has gradually moved away from a dedicated fingerprint unlocking button, achieving under-display fingerprint unlocking. Before (and after) fingerprint unlocking, the terminal device is often in an unused, always-on-display (AoD) state, while during fingerprint unlocking, the terminal device is often in a lit-screen state, i.e., the display is in normal display mode. Due to the differences in power supply and vertical sync (Vsync) signal frequency between always-on-display and normal display modes, screen stuttering and flickering can occur during fingerprint unlocking, resulting in a poor user experience.
[0052] In normal display mode, the display is powered by a normal power supply, and the power supply power is within the normal power range. The Vsync signal frequency is normal. In screen-off display mode, the display is powered by a low power supply, and the power supply power is lower than the normal power range. The Vsync signal frequency is reduced to a lower level, such as 30Hz.
[0053] When switching between normal display mode and screen-off display mode, changes in the Vsync signal frequency can cause unstable Vsync sampling in the system, making the display prone to stuttering. Frequent switching of power supply can also cause screen flickering.
[0054] Taking a successful unlocking process as an example, before fingerprint unlocking, the display is in the off-screen mode. When the user touches the display to unlock with their fingerprint, the display switches to the normal display mode. When the user ends the touch, the fingerprint unlocking result has not yet been obtained, so the display switches back to the off-screen mode. After the fingerprint unlocking result is obtained, it switches to the normal display mode to display the desktop homepage.
[0055] Taking a failed unlocking process as an example, before fingerprint unlocking, the display is in off-screen mode. When the user touches the display to unlock with their fingerprint, the display switches to normal display mode. When the user ends the touch, the fingerprint unlock result has not yet been obtained, so the display switches back to off-screen mode. After the fingerprint unlock fails, the user may touch the display again to unlock, which will cause the display mode to switch repeatedly.
[0056] Based on this, in a first aspect, at least one embodiment of this disclosure provides a display control method, please refer to the appendix. Figure 1 It illustrates the flow of the method, including steps S101 to S102; it is understood that the appendix... Figure 1 Steps S101 and S102 are not a limitation on the method flow; that is, the method may include only step S101 or only step S102.
[0057] This method can be applied to terminal devices with displays, meaning it can control the display mode and content of the terminal device's screen, thereby reducing stuttering and screen flickering issues during fingerprint unlocking. The terminal device can be a smartphone, tablet, wearable device, etc. The display can be an OLED display, etc., with display and touch functions, and includes in-display fingerprint functionality.
[0058] In step S101, when the display screen meets the preset screen-off conditions, the display screen is kept in normal display mode, and the backlight brightness of the display screen is adjusted to the backlight brightness of the screen-off display mode, and the fingerprint layer is displayed on the display screen.
[0059] This step occurs when the display is off. The screen can be turned off by the user or automatically by the device; the preset screen-off condition is receiving a screen-off trigger command. For example, if the user turns off the display using the power button (lock button) of the device, a screen-off trigger command is generated, causing the display to meet the preset screen-off condition. Alternatively, the device may count the duration the display is on and not touched; if this duration reaches the system's preset screen-off time, a screen-off trigger command is generated, causing the display to meet the preset screen-off condition.
[0060] The terminal device has a backlight register for normal display mode (hereinafter referred to as the normal backlight register) and a backlight register for screen-off display mode (hereinafter referred to as the screen-off backlight register). When the display is in normal display mode, the terminal device uses the backlight brightness in the normal backlight register to control the brightness of the display. When the display is in screen-off display mode, the terminal device uses the backlight brightness in the screen-off backlight register to control the brightness of the display. In this step, the backlight brightness can be read from the screen-off backlight register, and the backlight brightness in the normal backlight register can be modified accordingly.
[0061] In normal display mode, adjusting the screen's backlight brightness to the level of the screen-off display mode allows the screen to display the same effect as the screen-off display mode, mimicking the effect of the time-off mode and thus avoiding disruption to normal user operation. In other words, if the screen illuminates at the normal display mode's backlight brightness after the screen is off, users may mistakenly believe the screen-off process failed and repeatedly operate the device, which can also cause light pollution and negatively impact the user experience.
[0062] Understandably, when the backlight brightness of the display is adjusted to the backlight brightness of the always-on display mode, the display is still in normal display mode.
[0063] To some extent, the probability of fingerprint unlocking by the user within a short time after the display screen is turned off is relatively high, and therefore, in this step, the fingerprint layer is displayed after the display screen is turned off to prompt the user about the operation position of fingerprint unlocking, thereby facilitating user operation. In this step, the display screen is not immediately switched to the off-screen display mode after being turned off, and if the user performs fingerprint unlocking within a short time after the display screen is turned off, the display mode does not need to be switched, and the power supply power and Vsync signal frequency of the display screen can be kept unchanged. Therefore, compared with the related art in which the display screen is immediately switched to the off-screen display mode after being turned off, this step can avoid problems such as display screen freezing or screen flickering caused by frequent switching of the display mode when fingerprint unlocking is performed after the display screen is turned off.
[0064] It can be understood that the fingerprint layer displayed on the display screen in this step will disappear after a certain time, thereby avoiding problems such as energy waste and light pollution.
[0065] In step S102, in a case where the time for which the display screen displays the fingerprint layer reaches a preset length of time, the fingerprint layer is deleted from the display screen, and the display screen is switched from the normal display mode to the off-screen display mode.
[0066] The display of the fingerprint layer on the display screen in this step can be the operation performed in step S101 or the operation performed after the user fails to perform fingerprint unlocking. The process of fingerprint unlocking by the user will be described in detail in subsequent embodiments, and will not be repeated here.
[0067] In the above two cases and other reasonable cases in which the fingerprint layer is displayed, the display screen is in the normal display mode, and therefore, in a case where the display time of the fingerprint layer reaches the preset length of time, the fingerprint layer can be deleted and the display screen can be switched to the off-screen display mode, so as to reduce the display content of the display screen and reduce energy consumption.
[0068] When the display screen is switched from the normal display mode to the off-screen display mode, the power supply power and the Vsync signal frequency of the display screen can be reduced.
[0069] In an example, switching the display screen from the normal display mode to the off-display mode can include, after the fingerprint layer is deleted from the display screen, switching the display screen from the normal display mode to the off-display mode in response to a system state of the terminal device being switched from a first doze state to a second doze state. The system state of the terminal device can be divided into four states: on, off, doze, and doze_suspend. The first doze state can be the doze state, in which the power consumption is low and the screen is in a state of maintaining update, i.e., in a light sleep state. The second doze state can be the doze_suspend state, in which the power consumption is low and the screen is not updated, i.e., in a deep sleep state. In this example, the display screen is switched to the off-display mode after the system state is further put to sleep, so that the display mode is more matched with the system state, the terminal device is further delayed to enter the off-display mode, and problems such as screen freezing or screen flickering caused by frequent switching of the display mode when the terminal device is unlocked after being put to the off-display mode are further avoided.
[0070] It can be understood that, when the display screen displays the fingerprint layer, if a user touches the display screen to perform fingerprint unlocking, the display time of the fingerprint layer can be cleared and recalculated, i.e., when the user fails to perform fingerprint unlocking and the fingerprint layer continues to be displayed, the display time of the fingerprint layer can be recalculated. Therefore, this step can include: when the display time of the display screen displaying the fingerprint layer reaches a preset time length, and no touch signal reported by the display screen is received within the preset time length, the fingerprint layer is deleted from the display screen, and the display screen is switched from the normal display mode to the off-display mode. After the display screen is switched from the normal display mode to the off-display mode, the power supply power is reduced, and the frequency of the Vsync signal is also reduced.
[0071] It can be understood that, when the display screen displays the fingerprint layer, if a user touches the display screen to perform fingerprint unlocking, the display time of the fingerprint layer can be cleared and recalculated, i.e., when the user fails to perform fingerprint unlocking and the fingerprint layer continues to be displayed, the display time of the fingerprint layer can be recalculated. Therefore, this step can include: when the display time of the display screen displaying the fingerprint layer reaches a preset time length, and no touch signal reported by the display screen is received within the preset time length, the fingerprint layer is deleted from the display screen, and the display screen is switched from the normal display mode to the off-display mode. After the display screen is switched from the normal display mode to the off-display mode, the power supply power is reduced, and the frequency of the Vsync signal is also reduced. Figure 1 The embodiments shown delay the operation of switching the display screen to the off-display mode after the display screen is turned off, so that the display mode is not frequently switched when the user performs fingerprint unlocking after the display screen is turned off, and problems such as screen freezing and screen flickering of the display screen are avoided.
[0072] In a possible embodiment of the present disclosure, in the case that the display screen is in the off-screen display mode and the touch signal reported by the display screen is received, the display screen can be switched from the off-screen display mode to the normal display mode, the backlight brightness of the display screen is adjusted to the backlight brightness in the off-screen display mode, and the fingerprint layer is displayed on the display screen. That is, if the user performs a touch operation when the display screen is in the off-screen display mode, the display screen can be switched to the normal display mode, that is, the display state after the display screen is turned off (that is, the display state in step S101), and the user usually performs fingerprint unlocking when the display screen is in the off-screen display mode. Therefore, the unlocking process can avoid problems such as lag and screen flashing in the case that the unlocking is performed in the display state in step S101.
[0073] The display control method provided by the embodiments of the present disclosure can keep the display screen in the normal display mode, adjust the backlight brightness of the display screen to the backlight brightness in the off-screen display mode, and display the fingerprint layer on the display screen in the case that the display screen is switched from the on-screen state to the off-screen state. In the case that the display time of the fingerprint layer on the display screen reaches the preset time length, the fingerprint layer can be deleted on the display screen, and the display screen can be switched from the normal display mode to the off-screen display mode. Since the display screen remains in the normal display mode after being turned off, and is switched to the off-screen display mode only when the fingerprint layer disappears, the user performs fingerprint unlocking when the fingerprint layer is displayed, and the display screen is in the normal display mode before (after) and during the fingerprint unlocking process, the switching between the two display modes is avoided, and problems such as lag and screen flashing of the display screen are avoided, thereby improving the user experience.
[0074] Please refer to the accompanying drawings Figure 2 which exemplarily shows the fingerprint unlocking process in some embodiments of the present disclosure, including steps S201 to S202.
[0075] In step S201, the fingerprint layer is displayed on the display screen, and in the case that the touch signal reported by the fingerprint area of the display screen is received, the backlight brightness of the fingerprint area is adjusted to the backlight brightness in the fingerprint identification mode, wherein the fingerprint area is the area of the display screen on which the fingerprint layer is displayed.
[0076] In the case that the display screen displays the fingerprint layer, the display screen is in the normal display mode; and the display screen displaying the fingerprint layer can be the state after the display screen is turned off (that is, the state in step S101), or the state of the display screen in the off-screen display mode after being touched by the user.
[0077] The backlight brightness in the fingerprint recognition mode is higher, and thus adjusting the backlight brightness of the fingerprint area to the backlight brightness in the fingerprint recognition mode can make the fingerprint area in a high-brightness state. The fingerprint area in the high-brightness state can facilitate identification of the fingerprint pattern and improve the efficiency and accuracy of the fingerprint verification result. For example, the fingerprint area can be controlled to be in the high-brightness state by using an LHNM (Local high brightness mode) instruction.
[0078] In step S202, a fingerprint pattern is determined according to the touch signal reported by the display screen, and a fingerprint verification result is determined according to the fingerprint pattern.
[0079] The display area continues to report the touch signal after being in the high-brightness state, and the touch signal collected in the high-brightness state can contain the fingerprint pattern information of the finger, and thus the fingerprint pattern can be drawn according to the touch signal.
[0080] For example, the fingerprint pattern can be compared with a pre-constructed fingerprint model, and if the matching degree meets the threshold requirement, the fingerprint verification result is determined to be successful, and if the matching degree does not meet the threshold requirement, the fingerprint verification result is determined to be failed.
[0081] It can be understood that after the fingerprint verification result is determined according to the fingerprint pattern, the display screen can be kept in the normal display mode, and the display screen can be controlled to display the content corresponding to the fingerprint verification result. For example, in the case that the fingerprint verification result is successful, the display screen can be controlled to display a target page, and the target page can be the desktop home page or the page before the terminal device is locked last time. In the case that the fingerprint verification result is failed, the backlight brightness of the display screen can be adjusted to the backlight brightness in the screen-off display mode, and the fingerprint layer can be displayed on the display screen.
[0082] In addition, in the case that the fingerprint verification result is failed, the number of consecutive fingerprint verification failures can be determined. Further, in the case that the fingerprint verification result is failed and the number of consecutive fingerprint verification failures reaches a prompt threshold, the display screen can be controlled to display an unlocking failure prompt page, for example, the prompt information such as “the number of unlocking failures reaches x times, and the terminal device will be locked for y time, please try to unlock again after y time” can be displayed in the page.
[0083] In this embodiment, the display screen always maintains the local highlight state in the normal display mode during the fingerprint unlocking process by the user touching the display screen. When the user ends the touch (i.e. the finger leaves the display screen) after the fingerprint unlocking, if the fingerprint verification result has been obtained, the display screen can display the content corresponding to the fingerprint verification result in the normal display mode, and if the fingerprint verification result has not been obtained, the display screen can adjust the backlight brightness of the display screen to the backlight brightness in the screen-off display mode and display the fingerprint layer on the display screen, i.e. restore the display state before the fingerprint unlocking. Since the display screen is in the normal display mode before the fingerprint unlocking, there is no display mode switching before, during and after the fingerprint unlocking, and thus the problems such as lag and screen flashing during the fingerprint unlocking can be avoided.
[0084] Please refer to the accompanying drawings Figure 3 which shows the running process of the display control method provided by the present disclosure in the daily use of the terminal device.
[0085] From Figure 3 It can be seen that the display screen is in the normal mode (i.e. the normal display state) after normal power-on, and after the screen is turned off, step S301 can be performed, i.e. the AoD is simulated by adjusting the backlight brightness, but the display screen is still in the normal mode and the fingerprint layer is displayed.
[0086] Next, if the user performs the fingerprint unlocking, step S302 is performed, i.e. the display screen is locally highlighted in the normal state and the fingerprint verification is performed; if the fingerprint verification result is successful, step S303 is performed, i.e. the unlocking is successful, and the display screen directly enters the desktop and continues to be in the normal mode, and if the fingerprint verification result fails, step S304 is performed, i.e. the unlocking fails, and the AoD is simulated by adjusting the backlight brightness in the normal mode, and the fingerprint layer is displayed.
[0087] Next, in the normal mode after step S301, if the fingerprint layer disappears, step S305 is performed, and in the normal mode after step S304, if the fingerprint layer disappears, step S306 is performed. In other words, whether in the normal mode after step S301 or in the normal mode after step S304, the display screen will be switched to the AoD mode after the fingerprint layer disappears.
[0088] Next, if the user touches the display screen, step S307 is performed, i.e., the display screen is switched to the normal mode, and then step S308 is performed, i.e., the display screen performs local highlighting in the normal state and performs fingerprint verification; if the fingerprint verification result is successful, step S309 is performed, i.e., the unlocking is successful, and the display screen continues to be in the normal mode, and if the fingerprint verification result is unsuccessful, step S310 is performed, i.e., the unlocking is unsuccessful, and the display screen continues to be in the normal mode by adjusting the backlight brightness to simulate the AoD, and the fingerprint layer is displayed, and then step S311 is performed after the fingerprint layer disappears, i.e., the display screen is switched to the AoD mode after the fingerprint layer disappears.
[0089] According to a second aspect of the embodiments of the present disclosure, a display control apparatus is provided, which is applied to a terminal device having a display screen, and the apparatus comprises a first screen-out module and / or a second screen-out module; please refer to the accompanying Figure 4 which shows an example that the apparatus comprises the first screen-out module 401 and the second screen-out module 402, and it can be understood that the accompanying Figure 4 The apparatus is not limited to the structure, i.e., the apparatus can only comprise the first screen-out module 401 or the second screen-out module 402.
[0090] The first screen-out module 401 is configured to: in the case that the display screen is switched from the bright screen state to the screen-out state, keep the display screen in the normal display mode, adjust the backlight brightness of the display screen to the backlight brightness in the screen-out display mode, and display the fingerprint layer on the display screen; and / or,
[0091] The second screen-out module 402 is configured to: in the case that the time for displaying the fingerprint layer on the display screen reaches a preset time length, delete the fingerprint layer on the display screen, and switch the display screen from the normal display mode to the screen-out display mode.
[0092] In some embodiments of the present disclosure, the second screen-out module is configured to switch the display screen from the normal display mode to the screen-out display mode, and specifically configured to:
[0093] After deleting the fingerprint layer on the display screen, the display screen is switched from the normal display mode to the screen-out display mode in response to the system state of the terminal device being switched from the first sleep state to the second sleep state.
[0094] In some embodiments of the present disclosure, a bright screen module is further included, which is configured to:
[0095] In a case where the display screen is in the off-screen display mode and the touch signal reported by the display screen is received, the display screen is switched from the off-screen display mode to a normal display mode, the backlight brightness of the display screen is adjusted to the backlight brightness in the off-screen display mode, and the fingerprint image layer is displayed on the display screen.
[0096] In some embodiments of the present disclosure, the fingerprint verification module is further configured to:
[0097] In a case where the fingerprint image layer is displayed on the display screen and the touch signal reported by the fingerprint area of the display screen is received, the backlight brightness of the fingerprint area is adjusted to the backlight brightness in the fingerprint identification mode, where the fingerprint area is an area on the display screen where the fingerprint image layer is displayed.
[0098] The fingerprint pattern is determined according to the touch signal reported by the display screen, and the fingerprint verification result is determined according to the fingerprint pattern.
[0099] In some embodiments of the present disclosure, the display module is further configured to:
[0100] After the fingerprint verification result is determined according to the fingerprint pattern, the display screen is kept in the normal display mode, and the display screen is controlled to display content corresponding to the fingerprint verification result.
[0101] In some embodiments of the present disclosure, when the display module is used to control the display screen to display content corresponding to the fingerprint verification result, the display module is specifically configured to:
[0102] In a case where the fingerprint verification result is successful, the display screen is controlled to display a target page.
[0103] In a case where the fingerprint verification result is unsuccessful, the backlight brightness of the display screen is adjusted to the backlight brightness in the off-screen display mode, and the fingerprint image layer is displayed on the display screen.
[0104] In some embodiments of the present disclosure, the times module is further configured to:
[0105] In a case where the fingerprint verification result is unsuccessful, the number of consecutive fingerprint verification failures is determined.
[0106] The display module is further configured to:
[0107] In a case where the fingerprint verification result is unsuccessful and the number of consecutive fingerprint verification failures reaches a threshold, the display screen is controlled to display an unlocking failure prompt page.
[0108] In some embodiments of the present disclosure, the second off-screen module is specifically configured to:
[0109] In a case that the time of displaying the fingerprint layer on the display screen reaches a preset time length, and the touch signal reported by the display screen is not received within the preset time length, the fingerprint layer is deleted on the display screen, and the display screen is switched from the normal display mode to the screen-off display mode.
[0110] As to the apparatus in the above-mentioned embodiments, the specific manners that the respective modules perform operations have been described in detail in the embodiments of the method in the first aspect, and thus will not be described in detail here.
[0111] According to a third aspect of the embodiments of the present disclosure, please refer to the accompanying Figure 5 which shows a block diagram of an electronic device. The device 500 can be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, etc.
[0112] Referring to Figure 5 The device 500 can include one or more of the following components: a processing component 502, a memory 504, a power supply component 506, a multimedia component 508, an audio component 510, an input / output (I / O) interface 512, a sensor component 514, and a communication component 516.
[0113] The processing component 502 usually controls overall operations of the device 500, such as operations associated with display, phone call, data communication, camera operation and recording operation. The processing component 502 can include one or more processors 520 to execute instructions to complete all or part of steps of the methods described above. Further, the processing component 502 can include one or more modules to facilitate the interaction between the processing component 502 and other components. For example, the processing component 502 can include a multimedia module to facilitate the interaction between the multimedia component 508 and the processing component 502.
[0114] The memory 504 is configured to store various types of data to support operations of the device 500. Examples of these data include instructions for any application or method operating on the device 500, contact data, phonebook data, messages, pictures, videos, etc. The memory 504 can be implemented by any type of volatile or non-volatile storage devices 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.
[0115] Power component 506 provides power to the various components of the device 500. The power component 506 can include a power supply management system, one or more power sources, and other components associated with generating, managing, and distributing power for the device 500.
[0116] The multimedia component 508 includes a display for the device 500 to provide an output interface between the device 500 and a user. In some embodiments, the display includes a liquid crystal display (LCD) and a touch panel (TP). If the display includes a touch panel, the display can be implemented as a touch screen to receive input signals from a user. The touch panel includes one or more touch sensors for sensing touch, swiping, and gestures on the touch panel. The touch sensors can not only sense a boundary of a touch or swipe action, but also detect duration and pressure associated with the touch or swipe action. In some embodiments, the multimedia component 508 includes a front camera and / or a rear camera. When the device 500 is in an operation mode, such as a shooting mode or a video mode, the front camera and / or the rear camera can receive external multimedia data. Each of the front and rear cameras can be a fixed optical lens system or have a focal length and optical zoom capability.
[0117] The audio component 510 is configured to output and / or input audio signals. For example, the audio component 510 includes a microphone (MIC) for receiving an external audio signal when the device 500 is in an operation mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signal can be further stored in the memory 504 or transmitted via the communication component 516. In some embodiments, the audio component 510 also includes a speaker for outputting audio signals.
[0118] The I / O interface 512 provides an interface between the processing component 502 and peripheral interface modules, which can be a keyboard, a click wheel, buttons, and the like. The buttons can include, but are not limited to, a home button, a volume button, a start button, and a lock button.
[0119] The sensor component 514 includes one or more sensors to provide status assessments for various aspects of the device 500. For example, the sensor component 514 can detect an open / closed status of the device 500, relative positioning of components, such as a display and keypad of the device 500, changes in position of the device 500 or a component of the device 500, presence or absence of user contact with the device 500, orientation or acceleration / deceleration of the device 500, and temperature changes of the device 500. The sensor component 514 can also include proximity sensor(s) configured to detect presence of nearby objects without any physical contact. The sensor component 514 can further include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor component 514 can also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
[0120] The communication component 516 is configured to facilitate wired or wireless communication between the device 500 and another device. The device 500 can access a wireless network based on a communication standard, such as WiFi, 2G or 3G, 4G or 5G, or a combination thereof. In an example embodiment, the communication component 516 receives a broadcast signal or broadcast related information from an external broadcast management system via a broadcast channel. In an example embodiment, the communication component 516 further includes a Near Field Communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technology.
[0121] In an example embodiment, the device 500 can be implemented with one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, micro-controllers, microprocessors, or other electronic elements to perform the distance detection method of the electronic device.
[0122] In a fourth aspect, the disclosure also provides, in an example embodiment, a non-transitory computer-readable storage medium including instructions, such as the memory 504 including instructions, which can be executed by the processor 520 of the device 500 to perform the distance detection method of the electronic device. For example, the non-transitory computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disc, and an optical data storage device, etc.
[0123] Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the features disclosed herein. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
[0124] It should be understood that the present disclosure is not limited to the precise structures as herein described and illustrated in the drawings, and that various modifications and changes can be made without departing from its scope. The scope of the present disclosure is limited only by the claims that follow.
Claims
1. A display control method, characterized in that, Applied to a terminal device having a display screen, the method includes: When the display screen meets the preset screen-off conditions, the display screen is kept in normal display mode, and the backlight brightness of the display screen is adjusted to the backlight brightness in the screen-off display mode. A fingerprint layer is displayed on the display screen, wherein the area where the fingerprint layer is located is used to receive touch signals for fingerprint verification. If the fingerprint layer is displayed on the display screen for a preset duration, the fingerprint layer is deleted from the display screen, and the display screen is switched from normal display mode to always-on display mode. When the fingerprint layer is displayed on the display screen and a touch signal is received from the fingerprint area of the display screen, the fingerprint pattern is determined according to the touch signal reported by the display screen, the fingerprint verification result is determined according to the fingerprint pattern, the display screen is kept in normal display mode, and the display screen is controlled to display the content corresponding to the fingerprint verification result.
2. The display control method according to claim 1, characterized in that, Switching the display screen from normal display mode to always-on display mode includes: After the fingerprint layer is deleted from the display screen, in response to the system state of the terminal device switching from the first sleep state to the second sleep state, the display screen is switched from normal display mode to screen-off display mode.
3. The display control method according to claim 1, characterized in that, Also includes: When the display screen is in screen-off mode and a touch signal is received from the display screen, the display screen is switched from screen-off mode to normal display mode, the backlight brightness of the display screen is adjusted to the backlight brightness in screen-off mode, and the fingerprint layer is displayed on the display screen.
4. The display control method according to any one of claims 1 to 3, characterized in that, Also includes: When the fingerprint layer is displayed on the display screen and a touch signal is received from the fingerprint area of the display screen, the backlight brightness of the fingerprint area is adjusted to the backlight brightness in fingerprint recognition mode.
5. The display control method according to claim 1, characterized in that, The control of the display screen to show the content corresponding to the fingerprint verification result includes: If the fingerprint verification result is successful, control the display screen to show the target page; If the fingerprint verification result fails, the backlight brightness of the display screen is adjusted to the backlight brightness of the screen-off display mode, and the fingerprint layer is displayed on the display screen.
6. The display control method according to claim 4, characterized in that, When the fingerprint layer is displayed on the display screen for a preset duration, deleting the fingerprint layer from the display screen and switching the display screen from normal display mode to always-on display mode includes: If the fingerprint layer is displayed on the display screen for a preset duration, and no touch signal is received from the display screen within the preset duration, the fingerprint layer is deleted from the display screen, and the display screen is switched from normal display mode to always-on display mode.
7. A display control device, characterized in that, The device, applicable to a terminal device having a display screen, includes: The first screen-off module is used to maintain the display screen in normal display mode and adjust the backlight brightness of the display screen to the backlight brightness in screen-off display mode when the display screen meets the preset screen-off conditions, and to display a fingerprint layer on the display screen, wherein the area where the fingerprint layer is located is used to receive touch signals for fingerprint verification. The second screen-off module is used to delete the fingerprint layer on the display screen and switch the display screen from normal display mode to screen-off display mode when the display screen displays the fingerprint layer for a preset duration. The fingerprint verification module is used to display the fingerprint layer on the display screen, and when a touch signal is received from the fingerprint area of the display screen, determine the fingerprint pattern according to the touch signal reported by the display screen, determine the fingerprint verification result according to the fingerprint pattern, keep the display screen in normal display mode, and control the display screen to display the content corresponding to the fingerprint verification result. The display module is used to maintain the display screen in normal display mode after the fingerprint verification result is determined based on the fingerprint pattern, and to control the display screen to display the content corresponding to the fingerprint verification result.
8. The display control device according to claim 7, characterized in that, The second screen-off module is used to switch the display screen from normal display mode to screen-off display mode, specifically for: After the fingerprint layer is deleted from the display screen, in response to the system state of the terminal device switching from the first sleep state to the second sleep state, the display screen is switched from normal display mode to screen-off display mode.
9. The display control device according to claim 7, characterized in that, It also includes a screen-on module, used for: When the display screen is in screen-off mode and a touch signal is received from the display screen, the display screen is switched from screen-off mode to normal display mode, the backlight brightness of the display screen is adjusted to the backlight brightness in screen-off mode, and the fingerprint layer is displayed on the display screen.
10. The display control device according to any one of claims 7 to 9, characterized in that, It also includes a fingerprint verification module, used for: When the fingerprint layer is displayed on the display screen and a touch signal is received from the fingerprint area of the display screen, the backlight brightness of the fingerprint area is adjusted to the backlight brightness in fingerprint recognition mode.
11. The display control device according to claim 7, characterized in that, When the display module is used to control the display screen to display the content corresponding to the fingerprint verification result, it is specifically used for: If the fingerprint verification result is successful, control the display screen to show the target page; If the fingerprint verification result fails, the backlight brightness of the display screen is adjusted to the backlight brightness of the screen-off display mode, and the fingerprint layer is displayed on the display screen.
12. The display control device according to claim 10, characterized in that, The second screen-off module is specifically used for: If the fingerprint layer is displayed on the display screen for a preset duration, and no touch signal is received from the display screen within the preset duration, the fingerprint layer is deleted from the display screen, and the display screen is switched from normal display mode to always-on display mode.
13. An electronic device, characterized in that, The electronic device includes a memory and a processor. The memory is used to store computer instructions that can be executed on the processor, and the processor is used to implement the display control method according to any one of claims 1 to 6 when executing the computer instructions.
14. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the program is executed by the processor, it implements the method of any one of claims 1 to 6.
Citation Information
Patent Citations
Method for accelerating screen turn-on through fingerprint unlocking in screen turn-off state based on android system
CN109753312A
Screen-off display control method and device and computer readable storage medium
CN111367398A
Fingerprint identification method and device, electronic equipment and storage medium
CN111897408A