Display screen brightness adjusting method, electronic equipment and computer storage medium

By switching to a fixed refresh rate of 60Hz in the display driver chip and controlling the refresh rate queue switching using a timer, the display screen flickering problem caused by the conflict between adaptive refresh rate technology and dimming is solved, and the refresh rate is adaptively reduced and Savings of power consumption.

CN119314444APending Publication Date: 2025-01-14HONOR DEVICE CO LTD
View PDF 0 Cites 2 Cited by

Patent Information

Application Number
CN202310862024.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-07-12
Publication Date
2025-01-14

AI Technical Summary

Technical Problem

The existing adaptive refresh rate technology is prone to conflict with the dimming of the display screen, resulting in flickering problems in the display screen, and it is impossible to reduce the refresh rate of the display driver chip while it is unable to distinguish the operating scenarios and increase unnecessary power consumption.

Method used

By introducing a refresh rate queue in the display driver chip, switching to a fixed refresh rate of 60Hz, the frequency reported by the TE signal is synchronized with the dimming command, thereby avoiding the dimming and the refresh diagram from being synchronized. The switching of the refresh rate queue is controlled by a timer. , ensure that the DDIC flash diagram and dimming instructions are synchronized.

Benefits of technology

It effectively avoids the flashing problem of display screen, saves resources, ensures adaptive reduction of refresh rate, and reduces unnecessary power consumption.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119314444A_ABST
    Figure CN119314444A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of display, and provides a display screen brightness adjusting method, electronic equipment and a computer storage medium, and the method comprises the steps: a display driver of the electronic equipment controls a display driving chip to brush a picture on a display screen according to a refresh rate in a first queue; wherein the first queue is a first-class refresh rate queue or a second-class refresh rate queue; the display driver receives a dimming instruction; wherein the dimming instruction indicates to adjust the brightness of the display screen; in response to a received dimming instruction, if the first queue is a first-class refresh rate queue, a display driver controls a display driving chip to refresh a display screen according to a 60Hz refresh rate and then controls the display driving chip to adjust the brightness of the display screen based on the dimming instruction; and if the first queue is the second-class refresh rate queue, the display driver controls the display driving chip to adjust the brightness of the display screen based on the dimming instruction. Therefore, synchronization of dimming and DDIC image brushing caused by synchronization of the dimming instruction and the TE signal of the brushless image can be avoided, and the problem of display flicker is avoided.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present application relate to the field of electronic device display technology, and more particularly to a display screen brightness adjustment method, an electronic device, and a computer storage medium. Background Art

[0002] With the continuous development of display technology for electronic devices (such as mobile phones), more and more display screens that can support multiple refresh rates have emerged. For example, a display screen that uses low temperature polycrystalline oxide (LTPO) screen technology can support multiple refresh rates such as 120Hz, 90Hz, 60Hz, 40Hz, 30Hz, 10Hz and 1Hz. The higher the refresh rate of the display screen, the higher the display frame rate it can support, and the corresponding picture display is smoother. The lower the refresh rate of the display screen, although the lower the display frame rate that can be supported, it can save more power consumption. Therefore, in order to ensure smooth pictures while saving a certain amount of power consumption as much as possible, adaptive refresh rate technology has emerged.

[0003] The principle of traditional adaptive refresh rate technology is mainly to send a refresh rate switching instruction to the digital display indicator control (DDIC) to switch to an adaptive refresh rate based on the running scenario of the application (APP). Therefore, the adaptive refresh rate technology cannot be adapted to the situation where the running scenario cannot be distinguished, and further, the refresh rate of the DDIC cannot be reduced when the running scenario cannot be distinguished, resulting in unnecessary increase in power consumption.

[0004] In order to solve this problem, a new adaptive refresh rate method has been developed. However, this adaptive refresh rate method is likely to conflict with the dimming of the display screen. If the brightness of the display screen of the electronic device is adjusted when the electronic device applies this adaptive refresh rate method, it is likely to cause flickering problems on the display. Summary of the invention

[0005] The embodiments of the present application provide a display screen brightness adjustment method, an electronic device, and a computer storage medium, which are used to solve the display flicker problem caused by the conflict between the adaptive refresh rate method and the dimming method.

[0006] To achieve the above objectives, the embodiments of the present application adopt the following technical solutions:

[0007] In a first aspect, a method for adjusting the brightness of a display screen is provided, the method comprising: a display driver of an electronic device controls a display driver chip to refresh a picture to the display screen at a refresh rate in a first queue; wherein the first queue is a first-type refresh rate queue or a second-type refresh rate queue, the first-type refresh rate queue is a refresh rate queue in which the refresh rates are distributed from high to low and include at least two refresh rates, and the second-type refresh rate queue is a refresh rate queue in which the last refresh rate has a refresh rate value and the refresh rates before the last refresh rate are empty; the display driver receives a dimming instruction; wherein the dimming instruction indicates to adjust the brightness of the display screen; in response to receiving the dimming instruction, if the first queue is a first-type refresh rate queue, the display driver controls the display driver chip to refresh the picture to the display screen at a refresh rate of 60 Hz, and then controls the display driver chip to adjust the brightness of the display screen based on the dimming instruction; if the first queue is a second-type refresh rate queue, the display driver controls the display driver chip to adjust the brightness of the display screen based on the dimming instruction.

[0008] Since the first type of refresh rate queue is a refresh rate queue with refresh rates distributed from high to low, when the DDIC refreshes the picture according to the first type of refresh rate queue, the refresh rate may reduce the frequency of TE signal reporting, so it is necessary to turn off the TE signal shielding function and cooperate to implement the TE jump function. Therefore, when working according to the first type of refresh rate queue, there may be TE signals without corresponding refreshes. Therefore, by switching the first type of refresh rate queue to a fixed refresh rate of 60Hz, the TE signal without corresponding refreshes caused by refreshing the picture at the refresh rate in the first type of refresh rate queue will be converted into a TE signal with a corresponding refresh. On this basis, the subsequent issuance of dimming instructions in accordance with the sync TE mode is synchronized with the TE signal with the corresponding refresh, thereby ensuring that the DDIC refresh and dimming instructions are issued synchronously.

[0009] In a possible implementation of the first aspect, the method further includes: in response to receiving a dimming instruction, the display driver starts a timer to count down a first preset time length when the display driver chip starts to refresh the image to the display screen at a 60 Hz refresh rate; after the countdown ends, the display driver controls the display driver chip to refresh the image to the display screen at a refresh rate in the first refresh rate queue. Thus, after the dimming ends, the DDIC is controlled to switch back to the original refresh rate queue to ensure that the DDIC works normally.

[0010] It should be noted that in this application, the display driver responds to receiving the dimming instruction and starts the timer only when the display driver chip starts to refresh the display screen at a 60Hz refresh rate. If the display driver does not receive the dimming instruction or the display driver has adjusted the brightness of the display screen based on the dimming instruction, the display driver will not start the timer to count down even if the display driver chip refreshes the display screen at a 60Hz refresh rate.

[0011] In a possible implementation of the first aspect, in response to receiving a dimming instruction, the method also includes: a display driver determines whether a timer is counting down; wherein, if the timer is counting down, the display driver controls the display driver chip to adjust the brightness of the display screen based on the dimming instruction; if the timer is not counting down, the display driver controls the display driver chip to refresh the display screen at a refresh rate of 60 Hz, and then controls the display driver chip to adjust the brightness of the display screen based on the dimming instruction.

[0012] Since the timer is used to count down and control the switching of the refresh rate queue, on this basis, the display driver responds to the dimming command and first determines whether the timer is counting down, so as to determine whether the refresh rate queue of the DDIC is currently refreshing at a refresh rate of 60Hz. If so, the display driver can directly respond to the dimming command to control the dimming of the DDIC, thereby avoiding the need to repeatedly control the DDIC to switch the refresh rate if the dimming command is frequently received in a short period of time, saving resources.

[0013] In this application, the display driver will start the timer to count down only after receiving the dimming instruction. Therefore, if the display driver does not receive the dimming instruction or has adjusted the brightness of the display screen, then no matter whether the display driver chip brushes the image to the display screen according to the refresh rate in the first refresh rate queue or brushes the image to the display screen according to the refresh rate in the second refresh rate queue, the timer will not count down. Therefore, in this implementation, if the timer is not counting down, the display driver needs to control the display driver chip to adjust the brightness of the display screen based on the dimming instruction after the display driver chip brushes the image to the display screen at a refresh rate of 60Hz.

[0014] In a possible implementation manner of the first aspect, the method further includes: in response to receiving a dimming instruction, if the timer is counting down, the display driver initializes the timer to count down again.

[0015] In a possible implementation of the first aspect, the display driver chip is a display driver chip without a TEI function; before the display driver controls the display driver chip to adjust the brightness of the display screen based on a dimming instruction, the method also includes: the display driver receives a first TE signal, and determines whether the first TE signal is a jump TE signal, wherein the first TE signal is a TE signal generated by the display driver chip that is closest to the time when the dimming instruction is received and has not been processed by the display driver; if the first TE signal is a jump TE signal, the display driver abandons reporting the first TE signal, and then controls the display driver chip to adjust the brightness of the display screen based on the dimming instruction; if the first TE signal is a non-jump TE signal, the display driver controls the display driver chip to adjust the brightness of the display screen based on the dimming instruction.

[0016] When the second DDIC implements the TE jump function, the corresponding TE jump signal has no corresponding refresh image. Therefore, in order to avoid the synchronization of the dimming instruction with the TE jump signal and the lack of synchronization with the refresh image, after determining that the TE signal is a TE jump signal, the second DDIC dimming is controlled after the TE signal is skipped and not reported, thereby ensuring the synchronization of dimming and refresh image.

[0017] In a possible implementation of the first aspect, before determining whether the first TE signal is a jump TE signal, it also includes: the display driver determines whether the time interval between the processing time of the second TE signal and the current time is within a second preset time length; wherein the second TE signal is a TE signal generated by the display driver chip that is closest to the reception time of the dimming instruction and processed by the display driver; if the time interval is within the second preset time length, after the time interval between the processing time of the second TE signal and the current time is greater than the second preset time length, the display driver determines whether the first TE signal is the jump TE signal; if the time interval is not within the second preset time length, the display driver determines whether the first TE signal is a jump TE signal.

[0018] Since the process of judging whether the first TE signal corresponding to the dimming instruction is a jump TE signal requires a certain amount of processing time. Therefore, if the moment of the dimming instruction sent by the upper layer to the display driver is very close to the moment of the first TE signal generated by the DDIC, it is possible that the first TE signal has been generated by the DDIC and processed by the display driver before the judgment process is completed, resulting in the backlight being out of sync with the refresh due to missing the first TE signal. Based on this, by actively deciding to wait for the TE signal that may be missed to be processed before dimming through the time interval and the size of the second preset time length, the phenomenon of missing the TE signal can be avoided, thereby avoiding the problem of the refresh and dimming being out of sync due to the time interval being too close to the TE signal.

[0019] In another possible implementation manner of the first aspect, the second preset duration is determined by a determination time required for the display driver to determine whether the first TE signal is a TE jump signal and a generation cycle of the TE signal.

[0020] In another possible implementation of the first aspect, the display driver controls the display driver chip to adjust the brightness of the display screen based on the dimming instruction, including: when the display driver receives the TE signal generated by the display driver chip, it sends a dimming instruction to the display driver chip to control the display driver chip to adjust the brightness of the display screen.

[0021] In another possible implementation of the first aspect, the method also includes: during the process of the display driver chip adjusting the brightness of the display screen, the display driver receives a refresh rate queue switching instruction, and after the display driver chip waits for the display driver chip to adjust the brightness of the display screen, the display driver responds to the refresh rate queue switching instruction to control the display driver chip to switch the refresh rate queue, thereby avoiding affecting the dimming process.

[0022] In a second aspect, the present application provides an electronic device, which includes: a display screen, a memory, a display driver chip, and one or more processors. The display screen, the memory, and the display driver chip are coupled to the processor. One or more computer program codes are stored in the memory, and the computer program code includes computer instructions. When the processor executes the computer instructions, the electronic device performs the following steps: the display driver controls the display driver chip to refresh the image to the display screen according to the refresh rate in the first queue; wherein the first queue is a first-class refresh rate queue or a second-class refresh rate queue, the first-class refresh rate queue is a refresh rate queue with a refresh rate distribution from high to low and including at least two refresh rates, and the second-class refresh rate queue is a refresh rate queue with a refresh rate value for the last refresh rate and an empty refresh rate before the last refresh rate; the display driver receives a dimming instruction; wherein the dimming instruction indicates to adjust the brightness of the display screen; in response to receiving the dimming instruction, if the first queue is a first-class refresh rate queue, the display driver controls the display driver chip to refresh the image to the display screen according to the 60Hz refresh rate, and then controls the display driver chip to adjust the brightness of the display screen based on the dimming instruction; if the first queue is a second-class refresh rate queue, the display driver controls the display driver chip to adjust the brightness of the display screen based on the dimming instruction.

[0023] Exemplarily, the display driver of the electronic device may be a software code or a software module running in a processor of the electronic device.

[0024] In a possible implementation of the second aspect, when the above-mentioned computer instructions are executed by the processor, the electronic device further performs the following steps: in response to receiving a dimming instruction, the display driver starts a timer to count down to a first preset time length when the display driver chip starts to refresh the image to the display screen at a 60Hz refresh rate; after the countdown ends, the display driver controls the display driver chip to refresh the image to the display screen at a refresh rate in the first type of refresh rate queue.

[0025] In a possible implementation of the second aspect, when the above-mentioned computer instructions are executed by the processor, the electronic device further performs the following steps: the display driver determines whether the timer is counting down; wherein, if the timer is counting down, the display driver controls the display driver chip to adjust the brightness of the display screen based on the dimming instruction; if the timer is not counting down, the display driver controls the display driver chip to refresh the image to the display screen at a refresh rate of 60Hz, and then controls the display driver chip to adjust the brightness of the display screen based on the dimming instruction.

[0026] In a possible implementation manner of the second aspect, when the above-mentioned computer instructions are executed by the processor, the electronic device further performs the following steps: in response to receiving the dimming instruction, if the timer is counting down, the display driver initializes the timer to count down again.

[0027] In a possible implementation of the second aspect, when the above-mentioned computer instructions are executed by the processor, the electronic device further performs the following steps: the display driver receives a first TE signal, and determines whether the first TE signal is a jump TE signal, wherein the first TE signal is a TE signal generated by the display driver chip that is closest to the time when the dimming instruction is received and has not been processed by the display driver; if the first TE signal is a jump TE signal, the display driver abandons reporting the first TE signal, and controls the display driver chip to adjust the brightness of the display screen based on the dimming instruction; if the first TE signal is a non-jump TE signal, the display driver controls the display driver chip to adjust the brightness of the display screen based on the dimming instruction.

[0028] In a possible implementation of the second aspect, when the above-mentioned computer instructions are executed by the processor, the electronic device further performs the following steps: the display driver determines whether the time interval between the processing time of the second TE signal and the current time is within a second preset time length; wherein the second TE signal is a TE signal generated by the display driver chip that is closest to the reception time of the dimming instruction and processed by the display driver; if the time interval is within the second preset time length, after the time interval between the processing time of the second TE signal and the current time is greater than the second preset time length, the display driver determines whether the first TE signal is the jump TE signal; if the time interval is not within the second preset time length, the display driver determines whether the first TE signal is a jump TE signal.

[0029] In a possible implementation of the second aspect, when the above-mentioned computer instructions are executed by the processor, the electronic device further performs the following steps: the second preset duration is determined by the judgment time required for the display driver to determine whether the first TE signal is a jump TE signal and the generation cycle of the TE signal.

[0030] In a possible implementation of the second aspect, when the above-mentioned computer instructions are executed by the processor, the electronic device further performs the following steps: when the display driver receives the TE signal generated by the display driver chip, it sends a dimming instruction to the display driver chip to control the display driver chip to adjust the brightness of the display screen.

[0031] In a possible implementation of the second aspect, when the above-mentioned computer instructions are executed by the processor, the electronic device also performs the following steps: during the process of the display driver chip adjusting the brightness of the display screen, the display driver receives a refresh rate queue switching instruction, and the display driver waits for the display driver chip to adjust the brightness of the display screen, and then responds to the refresh rate queue switching instruction to control the display driver chip to switch the refresh rate queue.

[0032] In a third aspect, the present application provides a computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor in an electronic device, the electronic device executes a display brightness adjustment method as in the first aspect and any possible design thereof.

[0033] In a fourth aspect, the present application provides a computer program product, which, when executed on a computer, enables the computer to execute the method of the first aspect and any possible design thereof. The computer may be the electronic device described above.

[0034] It can be understood that the beneficial effects that can be achieved by the electronic device of any possible design of the second aspect, the computer-readable storage medium of the third aspect, and the computer program product of the fourth aspect can be referred to as the beneficial effects in the first aspect and any possible design of the electronic device, and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS

[0035] Figure 1 A schematic diagram of a refresh rate corresponding to a refresh image method provided in an embodiment of the present application;

[0036] Figure 2 A schematic diagram of an interface of a video scene with bullet screen provided in an embodiment of the present application;

[0037] Figure 3 A schematic diagram of an interface of a video scene without bullet screen provided in an embodiment of the present application;

[0038] Figure 4 A schematic diagram of a DDIC repeated image refresh provided in an embodiment of the present application;

[0039] Figure 5 A schematic diagram of a DDIC image refresh and dimming command being issued out of sync provided in an embodiment of the present application Figure 1 ;

[0040] Figure 6 A schematic diagram of a display screen brightness adjustment method provided in an embodiment of the present application Figure 1 ;

[0041] Figure 7 A schematic diagram of synchronizing DDIC image refresh and dimming instruction issuance provided in an embodiment of the present application Figure 1 ;

[0042] Figure 8 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application;

[0043] Fig. 9 A software structure block diagram of an electronic device provided in an embodiment of the present application;

[0044] Fig.10 A schematic diagram of a display screen brightness adjustment method provided in an embodiment of the present application Figure 2 ;

[0045] Fig.11 A schematic diagram of a dimming principle provided in an embodiment of the present application;

[0046] Fig.12 A schematic diagram of a DDIC image refresh and dimming command being issued out of sync provided in an embodiment of the present application Figure 3 ;

[0047] Fig.13 A schematic diagram of a display screen brightness adjustment method provided in an embodiment of the present application Figure 3 ;

[0048] Fig.14 A schematic diagram of synchronizing DDIC image refresh and dimming instruction issuance provided in an embodiment of the present application Figure 2 ;

[0049] Fig.15 A schematic diagram of a chip system provided in an embodiment of the present application. DETAILED DESCRIPTION

[0050] In order to clearly describe the technical solutions of the embodiments of the present application, some of the terms and technologies involved in the embodiments of the present application are briefly introduced and explained below.

[0051] Frame rate: Also known as frame rate, it is the rate at which bitmap images appear continuously on the display screen in frames, generally measured in frames per second (FPS).

[0052] Refresh rate: It is the number of times the screen is refreshed per second, which can also be called the frame rate of the display screen, measured in Hz. For example, a 60Hz refresh rate means that the display screen can complete 60 refreshes in 1 second. In other words, the refresh rate is a hardware performance parameter of the display screen in an electronic device, which is used to characterize the number of times the display screen can refresh the display screen per second.

[0053] Application display frame rate: The speed at which an application draws the screen (i.e., image data). The application display frame rate can generally be expressed as the number of frames transmitted per second (fps). In other words, the application display frame rate is the rate at which the application outputs image data to the display screen.

[0054] Tearing effect (TE) signal: A signal generated by DDIC to prevent tearing during image display. Tearing refers to the phenomenon that a part of the old and new images are displayed separately when the image is refreshed.

[0055] Adaptive refresh rate technology: dynamically adjust the screen refresh rate according to user usage scenarios (APP operation scenarios) and needs.

[0056] Sending images: The application processor (AP) writes the rendered image data to be displayed into the random access memory (RAM) of the DDIC through the surface flinger (SF).

[0057] Refresh image: DDIC reads the image data to be displayed from RAM according to the refresh rate and refreshes the display to the corresponding display screen.

[0058] The technical solutions of the embodiments of the present application will be described clearly and completely below in conjunction with the drawings in the embodiments of the present application. Among them, in the description of the embodiments of the present application, the terms used in the following embodiments are only for the purpose of describing specific embodiments, and are not intended to limit the present application. In addition, in order to facilitate the clear description of the technical solutions of the embodiments of the present application, in the embodiments of the present application, the words "first", "second" and the like are used to distinguish the same items or similar items with substantially the same functions and effects. It can be understood by those skilled in the art that the words "first", "second" and the like do not limit the quantity and execution order, and the words "first", "second" and the like do not limit certain differences. And, in the description of the embodiments of the present application, unless otherwise specified, the meaning of "multiple" means two or more.

[0059] With the continuous development of display technology for electronic devices (such as mobile phones), more and more display screens that can support multiple refresh rates have emerged. For example, a display screen that uses low-temperature polycrystalline oxide (LTPO) screen technology can support multiple refresh rates such as 120Hz, 90Hz, 60Hz, 40Hz, 30Hz, 10Hz and 1Hz. Among them, 120Hz and 90Hz are the base frequencies of LTPO, and other supported refresh rates are generated on the basis of 120Hz through frame skipping, so that the lowest refresh rate can be 1Hz.

[0060] For example, a refresh rate of 120 Hz means that the display screen can be refreshed 120 times in 1 second, so 120 Hz refreshes a frame of image in a cycle of 8.3 ms (milliseconds), and the image of each cycle is an active frame. Figure 1 The 120Hz corresponding diagram is shown in the figure. Among them, the active frame can be understood as the image frame sent from the upper layer SF to the lower layer DDIC.

[0061] Then, the principle of achieving a 60Hz refresh rate based on 120Hz is to use the same 8.3ms cycle, but each active frame is followed by a hold frame. A hold frame is when DDIC keeps one frame without refreshing after refreshing an active frame. It can be understood that the hold frame has no corresponding image content. That is, at a 60Hz refresh rate, there is an active frame every 16.6 milliseconds. Figure 1 As shown in the figure below, compared with refreshing an active frame in a cycle of 8.3ms, DDIC implements frame skipping by refreshing one frame and stopping one frame (commonly known as scan 1 stop 1), which extends the refresh time interval between two active frames by half, thus achieving a 60Hz refresh rate on the basis of 120Hz.

[0062] Similarly, to achieve 30Hz based on 120Hz, each active frame will be followed by 3 hold frames, commonly known as scan 1 stop 3, refer to Figure 1 30Hz corresponds to the figure. To achieve 10Hz at 120Hz, each active frame is followed by 11 hold frames, commonly known as scan 1 stop 11. To achieve 1Hz at 120Hz, each active frame is followed by 119 hold frames, commonly known as scan 1 stop 119.

[0063] The higher the refresh rate of a display, the higher the display frame rate it can support, and the corresponding picture display is smoother. The lower the refresh rate of a display, the lower the display frame rate it can support, but it can save more power. Therefore, in order to ensure smooth pictures while saving as much power as possible, adaptive refresh rate technology has emerged.

[0064] That is, usually when running a high frame rate application or sliding operation, the display screen is adaptively set to a high refresh rate by issuing a refresh rate switching instruction to the DDIC. Conversely, when running a low frame rate application, the display screen is adaptively set to a low refresh rate by issuing a refresh rate switching instruction to the DDIC.

[0065] Exemplary, if it is detected that the current running scene of the APP in the electronic device is a high frame rate game scene or a fast sliding scene, in order to improve the smoothness of the game screen or the screen sliding, a refresh rate switching instruction is sent to the DDIC via the display driver to switch the refresh rate of the display screen to a high refresh rate that can match the high frame rate game scene or the fast sliding scene. Assuming that the refresh rate of the current display screen is 60Hz, when it is detected that the APP running scene has changed and the refresh rate needs to be increased (for example, running a high frame rate game), the display driver can send a refresh rate switching instruction to the DDIC to switch the refresh rate to 120Hz. When it is detected that the APP running scene has changed and the refresh rate needs to be reduced (for example, exiting a high frame rate game), the refresh rate switching instruction can be sent to the DDIC through the display driver to switch the refresh rate from 120Hz back to 60Hz.

[0066] It can be seen that compared with the display screen that can only support one refresh rate in the past, the display screen that can support multiple refresh rates can adapt to more APP operation scenarios based on actual application conditions, thereby ensuring smooth picture while saving power consumption.

[0067] However, many apps are currently developed by third parties and are configured to run in electronic devices by downloading and installing. Therefore, there will be compatibility issues between electronic devices and apps. When the compatibility is high, the upper layer of the electronic device can distinguish the running scenarios of the apps very well, so that the refresh rate switching instructions can be directly issued based on the running scenarios to control the lower layer DDIC to switch the refresh rate that matches the running scenarios to implement adaptive refresh rate technology.

[0068] However, when the compatibility between electronic devices and apps is low, the upper layer of the electronic device may not be able to distinguish the app running scenarios well, and thus cannot accurately issue refresh rate switching instructions to the lower layer DDIC based on the running scenarios to switch the refresh rate to match the app running scenarios, resulting in increased power consumption. In other words, traditional adaptive refresh rate technology cannot adapt to situations where the running scenarios cannot be distinguished, and thus cannot reduce the refresh rate of the DDIC when the running scenarios cannot be distinguished, resulting in unnecessary increase in power consumption.

[0069] For example, take a short video APP with a bullet screen function as an example. In the video playback scenario with bullet screen, the short video APP refers to Figure 2 In order to ensure the smoothness of the bullet screen, the display frame rate required by the APP is generally 60Hz. Correspondingly, the refresh rate of the display screen must be adapted to 60Hz to keep the smoothness of the bullet screen running and display. In the video playback scenario without bullet screen, refer to Figure 3 In order to reduce power consumption, the APP display frame rate is generally adapted to 30Hz to ensure smooth video playback. Therefore, when the running scene in the short video APP switches from a video with bullet screen to a video without bullet screen, the SF module on the AP side can reduce the drawing rate to 30Hz based on the 30Hz display frame rate required by the short video APP. However, due to the background adaptability issues, the electronic device and the short video APP cannot distinguish whether the current video scene has bullet screens well, and thus cannot accurately issue a refresh rate switching instruction to the lower-level DDIC to switch to a 30Hz refresh rate when the running scene of the short video APP is switched to a video without bullet screen. Therefore, after the upper-level SF has reduced the drawing rate to 30Hz, so that the picture sending frequency has been reduced to 30Hz accordingly, the lower-level DDIC still refreshes the picture at a 60Hz refresh rate, which increases unnecessary power consumption.

[0070] The following introduces the above problems in combination with SF drawing and sending, as well as DDIC drawing process:

[0071] refer to Figure 4, the rectangles marked with numbers 1, 2, 3, and 4 represent the 1st frame image, the 2nd frame image, the 3rd frame image, and the 4th frame image, respectively. Among them, the 1st frame image and the 2nd frame image are images drawn at a display frame rate of 60Hz (corresponding to the bullet screen video scene of the short video APP). That is, the time interval between drawing, sending, and refreshing the images of the 1st frame image and the 2nd frame image is two cycles of 16.6ms. When the short video APP switches to the non-bullet screen video scene, SF reduces the drawing rate to 30Hz according to the 30Hz display frame rate requirement of the non-bullet screen video scene, and completes the drawing and sending of the 3rd and 4th frames at a rate of 30Hz. That is, the time interval between drawing, sending, and refreshing the images of the 3rd and 4th frames is four cycles of 33.3ms. However, since the upper layer of the electronic device cannot distinguish the scene at this time and send the instruction to switch to 30Hz refresh rate to DDIC, DDIC still uses 60Hz refresh rate to refresh the image. Therefore, in the interval when the upper SF does not send images, because no new images (active frames) are transmitted, the DDIC repeatedly refreshes the third and fourth frames (as shown in the rectangle with diagonal lines), thereby increasing unnecessary power consumption.

[0072] In order to solve the problem of unnecessary power consumption increase caused by failure to distinguish APP running scenarios and failure to accurately issue refresh rate switching instructions to DDIC to reduce refresh rate, a new adaptive refresh rate method has emerged, and an image display method based on the new adaptive refresh rate method has been proposed.

[0073] The main implementation principle of the image display method is: the upper layer of the electronic device dynamically configures the refresh rate queue SEQ for DDIC based on the data structure of the queue (sequeue, SEQ) used to configure the refresh rate in DDIC, according to the display frame rate of the APP displayed on the display screen and the minimum refresh rate of the display screen. Among them, the refresh rate queue can be a first-class refresh rate queue including refresh rates distributed from high to low, or a second-class refresh rate queue in which the last refresh rate is equal to the display frame rate and the refresh rates before the last refresh rate are all empty. Then, when the display driver controls DDIC to refresh the display screen based on the configured first-class refresh rate queue, the display driver sends a refresh rate switching instruction to DDIC according to the picture sending frequency of the SF module on the upper AP side to control DDIC to switch the refresh rate in the configured first-class refresh rate queue. When DDIC switches from a high refresh rate to a low refresh rate based on the picture sending frequency, the refresh rate is adaptively reduced, thereby achieving the effect of reducing unnecessary power consumption.

[0074] Specifically, SEQ can be understood as a functional module in DDIC that provides users with refresh rate configuration. Based on the type of DDIC, the length that its queue can support is different. In other words, the length of the refresh rate queue SEQ configured for DDIC depends on the type of DDIC.

[0075] For example, the two DDICs, model 37900 and model 37701A, which are currently the most commonly used in electronic devices, are used as examples. Model 37900 DDIC is a DDIC with a tearing interposition (TEI) function (hereinafter referred to as the first DDIC), and the queue length it can support is 5. That is, the refresh rate queue SEQ of the first DDIC can include 5 queue values, which is equivalent to SEQ=[SEQ1, SEQ2, SEQ3, SEQ4, SEQ5] of the first DDIC. Model 37701A DDIC is a DDIC without a tearing interposition (TEI) function (hereinafter referred to as the second DDIC), and the queue length it can support is 4, that is, SEQ in the second DDIC can include 4 queue values, which is equivalent to SEQ=[SEQ1, SEQ2, SEQ3, SEQ4] of the second DDIC.

[0076] Among them, the electronic device takes a mobile phone as an example. For a mobile phone with only a single display screen, the display screen can apply DDIC of model 37701A or DDIC of model 37900 according to actual needs. For a mobile phone with two displays, such as a folding mobile phone, according to the different requirements of the inner screen (the display screen for users to operate when the folding mobile phone is unfolded) and the outer screen (the display screen for users to operate when the folding mobile phone is folded), you can choose to apply the first DDIC and / or the second DDIC. For example, the existing inner screen often uses DDIC of model 37900, and the outer screen often uses DDIC of model 37701A.

[0077] Each queue value in the refresh rate queue SEQ (such as SEQ i, i=1, 2…n, n=4 or n=5) can be set to a different refresh rate, and different refresh rates correspond to different refresh modes. DDIC refreshes the picture according to SEQ, which means that it refreshes the picture according to the refresh rate corresponding to SEQ, which is equivalent to working at the refresh rate. For example, if a queue value in SEQ of DDIC is set to a 60Hz refresh rate, when DDIC works according to the queue value 60Hz, DDIC refreshes the picture in a scan 1 stop 1 manner, thereby achieving a 60Hz refresh rate. If the queue value in SEQ is set to 30Hz, when DDIC works according to the queue value 30Hz, DDIC refreshes the picture in a scan 1 stop 3 manner, thereby achieving a 30Hz refresh rate. And, each SEQ i in the refresh rate queue SEQ can be switched in the order of entering the queue. At the same time, each refresh rate SEQi in the refresh rate queue SEQ in DDIC can only be switched in sequence according to the queue order. And the restriction cannot jump to switch, but can directly switch to SEQ1. That is, DDIC can only switch from SEQ1 to SEQ2, and from SEQ2 to SEQ3, but cannot directly switch from SEQ1 to SEQ3, let alone from SEQ3 to SEQ1. However, it can directly switch from SEQ3 or SEQ2 to SEQ1.

[0078] Based on this, in order to realize adaptive reduction of refresh rate to save unnecessary power consumption when the operation scene cannot be distinguished, the image display method configures a refresh rate queue SEQ with refresh rates distributed from high to low for DDIC through dynamic configuration. For example, the first refresh rate SEQ1 in the refresh rate queue SEQ is set to a high refresh rate, and other refresh rates are set to low refresh rates lower than the first refresh rate SEQ1.

[0079] For example, taking the SEQ of the first DDIC as an example, SEQ1 is set to a high refresh rate, and SEQ2, SEQ3, SEQ4, and SEQ5 are set to a low refresh rate. For example, SEQ1 is set to 60 Hz, and SEQ2, SEQ3, SEQ4, and SEQ5 are set to 30 Hz.

[0080] Then, DDIC refreshes the image in the refresh rate queue SEQ configured for the upper-layer application based on the running scenario. The refresh process is as follows: DDIC first works in the refresh mode corresponding to the first refresh rate SEQ1 in the queue. While refreshing the image, the display driver determines whether the upper layer has stable image delivery based on the TE signal generated by DDIC and reported to the upper-layer SF.

[0081] In display technology, generally speaking, when DDIC reports a TE signal, it will get a frame of image sent from the upper layer. Therefore, if the corresponding image is not obtained after reporting the TE signal, it means that the SF module may reduce the speed of drawing and sending images according to the display frame rate of the APP running scene (for example, when the display frame rate required by the APP drops from 60Hz to 30Hz after the barrage is completed or closed). In other words, the upper-layer SF currently has no new images that need to be sent for display, so it does not respond to the TE signal reported by DDIC to send images. At this time, if DDIC still works at the refresh rate corresponding to SEQ1, repeated image refresh will occur, resulting in the problem of unnecessary power consumption.

[0082] Therefore, when the display driver determines that there is an unsent image in the upper SF according to the TE signal, it controls the DDIC to switch to the next refresh rate according to the order of the refresh rates SEQi in the refresh rate queue SEQ. For example, switch from SEQ1 to SEQ2. Then the DDIC refreshes the image according to the currently switched refresh rate, that is, the image is refreshed according to the refresh rate corresponding to the currently switched SEQi.

[0083] SEQ2, SEQ3, SEQ4 and SEQ5 are also switched in the same way when it is determined that the upper SF does not send pictures, until they switch to the last SEQ4 or SEQ5, and keep refreshing the pictures at the refresh rate corresponding to the last SEQ4 or SEQ5.

[0084] However, after DDIC reduces the refresh rate, the number of hold frames for DDIC to refresh images will increase. And if the upper layer SF resumes sending images, it will still send images at the original frequency. That is, the frequency of SF sending images after resuming sending images will be higher than the refresh rate of DDIC's current image refresh. Therefore, if the upper layer resumes sending images at this time, the image sent may correspond to the active frame of DDIC or the hold frame. However, if the hold frame corresponds to the moment when DDIC does not refresh images, if the image sent by SF corresponds to the hold frame, it may cause DDIC to be unable to respond to the refresh immediately, and then the new image sent by the upper layer will not be displayed immediately on the display. Therefore, in order to ensure that DDIC can immediately respond to the upper layer SF sending images for refreshing, it is necessary to ensure that the SF sending images corresponds to the active frame of DDIC. Therefore, when DDIC stipulates that it can only jump to SEQ1, the display driver needs to immediately control DDIC to switch back to the first refresh rate SEQ1 when receiving SF sending images.

[0085] In addition, in display technology, the TE signal is generated by the DDIC, and the upper SF usually sends images based on the TE signal reported by the lower display driver. That is, the image sending frequency of the upper SF module is equivalent to the reporting frequency of the TE signal. Therefore, the frequency of the TE signal reported by the display driver needs to be consistent with the working frame rate of the upper SF module (software frame rate synchronization requirement).

[0086] When the refresh rate of the traditional DDIC is directly controlled by the upper layer, the frequency of its reported TE signal usually corresponds to the currently used refresh rate, thereby ensuring consistency with the upper layer frame rate. However, when the adaptive refresh rate method uses the display driver to control the DDIC to achieve adaptive reduction of the refresh rate with the configured refresh rate queue SEQ, once the DDIC switches from a high refresh rate to a low refresh rate, the corresponding frequency of the reported TE signal will change with the switching of the refresh rate. Then, in the case where the upper layer simply does not respond to the TE signal to send the image, but does not actually reduce the working frame rate, if the TE signal is reported according to the low refresh rate after the switch, the frequency of the TE signal reporting will be out of sync with the working frame rate of the upper layer, which violates the software frame rate synchronization requirement.

[0087] Therefore, in this adaptive refresh rate method, in order to meet the software frame rate synchronization requirements, in the process of DDIC realizing adaptive reduction of refresh rate with the first type of refresh rate queue, the display driver needs to synchronously control DDIC to turn off the TE MASK function, and report the TE signal generated by DDIC based on the upper-layer SF working frame rate, that is, to realize the TE jump function.

[0088] Among them, TE MASK is a function in DDIC that is used to shield the TE signal in the refresh rate SEXi. When the TEMASK function is turned on, the TE signal in the middle of each SEXi will be shielded, that is, the TE signals corresponding to all the hold frames in SEXi will be shielded, and the shielded TE signals cannot be reported. When the TE MASK function is turned off, DDIC will generate a TE signal at a frequency of 120Hz and report it to the display driver and the upper SF.

[0089] The TE skipping function means reporting a TE signal to SF at intervals of one TE signal, which is equivalent to skipping some TE signals that need to be reported. The TE signal that is not reported can be called a TE skipping signal. For example. Because the DDIC will generate a TE signal at a frequency of 120Hz after the TE MASK function is turned off, when the upper layer working frame rate is 120Hz, the display driver can not implement the TE skipping function, and directly report the TE signal generated by the DDIC to the upper layer SF at a frequency of 120Hz to ensure that the frequency of reporting TE is synchronized with the software frame rate. When the upper layer working frame rate is not 120Hz, the TE skipping function needs to be implemented so that the frequency of TE signal reporting is consistent with the upper layer SF working frame rate, so as to meet the software frame rate synchronization requirements.

[0090] The implementation method of the TE jump function is determined by whether the DDIC has a TEI function (a hardware function for implementing TE jump in the DDIC). For a DDIC with a TEI function, such as the first DDIC, since its hardware has a TEI function, the TE jump function can be directly implemented through the TEI function of the DDIC. If the TE jump function needs to be implemented, it is only necessary to send an instruction to the DDIC to control the initialization of the register corresponding to the TEI function.

[0091] For DDICs without TEI function, such as the second DDIC, since its hardware is not equipped with TEI function, the display driver mainly implements the TE jump function through software program control. That is, the display driver implements the TE jump function by reporting one TE signal to the upper SF at intervals for the TE signal generated by the second DDIC. For example, when the working frame rate of the upper SF is 60Hz, the reporting rate of the TE signal needs to be 60Hz. Then after the TE MASK function is turned off, the TE signal cannot be reported to the upper SF at 120Hz. The display driver generates a TE signal at a refresh rate of 120Hz in DDIC, and reports a TE signal to the upper SF at intervals, so that the reporting rate of the TE signal is 60Hz, thereby ensuring synchronization with the working frame rate of the upper layer.

[0092] It can be seen that in this image display method, in order to meet the software frame rate synchronization requirements specified by the display technology, the TE signal reporting frequency is synchronized with the upper-layer software frame rate. When the DDIC refreshes the image based on the first-class refresh rate queue, if the display driver determines that the image delivery frequency of the upper-layer SF has decreased and reduces the refresh rate of the DDIC, it will still control the DDIC to generate a TE signal according to the original refresh rate and report it to the SF. Therefore, there may be some TE signals in the TE signals reported by the display driver that the upper-layer SF does not respond to the image delivery, and the corresponding TE signals do not have corresponding image refreshes.

[0093] However, in display technology, in order to ensure that the brightness of the LED type display screen matches the brightness required for image display, and to avoid flickering caused by the image display being too dark or too bright. DDIC image brushing usually needs to be synchronized with dimming (adjusting the brightness of the display screen). In addition, because DDIC mainly interacts with the upper layer through TE signals to obtain the image for brushing, it is equivalent to the TE signal being synchronized with the DDIC image brushing. Therefore, in order to achieve the synchronization of DDIC image brushing and dimming, the dimming instruction is mainly issued through Qualcomm's sync (synchronous) TE method. Specifically, when the dimming instruction received by the display driver from the upper layer is located between two TE signals, that is, the dimming instruction issued by the upper layer is received when the previous TE signal has been reported and the next TE signal has not arrived, the display driver will control the dimming instruction to take effect when the next TE signal arrives. In other words, the display driver will wait for the next TE signal to arrive and respond to the dimming instruction to control the DDIC to dim.

[0094] Therefore, when there is a TE signal without a corresponding refresh in the existing image display method, it is easy to cause a dimming instruction based on the sync TE mode. Even if the dimming instruction corresponds to the TE signal, it does not meet the DDIC refresh and dimming synchronization requirements because there is no corresponding refresh, resulting in a flickering display problem.

[0095] At the same time, in the image display method, for DDIC without TEI function, there is also a situation where the display driver software controls the skipping of TE signals and does not report them. That is, for DDIC without TEI function, the display driver will control the skipping of the TE signals generated by it and not report them to the upper SF module through the software program. Therefore, when some TE signals are skipped and abandoned by the display driver and become skipped TE signals, it means that there will be no corresponding image refresh for the TE signals.

[0096] However, because the upper layer of the display driver cannot know which TE signal the display driver will control to become the jump TE signal, the dimming instruction sent by the upper layer to the display driver may easily take effect synchronously with the jump TE signal without refreshing because it arrives before the jump TE signal.

[0097] Therefore, in summary, in the existing image display method, there is not only the problem that although the TE signal is reported to the upper SF, there is no corresponding refresh image because the upper SF does not respond to the image. There is also the problem that the TE signal is skipped and not reported to become a jump TE signal, resulting in no corresponding refresh image. Therefore, on this basis, if the dimming command is still issued in the sync TE mode, it is easy to synchronize the dimming command with the two TE signals, thereby causing the dimming and DDIC refresh image to be out of sync, resulting in flickering of the display. Reference Figure 5, which is a schematic diagram of a DDIC image refresh and dimming instruction issuance being asynchronous, provided by taking a second DDIC without a TEI function as an example in this embodiment.

[0098] In some embodiments, in order to solve the display flicker problem caused by the DDIC image refresh and dimming instruction being sent out synchronously with the brushless image TE signal. Figure 5 The embodiment of the present application provides a display brightness adjustment method, which is applied to an electronic device, wherein the electronic device includes a display and a display driver chip DDIC corresponding to the display. The DDIC may be a first DDIC with a TEI function or a second DDIC without a TEI function.

[0099] Specifically, refer to Figure 6 When the display driver of the electronic device controls the DDIC to refresh the display screen according to the refresh rate in the first queue, if the display driver receives a dimming instruction (an instruction for instructing to adjust the brightness of the display screen), the display driver responds to the dimming instruction to dim the display screen based on the type of refresh rate queue currently used by the DDIC to refresh the image, that is, based on the first queue.

[0100] Among them, the first queue is a first refresh rate queue or a second refresh rate queue. The first refresh rate queue is a refresh rate queue in which the refresh rate is distributed from high to low and includes at least two refresh rates, and can also be called an adaptive SEQ. The second refresh rate queue is a refresh rate queue in which the last refresh rate has a refresh rate value, and the refresh rate before the last refresh rate is empty. That is, the last queue value in the second refresh rate queue has a corresponding refresh rate, and the refresh rates of other queue values ​​are empty. The second refresh rate queue can also be called a fixed SEQ. And, the dimming instruction can be an instruction automatically issued to the display driver when the display brightness needs to be adjusted according to the ambient light brightness. It can also be an instruction automatically issued to the display driver by the electronic device according to actual needs, such as when the display brightness needs to be adjusted to reduce power consumption. It can also be an instruction received by the user when operating the brightness adjustment button on the display.

[0101] If the first queue is the first refresh rate queue, the display driver needs to control DDIC to switch from the first refresh rate queue to the 60Hz refresh rate first, that is, the display driver first controls DDIC to refresh the display screen at the 60Hz refresh rate, and then controls DDIC to dim the display screen based on the dimming instruction to adjust the brightness of the display screen. In addition, after the dimming is completed, in order to ensure that DDIC refreshes the image normally, the display driver needs to control DDIC to switch back from the 60Hz refresh rate to the original first refresh rate queue. That is, control DDIC to refresh the image to the display screen at the refresh rate in the first refresh rate queue.

[0102] The first queue is the second refresh rate queue. The display driver can determine that there is no TE signal of the brushless image at this time, and can directly respond to the dimming instruction to control the DDIC to dim the display screen.

[0103] Exemplary, reference Figure 7 , by switching the first refresh rate queue of DDCI to a fixed refresh rate of 60Hz, the TE signal without a corresponding refresh image caused by refreshing the image at a refresh rate of 30Hz in the first refresh rate queue will be converted into a TE signal with a refresh image. That is, after switching the refresh rate from 30Hz to 60Hz, the refresh mode is switched from scan 1 stop 3 to scan 1 stop 1, and the TE signal that originally corresponds to the hold frame but has no refresh image is converted into a TE signal that corresponds to the active frame and has a corresponding refresh image. Then, the subsequent issuance of the dimming command in accordance with the sync TE mode on this basis is synchronized with the TE signal with a refresh image, thereby ensuring that the issuance of the DDIC refresh image and the dimming command is synchronized.

[0104] In some embodiments, the display driver responds to the dimming instruction to control the display driver chip to adjust the brightness of the display screen in accordance with the traditional Qualcomm sync TE method. That is, when the display driver receives the TE signal generated by the DDIC, it sends the dimming instruction to the display driver chip to ensure that the dimming instruction is synchronized with the TE signal, thereby controlling the dimming of the display driver chip.

[0105] Exemplary, reference Figure 8 , is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application.

[0106] The electronic device 100 may include at least one of a mobile phone, a foldable electronic device (foldable mobile phone), a tablet computer, a desktop computer, a laptop computer, a handheld computer, a notebook computer, an ultra-mobile personal computer (UMPC), a netbook, a cellular phone, a personal digital assistant (PDA), an augmented reality (AR) device, a virtual reality (VR) device, an artificial intelligence (AI) device, a wearable device, an in-vehicle device, a smart home device, or a smart city device. The embodiment of the present application does not impose any special restrictions on the specific type of the electronic device 100.

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

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

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

[0110] The processor 110 can generate an operation control signal according to the instruction operation code and the timing signal to complete the control of fetching and executing instructions.

[0111] The processor 110 may also be provided with a memory for storing instructions and data. In some embodiments, the memory in the processor 110 may be a cache memory. The memory may store instructions or data that have been used or are frequently used by the processor 110. If the processor 110 needs to use the instruction or data, it may be directly called from the memory. This avoids repeated access, reduces the waiting time of the processor 110, and thus improves the efficiency of the system.

[0112] In some embodiments, the processor 110 may include one or more interfaces. The interface may include an inter-integrated circuit (I2C) interface, an inter-integrated circuit sound (I2S) interface, a pulse code modulation (PCM) interface, a universal asynchronous receiver / transmitter (UART) interface, a mobile industry processor interface (MIPI), a general-purpose input / output (GPIO) interface, a subscriber identity module (SIM) interface, and / or a universal serial bus (USB) interface, etc. The processor 110 may be connected to a touch sensor, an audio module, a wireless communication module, a display, a camera, and other modules through at least one of the above interfaces.

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

[0114] The external memory interface 120 can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the electronic device 100. The external memory card communicates with the processor 110 through the external memory interface 120 to implement a data storage function. For example, files such as music and videos are stored in the external memory card. Or files such as music and videos are transferred from the electronic device to the external memory card.

[0115] The internal memory 121 can be used to store computer executable program codes, which include instructions. The internal memory 121 may include a program storage area and a data storage area. Among them, the program storage area may store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc. The data storage area may store data created during the use of the electronic device 100 (such as audio data, a phone book, etc.), etc. In addition, the internal memory 121 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, a universal flash storage (UFS), etc. The processor 110 executes various functional methods or data processing of the electronic device 100 by running instructions stored in the internal memory 121, and / or instructions stored in a memory provided in the processor.

[0116] The charging management module 140 is used to receive a charging input from a charger to charge the battery 142 .

[0117] The power management module 141 is used to connect the battery 142, the charging management module 140 and the processor 110. The power management module 141 receives input from the battery 142 and / or the charging management module 140, and supplies power to the processor 110, the internal memory 121, the display screen 194, the camera module 193, and the wireless communication module 160. The power management module 141 can also be used to monitor parameters such as battery capacity, battery cycle number, battery health status (leakage, impedance), etc. In some other embodiments, the power management module 141 can also be set in the processor 110. In other embodiments, the power management module 141 and the charging management module 140 can also be set in the same device.

[0118] The wireless communication function of the electronic device 100 can be implemented through the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, the modem processor and the baseband processor.

[0119] The antenna 1 and the antenna 2 are used to transmit and receive electromagnetic wave signals. The mobile communication module 150 can provide a solution for wireless communication including 2G / 3G / 4G / 5G etc. applied to the electronic device 100.

[0120] The wireless communication module 160 can provide wireless communication solutions for application in the electronic device 100, including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), Bluetooth (BT), Bluetooth low energy (BLE), ultra wide band (UWB), global navigation satellite system (GNSS), frequency modulation (FM), near field communication technology (NFC), infrared technology (IR), etc.

[0121] In some embodiments, antenna 1 of electronic device 100 is coupled to mobile communication module 150, and antenna 2 is coupled to wireless communication module 160, so that electronic device 100 can communicate with a network and other electronic devices through wireless communication technology.

[0122] The electronic device 100 can realize the display function through a GPU, a display screen 194, and an application processor. The GPU is a microprocessor for image processing, which connects the display screen 194 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. The processor 110 may include one or more GPUs, which execute program instructions to generate or change display information.

[0123] The display screen 194 is used to display images, videos, etc. The display screen 194 includes a display panel. In the embodiment of the present application, the display panel can be an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode or an active-matrix organic light-emitting diode (AMOLED), a flexible light-emitting diode (FLED), Miniled, MicroLed, Micro-oLed, a quantum dot light-emitting diode (QLED), etc.

[0124] In some embodiments, the electronic device 100 may include one or more display screens 194. According to actual needs, different display screens may be controlled by different DDICs. Exemplarily, the electronic device 100 includes a first DDIC with a TEI function and a second DDIC without a TEI function. The first DDIC may control the first display screen, and the second DDIC may control the second display screen.

[0125] The electronic device 100 can realize the camera function through the camera module 193, ISP, video codec, GPU, display screen 194, application processor AP, neural network processor NPU, etc.

[0126] The electronic device 100 can implement audio functions such as music playing and recording through the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the headphone jack 170D, and the application processor.

[0127] refer to Fig. 9 , which is a software structure block diagram of the electronic device 100 according to an embodiment of the present application. Fig. 9 At the same time, a schematic diagram of system-level interaction of an existing image display method is shown by taking the first DDIC as an example.

[0128] The layered architecture divides the software into several layers, each with clear roles and division of labor. The layers communicate with each other through software interfaces. In some embodiments, the Android system is divided into four layers, from top to bottom: application layer (applications), application framework layer (application framework), hardware abstract layer (HAL) and kernel layer (kernel).

[0129] The application layer can include a series of application packages. Application packages can include desktop, games, camera, gallery, calendar, call, map, navigation, WLAN, Bluetooth, music, video, short message and other APPs.

[0130] The application framework layer provides application programming interface (API) and programming framework for the applications in the application layer. The application framework layer includes some predefined functions. Fig. 9 As shown, in the embodiment of the present application, the application framework layer includes a refresh rate decision module.

[0131] The hardware abstraction layer runs in user space, encapsulates kernel layer drivers, and provides a calling interface to the upper layer. Fig. 9As shown, the hardware abstraction layer of the embodiment of the present application includes a hardware abstraction layer interface definition language (HIDL) interface, a SF module and a hardware composer (HWC). The HWC has the function and ability to combine and display image data using hardware.

[0132] The kernel layer is the layer between hardware and software, such as Fig. 9 As shown. Specifically in the embodiment of the present application, the kernel layer at least includes a display driver. The hardware involved may include a DDIC and a display panel. The display driver is used to drive the DDIC to complete the processing and implementation of the display. Among them, for a foldable electronic device (for example, a foldable mobile phone including two display screens, an inner screen and an outer screen), Figure 2 The first DDIC and the second DDIC, as well as the first panel and the second panel corresponding to the two DDICs are shown. Of course, the method provided in the embodiment of the present application can also be applied to an electronic device including only one display screen. Regardless of how many display screens the electronic device includes, the refresh rate switching method provided in the embodiment of the present application can be applied to each display screen of the electronic device and its corresponding DDIC.

[0133] In some embodiments, because the DDIC receives a dimming instruction when refreshing the image at the refresh rate in the first refresh rate queue, it is necessary to first switch the first refresh rate queue to a 60Hz refresh rate, and switch back to the first refresh rate queue after the dimming is completed. Therefore, if the dimming instruction is frequently received in a short period of time, it is necessary to repeatedly control the DDIC to switch the refresh rate, which not only affects the efficiency of the DDIC refresh but also wastes resources. Based on this, an embodiment of the present application sets a timer for countdown. Once an event occurs in which the first refresh rate queue of the DDIC is switched to a 60Hz refresh rate during the dimming process, that is, after the display driver chip starts to refresh the image to the display screen at a 60Hz refresh rate, the display driver controls the timer to start the countdown for the first preset duration. Among them, the countdown time can be set according to actual needs, for example, 300ms.

[0134] At the same time, the countdown is ended to trigger the display driver to switch the refresh rate queue of DDIC back to the original first-class refresh rate queue. That is, after the countdown ends, the display driver controls DDIC to refresh the image to the display screen according to the refresh rate in the first-class refresh rate queue.

[0135] Therefore, as long as the display driver responds to the dimming instruction, it is first determined whether the timer is counting down, and then it can be determined whether the refresh rate queue of the DDIC is currently refreshing at a 60Hz refresh rate. If so, the display driver can directly respond to the dimming instruction to control the DDIC dimming. If it is determined that the timer is not counting down, indicating that the current DDIC is not refreshing at a 60Hz refresh rate, then after controlling the display driver chip to refresh the display at a 60Hz refresh rate, the display driver chip is controlled based on the dimming instruction to adjust the brightness of the display.

[0136] It should be noted that in the embodiment of the present application, the display driver responds to receiving the dimming instruction and starts the timer only when the display driver chip starts to refresh the display screen at a 60Hz refresh rate. In other words, if the display driver does not receive the dimming instruction or the display driver has adjusted the brightness of the display screen based on the dimming instruction, even if the display driver chip refreshes the display screen at a 60Hz refresh rate, the display driver will not start the timer to count down.

[0137] Therefore, if the display driver does not receive the dimming command or has adjusted the brightness of the display screen, the timer will not count down regardless of whether the display driver chip refreshes the display screen at the refresh rate in the first refresh rate queue or the refresh rate in the second refresh rate queue. Therefore, if the timer is not counting down, the display driver needs to control the display driver chip to adjust the brightness of the display screen based on the dimming command after the display driver chip refreshes the display screen at a refresh rate of 60Hz.

[0138] In some embodiments, in order to ensure that the buffer time reserved between each dimming is consistent, as long as the display driver receives a dimming instruction again before the timer countdown ends, the display driver will respond to the dimming instruction and initialize the timer to count down again. At the same time, after the timer countdown ends, in order to ensure the normal image refresh work of DDIC, the display driver controls DDIC to switch back to the original first refresh rate queue.

[0139] In some embodiments, in order to solve the problem of the asynchronism between dimming and image refreshing caused by the second DDIC software jumping TE without TEI function, that is, to avoid Figure 5 The embodiment of the present application provides another display screen brightness adjustment method. The display screen brightness adjustment method is applied to an electronic device including a second DDIC.

[0140] refer to Fig.10The display brightness adjustment method provided in the embodiment of the present application mainly adds a step for the display driver to determine whether the TE signal (hereinafter referred to as the first TE signal) generated by the DDIC that is closest to the dimming instruction time and has not been processed by the display driver is a jump TE signal before the step of controlling the display driver chip to adjust the brightness of the display based on the dimming instruction.

[0141] Among them, the non-jumping TE signal is the TE signal reported to SF, and correspondingly, the jumping TE signal is the TE signal that is not reported to SF. When DDIC refreshes the display screen according to the refresh rate in the first refresh rate queue, the TE signal masking (TEMASK) function will be turned off. After the TE MASK function is turned off, DDIC will generate a TE signal at a frequency of 120Hz. In order to make the frequency of TE signal reporting consistent with the upper SF working frame rate to meet the software frame rate synchronization requirements, the jumping TE function will be implemented synchronously, and then a non-jumping TE signal and a jumping TE signal will be generated. When the upper working frame rate is 120Hz, the display driver can not implement the jumping TE function, and directly report the TE signal generated by DDIC to the upper SF at a frequency of 120Hz, which is a non-jumping TE signal. When the upper working frame rate is not 120Hz, it is necessary to implement the jumping TE function so that the frequency of TE signal reporting is consistent with the upper SF working frame rate, thereby generating a non-jumping TE signal and a jumping TE signal.

[0142] For the second DDIC without TEI function, since its hardware is not equipped with TEI function, the TE jump function is mainly realized by the display driver through software program control. That is, the display driver realizes the TE jump function by reporting one TE signal to the upper SF at intervals for the TE signal generated by the second DDIC. For example, when the working frame rate of the upper SF is 60Hz, the reporting rate of the TE signal needs to be 60Hz. Then after the TE MASK function is turned off, the TE signal cannot be reported to the upper SF at 120Hz. The display driver generates a TE signal at a refresh rate of 120Hz in DDIC, and reports a TE signal to the upper SF at intervals, so that the reporting rate of the TE signal is 60Hz, thereby ensuring synchronization with the working frame rate of the upper layer.

[0143] Specifically, the display driver receives the first TE signal and determines whether the first TE signal is a skip TE signal. Since whether the TE signal is skipped and not reported is determined by the display driver, the display driver can determine whether the first TE signal is a skip TE signal based on whether the previous TE signal corresponding to the first TE signal is a skip TE signal.

[0144] After the display driver determines that the first TE signal is a skip TE signal, since the skip TE signal is skipped and not reported, it has no corresponding refresh image. Therefore, after the display driver receives the first TE signal generated by the DDIC and gives up reporting, it responds to the dimming instruction to control the DDIC to dim the display screen.

[0145] When the display driver determines that the first TE signal is a non-jumping TE signal, it means that the TE signal has a refresh image because it is reported normally, so the display driver can directly respond to the dimming instruction to control the DDIC to dim the display screen.

[0146] Exemplary, reference Fig.11 . For the issuance time of dimming instruction 2, the first TE signal is a TE signal that has already passed, so the first TE signal can be understood as the TE signal that is closest in time to dimming instruction 2 and has been processed by the display driver. However, the second TE signal is a TE signal that has not yet been processed, so the second TE signal can be understood as the TE signal that is closest in time to dimming instruction 2 but has not been processed by the display driver, that is, the first TE signal. Among them, because dimming instruction 2 is issued between the first TE signal and the second TE signal, and the second TE signal is a jump TE signal, dimming instruction 2 is a dimming instruction synchronized with the jump TE signal, which causes dimming instruction 2 to be out of sync with the DDIC refresh.

[0147] Then, in order to avoid the situation that the dimming instruction 2 is out of sync with the refresh image due to the synchronization of the dimming instruction 2 with the second TE signal, the display driver waits for the DDIC to generate the second TE signal and skips and does not report it, that is, after the display driver skips the reporting of the second TE signal, it issues the dimming instruction 2 in the manner of sync TE. Since sync TE means that the dimming is issued synchronously with the TE signal, the display driver issues the dimming instruction 2 to the DDIC after the third TE signal is generated. At this time, the dimming instruction 2 will be synchronized with the third TE signal, which is equivalent to the dimming instruction 2 being delayed to the original position of the dimming instruction 3, and the position corresponding to the original second TE signal is equivalent to not issuing the dimming instruction. The third TE signal is a non-jumping TE signal that does not skip the normal reporting, and it is a TE signal that normally corresponds to the AP sending the image and the DDIC refreshing the image. Therefore, synchronizing with the third TE signal is equivalent to synchronizing with the refresh image, thereby solving the problem that the original dimming instruction 2 is out of sync with the refresh image.

[0148] And, the dimming instruction 4 is between the 4th TE signal and the 5th TE signal, and the 5th TE is a non-jumping TE signal that does not need to be skipped. Then, the display driver can directly send the dimming instruction 4 to the DDIC in the sync TE mode, which is equivalent to the dimming instruction 4 being delayed to the position corresponding to the 5th TE signal, so that the 4th TE signal as a skipping TE signal has no synchronous dimming instruction, thereby avoiding the problem of the dimming instruction and the image refresh being out of sync.

[0149] in addition, Fig.11 As shown, dimming instruction 5 and dimming instruction 8 are processed in the same way, which can eventually avoid all dimming instructions being sent synchronously with TE jumps. Fig.11 In the figure, "after dimming instruction adjustment" corresponds to the dimming instruction shown on the horizontal line. In addition, although the dimming instruction corresponding to the brushless TE signal will remain after processing by the embodiment of the present application, the brushless TE signal can be avoided by switching the 60Hz fixed refresh rate in the previous sequence, so that the issuance of the dimming instruction can be synchronized with the TE signal of the brushed image, thereby avoiding the asynchronism between dimming and brushing, and preventing the display flickering problem.

[0150] It can be seen that before the display driver sends a dimming instruction to the DDIC, it determines whether the next TE signal is a TE jump signal that needs to be skipped and not reported, and then sends a dimming instruction to the DDIC based on the actual situation, thereby solving the problem of dimming and image refresh being out of sync due to TE jump.

[0151] In some embodiments, since the process of the display driver in the electronic device determining whether the first TE signal corresponding to the dimming instruction is a jump TE signal requires a certain amount of processing time, if the dimming instruction sent by the upper layer to the display driver is very close to the first TE signal generated by the DDIC, it is possible that the first TE signal has been generated by the DDIC and processed by the display driver before the display driver determines that the execution of the process is completed, resulting in the backlight being out of sync with the image refresh due to missing the first TE signal.

[0152] Exemplary, reference Fig.12 , dimming instruction 6 is very close to the 7th TE signal (the first TE signal corresponding to dimming instruction 6). Since the 7th TE signal is not a skip TE signal, the display driver can determine that it does not need to wait for the 7th TE signal to skip, and can directly respond to dimming instruction 6 to control the dimming of the second DDIC in accordance with the sync TE method. However, before the display driver's judgment comes out, the 7th TE signal is likely to have been reported by the display driver, resulting in the missing of the 7th TE signal. Then according to the principle of sync TE, the 7th TE signal (which should have been skipped) should have been reported by the display driver. Fig.12The dimming instruction 6 synchronized with the position 1) is delayed to be synchronized with the 8th TE signal ( Fig.12 Position 2 shown). However, the 8th TE signal is a skip TE signal that needs to be skipped and not reported. Since the skip TE signal does not refresh the image, there is also a problem of the dimming command being sent out of sync with the image refresh.

[0153] Therefore, reference Fig.13 In order to solve this problem, the embodiment of the present application is Fig.10 On the basis of the dimming process shown, a judgment step is added. The display driver determines whether the time interval between the processing time of the TE signal (hereinafter referred to as the second TE signal) generated by the DDIC that is closest to the dimming instruction and has been processed and the current time is within the second preset time length. Among them, the processing time is the time for the display driver to report the TE signal or skip reporting. The second preset time length is determined by the judgment time of the display driver to determine whether the first TE signal is a skip TE signal and the generation cycle of the TE signal. In the embodiment of the present application, reference Figure 1 It can be seen that the generation cycle of the TE signal is 8.3ms. The judgment time required for the display drive is determined by the time required for the electronic device to actually run the judgment function. After experiments, the embodiment of the present application has a judgment time of about 1ms. Based on this, the second preset time length can be set to [7ms, 9ms], that is, within 7ms to 9ms.

[0154] If the time interval is between 7ms and 9ms, it means that the dimming instruction is far from the processing time of the second TE signal, but close to the processing time of the first TE signal, and the first TE signal may be missed. Therefore, the display driver waits for the delay to 9ms before entering the step of determining whether the first TE signal is a jump TE signal.

[0155] If the time interval is not within the range of 7ms to 9ms, it means that the time distance from the first TE signal is far and there will be no miss. Therefore, the display driver can directly enter the step of determining whether the first TE signal is a jump TE signal.

[0156] Exemplary, reference Fig.14 When the display driver receives the dimming instruction 6, it first determines the second TE signal ( Fig.14 If the time interval is within 7ms-9ms, it indicates that the dimming instruction 6 is very close to the 7th TE signal. If the judgment is entered at this time, the 7th TE signal may be missed. Therefore, after the display driver waits for 9ms, it directly enters the step of judging whether the first TE signal is a jump TE signal after missing the 7th TE signal. At this time, the first TE signal is Fig.14 The 8th TE signal is shown. Afterwards, through the step of judging the jump TE signal, it can be determined that the 8th TE is a jump TE signal, and the display driver will respond to the dimming instruction 6 to control the dimming of the second DDIC after waiting for the 8th TE signal to be skipped. Thus, the dimming instruction 6 can be synchronized with the 9th TE signal, and the 9th TE signal is a non-jump TE signal, which has a corresponding refresh image, thereby ensuring that the dimming instruction 6 is synchronized with the DDIC refresh image.

[0157] In some embodiments, it can be seen from the above-mentioned display brightness adjustment method that in the process of the display driver controlling the dimming of the DDIC based on the dimming instruction, there may be an event that switches the first refresh rate queue currently applied by the DDIC to a 60Hz refresh rate. At the same time, it is necessary to switch back to the first refresh rate queue after the dimming is completed. Therefore, when the display driver receives a refresh rate queue switching instruction issued by the upper layer during the dimming process, in order to avoid affecting the dimming process, it can respond to the refresh rate queue switching instruction after the dimming is completed to configure a new first refresh rate queue or a second refresh rate queue for the DDIC.

[0158] Another embodiment of the present application provides an electronic device, which includes: a display screen, a memory, a display driver chip, and one or more processors. The display screen, the memory, the display driver chip are coupled to the processor. Exemplarily, the display screen, the memory, and the display driver chip can be coupled to the processor via a bus.

[0159] One or more computer programs are stored in the memory. When the processor executes the computer programs, the electronic device can implement the image display method described in any of the above embodiments. The structure of the electronic device can refer to Figure 8 The structure of the electronic device 100 shown. Specifically, the display driver chip is used to refresh the image to the display screen according to the refresh rate in the first refresh rate queue or the second refresh rate queue. In the embodiment of the present application, the display driver of the electronic device can be a software code or software module running in the processor of the electronic device.

[0160] Another embodiment of the present application provides a chip system, which may include the above-mentioned display driver chip. Fig.15 As shown, the chip system includes at least one processor and at least one interface circuit.

[0161] The processor and the interface circuit can be interconnected through lines. For example, the interface circuit can be used to receive signals from other devices (such as a memory of an electronic device, a processor of an electronic device). For another example, the interface circuit can be used to send signals to other devices (such as a display screen of an electronic device) (such as brushing a picture to the display screen of an electronic device). Exemplarily, the interface circuit can read the instructions stored in the memory and send the instructions to the processor of the chip system. When the instructions are executed by the processor of the chip system, the electronic device can be used to execute the above-mentioned embodiment according to the refresh rate in the first refresh rate queue or the second refresh rate queue to brush the picture to the display screen of the electronic device. Of course, the chip system may also include other discrete devices, which are not specifically limited in the embodiments of the present application.

[0162] Another embodiment of the present application provides a computer-readable storage medium, which stores a computer program. When the computer program is executed by a processor in an electronic device, the electronic device implements the display screen brightness adjustment method described in any of the above embodiments.

[0163] The embodiment of the present application also provides a computer program product. When the computer program product is run on a computer, the computer is enabled to execute each function or step in the above method embodiment.

[0164] Through the description of the above implementation methods, technical personnel in the relevant field can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional modules is used as an example. In actual applications, the above-mentioned functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above.

[0165] In the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic, for example, the division of modules or units is only a logical function division, and there may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another device, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0166] The units described as separate components may or may not be physically separated, and the components shown as units may be one physical unit or multiple physical units, that is, they may be located in one place or distributed in multiple different places. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.

[0167] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0168] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a readable storage medium. Based on this understanding, the technical solution of the embodiment of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, which is stored in a storage medium, including several instructions to enable a device (which can be a single-chip microcomputer, chip, etc.) or a processor (processor) to perform all or part of the steps of the various embodiments of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read only memory (ROM), random access memory (RAM), disk or optical disk and other media that can store program code.

[0169] The above contents are only specific implementation methods of the present application, but the protection scope of the present application is not limited thereto. Any changes or substitutions within the technical scope disclosed in the present application shall be included in the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims

1. A method for adjusting display brightness, characterized in that: Applied to an electronic device, the electronic device includes a display screen and a display driver chip, the method includes: The display driver of the electronic device controls the display driver chip to refresh the image to the display screen according to the refresh rate in the first queue; wherein the first queue is a first-type refresh rate queue or a second-type refresh rate queue, the first-type refresh rate queue is a refresh rate queue in which the refresh rates are distributed from high to low and include at least two refresh rates, and the second-type refresh rate queue is a refresh rate queue in which the last refresh rate has a refresh rate value and the refresh rates before the last refresh rate are empty; The display driver receives a dimming instruction; wherein the dimming instruction instructs to adjust the brightness of the display screen; In response to receiving the dimming instruction, if the first queue is a first-type refresh rate queue, the display driver controls the display driver chip to refresh the display screen at a 60 Hz refresh rate, and then controls the display driver chip to adjust the brightness of the display screen based on the dimming instruction; If the first queue is the second-type refresh rate queue, the display driver controls the display driver chip to adjust the brightness of the display screen based on the dimming instruction.

2. The method according to claim 1, characterized in that The method further comprises: In response to receiving the dimming instruction, the display driver starts a timer to count down a first preset time length when the display driver chip starts to refresh the image to the display screen at a refresh rate of 60 Hz; After the countdown ends, the display driver controls the display driver chip to refresh images to the display screen according to the refresh rate in the first refresh rate queue.

3. The method according to claim 2, characterized in that In response to receiving the dimming instruction, the method further includes: The display driver determines whether the timer is counting down; Among them, if the timer is counting down, the display driver controls the display driver chip to adjust the brightness of the display screen based on the dimming instruction; if the timer is not counting down, the display driver controls the display driver chip to refresh the image to the display screen at a refresh rate of 60Hz, and then controls the display driver chip to adjust the brightness of the display screen based on the dimming instruction.

4. The method according to claim 2 or 3, characterized in that: The method further comprises: In response to receiving the dimming instruction, if the timer is counting down, the display driver initiates the timer to count down again.

5. The method according to any one of claims 1 to 4, characterized in that: The display driver chip is a display driver chip without TEI function; Before the display driver controls the display driver chip to adjust the brightness of the display screen based on the dimming instruction, the method further includes: The display driver receives a first TE signal, and determines whether the first TE signal is a jump TE signal, wherein the first TE signal is a TE signal generated by the display driver chip that is closest to the reception time of the dimming instruction and has not been processed by the display driver; If the first TE signal is a TE jump signal, the display driver gives up reporting the first TE signal and controls the display driver chip to adjust the brightness of the display screen based on the dimming instruction; If the first TE signal is a non-jumping TE signal, the display driver controls the display driver chip to adjust the brightness of the display screen based on the dimming instruction.

6. The method according to claim 5, characterized in that Before determining whether the first TE signal is a TE jump signal, the method further includes: The display driver determines whether the time interval between the processing time of the second TE signal and the current time is within a second preset time length; wherein the second TE signal is a TE signal generated by the display driver chip and closest to the reception time of the dimming instruction and processed by the display driver; If the time interval is within the second preset time length, after the time interval between the processing time of the second TE signal and the current time is greater than the second preset time length, the display driver determines whether the first TE signal is the jump TE signal; If the time interval is not within the second preset time length, the display driver determines whether the first TE signal is a jump TE signal.

7. The method according to claim 6, characterized in that The second preset duration is determined by the determination time required by the display driver to determine whether the first TE signal is a TE jump signal and the generation cycle of the TE signal.

8. The method according to any one of claims 1 to 7, characterized in that: The display driver controls the display driver chip to adjust the brightness of the display screen based on the dimming instruction, including: When receiving the TE signal generated by the display driver chip, the display driver sends the dimming instruction to the display driver chip to control the display driver chip to adjust the brightness of the display screen.

9. The method according to any one of claims 1 to 8, characterized in that: The method further comprises: During the process of the display driver chip adjusting the brightness of the display screen, the display driver receives a refresh rate queue switching instruction. After the display driver chip waits for the display driver chip to adjust the brightness of the display screen, the display driver responds to the refresh rate queue switching instruction to control the display driver chip to switch the refresh rate queue.

10. An electronic device, characterized in that: include: Display screen, memory, display driver chip, and one or more processors; The display screen, the memory, the display driver chip are coupled to the processor; The display driver chip is used to: refresh the image to the display screen according to the refresh rate in the first refresh rate queue or the second refresh rate queue; one or more computer program codes are stored in the memory, and the computer program codes include computer instructions; when the processor executes the computer instructions, the electronic device executes the display screen brightness adjustment method as described in any one of claims 1-9.

11. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor of an electronic device, the electronic device executes the display screen brightness adjustment method as described in any one of claims 1 to 9.

Citation Information

Cited By

  • Display screen brightness adjustment method, electronic device, and computer storage medium

    EP4718434A1

  • Display screen brightness adjustment method, electronic device, and computer storage medium

    WO2025011671A1