Screen-off display method and terminal

By gradually reducing screen brightness and adjusting refresh rate and dimming frequency when the terminal switches from standard display mode to full-screen AOD mode, the problems of visual abruptness and high power consumption are solved, achieving a smooth transition and energy-saving effect.

CN119600973BActive Publication Date: 2026-03-20HONOR DEVICE CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-04-24
Publication Date
2026-03-20

AI Technical Summary

Technical Problem

When a terminal switches from standard display mode to full-screen AOD mode, the sudden change in screen brightness causes a strong visual shock for the user, and also results in higher power consumption.

Method used

By gradually reducing screen brightness and adjusting refresh rate and dimming frequency during the switching process, a sudden change from high brightness to low brightness is avoided. A gradual transition method is adopted, and the screen is switched to full-screen AOD mode when the screen is on. The screen brightness is adjusted in combination with the ambient light brightness to save power.

Benefits of technology

It achieves smooth visual transitions, reduces the user's perception of sudden visual changes, and saves terminal power consumption in full-screen AOD mode.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119600973B_ABST
    Figure CN119600973B_ABST
Patent Text Reader

Abstract

The application provides a screen-off display method and a terminal. In the method, when a standard display mode is switched to a full-screen AOD mode, the terminal gradually reduces display brightness to realize smooth transition. After entering the full-screen AOD mode, the PWM dimming frequency and the screen refresh rate are also reduced to a lower level to save power consumption. By implementing the technical solutions provided by the application, the visual abrupt change feeling caused by switching from the standard display mode to the full-screen AOD mode can be reduced, and power consumption can be saved 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 terminal and image processing, and in particular, to a screen-off display method and a terminal. BACKGROUND

[0002] The always on display (AOD) mode of a terminal allows the terminal to continuously display information with lower power consumption in a screen-off state. The AOD mode includes a partial AOD mode and a full-screen AOD mode. In the partial AOD mode, only part of the screen is used to display information after the screen is turned off. The information is usually displayed in a part of the screen instead of the entire screen. The partial 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 more information, the full-screen AOD mode is proposed. In the full-screen AOD mode, the entire screen can be used to display information after the screen is turned off. The information can cover the entire screen from top to bottom, such as wallpaper and time, notifications, and the like 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 a home interface and receive a user operation of opening an application program through the home interface, or in addition to displaying the home interface, the terminal can display an unlocking interface other than a fingerprint unlocking interface in the standard display mode. When the standard display mode is no longer needed, the terminal provides a function of switching from the standard display mode to the AOD mode for the user to meet different use requirements of the user.

[0004] However, the screen brightness in the standard display mode is different from that in the AOD display mode. How to naturally switch from the standard display mode to the AOD mode and reduce the visual mutation caused by the different screen brightnesses is worth discussing. SUMMARY

[0005] Embodiments of the present application provide a screen-off display method and a terminal to provide a reasonable way of switching 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, which includes: detecting a screen-off operation when a terminal displays a first user interface; displaying a screen-off interface by the terminal, and controlling 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, the first time is before the second time, and the first brightness is greater than the second brightness.

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

[0008] Here, in the case where 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 decreased to the darker (lower) second brightness, but at least one brighter (higher) brightness is enabled as a transition brightness when switching to the full-screen AOD mode before the screen brightness is decreased to the darker second brightness. Compared with the way 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 foregoing first aspect can alleviate the visual abrupt feeling of the user when switching from the brighter standard display mode to the full-screen AOD mode.

[0009] In combination with the first aspect, in some embodiments, the screen brightness of the screen is controlled to the first brightness at the first time and to the second brightness at the second time, and specifically includes: from the first time to the second time, the terminal gradually decreases the screen brightness of the screen from the first brightness to the second brightness; wherein gradually decreasing from the first brightness to the second brightness means that M brightnesses are included between the first brightness and the second brightness, the M brightnesses are smaller than the first brightness and larger than the second brightness; and the M is an integer greater than or equal to 1.

[0010] In the above embodiments, after entering the full-screen AOD mode, the screen brightness is decreased to the darker second brightness, so that the power consumption of the terminal can be saved in the full-screen AOD mode. Gradually decreasing from the brighter first brightness to the darker second brightness can achieve saving power consumption while the human eye can adapt to the change of the screen brightness after entering the full-screen AOD mode.

[0011] In combination with the first aspect, in some embodiments, in the case where the first brightness, the M brightnesses, and the second brightness are sorted in descending order of brightness, the brightness difference between the i th brightness and the (i-1) th brightness in 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 embodiments, 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 decreasing the brightness more smooth.

[0013] In some embodiments of the first aspect, the terminal keeps a screen-on state from displaying the first user interface to displaying the screen-off interface.

[0014] The above embodiments show that switching from the standard display mode to the full-screen AOD mode does not insert a black screen process as shown in Figure 1 The avoidance of the transition from the standard display mode to the black screen state and then from the black screen state to the full-screen AOD mode makes the user feel that there are two visual changes in screen brightness, from high brightness to dark and from dark to low brightness. 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 some embodiments of the first aspect, when the first brightness is less than the screen brightness 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 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 embodiments, if the first time includes the time when the first frame of the screen-off interface is displayed, the first brightness can be regarded as the brightness 1 involved in the following embodiments. If the first time does not include the time when the first frame of the screen-off interface is displayed, the first brightness can be regarded as the brightness between the brightness 1 and the brightness 2 involved in the following embodiments.

[0017] In some embodiments of the first aspect, the method further comprises: when the working mode of the screen after displaying the screen-off interface is a pulse width modulation (PWM) dimming mode, gradually reducing the frequency of PWM dimming of the screen from a first dimming frequency to a second dimming frequency before the screen brightness decreases to the second brightness; the first dimming frequency is equal to the frequency of PWM dimming of the screen when displaying the first user interface; wherein gradually reducing the first dimming frequency to the second dimming frequency means that 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 embodiments, the first dimming frequency can be the dimming frequency 1 involved in the following embodiments, and the second dimming frequency can be the dimming frequency 2 involved in the following embodiments.

[0019] Here, the terminal needs to end the frequency reduction of the PWM dimming before the screen brightness reduction is completed. In this way, the brightness change problem caused by the frequency reduction of the PWM dimming can be concealed by the brightness reduction while the frequency of the PWM dimming is reduced to the second dimming frequency to save power consumption. Moreover, the PWM dimming frequency is gradually reduced, which does not affect the visual perception of the screen brightness reduction by the user.

[0020] In combination with the first aspect, in some embodiments, after the screen brightness is reduced to the second brightness, the method further includes that the terminal controls the frequency of the PWM dimming of the screen to be the second dimming frequency.

[0021] In the above embodiments, after the second brightness, the terminal controls the screen brightness to remain stable (the second brightness). At the same time, the frequency of the PWM dimming is set to remain stable (the second dimming frequency).

[0022] In combination with the first aspect, in some embodiments, the method further includes that, in the process of controlling the screen brightness to gradually reduce from the first brightness to a third brightness, the terminal controls the frequency of the PWM dimming of the screen to be the first dimming frequency; and the third brightness is greater than the second brightness.

[0023] In the above embodiments, the third brightness can be brightness 3 involved in the following embodiments.

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

[0025] In combination with the first aspect, in some embodiments, the method further includes that, after displaying the screen-off interface and before the screen brightness is reduced to the second brightness, the terminal uses a first screen refresh rate to refresh the screen.

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

[0027] Here, keeping the screen refresh rate unchanged in the brightness reduction process can achieve the smooth reduction of the screen brightness to the second brightness which is darker.

[0028] With reference to 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 screen 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 embodiments, the first preset refresh rate can be the preset screen refresh rate b involved in the following embodiments. The preset screen refresh rate is generally 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 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 smooth brightness reduction 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 small part of users) will not perceive display changes caused by changes in screen refresh rate.

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

[0032] With reference to the first aspect, in some embodiments, after the screen brightness is reduced to the second brightness, the method further comprises: the terminal gradually reducing the screen refresh rate of the screen from the first screen refresh rate to a second screen refresh rate; gradually reducing the first screen refresh rate to the second screen refresh rate means that 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 the X is an integer greater than or equal to 1; the terminal controls the screen refresh rate of the screen when the displayed content does not change to be a third screen refresh rate, and controls the screen refresh rate of the screen when the displayed content changes to be equal to the second preset refresh rate; the third screen refresh rate is less than the second preset refresh rate and belongs to the refresh rates gradually reduced from the first screen refresh rate to the second screen refresh rate.

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

[0034] Here, the screen refresh rate is gradually reduced to prevent the off-screen interface from appearing visually inconsistent or misaligned when the screen refresh rate gradient is too large. The screen refresh rate when the display content changes is equal to the faster second preset refresh rate (e.g., 30 hz) to quickly complete screen refresh and achieve continuous display when the display content changes in a dynamic refresh scenario.

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

[0036] In the above embodiments, the screen refresh rate is increased when the fingerprint is unlocked to better display the animation effect (e.g., fingerprint light spot) in the unlocking scenario. 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 a preset ambient light brightness, the second brightness has a first difference from the screen brightness when the first user interface is displayed; when the first ambient light brightness is greater than the preset ambient light brightness, the second brightness has a second difference from the screen brightness when the first user interface is displayed, and the second difference is greater than the first difference; and the first ambient light brightness is equal to the ambient light brightness when the first user interface is displayed.

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

[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, which means that the ambient light is relatively dark, and the display brightness when displaying the last frame of the user interface is at a relatively dark level. At this time, the second brightness also belongs to a relatively dark 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, which means that the ambient light is relatively bright, and the display brightness when displaying the last frame of the user interface is at a relatively bright level, in order to give consideration to the principle of saving power after entering the full-screen AOD mode. Compared with the relatively dark ambient light brightness, the second brightness can be increased but still cannot be too bright under the relatively bright ambient light brightness, so the second difference between the screen brightness when displaying the last frame of the user interface and the second brightness will be greater than the threshold 1 but less than the threshold 2.

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

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

[0042] Here, in the full-screen AOD mode, after the screen is lowered to the second brightness, although the screen brightness is no longer gradually lowered. However, the screen brightness is still adjusted in combination with the ambient light brightness here, so that the human eye can clearly see the screen-off interface under different ambient light brightness.

[0043] In combination with the first aspect, in some embodiments, the method further 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 x screen row number); the M is the screen refresh rate of the terminal when displaying the user interface and the 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 the 1 / (M x screen row number); and the interval between the start times of scanning adjacent two rows of screen pixels is equal to 1 / (W x screen row number), and the W is the screen refresh rate of the terminal when displaying the first screen-off image.

[0044] In the above embodiments, keeping the scanning time of each row of screen pixels consistent helps to improve display consistency and ensure that different rows of screen pixels are updated within the same time. This helps to reduce the non-uniformity of the brightness and color of the screen.

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

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

[0047] With reference to 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 a transparency of a wallpaper layer in the screen-off interface to gradually decrease from a first transparency to a second transparency; a transparency of an upper layer of the wallpaper layer remains unchanged.

[0048] In the above embodiments, the content displayed in the screen-off interface includes the wallpaper and the layer (e.g., a clock card, a message notification card) on the upper layer of the wallpaper. Here, the brightness of the wallpaper is decreased, and the brightness of the layer (e.g., a clock card, a message notification card) on the upper layer of the wallpaper remains unchanged, which is the first transparency. Therefore, the brightness of the layer on the upper layer of the wallpaper is greater than the brightness of the wallpaper. This is advantageous for highlighting the layer on the upper layer of the wallpaper, so that the user can more easily focus on the layer on the upper layer of the wallpaper. For example, when a new message notification appears, the user can more easily perceive the new message notification.

[0049] With reference to 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 a transparency of all layers in the screen-off interface to gradually decrease from a first transparency to a second transparency.

[0050] In the above embodiments, the brightness of the wallpaper and the layer on the upper layer of the wallpaper are both decreased, which is advantageous for saving power consumption.

[0051] With reference to 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, and the memory is configured to store computer program codes, the computer program codes comprising computer instructions, and the one or more processors are configured to invoke the computer instructions to cause the terminal to perform 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 that, when executed on a terminal, cause the terminal to perform the method implemented in the first aspect.

[0054] In a fourth aspect, an embodiment of the present application provides a chip system applied to a terminal, the chip system comprising one or more processors configured to invoke computer instructions to cause the terminal to perform the method implemented in the first aspect. The chip system can be a system-on-chip (SoC). The processor can comprise a modem processor (also known as a Modem or a baseband chip).

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

[0056] It can be understood 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 perform the method provided in the embodiments of the present application. Therefore, the other beneficial effects thereof can refer to the beneficial effects in the corresponding method, which will not be described here. BRIEF DESCRIPTION OF DRAWINGS

[0057] Figure 1 A scene schematic diagram of a scheme for transitioning into an AOD mode by using black screen processing is shown;

[0058] Figure 2 A scene schematic diagram of a scheme for transitioning into a full-screen AOD mode by using gradual decrease of luminance is shown;

[0059] Figure 3 A schematic diagram of PWM dimming performed by the terminal is shown;

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

[0061] Figure 5A A schematic diagram involved in single screen refreshing is shown;

[0062] Figure 5BAnother schematic diagram involved in refreshing a single screen is shown;

[0063] Figure 6A A schematic diagram involved in refreshing a row of screen pixels is shown;

[0064] Figure 6B Another schematic diagram involved in refreshing a row of screen pixels is shown;

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

[0066] Figure 8 A schematic diagram of an execution sequence of another reasonable power consumption reduction mode is shown;

[0067] Figure 9 An exemplary system framework diagram involved in switching from the standard display mode to the full-screen AOD mode by the display method is shown;

[0068] Figure 10 An exemplary module interaction diagram involved in switching from the standard display mode to the full-screen AOD mode by the display method is shown;

[0069] Figure 11 An exemplary gamma curve diagram is shown;

[0070] Figure 12 A basic structure of a screen pixel and a light emitting principle are shown;

[0071] Figure 13 A schematic diagram of the scanning time of a single row of screen pixels based on the basic structure of the display driving chip is shown;

[0072] Figure 14 A comparative schematic diagram of screen refreshing and PWM dimming in the standard display mode and the full-screen AOD mode is shown;

[0073] Figure 15 A working state schematic diagram of the processor in the standard display mode and the full-screen AOD mode is shown;

[0074] Figure 16 is a structural schematic diagram of a terminal provided by an embodiment of the present application. DETAILED DESCRIPTION

[0075] In order to save power, in the AOD mode, the screen brightness (brightness L1) of the terminal needs to be at a relatively dark level. It is usually lower than the screen brightness (brightness L2) in the standard display mode. Therefore, when switching from the standard display mode to the AOD mode directly, the screen brightness changes suddenly from the relatively high brightness L2 to the relatively low brightness L1, resulting in screen flicker. Screen flicker will give users a feeling of visual mutation, causing eye discomfort.

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

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

[0078] It should be noted that entering the AOD mode means that the terminal enters the screen-off state. The interface displayed by the terminal in the screen-off state can be referred to as a screen-off interface.

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

[0080] The above-mentioned way of inserting the black screen state actually converts the visual abruptness caused by directly switching from the standard display mode to the AOD mode into two visual changes that are more acceptable to the user. 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 feeling of visual abruptness caused by directly switching from the standard display mode to the AOD mode.

[0081] Compared with switching from the standard display mode to the global AOD mode, the effect of using the above-mentioned way of inserting the black screen state to alleviate the visual abruptness when switching from the standard display mode to the local AOD mode is better. The reason is that the second visual change (the first visual change is the same) is more gradual, which includes: when the black screen state is switched to the local AOD mode, only part of the screen is lit up to display information, and the area not used to display information is black. Therefore, the content of the interface does not change much when the black screen state is switched to the local AOD mode, and the visual change of the user is small. However, when the black screen state is switched to the global AOD mode, the entire screen is lit up to display information to the user, and there is still a relatively obvious visual change from dark to light when the black screen state is switched to the global AOD mode.

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

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

[0084] In order to further reduce the visual mutation feeling caused by switching from the standard display mode to the full-screen AOD mode, a screen-off display method is proposed. In this method, with reference to Figure 2 (1) in the foregoing and Figure 2 (2) in the foregoing, when switching from the standard display mode to the full-screen AOD mode, no black screen processing is performed, but the standard display mode is directly switched to the full-screen AOD mode while maintaining the screen-on state.

[0085] With reference to Figure 2 (2) in the foregoing and Figure 2 (3) in the foregoing, after the switching is completed, the terminal controls the screen brightness to gradually decrease from a higher brightness 1 to a lower brightness 2 in the process of refreshing the screen. The brightness 1 is the screen brightness when the first frame of the screen-off interface is displayed after the switching is completed. The brightness 2 can be regarded as the aforementioned brightness L1, which is at a relatively dark brightness level. 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 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 when the first frame of the screen-off interface is displayed is high, but means that the brightness 1 (the brightness when the first frame of the screen-off interface is displayed) is brighter than the brightness 2, and can be equal to the screen brightness when the last frame of the user interface is displayed in the standard display mode. In this way, when switching from the standard display mode to the full-screen AOD mode, the brightness deviation is small or there is no deviation, avoiding the screen flicker problem, and the user's visual mutation feeling can be alleviated. Gradually decreasing from the higher brightness 1 to the 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 aforementioned black screen processing, the transition mode of gradually reducing the brightness can further reduce the stimulation of the visual mutation to the user's eyes and avoid the discomfort of 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 including two values same, but also including two values close. Close means that the difference between the two values is within a small range, which is not easy to be perceived by the user. For example, the brightness 1 (the brightness when the first frame of the off-screen interface is displayed) is equal to the screen brightness when the last frame of the user interface is displayed in the standard display mode, which can be expressed as: the 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 the brightness 1 and the screen brightness when the last frame of the user interface is displayed in the standard display mode is small, which is not easy to be perceived by the user.

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

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

[0090] It should be further 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 scheme needs to reduce the power consumption as much as possible after entering the full-screen AOD mode. In addition to the foregoing screen brightness reduction to a darker level 2 after entering the full-screen AOD mode, the power consumption reduction mode also includes but is not limited to one or more of the following modes.

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

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

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

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

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

[0096] In addition, when the screen refresh rate is reduced to the screen refresh rate 3 that is less than the preset screen refresh rate a, the terminal controls the screen refresh rate to be the screen refresh rate 3 in the static state, and the screen refresh rate to be the preset screen refresh rate a in the dynamic state. The screen refresh rate in the static state includes the screen refresh rate when the screen displays the content that does not change. The screen refresh rate in the dynamic state includes the screen refresh rate when the screen displays the content that changes.

[0097] The content change includes that the jth frame of the screen to be displayed and the (j-1)th frame of the screen that has been displayed have content change. For example, the clock changes, the jth frame of the screen adds or reduces the notification message compared with the (j-1)th frame of the screen. The (j-1)th frame of the screen is the previous frame of the jth frame of the screen.

[0098] The content does not change includes that the jth frame of the screen to be displayed and the (j-1)th frame of the screen that has been displayed do not have content change.

[0099] Power consumption reduction mode 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 PWM dimming frequency from the dimming frequency 1 to the dimming frequency 2. The dimming frequency 1 is the dimming frequency of the terminal in the standard display mode. The dimming frequency 1 is usually a faster level dimming frequency, for example, 4320hz. The dimming frequency 3 is a lower level dimming frequency, for example, 360hz.

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

[0101] Whether the first working mode of the screen after entering the full-screen AOD mode is the PWM dimming mode or the AOD dimming mode can refer to one of the following dimming mode determination methods.

[0102] The dimming mode determination method 1: the display brightness of the screen is determined by the ambient light brightness. Due to the influence of the ambient light brightness on the human eye, the lower the ambient light brightness, the lower the display brightness is required to meet the visual perception of the human eye. When the ambient light brightness is less than a certain ambient light preset value, and the display brightness is less than a preset display brightness, the first working mode of the screen after entering the full-screen AOD mode is the PWM dimming mode. When the ambient light brightness is very high, higher than a certain ambient light preset value, and the display brightness is greater than the preset display brightness, the first working mode of the screen after entering the full-screen AOD mode is the DC dimming mode. The ambient light brightness here refers to the ambient light brightness detected when the screen-off operation is detected in the standard display mode. Generally speaking, the ambient light brightness does not change suddenly in a very short time. Therefore, the ambient light brightness detected 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 also the ambient light brightness when the first frame or several frames of the screen-off interface are displayed.

[0103] The working mode of the screen is introduced as follows.

[0104] The screen working in the DC dimming mode means that the terminal adjusts the display brightness value (DBV) of the screen by controlling the current intensity input to the screen pixels. The screen in the DC dimming mode can maintain continuous brightness output and will not be turned off.

[0105] The screen working in the PWM dimming mode means that the terminal adjusts the display brightness of the screen by alternating the screen on and off. Compared with the DC dimming mode, the PWM dimming mode screen is not continuously lit.

[0106] The dimming frequency in the PWM dimming mode refers to the number of times of PWM dimming that the terminal can perform in 1 second. For example, 360hz dimming frequency means 360 times of PWM dimming in 1s. Generally, the interval between the start times of adjacent two PWM dimmings is equal to 1 / 360s. Once PWM dimming includes a short screen-off and then screen-on, and the screen-off time is very short and not perceived by the user.

[0107] The time to complete one PWM dimming cycle is extremely short. Typically, multiple PWM dimming cycles can be completed while refreshing one frame of an image, thereby adjusting the display brightness. Let T1 be the time to refresh one frame of an image, and T2 be the interval between the start times of two adjacent PWM dimming cycles. Therefore, T1 / T2 PWM dimming cycles are performed while refreshing one frame of an image.

[0108] For example, refer to Figure 3 As shown, this explanation uses a screen refresh rate of 120Hz and a PWM dimming frequency of 360Hz as an example. The time for a single screen refresh is 1 / 120s, and the interval between the start times of two adjacent PWM dimming cycles is 1 / 360s. Therefore, during a single screen refresh, 3 (360 / 120) PWM dimming cycles are performed evenly. The screen refresh is accomplished through line-by-line scanning. When displaying the h-th frame of the always-on display, the terminal refreshes the first 1 / 3 of the screen pixels in approximately 1 / 360s, and then performs one PWM dimming process (briefly turning the entire screen off and then on again). Here, the first 1 / 3 of the screen pixels, after being refreshed, are used to display the content of the h+1-th frame of the always-on display. At this point, the content displayed by the first 1 / 3 of the screen pixels is the content of the h+1-th frame of the always-on display, and the content displayed by the last 2 / 3 of the screen pixels is the h-th frame of the always-on display. After completing one PWM dimming cycle, the terminal continues to refresh line by line, and after approximately 1 / 360s, refreshes the middle third of the screen pixels to display the content of the (h+1)th frame's always-on display, then performs another PWM dimming process. After this second PWM dimming cycle, the terminal continues to refresh line by line, and after approximately 1 / 360s, refreshes the last third of the screen pixels to display the content of the (h+1)th frame's always-on display, then performs another PWM dimming process. Thus, three PWM dimming cycles are achieved during a single screen refresh. Subsequently, the terminal continues to refresh the screen, and PWM dimming continues during the refresh process.

[0109] Based on the foregoing introduction to DC dimming and PWM dimming modes, it can be explained that, typically, when the screen's actual brightness is lower than the preset brightness (lower brightness), it is difficult to reduce the screen's brightness to below the preset brightness (e.g., 90 nits) using DC dimming. Therefore, in this situation, the terminal will control the screen to operate in PWM dimming mode, which, by increasing the screen's off time, can achieve a lower actual brightness.

[0110] It is also necessary to point out that the display brightness is different from the aforementioned screen brightness. The display brightness refers to the brightness level that the screen can reach when displaying the screen-off interface. The screen brightness refers to the brightness level that the screen actually presents when displaying the screen-off interface. The screen brightness is the brightness presented after comprehensively considering the display brightness and other factors other than the display brightness. The other factors include but are not limited to one or more of the following factors: the brightness of the display content itself and the brightness performance of the screen pixels, etc. In the case of the same other factors, adjusting the display brightness also means adjusting the screen brightness, and the higher the display brightness, the higher the screen brightness.

[0111] In some possible cases, using the dimming mode determination mode 1 also means that the final screen brightness when the screen brightness gradually decreases after entering the AOD mode (i.e., the aforementioned brightness 2) can be determined by the ambient light brightness 1. Generally, the greater the ambient light brightness 1, the greater the brightness 2. At this time, in the case where the ambient light brightness 1 is less than the preset ambient light brightness, there is a difference 1 between the brightness 2 and the screen brightness when the last frame of the user interface is displayed. In the case where the ambient light brightness 1 is greater than the preset ambient light brightness, there is a difference 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 the difference 2 is greater than the difference 1 is that the ambient light brightness 1 less than the preset ambient light brightness indicates that the ambient light is relatively dark, and the display brightness when the last frame of the user interface is displayed is at a relatively dark level. At this time, the brightness 2 also belongs to a relatively dark level, and therefore the difference 1 is within a relatively small range (threshold 1). However, the ambient light brightness 1 greater than the preset ambient light brightness indicates that the ambient light is relatively bright, and the display brightness when the last frame of the user interface is displayed is at a relatively bright level. In order to give consideration to the principle of saving power after entering the full-screen AOD mode, compared with the relatively dark ambient light brightness, the brightness 2 can be increased but still cannot be too bright under the relatively bright ambient light brightness. Therefore, the difference 2 between the screen brightness when the last frame of the user interface is displayed and the brightness 2 will be greater than the threshold 1 but less than the threshold 2.

[0113] The dimming mode determination mode 2: The display brightness when displaying the screen-off interface can be at a relatively low level. In this way, the screen brightness can also be at a relatively low level. Therefore, it can be defaulted that the first working mode of the screen after entering the AOD mode is the PWM dimming mode.

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

[0115] However, the three power consumption reduction manners mentioned above, i.e., the power consumption reduction manner 2 and the power consumption reduction manner 3, will directly affect the display effect of the screen. The execution order of the three power consumption reduction manners needs to be set reasonably so that the power consumption can be saved and a better display effect (including the display effect when switching from the standard display mode to the full-screen AOD mode) can be achieved after entering the full-screen AOD mode.

[0116] Figure 4 A reasonable execution order of the power consumption reduction manners is shown, and the following describes how to set the execution order of the power consumption reduction manners. Figure 4

[0117] The execution order can 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. And after the screen brightness gradually decreases from brightness 1 to brightness 3, but before it decreases to brightness 2, the terminal gradually reduces the frequency of PWM dimming from dimming frequency 1 to dimming frequency 2 (power consumption reduction manner 3). After the initial stage, the terminal starts to gradually reduce the screen refresh rate (power consumption reduction manner 2).

[0118] The following describes the related content involved in the foregoing execution order.

[0119] First, the process of switching the terminal from the standard display mode to the full-screen AOD mode is described, including: time 1, the terminal detects the screen-off operation when displaying the 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 that the full-screen AOD mode is entered). And after displaying the user interface 1 to displaying the first frame of the screen-off interface, the terminal keeps the screen on. Wherein, the user interface 1 can be regarded as the last frame of the user interface displayed before entering the full-screen AOD mode. The time 1 can also include the time of displaying the last frame of the user interface.

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

[0121] Reference is made to Figure 4 ​As shown, the terminal gradually reduces the screen brightness of the terminal control screen from brightness 1 to brightness 2, including: entering the initial stage of the full-screen AOD mode, gradually reducing the brightness of the wallpaper. For example, gradually reducing the transparency (a) of the wallpaper (for example, a gradually reduces from 0 to 0.52) to achieve the brightness reduction of the wallpaper, and the brightness of the layer on the wallpaper (for example, the clock card, the message notification card) remains unchanged. When the terminal gradually reduces the transparency of the wallpaper from 0 to 0.52, the a of the off-screen interface of the two frames before and after is small (for example, 0.2, etc.), and the terminal can complete the gradual reduction of the brightness in about 400ms. The entire brightness reduction process is fast and continuous. Wherein, a = 0 indicates that the wallpaper is fully transparent. The greater a is, the lower the transparency of the wallpaper is. The lower the transparency of the wallpaper is, the smaller the brightness of the wallpaper is. It should be noted that after the transparency of the wallpaper reduces to 0.52, the transparency of the subsequent wallpaper can be maintained at 0.52. The screen brightness is at a lower and more stable level, which saves power consumption and no longer has a gradual reduction in brightness.

[0122] With reference to the foregoing Figure 4 , in order to make the brightness reduction process more smooth, a faster screen refresh rate 1 can be maintained during the brightness reduction process. The screen refresh rate 1 is greater than or equal to a preset screen refresh rate b. The preset screen refresh rate b can be equal to 60hz or 90hz or the like faster screen refresh rate.

[0123] In some possible implementations, in the case that the screen refresh rate at time 1 is greater than or equal to the preset screen refresh rate b (indicating that time 1 is in dynamic refresh), 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 brightness reduction when switching from the standard brightness mode to the full-screen AOD mode, the same screen refresh rate can also be maintained, so that visually sensitive users (a very small part of users) will not be aware of the display changes caused by the change of the screen refresh rate. In the case that 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 the screen refresh rate 1 can be at least 60hz. For most users, the screen refresh rate 1 is greater than or equal to 60hz, and in the case of gradual brightness reduction, 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 of the screen refresh rate, because the user's attention is mainly focused on the gradual reduction of the brightness.

[0125] The reason for the terminal to down-regulate the PWM dimming after the screen brightness gradually decreases from brightness 1 to brightness 3 but before decreasing to brightness 2 includes: when the screen brightness decreases to the relatively dark brightness 2 in the initial stage, a reasonable design is to keep the screen brightness of the screen at brightness 2 without changing the light sensitivity of the human eye. However, reducing the dimming frequency in the PWM dimming mode will affect the screen brightness. In the case where the display content of the screen does not change, if the dimming frequency is reduced, the number of times of temporary screen extinguishing will be reduced, thereby increasing the display brightness of the screen, and when the increasing trend is obvious, the screen flickering problem will be caused. Then the operation of gradually reducing the frequency of the PWM dimming from the dimming frequency 1 to the dimming frequency 2 needs to be performed after the screen brightness starts to decrease for a period of time, but continues to gradually decrease in the process, and the gradual decrease of the screen brightness is used to mask the brightness change caused by the decrease of the frequency of the PWM dimming. Here, the reason for not reducing the dimming frequency in the period of time when the brightness starts to decrease includes: the initial time after switching from the standard display mode to the full-screen AOD mode, in addition to the change of brightness (regarded as the change of pixel color), it also involves a large change of pixel content from displaying the last frame of user interface to displaying the first frame of screen-off image. At this time, the frequency of the PWM dimming is kept at a relatively high level in the period of time when the brightness starts to decrease, in order to suppress the afterimage phenomenon caused by the large change of pixel content in a short time and improve the display quality.

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

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

[0128] For example, with reference to Figure 4Taking a dimming frequency of 4320Hz as an example and a dimming frequency of 360Hz as an example, during the initial 200ms, as the screen brightness gradually decreases from brightness 1 to brightness 3 (greater than brightness 2), the screen operates in PWM mode with a PWM dimming frequency of 4320Hz. After the screen brightness decreases to brightness 3 but before decreasing to brightness 2, the terminal controls the screen to gradually decrease the PWM dimming frequency from 4320Hz to 360Hz. For example, it decreases from 4320Hz to 2880Hz, then from 2880Hz to 1440Hz, then from 1440Hz to 720Hz, and then gradually decreases from 720Hz to 360Hz. Furthermore, after the initial phase and before exiting full-screen AOD mode, the PWM dimming frequency remains at 360Hz when the screen operates in PWM mode.

[0129] It should be noted here that... Figure 4 The 0 in the text indicates the start time when entering full-screen AOD mode. Figure 4 The 200ms mentioned is an example, representing a short period of time after switching from standard display mode to full-screen AOD mode. It can also be 150ms, 100ms, etc., and this application does not limit it.

[0130] It should also be noted that in the initial stage of entering full-screen AOD mode, the terminal screen can operate in both PWM dimming mode and DC dimming mode. Figure 4 (Not shown in the image) For details on the specific operating mode, please refer to the description of the dimming mode determination method in the display, which will not be repeated here.

[0131] The foregoing described the initial stage of entering AOD mode. When controlling the screen brightness to decrease, the terminal's screen refresh rate needs to be maintained at a high level, screen refresh rate 1. Therefore, the operation of gradually decreasing the screen refresh rate from screen refresh rate 1 to screen refresh rate 2 (a lower level) involved in the aforementioned power consumption reduction method 2 can occur after the initial stage.

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

[0133] For example, continue to refer to Figure 4With a screen refresh rate of 60Hz, after the initial stage, the terminal can first reduce the screen refresh rate from 60Hz to 30Hz, then to 10Hz, and then to 1Hz. Furthermore, when the screen refresh rate decreases to a level lower than the preset screen refresh rate 'a' (e.g., ...), ... Figure 4 The screen refresh rate is 30Hz (e.g., 30Hz). Figure 4 After 10Hz, 1Hz, etc., the screen refresh rate is 10Hz / 1Hz when the terminal controls the static screen refresh rate, and 30Hz when the screen refresh rate is dynamic.

[0134] It should be noted that the aforementioned screen refresh rates of 30Hz, 10Hz, and 1Hz are merely illustrative examples; other screen refresh rates are also possible, and this application does not limit this. The key is that the screen refresh rate decreases gradually to prevent visual inconsistencies or misalignments in the always-on display caused by a large drop in refresh rate. Setting the screen refresh rate to 30Hz during dynamic refresh is also an example; other values, such as 30Hz, are also possible. The goal is to maintain a relatively fast screen refresh rate so that it can respond to changes in the displayed content.

[0135] The screen refresh rate refers to the number of times a terminal can refresh its screen per second. For example, a 60Hz refresh rate means the screen refreshes its display 60 times per second. The interval between two consecutive refreshes is 1 / 60 of a second.

[0136] Generally, the time for a single screen refresh is equal to the reciprocal of the screen refresh rate. After entering AOD mode, when the screen refresh rate is W, the time it takes for the terminal to refresh the screen once to display one frame of the always-on display 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. Here, 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 refreshing). W1 is the screen refresh rate when the terminal displays the first frame of the always-on display (i.e., screen refresh rate 1).

[0137] In single-screen refresh mode 1, after entering 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. For example... Figure 5A As shown, at W=120Hz, the terminal can refresh the screen 120 times in 1 second. In this case, the single screen refresh time is 1 / 120th of a second, meaning the time required from the start of refreshing the first line of the screen to the end is 1 / 120th of a second. For descriptions of other screen refresh rates (e.g., 60Hz, 30Hz, 10Hz, and 1Hz), please refer to [reference needed]. Figure 5AFor more details about the related content and the description of 120hz, please refer to the above.

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

[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). As shown in Figure 5B , taking 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 synchronized single screen refresh time is 1 / 120, and the interval between the start times of adjacent two screen refreshes is still equal to 1 / W. For example, when W = 60hz, the interval between the start times of adjacent two screen refreshes is still equal to 1 / 60. The single screen refresh time after entering the AOD mode is shortened by W / M compared with 1 / W before synchronization. For example, when W = 60hz, the synchronized single screen refresh time (1 / 120) is shortened by half compared with 1 / 60 before synchronization.

[0140] Here, as shown in Figure 5B , the interval between the start times of adjacent two screen refreshes is the interval between the time of the zth start screen refresh (e.g., refreshing the e frame) and the time of the z+1th start screen refresh (e.g., refreshing the e+1 frame).

[0141] The advantages of the single screen refresh mode 2 include: setting the single screen refresh time after entering the AOD mode to the same value can keep 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.

[0142] The advantages of the single screen refresh mode 1 include: more power saving than the single screen refresh mode 2. Referring to Figure 5B , in 1s, the number of pulses input to the screen by the terminal in the same time is the same after the single screen refresh time is synchronized with 1 / M (single screen refresh mode 2) compared with before the single screen refresh time is synchronized with 1 / M (single screen refresh mode 1), but a single pulse needs to make the screen pixels emit light in a shorter time (e.g., 1 / 120s is shorter than 1 / 60s), so the single pulse of the single screen refresh mode 2 is more “explosive” and needs to consume more power of the terminal.

[0143] Whether to select single screen refresh mode 1 or single screen refresh mode 2 in a single screen refresh can be determined according to requirements. Embodiments of the present application do not limit this.

[0144] Generally speaking, the scanning time of a single row of screen pixels is equal to the reciprocal of the screen refresh rate divided by the number of rows (referred to as row number) of the screen. However, after entering the AOD mode, the terminal can synchronize the scanning time of a single row of screen pixels under different screen refresh rates to a fixed value. For example, 1 / (M*row number) or 1 / (W1*row number). Wherein, M is the screen refresh rate of the terminal when displaying 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*row number), the interval of the start time of scanning adjacent two rows of screen pixels is equal to the time of single screen refresh divided by the row number.

[0146] Keeping the scanning time of each row of screen pixels consistent helps to improve display consistency and ensure that different rows of screen pixels are updated at the same time. This helps to reduce the non-uniformity of brightness and color of the screen, thereby reducing the occurrence of mura effect.

[0147] Here, taking the synchronization of the scanning time of a single row of screen pixels to 1 / (120*row number) s as an example. Wherein, 1 / (120*row number) s can be regarded as an exemplary scanning time of a single row of screen pixels when displaying the user interface at time 1.

[0148] As shown in Figure 6A , when the screen refresh rate is 120hz, the scanning time (the start scanning a row of screen pixels to the end scanning a row of screen pixels) of a single row of screen pixels is 1 / (120*row number) s. In the case of a 60hz screen refresh rate, the scanning time of a single row of screen pixels is synchronized to 1 / (120*row number) s as 120hz screen refresh rate. And in the case of 1 / 60hz time of completing single screen refresh of 60hz screen refresh, the interval of the start time of scanning adjacent two rows of screen pixels is equal to 1 / (60*row number) s.

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

[0150] It should be noted that, continuing to refer to Figure 6AIn the case that the scanning time of the single row of screen pixels is not synchronized and the screen refresh rate is 60hz, the scanning time of the single row of screen pixels should be 1 / (60*row number) s.

[0151] After entering the AOD mode, the terminal synchronizes the scanning time of the single row of screen pixels to 1 / (120*row number) s under the screen refresh rate other than 60hz. For example, referring back to Figure 6B In the case that the screen refresh rate is 30hz, the scanning time of the single row of screen pixels is synchronized to 1 / (120*row number) s under the screen refresh rate of 120hz. And in the case that the time for completing a single screen refresh under the screen refresh rate of 30hz is 1 / 30 s, the interval of the start time of scanning the adjacent two rows of screen pixels is equal to 1 / (30*row number) s.

[0152] It should be noted that referring back to Figure 6B In the case that the scanning time of the single row of screen pixels is not synchronized and the screen refresh rate is 30hz, the scanning time of the single row of screen pixels should be 1 / (30*row number) s.

[0153] Under other screen refresh rates, the scanning time of the single row of screen pixels is synchronized to 1 / (120*row number) s. The related content of the terminal scanning the single row of screen pixels under other screen refresh rates can refer to the description of the foregoing related content, which will not be described one by one here.

[0154] The foregoing 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 when switching from the AOD mode to the standard display mode, a smooth transition is also needed. Referring back to 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 the terminal can be unlocked, display the user interface (indicating that the terminal enters the standard display mode).

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

[0156] Wherein, when the terminal adopts fingerprint unlocking, determining that the terminal can be unlocked includes: collecting the fingerprint, and determining that the fingerprint is consistent with the pre-stored fingerprint.

[0157] When using fingerprint unlocking, 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 light spots) when unlocking.

[0158] It should be noted here that... Figure 4 The initial screen refresh rate (screen refresh rate 1) of 60Hz in the full-screen AOD mode is a reasonable screen refresh rate based on practical experience. Besides 60Hz, screen refresh rate 1 can actually be other values. For example, to achieve a smoother transition effect, 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, 120Hz will be used as an example.

[0159] refer to Figure 8 In the initial phase of full-screen AOD mode, the screen refresh rate remains at 120Hz. After the initial phase, the terminal controls the screen refresh rate to gradually decrease from 120Hz to 1Hz. For example, it first decreases from 120Hz to 60Hz, then from 60Hz to 30Hz, from 30Hz to 10Hz, and then from 10Hz to 1Hz. Furthermore, when the screen refresh rate decreases below 30Hz, the dynamic screen refresh rate is controlled at 30Hz. Figure 8 For other operations after the terminal enters full-screen AOD mode, please refer to the above. Figure 4 The description will not be repeated here.

[0160] It should also be noted that, Figure 4 The execution order of the power consumption reduction methods involved is optional, and other execution orders are possible in practical applications. For example, the timing for the PWM dimming frequency to gradually decrease from dimming frequency 1 to dimming frequency 2 can occur after entering full-screen AOD and before the screen brightness decreases to brightness 2. That is, maintaining the PWM dimming frequency at dimming frequency 1 during the process of gradually decreasing brightness from 1 to 3 is optional.

[0161] In another embodiment, the aforementioned control of gradually decreasing the screen brightness from a higher brightness 1 to a lower brightness 2 when displaying an always-on display (AOD) is optional. In this additional embodiment, the terminal does not immediately reduce the screen brightness to a lower brightness (e.g., the aforementioned brightness L1 or brightness 2) after switching to full-screen AOD. Instead, it activates at least one higher brightness as a transition brightness when switching to full-screen AOD before reducing the screen brightness to a lower level. This mitigates the user's abrupt visual change. Here, "higher" does not mean brighter, but rather brighter relative to the lower brightness L1.

[0162] In the additional embodiment, the terminal detects the 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 of the screen at time a after switching to the full-screen AOD mode to be brightness a, and the screen brightness at time b to be brightness b which is less than brightness a. Time b is after time a.

[0163] In the case that the screen brightness decreases to brightness b only includes brightness a after switching to the full-screen AOD mode, brightness a is equal to the screen brightness of the screen when displaying the user interface 1, or can be equal to the aforementioned brightness 1. Brightness b is equal to the aforementioned brightness L1, or can be equal to the aforementioned brightness 2.

[0164] In the case that the screen brightness decreases to brightness b only includes brightness a after switching to the full-screen AOD mode, brightness a is equal to the screen brightness of the screen when displaying the user interface 1, or can be equal to the aforementioned brightness 1. Brightness b is equal to the aforementioned brightness L1, or can be equal to the aforementioned brightness 2.

[0165] In the case that the screen brightness decreases to brightness b only includes brightness a after switching to the full-screen AOD mode, brightness a is equal to the screen brightness of the screen when displaying the user interface 1, or can be equal to the aforementioned brightness 1. Brightness b is equal to the aforementioned brightness L1, or can be equal to the aforementioned brightness 2.

[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. In this case, in the case that brightness a, the M brightnesses and brightness b are sorted in descending order of brightness, the brightness difference between the i-th brightness and the i-1-th brightness in the M+2 brightnesses is equal to the brightness difference between the i-th brightness and the i+1-th brightness, where i is an integer from 2 to M+1.

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

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

[0169] Based on the foregoing, it can be concluded that when brightness 'a' is less than the screen brightness when displaying user interface 1, time 'a' does not include the time spent displaying the first frame of the always-on display. Alternatively, when brightness 'a' is equal to the screen brightness when displaying user interface 1, time 'a' includes the time spent displaying the first frame of the always-on display.

[0170] In this additional embodiment, the terminal remains on until the screen-off interface is displayed after the terminal displays user interface 1.

[0171] Figure 9 An exemplary system framework diagram is shown, illustrating the process of switching from a standard display mode to a full-screen AOD mode via a display method.

[0172] refer to Figure 9 As shown, the layered architecture divides the system into several layers, each with a clear role and function. Layers communicate with each other through interfaces. In some embodiments, the system framework is divided into five layers, from top to bottom: the application layer, the application framework layer, the hardware abstraction layer, the kernel layer, and the hardware layer.

[0173] The application layer can include a series of application packages (APKs).

[0174] like Figure 9 As shown, the application layer may include a screen-off APK. This screen-off APK integrates AOD (Always-On Display) functionality and services, and can be used to detect screen-off operations to implement the aforementioned full-screen AOD mode. For example, the screen-off interface displayed on the terminal screen can be provided based on this screen-off APK.

[0175] The application framework layer includes services that can be called by the screen-off APK in response to screen-off operations.

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

[0177] Among them, reference Figure 9 At point (1), the hardware always-on display brightness service can be used to receive the command to enter full-screen AOD mode from the always-on display APK. Specifically, at time 1, the always-on display APK detects a screen-off operation while displaying user interface 1. In response to this screen-off operation, it sends a command to the hardware always-on display brightness service to enter full-screen AOD mode. (Continue to refer to...) Figure 9 At point (2), the instruction to enter full-screen AOD mode is used by the always-on display brightness service to register the ambient light sensor through the sensor service. This is so that after registration, the ambient light sensor can determine the ambient light data (see reference). Figure 9The ambient light data includes the ambient light brightness at time 1 (the aforementioned ambient light brightness 1 involved).

[0178] The hardware screen-off display brightness service is further configured to, after determining the ambient light brightness at time 1, trigger the execution of the content shown in (4a) to trigger the execution of the content shown in (4b). Figure 9 The hardware screen-off display brightness service is further configured to, after determining the ambient light brightness at time 1, trigger the execution of the content shown in (4a) to trigger the execution of the content shown in (4b). Figure 9 The hardware screen-off display brightness service is further configured to, after determining the ambient light brightness at time 1, trigger the execution of the content shown in (4a) to trigger the execution of the content shown in (4b).

[0179] Referring to (4a), the hardware screen-off display brightness service determines the display brightness at the initial stage in 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 at the initial stage. The display brightness at the initial stage and the alpha value involved below are used to control the screen brightness of the screen at the initial stage. For example, in the case where the display brightness does not change, the alpha value decreases, and the screen brightness of the screen decreases. Figure 9 Referring to (4a), the hardware screen-off display brightness service determines the display brightness at the initial stage in 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 at the initial stage. The display brightness at the initial stage and the alpha value involved below are used to control the screen brightness of the screen at the initial stage. For example, in the case where the display brightness does not change, the alpha value decreases, and the screen brightness of the screen decreases.

[0180] Figure 9 Referring to (4b), the hardware screen-off display brightness service notifies the screen-off APK to send the screen-off interface element information to the compositor hardware abstraction 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 at the initial stage.

[0181] After receiving the screen-off interface element information and the alpha value acting on the wallpaper, the compositor hardware abstraction 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 wallpaper transparency of the first frame of the screen-off interface can not be reduced.

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

[0183] The display driver chip refreshes the screen by adjusting the light frequency, screen refresh rate, and gamma curve corresponding to the display brightness to display the screen-off interface. The light frequency and screen refresh rate during PWM dimming at the initial stage can refer to the description of the foregoing related content, which will not be described 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. The related content of the gamma curve and the detailed process of the display driver chip when refreshing the screen at the initial stage can refer to the description of steps S105 and S106b below, which will not be described here.

[0184] ​It should be noted that the synthesizer hardware abstraction module sends a frame of the screen-off interface to the display driver chip after synthesizing a frame of the screen-off interface based on the alpha value. After sending a frame of the screen-off interface, a frame of the screen-off interface is synthesized based on the next alpha value, and then is sent to the display driver chip for display. In this way, the gradual decrease of the screen brightness is achieved.

[0185] In a case where step (4b) is executed for a preset time (for example, 200 ms), the screen-off APK sends a PWM dimming frequency down command to the power management service, as shown in (5). Figure 9 The display driver chip receives the PWM dimming frequency down command, and performs the PWM dimming frequency down operation, including gradually decreasing the frequency of PWM dimming of the screen from dimming frequency 1 to dimming frequency 2 (for example, from 4320 to 360). Details of the process can be referred to the description of step S106b below, which is not described here.

[0186] After steps (4b) and (5) are completed, the operation of the initial stage of the full-screen AOD mode is completed, and the process flow after the initial stage is entered. As shown in (6) of Figure 9 The display driver chip receives the PWM dimming frequency down command, and performs the PWM dimming frequency down operation, including gradually decreasing the frequency of PWM dimming of the screen from dimming frequency 1 to dimming frequency 2 (for example, from 4320 to 360). Details of the process can be referred to the description of step S106b below, which is not described here.

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

[0188] It should be noted that the system framework diagram shown in Figure 9 The system framework diagram shown in Figure 9 The system framework diagram shown in

[0189] Based on the system framework shown in Figure 9 The terminal can also switch from the full-screen AOD mode to the standard display mode (not shown in Figure 9The process involves the screen, the screen-off APK, the hardware screen-off display brightness service, the compositor hardware abstraction module and the display driver chip involved in the foregoing

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

[0191] The process involves the screen, the screen-off APK, the hardware screen-off display brightness service, the compositor hardware abstraction module and the display driver chip involved in the foregoing Figure 9 The process is described with reference to the following steps S101-S108.

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

[0193] At time 1, the terminal detects a screen-off operation while displaying the user interface 1. The screen-off operation can be the power key pressing operation shown in (1) of the foregoing Figure 2

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

[0195] The hardware screen-off display brightness service acquires ambient light data including the ambient light brightness at time 1 by the ambient light sensor after receiving the instruction to enter the full-screen AOD mode.

[0196] S103a. The hardware screen-off 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 represents the brightness level that the screen can reach when displaying the screen-off interface 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 affected by the transparency (a) of the wallpaper. With the display brightness in the initial stage remaining 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 is, the higher the display brightness in the initial stage is. However, in order to save power consumption, when the ambient light brightness at time 1 is higher than a certain value, the display brightness in the initial stage can be controlled to be equal to a larger display brightness (for example, 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 (the aforementioned brightness 1) when the first frame of the screen-off image is displayed will be, while being equal to the screen brightness at time 1.

[0201] In step S104a, the screen-off APK sends screen-off interface element information to the compositor hardware abstraction module at time 1, including at least the alpha value acting on the wallpaper, or also including clock card information and the like. The compositor hardware abstraction module lowers the wallpaper brightness through the alpha value, and then composes the screen-off interface.

[0202] The screen-off interface element information here includes the wallpaper, and information of the upper layer of the wallpaper (for example, clock card, message notification card and the like). 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 alpha value here can be a set of parameters recorded in the screen-off APK, for example, gradually decreasing from 0 to 0.52. Alternatively, see step S103b (optional), the alpha 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 alpha value based on the display brightness in the initial stage. For example, the higher the display brightness in the initial stage, the faster the downward trend of the alpha value.

[0204] The compositor hardware abstraction module sends the screen-off interface to the display driver chip N times, and the alpha values used in the composition of the N times of sending the screen-off interface are different, including: the alpha values used in the composition of the N times of sending the screen-off interface gradually increase, so that the brightness of the composed screen-off interface gradually decreases, and further so that the screen brightness when the screen displays the screen-off interface gradually decreases.

[0205] It should be noted that in step S104a, the alpha value acting on the wallpaper layer is taken as an example for description, and when the screen brightness gradually decreases, the transparency of the upper layer of the wallpaper does not change, and the brightness of the upper layer of the wallpaper does not change. The upper layer of the wallpaper includes other screen interface elements in addition to the wallpaper, such as clock cards, message notification cards and the like.

[0206] In other possible cases, the alpha value can be made to act on all layers in the screen-off interface in step S104a. The transparency of all contents in the entire screen-off interface is controlled to decrease. The purpose of gradually decreasing the display brightness of the screen can also be achieved.

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

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

[0209] In the manner of gradually reducing the screen brightness by the alpha value, the display brightness in the initial stage can be the same display brightness.

[0210] However, the aforementioned manner of gradually reducing the screen brightness by the alpha value is optional, and the screen brightness can also be gradually reduced without the alpha value. Instead, the screen brightness is gradually reduced by the display brightness, and the alpha 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 driving chip refreshes the screen to display the screen-off interface by the screen refresh rate 1 and the gamma curve corresponding to the display brightness, and gradually reduces the screen brightness to the first level based on the alpha value 1. In the case of PWM dimming during screen refreshing, the PWM frequency is equal to the dimming frequency 1.

[0212] Here, an example of step S105 can be the content of the first 200 ms in the initial stage shown in the foregoing Figure 4 , which includes gradually reducing the screen brightness while keeping the screen refresh rate and the frequency of PWM dimming unchanged. Gradually reducing the screen brightness to the first level based on the alpha value 1 includes gradually reducing the screen brightness from the aforementioned brightness 1 to brightness 3 based on the alpha value 1. The alpha value 1 is the first part of the alpha value. For a description of this process, please refer to the description of the related content in the foregoing Figure 4 .

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

[0214] Vdata = (Vdata + 1) * (Vdata + 1) / 2, wherein, Vdata is the luminance performance parameter of the gray scale value of the image pixel in the screen pixel. One screen pixel includes 3 sub-pixel units, and one sub-pixel unit has a Vdata, which is used to convert the gray scale values of the three channels of the image pixel into luminance, so as to represent the luminance and color of the image based on the screen pixel. For related content of Vdata and sub-pixel unit, please refer to the description in step S107b, 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 displaying the screen-off interface A can reach the display brightness 1.

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

[0217] The dimming frequency 1 is the dimming frequency (for example, 4320hz) of the terminal in the standard display mode. For related description of the dimming frequency 1, please refer to the foregoing related content, which will not be repeated here.

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

[0219] It should be noted that after detecting the screen-off operation, before step S105 is executed, the display driving chip does not receive the parameters (such as screen refresh rate) for refreshing the screen in the full-screen AOD mode, at this time, the screen-off interface is not displayed in the screen, 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 user interface displayed in the standard display mode. The dimming frequency of the terminal when performing PWM dimming at time 1 is the dimming frequency 1 involved in the foregoing.

[0220] S106a. After time 1 plus a preset time, the screen-off APK issues a PWM dimming frequency down command to the display driving chip.

[0221] An example of the preset time can be 200ms involved in the foregoing Figure 4 .

[0222] The PWM dimming frequency down command is used to trigger the display driving chip to gradually reduce the dimming frequency after the preset time when performing PWM dimming in the initial stage, so as to save power consumption.

[0223] S106b. The display driving chip refreshes the screen through the gamma curve corresponding to the screen refresh rate 1 and the display brightness, and controls the screen brightness to gradually decrease from the first level to the second level based on the alpha value 2, and when the screen is PWM dimmed, the PWM frequency is gradually decreased from the dimming frequency 1 to the dimming frequency 2.

[0224] The dimming frequency 1 is the dimming frequency when the terminal is PWM dimmed at time 1. For details about the dimming frequency 1, please refer to the foregoing description of the dimming frequency 1, which will not be repeated here.

[0225] Here, an example of step S106b can be the content from 200 ms to 400 ms in the initial stage shown in the foregoing Figure 4 The dimming frequency 1 is the dimming frequency when the terminal is PWM dimmed at time 1. For details about the dimming frequency 1, please refer to the foregoing description of the dimming frequency 1, which will not be repeated here. Figure 4

[0226] S107a. After step S105 and step S106b are completed, the screen-off APK issues a screen refresh rate down command to the display driving chip.

[0227] The screen refresh rate down command is used to trigger the display driving chip to gradually decrease the screen refresh rate after the initial stage, so as to save power consumption.

[0228] S107b. The display driving 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 the screen refresh rate 1 to the screen refresh rate 2, and when the screen is refreshed, the PWM frequency is equal to the dimming frequency 1.

[0229] Here, an example of step S106b can be the content from 200 ms to 400 ms in the initial stage shown in the foregoing Figure 4 The dimming frequency 1 is the dimming frequency when the terminal is PWM dimmed at time 1. For details about the dimming frequency 1, please refer to the foregoing description of the dimming frequency 1, which will not be repeated here.

[0230] It should be noted that when step S107b is executed, 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 the full-screen AOD mode, after the initial stage, the wallpaper uses the last alpha value used in the initial stage to lower the brightness of the wallpaper.

[0232] It should be noted that the foregoing Figure 4 In the foregoing content, the influence of the ambient light brightness on the screen brightness is not reflected after the screen brightness is lowered to brightness 2 (after the initial stage). In some 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 referred to as ambient light brightness 2). If the ambient light brightness 2 is higher than the ambient light brightness when the screen brightness is lowered to brightness 2, the screen brightness can be greater than brightness 2. If the ambient light brightness 2 is lower than the ambient light brightness when the screen brightness is lowered to brightness 2, the screen brightness can be less than brightness 2. For details, refer to the foregoing description of the foregoing Figure 6A 、 Figure 6B In step S107b, the display driving chip can control the scanning time of the single row of screen pixels at different screen refresh rates to be synchronized to 1 / (Mxnumber of rows) or 1 / (W1xnumber of rows). M is the screen refresh rate of the terminal when displaying the user interface at time 1. W1 is the screen refresh rate (screen refresh rate 1) of the terminal when displaying the first frame of the screen-off interface, that is, the screen refresh rate of the terminal when performing step S105 and step S106b.

[0233] First, the basic structure and light emitting principle of a screen pixel are introduced. Then, how the display driving chip synchronizes the scanning time of a single row of screen pixels is described in combination with the basic structure.

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

[0235] As shown in (1) of FIG. 11, Figure 12 As shown in (1) of FIG. 11,

[0236] The sub-pixel unit comprises transistors T1-T7 and a light emitting component OLED. The transistor T1 is a reset transistor, the transistors T7 and T8 are reset and compensation transistors. The transistors T2, T3 and T4 are driving transistors. The transistors T5 and T6 are light emitting control transistors. The control end 1 (for example, the drain) of the transistor T4 is electrically connected to a Vdata output end of a display driving chip, so as to receive Vdata output by the display driving chip. The Vdata is determined by the aforementioned gray scale value and gamma curve. The greater the Vdata is, the brighter the OLED is after being turned on. The aforementioned reduction of the screen brightness is actually achieved by changing the Vdata.

[0237] The display driving chip controls the turning on or turning off of each transistor according to a certain timing sequence, so as to update the Vdata, so as to control the light emitting brightness of the sub-pixel unit in each frame of screen-off interface. As shown in FIG. 2, the sub-pixel unit emits light based on Vdata1 at the zth frame of time. Then, the display driving chip scans the sub-pixel unit within 1 / (frequency refresh rate x row number) s (the time from the beginning of scanning to the end of scanning), so as to update the Vdata1 to Vdata2. After the end of scanning, the sub-pixel unit is controlled to emit light based on Vdata2 at the (z+1)th frame of time. Figure 12

[0238] An exemplary process of updating the Vdata1 to the Vdata2 can be specifically referred to steps (1)-(7) shown in (2) of FIG. 3. Figure 12

[0239] ​​Step (1), the display driving chip inputs a high level signal to the control end (marked as EM end) of transistor T5 and transistor T6, controls the OLED of the sub-pixel unit not to emit light, and the duration of the high level signal is equal to 1 / (refresh rate x row number) s. Then, step (2) is performed, the display driving chip inputs a driving signal (marked as Gate_N / Gate_P signal) to the control end 2 (marked as Gate_P end) of transistor T4 and the control end (marked as Gate_N end) of transistor T2, controls the transistor T4, transistor T2 and transistor T3 to be in a conductive state. Then, step (3) is performed, the display driving chip inputs a reset signal Vinit2 to the control end (marked as Reset_H end) of transistor T7 and a reset signal Vinit3 to the control end (marked as Reset_H end) of transistor T8, controls the transistor T7 and transistor T8 to be in a conductive state, and is used for eliminating the influence of Vdata1 on the OLED; wherein the reset signal Vinit2 and the reset signal Vinit3 are the same, and are signals transmitted to the Reset_H end, and are marked as Reset_H signal. Then, step (4) is performed, the display driving chip inputs a reset signal Vinit1 (marked as Reset_P signal) to the control end (marked as Reset_P end) of transistor T1, controls the transistor T1 to be in a conductive state, and the reset signal Vinit1 is transmitted to the transistor T3, which is used for setting Vdata1 at the transistor T3 to an initialized Vdata. Then, step (5) is performed, the display driving chip inputs Vdata2 to the control end 1 (for example, the drain) of transistor TT4, and transmits it to the transistor T3 through the transistor T2. Finally, step (6) is performed, the display driving chip inputs a compensation signal Vinit2 to the control end (marked as Reset_H end) of transistor T7 and a compensation signal Vinit3 to the control end (marked as Reset_H end) of transistor T8, which is used for eliminating the TFT (thin film transistor) offset characteristics of the OLED (caused by the loss of Vdata2 to the transistor T3), and keeping Vdata2 at the transistor T3 the same as Vdata2 input by the display driving chip to the transistor T4; wherein the compensation signal Vinit2 and the compensation signal Vinit3 are the same, and are signals transmitted to the Reset_H end, and are marked as Reset_H signal.

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

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

[0242] It should also be noted that when a row on the screen includes R screen pixels, it involves updating the Vdata of R×3 OLEDs. Their update method is completed by the display driver chip within 1 / (refresh rate × number of rows) seconds. The above is just an example of updating the Vdata of one OLED.

[0243] This will be explained using the example of a display driver chip synchronizing the scanning time of a single row of screen pixels to 1 / (120 × number of rows) seconds. Figure 13 As shown, the h-th row of the screen includes R screen pixels. All pixels in the h-th row share a single 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 scanning the h-th row, the display driver chip scans the R screen pixels within 1 / (120×row number) s (the time from the start of scanning to the end of scanning). This scanning process is described above. Figure 12 The description in (2) extends the updated Vdata (Vdata2) input from the display driver chip to transistor T4 of one sub-pixel unit to the updated Vdata input to transistor T4 of R×3 sub-pixel units, while the input timing of other signals remains unchanged. The interval between the start times 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 h-th row, after an interval of approximately 1 / (W×number of screen rows)-1 / (120×number of rows) s, the display driver chip begins to refresh the R screen pixels of the h+1-th row. The scanning process can be referred to as the process of scanning the h-th row of screen pixels described above, except that h is replaced with h+1, which will not be repeated here.

[0244] Here, "screen lines" does not specifically refer to the number of rows of pixels on the screen from top to bottom. Rather, it refers to the number of scans during screen refresh. (See reference) Figure 6A as well as Figure 6B A single scan includes one start scan and one end scan.

[0245] In step S107b, in the case that the display driving chip controls the scanning time of the single row of screen pixels on the screen under different screen refresh rates to be 1 / (M x number of rows) or 1 / (W1 x number of rows), when the screen is refreshed in the aforementioned step S105 and step S106b, the display driving chip also controls the scanning time of the single row of screen pixels to be 1 / (M x number of rows) or 1 / (W1 x number of rows). The related content can be referred to the aforementioned description of Figure 12 and Figure 13 , which will not be repeated here.

[0246] S108. When the screen refresh rate is reduced to a certain extent, the display driving chip sets the dynamic screen refresh rate to be greater than or equal to the preset refresh rate.

[0247] Step S108 includes: after the screen refresh rate is reduced to a screen refresh rate 3 (less than or equal to the screen refresh rate 2, for example, 10hz, 1hz, etc.) that is less than the preset screen refresh rate a (for example, 30hz), the terminal controls the static screen refresh rate to be the screen refresh rate 3, and controls the dynamic screen refresh rate to be the preset screen refresh rate a. The static screen refresh rate includes the screen refresh rate when the screen displays content that does not change. The dynamic screen refresh rate includes the screen refresh rate when the screen displays content that changes.

[0248] Generally, in combination with the aforementioned description of Figure 4 , 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 the full-screen AOD mode, the screen refresh rate is continuously maintained in this state, and the screen brightness is maintained at a low level, and the PWM dimming frequency is maintained at a low level (for example, 360hz). In the later stage of the full-screen AOD mode, the power consumption consumed by the terminal is lower than that in the standard display mode. The reason can be referred to the description of Figure 14 .

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

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

[0251] It should be noted that the foregoing Figure 10 is described in the case where the first working mode of the screen of the terminal after entering the full-screen AOD is the PWM dimming mode. In actual cases, the first working mode of the screen of the terminal after entering the full-screen AOD can also be the DC mode. In such a case, the processing procedure of the terminal after entering the full-screen AOD mode can still refer to the foregoing Figure 10 , and the related content about the PWM dimming is removed. However, in the full-screen AOD mode, the working mode of the screen can be switched from the DC dimming mode to the PWM dimming mode, and after being switched to the PWM dimming mode, the frequency of the PWM dimming is set to the dimming frequency 2.

[0252] The timing of switching the DC dimming mode to the PWM dimming mode 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 be further noted that in addition to the foregoing power consumption reduction mode, the terminal also supports other power saving operations in the full-screen AOD mode. Referring to Figure 15 , the terminal supports responding to the instructions for controlling the screen display through the large core and the small core of the main processor in the standard display mode. In the full-screen display mode, when the screen refresh rate is high, the terminal supports responding to the instructions for controlling the screen display through the small core of the main processor or the coprocessor. When the screen refresh rate is low, the processor can be in a sleep mode and be woken up to process the instructions when the instructions for controlling the screen display need to be processed. The screen refresh rate is high includes that the screen refresh rate is greater than or equal to the screen refresh rate in the dynamic state. The screen refresh rate is low includes that the screen refresh rate is less than the screen refresh rate in the dynamic state.

[0254] Figure 16 is a structural schematic diagram of the terminal provided by an embodiment of the present application.

[0255] The embodiments will be described below with the terminal as an example. It should be understood that the terminal can have more or fewer components than those shown in Figure 16 , can combine two or more components, or can have a different component configuration. Figure 16The various components shown can 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, a headphone jack 170D, a sensor module 180, buttons 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, a barometric pressure sensor 180C, a magnetic sensor 180D, an accelerometer sensor 180E, a distance sensor 180F, a proximity 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 understood that the structures illustrated in the embodiments of this application do not constitute a specific limitation on the terminal. In other embodiments of this application, the terminal may include more or fewer components than illustrated, or combine some components, or split some components, or have different component arrangements. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.

[0258] Processor 110 may include one or more processing units, such as: application processor (AP), modem processor, graphics processing unit (GPU), image signal processor (ISP), controller, memory, video codec, digital signal processor (DSP), baseband processor, and / or neural network processing unit (NPU), etc. Different processing units may be independent devices or integrated into one or more processors. The application processor (AP) in processor 110 may include... Figure 15 The main processor in the system.

[0259] The main processor and the coprocessor shown in the foregoing Figure 15 The main processor and the coprocessor shown in the foregoing The terminal can respond to the instruction of controlling the screen display through the large core and the small core of the main processor in the standard display mode, so that the terminal can respond to the instruction more quickly. In the full-screen AOD mode, the user usually does not operate the terminal or operates the terminal at a low frequency, at which time the terminal can call the small core or the coprocessor to process the instruction to maintain normal response to the instruction.

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

[0261] It can be understood that the interface connection relationship between the modules shown in the embodiments of the present application is only illustrative and does not constitute a structural limitation of the terminal. In some other embodiments of the present application, the terminal can also use different interface connection methods or a combination of multiple interface connection methods in the above embodiments.

[0262] The terminal can implement the display function through the GPU, the display screen 194, and the application processor, and the like.

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

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

[0265] The terminal can be accessed via DDIC ( Figure 16 Display functions are achieved through displays such as (not shown in the image) and display screen 194.

[0266] The DDIC serves as the control core of the display screen 194, driving its operation and receiving data from the SOC (processor 110), such as image data and instructions. The DDIC can send drive signals and data to the display panel of the display screen 194 via electrical signals, thereby controlling screen brightness and color, enabling image information such as letters and pictures to be displayed on the screen, completing screen refresh, and allowing the display screen to refresh images according to the screen refresh rate.

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

[0268] The brightness adjustment method of OLED screens differs from that of LCD screens. OLED screen brightness is not adjusted by the screen backlight, but rather by controlling the brightness while simultaneously controlling the color of the screen pixels. Furthermore, when the screen brightness is below a preset brightness A (e.g., 75 nits), the OLED screen uses PWM dimming mode; when the screen brightness is above this preset brightness A, the OLED screen uses DC dimming mode. Typically, screen manufacturers 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 required to enter DC dimming.

[0269] Here, DC dimming mode changes screen brightness by increasing or decreasing circuit power. Changing either voltage or current can alter circuit power. PWM dimming mode does not rely on changing circuit power to change screen brightness; instead, it relies on the screen's alternating on and off states. That is, the screen is not continuously emitting light, but alternates between being on and off. When the screen brightness decreases to a certain level, the changes in brightness of the three primary color pixels can no longer be represented as color changes, and color changes cannot be controlled. Therefore, OLED screens do not use DC dimming mode at low brightness levels, but instead use PWM dimming mode. In this mode, the actual current or voltage on the pixels is relatively high, color expression is unaffected, and the perceived brightness value is changed by altering the PWM duty cycle. As mentioned above... Figure 15 As shown, within one cycle, the more low-level signals there are, the larger the duty cycle. The more high-level signals there are, the smaller the duty cycle. When the duty cycle is 0, the OLED is neither conductive nor emits light.

[0270] In some embodiments, the fingerprint sensor 180H can 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, also referred to as a "touch panel". The touch sensor 180K can be disposed on the display screen 194, and the touch sensor 180K and the display screen 194 together form a touch screen, also referred to as a "touch screen".

[0272] In some embodiments, the touch sensor 180K can be used to detect a 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 touch operation corresponds to a fingerprint unlocking event (an unlocking event). The touch sensor 180K can also provide visual output related to the touch operation through the display screen 194, such as displaying a fingerprint light spot after the user places a finger on the fingerprint recognition area in the display screen 194.

[0273] In other embodiments, the touch sensor 180K can also be disposed on the surface of the terminal, which is different from the position of the display screen 194.

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

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

[0276] 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 pass through the screen and illuminate the fingerprint sensor 180H below the screen. In order to more clearly illuminate the finger during fingerprint unlocking, the DDIC can control the display screen 194 to display a fingerprint light spot with a high gray scale value (such as a gray scale value of 255) in the fingerprint recognition area, which is beneficial for the fingerprint sensor 180H to collect a clear fingerprint. The SOC can compare the collected fingerprint with the input fingerprint, and if the collected fingerprint is consistent with the input fingerprint, it is confirmed that the unlocking is successful.

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

[0278] The present application also provides a chip system, which includes at least one processor for implementing the functions involved in the method performed by the terminal in any one of the above embodiments.

[0279] In a possible design, the chip system further includes a memory for storing program instructions and data, and the memory is located in or out of the processor.

[0280] The chip system can be composed of a chip or include a chip and other discrete devices.

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

[0282] Optionally, the memory in the chip system can also be one or more. The memory can be integrated with the processor or arranged separately from the processor, and the embodiments of the present application do not make any limitation.

[0283] For example, the memory can be a non-transient processor such as a read-only memory (ROM), which can be integrated with the processor on the same chip or arranged separately on different chips, and the embodiments of the present application do not make any limitation on the type of the memory and the arrangement of the memory and the processor.

[0284] For example, 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 micro controller unit (MCU), a programmable logic device (PLD) or other integrated chip.

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

[0286] The application further provides a computer readable storage medium storing a computer program (also referred to as code or instructions). When the computer program is executed, the computer is caused to perform the method performed by the terminal in any one of the above embodiments.

[0287] The above-described embodiments are only used to illustrate the technical solutions of the present application, but not limit the present application; although the present application is described in detail with reference to the foregoing embodiments, those skilled in the art should understand that: it can still modify the technical solutions recorded in the foregoing embodiments, or make equivalent replacement to part of the technical features; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the scope of the technical solutions of the embodiments of the present application.

[0288] In the above-described embodiments, according to the context, the term “when” can be interpreted as meaning “if” or “after” or “in response to determining” or “in response to detecting”. Similarly, according to the context, the phrase “upon determining” or “if detecting (the stated condition or event)” can be interpreted as meaning “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)”.

[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 limiting on the present application. As used in the specification and the appended claims of the present application, the singular forms “a,” “an,” and “the” are intended to include plural forms as well, unless the context clearly indicates otherwise. It should also be understood that the term “and / or” used in the present application means and includes any or all possible combinations of one or more listed items.

[0290] The terms “first” and “second” are only used for descriptive purposes, and cannot be understood as implying or suggesting relative importance or implicitly indicating the number of indicated technical features. Therefore, the features defined with “first” and “second” can explicitly or implicitly include one or more of the features, and in the description of the embodiments of the present application, unless otherwise specified, the meaning of “a plurality of” is two or more.

[0291] In the above embodiments, all or part of the embodiments can be implemented by software, hardware, firmware or any combination thereof. When implemented by software, all or part of the embodiments can be implemented 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, all or part of the processes or functions described in the embodiments of the present application are generated. The computer can be a general purpose computer, a special purpose computer, a computer network, or other programmable apparatus. 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 one website, computer, server or data center to another website, computer, server or data center through wired (such as coaxial cable, optical fiber, digital subscriber line) or wireless (such as infrared, wireless, microwave, etc.) manner. The computer readable storage medium can be any available medium that can be accessed by a computer or a data storage device such as a server, data center, etc. integrated with one or more available media. The available media can be a magnetic medium (for example, a floppy disk, a hard disk, a magnetic tape), an optical medium (for example, a DVD), or a semiconductor medium (for example, a solid state disk) and the like.

[0292] Those of ordinary skill in the art understand that all or part of the processes in the above embodiments can be implemented by a computer program to instruct the relevant hardware, which can be stored in a computer readable storage medium. When the program is executed, it can include the processes of the above method embodiments. The aforementioned storage medium includes ROM or random access memory (RAM), magnetic disk or optical disk, and various media that can store program codes.

Claims

1. A method for displaying a screen when it is off, characterized in that, The method includes: A screen-off operation was detected when the terminal was displaying the first user interface; The terminal displays an off-screen interface, and from the first time point to the second time point, the screen brightness is controlled to gradually decrease from the first brightness level to the second brightness level; the first time point is before the second time point, and the first brightness level is greater than the second brightness level; When the screen operates in pulse width modulation (PWM) dimming mode after displaying the always-on display interface... During the process of controlling the screen brightness to gradually decrease from the first brightness to the third brightness, the frequency at which the terminal controls the screen to perform PWM dimming is the first dimming frequency; the third brightness is greater than the second brightness; After the screen brightness drops to the third brightness and before it drops to the second brightness, the frequency at which the terminal controls the screen to perform PWM dimming gradually decreases from the first dimming frequency to the second dimming frequency; the first dimming frequency is equal to the frequency at which the screen performs PWM dimming when displaying the first user interface.

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

3. The method according to claim 1, characterized in that, When displaying the off-screen interface and the first user interface, the size of the on-screen area is the same.

4. The method according to claim 1, characterized in that, in, The gradual decrease from the first brightness to the second brightness indicates that there are M brightness levels between the first brightness and the second brightness, where the M brightness levels are less than the first brightness and greater 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 brightness values, and the second brightness are sorted from largest to smallest, the brightness difference between the i-th brightness and the (i-1)-th brightness value in the M+2 brightness values ​​is equal to the brightness difference between the i-th brightness and the (i+1)-th brightness value, where i takes values ​​from 2 to M+1.

6. The method according to any one of claims 1-5, characterized in that, The terminal remains on until the first user interface is displayed and the screen-off interface is displayed.

7. The method according to any one of claims 1-5, characterized in that, When displaying the first user interface, the terminal's scanning frequency and speed for touch operations are at a first level; when displaying the always-on display, the terminal's scanning frequency and speed for touch operations are at a second level, with the first level being higher than the second level.

8. The method according to any one of claims 1-5, characterized in that, If the first brightness is less than the screen brightness when the first user interface is displayed, the first time does not include the time when the first frame of the always-on display is displayed; or, if the first brightness is equal to the screen brightness when the first user interface is displayed, the first time includes the time when the first frame of the always-on display is displayed.

9. The method according to claim 4 or 5, characterized in that, in, The transition from the first dimming frequency to the second dimming frequency indicates that 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 decreases 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 any one of claims 1-5 and 10, characterized in that, The method further includes: After the screen-off interface is displayed and before the screen brightness drops to the second brightness, the terminal refreshes the screen using the first screen refresh rate.

12. The method according to claim 11, characterized in that, When the screen refresh rate of the terminal is greater than or equal to the first preset refresh rate when displaying the first user interface, 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.

13. The method according to claim 11, characterized in that, After the screen brightness decreases to the second brightness, the method further includes: The terminal controls the screen refresh rate to gradually decrease from the first screen refresh rate to the second screen refresh rate; the gradual decrease from the first screen refresh rate to the second screen refresh rate means that 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 to a third screen refresh rate when the displayed content does not change, and controls the screen refresh rate to be equal to a second preset refresh rate when the displayed content changes; the third screen refresh rate is less than the second preset refresh rate and belongs to the refresh rate that gradually decreases from the first screen refresh rate to the second screen refresh rate.

14. The method according to claim 11, characterized in that, The method further includes: When the always-on display is shown, the terminal responds to the user's touch on the fingerprint recognition area within the screen by increasing the screen brightness and screen refresh rate.

15. The method according to any one of claims 1-5 and 12-14, 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 displaying the first user interface; 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 displaying the first user interface, 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.

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

17. The method according to claim 16, characterized in that, The method further 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); M is the screen refresh rate when the terminal displays the user interface and M is greater than a third preset refresh rate; When the first screen-off interface is displayed, 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), where W is the screen refresh rate of the terminal when displaying the first screen-off image.

18. The method according to claim 17, characterized in that, The method further includes: When displaying the user interface, the terminal controls the screen refresh time 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 the first screen-off interface is displayed, 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; where W is the screen refresh rate of the terminal when displaying the first screen-off image.

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

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

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

22. 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 including computer instructions, and the one or more processors call the computer instructions to cause the terminal to perform the method as described in any one of claims 1 to 21.

23. A chip system, characterized in that, The chip system is applied to a terminal, and the chip system includes one or more processors, the processors being used to invoke computer instructions to cause the terminal to perform the method as described in any one of claims 1 to 21.

24. A computer-readable storage medium comprising instructions, characterized in that, When the instruction is executed on the terminal, the terminal causes the terminal to perform the method as described in any one of claims 1 to 21.

25. A computer program product containing instructions, characterized in that, When the computer program product is run on an electronic device, it causes the electronic device to perform the method as described in any one of claims 1 to 21.

Citation Information

Patent Citations

  • Display device and driving method thereof

    CN106847200A

  • Brightness control method for displaying mode switching on OLED panel

    CN111477169A

  • Display control method and device

    CN116343715A

  • Brightness adjustment method of display panel, storage medium and electronic equipment

    CN116798381A

  • Screen-off display method and electronic equipment

    CN117316084A