Screen-off display method and terminal

By gradually reducing the screen brightness when the terminal switches from the standard display mode to the full-screen AOD mode, gradually transitioning from high brightness to low brightness, the problem of visual sudden changes is solved and power consumption saving is achieved.

CN119600973AActive Publication Date: 2025-03-11HONOR DEVICE CO LTD

Patent Information

Application Number
CN202411671612.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-04-24
Publication Date
2025-03-11
Estimated Expiration
2044-04-24

AI Technical Summary

Technical Problem

How to naturally reduce the screen brightness to reduce the user's visual mutation experience when the terminal switches from the standard display mode to the full-screen AOD mode.

Method used

This transition brightness is used to alleviate visual mutations by avoiding switching directly from high brightness to low brightness by gradually dropping to low brightness by gradually decreasing the screen brightness at the first time.

Benefits of technology

It realizes a smooth transition from standard display mode to full-screen AOD mode, reduces the user's visual mutation experience, and saves power consumption in full-screen AOD mode.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119600973A_ABST
    Figure CN119600973A_ABST
Patent Text Reader

Abstract

The invention provides a screen-off display method and a terminal. In the method, when the standard display mode is switched to the full-screen AOD mode, the terminal realizes smooth transition by gradually reducing the display brightness. And after the full-screen AOD mode is entered, the PWM dimming frequency and the screen refresh rate are reduced to lower levels, so that the power consumption is reduced. By implementing the technical scheme provided by the invention, the visual sudden change feeling caused by switching from the standard display mode to the full-screen AOD mode can be reduced, and meanwhile, the power consumption is reduced in the full-screen AOD mode.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of terminals and image processing, and in particular to an off-screen display method and a terminal. Background Art

[0002] The always on display (AOD) mode of the terminal allows the terminal to continue to display information with low power consumption when the screen is off. The AOD mode includes a local AOD mode and a full-screen AOD mode. In the local AOD mode, after the screen is turned off, only part of the screen is used to display information, and the information is usually displayed on a part of the screen rather than the entire screen. The local AOD mode can only display some basic information, such as time or the number of unread notifications, without displaying too many details. In order to display richer information, a full-screen AOD mode is proposed. In the full-screen AOD mode, after the screen is turned off, the entire screen can be used to display information, and the information can cover the entire screen from top to bottom, such as wallpaper and time and notifications superimposed on the wallpaper.

[0003] In addition to the AOD mode, the terminal also includes a standard display mode. In the standard display mode, the terminal can display the main interface and receive the user's operation to open the application through the main interface, or, in the standard display mode, in addition to displaying the main interface, the terminal can also display an unlocking interface other than fingerprint unlocking. When the standard display mode is no longer needed, the terminal provides users with the function of switching from the standard display mode to the AOD mode to meet the different needs of users.

[0004] However, the screen brightness in standard display mode and AOD display mode is different. It is worth discussing how to naturally switch the standard display mode to AOD mode to reduce the visual mutation brought to users by the different screen brightness. Summary of the invention

[0005] The embodiments of the present application provide a screen-off display method and a terminal to provide a reasonable way to switch from a standard display mode to a full-screen AOD mode.

[0006] In a first aspect, an embodiment of the present application provides a screen-off display method, the method comprising: detecting a screen-off operation when a terminal displays a first user interface; the terminal displays the screen-off interface, and controls the screen brightness of the screen to be a first brightness at a first time and a second brightness at a second time; the first brightness is less than or equal to the screen brightness of the screen when displaying the first user interface, and the first time is before the second time, and the first brightness is greater than the second brightness.

[0007] In the above embodiment, the first time may be time a involved in the following embodiment, and the second time may be time b involved in the following embodiment. The first brightness may be brightness a involved in the following embodiment, and the second brightness may be brightness b involved in the following embodiment. The first user interface may be user interface 1 involved in the following embodiment, which may be regarded as the last frame of user interface displayed by the terminal in the standard display mode.

[0008] Here, when the terminal switches from the standard display mode to the full-screen AOD mode, the screen brightness of the screen in the full-screen AOD mode is not directly reduced to the darker (lower) second brightness, but at least one brighter (higher) brightness is enabled before the screen brightness is reduced to the darker second brightness as the transition brightness when switching to the full-screen AOD. Compared with the method of directly controlling the screen brightness of the screen to the darker second brightness after entering the full-screen AOD mode, the method provided in the first aspect can alleviate the user's visual sudden change experience when switching from the brighter standard display mode to the full-screen AOD mode.

[0009] In combination with the first aspect, in some embodiments, controlling the screen brightness of the screen at a first time to be a first brightness and the screen brightness at a second time to be a second brightness specifically includes: from the first time to the second time, the terminal controls the screen brightness of the screen to gradually decrease from the first brightness to the second brightness; wherein, gradually decreasing from the first brightness to the second brightness means: there are M brightnesses between the first brightness and the second brightness, and the M brightnesses are less than the first brightness and greater than the second brightness; the M is an integer greater than or equal to 1.

[0010] In the above embodiment, after entering the full-screen AOD mode, the screen brightness is reduced to a darker second brightness in order to save power consumption of the terminal in the full-screen AOD mode. Gradually decreasing from the brighter first brightness to the darker second brightness saves power consumption in the full-screen AOD mode while allowing the human eye to adapt to the change in screen brightness after entering the full-screen AOD mode.

[0011] In combination with the first aspect, in some embodiments, when the first brightness, the M brightnesses and the second brightness are sorted from large to small in terms of brightness, the brightness difference between the i-th brightness and the i-1-th brightness among the M+2 brightnesses is equal to the brightness difference between the i-th brightness and the i+1-th brightness, and the value of i is 2 to M+1.

[0012] In the above embodiment, in the process of gradually decreasing from the first brightness to the second brightness, the brightness is controlled to decrease according to a certain gradient, which can make the process of brightness decreasing smoother.

[0013] In combination with the first aspect, in some embodiments, the terminal maintains a bright screen state after displaying the first user interface and before displaying the screen-off interface.

[0014] The above embodiment shows that switching from the standard display mode to the full screen AOD mode is not as Figure 1 A black screen is inserted as shown. This avoids the situation where the user feels two visual changes in screen brightness, from high brightness to dark and then from dark to low brightness, when the user transitions from the standard display mode to the black screen state and then from the black screen state to the full-screen AOD mode. The first visual change from high brightness to dark is caused by the transition from the standard display mode to the black screen state, and the second visual change from dark to low brightness is caused by the transition from the black screen state to the AOD mode.

[0015] In combination with the first aspect, in some embodiments, when the first brightness is less than the screen brightness of the screen when displaying the first user interface, the first time does not include the time when the first frame of the screen-off interface is displayed; or, when the first brightness is equal to the screen brightness of the screen when displaying the first user interface, the first time includes the time when the first frame of the screen-off interface is displayed.

[0016] In the above embodiment, if the first time includes the time when the first frame screen-off interface is displayed, the first brightness can be regarded as the brightness 1 involved in the following embodiment. If the first time does not include the time when the first frame screen-off interface is displayed, the first brightness can be regarded as the brightness between brightness 1 and brightness 2 involved in the following embodiment.

[0017] In combination with the first aspect, in some embodiments, the method also includes: when the working mode of the screen after displaying the screen off interface is a pulse width modulation (PWM) dimming mode, before the screen brightness drops to the second brightness, the terminal controls the frequency of the PWM dimming of the screen to gradually decrease from a first dimming frequency to a second dimming frequency; the first dimming frequency is equal to the frequency of the screen when performing PWM dimming when displaying the first user interface; wherein, gradually decreasing from the first dimming frequency to the second dimming frequency means: there are Q dimming frequencies between the first dimming frequency and the second dimming frequency, the Q dimming frequencies are less than the first dimming frequency and greater than the second dimming frequency, and Q is an integer greater than or equal to 1.

[0018] In the above embodiment, the first dimming frequency may be the dimming frequency 1 involved in the following embodiment, and the second dimming frequency may be the dimming frequency 2 involved in the following embodiment.

[0019] Here, the terminal needs to end the reduction of the dimming frequency before the screen brightness is reduced. In this way, while reducing the PWM dimming frequency to the second dimming frequency to save power, the brightness change problem caused by the reduction of the PWM dimming frequency can also be concealed by the brightness reduction. Moreover, the PWM dimming frequency is gradually reduced, which will not affect the user's visual experience of the reduction in screen brightness.

[0020] In combination with the first aspect, in some embodiments, after the screen brightness drops to the second brightness, the method further includes: the terminal controls the screen to perform PWM dimming at a frequency that is the second dimming frequency.

[0021] In the above embodiment, after the second brightness, the terminal controls the screen brightness to remain stable (the second brightness), and simultaneously sets the PWM dimming frequency to remain stable (the second dimming frequency).

[0022] In combination with the first aspect, in some embodiments, the method also includes: in the process of controlling the screen brightness to gradually decrease from the first brightness to the third brightness, the terminal controls the screen to perform PWM dimming at a frequency of the first dimming frequency; the third brightness is greater than the second brightness.

[0023] In the above embodiment, the third brightness may be the brightness 3 involved in the following embodiment.

[0024] Here, the reason why the dimming frequency is not reduced within a period of time when the screen brightness starts to decrease includes: in the initial time after switching from the standard display mode to the full-screen AOD mode, in addition to the change in brightness (regarded as a change in pixel color), it also involves a large change in pixel content from displaying the first user interface to displaying the first frame of the screen-off image. At this time, the PWM dimming frequency is maintained at a higher level within a period of time when the brightness starts to decrease in order to suppress the afterimage phenomenon caused by the large change in pixel content in a short period of time, thereby improving the display quality.

[0025] In combination with the first aspect, in some embodiments, the method further includes: after displaying the screen off interface and before the screen brightness drops to the second brightness, the terminal refreshes the screen using the first screen refresh rate.

[0026] In the above embodiment, the first screen refresh rate may be the screen refresh rate 1 involved in the following embodiment.

[0027] Here, by keeping the screen refresh rate unchanged during the brightness reduction process, the screen brightness can be smoothly reduced to a darker second brightness.

[0028] In combination with the first aspect, in some embodiments, when the screen refresh rate of the terminal when displaying the first user interface is greater than or equal to the first preset refresh rate, the first screen refresh rate is equal to the screen refresh rate of the terminal when displaying the first user interface; when the refresh rate of the terminal when displaying the first user interface is less than the first preset refresh rate, the first screen refresh rate is equal to the first preset refresh rate.

[0029] In the above embodiment, the first preset refresh rate may be the preset screen refresh rate b involved in the following embodiment. The preset screen refresh rate is usually greater than or equal to 60 Hz.

[0030] Here, the screen refresh rate when displaying the first user interface is greater than or equal to the first preset refresh rate, which means that the screen refresh rate when displaying the first user interface is the dynamic refresh rate in the standard display mode. The first screen refresh rate is set to the dynamic refresh rate in the standard display mode. In this way, in addition to achieving a smooth brightness drop when switching from the standard brightness mode to the full-screen AOD mode, the same screen refresh rate can be maintained, so that visually sensitive users (a very small number of users) will not notice the display changes caused by the change in the screen refresh rate.

[0031] In practice, it is found that at least the first screen refresh rate can be set to 60hz, so the first preset refresh rate here is usually 60hz. For most users, when the first screen refresh rate is greater than or equal to 60hz and the brightness gradually decreases, even if the first screen refresh rate is different from the screen refresh rate when the first user interface is displayed, it is difficult to perceive the display changes caused by the change in the screen refresh rate, because the user's attention is mainly focused on the gradual decrease in brightness.

[0032] In combination with the first aspect, in some embodiments, after the screen brightness drops to the second brightness, the method also includes: the terminal controls the screen refresh rate of the screen to gradually drop from the first screen refresh rate to the second screen refresh rate; gradually dropping from the first screen refresh rate to the second screen refresh rate means: there are X screen refresh rates between the first screen refresh rate and the second screen refresh rate, the X screen refresh rates are less than the first screen refresh rate and greater than the second screen refresh rate, and X is an integer greater than or equal to 1; the terminal controls the screen refresh rate of the screen to be a third screen refresh rate when the displayed content has not changed, and controls the screen refresh rate of the screen to be equal to the second preset refresh rate when the displayed content has changed; the third screen refresh rate is less than the second preset refresh rate and belongs to a refresh rate between the first screen refresh rate and the second screen refresh rate.

[0033] In the above embodiment, the second screen refresh rate may be the screen refresh rate 2 involved in the following embodiment. The second preset refresh rate may be the preset screen refresh rate a involved in the following embodiment. The third screen refresh rate may be the screen refresh rate 3 involved in the following embodiment.

[0034] Here, the screen refresh rate is controlled to gradually decrease in order to prevent the screen off interface from being visually inconsistent or misaligned when the screen refresh rate decreases too much. The screen refresh rate when the displayed content changes is equal to the faster second preset refresh rate (for example, 30hz) in order to quickly complete the screen refresh in a dynamic refresh scenario and achieve a coherent display when the displayed content changes.

[0035] In combination with the first aspect, in some embodiments, the method also includes: when displaying the screen off interface, the terminal responds to the user touching the fingerprint recognition area within the screen, and the terminal increases the screen brightness and the screen refresh rate of the screen.

[0036] In the above embodiment, the screen refresh rate is increased when fingerprint unlocking is detected in order to better display animation effects (such as fingerprint spots) in the unlocking scene. The screen brightness is increased to transition from the AOD mode to the standard display mode.

[0037] In combination with the first aspect, in some embodiments, when the first ambient light brightness is less than the preset ambient light brightness, there is a first difference between the second brightness and the screen brightness when the first user interface is displayed; when the first ambient light brightness is greater than the preset ambient light brightness, there is a second difference between the second brightness and the screen brightness when the first user interface is displayed, and the second difference is greater than the first difference; the first ambient light brightness is equal to the ambient light brightness when the first user interface is displayed.

[0038] In the above embodiment, the first ambient light brightness may be the ambient light brightness 1 involved in the following embodiment. The first difference may be the difference 1 involved in the following embodiment. The second difference may be the difference 2 involved in the following embodiment.

[0039] Here, the reason why the second difference is greater than the first difference is that the first ambient light brightness is less than the preset ambient light brightness, indicating that the ambient light is darker, and the display brightness when displaying the last frame of the user interface is at a darker level. At this time, the second brightness also belongs to a darker level, so the first difference is within a smaller range (threshold 1). However, the first ambient light brightness is greater than the preset ambient light brightness, indicating that the ambient light is brighter, and the display brightness when displaying the last frame of the user interface is at a brighter level, in order to take into account the principle of saving power after entering the full-screen AOD mode. Compared with the darker ambient light brightness, under the brighter ambient light brightness, the second brightness can be increased but still not too bright, and the second difference between the screen brightness and the second brightness when displaying the last frame of the user interface will be greater than threshold 1 but less than threshold 2.

[0040] In combination with the first aspect, in some embodiments, the method further includes: after the screen brightness drops to the second brightness, the terminal adjusts the screen brightness of the screen based on the second ambient light brightness.

[0041] In the above embodiment, the second ambient light brightness may be the ambient light brightness 2 involved in the following embodiment.

[0042] Here, in full-screen AOD mode, when the screen drops to the second brightness, although the screen brightness will no longer drop gradually, it will still adjust the screen brightness in combination with the ambient light brightness so that the human eye can see the screen-off interface clearly under different ambient light brightness.

[0043] In combination with the first aspect, in some embodiments, the method also includes: when displaying the user interface, the terminal controls the scanning time of a single row of screen pixels to be equal to 1 / (M×number of screen rows); the M is the screen refresh rate when the terminal displays the user interface and the M is greater than a third preset refresh rate; when displaying the first off-screen interface, the terminal controls the scanning time of a single row of screen pixels to be equal to 1 / (M×number of screen rows); the interval between the start times of scanning two adjacent rows of screen pixels is equal to 1 / (W×number of screen rows), and the W is the screen refresh rate of the terminal when displaying the first off-screen image.

[0044] In the above embodiment, keeping the scanning time of each row of screen pixels consistent helps to improve display consistency and ensure that the screen pixels of different rows are updated at the same time, which helps to reduce the unevenness of screen brightness and color.

[0045] In combination with the first aspect, in some embodiments, the method also includes: when displaying the user interface, the terminal controls the time for a single screen refresh to be equal to 1 / M; M is the screen refresh rate when the terminal displays the user interface and M is greater than a third preset refresh rate; when displaying the first screen-off interface, the terminal controls the time for a single screen refresh to be equal to 1 / M; the interval between the start times of two adjacent screen refreshes is equal to 1 / W; W is the screen refresh rate of the terminal when displaying the first screen-off image.

[0046] In the above embodiment, the single screen refresh time after entering the AOD mode is set to the same value, which can maintain the consistency of the screen off interface refresh time, make the screen refresh process coherent, and reduce the visual discomfort caused by the constantly changing screen refresh rate.

[0047] In combination with the first aspect, in some embodiments, the terminal controls the screen brightness of the screen to gradually decrease from a first brightness to a second brightness, specifically including: the terminal controls the transparency of the wallpaper layer in the screen off interface to gradually decrease from a first transparency level to a second transparency level; the transparency of the upper layer of the wallpaper layer remains unchanged.

[0048] In the above embodiment, the content displayed in the screen-off interface includes wallpaper and the layers above the wallpaper (such as clock cards and message notification cards). Here, the brightness of the wallpaper is reduced, and the brightness of the layers above the wallpaper (such as clock cards and message notification cards) remains unchanged, which is the first transparency level. Then the brightness of the layers above the wallpaper will be greater than the brightness of the wallpaper. This is conducive to highlighting the layers above the wallpaper, making it easier for users to focus on the layers above the wallpaper. For example, when a new message notification appears, users are more likely to notice the new message notification.

[0049] In combination with the first aspect, in some embodiments, the terminal controls the screen brightness of the screen to gradually decrease from a first brightness to a second brightness, specifically including: the terminal controls the transparency of all layers in the off-screen interface to gradually decrease from a first transparency level to a second transparency level.

[0050] In the above embodiment, the brightness of the wallpaper and the layer above the wallpaper are both lowered, which is beneficial to saving power consumption.

[0051] In combination with the first aspect, in some embodiments, the first screen refresh rate is greater than or equal to 60 Hz, and the second screen refresh rate includes one of 1 Hz to 10 Hz.

[0052] In a second aspect, an embodiment of the present application provides a terminal, comprising: one or more processors and a memory; the memory is coupled to the one or more processors, the memory is used to store computer program code, the computer program code includes computer instructions, and the one or more processors call the computer instructions to enable the terminal to execute the method implemented in the first aspect.

[0053] In a third aspect, an embodiment of the present application provides a computer-readable storage medium, comprising instructions, which, when executed on a terminal, causes the terminal to execute the method implemented in the first aspect.

[0054] In a fourth aspect, an embodiment of the present application provides a chip system, which is applied to a terminal, and the chip system includes one or more processors, and the processor is used to call computer instructions so that the terminal executes the method implemented in the first aspect. The chip system can be a SoC (system-on-chip). The processor can include a modem processor (also known as a modem or baseband chip).

[0055] In a fifth aspect, an embodiment of the present application provides a computer program product comprising instructions, which, when executed on a terminal, enables the terminal to execute the method implemented in the first aspect.

[0056] It is understandable that the terminal provided in the second aspect, the computer storage medium provided in the third aspect, the chip system provided in the fourth aspect, and the computer program product provided in the fifth aspect are all used to execute the method provided in the embodiment of the present application. Therefore, other beneficial effects that can be achieved can refer to the beneficial effects in the corresponding method, which will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS

[0057] Figure 1 A schematic diagram of a scenario in which a black screen is used to process a transition to an AOD mode in a solution is shown;

[0058] Figure 2 A schematic diagram of a scene in which the brightness gradually decreases and the full-screen AOD mode is entered is shown in another solution;

[0059] Figure 3 A schematic diagram showing PWM dimming of a terminal is shown;

[0060] Figure 4 A schematic diagram of the execution sequence of a reasonable power consumption reduction method is shown;

[0061] Figure 5A A schematic diagram is shown in which a single screen refresh is involved;

[0062] Figure 5BAnother schematic diagram showing the involvement of a single screen refresh;

[0063] Fig. 6A shows a schematic diagram of what is involved in refreshing a row of screen pixels;

[0064] Figure 6B shows another schematic diagram involved in refreshing a row of screen pixels;

[0065] Figure 7 A schematic diagram of a scene of exiting the full-screen AOD mode by gradually increasing brightness transition is shown;

[0066] Figure 8 Another reasonable way to reduce power consumption is shown in the following diagram;

[0067] Fig. 9 An exemplary system framework diagram involved in switching from a standard display mode to a full-screen AOD mode through a display method is shown;

[0068] Fig.10 An exemplary module interaction diagram involved in switching from a standard display mode to a full-screen AOD mode through a display method is shown;

[0069] Fig.11 An exemplary graph of a gamma curve is shown;

[0070] Fig.12 The basic structure and light-emitting principle of screen pixels are shown;

[0071] Fig.13 A schematic diagram showing the scanning time of a single row of screen pixels synchronized by a display driver chip based on a basic structure is shown;

[0072] Fig.14 A comparison diagram of screen refresh and PWM dimming in standard display mode and full-screen AOD mode is shown;

[0073] Fig.15 A schematic diagram showing the working status of the processor in the standard display mode and the full-screen AOD mode is shown;

[0074] Fig.16 It is a schematic diagram of the structure of the terminal provided in the embodiment of the present application. DETAILED DESCRIPTION

[0075] In order to save power, in AOD mode, the screen brightness (brightness L1) of the terminal needs to be at a darker level. It is usually lower than the screen brightness (brightness L2) in standard display mode. Therefore, when switching directly from standard display mode to AOD mode, the screen brightness suddenly changes from higher brightness L2 to lower brightness L1, causing the screen to flicker. Screen flickering can give users a sense of sudden visual change and cause eye discomfort.

[0076] In one solution, in order to alleviate the user's visual abrupt change, a black screen process is inserted between the standard display mode and the AOD mode. Using the black screen process as a transition from the standard display mode to the AOD mode can alleviate the user's feeling of visual abrupt change.

[0077] like Figure 1 As shown in (1), in the standard display mode, the terminal detects the operation of pressing the power key (a screen-off operation), which can trigger the terminal to switch from the standard display mode to the AOD mode. In response to the operation of pressing the power key, the terminal first enters a black screen state (such as Figure 1 Then, switch to AOD mode (as shown in (2)). Figure 1 as shown in (3)).

[0078] It should be noted that entering the AOD mode means that the terminal has entered a screen-off state. The interface displayed by the terminal in the screen-off state can be called a screen-off interface.

[0079] It should also be noted that in the standard display mode, the terminal is in a non-off screen state. The interface displayed by the terminal in the standard display mode is also called a user interface. The user interface may include at least one of a main interface, an application interface, and an unlocking interface other than fingerprint unlocking.

[0080] The above-mentioned method of inserting a black screen state actually converts the visual mutation caused by switching directly from the standard display mode to the AOD mode into two visual changes that are more acceptable to users. The first visual change is from the standard display mode to the black screen state. The second visual change is from the black screen state to the AOD mode. The two visual changes are gradual, which alleviates the visual mutation caused by switching directly from the standard display mode to the AOD mode.

[0081] Compared to switching from standard display mode to global AOD mode, the effect of using the above-mentioned method of inserting a black screen state to alleviate the visual mutation feeling when switching from standard display mode to local AOD mode will be better. The better reason is that the second visual change involved in the above (the first visual change is the same) is relatively gentle, including: when the black screen state is changed to the local AOD mode, only part of the area on the screen is lit up to display information, and the area not used to display information is black. Then from the black screen state to the local AOD mode, the content of the interface does not change much, and the user's visual change is small. However, when the black screen state is changed to the global AOD mode, the entire area on the screen is lit up to display user information, and there is still a more obvious visual change from dark to light from the black screen state to the global AOD mode.

[0082] In summary, when switching from the standard display mode to the global AOD mode using the black screen processing as a transition, there is still a visual change from high brightness to dark, and then from dark to low brightness. Among them, from high brightness to dark is the first visual change caused by the standard display mode to the black screen state, and from dark to low brightness is the second visual change from the black screen state to the AOD mode.

[0083] It should be noted that highlight does not mean that the screen brightness is very high in standard display mode, but it just means that the screen brightness is higher than in full-screen AOD mode.

[0084] In order to further reduce the visual abrupt change caused by switching from the standard display mode to the full-screen AOD mode, a screen-off display method is proposed. In this method, reference Figure 2 Zhong (1) and Figure 2 As shown in (2), when switching from the standard display mode to the full-screen AOD mode, no black screen processing is performed. Instead, the standard display mode is directly switched to the full-screen AOD mode while keeping the screen in the bright state.

[0085] Refer to Figure 2 (2) and Figure 2 In (3), after the switching is completed, the terminal controls the screen brightness to gradually decrease from a higher brightness 1 to a lower brightness 2 during the screen refresh process. Among them, brightness 1 is the screen brightness when the first frame of the screen-off interface is displayed after the switching is completed. Brightness 2 can be regarded as the brightness L1 mentioned above, which is at a darker brightness level. Among them, the first frame of the screen-off interface does not specifically refer to the first frame of the screen-off interface, but refers to the first frame of the screen-off interface or the first few frames of the screen-off interface displayed after entering the AOD mode.

[0086] Here, higher does not mean that the screen brightness is high when the first frame of the screen-off interface is displayed, but it means that brightness 1 (the brightness when the first frame of the screen-off interface is displayed) is brighter than brightness 2, and can be equal to the screen brightness when the last frame of the user interface is displayed in standard display mode. In this way, when switching from standard display mode to full-screen AOD mode, the brightness deviation is small or there is no deviation, which avoids the problem of screen flickering and alleviates the user's sense of sudden visual change. Gradually decreasing from a higher brightness 1 to a lower brightness 2 can achieve a smooth visual transition, making the user feel that the process from the standard display mode to the darker full-screen AOD mode is more natural and continuous. Compared with the black screen processing involved above, the transition method of gradually reducing the brightness can further reduce the stimulation of visual mutations to the user's eyes and avoid discomfort to the human eye.

[0087] It should be noted that the two values ​​involved in the embodiments of the present application are equal to not only include the two values ​​being the same, but also the two values ​​being close. Close means that the difference between the two values ​​is within a small range and is not easily noticed by the user. For example, brightness 1 (the brightness when displaying the first frame of the screen-off interface) is equal to the screen brightness when the last frame of the user interface is displayed in the standard display mode, which means that brightness 1 is the same as the screen brightness when the last frame of the user interface is displayed in the standard display mode, or the difference between brightness 1 and the screen brightness when the last frame of the user interface is displayed in the standard display mode is small and is not easily noticed by the user.

[0088] It should be noted here that the last frame of the user interface and the first frame of the screen-off interface are continuous in display time.

[0089] It should also be noted that when the terminal controls the screen brightness to gradually decrease (from brightness 1 to brightness 2), the brightness decrease gradient needs to be maintained at a reasonable level, so that the user feels that the brightness decrease process is continuous and smooth. Therefore, when the screen brightness is gradually decreasing, the terminal needs to control the screen refresh rate at a faster level (such as 60hz, etc.) to meet the requirement of smooth brightness decrease.

[0090] It should also be noted that after the terminal enters the full-screen AOD mode, the entire screen can be used to display information. A reasonable full-screen AOD solution needs to reduce the power consumption after entering the full-screen AOD mode as much as possible. The aforementioned reduction of the screen brightness to a darker brightness 2 after entering the full-screen AOD mode is a solution to reduce power consumption. In addition to reducing the screen brightness to a darker level, ways to reduce power consumption also include but are not limited to one or more of the following methods.

[0091] Power consumption reduction method 1: After entering the full-screen AOD mode, the terminal switches the screen response mode of touch events from the active mode in the standard display mode to the idle mode, saving power consumption by reducing the scanning frequency of touch events.

[0092] In active mode, the terminal's scanning frequency and speed for touch operations are at a high level, the screen usually maintains high sensitivity, and multi-touch (such as 10-finger touch) operations can usually be accurately recognized.

[0093] Compared with active mode, the scanning frequency and speed of idle mode are at a lower level, the screen sensitivity is relatively low, and it usually supports single-point touch but not multi-point touch operation.

[0094] In full-screen AOD mode, although it will enter idle mode, in order to balance power saving and response speed, the terminal can support touch wake-up of the screen. After detecting a touch operation in idle mode, the terminal can switch to active mode, but within a period of time (for example, 3 seconds) after switching to active mode, if no touch operation is detected, the terminal can control the screen to re-enter idle mode.

[0095] Power consumption reduction method 2: After entering the full-screen AOD mode, the terminal gradually reduces the screen refresh rate from screen refresh rate 1 (the screen refresh rate during the brightness reduction process) to screen refresh rate 2. The screen refresh rate 2 is a lower level of screen refresh rate, for example, 1hz, 2hz, etc.

[0096] Furthermore, when the screen refresh rate drops to a screen refresh rate 3 which is less than the preset screen refresh rate a, the screen refresh rate is the screen refresh rate 3 when the terminal is in static control, and the screen refresh rate is the preset screen refresh rate a when the terminal is in dynamic control. The static screen refresh rate includes the screen refresh rate when the displayed content of the screen does not change. The dynamic screen refresh rate includes the screen refresh rate when the displayed content of the screen changes.

[0097] The displayed content changes include: the j-th frame screen-off interface to be displayed on the screen has changed content compared to the j-1-th frame screen-off interface that has been displayed. For example, the clock changes, the j-th frame screen-off interface adds or reduces notification messages compared to the j-1-th frame screen-off interface, etc. The j-1-th frame screen-off interface is the previous frame screen-off interface of the j-th frame screen-off interface.

[0098] The displayed content has not changed, including: there is no change in the content of the j-th frame screen-off interface to be displayed on the screen compared with the j-1-th frame screen-off interface that has been displayed.

[0099] Power consumption reduction method 3: When the first working mode of the screen after entering the full-screen AOD mode is the pulse width modulation (PWM) dimming mode, the terminal gradually reduces the frequency of PWM dimming from dimming frequency 1 to dimming frequency 2. Among them, dimming frequency 1 is the dimming frequency when the terminal performs PWM dimming in the standard display mode. Dimming frequency 1 is usually a faster level of dimming frequency, such as 4320hz. Dimming frequency 3 is a lower level of dimming frequency, such as 360hz.

[0100] When the first working mode of the screen after entering the full-screen AOD mode is the direct current (DC) dimming mode, when the terminal is in the full-screen AOD mode, the screen's working mode can be switched from the DC dimming mode to the PWM dimming mode, and the terminal sets the PWM dimming frequency to the dimming frequency 2.

[0101] After entering the full-screen AOD mode, whether the first working mode of the screen is the PWM dimming mode or the AOD dimming mode can be determined by referring to one of the following dimming mode determination methods.

[0102] Dimming mode determination method 1: Determine the display brightness of the screen by ambient light brightness. Due to the influence of ambient light brightness on the human eye, the lower the ambient light brightness, the lower the display brightness needs to be to meet the perception of the human eye. When the ambient light brightness is less than a certain ambient light preset value, the display brightness is less than the preset display brightness. After entering the full-screen AOD mode, the first working mode of the screen is PWM dimming mode. When the ambient light brightness is very high and higher than a certain ambient light preset value, the display brightness is greater than the preset display brightness. After entering the full-screen AOD mode, the first working mode of the screen is DC dimming mode. The ambient light brightness here refers to the ambient light brightness when the screen-off operation is detected in the standard display mode. Generally speaking, the ambient light brightness will not change suddenly in a very short time. Therefore, the ambient light brightness when the screen-off operation is detected is also the ambient light brightness when the last frame or several frames of the user interface are displayed in the standard display mode, and it is also the ambient light brightness when the first frame or the first few frames of the screen-off interface are displayed.

[0103] The following is an introduction to the screen's working mode.

[0104] When the screen works in DC dimming mode, the terminal adjusts the display brightness value (DBV) of the screen by controlling the current input to the screen pixels. In DC dimming mode, the screen can maintain continuous brightness output without the screen going out.

[0105] When the screen works in PWM dimming mode, the terminal adjusts the screen brightness by turning the screen on and off alternately. Compared with DC dimming mode, the screen does not emit light continuously in PWM dimming mode.

[0106] The dimming frequency in PWM dimming mode refers to the number of times the terminal can perform PWM dimming within 1 second. For example, a dimming frequency of 360hz means 360 PWM dimming within 1 second. Generally speaking, the interval between the start times of two adjacent PWM dimmings is equal to 1 / 360s. One PWM dimming includes a short screen off and then a light on again. The screen off time is very short and the user does not notice it.

[0107] The time to complete one PWM dimming is extremely short. Usually, multiple PWM dimming can be completed when refreshing one frame of image to adjust the display brightness. The time to refresh one frame of image is recorded as T1, and the interval between the start times of two adjacent PWM dimming is recorded as T2. Then, T1 / T2 times of PWM dimming are performed when refreshing one frame of image.

[0108] For example, refer to Figure 3 As shown, the screen refresh rate is 120hz and the dimming frequency of PWM dimming is 360hz. The time for a single screen refresh is equal to 1 / 120s, and the interval between the start time of two adjacent PWM dimmings is 1 / 360s. When the screen is refreshed once, 3 (360 / 120) PWM dimming will be performed evenly. The screen refresh is completed by line-by-line scanning. When the h-frame off-screen interface is displayed on the screen, the terminal takes about 1 / 360s to refresh the first 1 / 3 rows of screen pixels on the screen, and then performs a PWM dimming process (after briefly turning off the entire screen, the entire screen is turned on again). Here, the first 1 / 3 rows of screen pixels are refreshed to display the content of the h+1-frame off-screen interface. At this time, the content displayed by the first 1 / 3 rows of screen pixels is the content of the h+1-frame off-screen interface, and the content displayed by the last 2 / 3 rows of screen pixels is the h-frame off-screen interface. After completing one PWM dimming, the terminal continues to refresh line by line, and it takes about 1 / 360s again to refresh the middle 1 / 3 rows of screen pixels in the screen to display the content in the h+1 frame off-screen interface, and then performs another PWM dimming process. After completing another PWM dimming, the terminal continues to refresh line by line, and it takes about 1 / 360s again to refresh the last 1 / 3 rows of screen pixels in the screen to display the content in the h+1 frame off-screen interface, and then performs another PWM dimming process. So far, three PWM dimming processes have been implemented in the process of completing one screen refresh. Subsequently, the terminal continues to refresh the screen, and continues to perform PWM dimming during the refresh process.

[0109] Combined with the above introduction to the DC dimming mode and the PWM dimming mode, it can be explained that, generally, when the display brightness of the screen is less than the preset display brightness (lower display brightness), it is difficult to lower the display brightness of the screen to less than the preset display brightness (for example, 90nit) through DC dimming. Therefore, at this time, the terminal will control the screen to work in the PWM dimming mode, and by increasing the screen off time, a lower display brightness can be reflected.

[0110] It should also be noted that the display brightness is different from the screen brightness mentioned above. Display brightness refers to the brightness level that the screen can reach when displaying the screen-off interface. Screen brightness refers to the brightness level that the screen actually presents when displaying the screen-off interface. Screen brightness is the brightness presented after combining the display brightness and other factors other than display brightness. The other factors include, but are not limited to, one or more of the following factors: the brightness of the displayed content itself and the brightness expression ability of the screen pixels. When other factors are the same, adjusting the display brightness also means adjusting the screen brightness. The higher the display brightness, the higher the screen brightness.

[0111] In some possible cases, using dimming mode to determine method 1 also means that after entering the AOD mode, the final screen brightness (i.e., the brightness 2 mentioned above) when the screen brightness gradually decreases can be determined by the ambient light brightness 1. Generally speaking, the greater the ambient light brightness 1, the greater the brightness 2. At this time, when the ambient light brightness 1 is less than the preset ambient light brightness, there is a difference of 1 between the brightness 2 and the screen brightness when the last frame of the user interface is displayed. When the ambient light brightness 1 is greater than the preset ambient light brightness, there is a difference of 2 between the brightness 2 and the screen brightness when the last frame of the user interface is displayed, and the difference 2 is greater than the difference 1. Here, the ambient light brightness 1 can be equal to the ambient light brightness when the last frame of the user interface is displayed.

[0112] Here, the reason why difference 2 is greater than difference 1 is that ambient light brightness 1 is less than the preset ambient light brightness, indicating that the ambient light is darker. In this case, the display brightness when the last frame of the user interface is displayed is at a darker level, and brightness 2 at this time also belongs to a darker level, so difference 1 is within a smaller range (threshold 1). However, ambient light brightness 1 is greater than the preset ambient light brightness, indicating that the ambient light is brighter. In this case, the display brightness when the last frame of the user interface is displayed is at a brighter level, in order to take into account the principle of saving power after entering the full-screen AOD mode. Compared with the darker ambient light brightness, in the brighter ambient light brightness, brightness 2 can be increased but still not too bright. In this case, the difference 2 between the screen brightness when the last frame of the user interface is displayed and brightness 2 will be greater than threshold 1 but less than threshold 2.

[0113] Dimming mode determination method 2: The display brightness when displaying the screen-off interface can be at a lower level. In this way, the screen brightness can also be at a lower level. Therefore, the first working mode after the screen enters the AOD mode can be defaulted to the PWM dimming mode.

[0114] The operation of switching the screen's touch event response mode from the active mode in the standard display mode to the idle mode in the aforementioned power consumption reduction method 1 does not affect the display effect. The touch event response mode can be set to the idle mode when the first frame of the screen-off interface is displayed.

[0115] However, the three power reduction methods mentioned above, namely, controlling the screen brightness to gradually decrease to a darker brightness 2, power reduction method 2, and power reduction method 3, will directly affect the display effect of the screen. The execution order of these three power reduction methods needs to be reasonably set to achieve power saving after entering the full-screen AOD mode while presenting a better display effect (including the display effect when smoothly switching from the standard display mode to the full-screen AOD mode).

[0116] Figure 4 A reasonable power consumption reduction method execution sequence diagram is shown below. Figure 4 Describes how to set the execution order of each power reduction mode.

[0117] The execution sequence may include: in the initial stage of entering the full-screen AOD mode, the terminal first controls the screen brightness of the screen to gradually decrease from brightness 1 to brightness 2. After the screen brightness gradually decreases from brightness 1 to brightness 3, but before it decreases to brightness 2, the terminal gradually decreases the frequency of PWM dimming from dimming frequency 1 to dimming frequency 2 (power consumption reduction method 3). After the initial stage, the terminal begins to gradually reduce the screen refresh rate (power consumption reduction method 2).

[0118] The following describes the relevant contents involved in the aforementioned execution sequence.

[0119] First, describe the process of the terminal switching from the standard display mode to the full-screen AOD mode, including: time 1, the terminal detects a screen-off operation when displaying user interface 1 (the interface displayed in the standard display mode). In response to the screen-off operation, the terminal displays the screen-off interface (indicating entry into the full-screen AOD mode). And after displaying user interface 1 and before displaying the first frame of the screen-off interface, the terminal maintains the screen-on state. Among them, user interface 1 can be regarded as the last frame of user interface displayed before entering the full-screen AOD mode. Time 1 may also include the time when the last frame of the user interface is displayed.

[0120] In order to prevent flickering during the switching process, the screen brightness (brightness 1) when the first frame of the screen-off interface is displayed after entering the full-screen AOD mode can be equal to the screen brightness at time 1. Then, in the initial stage of entering the full-screen AOD mode, the terminal controls the screen brightness to gradually decrease from brightness 1 to brightness 2 (screen brightness at a darker level). In this way, a smooth switch from the standard display mode to the full-screen AOD mode with a darker screen brightness can be achieved.

[0121] refer to Figure 4As shown, the terminal controls the screen brightness of the screen to gradually decrease from brightness 1 to brightness 2, including: in the initial stage of entering the full-screen AOD mode, gradually reducing the brightness of the wallpaper. For example, the transparency (α) of the wallpaper is gradually reduced (for example, α is gradually reduced from 0 to 0.52) to achieve the brightness reduction of the wallpaper, and the brightness of the layers above the wallpaper (such as clock cards and message notification cards) remains unchanged. When the terminal reduces the transparency of the wallpaper from 0 to 0.52 frame by frame, the difference between the α of the two frames of the screen-off interface before and after is small (for example, 0.2, etc.), and the terminal can complete the gradual decrease in brightness within about 400ms, and the entire brightness reduction process is faster and more continuous. Among them, α = 0 means that the wallpaper is fully transparent. The larger α is, the lower the transparency of the wallpaper. The lower the transparency of the wallpaper, the lower the brightness of the wallpaper. It should be noted here that after the transparency of the wallpaper drops to 0.52, the transparency of the subsequent wallpaper can be maintained at 0.52. The screen brightness is kept at a lower and more stable level, saving power consumption while no longer having a gradual decrease in brightness.

[0122] Continue to refer Figure 4 In order to make the brightness drop process smoother, a faster screen refresh rate 1 can be maintained during the brightness drop process. The screen refresh rate 1 is greater than or equal to the preset screen refresh rate b. The preset screen refresh rate b can be equal to a faster screen refresh rate such as 60hz or 90hz.

[0123] In some possible implementations, when the screen refresh rate at time 1 is greater than or equal to the preset screen refresh rate b (indicating that time 1 is dynamically refreshing), the terminal can set the screen refresh rate 1 to be equal to the screen refresh rate at time 1. In this way, in addition to achieving a smooth decrease in brightness when switching from standard brightness mode to full-screen AOD mode, the same screen refresh rate can be maintained, so that visually sensitive users (a very small number of users) will not notice the display changes caused by the change in screen refresh rate. When the screen refresh rate at time 1 is less than the preset screen refresh rate b, the screen refresh rate 1 can be set to be equal to the screen refresh rate at time 1.

[0124] In practice, it is found that at least the screen refresh rate 1 can be set to 60hz. For most users, when the screen refresh rate 1 is greater than or equal to 60hz and the brightness gradually decreases, even if the screen refresh rate 1 is different from the screen refresh rate at time 1, it is difficult to perceive the display changes caused by the change in the screen refresh rate, because the user's attention is mainly focused on the gradual decrease in brightness.

[0125] After the screen brightness gradually decreases from brightness 1 to brightness 3, but before it decreases to brightness 2, the reasons why the terminal adjusts the PWM dimming downward include: when the screen brightness decreases to a darker level of brightness 2 in the initial stage, a reasonable design is to keep the screen brightness at brightness 2 when the photosensitivity of the human eye does not change. However, reducing the dimming frequency in the PWM dimming mode will affect the screen brightness. If the display content of the screen does not change, if the dimming frequency is reduced, the number of times the screen is temporarily turned off will decrease, thereby increasing the display brightness of the screen, and when the increase trend is obvious, it will cause the screen flickering problem. Then the operation of gradually reducing the PWM dimming frequency from dimming frequency 1 to dimming frequency 2 needs to be performed after the screen brightness starts to decrease for a period of time, but in the process of continuing to gradually decrease, so as to use the gradual decrease in screen brightness to cover up the brightness change caused by the decrease in the frequency of PWM dimming. Here, the reasons for not reducing the dimming frequency within a period of time when the brightness starts to decrease include: in the initial time after switching from the standard display mode to the full-screen AOD mode, in addition to the change in brightness (regarded as a change in pixel color), it also involves a large change in pixel content from displaying the last frame of the user interface to displaying the first frame of the screen-off image. At this time, the PWM dimming frequency is kept at a relatively high level during a period of time when the brightness begins to decrease in order to suppress the afterimage phenomenon caused by a large change in pixel content in a short period of time and improve the display quality.

[0126] It should be noted that, in some possible cases, dimming frequency 1 gradually decreases to dimming frequency 2, which means that there are Q dimming frequencies between dimming frequency 1 and dimming frequency 2, and Q dimming frequencies are less than dimming frequency 1 and greater than dimming frequency 2, and Q is an integer greater than or equal to 1.

[0127] Among them, dimming frequency 1 is the frequency when the terminal performs PWM dimming in the standard display mode, and can also be understood as the frequency when the terminal performs PWM dimming at time 1.

[0128] For example, refer to Figure 4, take dimming frequency 1 as 4320hz and dimming frequency 2 as 360hz as an example for explanation. In the first 200ms of the initial stage, when the screen brightness gradually decreases from brightness 1 to brightness 3 (greater than brightness 2), when the screen works in PWM mode, the frequency of PWM dimming is 4320hz. After the screen brightness drops to brightness 3, before it drops to brightness 2, the terminal controls the frequency of PWM dimming of the screen to gradually decrease from 4320hz to 360hz. For example, from 4320hz to 2880hz, then from 2880hz to 1440hz, then from 1440hz to 720hz, and then gradually from 720hz to 360hz. Moreover, after the initial stage, before exiting the full-screen AOD mode, when the screen works in PWM mode, the frequency of PWM dimming is 360hz.

[0129] It should be noted here that Figure 4 The 0 in represents the start time when entering full screen AOD mode. Figure 4 The 200ms is an example, indicating a short period of time after switching from the standard display mode to the full-screen AOD mode, and may also be 150ms, 100ms, etc., which is not limited in the embodiments of the present application.

[0130] It should also be noted that in the initial stage of entering the full-screen AOD mode, the terminal screen can work in addition to the PWM dimming mode, and can also work in the DC dimming mode ( Figure 4 (not shown) for the specific working mode, please refer to the description of the dimming mode determination method, which will not be repeated here.

[0131] The above describes the initial stage of entering the AOD mode. When controlling the screen brightness to decrease, the screen refresh rate of the terminal needs to be maintained at a higher level of screen refresh rate 1. Then the operation of gradually decreasing the screen refresh rate from screen refresh rate 1 to screen refresh rate 2 (lower level) involved in the above-mentioned power consumption reduction method 2 can occur after the initial stage.

[0132] It should be noted that, in some possible cases, gradually decreasing from screen refresh rate 1 to screen refresh rate 2 means that the terminal does not directly decrease screen refresh rate 1 to screen refresh rate 2, but gradually. At this time, there are X screen refresh rates between screen refresh rate 1 and screen refresh rate 2, and the X screen refresh rates are less than screen refresh rate 1 and greater than screen refresh rate 2, where X is an integer greater than or equal to 1.

[0133] For example, continue to refer to Figure 4, when the screen refresh rate 1 is 60 Hz, after the initial stage, the terminal can reduce the screen refresh rate from 60 Hz to 30 Hz, then to 10 Hz, and then to 1 Hz. And, when the screen refresh rate drops to less than the preset screen refresh rate a (for example Figure 4 30hz) screen refresh rate 3 (for example Figure 4 After that, the screen refresh rate will be 10hz / 1hz when the terminal is in static control and 30hz when in dynamic control.

[0134] It should be noted that the aforementioned screen refresh rate drops to 30hz, 10hz, and 1hz for illustrative purposes only. In fact, it can also be other screen refresh rates. The embodiments of the present application do not limit this. As long as the screen refresh rate decreases gradually, it can prevent the screen off interface from being visually inconsistent or misaligned when the screen refresh rate drops too much. Setting the screen refresh rate to 30hz during dynamic refresh is also an example. In fact, it can also be other values, such as 30hz. As long as the screen refresh rate is maintained at a faster rate, the screen refresh rate can respond to changes in the displayed content.

[0135] The screen refresh rate refers to the number of times the terminal can refresh the screen in 1 second. For example, a 60hz refresh rate means that the screen refreshes the display screen 60 times in 1 second. The interval between the start times of two adjacent refreshes of the display screen is equal to 1 / 60s.

[0136] Generally speaking, the time for a single screen refresh is equal to the inverse of the screen refresh rate. After entering the AOD mode, when the screen refresh rate is W, the time it takes for the terminal to refresh the screen once to refresh a frame of the screen-off interface can be equal to 1 / W (a variable value), or it can be set to a fixed value, such as 1 / M or 1 / W1. Among them, M is the screen refresh rate when the terminal displays the user interface at time 1, and M is greater than the preset screen refresh rate 3 (indicating that time 1 is dynamically refreshed). W1 is the screen refresh rate of the terminal when displaying the first frame of the screen-off interface (i.e., screen refresh rate 1).

[0137] In single screen refresh mode 1, after entering the AOD mode, when the screen refresh rate is W, the single screen refresh time (the time required to refresh the screen once) is equal to 1 / W, and the interval between the start times of two adjacent screen refreshes is also equal to 1 / W. Figure 5A As shown in the figure, when W=120hz, the terminal can refresh the screen 120 times within 1s. At this time, the terminal single screen refresh time is equal to 1 / 120s, that is, the time required from the start of refreshing the first line of the screen to the end of refreshing the last line of the screen is equal to 1 / 120s. For descriptions of other screen refresh rates (such as 60hz, 30hz, 10hz and 1hz), please refer to Figure 5AThe relevant content and description of 120hz will not be repeated here.

[0138] In single screen refresh mode 2, after entering the AOD mode, when the screen refresh rate is W, the terminal single screen refresh time is not equal to 1 / W but is set to a fixed single screen refresh time (which does not change with the change of W). However, the interval between the start times of two adjacent screen refreshes is still equal to 1 / W. The fixed single screen refresh time can be equal to the inverse of the screen refresh rate when displaying the first frame of the screen-off interface.

[0139] Alternatively, the fixed single screen refresh time can also be synchronized with the single screen refresh time when the user interface is displayed at time 1 (equal to 1 / M). Figure 5B As shown, take M=120hz as an example. When the user interface is displayed at time 1, the single screen refresh time is 1 / 120s. After entering the AOD mode, the single screen refresh time after synchronization is 1 / 120, and the interval between the start times of two adjacent screen refreshes is still equal to 1 / W. For example, when W=60hz, the interval between the start times of two adjacent screen refreshes is still equal to 1 / 60. The single screen refresh time after entering the AOD mode is shortened by W / M compared to the unsynchronized 1 / W. For example, when W=60hz, the single screen refresh time (1 / 120) after synchronization is shortened by half compared to the 1 / 60 before synchronization.

[0140] Here, if Figure 5B As shown, the interval between the start times of two adjacent screen refreshes is the interval between the time when the screen refresh starts for the zth time (eg, refreshing the eth frame) and the time when the screen refresh starts for the z+1th time (eg, refreshing the e+1th frame).

[0141] The benefits of single screen refresh mode 2 include: setting the single screen refresh time after entering AOD mode to the same value can maintain the consistency of the screen off interface refresh time, making the screen refresh process coherent and reducing the visual discomfort caused by the constantly changing screen refresh rate.

[0142] The advantages of single screen refresh mode 1 include: more power saving than single screen refresh mode 2. Figure 5B , within 1s, after the single screen refresh time is synchronized with 1 / M (single screen refresh mode 2), compared with the single screen refresh time not synchronized with 1 / M (single screen refresh mode 1), the number of pulses input by the terminal to the screen in the same time is the same, but a single pulse needs to be in a shorter time (for example, 1 / 120s is shorter than 1 / 60s) to make the screen pixel emit light. Therefore, the single pulse of single screen refresh mode 2 is more "explosive" and consumes more power of the terminal.

[0143] When refreshing the screen once, the selection of single screen refresh mode 1 or single screen refresh mode 2 can be determined according to the requirements, and the embodiment of the present application does not limit this.

[0144] Generally speaking, the scanning time of a single row of screen pixels is equal to the inverse of the screen refresh rate divided by the number of screen rows (referred to as the number of rows). However, after entering the AOD mode, the terminal can synchronize the scanning time of a single row of screen pixels at different screen refresh rates to a fixed value. For example, 1 / (M×number of rows) or 1 / (W1×number of rows). Among them, M is the screen refresh rate when the terminal displays the user interface at time 1, and M is greater than the preset screen refresh rate 3. W1 is the screen refresh rate of the terminal when displaying the first frame of the screen-off interface.

[0145] After entering the full-screen AOD mode, when the scanning time of a single row of screen pixels is synchronized to 1 / (M×number of rows), the interval between the start times of scanning two adjacent rows of screen pixels is equal to the time of a single screen refresh divided by the number of rows.

[0146] Keeping the scanning time of each row of screen pixels consistent helps improve display consistency and ensures that different rows of screen pixels are updated at the same time. This helps reduce the unevenness of screen brightness and color, thereby reducing the appearance of mura effect.

[0147] Here, the scanning time of a single row of screen pixels is synchronized to 1 / (120×number of rows) s as an example for explanation. 1 / (120×number of rows) s can be regarded as an exemplary scanning time of a single row of screen pixels when the user interface is displayed at time 1.

[0148] like Fig. 6A As shown, when the screen refresh rate is 120 Hz, the scanning time of a single row of screen pixels (from the start of scanning a row of screen pixels to the end of scanning a row of screen pixels) is 1 / (120×number of rows) s. When the screen refresh rate is 60 Hz, the scanning time of a single row of screen pixels is synchronized with the 120 Hz screen refresh rate at 1 / (120×number of rows) s. Moreover, when the time for a 60 Hz screen to complete a single screen refresh is 1 / 60 Hz, the interval between the start times of scanning two adjacent rows of screen pixels is equal to 1 / (60×number of rows) s.

[0149] Here, if Fig. 6A As shown, the interval between the start times of scanning two adjacent rows of screen pixels is the interval between the start time of scanning the screen pixels of the yth row (for example, refreshing the 1st row) and the start time of scanning the screen pixels of the y+1th row (for example, refreshing the 1st row).

[0150] It should be noted that, continue to refer to Fig. 6A, when the scanning time of a single row of screen pixels is not synchronized and the screen refresh rate is 60 Hz, the scanning time of a single row of screen pixels should be 1 / (60×number of rows) s.

[0151] After entering AOD mode, at screen refresh rates other than 60hz, the terminal will synchronize the scanning time of a single line of screen pixels to 1 / (120×number of lines)s. Figure 6B , when the screen refresh rate is 30hz, the scanning time of a single row of screen pixels is synchronized with the 120hz screen refresh rate, which is 1 / (120×number of rows)s. Moreover, when the time to complete a single screen refresh at 30hz is 1 / 30s, the interval between the start times of scanning two adjacent rows of screen pixels is equal to 1 / (30×number of rows)s.

[0152] It should be noted that, continue to refer to Figure 6B , when the scanning time of a single row of screen pixels is not synchronized and the screen refresh rate is 30 Hz, the scanning time of a single row of screen pixels should be 1 / (30×number of rows) s.

[0153] At other screen refresh rates, the scanning time of a single row of screen pixels is synchronized to 1 / (120×number of rows) s. For the relevant contents of the terminal scanning a single row of screen pixels at other screen refresh rates, please refer to the description of the above-mentioned relevant contents, which will not be described here one by one.

[0154] The above content describes the transition problem and power consumption problem when switching from the standard display mode to the full-screen AOD mode. In practice, it is found that a smooth transition is also required when switching from the AOD mode to the standard display mode. Figure 4 When exiting the full-screen AOD mode, the terminal can gradually increase the screen brightness (for example, gradually increase the brightness of the wallpaper), and when the brightness reaches a high level and it is determined that it can be unlocked, display the user interface (indicating entering the standard display mode).

[0155] like Figure 7 As shown in (1), when the screen-off interface is displayed, an unlock operation is detected (for example, a user touches the fingerprint recognition area in the screen). In response to the unlock operation, Figure 7 Middle (1) Figure 7 (2) and Figure 7 As shown in (3), the terminal gradually increases the screen brightness. When it is determined that the screen can be unlocked, refer to Figure 7 (3) and Figure 7 In (4), the terminal switches from the full-screen AOD mode to the standard display mode.

[0156] When the terminal is unlocked by fingerprint, determining that the terminal can be unlocked includes: collecting a fingerprint, and when the fingerprint matches a pre-stored fingerprint.

[0157] When fingerprint unlocking is used, in response to the unlocking operation, the terminal will also control the screen refresh rate at a higher level (such as 60hz, 90hz or 120hz, etc.) to facilitate the display of animation effects (such as fingerprint spots) when fingerprint unlocking.

[0158] It should be noted here that Figure 4 The screen refresh rate (screen refresh rate 1) of the initial stage of the full-screen AOD mode is 60hz, which is a reasonable screen refresh rate based on practice. In addition to 60hz, the screen refresh rate 1 can actually be other values. For example, in order to pursue a smoother switching effect, the screen refresh rate 1 can be set to the screen refresh rate of time 1 (greater than or equal to the preset screen refresh rate b). For example, take 120hz as an example.

[0159] refer to Figure 8 , the screen refresh rate in the initial stage of the full-screen AOD mode is maintained at 120hz. After the initial stage, the terminal controls the screen refresh rate to gradually decrease from 120hz to 1hz. For example, first decrease from 120hz to 60hz, then decrease from 60hz to 30, from 30hz to 10hz, and then from 10hz to 1hz. And when the screen refresh rate decreases to less than 30hz, the screen refresh rate is controlled to be 30hz when dynamic. Figure 8 For other operations after the terminal enters full-screen AOD mode, please refer to the above Figure 4 The description is not repeated here.

[0160] It should also be noted that Figure 4 The execution order of the power consumption reduction method involved in the above is optional, and other execution orders may exist in actual applications. For example, the timing of the PWM dimming frequency gradually decreasing from dimming frequency 1 to dimming frequency 2 occurs after entering the full-screen AOD, and before the screen brightness decreases to the brightness 2. That is, it is optional to keep the PWM dimming frequency at dimming frequency 1 during the process of gradually decreasing from brightness 1 to brightness 3.

[0161] In another embodiment, the aforementioned control of the screen brightness from a higher brightness 1 to a lower brightness 2 when displaying the screen-off interface is optional. In this other embodiment, the terminal still does not directly reduce the screen brightness when displaying the screen-off interface to a lower brightness (such as the aforementioned brightness L1 or brightness 2) after switching to the full-screen AOD, but enables at least one higher brightness as a transition brightness when switching to the full-screen AOD before reducing the screen brightness to a lower brightness. In this way, the user's visual sudden change experience is alleviated. Higher here does not mean brighter, but brighter relative to the lower brightness L1.

[0162] In this other embodiment, the terminal detects a screen-off operation when displaying the user interface 1 in the standard display mode. In response to the screen-off operation, the terminal switches to the full-screen AOD mode and displays the screen-off interface. The terminal controls the screen brightness at time a after switching to the full-screen AOD to be brightness a, and the screen brightness at time b to be brightness b which is less than brightness a. Wherein, time b is after time a.

[0163] After switching to the full-screen AOD mode, when the screen brightness drops to brightness b and only includes brightness a, brightness a is equal to the screen brightness when the screen displays user interface 1, and can also be equal to the aforementioned brightness 1. Brightness b is equivalent to the aforementioned brightness L1, and can also be equal to the aforementioned brightness 2.

[0164] After switching to the full-screen AOD mode, if the screen brightness includes other brightnesses between brightness a and brightness b, it means that from time a to time b, the screen brightness gradually decreases from brightness a to brightness b. In this way, the darker brightness required in the full-screen AOD mode can be gradually achieved.

[0165] At this time, the screen brightness of the terminal control screen at time a after switching to full-screen AOD is brightness a, and the screen brightness at time b is brightness b which is less than brightness a, including: from time a to time b, the screen brightness of the terminal control screen gradually decreases from brightness a to brightness b. Wherein, gradually decreasing from brightness a to brightness b means: there are also M brightnesses between brightness a and brightness b, and the M brightnesses are less than brightness a and greater than brightness b. M is an integer greater than or equal to 1.

[0166] Here, in order to make the screen brightness gradually decrease from brightness a to brightness b more smoothly, the terminal can control the screen brightness to gradually decrease from brightness a to brightness b according to a certain gradient. At this time, when brightness a, M brightnesses and brightness b are sorted from large to small, the brightness difference between the i-th brightness and the i-1-th brightness among the M+2 brightnesses is equal to the brightness difference between the i-th brightness and the i+1-th brightness, and the value of i ranges from 2 to M+1.

[0167] When brightness a gradually decreases to brightness b, if time a includes the time when the first frame screen-off interface is displayed, brightness a can be regarded as the aforementioned brightness 1. If the gradual decrease in brightness stops after brightness b, brightness b can be regarded as the aforementioned brightness 2.

[0168] When brightness a gradually decreases to brightness b, if time a does not include the time when the first frame screen-off interface is displayed, brightness a can be regarded as the brightness between brightness 1 and brightness 2 mentioned above. If the brightness needs to continue to decrease after brightness b, brightness b can be regarded as the brightness between brightness 1 and brightness 2 mentioned above.

[0169] Based on the foregoing, it can be concluded that when the brightness a is less than the screen brightness when the screen displays user interface 1, time a does not include the time when the first frame of the screen-off interface is displayed. Or, when the brightness a is equal to the screen brightness when the screen displays user interface 1, time a includes the time when the first frame of the screen-off interface is displayed.

[0170] In this other embodiment, after the terminal displays the user interface 1 and before the terminal displays the screen-off interface, the terminal always keeps the screen on.

[0171] Fig. 9 An exemplary system framework diagram involved in switching from a standard display mode to a full-screen AOD mode through a display method is shown.

[0172] refer to Fig. 9 As shown, the layered architecture divides the system into several layers, each with clear roles and division of labor. The layers communicate with each other through interfaces. In some embodiments, the system framework is divided into five layers, from top to bottom, namely, the application layer, the application framework layer, the hardware abstraction layer, the kernel layer, and the hardware layer.

[0173] The application layer may include a series of application packages (APK).

[0174] like Fig. 9 As shown, the application layer may include a screen-off APK. The screen-off APK integrates the functions and services of AOD, and can be used to detect the screen-off operation and implement the full-screen AOD mode mentioned above. For example, the screen-off interface displayed on the screen of the terminal may be provided based on the screen-off APK.

[0175] The application framework layer includes some services that can be called by the screen-off APK to respond to the screen-off operation.

[0176] like Fig. 9 As shown, the application framework layer may include sensor services, hardware off-screen display brightness services, and power management services.

[0177] Among them, reference Fig. 9 At (1), the hardware screen-off display brightness service can be used to receive an instruction from the screen-off APK to enter the full-screen AOD mode. Specifically, at time 1, the screen-off APK detects a screen-off operation when displaying user interface 1. In response to the screen-off operation, an instruction to enter the full-screen AOD mode is sent to the hardware screen-off display brightness service. Fig. 9 At (2), the instruction to enter the full-screen AOD mode is used by the screen-off display brightness service to register the ambient light sensor through the sensor service. So that after registration, the ambient light data can be determined through the ambient light sensor (refer to Fig. 9(3) in the figure). The ambient light data includes the ambient light brightness at time 1 (the ambient light brightness 1 mentioned above).

[0178] The hardware off-screen display brightness service is also used to trigger execution after determining the ambient light brightness at time 1. Fig. 9 The content shown in (4a) triggers the execution of Fig. 9 The content shown in (4b) in the figure.

[0179] refer to Fig. 9 As shown in (4a), the hardware off-screen display brightness service determines the display brightness in the initial stage of the full-screen AOD mode based on the ambient light brightness at time 1. And sends a dimming instruction to the display driver IC (DDIC), which carries the display brightness in the initial stage. The display brightness in the initial stage and the α value involved below are used to control the screen brightness of the screen in the initial stage. For example, when the display brightness remains unchanged, the screen brightness of the screen decreases if the α value decreases.

[0180] refer to Fig. 9 As described in (4b), the hardware off-screen display brightness service notifies the off-screen APK to send off-screen interface element information to the synthesizer hardware abstract module (belonging to the hardware abstraction layer), including the alpha value (transparency value) acting on the wallpaper. The alpha value is used to reduce the brightness of the wallpaper to gradually reduce the screen brightness in the initial stage.

[0181] After receiving the screen-off interface element information and the alpha value acting on the wallpaper, the synthesizer hardware abstract module reduces the transparency of the wallpaper based on the alpha value. Then, the screen-off interface is synthesized based on the wallpaper with reduced transparency and other screen-off interface elements (including clock cards, message notification cards, etc.). It should be noted that the transparency of the wallpaper of the first frame of the screen-off interface may not be reduced.

[0182] Then, the synthesizer hardware abstraction module sends the synthesized screen-off interface to the display driver chip located at the hardware layer through the digital rights management module (located at the kernel layer).

[0183] The display driver chip refreshes the screen through the dimming frequency, screen refresh rate and gamma curve corresponding to the display brightness to display the screen-off interface. The dimming frequency and screen refresh rate during PWM dimming in the initial stage can refer to the description of the aforementioned related content, which will not be repeated here. The gamma curve corresponding to the display brightness is used to convert the grayscale value of the image pixel of the screen-off interface into the brightness of the screen pixel. For the relevant content of the gamma curve and the detailed process of the display driver chip refreshing the screen in the initial stage, please refer to the following description of step S105 and step S106b, which will not be repeated here.

[0184] It should be noted that after synthesizing a screen-off interface frame based on the α value, the synthesizer hardware abstraction module sends a screen-off interface frame to the display driver chip. After sending a screen-off interface frame, another screen-off interface frame is synthesized based on the next α value, and then sent to the display driver chip for display. In this cycle, the screen brightness gradually decreases.

[0185] When a preset time (e.g., 200 ms) has passed since step (4b) was executed, Fig. 9 As shown in (5), the screen-off APK sends a PWM dimming frequency reduction instruction to the power management service. Based on the foregoing content, the condition for executing step (5) is that the first dimming mode adopted in the initial stage of the full-screen AOD mode is the PWM dimming mode. After the display driver chip receives the PWM dimming frequency reduction instruction, it will perform the aforementioned PWM dimming frequency reduction operation, including: gradually reducing the frequency of the PWM dimming of the screen from dimming frequency 1 to dimming frequency 2 (for example, gradually reducing from 4320 to 360). For the details involved in this process, please refer to the description of step S106b below, which will not be repeated here.

[0186] After both step (4b) and step (5) are completed, the operation of the full-screen AOD mode in the initial stage is completed, and the processing flow after the initial stage is entered. Fig. 9 As shown in (6), the screen-off APK sends a screen refresh rate reduction instruction to the DDIC. After the display driver chip receives the PWM dimming frequency reduction instruction, it will perform the aforementioned screen refresh rate reduction operation, including: gradually reducing the screen refresh rate from screen refresh rate 1 to screen refresh rate 2 (for example, gradually reducing from 60hz to 1hz). For details of the process, please refer to the description of step S107b below, which will not be repeated here.

[0187] At this point, the switch from the standard display mode to the full-screen AOD mode is completed, and the parameters in the full-screen AOD mode (such as screen refresh rate, etc.) are adjusted.

[0188] It should be noted that the above Fig. 9 The system framework diagram and the description of each module involved in the system framework are only examples. Fig. 9 There may be more or fewer modules in the embodiment of the present application, which is not limited to this.

[0189] based on Fig. 9 The system framework shown in FIG. 1 can also switch from the full-screen AOD mode to the standard display mode (not shown in FIG. 1 ). Fig. 9The process includes: the screen-off APK detects the unlocking operation, sends an instruction to increase the screen brightness to the synthesizer hardware abstraction module, and sends an instruction to increase the screen refresh rate to the display driver chip. During the unlocking process, the screen brightness is gradually increased and the screen refresh rate is at a faster level, which is convenient for displaying the fingerprint unlocking animation. When the unlocking is determined, the screen-off APK completes the unlocking and notifies the APK involved in the standard display mode to display the user interface.

[0190] Fig.10 An exemplary module interaction diagram involved in switching from a standard display mode to a full-screen AOD mode through a display method is shown.

[0191] This process involves the aforementioned Fig. 9 The screen, screen-off APK, hardware screen-off display brightness service, synthesizer hardware abstract module and display driver chip included in the process can refer to the following steps S101-S108.

[0192] S101. The terminal displays a user interface through a screen in a standard display mode.

[0193] At time 1, the terminal detects a screen-off operation when displaying user interface 1. The screen-off operation may be the aforementioned Figure 2 The operation of pressing the power key as shown in (1) above.

[0194] S102. In response to the screen-off operation, the screen-off APK sends an instruction to enter the full-screen AOD mode to the hardware screen-off display brightness service.

[0195] After receiving the instruction to enter the full-screen AOD mode, the hardware off-screen display brightness service obtains ambient light data through the ambient light sensor, including the ambient light brightness at time 1.

[0196] S103a. The hardware off-screen display brightness service determines the display brightness in the AOD mode based on the ambient light data.

[0197] The ambient light brightness at time 1 can be used to determine the display brightness in the initial stage.

[0198] The display brightness in the initial stage indicates the brightness level that the screen can reach when the screen turns off in the initial stage. It affects the screen brightness in the initial stage. However, the screen brightness in the initial stage is not only affected by the display brightness, but also by the transparency (α) of the wallpaper. If the display brightness in the initial stage remains unchanged, the lower the transparency of the wallpaper, the lower the screen brightness.

[0199] Generally speaking, the higher the ambient light brightness at time 1, the greater the display brightness at the initial stage. However, in order to save power consumption, when the ambient light brightness at time 1 is higher than a certain value, the display brightness at the initial stage can be controlled to be equal to a larger display brightness (eg, 500).

[0200] The display brightness in the initial stage includes the display brightness when the first frame of the screen-off image is displayed. The higher the display brightness when the first frame of the screen-off image is displayed, the higher the screen brightness when the first frame of the screen-off image is displayed (the brightness 1 mentioned above) will be while being equal to the screen brightness at time 1.

[0201] S104a. The screen-off APK sends screen-off interface element information to the synthesizer hardware abstract module at time 1, including at least the alpha value acting on the wallpaper, or also including card information such as clock. The synthesizer hardware abstract module lowers the wallpaper brightness through the alpha value, and then synthesizes the screen-off interface.

[0202] The screen-off interface element information here includes wallpaper and information of the upper layer displayed on the wallpaper (such as clock card, message notification card, etc.). The screen-off APK can set the alpha value to act on the wallpaper to control the transparency of the wallpaper to gradually decrease.

[0203] The α value here can be a set of parameters recorded in the screen-off APK, such as 0 gradually decreasing to 0.52. Alternatively, see step S103b (optional), the α value (transparency value) can be determined by the hardware screen-off display brightness service based on the display brightness in the initial stage, that is, the hardware screen-off display brightness service can determine the α value based on the display brightness in the initial stage. For example, the higher the display brightness in the initial stage, the faster the α value decreases.

[0204] The synthesizer hardware abstraction module sends the screen off interface to the display driver chip N times. There are different alpha values ​​used in the synthesis of the screen off interfaces sent N times, including: the alpha value used in the synthesis of the screen off interfaces sent N times gradually increases, so that the brightness of the synthesized screen off interface gradually decreases, and further the screen brightness gradually decreases when the screen displays the screen off interface.

[0205] It should be noted that step S104a is explained by taking the α value acting on the wallpaper layer as an example, so when the screen brightness gradually decreases, the transparency of the upper layer of the wallpaper remains unchanged, and the brightness of the upper layer of the wallpaper remains unchanged. The upper layer of the wallpaper includes other screen interface elements other than the wallpaper, such as a clock card, a message notification card, etc.

[0206] In some other possible cases, the α value can be applied to all layers in the off-screen interface in step S104a, so as to control the transparency of all contents in the entire off-screen interface to decrease, and also achieve the purpose of controlling the display brightness of the screen to gradually decrease.

[0207] S104b. The screen-off APK sends a dimming instruction carrying the display brightness to the display driver chip at time 1.

[0208] In the initial stage, the display brightness includes the display brightness of the initial stage.

[0209] In the method of gradually decreasing the screen brightness by controlling the α value, the display brightness in the initial stage can be the same display brightness.

[0210] However, the aforementioned method of controlling the screen brightness to gradually decrease by the α value is optional, and the screen brightness can also be controlled to gradually decrease without the α value. Instead, the screen brightness is controlled to gradually decrease by the display brightness, and the α value of the wallpaper remains unchanged. At this time, the display brightness determined by the terminal based on the ambient light brightness at time 1 is a gradually decreasing sequence value, which is used to change (gradually reduce) the screen brightness of the screen by changing (gradually reducing) the brightness level that the screen can reach.

[0211] S105. The display driver chip refreshes the screen through the screen refresh rate 1 and the gamma curve corresponding to the display brightness to display the screen off interface, and controls the screen brightness to gradually decrease to the first level based on the α value 1. When PWM dimming is performed when refreshing the screen, the PWM frequency is equal to the dimming frequency 1.

[0212] Here, an example of step S105 may be the aforementioned Figure 4 The first 200ms of the initial stage shown in the figure include: controlling the screen brightness to gradually decrease while keeping the screen refresh rate and the frequency of PWM dimming unchanged. Controlling the screen brightness to gradually decrease to a first level based on α value 1 includes: controlling the screen brightness to gradually decrease from the aforementioned brightness 1 to brightness 3 based on α value 1. The α value 1 is the first part of the α value. For a description of this process, please refer to the aforementioned Figure 4 The description of the relevant contents will not be repeated here.

[0213] The gamma curve corresponding to the display brightness includes three sets of corresponding relationships, which are the corresponding relationships between the grayscale values ​​of the three channels (such as red / green / blue channels) of the image pixels and the conduction voltage (Vdata) corresponding to the channels. Fig.11 As shown, it is an exemplary correspondence between the grayscale value of a channel in the gamma curve and the on-voltage (Vdata) corresponding to the channel, which is used to map the grayscale value of the channel of the image pixel of the off-screen interface (which can be obtained based on the color values ​​of the three channels of red / green / blue) to the brightness of the screen pixel in the channel. As shown at point A, if the grayscale value of the image pixel corresponding to point A in a channel is 250, its corresponding brightness in the gamma curve 21 is 30.

[0214] Wherein, Vdata is the brightness expression parameter of the grayscale value of the image pixel in the screen pixel. A screen pixel includes 3 sub-pixel units, and a sub-pixel unit has a Vdata, which is used to convert the grayscale values ​​of the three channels of the image pixel into brightness, so as to express the brightness and color of the image based on the screen pixel. For the relevant contents of Vdata and sub-pixel units, please refer to the description in step S107b below, which will not be repeated here.

[0215] It should be noted that when the screen is refreshed using the gamma curve corresponding to the display brightness 1 to display the screen-off interface A, the display brightness of the screen-off interface A can reach display brightness 1.

[0216] Generally speaking, the gamma curve corresponding to the display brightness can be stored in a display driver chip, and the display driver chip records the gamma curves corresponding to different display brightness.

[0217] Dimming frequency 1 is the dimming frequency (eg, 4320 Hz) when the terminal performs PWM dimming in the standard display mode. For the description of dimming frequency 1, please refer to the above-mentioned related content and will not be repeated here.

[0218] The screen refresh rate 1 may be greater than or equal to the preset screen refresh rate b. For the description of the screen refresh rate 1 and the preset screen refresh rate b, please refer to the above-mentioned related content, which will not be repeated here.

[0219] It should be noted that after the screen-off operation is detected and before step S105 is executed, the display driver chip does not receive the parameters for refreshing the screen in the full-screen AOD mode (such as the screen refresh rate, etc.). At this time, the screen does not display the screen-off interface, and the terminal is still in the standard display mode. The user interface displayed in the standard display mode at time 1 can be referred to as the last frame of the user interface displayed in the standard display mode. The dimming frequency when the terminal performs PWM dimming at time 1 is the dimming frequency 1 mentioned above.

[0220] S106a. After time 1 plus the preset time, the screen-off APK sends a PWM dimming frequency reduction instruction to the display driver chip.

[0221] An example of the preset time may be the aforementioned Figure 4 The 200ms involved.

[0222] The PWM dimming frequency down-adjustment instruction is used to trigger the display driver chip to perform PWM dimming in the initial stage, and control the dimming frequency to gradually decrease after a preset time to save power consumption.

[0223] S106b. The display driver chip refreshes the screen through the screen refresh rate 1 and the gamma curve corresponding to the display brightness and controls the screen brightness to gradually decrease from the first level to the second level based on the α value 2. When the screen performs PWM dimming, the PWM frequency is controlled to gradually decrease from dimming frequency 1 to dimming frequency 2.

[0224] Dimming frequency 1 is the dimming frequency when the terminal performs PWM dimming at time 1. For the relevant content of dimming frequency 1, reference can be made to the above description of dimming frequency 1, which will not be repeated here.

[0225] Here, an example of step S106b may be the aforementioned Figure 4 The content from 200ms to 400ms in the initial stage shown in the figure includes: controlling the screen brightness to continue to gradually decrease while keeping the screen refresh rate unchanged, and controlling the dimming frequency to decrease. Controlling the screen brightness to gradually decrease from the first level to the second level based on α value 2 includes: controlling the screen brightness to gradually decrease from the aforementioned brightness 3 to brightness 2 based on α value 2. The α value 2 is the latter part of the α value. For a description of this process, please refer to the aforementioned description of Figure 4 The description of the relevant contents will not be repeated here.

[0226] S107a. After step S105 and step S106b are completed, the screen-off APK sends a screen refresh rate reduction instruction to the display driver chip.

[0227] The screen refresh rate reduction instruction is used to trigger the display driver chip to control the screen refresh rate to gradually decrease after the initial stage to save power consumption.

[0228] S107b. The display driver chip refreshes the screen through the gamma curve corresponding to the display brightness to display the screen off interface, and controls the screen refresh rate to gradually decrease from screen refresh rate 1 to screen refresh rate 2, and when PWM dimming is performed when refreshing the screen, the PWM frequency is equal to the dimming frequency 1.

[0229] Here, an example of step S106b may be the aforementioned Figure 4 After the initial stage shown in , the content before exiting the full-screen AOD mode includes: controlling the screen refresh rate to gradually decrease from screen refresh rate 1 to screen refresh rate 2 while keeping the PWM dimming frequency unchanged.

[0230] It should be noted that when executing step S107b, the screen brightness stops gradually decreasing.

[0231] In some possible cases, after the initial stage, the screen brightness can be maintained at brightness 2. The way to maintain brightness 2 includes: in full-screen AOD mode, the wallpaper after the initial stage uses the last alpha value used in the initial stage to lower the brightness of the wallpaper.

[0232] It should be noted here that the aforementioned Figure 4 In the content involved, after the screen brightness drops to brightness 2 (after the initial stage), the effect of ambient light brightness on the screen brightness is not reflected. In other possible cases, after the initial stage, the screen brightness can be adjusted according to the ambient light brightness after the initial stage (which can be called ambient light brightness 2). If ambient light brightness 2 is higher than the ambient light brightness when it drops to brightness 2, the screen brightness can be greater than brightness 2. If ambient light brightness 2 is lower than the ambient light brightness when it drops to brightness 2, the screen brightness can be less than brightness 2. Refer to the aforementioned Fig. 6A , Figure 6B Description of its related contents. In step S107b, the display driver chip can control the scanning time of a single row of screen pixels of the screen at different screen refresh rates to be synchronized to 1 / (M×number of rows) or 1 / (W1×number of rows). Wherein, M is the screen refresh rate when the terminal displays the user interface at time 1. W1 is the screen refresh rate (screen refresh rate 1) when the terminal displays the first frame of the screen-off interface, that is, the screen refresh rate of the terminal when executing steps S105 and S106b.

[0233] Here we first introduce the basic structure and light-emitting principle of screen pixels, and then describe how the display driver chip synchronizes the scanning time of a single row of screen pixels based on this basic structure.

[0234] A screen pixel has three sub-pixel units, which control the brightness of three channels respectively, so that the screen pixel can achieve the corresponding brightness and color. Here, one sub-pixel unit is used as an example for explanation. The other two sub-pixel units of the screen pixel have the same performance, but the Vdata (on voltage) is different, which will not be described one by one here.

[0235] like Fig.12 (1) shows a sub-pixel unit in a screen pixel, which is used to reflect the brightness of a channel (such as one of the red, green or blue channels) in the screen pixel.

[0236] The sub-pixel unit includes transistors T1 to T7 and a light-emitting component OLED. Among them, transistor T1 is a reset transistor, transistor T7 and transistor T8 are reset and compensation transistors. Transistor T2, transistor T3 and transistor T4 are driving transistors. Transistor T5 and transistor T6 are light-emitting control transistors. The control terminal 1 (for example, the drain) of transistor T4 is electrically connected to the Vdata output terminal of the display driver chip to receive the Vdata output by the display driver chip. Among them, Vdata is determined by the grayscale value and gamma curve involved above. The larger the Vdata, the brighter the OLED will be after it is turned on. The aforementioned reduction in screen brightness is actually achieved by changing the Vdata here.

[0237] The display driver chip controls each transistor to turn on or off according to a certain timing to update Vdata to control the brightness of the sub-pixel unit in each frame of the screen-off interface. Fig.12 As shown, the sub-pixel unit emits light based on Vdata1 at the zth frame time. Then, the display driver chip scans the sub-pixel unit within 1 / (frequency refresh rate × number of rows) s (time from start scanning to end scanning) to update Vdata1 to Vdata2. After the scanning is completed, the sub-pixel unit is controlled to emit light based on Vdata2 at the z+1th frame time.

[0238] An exemplary process of updating Vdata1 to Vdata2 can be specifically referred to Fig.12 Steps (1) to (7) shown in (2).

[0239] In step (1), the display driver chip inputs a high-level signal to the control terminal (recorded as EM terminal) of transistor T5 and transistor T6 to control the OLED of the sub-pixel unit not to emit light, and the duration of the high-level signal is equal to 1 / (frequency refresh rate × number of rows) s. Then, step (2) is performed, the display driver chip inputs a driving signal (recorded as Gate_N / Gate_P signal) to the control terminal 2 (recorded as Gate_P terminal) of transistor T4 and the control terminal (recorded as Gate_N terminal) of transistor T2 to control transistor T4, transistor T2 and transistor T3 to be in a conductive state. Then, step (3) is performed, the display driver chip inputs a reset signal Vinit2 to the control terminal (recorded as Reset_H terminal) of transistor T7 and a reset signal Vinit3 to the control terminal (recorded as Reset_H terminal) of transistor T8 to control transistor T7 and transistor T8 to be in a conductive state, which is used to eliminate the influence of Vdata1 on OLED; wherein, the reset signal Vinit2 and the reset signal Vinit3 are the same, and are both signals transmitted to the Reset_H terminal, and are recorded as Reset_H signals. Then, step (4) is executed, the display driver chip inputs a reset signal Vinit1 (referred to as Reset_P signal) to the control terminal (referred to as Reset_P terminal) of transistor T1, controls transistor T1 to be in an on state, and transmits the reset signal Vinit1 to transistor T3, and is used to set Vdata1 at transistor T3 to the initialized Vdata. Then, step (5) is executed, the display driver chip inputs Vdata2 to the control terminal 1 (e.g., drain) of transistor TT4, and transmits it to transistor T3 through transistor T2. Finally, step (6) is executed, and the display driver chip inputs the compensation signal Vinit2 to the control end of transistor T7 (recorded as Reset_H end) and the compensation signal Vinit3 to the control end of transistor T8 (recorded as Reset_H end), so as to eliminate the TFT (thin film transistor) offset characteristics of the OLED (caused by the loss of Vdata2 to transistor T3), and keep the Vdata2 at transistor T3 the same as the Vdata2 input by the display driver chip to transistor T4; wherein, the compensation signal Vinit2 and the compensation signal Vinit3 are the same, and are both signals transmitted to the Reset_H end, recorded as Reset_H signals.

[0240] At this point, the on-voltage of the OLED is changed from Vdata1 to Vdata2, and then step (7) is executed, the display driver chip inputs a low-level signal to the EM terminal of transistor T5 and transistor T6, and controls transistor T5 and transistor T6 to be in the on state, so that the OLED emits light based on Vdata2 in the z+1 frame time.

[0241] It should be noted here that the signals (high level or low level) received by the EM end can be collectively referred to as EM signals.

[0242] It should also be noted that when a row of the screen includes R screen pixels, the Vdata of R×3 OLEDs will be updated, and their update method is completed by the display driver chip within 1 / (frequency refresh rate×number of rows) s. The above only takes the update of the Vdata of one OLED as an example.

[0243] Take the example of a display driver chip synchronizing the scanning time of a single row of screen pixels to be equal to 1 / (120×number of rows) s. Fig.13 As shown, the h-th row of the screen includes R screen pixels, and all pixels in the h-th row share a common EM signal (denoted as EM(h)), Gate_N / Gate_P signal (denoted as Gate_N / Gate_P(h)), Reset_H signal (denoted as Reset_H(h)), and Reset_P signal (denoted as Reset_H(P)). However, the Vdata of the R×3 OLEDs in the h-th row are not shared. When the display driver chip scans the h-th row, the display driver chip scans the R screen pixels within 1 / (120×number of rows) s (the time from the start of scanning to the end of scanning). The scanning process refers to the aforementioned Fig.12 The description in (2) is to expand the updated Vdata (Vdata2) input by the display driver chip to the transistor T4 of one sub-pixel unit to the updated Vdata input to the transistor T4 of R×3 sub-pixel units, and the input timing of other signals remains unchanged. The interval between the start time of scanning two adjacent rows of screen pixels is equal to 1 / (W×number of screen rows), where W is the screen refresh rate when scanning screen pixels. After scanning the hth row, the display driver chip starts to refresh the R screen pixels of the h+1th row at an interval of approximately 1 / (W×number of screen rows)-1 / (120×number of rows) s. The scanning process can refer to the aforementioned process of scanning the hth row of screen pixels, except that h is replaced by h+1, and it will not be repeated here.

[0244] Here, the number of screen lines does not specifically refer to how many rows of pixels the screen has from top to bottom. Rather, it refers to the number of scans when the screen is refreshed. Fig. 6A as well as Figure 6B , one scan number includes one start scan and one end scan.

[0245] In step S107b, when the display driver chip controls the scanning time of a single row of screen pixels at different screen refresh rates to be synchronized to 1 / (M×number of rows) or 1 / (W1×number of rows), it means that when refreshing the screen in the aforementioned steps S105 and S106b, the display driver chip also controls the scanning time of a single row of screen pixels to 1 / (M×number of rows) or 1 / (W1×number of rows). For related content, please refer to the aforementioned Fig.12 as well as Fig.13 The description is not repeated here.

[0246] S108. When the screen refresh rate drops to a certain level, the display driver chip sets the screen refresh rate to be greater than or equal to the preset refresh rate when dynamic.

[0247] Step S108 includes: when the screen refresh rate drops to a screen refresh rate 3 (less than or equal to a screen refresh rate 2, such as 10 Hz, 1 Hz, etc.) which is less than a preset screen refresh rate a (such as 30 Hz), the terminal controls the screen refresh rate to be the screen refresh rate 3 when in static state, and controls the screen refresh rate to be the preset screen refresh rate a when in dynamic state. The screen refresh rate in static state includes the screen refresh rate when the displayed content of the screen does not change. The screen refresh rate in dynamic state includes the screen refresh rate when the displayed content of the screen changes.

[0248] Generally speaking, combined with the above Figure 4 According to the description, the terminal can reduce the static screen refresh rate to 1hz and set the dynamic screen refresh rate to 30hz in the early stage (short time) after entering the AOD mode. In the later stage of full-screen AOD mode, the screen refresh rate will continue to maintain this state, while the screen brightness remains at a low level and the PWM dimming frequency remains at a low level (for example, 360hz). In the later stage of full-screen AOD mode, the power consumption of the terminal is lower than that of the standard display mode. The reason can be referred to the following Fig.14 Description.

[0249] refer to Fig.14 In the later stage of full-screen AOD mode, the screen refresh rate is 1hz when static, the terminal refreshes the screen every 1s, and PWM dimming is performed 360 times per second. In contrast, in standard display mode, the screen refresh rate can also be 1hz when static, but PWM dimming is performed 4320 times per second. Therefore, in terms of PWM dimming frequency, the power consumption of full-screen AOD mode in static state is lower than that of standard display mode.

[0250] The screen refresh rate is 30hz in dynamic mode, the terminal refreshes the screen every 1 / 30s, and performs PWM dimming 12 times every 1 / 30s. Compared with the standard display mode, the screen refresh rate in dynamic mode can be as high as 120hz, and PWM dimming is performed 36 times every 1 / 120s. Therefore, in terms of PWM dimming frequency and screen refresh rate, the power consumption of the dynamic full-screen AOD mode is lower than that of the standard display mode.

[0251] It should be noted here that the aforementioned Fig.10 The description is based on the case where the first working mode of the terminal screen after entering the full-screen AOD mode is the PWM dimming mode. In actual situations, the first working mode of the terminal screen after entering the full-screen AOD mode can also be the DC mode. In this case, the processing process after the terminal enters the full-screen AOD mode can still refer to the aforementioned Fig.10 , just remove the relevant content about PWM dimming. However, in full-screen AOD mode, the working mode of the screen can be switched from DC dimming mode to PWM dimming mode. After switching to PWM dimming mode, the frequency of PWM dimming is set to dimming frequency 2.

[0252] The timing for switching the DC dimming mode to the PWM dimming mode here includes: after entering the initial stage, the ambient light brightness decreases, the display brightness of the screen decreases to the preset display brightness, and the DC dimming mode is switched to the PWM dimming mode to achieve a lower display brightness.

[0253] It should also be noted that, in addition to the aforementioned power consumption reduction methods, the terminal also supports other power saving operations in the full-screen AOD mode. Fig.15 In standard display mode, the terminal supports the main processor's big core and small core to respond to instructions for controlling screen display. In full-screen display mode, when the screen refresh rate is high, the terminal supports the main processor's small core or coprocessor to respond to instructions for controlling screen display. When the screen refresh rate is low, the processor can be in sleep mode and wake up to process instructions when it is necessary to process instructions for controlling screen display. Among them, a high screen refresh rate includes a screen refresh rate greater than or equal to a dynamic screen refresh rate. Among them, a low screen refresh rate includes a screen refresh rate less than a dynamic screen refresh rate.

[0254] Fig.16 It is a schematic diagram of the structure of the terminal provided in the embodiment of the present application.

[0255] The following embodiment is specifically described by taking a terminal as an example. It should be understood that a terminal may have more than Fig.16 More or fewer components may be shown, two or more components may be combined, or there may be a different configuration of components. Fig.16The various components shown in the EMBODIMENTS 2000 may be implemented in hardware, software, or a combination of hardware and software, including one or more signal processing and / or application specific integrated circuits.

[0256] The terminal may include: a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, a sensor module 180, a button 190, a motor 191, an indicator 192, a camera 193, a display screen 194 and a subscriber identification module (SIM) card interface 195, etc. The sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity light sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, a bone conduction sensor 180M, etc.

[0257] It is to be understood that the structure illustrated in the embodiments of the present application does not constitute a specific limitation on the terminal. In other embodiments of the present application, the terminal may include more or fewer components than shown in the figure, or combine certain components, or split certain components, or arrange the components differently. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.

[0258] The processor 110 may include one or more processing units, for example, the processor 110 may include an application processor (AP), a modem processor, a graphics processor (GPU), an image signal processor (ISP), a controller, a memory, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural-network processing unit (NPU). The different processing units may be independent devices or integrated into one or more processors. The application processor (AP) in the processor 110 may include Fig.15 The main processor in the

[0259] Among them, the aforementioned Fig.15 The main processor and coprocessor shown in can be placed in the application processor. The processing capability of the main processor is better than that of the coprocessor. The main processor also includes a large core and a small core, and the processing capability of the large core is better than that of the small core. In standard display mode, the terminal can respond to instructions for controlling screen display through the large core and the small core of the main processor, so that the terminal can respond to instructions faster. In full-screen AOD mode, users usually do not operate the terminal or operate the terminal less frequently. At this time, the terminal calls the small core or the coprocessor to process instructions to maintain a normal response to instructions.

[0260] In some embodiments, the processor 110 may include one or more interfaces. The interface may include an inter-integrated circuit (I2C) interface, an inter-integrated circuit sound (I2S) interface, a pulse code modulation (PCM) interface, etc.

[0261] It is understandable that the interface connection relationship between the modules illustrated in the embodiment of the present application is only a schematic illustration and does not constitute a structural limitation on the terminal. In other embodiments of the present application, the terminal may also adopt different interface connection methods in the above embodiments, or a combination of multiple interface connection methods.

[0262] The terminal can realize display functions through a GPU, a display screen 194, and an application processor.

[0263] The display screen 194 is used to display images, videos, etc. The display screen 194 includes a display panel. The display panel can also be made of an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode or an active-matrix organic light-emitting diode (AMOLED), a flexible light-emitting diode (FLED), miniled, microled, micro-oled, a quantum dot light-emitting diode (QLED), etc. In some embodiments, the terminal may include 1 or N display screens 194, where N is a positive integer greater than 1. In some possible cases, the display screen may also be referred to as a screen or a touch screen, etc.

[0264] In some embodiments, display screen 194 may be a screen, such as an OLED screen.

[0265] The terminal can use DDIC ( Fig.16 The display function is realized by using a display screen 194 and the like.

[0266] Among them, DDIC can be used as the control core of the display screen 194, driving the display screen 194 to work, and receiving data from the SOC (processor 110), such as image data and some instructions. DDIC can send driving signals and data to the display panel of the display screen 194 in the form of electrical signals, and then realize the control of the screen brightness and color, so that image information such as letters and pictures can be displayed on the screen, and the screen refresh is completed, so that the display screen refreshes the picture according to the screen refresh rate.

[0267] The terminal may also implement a fingerprint unlocking function through a system on chip (SOC), a DDIC, a display screen 194 and a fingerprint sensor 180H.

[0268] The brightness adjustment method of OLED screens is different from that of liquid crystal display (LCD) screens. The brightness adjustment of OLED screens is not achieved by adjusting the screen backlight, but by controlling the screen brightness while controlling the screen pixel color. Moreover, when the screen brightness is lower than the preset brightness A (such as 75nit), the OLED screen uses PWM dimming mode (PWM mode); when the screen brightness is higher than the preset brightness A, the OLED screen uses DC dimming mode (DC mode). Usually, screen manufacturers will write this dimming logic into the driver integrated circuit (such as DDIC), which cannot be changed. The preset brightness A is the minimum screen brightness to enter DC dimming.

[0269] Here, the DC dimming mode changes the screen brightness by increasing or decreasing the circuit power. Changing the voltage or current can change the circuit power. The PWM dimming mode does not rely on changing the circuit power to change the screen brightness, but relies on the alternation of the screen on and off, that is, the screen does not emit light continuously, but alternates between lighting and extinguishing. When the screen brightness is reduced to a certain level, the light and dark changes of the three primary color pixels can no longer be reflected as color changes, and the color changes cannot be controlled. Therefore, the OLED screen does not use the DC dimming mode at low brightness, but uses the PWM dimming mode, that is, the actual current or voltage on the pixel is higher, and the color expression is not affected, but the brightness value perceived by the human eye is changed by changing the PWM duty cycle. As mentioned above Fig.15 As shown in the figure, in one cycle, the more low levels there are, the larger the duty cycle is. The more high levels there are, the smaller the duty cycle is. When the duty cycle is 0, the OLED is not conducting and does not emit light.

[0270] In some embodiments, the fingerprint sensor 180H may be disposed below the display screen 194 , specifically below a fingerprint recognition area on the display screen 194 (also referred to as a screen).

[0271] The touch sensor 180K is also called a “touch panel.” The touch sensor 180K may be disposed on the display screen 194 , and the touch sensor 180K and the display screen 194 form a touch screen, also called a “touch screen.”

[0272] In some embodiments, the touch sensor 180K can be used to detect the user's operation on the fingerprint recognition area in the display screen 194, and transmit the detected touch operation to the fingerprint sensor 180H to determine that the event corresponding to the touch operation is a fingerprint unlocking event (unlocking event). The touch sensor 180K can also provide visual output related to the touch operation through the display screen 194. For example, after the user places a finger on the fingerprint recognition area in the display screen 194, the display screen 194 displays a fingerprint spot.

[0273] In other embodiments, the touch sensor 180K may also be disposed on the surface of the terminal, at a position different from that of the display screen 194 .

[0274] The ambient light sensor 180L may be used to sense the brightness of the ambient light, and the terminal may adaptively adjust the brightness of the display screen 194 according to the sensed brightness of the ambient light.

[0275] In some embodiments, the ambient light sensor 180L may be used to detect whether the terminal is in an ambient light environment.

[0276] Among them, the fingerprint sensor 180H can be a CMOS / CCD sensor, or even a fisheye camera. When the user's finger is placed on the fingerprint recognition area, the light emitted by the display screen 194 will illuminate the finger, and the reflected light of the fingerprint will shine through the screen to the fingerprint sensor 180H under the screen. When the fingerprint is unlocked, in order to illuminate the finger more clearly, the DDIC can control the display screen 194 to display a fingerprint spot with a high grayscale value (such as a grayscale value of 255) in the fingerprint recognition area. The fingerprint spot is conducive to the fingerprint sensor 180H to collect clear fingerprints. The SOC can compare the collected fingerprint with the recorded fingerprint. If the collected fingerprint is consistent with the recorded fingerprint, the unlocking is confirmed to be successful.

[0277] In the embodiment of the present application, the processor 110 can call the computer instructions stored in the internal memory 121 to enable the terminal to execute the method in the embodiment of the present application.

[0278] The present application also provides a chip system, which includes at least one processor, and is used to implement the functions involved in the method executed by the terminal in any of the above embodiments.

[0279] In one possible design, the chip system also includes a memory, which is used to store program instructions and data, and the memory is located inside or outside the processor.

[0280] The chip system may be composed of the chip, or may include the chip and other discrete devices.

[0281] Optionally, the processor in the chip system may be one or more. The processor may be implemented by hardware or by software. When implemented by hardware, the processor may be a logic circuit, an integrated circuit, etc. When implemented by software, the processor may be a general-purpose processor implemented by reading software code stored in a memory.

[0282] Optionally, the memory in the chip system may be one or more. The memory may be integrated with the processor or may be separated from the processor, which is not limited in the embodiment of the present application.

[0283] Exemplarily, the memory can be a non-transitory processor, such as a read-only memory ROM, which can be integrated with the processor on the same chip or can be set separately on different chips. The embodiments of the present application do not specifically limit the type of memory and the setting method of the memory and the processor.

[0284] Exemplarily, the chip system can be a field programmable gate array (FPGA), an application specific integrated circuit (ASIC), a system on chip (SOC), a central processor unit (CPU), a network processor (NP), a digital signal processor (DSP), a microcontroller unit (MCU), a programmable logic device (PLD) or other integrated chips.

[0285] The present application also provides a computer program product, which includes: a computer program (also referred to as code, or instruction), which enables a computer to execute the method executed by a terminal in any of the above embodiments when the computer program is executed.

[0286] The present application also provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program (also referred to as code or instruction). When the computer program is executed, the computer executes the method executed by the terminal in any of the above embodiments.

[0287] As described above, the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present application.

[0288] As used in the above embodiments, the term "when..." may be interpreted to mean "if..." or "after..." or "in response to determining..." or "in response to detecting...", depending on the context. Similarly, the phrases "upon determining..." or "if (the stated condition or event) is detected" may be interpreted to mean "if determining..." or "in response to determining..." or "upon detecting (the stated condition or event)" or "in response to detecting (the stated condition or event)", depending on the context.

[0289] The terms used in the embodiments of the present application are only for the purpose of describing specific embodiments, and are not intended to be used as limitations to the present application. As used in the specification and appended claims of the present application, the singular expressions "one", "a kind of", "said", "above", "the" and "this" are intended to also include plural expressions, unless there is a clear indication to the contrary in the context. It should also be understood that the term "and / or" used in the present application refers to and includes any or all possible combinations of one or more listed items.

[0290] The terms "first" and "second" are used for descriptive purposes only and should not be understood to imply or suggest relative importance or implicitly indicate the number of technical features indicated. Thus, features defined as "first" and "second" may explicitly or implicitly include one or more of the features. In the description of the embodiments of the present application, unless otherwise specified, "plurality" means two or more.

[0291] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function described in the embodiment of the present application is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices. The computer instructions can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions can be transmitted from a website site, computer, server or data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line) or wireless (e.g., infrared, wireless, microwave, etc.) mode to another website site, computer, server or data center. The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server or data center that contains one or more available media integration. The available medium can be a magnetic medium, (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a solid-state hard disk), etc.

[0292] Those skilled in the art can understand that to implement all or part of the processes in the above-mentioned embodiments, the processes can be completed by computer programs to instruct related hardware, and the programs can be stored in computer-readable storage media. When the programs are executed, they can include the processes of the above-mentioned method embodiments. The aforementioned storage media include: ROM or random access memory RAM, magnetic disk or optical disk and other media that can store program codes.

Claims

1. A screen-off display method, characterized in that: The method comprises: When the terminal displays the first user interface, a screen-off operation is detected; The terminal displays a screen-off interface, and controls the screen brightness to be a first brightness at a first time and a second brightness at a second time; the first time is before the second time, and the first brightness is greater than the second brightness.

2. The method according to claim 1, characterized in that The first brightness is less than or equal to a screen brightness of the screen when the first user interface is displayed.

3. The method according to claim 1 or 2, characterized in that: When the screen-off interface and the first user interface are displayed, the screen-on area of ​​the screen is the same size.

4. The method according to any one of claims 1 to 3, characterized in that Controlling the screen brightness of the screen at a first time to be a first brightness and the screen brightness of the screen at a second time to be a second brightness specifically includes: From the first time to the second time, the terminal controls the screen brightness of the screen to gradually decrease from the first brightness to the second brightness; Among them, gradually decreasing from the first brightness to the second brightness means: there are M brightnesses between the first brightness and the second brightness, and the M brightnesses are smaller than the first brightness and larger than the second brightness; and M is an integer greater than or equal to 1.

5. The method according to claim 4, characterized in that When the first brightness, the M brightnesses and the second brightness are sorted from large to small, the brightness difference between the i-th brightness and the i-1-th brightness among the M+2 brightnesses is equal to the brightness difference between the i-th brightness and the i+1-th brightness, and the value of i ranges from 2 to M+1.

6. The method according to any one of claims 1 to 5, characterized in that After displaying the first user interface and before displaying the screen-off interface, the terminal maintains a screen-on state.

7. The method according to any one of claims 1 to 6, characterized in that When displaying the first user interface, the terminal's scanning frequency and speed for touch operations are at a first level, and when displaying the screen-off interface, the terminal's scanning frequency and speed for touch operations are at a second level, and the first level is higher than the second level.

8. The method according to any one of claims 1 to 7, characterized in that When the first brightness is less than the screen brightness of the screen when displaying the first user interface, the first time does not include the time when the first frame of the screen-off interface is displayed; or, when the first brightness is equal to the screen brightness of the screen when displaying the first user interface, the first time includes the time when the first frame of the screen-off interface is displayed.

9. The method according to claim 4 or 5, characterized in that: The method further comprises: When the working mode of the screen after displaying the screen-off interface is the pulse width modulation (PWM) dimming mode, before the screen brightness drops to the second brightness, the terminal controls the frequency of the PWM dimming of the screen to gradually drop from the first dimming frequency to the second dimming frequency; the first dimming frequency is equal to the frequency of the PWM dimming of the screen when displaying the first user interface; Among them, gradually decreasing from the first dimming frequency to the second dimming frequency means: there are Q dimming frequencies between the first dimming frequency and the second dimming frequency, the Q dimming frequencies are less than the first dimming frequency and greater than the second dimming frequency, and Q is an integer greater than or equal to 1.

10. The method according to claim 9, characterized in that After the screen brightness drops to the second brightness, the method further includes: The frequency at which the terminal controls the screen to perform PWM dimming is the second dimming frequency.

11. The method according to claim 9 or 10, characterized in that: The method further comprises: In the process of controlling the screen brightness to gradually decrease from the first brightness to the third brightness, the terminal controls the screen to perform PWM dimming at a frequency of the first dimming frequency; and the third brightness is greater than the second brightness.

12. The method according to any one of claims 1 to 11, characterized in that The method further comprises: After displaying the screen-off interface and before the screen brightness drops to the second brightness, the terminal refreshes the screen using the first screen refresh rate.

13. The method according to claim 12, characterized in that When a screen refresh rate of the terminal when displaying the first user interface is greater than or equal to a first preset refresh rate, the first screen refresh rate is equal to a screen refresh rate of the terminal when displaying the first user interface; When the refresh rate of the terminal when displaying the first user interface is less than the first preset refresh rate, the first screen refresh rate is equal to the first preset refresh rate.

14. The method according to claim 12 or 13, characterized in that After the screen brightness drops to the second brightness, the method further includes: The terminal controls the screen refresh rate of the screen to gradually decrease from the first screen refresh rate to the second screen refresh rate; gradually decreasing from the first screen refresh rate to the second screen refresh rate means: there are X screen refresh rates between the first screen refresh rate and the second screen refresh rate, the X screen refresh rates are less than the first screen refresh rate and greater than the second screen refresh rate, and X is an integer greater than or equal to 1; The terminal controls the screen refresh rate of the screen to be a third screen refresh rate when the displayed content does not change, and controls the screen refresh rate of the screen to be equal to the second preset refresh rate when the displayed content changes; the third screen refresh rate is less than the second preset refresh rate and is a refresh rate that gradually decreases from the first screen refresh rate to the second screen refresh rate.

15. The method according to any one of claims 12 to 14, characterized in that: The method further comprises: When the screen-off interface is displayed, the terminal responds to the user touching the fingerprint recognition area within the screen by increasing the screen brightness and the screen refresh rate of the screen.

16. The method according to any one of claims 1 to 15, characterized in that When the first ambient light brightness is less than the preset ambient light brightness, there is a first difference between the second brightness and the screen brightness when the first user interface is displayed; when the first ambient light brightness is greater than the preset ambient light brightness, there is a second difference between the second brightness and the screen brightness when the first user interface is displayed, and the second difference is greater than the first difference; The first ambient light brightness is equal to the ambient light brightness when the first user interface is displayed.

17. The method according to claim 16, characterized in that The method further comprises: After the screen brightness drops to the second brightness, the terminal adjusts the screen brightness of the screen based on the second ambient light brightness.

18. The method according to any one of claims 1 to 17, characterized in that The method further comprises: When displaying the user interface, the terminal controls the scanning time of a single row of screen pixels to be equal to 1 / (M×number of screen rows); M is the screen refresh rate when the terminal displays the user interface and M is greater than a third preset refresh rate; When displaying the first screen-off interface, the terminal controls the scanning time of a single row of screen pixels to be equal to 1 / (M×number of screen rows); the interval between the start time of scanning two adjacent rows of screen pixels is equal to 1 / (W×number of screen rows), where W is the screen refresh rate of the terminal when displaying the first screen-off image.

19. The method according to any one of claims 1 to 18, characterized in that The method further comprises: When displaying the user interface, the terminal controls the time for a single screen refresh to be equal to 1 / M; M is the screen refresh rate when the terminal displays the user interface and M is greater than a third preset refresh rate; When displaying the first screen-off interface, the terminal controls the time for a single screen refresh to be equal to 1 / M; the interval between the start times of two adjacent screen refreshes is equal to 1 / W; W is the screen refresh rate of the terminal when displaying the first screen-off image.

20. The method according to claim 4 or 5, characterized in that The terminal controls the screen brightness of the screen to gradually decrease from a first brightness to a second brightness, specifically including: The terminal controls the transparency of the wallpaper layer in the screen-off interface to gradually decrease from a first transparency level to a second transparency level; the transparency of the upper layer of the wallpaper layer remains unchanged.

21. The method according to claim 4 or 5, characterized in that The terminal controls the screen brightness of the screen to gradually decrease from a first brightness to a second brightness, specifically including: The terminal controls the transparency of all layers in the screen-off interface to gradually decrease from a first transparency level to a second transparency level.

22. The method according to claim 14, characterized in that The first screen refresh rate is greater than or equal to 60 Hz, and the second screen refresh rate includes one between 1 Hz and 10 Hz.

23. A terminal, characterized in that: The terminal includes: one or more processors and a memory; the memory is coupled to the one or more processors, the memory is used to store computer program code, the computer program code includes computer instructions, and the one or more processors call the computer instructions to enable the terminal to execute the method described in any one of claims 1 to 22.

24. A chip system, characterized in that: The chip system is applied to a terminal, and the chip system includes one or more processors, and the processor is used to call computer instructions so that the terminal executes the method as described in any one of claims 1 to 22.

25. A computer-readable storage medium comprising instructions, characterized in that: When the instruction is executed on a terminal, the terminal is caused to execute the method according to any one of claims 1 to 22.

26. A computer program product comprising instructions, characterized in that When the computer program product is executed on an electronic device, the electronic device is caused to execute the method according to any one of claims 1 to 22.

Citation Information

Patent Citations

  • Display device and driving method thereof

    CN106847200A

  • Brightness control method for displaying mode switching on OLED panel

    CN111477169A

  • Driving method and device of display panel

    CN114078407A

  • Auxiliary screen brightness adjusting method and display device

    CN114296664A

  • Display control method and device

    CN116343715A

Cited By

  • Control method and device and electronic equipment

    CN120164432A