Always-on display method and terminal
By gradually reducing screen brightness and adjusting the PWM dimming frequency when the terminal switches from standard display mode to full-screen AOD mode, the visual discomfort caused by sudden changes in screen brightness is solved, achieving a smooth transition and power saving effect.
Patent Information
- Application Number
- PCT/CN2024/089566
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2024-04-24
- Publication Date
- 2026-02-19
AI Technical Summary
When a terminal switches from standard display mode to full-screen AOD mode, the sudden change in screen brightness causes visual discomfort to the user. Existing technologies use black screen processing to alleviate the visual abrupt change, but the effect is limited.
While keeping the screen on, the system switches to full-screen AOD mode by gradually reducing the screen brightness from high to low, and by gradually adjusting the PWM dimming frequency and refresh rate to avoid abrupt visual changes caused by direct brightness changes.
It achieves the goal of reducing visual abruptness during switching, saving power, while maintaining a smooth transition of screen display and user experience.
Smart Images

Figure CN2024089566_19022026_PF_FP_ABST
Abstract
Description
Screen-off display method and terminal 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 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, and 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 unread notification number, without displaying too many details. In order to display more abundant 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, and the information can cover the entire screen from top to bottom, such as wallpaper and time, notifications, etc. 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 main interface and receive a user operation of opening an application program through the main interface, or in addition to displaying the main interface, the terminal can also 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 is different in the standard display mode and the AOD display mode, and how to naturally switch from the standard display mode to the AOD mode and reduce the visual mutation brought to the user due to the different screen brightness is worth discussing.
[0005] SUMMARY
[0006] Embodiments of the present application provide a screen-off display method and terminal to provide a reasonable way of switching from the standard display mode to the full-screen AOD mode.
[0007] 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.
[0008] 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.
[0009] 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.
[0010] 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.
[0011] 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.
[0012] 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.
[0013] 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.
[0014] With reference to the first aspect, in some embodiments, the terminal keeps a screen-on state from displaying the first user interface to displaying the screen-off interface.
[0015] The above embodiments represent that there is no black screen processing inserted as shown in FIG. 1 when switching from the standard display mode to the full-screen AOD mode. Avoiding 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 from high brightness to dark and then 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.
[0016] With reference to the first aspect, in some embodiments, when the first brightness is less than the screen brightness of the screen when displaying the first user interface, the first time does not include the time when the first frame of the screen-off interface is displayed; or when the first brightness is equal to the screen brightness of the screen when displaying the first user interface, the first time includes the time when the first frame of the screen-off interface is displayed.
[0017] 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 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 a brightness between brightness 1 and brightness 2 involved in the following embodiments.
[0018] With reference to the first aspect, in some embodiments, the method further includes: when the working mode of the screen after displaying the screen-off interface is a pulse width modulation (PWM) dimming mode, gradually decreasing 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 decreasing 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.
[0019] In the above embodiments, the first dimming frequency can be dimming frequency 1 involved in the following embodiments, and the second dimming frequency can be dimming frequency 2 involved in the following embodiments.
[0020] 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.
[0021] 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.
[0022] 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).
[0023] 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.
[0024] In the above embodiments, the third brightness can be brightness 3 involved in the following embodiments.
[0025] Here, the reason for not reducing the dimming frequency 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 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.
[0026] 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.
[0027] In the above embodiments, the first screen refresh rate can be screen refresh rate 1 involved in the following embodiments.
[0028] 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.
[0029] 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.
[0030] 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.
[0031] Here, the screen refresh rate when displaying the first user interface 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 decrease when switching from the standard brightness mode to the full-screen AOD mode, the same screen refresh rate can be maintained, so that users who are sensitive to vision (a very small part of users) will not be aware of the display changes caused by the change of the screen refresh rate.
[0032] 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 decrease in brightness, 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 the display changes caused by the change of the screen refresh rate, because the user's attention is mainly focused on the gradual decrease in brightness.
[0033] With reference to the first aspect, in some embodiments, after the screen brightness decreases to the second brightness, the method further comprises: the terminal gradually decreasing the screen refresh rate of the screen from the first screen refresh rate to a second screen refresh rate; gradually decreasing the screen refresh rate 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 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 decreasing from the first screen refresh rate to the second screen refresh rate.
[0034] 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.
[0035] Here, the screen refresh rate is gradually reduced to prevent the screen-off 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.
[0036] In combination with the first aspect, in some embodiments, the method further includes: when displaying the screen-off 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.
[0037] 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.
[0038] 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 displaying the first user interface; 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 displaying the first user interface, and the second difference is greater than the first difference; and the first ambient light brightness is equal to the ambient light brightness when displaying the first user interface.
[0039] 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.
[0040] 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 the relatively dark level, so the first difference is in 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, and 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.
[0041] 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.
[0042] In the above embodiments, the second ambient light brightness can be the ambient light brightness 2 involved in the following embodiments.
[0043] 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.
[0044] 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 / (Mx 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 / (Mx screen row number); and the interval between the start times of scanning adjacent two rows of screen pixels is equal to 1 / (Wx screen row number), and the W is the screen refresh rate of the terminal when displaying the first screen-off image.
[0045] 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.
[0046] 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.
[0047] 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.
[0048] 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.
[0049] In the above embodiments, the content displayed in the screen-off interface includes the wallpaper and the layer (e.g., clock card, 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., clock card, 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.
[0050] 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.
[0051] 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.
[0052] 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.
[0053] 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.
[0054] 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.
[0055] 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 referred to as a Modem or a baseband chip).
[0056] 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.
[0057] 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 herein again. BRIEF DESCRIPTION OF DRAWINGS
[0058] FIG. 1 shows a scene schematic diagram of transitioning into an AOD mode by using a black screen processing in a scheme;
[0059] FIG. 2 shows a scene schematic diagram of transitioning into a full-screen AOD mode by using a gradual decrease in brightness in another scheme;
[0060] FIG. 3 shows a schematic diagram of PWM dimming performed by a terminal;
[0061] FIG. 4 shows a schematic diagram of an execution sequence of a reasonable power consumption reduction mode;
[0062] FIG. 5A shows a schematic diagram involved in a single screen refresh;
[0063] FIG. 5B shows another schematic diagram involved in a single screen refresh;
[0064] FIG. 6A shows a schematic diagram involved in refreshing a row of screen pixels;
[0065] FIG. 6B shows another schematic diagram involved in refreshing a row of screen pixels;
[0066] FIG. 7 shows a schematic diagram of a scenario of exiting the full-screen AOD mode with a gradually rising luminance transition;
[0067] FIG. 8 shows a schematic diagram of a sequence of another reasonable power consumption reduction mode;
[0068] FIG. 9 shows an exemplary system framework diagram involved in switching from the standard display mode to the full-screen AOD mode by a display method;
[0069] FIG. 10 shows an exemplary module interaction diagram involved in switching from the standard display mode to the full-screen AOD mode by a display method;
[0070] FIG. 11 shows an exemplary gamma curve diagram;
[0071] FIG. 12 shows a basic structure of a screen pixel and a light emitting principle;
[0072] FIG. 13 shows a schematic diagram of synchronizing the scanning time of a single row of screen pixels based on the basic structure of a display driving chip;
[0073] FIG. 14 shows a schematic diagram of screen refreshing and PWM dimming in the standard display mode and the full-screen AOD mode;
[0074] FIG. 15 shows a schematic diagram of the working state of a processor in the standard display mode and the full-screen AOD mode;
[0075] FIG. 16 is a schematic diagram of the structure of a terminal according to an embodiment of the present application. DETAILED DESCRIPTION
[0076] In order to save power, in the AOD mode, the screen luminance (luminance L1) of the terminal needs to be at a relatively dark level. It is usually lower than the screen luminance (luminance L2) in the standard display mode. Therefore, when switching from the standard display mode to the AOD mode directly, the screen luminance suddenly changes from the relatively high luminance L2 to the relatively low luminance L1, resulting in screen flicker. Screen flicker can give users a feeling of visual mutation, causing eye discomfort.
[0077] In one solution, in order to reduce the visual mutation of users, 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 mutation of users.
[0078] As shown in (1) of FIG. 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. In response to the operation of pressing the power key, the terminal first enters the black screen state (as shown in (2) of FIG. 1). Then, the terminal switches to the AOD mode (as shown in (3) of FIG. 1).
[0079] 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.
[0080] 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.
[0081] The above-mentioned way of inserting the black screen state actually converts the visual mutation caused by directly switching from the standard display mode to the AOD mode into two visual changes that are more acceptable to users. The first visual change is from the standard display mode to the black screen state. The second visual change is from the black screen state to the AOD mode. The two visual changes are gradual, which alleviates the visual mutation caused by directly switching from the standard display mode to the AOD mode.
[0082] Compared to switching from the standard display mode to the global AOD mode, the effect of alleviating the visual mutation by using the above-mentioned way of inserting the black screen state 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 switches 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 changes little from the black screen state to the local AOD mode, and the visual change of the user is small. However, when the black screen state switches 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 from the black screen state to the global AOD mode.
[0083] In summary, when the black screen processing is used as a transition when switching from the standard display mode to the global AOD mode, there is still a visual change from high brightness to dark, and then from dark to low brightness. The first visual change from high brightness to dark is caused by switching from the standard display mode to the black screen state, and the second visual change from dark to low brightness is caused by switching from the black screen state to the AOD mode.
[0084] 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 the screen brightness is higher than that in the global AOD mode.
[0085] To further reduce the visual mutation feeling when switching from the standard display mode to the full-screen AOD mode, an off-screen display method is proposed. In the method, as shown in (1) of FIG. 2 and (2) of FIG. 2, 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 keeping the screen on.
[0086] Referring to (2) of FIG. 2 and (3) of FIG. 2, 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 displaying the first frame of the off-screen interface after the switching is completed. The brightness 2 can be regarded as the aforementioned brightness L1, which is at a darker brightness level. The first frame of the off-screen interface does not specifically refer to the first frame of the off-screen interface, but refers to the first frame or the first few frames of the off-screen interface displayed after entering the AOD mode.
[0087] Here, the higher does not mean that the screen brightness when displaying the first frame of the off-screen interface is high, but means that the brightness 1 (the brightness when displaying the first frame of the off-screen interface) is relatively bright compared to the brightness 2, which can be equal to the screen brightness when displaying the last frame of the user interface 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 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.
[0088] It should be noted that the two values involved in the embodiments of the present application not only include two values that are the same, but also include two values that are close. Close means that the difference between the two values is within a small range and is not easily perceived by the user. For example, the brightness 1 (the brightness when displaying the first frame of the off-screen interface) being equal to the screen brightness when displaying the last frame of the user interface in the standard display mode means that the brightness 1 is the same as the screen brightness when displaying the last frame of the user interface in the standard display mode, or the difference between the brightness 1 and the screen brightness when displaying the last frame of the user interface in the standard display mode is small and not easily perceived by the user.
[0089] It should be noted that the last frame of the user interface and the first frame of the off-screen interface are continuous in display time.
[0090] It is also necessary to note that during the process of gradually reducing the screen brightness of the terminal (from brightness 1 to brightness 2), 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.), so as to meet the requirement of smooth brightness reduction.
[0091] It is also necessary to note 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. The aforementioned process of reducing the screen brightness to a darker brightness 2 after entering the full-screen AOD mode is a power consumption reduction scheme. In addition to reducing the screen brightness to a darker level, the power consumption reduction methods include but are not limited to one or more of the following methods.
[0092] Power consumption reduction method 1: after entering the full-screen AOD mode, the terminal switches the screen response mode to the idle mode from the active mode in the standard display mode, and saves power by reducing the scanning frequency of touch events.
[0093] In the active mode, the scanning frequency and speed of the terminal for 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.
[0094] 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, usually supporting single-touch and not supporting multi-touch operation.
[0095] In the full-screen AOD mode, although it enters the idle mode, in order to balance power saving and response speed, the terminal can support touch wake-up of the screen. After detecting a touch operation in the idle mode, the terminal can switch to the active mode, but if no touch operation is detected within a certain period of time (such as 3s) after switching to the active mode, the terminal can control the screen to re-enter the idle mode.
[0096] Power consumption reduction method 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 during the brightness reduction process) to the screen refresh rate 2. The screen refresh rate 2 is a lower level of screen refresh rate, which can be 1hz, 2hz, etc.
[0097] And, when the screen refresh rate drops to a screen refresh rate 3 less than the preset screen refresh rate a, the screen refresh rate is screen refresh rate 3 in the static state, and the screen refresh rate is 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 content that does not change. The screen refresh rate in the dynamic state includes the screen refresh rate when the screen displays content that changes.
[0098] The content changes include that the jth frame of the screen to be displayed has content changes compared with the (j-1)th frame of the screen that has been displayed. For example, the clock changes, the jth frame of the screen adds or reduces a notification message compared with the (j-1)th frame of the screen, and the like. The (j-1)th frame of the screen is the previous frame of the jth frame of the screen.
[0099] The content does not change includes that the jth frame of the screen to be displayed has no content changes compared with the (j-1)th frame of the screen that has been displayed.
[0100] The 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 frequency of the PWM dimming 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 dimming frequency, for example, 4320hz. The dimming frequency 3 is a lower dimming frequency, for example, 360hz.
[0101] When the first working mode of the screen after entering the full-screen AOD mode is the direct current (DC) dimming mode, after the terminal switches the working mode of the screen from the DC dimming mode to the PWM dimming mode in the full-screen AOD mode, the terminal sets the frequency of the PWM dimming to the dimming frequency 2.
[0102] The first working mode of the screen after entering the full-screen AOD mode is the PWM dimming mode or the AOD dimming mode, which can be determined according to one of the following dimming mode determination methods.
[0103] The light adjustment mode determination method 1 is to determine the display brightness of the screen 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 light adjustment 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 light adjustment mode. The ambient light brightness here refers to the ambient light brightness detected when the standard display mode is in the screen-off operation. Generally speaking, the ambient light brightness will 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 one or several frames of user interface are displayed in the standard display mode, and also the ambient light brightness when the first one or several frames of screen-off interface are displayed.
[0104] The working mode of the screen will be introduced below.
[0105] The screen working in the DC light adjustment 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 light adjustment mode can maintain continuous brightness output and will not be turned off.
[0106] The screen working in the PWM light adjustment mode means that the terminal adjusts the display brightness of the screen by alternating the screen on and off. Compared with the DC light adjustment mode, the PWM light adjustment mode screen is not continuously lit.
[0107] The light adjustment frequency in the PWM light adjustment mode refers to the number of times of PWM light adjustment that the terminal can perform within 1 second. For example, 360hz light adjustment frequency means 360 times of PWM light adjustment within 1s. Generally speaking, the interval between the start times of adjacent two PWM light adjustments is equal to 1 / 360s. One PWM light adjustment includes a short screen-off and then screen-on, and the screen-off time is very short and not noticeable to the user.
[0108] The time for completing one PWM light adjustment is very short, and usually multiple PWM light adjustments can be completed when refreshing one frame of image to realize the adjustment of the display brightness. The time for refreshing one frame of image is denoted as T1, and the interval between the start times of adjacent two PWM light adjustments is denoted as T2, then T1 / T2 times of PWM light adjustment are performed when refreshing one frame of image.
[0109] For example, with reference to FIG. 3, taking the screen refresh rate as 120hz and the PWM dimming frequency as 360hz as an example. The time for a single screen refresh is equal to 1 / 120s, and the interval between the start times of two adjacent PWM dimming is 1 / 360s. Therefore, when refreshing the screen, 3 times of PWM dimming (360 / 120) will be evenly performed. The screen refresh is completed by line-by-line scanning. When displaying the hth frame of the screen-off interface, the terminal refreshes the first 1 / 3 rows of screen pixels in the screen for about 1 / 360s, and then performs PWM dimming processing (briefly turns off the entire screen and then turns on the entire screen). Here, the first 1 / 3 rows of screen pixels are used to display the content in the (h+1)th frame of the screen-off interface. At this time, the first 1 / 3 rows of screen pixels display the content in the (h+1)th frame of the screen-off interface, and the last 2 / 3 rows of screen pixels display the content in the hth frame of the screen-off interface. After completing the PWM dimming, the terminal continues to refresh line by line, and refreshes the middle 1 / 3 rows of screen pixels in the screen for about 1 / 360s to display the content in the (h+1)th frame of the screen-off interface, and then performs PWM dimming processing again. After completing the PWM dimming again, the terminal continues to refresh line by line, and refreshes the last 1 / 3 rows of screen pixels in the screen for about 1 / 360s to display the content in the (h+1)th frame of the screen-off interface, and then performs PWM dimming processing again. Thus, 3 times of PWM dimming are realized in the process of completing a screen refresh. Subsequently, the terminal continues to refresh the screen, and continues to perform PWM dimming in the refresh process.
[0110] In combination with the foregoing introduction of the DC dimming mode and the PWM dimming mode, it can be explained that, generally, when the display brightness of the screen is less than the preset display brightness (lower display brightness), it is difficult to adjust the display brightness of the screen to be less than the preset display brightness (for example, 90 nit) by DC dimming. Therefore, at this time, the terminal controls the screen to work in the PWM dimming mode, and a lower display brightness can be realized by increasing the screen-off time.
[0111] It should be further explained that the display brightness is different from the screen brightness referred to in the foregoing. 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 and darkness of the display content itself, the brightness performance of the screen pixels, and the like. Under the condition that the other factors are the same, adjusting the display brightness also means adjusting the screen brightness. The higher the display brightness, the higher the screen brightness.
[0112] In some possible cases, using the dimming mode determination manner 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 involved) 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.
[0113] Here, the reason why the difference 2 is greater than the difference 1 is that the ambient light brightness 1 being 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 being 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, the brightness 2 can be increased but still cannot be too bright under the relatively bright ambient light brightness compared with the relatively dark 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 is greater than the threshold 1 but less than a threshold 2.
[0114] The dimming mode determination manner 2: the display brightness when the screen-off interface is displayed can be at a relatively low level. In this way, the screen brightness can also be at a relatively low level. Therefore, the first working mode of the screen after entering the AOD mode can be PWM dimming mode by default.
[0115] 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 manner 1 involves the foregoing power consumption reduction manner 1 and 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.
[0116] However, the three power consumption reduction manners, i.e., the foregoing power consumption reduction manner 1, the power consumption reduction manner 2, and the power consumption reduction manner 3, all directly affect the display effect of the screen. The order in which the three power consumption reduction manners are performed needs to be reasonably set so as to achieve the saving of power while presenting a better display effect (including the display effect when the standard display mode is smoothly switched to the full-screen AOD mode) after entering the full-screen AOD mode.
[0117] FIG. 4 shows a diagram of an execution sequence of the power consumption reduction modes. The execution sequence of the power consumption reduction modes will be described below with reference to FIG. 4.
[0118] The execution sequence can include that, 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 decreases the frequency of PWM dimming from dimming frequency 1 to dimming frequency 2 (power consumption reduction mode 3). After the initial stage, the terminal starts to gradually reduce the screen refresh rate (power consumption reduction mode 2).
[0119] The relevant content related to the foregoing execution sequence will be described below.
[0120] First, the process of the terminal switching from the standard display mode to the full-screen AOD mode will be described, which includes that, at time 1, the terminal detects an off-screen operation while displaying user interface 1 (the interface displayed in the standard display mode). In response to the off-screen operation, the terminal displays the off-screen interface (indicating entering the full-screen AOD mode). And after displaying user interface 1 to displaying the first frame of the off-screen interface, the terminal keeps the screen on. Wherein, 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.
[0121] In order to prevent flicker problems in the switching process. Then the screen brightness (brightness 1) when displaying the first frame of the off-screen interface after entering the full-screen AOD mode can be equal to the screen brightness at time 1. Then, in the initial stage of entering the full-screen AOD mode, the terminal controls the screen brightness of the screen to gradually decrease from brightness 1 to brightness 2 (a darker level of screen brightness). In this way, smooth switching from the standard display mode to the full-screen AOD mode with the screen brightness at a darker level can be achieved.
[0122] Referring to FIG. 4, the screen brightness of the terminal control screen gradually decreases from brightness 1 to brightness 2, including: an initial stage of entering the full-screen AOD mode, gradually reducing the brightness of the wallpaper. For example, the transparency (a) of the wallpaper is gradually reduced (for example, a gradually decreases 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 difference between the alpha of the screen-off interface of the previous frame and the next frame is small (for example, 0.2 or the like), and the terminal can complete the gradual reduction of the brightness in about 400 ms, and 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 is reduced to 0.52, the transparency of the subsequent wallpaper can be maintained at 0.52. This makes the screen brightness at a lower and more stable level, saving power consumption while no longer having a gradual decrease in brightness.
[0123] Continuing to refer to FIG. 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 60 hz or 90 hz or the like faster screen refresh rate.
[0124] 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 in 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.
[0125] In practice, it is found that the screen refresh rate 1 can be at least 60 hz. For most users, the screen refresh rate 1 is greater than or equal to 60 hz, 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 in screen refresh rate, because the user's attention is mainly focused on the gradual brightness reduction.
[0126] 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 a relatively dark level of 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 the screen is briefly turned off 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.
[0127] 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.
[0128] 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.
[0129] For example, referring to FIG. 4, taking the dimming frequency 1 as 4320hz and the dimming frequency 2 as 360hz as an example. In the initial stage, within the first 200ms, the screen gradually decreases from brightness 1 to brightness 3 (greater than brightness 2), and when the screen works in the PWM mode, the frequency of the PWM dimming is 4320hz. After the screen brightness decreases to brightness 3, before it decreases to brightness 2, the terminal controls the screen to gradually decrease the frequency of the PWM dimming from 4320hz to 360hz. For example, from 4320hz to 2880hz, then from 2880hz to 1440hz, then from 1440hz to 720hz, and then gradually from 720hz to 360hz. And after the initial stage, before exiting the full-screen AOD mode, when the screen works in the PWM mode, the frequency of the PWM dimming is 360hz.
[0130] It should be noted here that 0 in FIG. 4 represents the starting time when the full-screen AOD mode is entered. 200ms in FIG. 4 is an example to represent the short time after switching from the standard display mode to the full-screen AOD mode, which can also be 150ms, 100ms, etc., and the present application embodiment does not limit this.
[0131] It should also be noted that in the initial stage of entering the full-screen AOD mode, the screen of the terminal can work in the DC dimming mode (not shown in FIG. 4) in addition to the PWM dimming mode. The specific mode can be referred to the description of the dimming mode determination method, which will not be repeated here.
[0132] The foregoing describes the initial stage of entering the AOD mode, and when the screen brightness is controlled to decrease, the screen refresh rate of the terminal needs to be maintained at a relatively high screen refresh rate 1. Then the operation of gradually decreasing the screen refresh rate from the screen refresh rate 1 to the screen refresh rate 2 (lower level) involved in the foregoing power consumption reduction method 2 can occur after the initial stage.
[0133] It should be noted that in some possible cases, gradually decreasing the screen refresh rate from the screen refresh rate 1 to the screen refresh rate 2 means that the terminal does not directly decrease the screen refresh rate 1 to the screen refresh rate 2, but gradually. At this time, the screen refresh rate 1 and the screen refresh rate 2 include X screen refresh rates between them, the X screen refresh rates are less than the screen refresh rate 1 and greater than the screen refresh rate 2, and X is an integer greater than or equal to 1.
[0134] For example, continuing to refer to FIG. 4, in the case of the screen refresh rate 1 being 60 hz, after the initial stage, the terminal can first decrease the screen refresh rate from 60 hz to 30 hz, then decrease to 10 hz, and then decrease to 1 hz. And when the screen refresh rate decreases to a screen refresh rate 3 (for example, 10 hz, 1 hz, etc. in FIG. 4) that is less than the preset screen refresh rate a (for example, 30 hz in FIG. 4), the screen refresh rate is 10 hz / 1 hz when the terminal is in the static state, and the screen refresh rate is 30 hz when the terminal is in the dynamic state.
[0135] It should be noted that the aforementioned screen refresh rate decreasing to 30 hz, 10 hz, and 1 hz is only an example, and in practice, it can also be other screen refresh rates, which are not limited by the embodiments of the present application. As long as the screen refresh rate is gradually decreased, it can prevent the screen refresh rate from decreasing too much, which can cause the screen-off interface to appear inconsistent or misaligned in vision. The screen refresh rate being set to 30 hz in the dynamic refresh is also an example, and in practice, it can also be other values, such as 30 hz. As long as it is maintained at a relatively fast screen refresh rate, the screen refresh rate can respond to changes in the display content.
[0136] Among them, the screen refresh rate refers to the number of times the terminal can refresh the screen in 1 second. For example, a 60 hz refresh rate means that the screen refreshes the display image 60 times in 1 second. The interval between the start times of adjacent two refresh display images is equal to 1 / 60 s.
[0137] Generally speaking, the single screen refresh time is equal to the reciprocal of the screen refresh rate. After entering the AOD mode, when the screen refresh rate is W, the time for the terminal to refresh the screen once to refresh a frame of the screen-off interface can be equal to 1 / W (which is a variable value), or can be set to a fixed value, such as 1 / M or 1 / W1. Among them, 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 (indicating that time 1 is in dynamic refresh). W1 is the screen refresh rate of the terminal when displaying the first frame of the screen-off interface (i.e., the screen refresh rate 1).
[0138] In the single screen refresh mode 1, after entering the AOD mode, when the screen refresh rate is W, the single screen refresh time (the time required to refresh the screen once) is equal to 1 / W, and the interval between the start times of adjacent two refresh screens is also equal to 1 / W. As shown in FIG. 5A, when W = 120 hz, the terminal can refresh the screen 120 times in 1 s. At this time, the single screen refresh time of the terminal is equal to 1 / 120 s, that is, the time required from the first row of the screen to the last row of the screen is equal to 1 / 120 s. The description for other screen refresh rates (for example, 60 hz, 30 hz, 10 hz, and 1 hz) can refer to the description of 120 hz in FIG. 5A, which will not be repeated here.
[0139] 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.
[0140] Alternatively, the fixed single-screen refresh time can also be synchronized with the single-screen refresh time (equal to 1 / M) when the user interface is displayed at time 1. As shown in FIG. 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.
[0141] Here, as shown in FIG. 5B, the interval between the start times of adjacent two screen refreshes is the interval between the time of the zth start of screen refresh (e.g., refreshing the e th frame) and the time of the (z+1) th start of screen refresh (e.g., refreshing the (e+1) th frame).
[0142] The advantages of the single-screen refresh mode 2 include that the single-screen refresh time after entering the AOD mode is set to the same value, which can maintain the consistency of the screen-off interface refresh time, make the screen refresh process coherent, and reduce the visual discomfort caused by the constantly changing screen refresh rate.
[0143] The advantages of the single-screen refresh mode 1 include that it is more power-saving than the single-screen refresh mode 2. Referring to FIG. 5B, in 1s, the number of pulses input to the screen by the terminal 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.
[0144] Whether to select the single-screen refresh mode 1 or the single-screen refresh mode 2 when refreshing the screen can be determined according to requirements. The embodiments of the present application do not limit this.
[0145] Generally, the scanning time of a single row of screen pixels is equal to the inverse of the screen refresh rate divided by the number of 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 at 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.
[0146] 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 a single screen refresh divided by the number of rows.
[0147] 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 unevenness of the brightness and color of the screen, thereby reducing the occurrence of mura effect.
[0148] 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.
[0149] As shown in FIG. 6A, when the screen refresh rate is 120hz, the scanning time (the start of scanning a row of screen pixels to the end of scanning a row of screen pixels) of a single row of screen pixels is 1 / (120*row number) s. In the case of a screen refresh rate of 60hz, the scanning time of a single row of screen pixels is synchronized to 1 / (120*row number) s at the screen refresh rate of 120hz. And in the case of a single screen refresh time of 1 / 60hz at the screen refresh rate of 60hz, the interval of the start time of scanning adjacent two rows of screen pixels is equal to 1 / (60*row number) s.
[0150] Here, as shown in FIG. 6A, the interval of the start time of scanning adjacent two rows of screen pixels is the interval between the start time of scanning the yth row (e.g., refreshing the 1st row) of screen pixels and the start time of scanning the y+1th row (e.g., refreshing the 1st row) of screen pixels.
[0151] It should be noted that, with reference to FIG. 6A, in the case where the scanning time of a single row of screen pixels is not synchronized and the screen refresh rate is 60hz, the scanning time of a single row of screen pixels should be 1 / (60*row number) s.
[0152] After entering the AOD mode, the terminal synchronizes the scanning time of the single row of screen pixels to 1 / (120 x row number) s at the screen refresh rate other than 60 hz. For example, referring back to FIG. 6B, at the screen refresh rate of 30 hz, the scanning time of the single row of screen pixels is synchronized to 1 / (120 x row number) s at the screen refresh rate of 120 hz. And, at the time of 1 / 30 s for completing a single screen refresh at the screen refresh rate of 30 hz, the interval of the start time of scanning the adjacent two rows of screen pixels is equal to 1 / (30 x row number) s.
[0153] It should be noted that, referring back to FIG. 6B, at the screen refresh rate of 30 hz and the unsynchronized scanning time of the single row of screen pixels, the scanning time of the single row of screen pixels should be 1 / (30 x row number) s.
[0154] At other screen refresh rates, the scanning time of the single row of screen pixels is synchronized to 1 / (120 x row number) s. The related content of the terminal scanning the single row of screen pixels at other screen refresh rates can be referred to the foregoing description, which will not be described one by one here.
[0155] 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 FIG. 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 standard display mode is entered).
[0156] As shown in (1) of FIG. 7, when the screen-off interface is displayed, an 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 FIG. 7, (2) of FIG. 7, and (3) of FIG. 7, the terminal gradually increases the screen brightness of the screen. When it is determined that the terminal can be unlocked, referring to (3) of FIG. 7 and (4) of FIG. 7, the terminal switches from the full-screen AOD mode to the standard display mode.
[0157] Among them, when the terminal adopts fingerprint unlocking, determining that the terminal can be unlocked includes: collecting a fingerprint, and determining that the collected fingerprint is consistent with a pre-stored fingerprint.
[0158] When fingerprint unlocking is adopted, in response to the unlocking operation, the terminal will also control the screen refresh rate at a high level (for example, 60 hz, 90 hz, or 120 hz, etc.), so as to facilitate displaying the animation effect (for example, the fingerprint light spot) when fingerprint unlocking is displayed.
[0159] It should be noted that the screen refresh rate (screen refresh rate 1) of the initial stage of the full-screen AOD mode in FIG. 4 is 60 hz, which is a reasonable screen refresh rate based on practice. In addition to 60 hz, the screen refresh rate 1 can also be other values. For example, in order to pursue a more smooth switching effect, the screen refresh rate 1 can be set to the screen refresh rate of time 1 (greater than or equal to the preset screen refresh rate b). For example, taking 120 hz as an example.
[0160] Referring to FIG. 8, the screen refresh rate of the initial stage of the full-screen AOD mode is maintained at 120 hz. After the initial stage, the terminal controls the screen refresh rate to gradually decrease from 120 hz to 1 hz. For example, it first decreases from 120 hz to 60 hz, then from 60 hz to 30 hz, from 30 hz to 10 hz, and from 10 hz to 1 hz. And when the screen refresh rate decreases to less than 30 hz, the dynamic screen refresh rate is controlled to be 30 hz. The other operations of the terminal after entering the full-screen AOD mode in FIG. 8 can refer to the foregoing description of FIG. 4, which will not be described here.
[0161] It should also be noted that the execution order of the power consumption reduction mode in FIG. 4 is optional, and other execution orders can also exist in actual application. For example, the time when the frequency of the PWM dimming gradually decreases from the dimming frequency 1 to the dimming frequency 2 can occur after entering the full-screen AOD, and before the screen brightness decreases to the brightness 2. That is, it is optional to maintain the frequency of the PWM dimming as the dimming frequency 1 during the process of gradually decreasing the brightness 1 to the brightness 3.
[0162] In another embodiment, the foregoing is optional when displaying the screen-off interface, controlling the screen brightness to gradually decrease from a higher brightness 1 to a lower brightness 2. In this another embodiment, the terminal still does not directly decrease the screen brightness to a lower brightness (such as the foregoing brightness L1 or brightness 2) when switching to the full-screen AOD, but will enable at least one higher brightness as a transition brightness when switching to the full-screen AOD before the screen brightness is decreased to the lower brightness. In this way, the user's visual abruptness is alleviated. Here, higher does not mean brighter brightness, but brighter relative to the lower brightness L1.
[0163] In this another embodiment, the terminal detects a screen-off operation when displaying the user interface 1 in the standard display mode. In response to the screen-off operation, the terminal switches to the full-screen AOD mode and displays the screen-off interface. The terminal controls the screen brightness to be the brightness a at time a after switching to the full-screen AOD, and the brightness b less than the brightness a at time b. Wherein, the time b is after the time a.
[0164] After switching to the full-screen AOD mode, in the case that the screen brightness decreases to a brightness b only including a brightness a before the brightness b, the brightness a is equal to the screen brightness of the screen when displaying the user interface 1, and can also be equal to the aforementioned brightness 1 involved. The brightness b is equivalent to the aforementioned brightness L1, and can also be equal to the aforementioned brightness 2 involved.
[0165] After switching to the full-screen AOD mode, in the case that the screen brightness decreases to a brightness b only including a brightness a before the brightness b, the brightness a is equal to the screen brightness of the screen when displaying the user interface 1, and can also be equal to the aforementioned brightness 1 involved. The brightness b is equivalent to the aforementioned brightness L1, and can also be equal to the aforementioned brightness 2 involved.
[0166] At this time, the terminal controls the screen brightness of the screen at the time a after switching to the full-screen AOD mode to be the brightness a, and the screen brightness at the time b to be the brightness b less than the brightness a, and includes: from the time a to the time b, the terminal controls the screen brightness of the screen to gradually decrease from the brightness a to the brightness b. Wherein, gradually decreasing from the brightness a to the brightness b indicates that there are M brightnesses between the brightness a and the brightness b, and the M brightnesses are less than the brightness a and greater than the brightness b. M is an integer greater than or equal to 1.
[0167] Here, in order to make the screen brightness gradually decrease from the brightness a to the brightness b more smoothly, the terminal can control the screen brightness to gradually decrease from the brightness a to the brightness b according to a certain gradient. At this time, in the case that the brightness a, the M brightnesses and the 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, and the value of i is 2 to M+1.
[0168] In the case that the brightness a gradually decreases to the brightness b, if the time a includes the time when the first frame of the screen-off interface is displayed, the brightness a can be regarded as the aforementioned brightness 1 involved. If the gradual decrease of the brightness stops after the brightness b, the brightness b can be regarded as the aforementioned brightness 2 involved.
[0169] In the case that the brightness a gradually decreases to the brightness b, if the time a does not include the time when the first frame of the screen-off interface is displayed, the brightness a can be regarded as the brightness between the aforementioned brightness 1 and brightness 2 involved. If the brightness needs to continue to decrease after the brightness b, the brightness b can be regarded as the brightness between the aforementioned brightness 1 and brightness 2 involved.
[0170] Based on the foregoing, it can be concluded that, in the case that the brightness a is less than the screen brightness of the screen when displaying the user interface 1, the time a does not include the time when the first frame of the screen-off interface is displayed. Or, in the case that the brightness a is equal to the screen brightness of the screen when displaying the user interface 1, the time a includes the time when the first frame of the screen-off interface is displayed.
[0171] In this additional embodiment, the terminal always keeps the screen on state from displaying the user interface 1 to displaying the screen-off interface.
[0172] FIG. 9 shows an exemplary system framework involved in switching from the standard display mode to the full-screen AOD mode by the display method.
[0173] Referring to FIG. 9, the layered architecture divides the system into several layers, each of which has a clear role and division of labor. 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.
[0174] The application layer can include a series of application packages (APKs).
[0175] As shown in FIG. 9, the application layer can include a screen-off APK. The screen-off APK integrates the functions and services of AOD, which can be used to detect the screen-off operation and implement the aforementioned full-screen AOD mode. For example, the screen-off interface displayed by the terminal on the screen can be provided based on the screen-off APK.
[0176] The application framework layer includes some services that can be called by the screen-off APK in response to the screen-off operation.
[0177] As shown in FIG. 9, the application framework layer can include a sensor service, a hardware screen-off display brightness service, and a power management service.
[0178] Referring to FIG. 9, the hardware screen-off display brightness service can be used to receive the instruction to enter the full-screen AOD mode issued by the screen-off APK. Specifically, at time 1, the screen-off APK detects the screen-off operation while displaying the user interface 1. In response to the screen-off operation, the instruction to enter the full-screen AOD mode is issued to the hardware screen-off display brightness service. Referring to FIG. 9, the instruction to enter the full-screen AOD mode is used to register the ambient light sensor by the screen-off display brightness service through the sensor service. So as to determine the ambient light data (referring to FIG. 9 (3)) through the ambient light sensor after registration. Wherein, the ambient light data includes the ambient light brightness at time 1 (the aforementioned ambient light brightness 1).
[0179] The hardware screen-off display brightness service is also used to determine the ambient light brightness at time 1, on the one hand, trigger the execution of FIG. 9 (4a), on the other hand, trigger the execution of FIG. 9 (4b).
[0180] Referring to (4a) in FIG. 9, the hardware AOD display brightness service determines the display brightness in 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 in the initial stage. The display brightness in the initial stage and the alpha value described below are used to control the screen brightness in the initial stage. For example, if the display brightness remains unchanged, the alpha value decreases, and the screen brightness decreases.
[0181] Referring to (4b) in FIG. 9, the hardware AOD display brightness service notifies the AOD APK to send the AOD interface element information, including the alpha value (transparency value) acting on the wallpaper, to the compositor hardware abstraction module (belonging to the hardware abstraction layer). The alpha value is used to reduce the brightness of the wallpaper to gradually reduce the screen brightness in the initial stage.
[0182] After receiving the AOD 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 AOD interface is synthesized based on the wallpaper with reduced transparency and other AOD interface elements (including the clock card, message notification card, etc.). It should be noted that the wallpaper transparency of the first frame of the AOD interface can not be reduced.
[0183] Then, the compositor hardware abstraction module sends the synthesized AOD interface to the display driver chip in the hardware layer through the digital rights management module (located in the kernel layer).
[0184] The display driver chip refreshes the screen by adjusting the dimming frequency, screen refresh rate, and gamma curve corresponding to the display brightness to display the AOD interface. The dimming frequency and screen refresh rate during PWM dimming in the initial stage can be referred 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 pixels of the AOD interface into the brightness of the screen pixels. The related content of the gamma curve and the detailed process of the display driver chip when refreshing the screen in the initial stage can be referred to the description of steps S105 and S106b below, which will not be described here.
[0185] It should be noted that the compositor hardware abstraction module synthesizes a frame of AOD interface based on the alpha value, and then sends a frame of AOD interface to the display driver chip. After sending a frame of AOD interface, a frame of AOD interface is synthesized based on the next alpha value, and then sent to the display driver chip for display. This cycle gradually reduces the screen brightness.
[0186] In case step (4b) is performed for a preset time (e.g. 200 ms), as shown in (5) of FIG. 9, the screen-off APK sends a PWM dimming frequency down command to the power management service. Based on the foregoing, the condition for performing step (5) is that the first dimming mode adopted in the initial stage of the full-screen AOD mode is the PWM dimming mode. After the display driver chip receives the PWM dimming frequency down command, it performs the PWM dimming frequency down operation described above, including gradually reducing the frequency of PWM dimming of the screen from dimming frequency 1 to dimming frequency 2 (e.g. from 4320 to 360). Details of the process involved can be referred to the description of step S106b below, which will not be described here.
[0187] After steps (4b) and (5) are both completed, the operation of the full-screen AOD mode in the initial stage is completed, and the process flow after the initial stage is entered. As shown in (6) of FIG. 9, the screen-off APK sends a screen refresh rate down command to the DDIC. After the display driver chip receives the PWM dimming frequency down command, it performs the screen refresh rate down operation described above, including gradually reducing the screen refresh rate from screen refresh rate 1 to screen refresh rate 2 (e.g. from 60 hz to 1 hz). Details of the process involved can be referred to the description of step S107b below, which will not be described here.
[0188] At this point, the switching from the standard display mode to the full-screen AOD mode is completed, and the parameters (e.g. screen refresh rate, etc.) in the full-screen AOD mode are adjusted.
[0189] It should be noted that the system framework diagram shown in FIG. 9 and the description of each module involved in the system framework are only exemplary descriptions, and more or fewer modules than those in FIG. 9 can be included in actual situations, which are not limited by the embodiments of the present application.
[0190] Based on the system framework shown in FIG. 9, the terminal can also perform switching from the full-screen AOD mode to the standard display mode (not shown in FIG. 9). The process includes: the screen-off APK detects the unlocking operation, sends an instruction to increase the screen brightness to the synthesizer hardware abstraction module, and at the same time sends an instruction to increase the screen refresh rate to the display driver chip. The screen brightness is gradually increased and the screen refresh rate is at a relatively fast level during the unlocking process, which facilitates the display of the fingerprint unlocking animation. When the unlocking is determined, the screen-off APK completes the unlocking and notifies the APK involved in the standard display mode to display the user interface.
[0191] FIG. 10 shows an exemplary module interaction diagram involved in switching from the standard display mode to the full-screen AOD mode by the display method.
[0192] The process involves the screens included in the foregoing FIG. 9, the screen-off APK, the hardware screen-off display brightness service, the compositor hardware abstraction module, and the display driver chip. The description of the process can refer to the following steps S101-S108.
[0193] S101. The terminal displays a user interface in a standard display mode through the screen.
[0194] At time 1, the terminal detects a screen-off operation while displaying the user interface 1. The screen-off operation can be the operation of pressing the power key as shown in (1) of the foregoing FIG. 2.
[0195] 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.
[0196] The hardware screen-off display brightness service acquires ambient light data including the ambient light brightness at time 1 through the ambient light sensor after receiving the instruction to enter the full-screen AOD mode.
[0197] S103a. The hardware screen-off display brightness service determines the display brightness in the AOD mode based on the ambient light data.
[0198] The ambient light brightness at time 1 can be used to determine the display brightness in the initial stage.
[0199] 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.
[0200] Generally, the higher the ambient light brightness at time 1, the greater the display brightness in the initial stage. However, in order to save power consumption, when the ambient light brightness at time 1 is higher than a certain value, the display brightness in the initial stage can be controlled to be equal to a larger display brightness (e.g., 500).
[0201] The display brightness in the initial stage includes the display brightness when displaying the first frame of the screen-off image. The higher the display brightness when displaying the first frame of the screen-off image, the higher the screen brightness (the foregoing brightness 1) when displaying the first frame of the screen-off image will be, while being equal to the screen brightness at time 1.
[0202] S104a. The screen-off APK sends the screen-off interface element information to the compositor hardware abstraction module at time 1, including at least the a value acting on the wallpaper, or also including card information such as the clock. The compositor hardware abstraction module lowers the wallpaper brightness through the a value, and then composites the screen-off interface.
[0203] The screen-off interface element information here includes wallpaper and information displayed on the upper layer of the wallpaper (e.g., a clock card, a message notification card, etc.). The screen-off APK can set the alpha value to act on the wallpaper to control the gradual decrease of the transparency of the wallpaper.
[0204] The alpha value here can be a set of parameters recorded in the screen-off APK, such as 0 gradually decreasing to 0.52. Alternatively, see step S103b (optional), the 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.
[0205] The synthesizer hardware abstraction module sends the screen-off interface to the display driver chip N times, and the alpha values used in the synthesis of the N times of sending the screen-off interface are different, including: the alpha values used in the synthesis of the N times of sending the screen-off interface gradually increase, so that the brightness of the synthesized screen-off interface gradually decreases, and further so that the screen brightness gradually decreases when the screen displays the screen-off interface.
[0206] It should be noted here that the alpha value acting on the wallpaper layer is taken as an example in step S104a, so that 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. Among them, the upper layer of the wallpaper includes other screen interface elements in addition to the wallpaper, such as a clock card, a message notification card, etc.
[0207] In other possible cases, the alpha value can 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.
[0208] S104b. The screen-off APK issues a dimming instruction carrying the display brightness to the display driver chip at time 1.
[0209] In the initial stage, the display brightness includes the display brightness in the initial stage.
[0210] In the way of gradually decreasing the screen brightness by controlling the alpha value, the display brightness in the initial stage can be the same display brightness.
[0211] However, the aforementioned way of gradually decreasing the screen brightness by controlling the alpha value is optional, and the screen brightness can also be gradually decreased without controlling the alpha value. Instead, the display brightness is used to control the gradual decrease of the screen brightness, and the alpha value of the wallpaper does not change at this time. 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 decrease) the screen brightness of the screen by changing (gradually decreasing) the brightness level that the screen can reach.
[0212] S105. The display driving chip refreshes the screen by the screen refresh rate 1 and the gamma curve corresponding to the display brightness to display the screen-off interface, and controls the screen brightness to gradually decrease to the first level based on the alpha value 1, and in the case of PWM dimming when refreshing the screen, the PWM frequency is equal to the dimming frequency 1.
[0213] Here, an example of step S105 can be the content of the first 200 ms in the initial stage shown in the aforementioned FIG. 4, including: controlling the screen brightness to gradually decrease while keeping the screen refresh rate and the frequency of PWM dimming unchanged. Controlling the screen brightness to gradually decrease to the first level based on the alpha value 1 includes: controlling the screen brightness to gradually decrease from the aforementioned relevant brightness 1 to brightness 3 based on the alpha value 1. The alpha value 1 is the first part of the alpha values. For a description of this process, please refer to the aforementioned description of the relevant content in FIG. 4, which will not be repeated here.
[0214] 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 FIG. 11, an exemplary corresponding relationship between the gray scale values 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 gamma curve 21 is 30.
[0215] Wherein, Vdata is the brightness representation parameter of the gray scale value of the image pixel in the screen pixel. A screen pixel includes 3 sub-pixel units, and a sub-pixel unit has a Vdata for converting the gray scale values of the three channels of the image pixel into brightness, so as to represent the brightness 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 below, which will not be repeated here.
[0216] It should be noted that when the screen is refreshed by 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.
[0217] 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 curves corresponding to different display brightness.
[0218] The dimming frequency 1 is the dimming frequency of the terminal when performing PWM dimming in the standard display mode (for example, 4320 Hz). Related descriptions about the dimming frequency 1 can be referred to the foregoing related content and will not be described here.
[0219] The screen refresh rate 1 can be greater than or equal to the preset screen refresh rate b. Related descriptions about the screen refresh rate 1 and the preset screen refresh rate b can be referred to the foregoing related content and will not be described here.
[0220] It should be noted that before step S105 is executed after detecting the screen-off operation, the display driver chip does not receive the parameters (such as the 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 foregoing dimming frequency 1.
[0221] S106a. After time 1 plus a preset time, the screen-off APK issues a PWM dimming frequency down command to the display driver chip.
[0222] An example of the preset time can be 200 ms as described in the foregoing FIG. 4.
[0223] The PWM dimming frequency down command is used to trigger the display driver 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.
[0224] S106b. The display driver chip refreshes the screen through the screen refresh rate 1 and the gamma curve corresponding to the display brightness, and controls the screen brightness to gradually decrease from the first level to the second level based on the alpha value 2, and when the screen performs PWM dimming, controls the PWM frequency to gradually decrease from the dimming frequency 1 to the dimming frequency 2.
[0225] The dimming frequency 1 is the dimming frequency of the terminal when performing PWM dimming at time 1. Related content about the dimming frequency 1 can be referred to the foregoing description of the dimming frequency 1 and will not be described here.
[0226] Here, an example of step S106b can be the content from 200 ms to 400 ms in the initial stage as shown in the foregoing FIG. 4, which includes: maintaining the screen refresh rate unchanged while controlling the screen brightness to continue to gradually decrease, and controlling the dimming frequency to decrease at the same time. Controlling the screen brightness to gradually decrease from the first level to the second level based on the alpha value 2 includes: controlling the screen brightness to gradually decrease from the foregoing brightness 3 to brightness 2 based on the alpha value 2. The alpha value 2 is the latter part of the alpha value. Descriptions about the process can be referred to the foregoing description of the related content in FIG. 4 and will not be described here.
[0227] S107a. After step S105 and step S106b are completed, the screen-off APK issues a screen refresh rate down command to the display driver chip.
[0228] The screen refresh rate down command is used to trigger the display driver chip to gradually reduce the screen refresh rate after the initial stage, so as to save power consumption.
[0229] S107b. The display driver chip refreshes the screen by 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. In the case of PWM dimming when refreshing the screen, the PWM frequency is equal to the dimming frequency 1.
[0230] Here, an example of step S106b can be the content after the initial stage and before exiting the full-screen AOD mode shown in the foregoing FIG. 4, including: keeping the frequency of PWM dimming unchanged, and controlling the screen refresh rate to gradually decrease from the screen refresh rate 1 to the screen refresh rate 2.
[0231] It should be noted that when step S107b is executed, the screen brightness stops gradually decreasing.
[0232] In some possible cases, after the initial stage, the screen brightness can be kept at brightness 2. The way to keep brightness 2 includes: in the full-screen AOD mode, the wallpaper after the initial stage uses the last alpha value used in the initial stage to lower the brightness of the wallpaper.
[0233] It should be noted here that in the content related to the foregoing FIG. 4, after the screen brightness decreases to brightness 2 (after the initial stage), the influence of the ambient light brightness on the screen brightness is not reflected. In other possible cases, after the initial stage, the screen brightness can be adjusted according to the ambient light brightness (which can be referred to as ambient light brightness 2) after the initial stage. If the ambient light brightness 2 is higher than the ambient light brightness when the screen brightness decreases 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 decreases to brightness 2, the screen brightness can be less than brightness 2. For reference, see the foregoing description of FIG. 6A, FIG. 6B and related content. In step S107b, the display driver chip can control the scanning time of a single row of screen pixels of the screen at different screen refresh rates to be synchronized to 1 / (Mx number of rows) or 1 / (W1x number of rows). Wherein, M is the screen refresh rate of the terminal when displaying the user interface at time 1. W1 is the screen refresh rate of the terminal when displaying the first frame of the screen-off interface (screen refresh rate 1), that is, the screen refresh rate of the terminal when executing step S105 and step S106b.
[0234] Firstly, 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.
[0235] A screen pixel has three sub-pixel units, which control the brightness of three channels respectively, 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.
[0236] As shown in (1) of FIG. 12, a sub-pixel unit in a screen pixel is shown, which is used to reflect the brightness of one channel (for example, one of red, green or blue channels) in the screen pixel.
[0237] The sub-pixel unit includes transistors T1-T7 and an OLED light emitting component. Among them, transistor T1 is a reset transistor, transistor T7 and transistor T8 are reset and compensation transistors. Transistors T2, T3 and T4 are drive transistors. Transistors T5 and T6 are light emitting control transistors. The control end 1 (for example, the drain) of transistor T4 is electrically connected to the Vdata output end of the display driving chip to receive the Vdata output by the display driving chip. Among them, Vdata is determined by the aforementioned gray scale value and gamma curve. The larger the Vdata is, the brighter the OLED is after being turned on. The aforementioned reduction of screen brightness is actually achieved by changing the Vdata here.
[0238] The display driving chip controls the turn-on or turn-off of each transistor according to a certain timing to update Vdata and control the light emitting brightness of the sub-pixel unit in each frame of screen-off interface. As shown in FIG. 12, the sub-pixel unit emits light based on Vdata1 at the zth frame time. Then, the display driving chip scans the sub-pixel unit for 1 / (refresh rate x row number) s (the time from the start of scanning to the end of scanning) to update Vdata1 to Vdata2. After the scanning is finished, the sub-pixel unit is controlled to emit light based on Vdata2 at the z+1th frame time.
[0239] An exemplary process of updating Vdata1 to Vdata2 can be referred to steps (1)-(7) shown in (2) of FIG. 12.
[0240] 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.
[0241] 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.
[0242] It should be noted that the signal (high level or low level) received by the EM terminal can be collectively referred to as an EM signal.
[0243] It should also be noted that in the case of a screen row including R screen pixels, R*3 OLEDs are involved in the update of Vdata, and the update of Vdata of each of the R*3 OLEDs is completed by the display driving chip within 1 / (frequency refresh rate*row number)s. The foregoing is only an example of the update of Vdata of one OLED.
[0244] For example, the scanning time of the display driving chip for a single row of screen pixels is synchronized to be equal to 1 / (120*row number)s. As shown in FIG. 13, the hth row of the screen includes R screen pixels, and all the pixels in the hth row share one 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 hth row is not shared, and the display driving chip scans the R screen pixels within 1 / (120*row number)s (the time from the start of scanning to the end of scanning) when scanning the hth row. The scanning process is described with reference to (2) of FIG. 12, and the display driving chip can extend the input of the updated Vdata (Vdata2) of the transistor T4 of one sub-pixel unit to the updated Vdata of the transistor T4 of R*3 sub-pixel units. 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*screen row number), and W is the screen refresh rate when scanning the screen pixels. After scanning the hth row, the display driving chip starts to refresh the R screen pixels in the h+1th row with an interval of about 1 / (W*screen row number)-1 / (120*row number)s. The scanning process can be referred to the process of scanning the hth row of screen pixels, and h is replaced by h+1. Details are not described herein.
[0245] Here, the screen row number does not specifically refer to the number of rows of pixels from top to bottom of the screen. Instead, it refers to the number of scanning times when refreshing the screen. As shown in FIGS. 6A and 6B, one scanning time includes one start of scanning and one end of scanning.
[0246] 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*row number) or 1 / (W1*row number), 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*row number) or 1 / (W1*row number). The related content can be referred to the aforementioned description of FIG. 12 and FIG. 13, and will not be described here again.
[0247] 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.
[0248] 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.) 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.
[0249] Generally speaking, in combination with the aforementioned description of FIG. 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 compared with the standard display mode. The reason can be referred to the description of FIG. 14 below.
[0250] Referring to FIG. 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 compared with the standard display mode.
[0251] The dynamic screen refresh rate is 30hz, and the terminal refreshes the screen every 1 / 30s, and performs 12 times of PWM dimming every 1 / 30s. In comparison with the standard display mode, the dynamic screen refresh rate can be as high as 120hz, and 36 times of PWM dimming are performed every 1 / 120s. Therefore, in terms of PWM dimming frequency and screen refresh rate, the power consumption of the full-screen AOD mode in the dynamic state is lower compared with the standard display mode.
[0252] It should be noted that the foregoing Fig. 10 is described in the case that the first working mode of the screen of the terminal after entering the full-screen AOD is the PWM dimming mode. In practice, 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 process of the terminal after entering the full-screen AOD mode can still refer to the foregoing Fig. 10, and the content related to the PWM dimming can be 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.
[0253] 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.
[0254] 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 Fig. 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 are needed. Wherein, the screen refresh rate being high includes the screen refresh rate being greater than or equal to the dynamic screen refresh rate. Wherein, the screen refresh rate being low includes the screen refresh rate being less than the dynamic screen refresh rate.
[0255] Fig. 16 is a structural schematic diagram of the terminal provided by the embodiment of the present application.
[0256] 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 Fig. 16, can combine two or more components, or can have a different component configuration. The various components shown in Fig. 16 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.
[0257] The terminal can include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, a sensor module 180, a key 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 can include a pressure sensor 180A, a gyroscope sensor 180B, a barometric pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity light sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, a bone conduction sensor 180M, etc.
[0258] It can be understood that the structure shown in the embodiments of the present application does not constitute a specific limitation on the terminal. In other embodiments of the present application, the terminal can include more or fewer components than shown, or combine certain components, or split certain components, or different component arrangements. The components shown can be implemented in hardware, software, or a combination of software and hardware.
[0259] The processor 110 can include one or more processing units, for example: the processor 110 can include an application processor (AP), a modem processor, a graphics processing unit (GPU), an image signal processor (ISP), a controller, a memory, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural-network processing unit (NPU), etc. Different processing units can be independent devices, or can be integrated in one or more processors. The application processor (AP) in the processor 110 can include the main processor in FIG. 15.
[0260] The main processor and the coprocessor shown in FIG. 15 can be placed in the application processor. The processing capability of the main processor is superior to that of the coprocessor. The main processor further includes a large core and a small core, and the processing capability of the large core is superior to that of the small core. In the standard display mode, the terminal can respond to the instruction of controlling the screen display through the large core and the small core of the main processor, so that the terminal can respond to the instruction faster. In the full-screen AOD mode, the user usually does not operate the terminal or operates the terminal at a low frequency, and at this time, the terminal can call the small core or the coprocessor to process the instruction to maintain normal response to the instruction.
[0261] 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.
[0262] 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 limitation on the structure 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.
[0263] The terminal can realize the display function through the GPU, the display screen 194, and the application processor, and the like.
[0264] The display screen 194 is used 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.
[0265] In some embodiments, the display screen 194 can be a screen, such as an OLED screen.
[0266] The terminal can realize the display function through a DDIC (not shown in FIG. 16) and a display screen 194, etc.
[0267] The DDIC can be used as a control core of the display screen 194, drive the display screen 194 to work, and receive data such as image data and some instructions from the SOC (processor 110). The DDIC can send driving signals and data to the display panel of the display screen 194 in the form of electrical signals, thereby realizing the control of the screen brightness and color, so that image information such as letters, pictures, etc. can be displayed on the screen, completing screen refresh, so that the display screen refreshes the picture according to the screen refresh rate.
[0268] The terminal can also realize the fingerprint unlocking function through a system chip (SOC), a DDIC, a display screen 194, and a fingerprint sensor 180H, etc.
[0269] The brightness adjustment mode of the OLED screen is different from that of the liquid crystal display (LCD) screen. The brightness adjustment of the OLED screen is not realized by adjusting the screen backlight, but the screen brightness is controlled while the screen pixel color is controlled. Moreover, when the screen brightness is lower than a preset brightness A (such as 75 nit), the OLED screen adopts a PWM dimming mode (PWM mode); when the screen brightness is higher than the preset brightness A, the OLED screen adopts a DC dimming mode (DC mode). Usually, the screen manufacturer will write this dimming logic into the driving integrated circuit (such as DDIC), which cannot be changed. The preset brightness A is the minimum screen brightness to enter the DC dimming.
[0270] Here, the DC dimming mode changes the screen brightness by increasing or decreasing the circuit power. Changing the voltage or current can change the circuit power. The PWM dimming mode does not rely on changing the circuit power to change the screen brightness, but relies on the on-off alternation of the screen, that is, the screen is not continuously lit, but alternates between lighting and extinguishing. When the screen brightness is reduced to a certain extent, the brightness change of the three primary color pixels cannot be reflected as color change, and the color change cannot be controlled, so the OLED screen does not adopt the DC dimming mode at low brightness, but adopts the PWM dimming mode, that is, the actual current or voltage on the pixel is relatively high, and the color expression is not affected, and the brightness value perceived by the human eye is changed by changing the duty cycle of PWM. As shown in the foregoing FIG. 15, the more low levels in a period, the greater the duty cycle. The more high levels, the smaller the duty cycle. When the duty cycle is 0, the OLED is not conductive and does not emit light.
[0271] 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).
[0272] 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".
[0273] 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.
[0274] 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.
[0275] 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.
[0276] In some embodiments, the ambient light sensor 180L can be used to detect whether the terminal is in the ambient light brightness.
[0277] 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.
[0278] 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.
[0279] 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.
[0280] In a possible design, the chip system further includes a memory configured to store program instructions and data, and the memory is located in the processor or outside the processor.
[0281] The chip system can be composed of a chip or include a chip and other discrete devices.
[0282] 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 processor can be implemented by reading software code stored in the memory.
[0283] 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 limit the arrangement of the memory and the processor.
[0284] 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 limit the type of the memory and the arrangement of the memory and the processor.
[0285] 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.
[0286] 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 executed, the computer program causes a computer to execute the method performed by the terminal in any one of the embodiments.
[0287] 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.
[0288] 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 the technical solutions recorded in the foregoing embodiments can be modified, or some technical features can be replaced by equivalent features; and these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present application.
[0289] 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 (a stated condition or event)” can be interpreted as meaning “if determining” or “in response to determining” or “upon detecting (a stated condition or event)” or “in response to detecting (a stated condition or event)”.
[0290] 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 will be further understood that the terms “and / or” used in the present application, mean and include any or all possible combinations of one or more listed items.
[0291] 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.
[0292] 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 devices. The computer instructions can be stored in a computer readable storage medium or transmitted from one computer readable storage medium to another computer readable storage medium, for example, the computer instructions can be transmitted from 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.) mode. 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 magnetic media (such as floppy disk, hard disk, magnetic tape), optical media (such as DVD), or semiconductor media (such as solid state disk) and the like.
[0293] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be instructed by a computer program to complete the relevant hardware, and the program can be stored in a computer readable storage medium. When the program is executed, it can include the processes of the above-mentioned 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 comprises: The terminal detects an operation of turning off the screen when displaying the first user interface; The terminal displays the screen-off interface, and controls the screen brightness of the screen to be a first brightness at a first time and a second brightness at a second time; the first brightness is less than or equal to the screen brightness of the screen when displaying the first user interface, the first time is before the second time, and the first brightness is greater than the second brightness.
2. The method of claim 1, wherein, Controlling the screen brightness of the screen to be a first brightness at a first time and a second brightness at a second time specifically comprises: From the first time to the second time, the terminal controls the screen brightness of the screen to gradually decrease from the first brightness to the second brightness; Wherein, gradually decreasing from the first brightness to the second brightness means that there are M brightnesses between the first brightness and the second brightness, the M brightnesses are less than the first brightness and greater than the second brightness, and M is an integer greater than or equal to 1.
3. The method of claim 2, wherein, In the case that 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 i is 2 to M+1.
4. The method according to any one of claims 1-3, characterized in that, From displaying the first user interface to displaying the screen-off interface, the terminal keeps the screen in a bright state.
5. The method according to any one of claims 1-4, characterized in that, In the case that the first brightness is less than the screen brightness of the screen when displaying the first user interface, the first time does not include the time when the first frame of the screen-off interface is displayed; or, in the case that the first brightness is equal to the screen brightness of the screen when displaying the first user interface, the first time includes the time when the first frame of the screen-off interface is displayed.
6. The method according to claim 2 or 3, characterized in that, The method further comprises: In the case that the working mode of the screen after displaying the screen-off interface is a pulse width modulation (PWM) dimming mode, before the screen brightness decreases to the second brightness, the terminal controls the frequency of PWM dimming of the screen to gradually decrease from a first dimming frequency to a second dimming frequency; the first dimming frequency is equal to the frequency of PWM dimming of the screen when displaying the first user interface; Wherein, gradually decreasing from 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.
7. The method of claim 6, wherein, After the screen brightness decreases to the second brightness, the method further comprises: The terminal controls the frequency of PWM dimming of the screen to be the second dimming frequency.
8. The method according to claim 6 or 7, characterized in that, The method further comprises: During the process of controlling the screen brightness to gradually decrease from the first brightness to a third brightness, the terminal controls the frequency of PWM dimming of the screen to be the first dimming frequency; the third brightness is greater than the second brightness.
9. The method according to any one of claims 1-8, characterized in that, The method further comprises: After displaying the screen-off interface and before the screen brightness decreases to the second brightness, the terminal refreshes the screen using a first screen refresh rate.
10. The method of claim 9, wherein, when the screen refresh rate of the terminal while displaying the first user interface is greater than or equal to a first preset refresh rate, the first screen refresh rate is equal to the screen refresh rate of the terminal while displaying the first user interface; when the screen refresh rate of the terminal while 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.
11. The method according to claim 9 or 10, characterized in that, after the screen brightness is lowered to the second brightness, the method further comprises: the terminal controls the screen refresh rate of the screen to gradually decrease from the first screen refresh rate to a second screen refresh rate; gradually decreasing from the first screen refresh rate to the second screen refresh rate means that X screen refresh rates are included 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 to be a third screen refresh rate when the displayed content does not change, and controls the screen refresh rate of the screen to be equal to the second preset refresh rate when the displayed content changes; the third screen refresh rate is less than the second preset refresh rate and belongs to the screen refresh rates gradually decreasing from the first screen refresh rate to the second screen refresh rate.
12. The method according to any one of claims 9-11, characterized in that, the method further comprises: when displaying the screen-off 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.
13. The method according to any one of claims 1-12, characterized in that, when the first ambient light brightness is less than a preset ambient light brightness, the second brightness and the screen brightness when displaying the first user interface have a first difference; when the first ambient light brightness is greater than the preset ambient light brightness, the second brightness and the screen brightness when displaying the first user interface have a second difference, and the second difference is greater than the first difference; the first ambient light brightness is equal to the ambient light brightness when displaying the first user interface.
14. The method of claim 13, wherein, the method further comprises: 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.
15. The method of any one of claims 1-14, wherein, the method further comprises: when displaying the user interface, the terminal controls the scanning time of a single row of screen pixels to be equal to 1 / (M×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 1 / (M×screen row number); the interval between the start times of scanning adjacent two rows of screen pixels is equal to 1 / (W×screen row number), and the W is the screen refresh rate of the terminal when displaying the first screen-off image.
16. The method of any one of claims 1-15, wherein, the method further comprises: when displaying the user interface, the terminal controls the time of a single screen refresh to be equal to 1 / M; 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 the first screen-off interface is displayed, the terminal controls a time for single screen refreshing to be equal to 1 / M; a time interval between start times of adjacent two times of screen refreshing is equal to 1 / W; and the W is a screen refreshing rate of the terminal when the first screen-off image is displayed.
17. The method of claim 2 or 3, wherein, The terminal controls the screen brightness of the screen to gradually decrease from the first brightness to the second brightness, and specifically includes: The terminal controls the transparency of a wallpaper layer in the screen-off interface to gradually decrease from a first transparency to a second transparency; and the transparency of an upper layer of the wallpaper layer remains unchanged.
18. The method of claim 2 or 3, wherein, The terminal controls the screen brightness of the screen to gradually decrease from the first brightness to the second brightness, and specifically includes: The terminal controls the transparency of all layers in the screen-off interface to gradually decrease from a first transparency to a second transparency.
19. The method of claim 11, wherein, The first screen refreshing rate is greater than or equal to 60 hz, and the second screen refreshing rate includes one of 1 hz to 10 hz.
20. A terminal, characterized by The terminal includes one or more processors and a memory; the memory is coupled with the one or more processors; the memory is configured to store computer program codes, the computer program codes include computer instructions, and the one or more processors are configured to invoke the computer instructions to enable the terminal to perform the method in any one of claims 1 to 19.
21. A chip system, characterized by The chip system is applied to a terminal, and the chip system includes one or more processors; the processor is configured to invoke computer instructions to enable the terminal to perform the method in any one of claims 1 to 19.
22. A computer-readable storage medium comprising instructions, wherein: When the instructions are run on the terminal, the terminal is enabled to perform the method in any one of claims 1 to 19.
23. A computer program product comprising instructions, characterized in that, When the computer program product is run on the electronic device, the electronic device is enabled to perform the method in any one of claims 1 to 19.