Backlight adjusting method and apparatus
By adding the transition backlight value to the terminal device, the screen brightness jump problem caused by the transition phase between the DC dimming strategy and the PWM dimming strategy is solved, and the smooth transition of screen brightness is achieved.
Patent Information
- Application Number
- PCT/CN2024/081006
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-07-12
- Filing Date
- 2024-03-11
- Publication Date
- 2025-04-03
AI Technical Summary
The prior art leads to the problem of screen brightness jump in the transition phase between the DC dimming strategy and the PWM dimming strategy.
Adding the transition backlight value to the terminal device, replacing the backlight value between the DC dimming strategy and the PWM dimming strategy can alleviate the problem of screen brightness jump.
It realizes a relatively smooth transition of screen brightness, reducing the subjective splash screen problem that users feel.
Smart Images

Figure CN2024081006_03042025_PF_FP_ABST
Abstract
Description
Backlight adjustment method and device
[0001] This application claims priority to the Chinese patent application filed with the State Intellectual Property Office of China on July 12, 2023, with application number 202310855262.5 and application name “Backlight Adjustment Method and Device”, the entire contents of which are incorporated by reference into this application. Technical Field
[0002] The present application relates to the field of terminal technology, and in particular to a backlight adjustment method and device. Background Art
[0003] With the popularization and development of the Internet, people's functional requirements for terminal devices are becoming increasingly diverse. For example, to meet users' needs for device screen usage, terminal devices can support backlight brightness adjustment, and this backlight brightness adjustment can make the image effects presented by the terminal device more suitable for the user's viewing experience.
[0004] Normally, in order to achieve reasonable adjustment of the backlight, the terminal device can use a DC dimming strategy to adjust the backlight when it detects that the backlight brightness meets the range from the upper limit of the screen brightness to the medium and low brightness of the screen. For example, by reducing the driving current flowing through the organic light-emitting material, the luminous efficiency is controlled to achieve the effect of adjusting the backlight brightness. When the terminal device detects that the backlight brightness meets the range from the medium and low brightness of the screen to the lowest brightness of the screen, the PWM dimming strategy is used to adjust the backlight. For example, by reducing the screen lighting ratio, that is, the duty cycle value, the effect of adjusting the backlight brightness is achieved. Among them, the upper limit of the screen brightness can be a value such as approximately 1000nit, the medium and low brightness of the screen can be a value such as approximately 70nit, and the lowest brightness of the screen can be a value such as approximately 2nit.
[0005] However, the above backlight adjustment method may cause the problem of screen brightness jumping.
[0006] Summary of the Invention
[0007] The embodiments of the present application provide a backlight adjustment method and device for adding transition backlight in the transition stage between the DC dimming strategy and the PWM dimming strategy to alleviate the problem of screen brightness jumps, so that the screen brightness can achieve a smoother transition.
[0008] In a first aspect, an embodiment of the present application provides a backlight adjustment method, the method comprising: a terminal device displays an n-th frame image; wherein, when displaying the n-th frame image, the backlight value of the terminal device is a first backlight value; the terminal device displays an n+1-th frame image; wherein, when displaying the n+1-th frame image, the backlight value of the terminal device is a preset backlight value; wherein, between the terminal device displaying the n-th frame image and the terminal device displaying the n+1-th frame image, the terminal device also obtains a second backlight value, and when the second backlight value is not equal to the first backlight value, if the second backlight value is greater than the preset backlight value, the backlight value is adjusted. If the first backlight value is less than the preset backlight value and the second backlight value is less than the preset backlight value, or if the second backlight value is less than the preset backlight value and the first backlight value is greater than the preset backlight value, the terminal device replaces the second backlight value with the preset backlight value and displays the n+1th frame image based on the preset backlight value; wherein the preset backlight value belongs to a preset backlight interval, the minimum value of the preset backlight interval is the minimum backlight value allowed to be adjusted when the backlight is adjusted using the DC dimming strategy, and the maximum value of the preset backlight interval is the maximum backlight value allowed to be adjusted when the backlight is adjusted using the pulse modulation PWM dimming strategy. In this way, the terminal device can add a transition backlight in the transition stage between the DC dimming strategy and the PWM dimming strategy to alleviate the problem of screen brightness jump, so that the screen brightness can achieve a smoother transition.
[0009] The second backlight value may be the new backlight value described in the embodiment of the present application, and the first backlight value may be the previous frame backlight value described in the embodiment of the present application.
[0010] In one possible implementation, if the second backlight value is greater than the preset backlight value and the first backlight value is less than the preset backlight value, or the second backlight value is less than the preset backlight value and the first backlight value is greater than the preset backlight value, the terminal device replaces the second backlight value with the preset backlight value, including: if the second backlight value is not 0 and the first backlight value is not 0, and if the second backlight value is greater than the preset backlight value and the first backlight value is less than the preset backlight value, or the second backlight value is less than the preset backlight value and the first backlight value is greater than the preset backlight value, the terminal device replaces the second backlight value with the preset backlight value. In this way, the terminal device can also remove interference with the backlight adjustment method in the process of increasing the transition backlight value, from the off-screen to the bright-screen scene, from the bright-screen to the off-screen scene, and the off-screen scene.
[0011] In one possible implementation, the method further includes: if the second backlight value is 0 or the first backlight value is 0, the terminal device displays the interface based on the second backlight value. In this way, the terminal device can directly issue the second backlight value in the scene from off to on, from on to off, and off, through scene recognition.
[0012] In one possible implementation, the method further includes: the terminal device caches a second backlight value; the terminal device displays the n+2th frame image; wherein, when displaying the n+2th frame image, the backlight value of the terminal device is the second backlight value; wherein, between the terminal device displaying the n+1th frame image and the terminal device displaying the n+2th frame image, the terminal device also obtains a third backlight value; if the second backlight value is not 0, the terminal device caches the third backlight value and displays the n+2th frame image based on the second backlight value. In this way, the terminal device can achieve delayed delivery of the backlight value, so that the backlight value difference between any two frames remains within a stable range, achieving stable delivery of the backlight value, and thereby ensuring that the image displayed by the terminal device during the backlight adjustment process is more consistent with the user's perception.
[0013] In one possible implementation, a terminal device includes: a liquid crystal display supporting setting module and a display driver chip, the terminal device replaces the second backlight value with a preset backlight value, and displays an interface based on the preset backlight value, including: the liquid crystal display supporting setting module replaces the second backlight value with the preset backlight value, and sends the preset backlight value to the display driver chip; the display driver chip sends the preset backlight value to the display, and the display displays the interface based on the preset backlight value. In this way, the liquid crystal display supporting setting module provided in the embodiment of the present application can realize the storage of the preset backlight value, the numerical judgment between the backlight value of the previous frame and the preset backlight value, and the sending of the preset backlight value. By adding the preset backlight value, the backlight transition between the DC dimming strategy and the PWM dimming strategy is realized, so that the screen brightness transition is smoother.
[0014] In one possible implementation, the terminal device further includes a DSI driver, and the method further includes: the LCD display supporting configuration module sending a first characteristic value to the DSI driver; and the DSI driver not sending a second backlight value based on the first characteristic value. In this way, the DSI driver can determine not to send the second backlight value based on the first characteristic value, thereby reducing the situation where the DSI driver directly sends the second backlight value.
[0015] In one possible implementation, a terminal device includes: a liquid crystal display supporting settings module, a DSI driver, and a display driver chip. If the second backlight value is 0 or the first backlight value is 0, the terminal device displays an interface based on the second backlight value. This includes: if the liquid crystal display supporting settings module determines that the second backlight value is 0 or the first backlight value is 0, the liquid crystal display supporting settings module sends a second characteristic value to the DSI driver; the DSI driver sends the second backlight value to the display driver chip based on the second characteristic value; the display driver chip sends the second backlight value to the display, and the display displays the interface based on the second backlight value. In this way, the DSI driver can determine and send the second backlight value based on the second characteristic value, and the existing backlight sending logic can be maintained.
[0016] In a possible implementation, the terminal device is a terminal device that supports a 3840 Hz high-frequency PWM dimming strategy.
[0017] In a second aspect, an embodiment of the present application provides a backlight adjustment device, the device comprising: a processing module and a display module, the display module being used to display the nth frame image and the n+1th frame image, the processing module being used to replace the second backlight value with the preset backlight value when the second backlight value is not equal to the first backlight value, if the second backlight value is greater than the preset backlight value and the first backlight value is less than the preset backlight value, or the second backlight value is less than the preset backlight value and the first backlight value is greater than the preset backlight value, the display module being further used to display an interface based on the preset backlight value; wherein the preset backlight value belongs to a preset backlight interval, the minimum value of the preset backlight interval is the minimum backlight value allowed to be adjusted when the backlight is adjusted by a DC dimming strategy, and the maximum value of the preset backlight interval is the maximum backlight value allowed to be adjusted when the backlight is adjusted by a pulse modulation PWM dimming strategy.
[0018] In a third aspect, an embodiment of the present application provides a terminal device comprising a processor and a memory, the memory being used to store code instructions; the processor being used to run the code instructions so that the terminal device executes the method described in the first aspect or any one of the implementations of the first aspect.
[0019] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, which stores instructions. When the instructions are executed, the terminal device executes the method described in the first aspect or any implementation of the first aspect.
[0020] In a fifth aspect, a computer program product includes a computer program, which, when executed, enables a terminal device to execute the method described in the first aspect or any one of the implementations of the first aspect.
[0021] It should be understood that the third to fifth aspects of the present application correspond to the technical solutions of the first aspect of the present application, and the beneficial effects achieved by each aspect and the corresponding feasible implementation methods are similar and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS
[0022] FIG1 is a schematic diagram of a scenario provided by an embodiment of the present application;
[0023] FIG2 is a schematic diagram of the hardware structure of a terminal device provided in an embodiment of the present application;
[0024] FIG3 is a schematic diagram of a software structure of a terminal device provided in an embodiment of the present application;
[0025] FIG4 is a schematic flow chart of a backlight adjustment method provided in an embodiment of the present application;
[0026] FIG5 is a schematic diagram of a backlight curve provided in an embodiment of the present application;
[0027] FIG6 is a schematic diagram of module interaction of a backlight adjustment method provided in an embodiment of the present application;
[0028] FIG7 is a flow chart of another backlight adjustment method according to an embodiment of the present application;
[0029] FIG8 is a schematic diagram of another backlight curve provided in an embodiment of the present application;
[0030] FIG9 is a schematic diagram of module interaction of another backlight adjustment method provided in an embodiment of the present application;
[0031] FIG10 is a schematic structural diagram of a synchronous playback device provided in an embodiment of the present application;
[0032] FIG11 is a schematic diagram of the hardware structure of another terminal device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0033] In order to clearly describe the technical solutions of the embodiments of the present application, the terms mentioned in the embodiments of the present application are explained:
[0034] 1. Direct current (DC)
[0035] In the display field, DC refers to a method of controlling brightness by manipulating the current or voltage flowing through the light-emitting unit.
[0036] When the terminal device implements backlight control based on the DC dimming strategy, the lighting ratio of the screen, that is, the duty value, can usually be a fixed value.
[0037] 2. Pulse width modulation (PWM)
[0038] In the display field, PWM refers to a method of controlling brightness by adjusting the on / off state ratio (duty cycle) of the light-emitting unit.
[0039] When the terminal device implements backlight control based on a PWM dimming strategy, the current or voltage of the light-emitting unit may generally be a fixed value.
[0040] It's understandable that due to the human eye's persistence of vision, when seeing rapidly changing images, they process them as smooth images. Therefore, the terminal device can reduce the brightness by controlling the screen's on / off ratio to reduce the integral value of brightness per unit time, thereby reducing the brightness. When implementing backlight control based on a PWM dimming strategy, the human eye's visible brightness of the screen decreases as the lighting ratio decreases.
[0041] 3. Pulse
[0042] The pulse is the basic unit of PWM regulation. Within a unit of time, under the same pulse width scenario, the greater the pulse, the lower the screen lighting ratio. Within a unit of time, when the pulse is constant, the larger the pulse width, the lower the screen lighting ratio.
[0043] 3. Duty
[0044] The duty value can be used to refer to the proportion of the screen that is lit. The larger the duty value, the greater the proportion of the screen that is lit, and the higher the screen brightness; the smaller the duty value, the smaller the proportion of the screen that is lit, and the lower the screen brightness.
[0045] 4. Low temperature poly-silicon (LTPS)
[0046] LTPS is a type of thin film transistor (TFT) technology. LTPS-driven screens have the advantages of fast response speed, high resolution, and low power consumption, and are therefore widely adopted by screen manufacturers.
[0047] 5. Low temperature polysilicon oxide (LTPO)
[0048] LTPO corresponds to LTPS. Compared with LTPS TFT technology, LTPO technology uses oxide TFT to replace some LTPS TFTs with larger leakage current. The LTPS TFT with high mobility drives the OLED, while the oxide TFT is used to control the switching circuit. The carrier mobility of LTPO technology is higher, which can reduce the size of the gate drive circuit to achieve high resolution of the screen, and at the same time reduce the driving voltage to obtain lower power consumption. At the same time, LTPO has a lower leakage current, which can further reduce the power consumption of the screen while allowing the screen to operate at a lower screen refresh rate. For example, 10Hz and 1Hz, these refresh rates are not achievable with LTPS-TFT technology.
[0049] 6. Organic light-emitting diode (OLED)
[0050] OLED screens are currently widely used in mainstream mid-range and high-end mobile phones. Compared with LED screens, OLED screens have advantages such as low brightness, no light leakage, high contrast, and high color resolution.
[0051] 7. Display driver IC (DDIC)
[0052] DDICs are typically paired with screen modules to customize the power supply and timing settings of the screen panel, while also supporting the decompression of display data streams and their transmission to the panel for display. Generally speaking, screen driver technology involves receiving signals sent from the system-on-chip (SOC) via the mobile industry processor interface (MIPI) or other buses, decoding them, and then re-encoding / modulating / mapping them into data streams based on the characteristics of the specific display device. These data streams are then converted into dynamic voltages via 6 / 8 / 10-bit (one each for red, green, and blue) digital-to-analog converters (DACs). These voltages are then charged to the corresponding TFTs or other gate-controlled capacitors through mux switches under the control of horizontal synchronization signals (related to frame rate and resolution).
[0053] 8. Screen off and screen on
[0054] "Screen off" means the terminal device's display screen is powered off. When the screen is off, the brightness of the terminal device's display screen is lower than the preset brightness. "Screen on" means the terminal device's display screen is powered on. When the screen is on, the brightness of the terminal device's display screen is higher than the preset brightness. "Power on" means the current is greater than the preset current value, and "power off" means the current is less than the preset current value.
[0055] For example, when the backlight value of the terminal device is 0, it can be understood that the terminal device is in the screen-off state.
[0056] 9. Terminal equipment
[0057] The display screen of the terminal device described in the embodiment of the present application can be a screen equipped with 3840Hz high-frequency PWM dimming characteristics and supporting LTPO characteristics at the same time. The 3840Hz high-frequency PWM dimming eye protection screen can achieve zero-risk dimming eye protection screen, and the screen has passed the Rhine flicker-free certification.
[0058] Among them, the definition of the correlation between the flicker risk level and the flicker frequency in the Institute of Electrical and Electronics Engineers (IEEE) 1789-2015 standard is referred to: the higher the frequency, the lower the flicker, and the less damage to the human eye. When the frequency reaches above 1250Hz, the hazard is at a low risk level, and when the dimming frequency is higher than 3125Hz, it reaches a flicker-free hazard level. Therefore, the display screen mentioned in the embodiment of the present application can be an LTPO characteristic screen that reaches a flicker-free hazard level.
[0059] It is understandable that the lighting and extinguishing of pixel units is actually achieved by charging and discharging the light-emitting units through the switching circuit. For OLED screens with high-frequency PWM solutions, especially those using LTPO technology, in order to maintain brightness at lower frame rates without jitter, the pixel charging needs to be more sufficient and the pulse charging time needs to be met.
[0060] In the embodiments of the present application, words such as "first" and "second" are used to distinguish between identical or similar items with substantially the same functions and effects. For example, the first value and the second value are merely used to distinguish different values and do not limit their order. Those skilled in the art will understand that words such as "first" and "second" do not limit the quantity or execution order, and words such as "first" and "second" do not necessarily mean different.
[0061] It should be noted that, in this application, words such as "exemplary" or "for example" are used to indicate examples, illustrations, or descriptions. Any embodiment or design described in this application as "exemplary" or "for example" should not be construed as being preferred or advantageous over other embodiments or designs. Rather, the use of words such as "exemplary" or "for example" is intended to present the relevant concepts in a concrete manner.
[0062] In this application, "at least one" means one or more, and "more" means two or more. "And / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone, where A and B can be singular or plural. The character " / " generally indicates that the previous and next associated objects are in an "or" relationship. "At least one of the following items" or similar expressions refers to any combination of these items, including any combination of single or plural items. For example, at least one of a, b, or c can mean: a, b, c, a and b, a and c, b and c, or a, b and c, where a, b, c can be single or multiple.
[0063] To achieve reasonable backlight adjustment, under normal circumstances, the terminal device can use a DC dimming strategy to adjust the backlight when it detects that the backlight brightness meets the range from the upper limit of the screen brightness to the medium and low brightness of the screen. For example, by reducing the driving current flowing through the organic light-emitting material, the luminous efficiency is controlled to achieve the effect of adjusting the backlight brightness. When the terminal device detects that the backlight brightness meets the range from the medium and low brightness of the screen to the minimum brightness of the screen, it uses a PWM dimming strategy to adjust the backlight. For example, by reducing the screen lighting ratio, that is, the duty cycle value, to achieve the effect of adjusting the backlight brightness.
[0064] PWM dimming is used because OLED screens suffer from poor panel uniformity at low currents, resulting in display issues such as mura. Therefore, PWM dimming can be used to adjust backlight brightness by reducing the screen's lighting ratio, or in other words, lowering the duty value, while maintaining a fixed current.
[0065] For example, the application scenario of the embodiment of the present application is described in conjunction with the embodiment corresponding to Figure 1. Figure 1 is a schematic diagram of a scenario provided by the embodiment of the present application. In the embodiment corresponding to Figure 1, the terminal device is a mobile phone as an example for illustration, which does not constitute a limitation on the embodiment of the present application.
[0066] It is understandable that any display screen in FIG1 may be obtained by photographing the display screen of the terminal device with a high-speed camera.
[0067] In response to the change in backlight brightness of the terminal device from high to low, the terminal device can sequentially display the picture shown in FIG. 1 a, the picture shown in FIG. 1 b, the picture shown in FIG. 1 c, and the picture shown in FIG. 1 d.
[0068] Figure a in Figure 1 may be a picture displayed when the terminal device adjusts the backlight based on the DC dimming strategy, with the backlight brightness at the first brightness. The first brightness may be the brightness indicated when the brightness progress bar is at 101. Figure b in Figure 1 may be a picture displayed when the terminal device adjusts the backlight based on the DC dimming strategy, with the backlight brightness at the second brightness. The second brightness may be the brightness indicated when the brightness progress bar is at 102. A strobe in the picture shown in Figure 1 a and the picture shown in Figure 1 b may correspond to a pulse in the DC dimming strategy. The first brightness is greater than the second brightness.
[0069] Figure c in Figure 1 may be the screen displayed when the terminal device adjusts the backlight based on the PWM dimming strategy when the backlight brightness is the third brightness. The third brightness may be the brightness indicated when the brightness progress bar is at 103. Figure d in Figure 1 may be the screen displayed when the terminal device adjusts the backlight based on the PWM dimming strategy when the backlight brightness is the fourth brightness. The fourth brightness may be the brightness indicated when the brightness progress bar is at 104. A strobe in the screen shown in Figure 1 c and Figure 1 d may correspond to a pulse in the PWM dimming strategy, and the width of any pulse in the screen shown in Figure 1 c may be smaller than the width of any pulse in the interface shown in Figure 1 d. Among them, the second brightness is greater than the third brightness, and the third brightness is greater than the fourth brightness.
[0070] By testing the picture shown in b in FIG. 1 , it can be determined that the duty value of the display screen is 98.3%. By testing the picture shown in c in FIG. 1 , it can be determined that the duty value of the display screen is 58%.
[0071] It is understandable that during the transition period between the DC dimming strategy and the PWM dimming strategy, the duty value of the display may jump from 98.3% to 58%, and the backlight brightness jumps, causing users to experience subjective screen flickering.
[0072] Specifically, the reason why the backlight brightness of the terminal device cannot achieve a smooth transition between the DC dimming strategy and the PWM dimming strategy may be that the current DC dimming strategy and the PWM dimming strategy do not adjust the backlight by traversing the backlight brightness levels, but instead adjust the backlight in a step-by-step manner. For example, when the terminal device detects a change in the backlight value, it can issue a preset multiple backlight values in a step-by-step manner. The issued backlight value can be the display brightness value (DBV) of the backlight, and there is a one-to-one correspondence between DBV and nits.
[0073] Taking the backlight value DBV as an example, for example, the terminal device can issue DBVs such as 1210, 1204, 1199, 1193, 1186, 1181, 1176, 1171, 1164, 1162, 1159, 1153, 1147, and 1140 in sequence according to preset rules based on the gradual change in backlight brightness. When the terminal device determines that the DBV used to transition between the DC dimming strategy and PWM is 1183, since the terminal device can only issue backlight values according to the preset DBV, the terminal device can only issue values such as 1186 and 1181. However, when issuing 1186 and 1181, the screen lighting ratio may jump.
[0074] It can be understood that if the backlight brightness of the terminal device can be sent down one by one by traversing the backlight brightness levels, for example, according to backlight values such as 1210, 1209, 1208, 1207, etc., the backlight values are sent down one by one, then the terminal device will hardly have the problem of screen lighting ratio jumping.
[0075] In view of this, an embodiment of the present application provides a backlight adjustment method, which adds a transition backlight (or understands it as issuing a preset backlight value) during the transition stage between the terminal device performing backlight adjustment based on a DC dimming strategy and performing backlight adjustment based on a PWM dimming strategy, so that the screen lighting ratio has a smoother transition.
[0076] The preset backlight value satisfies a preset backlight interval, the minimum value of the preset backlight interval is the minimum backlight value allowed to be adjusted when backlight adjustment is performed using a DC dimming strategy, and the maximum value of the preset backlight interval is the maximum backlight value allowed to be adjusted when backlight adjustment is performed using a pulse modulation (PWM) dimming strategy. For example, the preset backlight value may be any backlight value within the preset backlight interval, such as the median value within the preset backlight interval.
[0077] It is understandable that the above-mentioned terminal devices may also be referred to as terminals, user equipment (UE), mobile stations (MS), mobile terminals (MT), etc. The terminal devices may be mobile phones with touch screens, smart TVs, wearable devices, tablet computers (Pads), computers with wireless transceiver functions, virtual reality (VR) terminal devices, augmented reality (AR) terminal devices, wireless terminals in industrial control, wireless terminals in self-driving, wireless terminals in remote medical surgery, wireless terminals in smart grids, wireless terminals in transportation safety, wireless terminals in smart cities, wireless terminals in smart homes, etc. The embodiments of the present application do not limit the specific technologies and specific device forms adopted by the terminal devices.
[0078] Therefore, in order to better understand the embodiment of the present application, the structure of the terminal device of the embodiment of the present application is introduced below. For example, Figure 2 is a schematic diagram of the structure of a terminal device provided by the embodiment of the present application.
[0079] The terminal device may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charging management module 140, a power management module 141, 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, an indicator 192, a camera 193, and a display screen 194, etc.
[0080] Among them, the sensor module 180 may include one or more of the following: pressure sensor, gyroscope sensor, air pressure sensor, magnetic sensor, acceleration sensor, distance sensor, proximity light sensor, fingerprint sensor, temperature sensor, touch sensor, ambient light sensor, bone conduction sensor, etc. (not shown in Figure 2).
[0081] It is understood that the structures illustrated in the embodiments of the present application do not constitute specific limitations on the terminal device. In other embodiments of the present application, the terminal device may include more or fewer components than shown, or may combine or separate certain components, or arrange the components differently. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
[0082] The processor 110 may include one or more processing units. The different processing units may be independent devices or integrated into one or more processors. The processor 110 may also be provided with a memory for storing instructions and data.
[0083] USB interface 130 is an interface that complies with USB standards and specifications, and may be a Mini USB interface, a Micro USB interface, a USB Type-C interface, or the like. USB interface 130 can be used to connect a charger to charge the terminal device, or to transfer data between the terminal device and peripheral devices. It can also be used to connect headphones to play audio. This interface can also be used to connect other electronic devices, such as AR devices.
[0084] The charging management module 140 is used to receive charging input from a charger. The charger can be a wireless charger or a wired charger. The power management module 141 is used to connect the charging management module 140 to the processor 110.
[0085] The wireless communication function of the terminal device can be implemented through antenna 1, antenna 2, mobile communication module 150, wireless communication module 160, modem processor and baseband processor.
[0086] Antenna 1 and Antenna 2 are used to transmit and receive electromagnetic wave signals. The antennas in a terminal device can be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve antenna utilization.
[0087] Mobile communication module 150 can provide wireless communication solutions for terminal devices, including 2G / 3G / 4G / 5G. It can include at least one filter, switch, power amplifier, and low-noise amplifier (LNA). Mobile communication module 150 receives electromagnetic waves from antenna 1, filters and amplifies the received electromagnetic waves, and transmits them to the modem processor for demodulation.
[0088] The wireless communication module 160 can provide wireless communication solutions applied to terminal devices, including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), Bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), etc.
[0089] The terminal device implements display functions through a GPU, display screen 194, and an application processor. The GPU is a microprocessor for image processing that connects the display screen 194 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering.
[0090] The display screen 194 is used to display images, videos, etc. The display screen 194 includes a display panel. In some embodiments, the terminal device may include 1 or N display screens 194, where N is a positive integer greater than 1.
[0091] The terminal device can realize the shooting function through the ISP, camera 193, video codec, GPU, display 194 and application processor.
[0092] The camera 193 is used to capture static images or videos. In some embodiments, the terminal device may include 1 or N cameras 193, where N is a positive integer greater than 1.
[0093] 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 terminal device. The external memory card communicates with the processor 110 via the external memory interface 120 to implement data storage functions. For example, files such as music and videos can be stored on the external memory card.
[0094] The internal memory 121 can be used to store computer executable program codes, which include instructions. The internal memory 121 can include a program storage area and a data storage area.
[0095] The terminal device can implement audio functions such as music playback and recording through the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the headphone jack 170D, and the application processor.
[0096] The audio module 170 is used to convert digital audio information into analog audio signal output, and is also used to convert analog audio input into digital audio signals. The speaker 170A, also known as the "speaker", is used to convert audio electrical signals into sound signals. The terminal device can listen to music or listen to hands-free calls through the speaker 170A. The receiver 170B, also known as the "earpiece", is used to convert audio electrical signals into sound signals. When the terminal device answers a call or voice message, the voice can be heard by placing the receiver 170B close to the human ear. The headphone jack 170D is used to connect a wired headset. The microphone 170C, also known as the "microphone" or "microphone", is used to convert sound signals into electrical signals. In an embodiment of the present application, the terminal device may have a microphone 170C.
[0097] The pressure sensor is used to sense the pressure signal and can convert the pressure signal into an electrical signal. In some embodiments, the pressure sensor can be set on the display screen 194. The gyroscope sensor can be used to determine the motion posture of the terminal device. The air pressure sensor is used to measure the air pressure. The magnetic sensor includes a Hall sensor. The acceleration sensor can detect the magnitude of the acceleration of the terminal device in various directions (generally three axes). The distance sensor is used to measure the distance. The proximity light sensor can include, for example, a light emitting diode (LED) and a light detector, such as a photodiode. The ambient light sensor is used to sense the brightness of the ambient light. The fingerprint sensor is used to collect fingerprints. The temperature sensor is used to detect the temperature. The touch sensor is also called a "touch device". The bone conduction sensor can obtain vibration signals.
[0098] A touch sensor can be provided on display screen 194, and the touch sensor and display screen 194 form a touch screen, or "touch screen." In embodiments of the present application, the touch screen can include a grid of capacitive sensing nodes (hereinafter referred to as a capacitive sensor). When the terminal device determines that the capacitance value of at least one grid received by the capacitive sensor exceeds a capacitance threshold, it can determine that a touch operation has occurred. Furthermore, the terminal device can determine the touch area corresponding to the touch operation based on the area occupied by the at least one grid that exceeds the capacitance threshold.
[0099] Keys 190 include a power button, a volume button, and other buttons. Keys 190 can be mechanical or touch-sensitive. The terminal device can receive key inputs and generate key signal inputs related to user settings and function control of the terminal device. Indicator 192 can be an indicator light that can be used to indicate charging status, battery level changes, messages, missed calls, notifications, and the like.
[0100] The software system of the terminal device can adopt a layered architecture, event-driven architecture, micro-kernel architecture, microservice architecture, or cloud architecture, etc., which will not be described here.
[0101] For example, FIG3 is a schematic diagram of the software structure of a terminal device provided in an embodiment of the present application. As shown in FIG3, the layered architecture divides the software into several layers, each layer having a clear role and division of labor. The layers communicate with each other through software interfaces. In some embodiments, the Android system is divided into multiple layers, including, from top to bottom, the application (APP) layer, the application framework (framework) layer, the hardware abstraction layer (HAL), the kernel layer (kernel), and the hardware layer, etc., which are not limited in the embodiments of the present application.
[0102] The application layer may include a series of application packages. The application packages may include one or more of the following: settings, Bluetooth, calendar, phone, or map, etc., which are not limited in the embodiments of the present application.
[0103] The application framework layer provides an application programming interface (API) and programming framework for applications in the application layer. The application framework layer includes some predefined interfaces. The application framework layer may include one or more of the following: a display compositing system (surface flinger) or a backlight brightness setting module (framework backlight).
[0104] In an embodiment of the present application, the display synthesis system is used to synthesize the received layer data and to implement the sending of the device frame rate. For example, when the display synthesis system detects a change in the frame rate, it can send the frame rate to the hardware synthesis processor or the hardware synthesis display.
[0105] The backlight brightness setting module is used to implement the sending of backlight values. For example, when the backlight brightness setting module detects a change in the backlight value, it can send the new backlight value to the hardware synthesis processor or the hardware synthesis display.
[0106] In some embodiments, the application framework layer may include a window manager, a content provider, a resource manager, a view system, a notification manager, etc. (not shown in FIG. 3 ).
[0107] Among them, the window manager is used to manage window programs. The window manager can obtain the display screen size, determine whether there is a status bar, lock the screen, touch the screen, drag the screen, capture the screen, etc. The content provider is used to store and obtain data and make this data accessible to applications. The data can include video, images, audio, dialed and received calls, browsing history and bookmarks, phone books, etc. The view system includes visual controls, such as controls for displaying text and controls for displaying images. The view system can be used to build applications. The display interface can be composed of one or more views. For example, the display interface including the SMS notification icon can include a view for displaying text and a view for displaying images. The resource manager provides various resources for applications, such as localized strings, icons, images, layout files, video files, etc.
[0108] The purpose of the hardware abstraction layer is to abstract the hardware. It can provide upper-layer applications with a unified interface for querying hardware devices or provide data storage services for upper-layer applications. The hardware abstraction layer can include one or more of the following: a hardware display or a hardware composer (HWC).
[0109] In the embodiment of the present application, a hardware composite display or a hardware composite processor is used to send the acquired backlight value or frame rate to a DRM (direct rendering manager) driver.
[0110] The kernel layer is the layer between hardware and software. It drives the hardware to operate. It can include one or more of the following: a DRM driver, a display serial interface (DSI) driver, or a liquid crystal display kit (LCD kit).
[0111] The DRM driver is a kernel subsystem that provides a mechanism for userspace programs to directly access graphics hardware. DRM manages graphics hardware resources, including video memory, command queues, and interrupts, and provides a set of APIs that allow userspace programs to interact with the graphics hardware.
[0112] In an embodiment of the present application, the DRM driver is used to transmit the received backlight value or frame rate and other numerical values to the DSI driver; the DSI driver is used to transmit the backlight value or frame rate and other numerical values received from the DRM driver to the LCD display supporting setting module; the LCD display supporting setting module can pre-set the transition backlight value (or called the preset backlight value), and use the preset backlight value to determine whether to send the received backlight value.
[0113] The hardware layer may include one or more of the following: OLED, DDIC, or LCD, etc.
[0114] In the embodiment of the present application, the DDIC is used to forward the received backlight value into an electrical signal, and transmit the electrical signal to the OLED or LCD through the mobile industry processor interface (MIPI).
[0115] In combination with the embodiment corresponding to Figure 3, under normal circumstances, the backlight sending process can be as follows: when the backlight brightness setting module detects that the backlight value has changed, the backlight brightness setting module can generate a new backlight value and send the new backlight value to the DRM driver through the hardware synthesis processor or the hardware synthesis display. The DRM driver sends the new backlight value to the display driver chip through the DSI driver, and then the display driver chip can convert the new backlight value into an electrical signal and send it to a display such as OLED or LCD through MIPI, so that the display can display the interface based on the new backlight value.
[0116] It will be understood that the software architecture provided in the embodiment of the present application is merely an example, and the terminal device may also include other layers and / or modules, which are not limited in the embodiment of the present application.
[0117] The following specific embodiments are used to describe in detail the technical solution of the present application and how the technical solution of the present application solves the above technical problems. The following specific embodiments can be implemented independently or in combination with each other. For the same or similar concepts or processes, some embodiments may not be described in detail.
[0118] In order to solve the problem of screen brightness jump of the display screen due to the transition stage between the DC dimming strategy and the PWM dimming strategy, the embodiments of the present application can provide two backlight adjustment methods: Method 1, backlight replacement solution (see the embodiments corresponding to Figures 4-6), Method 2, backlight deferral solution (see the embodiments corresponding to Figures 7-9).
[0119] Method 1: Backlight replacement solution.
[0120] In the backlight replacement solution, the terminal device can alleviate the screen brightness jump by adding a transition backlight value (or preset backlight value) between the DC dimming strategy and the PWM dimming strategy.
[0121] For example, FIG4 is a flow chart of a backlight adjustment method provided in an embodiment of the present application. As shown in FIG4 , the backlight adjustment method may include the following steps:
[0122] S401: The terminal device obtains a new backlight value.
[0123] When the terminal device detects a change in the backlight value, the terminal device generates a new backlight value. Specifically, the terminal device may determine that the backlight value has changed and generate a new backlight value when it detects a user adjusting the backlight brightness (as in the embodiment corresponding to FIG1 ), or detects a change in the brightness of the ambient light through a device such as an ambient light sensor.
[0124] S402: The terminal device determines whether the new backlight value or the previous frame backlight value is 0.
[0125] A backlight value of 0 can be understood as a black screen or a screen-off state. For example, when the backlight value of the previous frame is not 0 and the new backlight value is 0, it can be understood that the terminal device can switch from the screen-on state to the screen-off state. In this scenario, the backlight value of the previous frame can be a value close to 0. When the backlight value of the previous frame is 0 and the new backlight value is not 0, it can be understood that the terminal device can switch from the screen-off state to the screen-on state. In this scenario, the new backlight value can be a value close to 0. When the backlight value of the previous frame is 0 and the new backlight value is 0, it can be understood that the terminal device remains in the screen-off state.
[0126] It is understandable that when the terminal device is in a scenario where the screen is switched from the on state to the off state, or from the off state to the on state, or remains in the off state, the terminal device will use the PWM dimming strategy to adjust the backlight, and there will be no problem of screen lighting ratio jumping during the backlight adjustment process. Therefore, the terminal device can ignore the situation where the new backlight value is 0 or the backlight value of the previous frame is 0.
[0127] In an embodiment of the present application, when the terminal device determines that the new backlight value is 0 or the backlight value of the previous frame is 0, the terminal device can execute the steps shown in S404; or, when the terminal device determines that the new backlight value is not 0 and the backlight value of the previous frame is not 0, the terminal device can execute the steps shown in S403.
[0128] For example, the terminal device may store the backlight value corresponding to each frame. When the terminal device does not send a new backlight value within a period of time, it can be understood that the backlight value has not changed within the period of time, and multiple backlight values within the period of time may be the same.
[0129] S403: The terminal device determines whether the backlight value of the previous frame and the new backlight value meet a preset condition.
[0130] The preset condition may be: the previous frame backlight value is greater than the preset backlight value, and the new backlight value is less than the preset backlight value, or the previous frame backlight value is less than the preset backlight value, and the new backlight value is greater than the preset backlight value.
[0131] The preset backlight value can be understood as a transition backlight value in the process of changing from a DC dimming strategy to a PWM dimming strategy. The preset backlight value can be a value such as 1184.
[0132] In an embodiment of the present application, when the terminal device determines that the backlight value of the previous frame and the new backlight value meet the preset conditions, the terminal device can execute the steps shown in S405; or, when the terminal device determines that the backlight value of the previous frame and the new backlight value do not meet the preset conditions, the terminal device can execute the steps shown in S406.
[0133] S404: The terminal device displays an interface based on the new backlight value.
[0134] For example, the terminal device can send a new backlight value to the display screen and cache the new backlight value, and the display screen can display an interface based on the new backlight value. The terminal device can cache the correspondence between the current frame and the new backlight value, and the cached correspondence can be used in subsequent backlight adjustment processes.
[0135] S405: The terminal device displays an interface based on the preset backlight value.
[0136] For example, the terminal device can send a preset backlight value to the display screen and cache the preset backlight value, and the display screen can display an interface based on the preset backlight value. The terminal device can cache the correspondence between the current frame and the preset backlight value, and the cached correspondence can be used in subsequent backlight adjustment processes.
[0137] It can be understood that regardless of whether the new backlight value is replaced by the preset backlight value, after the terminal device sends the backlight value, the terminal device can cache the sent backlight value and use it as the "previous frame backlight" for judgment in the next backlight adjustment.
[0138] Based on this, the terminal device can add a preset backlight value for transition during the transition stage between backlight adjustment based on the DC dimming strategy and backlight adjustment based on the PWM dimming strategy, and force the backlight brightness to pass through the preset backlight value to achieve a smooth transition of screen brightness.
[0139] Based on the embodiment corresponding to Figure 4, the embodiment of the present application can illustrate the change of the backlight value before and after the backlight adjustment through the backlight curve. For example, Figure 5 is a schematic diagram of a backlight curve provided by the embodiment of the present application.
[0140] As shown in the schematic diagram of the backlight curve in FIG5 , the horizontal axis may be the frame in which the backlight is effective, and the vertical axis may be the DBV corresponding to the backlight value.
[0141] Between the 3rd frame and the 5th frame, the solid line can be the first backlight curve composed of the backlight value generated by the terminal device, and the dotted line can be the second backlight curve determined by the terminal device based on the backlight adjustment method described in the embodiment corresponding to Figure 4, and before the 3rd frame and after the 5th frame, the first backlight curve and the second backlight curve can be the same.
[0142] For example, when the terminal device determines that the backlight value corresponding to the 3rd frame passes the preset backlight value, and the backlight value corresponding to the 3rd frame or the backlight value corresponding to the 4th frame is not 0, the terminal device can replace the backlight value corresponding to the 4th frame with the preset backlight value, thereby achieving the effect of smooth transition of screen brightness by increasing the preset backlight value used for transition.
[0143] The preset backlight value described in the embodiment corresponding to FIG. 5 may be a DBV corresponding to 75 nit, such as 1184.
[0144] As shown in Figure 5, Δ1 is smaller than Δ1', and Δ2 is larger than Δ2'. Compared to the first backlight curve, the added preset backlight value in the fourth frame may increase the backlight value difference between the fourth and fifth frames, or increase the backlight value difference between the third and fourth frames, resulting in a backlight step.
[0145] Based on the embodiment corresponding to FIG4 , the present application further provides a module interaction diagram of a backlight adjustment method. For specific interaction details, please refer to the embodiment corresponding to FIG6 .
[0146] For example, Figure 6 is a schematic diagram of module interaction for a backlight adjustment method provided in an embodiment of the present application. In the embodiment corresponding to Figure 6, the terminal device may include one or more of the following functional modules: a backlight brightness setting module, a hardware synthesis processor, a DRM driver, a DSI driver, a liquid crystal display supporting setting module, a display driver chip, or a display, which may be an OLED or LCD, etc.
[0147] As shown in FIG6 , the backlight adjustment method may include the following steps:
[0148] S601: When the backlight brightness setting module detects that the backlight value has changed, the hardware synthesis processor obtains a new backlight value from the backlight brightness setting module.
[0149] The manner in which the backlight value changes can be found in the description of step S401 and will not be described in detail here.
[0150] S602: The DRM driver obtains a new backlight value from the hardware composition processor.
[0151] S603: The DSI driver obtains a new backlight value from the DRM driver.
[0152] S604: The LCD supporting setting module obtains a new backlight value from the DSI driver.
[0153] S605: The LCD supporting setting module determines whether the new backlight value or the previous frame backlight value is 0.
[0154] The backlight value of the previous frame may be pre-cached in a matching setting module of a liquid crystal display.
[0155] When the LCD display supporting setting module determines that the new backlight value or the previous frame backlight value is 0, the terminal device can execute steps S611-S614; or, when the LCD display supporting setting module determines that the new backlight value is not 0 and the previous frame backlight value is not 0, the terminal device can execute step S606. The process of the LCD display supporting setting module determining whether the new backlight value or the previous frame backlight value is 0 can be referred to step S402.
[0156] For example, the LCD display supporting configuration module can cache the backlight value corresponding to each frame. When the backlight brightness configuration module does not issue a new backlight value within a period of time, it can be understood that the backlight value has not changed within the period of time, and the multiple backlight values stored in the LCD display supporting configuration module within the period of time can be the same.
[0157] S606: The LCD supporting setting module determines whether the backlight value of the previous frame and the new backlight value meet a preset condition.
[0158] The preset backlight value may be pre-stored in a matching setting module of a liquid crystal display.
[0159] When the LCD display supporting setting module determines that the backlight value of the previous frame and the new backlight value meet the preset conditions, the LCD display supporting setting module may execute steps S607 and S608; or, when the LCD display supporting setting module determines that the backlight value of the previous frame and the new backlight value do not meet the preset conditions, the LCD display supporting setting module may execute steps S611-S614. The specific process of the LCD display supporting setting module determining whether the backlight value of the previous frame and the new backlight value meet the preset conditions can be seen in step S403.
[0160] S607: The DSI driver obtains a first characteristic value from the LCD supporting setting module.
[0161] The first characteristic value is used to instruct the DSI driver not to send a new backlight value. For example, upon receiving the first characteristic value, the DSI driver may determine not to send a new backlight value to the display driver chip.
[0162] S608: The display driver chip obtains a preset backlight value from the liquid crystal display supporting setting module.
[0163] Exemplarily, after the display driver chip obtains the preset backlight value from the liquid crystal display supporting setting module, the liquid crystal display supporting setting module may cache the preset backlight value.
[0164] Among them, S607 and S608 can be executed simultaneously or one after another, which is not limited in the embodiments of the present application.
[0165] In a possible implementation, after S606, when the LCD display supporting setting module determines that the backlight value of the previous frame is greater than the preset backlight value, the LCD display supporting setting module can send the preset backlight value to the DSI driver, and the DSI driver continues to send the preset backlight value to the display driver chip. This is not limited in the embodiments of the present application.
[0166] S609: The display obtains a preset backlight value from the display driver chip.
[0167] S610: The display displays an interface based on a preset backlight value.
[0168] S611. The DSI driver obtains a second characteristic value from the LCD supporting setting module.
[0169] The second characteristic value is used to instruct the DSI driver to send a new backlight value. For example, upon receiving the second characteristic value, the DSI driver may determine to send a new backlight value to the display driver chip.
[0170] S612: The display driver chip obtains a new backlight value from the DSI driver.
[0171] S613: The display obtains a new backlight value from the display driver chip.
[0172] S614. The display displays an interface based on the new backlight value.
[0173] It can be understood that the LCD display supporting setting module provided in the embodiment of the present application can realize the storage of preset backlight values, the numerical judgment between the backlight value of the previous frame and the preset backlight value, and the distribution of the preset backlight value. By adding the preset backlight value, the backlight transition between the DC dimming strategy and the PWM dimming strategy is realized, so that the screen brightness transition is smoother.
[0174] Method 2: Backlight extension solution.
[0175] In the backlight deferral scheme, the terminal device can not only add a transition backlight value (or preset backlight value) between the DC dimming strategy and the PWM dimming strategy, but also defer the backlight to make the backlight adjustment more stable.
[0176] Based on the embodiments corresponding to Figures 4 and 5 , in a possible implementation, after the preset backlight value is issued, Δ1 may be less than Δ1′ in Figure 5 , increasing the difference between the backlight values of the fourth and fifth frames, thereby causing unstable backlight adjustment. Therefore, to accommodate more devices and achieve more stable backlight adjustment, the embodiments of the present application further provide a backlight adjustment method.
[0177] For example, FIG7 is a flow chart of another backlight adjustment method according to an embodiment of the present application. As shown in FIG7 , the backlight adjustment method may include the following steps:
[0178] S701: The terminal device obtains a new backlight value.
[0179] The specific process of the terminal device obtaining the new backlight value can be referred to the step shown in S401, which will not be repeated here.
[0180] S702: The terminal device determines whether the new backlight value or the backlight value of the previous frame is 0.
[0181] In an embodiment of the present application, when the terminal device determines that the new backlight value is 0 or the backlight value of the previous frame is 0, the terminal device can execute the steps shown in S703-S704; or, when the terminal device determines that the new backlight value is not 0 and the backlight value of the previous frame is not 0, the terminal device can execute the steps shown in S705.
[0182] The specific steps of the terminal device determining whether the new backlight value or the backlight value of the previous frame is 0 can be referred to the step shown in S402 in FIG. 4 , which will not be repeated here.
[0183] S703: The terminal device clears the unissued deferred backlight.
[0184] It is understandable that since the screen lighting ratio jump is less likely to occur when the terminal device is in a scenario where the screen is switched from a bright state to a dark state, or from a dark state to a bright state, or is in a dark state, the terminal device can clear the deferred backlight that has not been issued. The deferred backlight can be the backlight that is cached in the terminal device after the terminal device has not issued the current backlight value.
[0185] Exemplarily, when the terminal device determines that the terminal device sends a preset backlight value based on the steps shown in S707-S708, the terminal device can determine the new backlight value that has not been sent yet as the deferred backlight value, and cache the new backlight value.
[0186] S704: The terminal device displays an interface based on the new backlight value.
[0187] S705: The terminal device determines whether the number of unissued deferred backlights is greater than 0.
[0188] In an embodiment of the present application, when the terminal device determines that the number of deferred backlights that have not been issued is greater than 0, the terminal device can execute the steps shown in S706; or, when the terminal device determines that the number of deferred backlights that have not been issued is equal to 0, the terminal device can execute the steps shown in S707.
[0189] S706: The terminal device displays an interface based on the deferred backlight value.
[0190] The deferred backlight value may be the first backlight value among the deferred backlight values described in S703 .
[0191] It is understandable that in order to achieve stability of the backlight value, after the terminal device sends the deferred backlight value, the terminal device can replace the new backlight value with the deferred backlight value and update the new backlight value to the last position in the deferred backlight.
[0192] Exemplarily, the terminal device can obtain a third backlight value after the new backlight value, and before determining to send the third backlight value, when the terminal device has cached the new backlight value, the terminal device can replace the third backlight value with the new backlight value and cache the third backlight value. The cached third backlight value can be used for the next sending of the backlight value.
[0193] S707: The terminal device determines whether the backlight value of the previous frame and the new backlight value meet a preset condition.
[0194] In an embodiment of the present application, when the terminal device determines that the backlight value of the previous frame is greater than the preset backlight value, the terminal device can execute the steps shown in S708; or, when the terminal device determines that the backlight value of the previous frame is less than or equal to the preset backlight value, the terminal device can execute the steps shown in S704.
[0195] The specific process of the terminal device determining whether the backlight value of the previous frame is greater than the preset backlight value can be referred to the step shown in S403, which will not be repeated here.
[0196] S708. The terminal device displays an interface based on the preset backlight value.
[0197] Based on this, the terminal device can postpone the backlight value so that the backlight value difference between any two frames remains within a stable range, thereby achieving stable delivery of the backlight value, and thus ensuring that the picture displayed by the terminal device during the backlight adjustment process is more in line with the user's perception.
[0198] Based on the embodiment corresponding to Figure 7, the embodiment of the present application can illustrate the change of the backlight value before and after the backlight adjustment through the backlight curve. For example, Figure 8 is another backlight curve diagram provided by the embodiment of the present application.
[0199] As shown in the schematic diagram of the backlight curve in FIG8 , the horizontal axis may be the frame in which the backlight is effective, and the vertical axis may be the DBV corresponding to the backlight value.
[0200] Between the 3rd frame and the 8th frame, the solid line can be the first backlight curve composed of the backlight value generated by the terminal device, and the dotted line can be the third backlight curve determined by the terminal device based on the backlight adjustment method described in the embodiment corresponding to Figure 7, and before the 3rd frame and after the 8th frame, the first backlight curve and the third backlight curve can be the same.
[0201] Exemplarily, the 4th frame in the third backlight curve can be a preset backlight value issued based on the embodiment corresponding to Figure 7 or Figure 4, the backlight value of the 5th frame in the third backlight curve can be the same as the backlight value of the 4th frame in the first backlight curve, the backlight value of the 6th frame in the third backlight curve can be the same as the backlight value of the 5th frame in the first backlight curve, the backlight value of the 7th frame in the third backlight curve can be the same as the backlight value of the 6th frame in the first backlight curve, and the backlight value of the 8th frame in the third backlight curve can be the same as the backlight value of the 6th frame in the first backlight curve.
[0202] It is understandable that the terminal device can postpone the backlight value so that the backlight value difference between any two frames remains within a stable range, thereby ensuring that the image displayed by the terminal device during the backlight adjustment process is more in line with the user's perception.
[0203] Based on the embodiment corresponding to FIG7 , the present application further provides a schematic diagram of module interaction of a backlight adjustment method. For specific interaction details, please refer to the embodiment corresponding to FIG9 .
[0204] For example, Figure 9 is a schematic diagram of module interaction for another backlight adjustment method provided in an embodiment of the present application. In the embodiment corresponding to Figure 9, the terminal device may include one or more of the following functional modules: a backlight brightness setting module, a hardware synthesis processor, a DRM driver, a DSI driver, a liquid crystal display supporting setting module, a display driver chip, or a display, which may be an OLED or LCD, etc.
[0205] As shown in FIG9 , the backlight adjustment method may include the following steps:
[0206] S901: When the backlight brightness setting module detects that the backlight value has changed, the hardware synthesis processor obtains a new backlight value from the backlight brightness setting module.
[0207] The manner in which the backlight value changes can be found in the description of step S401 and will not be described in detail here.
[0208] S902: The DRM driver obtains a new backlight value from the hardware composition processor.
[0209] S903: The DSI driver obtains a new backlight value from the DRM driver.
[0210] S904: The LCD display supporting setting module obtains a new backlight value from the DSI driver.
[0211] S905: The LCD supporting setting module determines whether the new backlight value or the previous frame backlight value is 0.
[0212] The backlight value of the previous frame may be pre-cached in a matching setting module of a liquid crystal display.
[0213] When the LCD display supporting setting module determines that the new backlight value or the previous frame backlight value is 0, the terminal device can execute steps S919-S925; or, when the LCD display supporting setting module determines that the new backlight value is not 0 and the previous frame backlight value is not 0, the terminal device can execute step S906. The process of the LCD display supporting setting module determining whether the new backlight value or the previous frame backlight value is 0 can be referred to step S402.
[0214] S906: The LCD supporting setting module determines whether the number of unissued deferred backlights is greater than 0.
[0215] Among them, the delayed backlight can be pre-cached in the LCD display supporting setting module.
[0216] When the LCD display supporting setting module determines that the number of deferred backlights that have not been issued is greater than 0, the terminal device can execute the steps shown in S916-S918; or, when the LCD display supporting setting module determines that the number of deferred backlights that have not been issued is equal to 0, the terminal device can execute the steps shown in S907.
[0217] S907: The LCD supporting setting module determines whether the backlight value of the previous frame and the new backlight value meet a preset condition.
[0218] When the LCD display supporting setting module determines that the backlight value of the previous frame is greater than the preset backlight value, the LCD display supporting setting module may execute steps S908 and S909; or, when the LCD display supporting setting module determines that the backlight value of the previous frame is less than or equal to the preset backlight value, the LCD display supporting setting module may execute steps S912-S915. The specific process of the LCD display supporting setting module determining whether the backlight value of the previous frame is greater than the preset backlight value can be seen in step S403.
[0219] S908. The DSI driver obtains a first characteristic value from the LCD supporting setting module.
[0220] The meaning of the first eigenvalue can be found in step S607 and will not be described in detail here.
[0221] S909: The display driver chip obtains a preset backlight value from the liquid crystal display supporting setting module.
[0222] Exemplarily, after the display driver chip obtains the preset backlight value from the liquid crystal display supporting setting module, the liquid crystal display supporting setting module may cache the preset backlight value.
[0223] S910: The display obtains a preset backlight value from the display driver chip.
[0224] S911. The display displays an interface based on a preset backlight value.
[0225] S912. The DSI driver obtains a second characteristic value from the LCD supporting setting module.
[0226] The meaning of the second eigenvalue can be found in step S611 and will not be repeated here.
[0227] S913: The display driver chip obtains a new backlight value from the DSI driver.
[0228] S914: The display obtains a new backlight value from the display driver chip.
[0229] S915. The display displays an interface based on the new backlight value.
[0230] S916: The display driver chip obtains a delayed backlight value from the LCD supporting setting module.
[0231] Exemplarily, after the display driver chip obtains the deferred backlight value from the liquid crystal display supporting setting module, the liquid crystal display supporting setting module may cache the deferred backlight value.
[0232] S917: The display driver chip obtains the delayed backlight value from the DSI driver.
[0233] S918. The display obtains a delayed backlight value from the display driver chip.
[0234] S919. The DSI driver obtains a second characteristic value from the LCD supporting setting module.
[0235] The meaning of the second eigenvalue can be found in step S611 and will not be repeated here.
[0236] S920: The display driver chip obtains a new backlight value from the DSI driver.
[0237] S921: The display obtains a new backlight value from the display driver chip.
[0238] S922. The display displays an interface based on the new backlight value.
[0239] S923: The LCD configuration setting module sends a message to the backlight brightness setting module for instructing to clear the deferred backlight value.
[0240] Exemplarily, the LCD display configuration setting module can delete the cached deferred backlight value, and the LCD display configuration setting module can send a message indicating that the deferred backlight value has been cleared to the backlight brightness setting module through modules such as the DSI driver, DRM driver, and hardware synthesis processor.
[0241] Among them, the steps shown in S919 and S923 can be executed simultaneously, or can be executed one after another, which is not limited in the embodiments of the present application.
[0242] In combination with the description in the embodiments corresponding to method one and method two, it can be understood that the present application can capture the DC-PWM transition scenario of the backlight by monitoring the normalization interface for sending the backlight value, and achieve the actual effect of correcting the backlight curve that has not passed the DC-PWM transition point to a backlight curve that has passed the DC-PWM transition point.
[0243] The backlight dimming method provided in the embodiment of the present application can be applied to all terminal devices that support high-frequency PWM dimming panels and whose DDIC cannot support autonomous switching of the pulse mode, such as display screens, laptops, tablet computers, and mobile phone terminals.
[0244] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with relevant laws, regulations and standards, and provide corresponding operation entrances for users to choose to authorize or refuse.
[0245] In combination with the descriptions in the embodiments corresponding to FIG. 4 to FIG. 9 , the embodiment of the present application provides a flowchart of another backlight adjustment method. The backlight adjustment method may include the following steps:
[0246] S1001. The terminal device displays the nth frame image.
[0247] When displaying the nth frame image, the backlight value of the terminal device is the first backlight value.
[0248] S1002. The terminal device displays the (n+1)th frame image.
[0249] When displaying the (n+1)th frame image, the backlight value of the terminal device is the preset backlight value.
[0250] Among them, between the terminal device displaying the nth frame image and the terminal device displaying the n+1th frame image, the terminal device also obtains a second backlight value. When the second backlight value is not equal to the first backlight value, if the second backlight value is greater than the preset backlight value and the first backlight value is less than the preset backlight value, or if the second backlight value is less than the preset backlight value and the first backlight value is greater than the preset backlight value, the terminal device replaces the second backlight value with the preset backlight value, and displays the n+1th frame image based on the preset backlight value.
[0251] The second backlight value may be the new backlight value described in the embodiment of the present application, and the first backlight value may be the previous frame backlight value described in the embodiment of the present application.
[0252] Among them, the preset backlight value belongs to the preset backlight range, the minimum value of the preset backlight range is the minimum backlight value allowed to be adjusted when the backlight is adjusted through the DC dimming strategy, and the maximum value of the preset backlight range is the maximum backlight value allowed to be adjusted when the backlight is adjusted through the pulse modulation PWM dimming strategy.
[0253] In this way, the terminal device can add transition backlight during the transition stage between the DC dimming strategy and the PWM dimming strategy to alleviate the problem of screen brightness jump, so that the screen brightness can achieve a smoother transition.
[0254] In one possible implementation, if the second backlight value is greater than the preset backlight value and the first backlight value is less than the preset backlight value, or the second backlight value is less than the preset backlight value and the first backlight value is greater than the preset backlight value, the terminal device replaces the second backlight value with the preset backlight value, including: if the second backlight value is not 0 and the first backlight value is not 0, and if the second backlight value is greater than the preset backlight value and the first backlight value is less than the preset backlight value, or the second backlight value is less than the preset backlight value and the first backlight value is greater than the preset backlight value, the terminal device replaces the second backlight value with the preset backlight value.
[0255] In a possible implementation, the method further includes: if the second backlight value is 0 or the first backlight value is 0, the terminal device displays the interface based on the second backlight value.
[0256] In one possible implementation, the method also includes: the terminal device caches a second backlight value; the terminal device displays the n+2th frame image; wherein, when the n+2th frame image is displayed, the backlight value of the terminal device is the second backlight value; wherein, between the terminal device displaying the n+1th frame image and the terminal device displaying the n+2th frame image, the terminal device also obtains a third backlight value, and if the second backlight value is not 0, the terminal device caches the third backlight value, and displays the n+2th frame image based on the second backlight value.
[0257] The method provided in the embodiment of the present application is described above in conjunction with Figures 4-9. The device for executing the above method provided in the embodiment of the present application is described below. As shown in Figure 10, Figure 10 is a structural schematic diagram of a synchronous playback device provided in the embodiment of the present application. The synchronous playback device can be a terminal device in the embodiment of the present application, or a chip or chip system within the terminal device.
[0258] As shown in FIG10 , a backlight adjustment device 1000 can be used in a communication device, circuit, hardware component, or chip. The backlight adjustment device 1000 includes an acquisition unit 1001 and a processing unit 1002. The acquisition unit 1001 is used to support the information acquisition step performed by the backlight adjustment method; the processing unit 1002 is used to support the information processing step performed by the backlight adjustment device 1000.
[0259] In a possible implementation, the backlight adjustment device 1000 may further include a communication unit 1003 , and the communication unit 1003 is configured to support the backlight adjustment device 1000 in executing steps such as receiving or sending messages.
[0260] Specifically, the processing unit 1002 and the obtaining unit 1001 may be integrated together, and the processing unit 1002 and the obtaining unit 1001 may communicate with each other.
[0261] In a possible implementation, the backlight adjustment device 1000 may further include a storage unit 1004. The storage unit 1004 may include one or more memories, and the memories may be devices in one or more devices or circuits for storing programs or data.
[0262] The storage unit 1004 can exist independently and be connected to the processing unit 1002 via a communication bus. The storage unit 1004 can also be integrated with the processing unit 1002.
[0263] As an example, in which the backlight adjustment device 1000 can be a chip or chip system of a terminal device in an embodiment of the present application, the storage unit 1004 can store computer-executable instructions for the terminal device method, so that the processing unit 1002 executes the terminal device method in the above embodiment. The storage unit 1004 can be a register, a cache, or a random access memory (RAM), etc. The storage unit 1004 can be integrated with the processing unit 1002. The storage unit 1004 can be a read-only memory (ROM) or other type of static storage device that can store static information and instructions. The storage unit 1004 can be independent of the processing unit 1002.
[0264] In one possible implementation, the backlight adjustment device 1000 may further include a communication unit 1003. The communication unit 1003 is configured to support interaction between the backlight adjustment device 1000 and other devices. For example, when the backlight adjustment device 1000 is a terminal device, the communication unit 1003 may be a communication interface or interface circuit. When the backlight adjustment device 1000 is a chip or chip system within the terminal device, the communication unit 1003 may be a communication interface. For example, the communication interface may be an input / output interface, a pin, or a circuit.
[0265] The device of this embodiment can be used to execute the steps executed in the above method embodiment. Its implementation principles and technical effects are similar and will not be described in detail here.
[0266] Figure 11 is a schematic diagram of the hardware structure of another terminal device provided in an embodiment of the present application. As shown in Figure 11, the terminal device can be the first device or the second device described in the embodiment of the present application.
[0267] The terminal device includes a processor 1101, a communication line 1104 and at least one communication interface (communication interface 1103 is used as an example in FIG. 11 ).
[0268] The processor 1101 may be a general-purpose central processing unit (CPU), a microprocessor, an application-specific integrated circuit (ASIC), or one or more integrated circuits for controlling the execution of the program of the present application.
[0269] Communications link 1104 may include circuitry to transmit information between the aforementioned components.
[0270] The communication interface 1103 uses any transceiver or other device for communicating with other devices or communication networks, such as Ethernet, wireless local area networks (WLAN), etc.
[0271] Possibly, the terminal device may further include a memory 1102 .
[0272] The memory 1102 may be a read-only memory (ROM) or other type of static storage device that can store static information and instructions, a random access memory (RAM) or other type of dynamic storage device that can store information and instructions, or an electrically erasable programmable read-only memory (EEPROM), a compact disc read-only memory (CD-ROM) or other optical disc storage, an optical disc storage (including a compact disc, laser disc, optical disc, digital versatile disc, Blu-ray disc, etc.), a magnetic disk storage medium or other magnetic storage device, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and can be accessed by a computer, but is not limited thereto. The memory may be independent and connected to the processor via a communication line 1104. The memory may also be integrated with the processor.
[0273] The memory 1102 is used to store computer-executable instructions for executing the solution of the present application, and the execution is controlled by the processor 1101. The processor 1101 is used to execute the computer-executable instructions stored in the memory 1102, thereby implementing the method provided by the embodiment of the present application.
[0274] Possibly, the computer-executable instructions in the embodiments of the present application may also be referred to as application code, and the embodiments of the present application do not specifically limit this.
[0275] In a specific implementation, as an embodiment, the processor 1101 may include one or more CPUs, such as CPU0 and CPU1 in FIG11 .
[0276] In a specific implementation, as an embodiment, the terminal device may include multiple processors, such as processor 1101 and processor 1105 in Figure 11. Each of these processors may be a single-core (single-CPU) processor or a multi-core (multi-CPU) processor. The processor here may refer to one or more devices, circuits, and / or processing cores for processing data (e.g., computer program instructions).
[0277] In the above embodiment, the instructions stored in the memory for execution by the processor may be implemented in the form of a computer program product, wherein the computer program product may be pre-written in the memory or downloaded and installed in the memory in the form of software.
[0278] A computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function according to the embodiment of the present application is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network or other programmable device. The computer instructions can be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions can be transmitted from one website, computer, server or data center to another website, computer, server or data center via a wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) method. The computer-readable storage medium can be any available medium that a computer can store or a data storage device such as a server or data center that includes one or more available media integrated. For example, the available medium can include magnetic media (e.g., floppy disk, hard disk or tape), optical media (e.g., digital versatile disc (DVD)), or semiconductor media (e.g., solid state disk (SSD)).
[0279] The present application also provides a computer-readable storage medium. The methods described in the above embodiments can be implemented in whole or in part via software, hardware, firmware, or any combination thereof. Computer-readable media can include computer storage media and communication media, and can also include any medium that can transfer a computer program from one location to another. The storage medium can be any target medium that can be accessed by a computer.
[0280] As one possible design, computer-readable media may include compact disc read-only memory (CD-ROM), RAM, ROM, EEPROM or other optical disc storage; computer-readable media may include magnetic disk storage or other magnetic disk storage devices. Moreover, any connecting line may also be appropriately referred to as a computer-readable medium. For example, if the software is transmitted from a website, server or other remote source using a coaxial cable, fiber optic cable, twisted pair, DSL or wireless technologies such as infrared, radio and microwave, then the coaxial cable, fiber optic cable, twisted pair, DSL or wireless technologies such as infrared, radio and microwave are included in the definition of medium. Disk and disc as used herein include compact disc (CD), laser disc, optical disc, digital versatile disc (DVD), floppy disk and Blu-ray disc, where disks usually reproduce data magnetically, while discs reproduce data optically using lasers.
[0281] The above combinations are also included within the scope of computer-readable media. The above are only specific embodiments of the present invention, but the scope of protection of the present invention is not limited thereto. Any changes or substitutions that can be easily conceived by a person skilled in the art within the technical scope disclosed in this invention should be included within the scope of protection of the present invention. Therefore, the scope of protection of the present invention should be based on the scope of protection of the claims.
Claims
1. A backlight adjustment method, characterized in that: The method comprises: The terminal device displays the nth frame image; wherein, when displaying the nth frame image, the backlight value of the terminal device is the first backlight value; The terminal device displays the n+1th frame image; wherein, when displaying the n+1th frame image, the backlight value of the terminal device is a preset backlight value; Wherein, between the terminal device displaying the nth frame image and the terminal device displaying the n+1th frame image, the terminal device further acquires a second backlight value, and when the second backlight value is not equal to the first backlight value, if the second backlight value is greater than the preset backlight value and the first backlight value is less than the preset backlight value, or if the second backlight value is less than the preset backlight value and the first backlight value is greater than the preset backlight value, the terminal device replaces the second backlight value with the preset backlight value, and displays the n+1th frame image based on the preset backlight value; Among them, the preset backlight value belongs to a preset backlight interval, the minimum value of the preset backlight interval is the minimum backlight value allowed to be adjusted when the backlight is adjusted through a direct current (DC) dimming strategy, and the maximum value of the preset backlight interval is the maximum backlight value allowed to be adjusted when the backlight is adjusted through a pulse modulation (PWM) dimming strategy.
2. The method according to claim 1, characterized in that If the second backlight value is greater than the preset backlight value and the first backlight value is less than the preset backlight value, or the second backlight value is less than the preset backlight value and the first backlight value is greater than the preset backlight value, the terminal device replaces the n+1 backlight value with the preset backlight value, including: If the second backlight value is not 0 and the first backlight value is not 0, and if the second backlight value is greater than the preset backlight value and the first backlight value is less than the preset backlight value or the second backlight value is less than the preset backlight value and the first backlight value is greater than the preset backlight value, the terminal device replaces the n+1 backlight value with the preset backlight value.
3. The method according to claim 2, characterized in that The method further comprises: If the second backlight value is 0 or the first backlight value is 0, the terminal device displays an interface based on the second backlight value.
4. The method according to any one of claims 1 to 2, characterized in that: The method further comprises: The terminal device caches the second backlight value; The terminal device displays the n+2th frame image; wherein, when displaying the n+2th frame image, the backlight value of the terminal device is the second backlight value; Among them, between the terminal device displaying the n+1th frame image and the terminal device displaying the n+2th frame image, the terminal device also obtains a third backlight value. If the second backlight value is not 0, the terminal device caches the third backlight value and displays the n+2th frame image based on the second backlight value.
5. The method according to any one of claims 1 to 4, characterized in that: The terminal device includes: a liquid crystal display supporting setting module and a display driver chip, the terminal device replaces the second backlight value with the preset backlight value, and displays an interface based on the preset backlight value, including: The liquid crystal display supporting setting module replaces the second backlight value with the preset backlight value, and sends the preset backlight value to the display driver chip; The display driver chip sends the preset backlight value to the display, and the display Light value display interface.
6. The method according to claim 5, characterized in that The terminal device further includes: a DSI driver, and the method further includes: The LCD supporting setting module sends a first characteristic value to the DSI driver; The DSI driver does not issue the second backlight value based on the first characteristic value.
7. The method according to claim 3, characterized in that The terminal device includes: a liquid crystal display supporting setting module, a DSI driver and a display driver chip. If the second backlight value is 0 or the first backlight value is 0, the terminal device displays an interface based on the second backlight value, including: If the LCD display supporting setting module determines that the second backlight value is 0 or the first backlight value is 0, the LCD display supporting setting module sends a second characteristic value to the DSI driver; The DSI driver sends a second backlight value to the display driver chip based on the second characteristic value; The display driver chip sends the second backlight value to the display, and the display displays an interface based on the second backlight value.
8. The method according to any one of claims 1 to 7, characterized in that: The terminal device is a terminal device that supports a 3840 Hz high-frequency PWM dimming strategy.
9. A terminal device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the terminal device executes the method according to any one of claims 1 to 8.
10. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the computer is caused to perform the method according to any one of claims 1 to 8.