WO2022089191A1 - Backlight control method and apparatus, and electronic device, and computer readable storage medium - Google Patents
Backlight control method and apparatus, and electronic device, and computer readable storage medium Download PDFInfo
- Publication number
- WO2022089191A1 WO2022089191A1 PCT/CN2021/123190 CN2021123190W WO2022089191A1 WO 2022089191 A1 WO2022089191 A1 WO 2022089191A1 CN 2021123190 W CN2021123190 W CN 2021123190W WO 2022089191 A1 WO2022089191 A1 WO 2022089191A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- backlight
- current
- duty cycle
- maximum
- partition
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims abstract description 51
- 238000005192 partition Methods 0.000 claims abstract description 185
- 230000003247 decreasing effect Effects 0.000 claims abstract description 8
- 230000008859 change Effects 0.000 claims description 18
- 238000011084 recovery Methods 0.000 claims description 3
- 230000006870 function Effects 0.000 description 9
- 230000017525 heat dissipation Effects 0.000 description 8
- 238000010586 diagram Methods 0.000 description 7
- 230000007423 decrease Effects 0.000 description 5
- 230000001133 acceleration Effects 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 3
- 238000013021 overheating Methods 0.000 description 3
- 230000009467 reduction Effects 0.000 description 3
- 238000013461 design Methods 0.000 description 2
- 230000008569 process Effects 0.000 description 2
- 238000012545 processing Methods 0.000 description 2
- 230000001360 synchronised effect Effects 0.000 description 2
- PEDCQBHIVMGVHV-UHFFFAOYSA-N Glycerine Chemical compound OCC(O)CO PEDCQBHIVMGVHV-UHFFFAOYSA-N 0.000 description 1
- 238000004590 computer program Methods 0.000 description 1
- 238000001816 cooling Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000001208 nuclear magnetic resonance pulse sequence Methods 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
- 230000001960 triggered effect Effects 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G09—EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
- G09G—ARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
- G09G3/00—Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes
- G09G3/20—Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters
- G09G3/34—Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters by control of light from an independent source
- G09G3/3406—Control of illumination source
-
- G—PHYSICS
- G09—EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
- G09G—ARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
- G09G2320/00—Control of display operating conditions
- G09G2320/06—Adjustment of display parameters
- G09G2320/0626—Adjustment of display parameters for control of overall brightness
Definitions
- the present application relates to the field of display screen display technology, and in particular, to a backlight control method, apparatus, electronic device and computer-readable storage medium.
- backlight modulation technology is usually used to control the brightness of the backlight, and the luminous effect of the backlight will directly affect the visual effect of the display.
- the temperature of the light source When it is lit for a long time, the temperature of the light source will rise linearly, causing the temperature of the display device to rise and affecting the life of the lamp.
- a backlight control method, apparatus, electronic device, and computer-readable storage medium are provided.
- a backlight control method executed by an electronic device, the method comprising:
- the maximum backlight duty cycle of each backlight partition of the display screen is restored to the configuration value corresponding to the current display state of the display screen.
- a backlight control device comprising:
- an obtaining module configured to obtain a first duration of time when the duty cycle of the backlight corresponding to the current backlight partition is greater than the preset maximum threshold, and the current backlight partition is the backlight partition in the display screen;
- a reducing module configured to reduce the maximum backlight duty cycle of the current backlight partition according to the preset maximum threshold when the first duration is greater than a first time threshold
- the restoration module is used to restore the maximum backlight duty cycle of each backlight partition of the display screen to a configuration value corresponding to the current display state of the display screen when the scene switching of the display screen is detected.
- a computer device comprising a memory and one or more processors, the memory storing computer-readable instructions that, when executed by the one or more processors, cause the one or more processors
- the processor executes the steps of the above-mentioned backlight control method.
- One or more non-volatile computer-readable storage media having computer-readable instructions stored thereon that, when executed by one or more processors, cause the one or multiple processors to perform the steps of the above-mentioned backlight control method.
- 1 is an application environment diagram of a backlight control method in one or more embodiments
- FIG. 2 is a flowchart of a backlight control method in one or more embodiments
- FIG. 3 is a flowchart of a backlight control method in another or more embodiments.
- FIG. 4 is a schematic flowchart of backlight control through first-layer logic in one or more specific embodiments
- FIG. 5 is a schematic flowchart of backlight control through second-layer logic in one or more specific embodiments
- FIG. 6 is a schematic diagram of a maximum duty value allocation table corresponding to a current backlight partition when different display windows are accounted for in one or more embodiments;
- FIG. 7 is a structural block diagram of a backlight control apparatus in one or more embodiments.
- FIG. 8 is a schematic diagram of an internal structure of an electronic device in one or more embodiments.
- first, second, etc. used in this application may be used herein to describe various data, but these data are not limited by these terms. These terms are only used to distinguish the first data from another.
- a first duration may be referred to as a second duration, and similarly, a second duration may be referred to as a first duration, without departing from the scope of this application.
- Both the first duration and the second duration are durations, but they are not the same duration.
- FIG. 1 is a schematic diagram of an application environment of a backlight control method in one embodiment.
- the application environment includes a display screen 102, wherein the display screen 102 includes a plurality of backlight partitions, and each backlight partition includes at least one backlight source.
- the backlight brightness of the partition can be adjusted.
- the display screen 102 can be, but is not limited to, a display screen of various televisions, personal computers, notebook computers, smart phones, tablet computers and portable wearable devices.
- each backlight partition has a corresponding backlight duty cycle, and obtain the first duration for which the backlight duty cycle corresponding to the current backlight partition is greater than the preset maximum threshold.
- the maximum backlight duty cycle of the current backlight partition is reduced according to the preset maximum threshold value.
- the maximum backlight duty cycle of each backlight partition of the display screen is restored to the current display state of the display screen. the corresponding configuration value.
- FIG. 2 is a flowchart of a backlight control method in one embodiment.
- the backlight control method in this embodiment is described by taking the operation on the display screen 102 in FIG. 1 as an example. Method the following steps:
- Step 202 Acquire a first duration of time when the duty cycle of the backlight corresponding to the current backlight partition is greater than a preset maximum threshold.
- the current backlight partition is any one of the backlight partitions in the display.
- the duty cycle of the backlight refers to the ratio of the power-on time to the total time in a pulse cycle. For example, a pulse sequence with a pulse width of 1 ⁇ s and a signal period of 4 ⁇ s has a duty cycle The ratio is 0.25.
- the display screen includes 210 backlight sub-regions, and each backlight sub-region includes 2 light tubes.
- the backlight duty cycle is adjusted in units of backlight partitions, and the preset maximum threshold may be different according to the properties of the lamp. In one embodiment, if a single lamp exceeds 60% of the duty, it will burn for more than 5 minutes. risk of bad lamps, so the preset max threshold can be set to 60%. The first duration can be obtained by counting the counters. Different backlight partitions correspond to different backlight duty ratios. In one embodiment, different maximum backlight duty cycles are allocated to the backlight partitions according to the display window ratio of the display screen.
- the backlight partition keeps the first preset maximum backlight duty cycle unchanged, and when the window ratio is less than the second preset window threshold, the backlight partition maintains the second preset maximum backlight duty cycle unchanged, wherein the first A preset window threshold is greater than the second preset window threshold, and the first preset maximum backlight duty ratio is smaller than the second preset maximum backlight duty cycle.
- the maximum backlight duty ratio corresponding to the backlight partition is decreased as the window ratio increases.
- the first preset window threshold is 70%
- the second preset window threshold is 15%
- the first preset maximum backlight duty cycle is 40%
- the second preset maximum backlight duty cycle is 100%. That is, when the window ratio is less than 15%, the maximum backlight duty cycle corresponding to the backlight partition is 100%.
- the window ratio is greater than or equal to 15% and less than or equal to 70%
- the corresponding backlight partition The maximum backlight duty cycle is continuously reduced until the window ratio is greater than 70%, and the maximum backlight duty cycle corresponding to the backlight partition remains unchanged at 40%.
- Step 204 when the first duration is greater than the first time threshold, reduce the maximum backlight duty cycle of the current backlight partition according to the preset maximum threshold.
- the first time threshold can be customized.
- the first time threshold is an empirical value obtained according to the statistics of the video content and the characteristics of the human eye.
- the first duration is 40s. Normally, a picture is maintained at the current The state generally does not exceed 40 seconds. For example, a sun is currently playing, and the brightness corresponding to the sun is the maximum value. If the lamp tube of the backlight zone corresponding to the sun position exceeds 40 seconds, the lamp tube of the backlight zone corresponding to the sun position will start to become hot, and the maximum value of the backlight zone of this position needs to be The backlight duty cycle is reduced, which reduces brightness and reduces lamp temperature.
- the maximum backlight duty cycle of the current backlight partition can be gradually reduced to be equal to or less than the preset maximum threshold.
- the gradually decreasing algorithm can be customized. For example, you can customize the acceleration to gradually reduce the maximum backlight duty cycle of the current backlight partition, or you can gradually reduce the maximum backlight duty cycle of the current backlight partition at a constant speed.
- the reduction speed can be determined by reducing the preset magnitude by the preset number of frames.
- Step 206 when detecting the scene switching of the display screen, restore the maximum backlight duty cycle of each backlight partition of the display screen to a configuration value corresponding to the current display state of the display screen.
- scene switching means that the display content of the display screen changes in the scene.
- the scene switching can be detected by the extent of the change in the display content exceeding a preset threshold, and the scene switching can be detected by detecting the occupancy of the lamp that has changed beyond the preset gray level. More recently, it is determined whether a scene switch has occurred.
- the current display state of the display screen can be determined according to the configuration strategy of the maximum backlight duty cycle. If the configuration strategy is to determine the maximum backlight duty cycle of each backlight partition according to the window size, the current display state of the display screen is determined according to the current display screen of the display screen.
- the proportion of the display window for example, the proportion of the display window corresponding to the current display picture is the moon is 20%, and the proportion of the display window corresponding to the current display picture is the star is 10%.
- the current display state of the display screen can be other display parameters, such as the size of the area of interest. Restore the maximum backlight duty cycle of each backlight partition of the display screen to the configuration value corresponding to the current display state of the display screen, so that when scene switching occurs, the display of the screen is not affected by the previous adjustment of the maximum backlight duty cycle of the current backlight partition. , to ensure the display quality of the picture when scene switching occurs.
- the backlight control method in this embodiment obtain the first duration time when the duty cycle of the backlight corresponding to the current backlight partition is greater than the preset maximum threshold; when the first duration is greater than the first time threshold, decrease according to the preset maximum threshold The maximum backlight duty cycle of the current backlight partition; when the screen scene switching is detected, the maximum backlight duty cycle of each backlight partition of the display screen is restored to the configuration value corresponding to the current display state of the display screen. In this way, when the backlight duty cycle is continuously greater than the preset maximum threshold, the maximum backlight duty cycle of the current backlight partition can be automatically reduced, thereby reducing the brightness, reducing the temperature of the lamp tube, and prolonging the life of the lamp tube.
- the display of the picture is not affected by the previous adjustment of the maximum backlight duty cycle of the current backlight partition, which ensures the display quality of the picture when the scene is switched. There is no need to add additional heat dissipation devices, and the balance between display quality and heat dissipation is achieved. Cost control Guaranteed display quality.
- step 202 includes: counting the first duration by using a first timer corresponding to the current backlight partition.
- the backlight control method further includes: when the maximum backlight duty ratio of the current backlight partition is reduced according to the preset maximum threshold, clearing the first timer, and when the display screen scene is switched, clearing the first timer.
- each backlight partition has a corresponding first timer for counting the first duration, and when the first duration is greater than the first time threshold, the maximum backlight occupation of the current backlight partition is reduced according to the preset maximum threshold duty cycle, while clearing the first timer.
- the timing trigger function of the first timer is restarted, so that the next time the current backlight partition corresponds to the backlight duty cycle When it is greater than the preset maximum threshold, the timing function of the first timer can be triggered.
- the timing trigger function of the first timer is turned off.
- the backlight duty cycle corresponding to the current backlight partition is greater than the preset maximum threshold
- the The adjustment has already started, and there is no need to activate the timing function of the first timer.
- the maximum backlight duty cycle of each backlight partition of the display screen is restored to the configuration value corresponding to the current display state of the display screen, and the first timer is cleared at this time, and the backlight corresponding to the next current backlight partition
- the first timer starts to count again.
- the first timer when starting to adjust the maximum backlight duty cycle of the current backlight partition or switch the display screen scene, the first timer is cleared to make it easier for the first timer to work normally and keep the timing accurate. Clear to zero and count time intelligently.
- the backlight control method further includes:
- Step 302 using a second timer corresponding to the current backlight partition to count the second duration time for which the duty cycle of the backlight corresponding to the current backlight partition is greater than a preset maximum threshold.
- each backlight partition has a corresponding second timer, and the timing rule of the second timer is different from that of the first timer.
- the second timer will not be cleared.
- Step 304 when the second duration is greater than the second time threshold, reduce the maximum backlight duty cycle of the current backlight partition according to the preset maximum threshold, and clear the second timer, and the second time threshold is greater than the first time threshold.
- the second time threshold can be customized, and the second time threshold is greater than the first time threshold.
- the second time threshold is a critical value at which the lamp is at risk of burnout. For example, if a single lamp exceeds 60% of the duty and the time exceeds 5 minutes, the lamp may be at risk of burnout, the second time can be The threshold was set to 5 minutes.
- the maximum backlight duty cycle of the current backlight partition is decreased according to the preset maximum threshold, and the maximum backlight duty cycle of the current backlight partition can be gradually reduced to be equal to or less than the preset maximum backlight duty cycle.
- the gradually decreasing algorithm can be customized. For example, you can customize the acceleration to gradually reduce the maximum backlight duty cycle of the current backlight partition, or you can gradually reduce the maximum backlight duty cycle of the current backlight partition at a constant speed. The reduction speed can be determined by reducing the preset magnitude by the preset number of frames. At the same time, the second timer is cleared.
- the timing time of the second timer reaches the second time threshold, such as 5 minutes, the duty should be lowered to reduce the current The maximum backlight duty cycle for the backlight partition.
- the first timer is cleared and the duration of the backlight duty cycle greater than the preset maximum threshold cannot be counted.
- the second timer performs statistics, so that when the second time threshold is reached, the maximum backlight duty cycle of the current backlight partition is automatically reduced, so as to protect the lamp tube and prolong the life of the lamp tube.
- reducing the maximum backlight duty cycle of the current backlight partition according to the preset maximum threshold includes: for the current backlight partition, gradually reducing the corresponding maximum backlight duty cycle according to the display image frame period until the maximum backlight duty cycle of the current backlight partition is reached.
- the backlight duty cycle is equal to or less than the preset maximum threshold.
- the display image frame period can be customized.
- the display image frame period can be set to 4 frames, and the gradual decrease in each display image frame period can also be customized.
- the gradual decrease can be set to 1% duty.
- the duty is reduced by 1% every 4 frames, and the maximum backlight duty cycle of the current backlight partition is steadily reduced in each display image frame period until the maximum backlight duty cycle of the current backlight partition is equal to or less than the preset maximum threshold, and can be stopped.
- the specific stop conditions can be customized.
- the backlight control method in this embodiment can gradually reduce the heat of the lamp tube by steadily reducing the maximum backlight duty cycle of the current backlight partition in each display image frame period, and at the same time, the brightness of the displayed image will not change abruptly. Balance with heat dissipation, prolong lamp life, and ensure display quality while controlling costs.
- the method further includes: acquiring a third duration for which the backlight duty cycle corresponding to the current backlight partition is smaller than the preset maximum threshold; when When the third duration is greater than the third time threshold, the maximum backlight duty cycle of the current backlight partition is increased.
- a counter can be set to count the third duration of time when the duty cycle of the backlight corresponding to the current backlight partition is less than the preset maximum threshold.
- the third time threshold can be customized. In one embodiment, the third time threshold is equal to the second time threshold. , for 5 minutes.
- the lamp has dissipated heat, and the maximum backlight duty cycle of the current backlight partition can be increased to restore it. to the initial value or restore to the configuration value corresponding to the current display state of the display.
- the maximum backlight duty cycle of the current backlight partition you can gradually increase it according to a custom algorithm. For example, you can customize the acceleration to gradually increase the maximum backlight duty cycle of the current backlight partition, or you can gradually increase the maximum backlight volume of the current backlight partition at a constant speed.
- the duty cycle of the backlight wherein the increasing speed can be determined by increasing the preset number of frames by the preset amplitude.
- the maximum allowable brightness of the lamp tube can be increased imperceptibly, so that the lamp tube can meet the screen design according to a specific standard. And the maximum brightness produced, not only to protect the lamp from overheating and burning, but also to try to achieve the maximum display brightness of the display.
- step 206 includes: determining the corresponding current display window ratio according to the current display image of the display screen; determining the corresponding configuration value for the maximum backlight duty ratio of each backlight partition of the display screen based on the current display window ratio .
- the proportion of the current display window is determined according to the brightness of the current display screen.
- the target backlight partition corresponding to the display area exceeding the preset brightness threshold can be counted.
- the current display window proportion and brightness can be obtained.
- the maximum backlight duty cycle determines the maximum brightness that the backlight partition can display.
- a higher maximum backlight duty cycle can be set, such as the maximum The backlight duty cycle is 100%.
- the maximum backlight duty cycle corresponding to the backlight partition continues to decrease until the window ratio is greater than the first At a preset window threshold, the maximum backlight duty cycle corresponding to the backlight partition remains unchanged.
- the window continues to increase, it means that the number of lamps in the display screen whose brightness exceeds the preset brightness threshold increases, and the heat generated by the lamps increases. At this time, it is necessary to reduce the maximum backlight duty cycle corresponding to the backlight partition, so as to reduce the heat of the lamps and protect the light tube.
- the backlight control method in this embodiment can determine the corresponding configuration value for the maximum backlight duty cycle of each backlight partition of the display screen according to the current proportion of the display window, so as to achieve dynamic configuration, the configuration is flexible and conforms to the characteristics of the human eye, and the lamp can be adjusted flexibly. tube for protection.
- the backlight control method further includes: when the display brightness change corresponding to a preset proportion of the backlight partitions in the display screen exceeds a brightness change threshold, determining that the display screen is switched between scenes.
- the statistics of the display brightness changes corresponding to the preset proportions of the backlight partitions in the display screen can be obtained through the grayscale histogram algorithm.
- the display brightness changes corresponding to the preset proportions of the backlight partitions in the display screen exceed the brightness change threshold, such as When more than 10% of the lamps have more than one grayscale change, it is determined that the display screen has switched scenes.
- the backlight control method in this embodiment it is efficient and convenient to determine that the display screen is switched between scenes by determining that the display brightness change corresponding to the backlight partition of the preset ratio exceeds the brightness change threshold.
- FIG. 4 and FIG. 5 it is a schematic flowchart of a backlight control method in one embodiment.
- the display screen includes 210 backlight partitions, and each backlight partition includes 2 lamps.
- each backlight partition includes 2 lamps.
- the lamps are processed separately through 2 layers of logic. Protection, the specific process is as follows:
- the first layer of logic is based on a single backlight partition, and each backlight partition has 3 parameters, namely:
- the duty value input to the current backlight partition is the maximum duty value allocation table corresponding to the current backlight partition when the 40% power allocation algorithm occupies different display windows.
- the maximum duty value corresponding to the current backlight partition determines the actual duty value of each backlight partition.
- the value of parameter c is determined in real time to adjust the brightness of the lamp tube; the first timer counts the duration of the backlight duty cycle corresponding to the current backlight partition exceeding 60% duty, when the duration exceeds 40 seconds, then slowly reduce the maximum duty value allowed by the lamps of the current backlight partition, which can protect the actual duty of the lamps not to exceed the duty range specified by the hardware.
- the duty range is required to be 60%.
- the parameters a, b, and c are reset, the first timer is cleared, and the maximum value of each backlight partition of the display screen is reset.
- the duty cycle of the backlight is restored to the configuration value corresponding to the current display state of the display screen, and the brightness is immediately reset to the maximum after the scene switching to ensure the display image quality after the scene switching.
- the second layer of logic is based on a single backlight partition, and each backlight partition has 3 parameters, namely:
- the second timer is used to count the duration of the backlight duty cycle corresponding to the current backlight partition exceeding 60% duty.
- the second timer does not need to be reset when the screen is switched to a larger scene.
- the duration exceeds 5 minutes (that is, 300 seconds)
- the duty cycle of the backlight corresponding to the current backlight partition does not exceed 60% duty for a period of time, the lamp has dissipated heat, the timing trigger function of parameter b will be restored, and the maximum duty allowed by parameter c will also return to the initial value, or according to the current display on the display
- the state returns to the corresponding configuration value, and the display brightness increases.
- the second timer When the second timer counts the backlight duty cycle corresponding to the current backlight partition exceeding 60% duty for more than 5 minutes, it is also possible to reset each parameter, and then return to continue to count the backlight duty cycle corresponding to the current backlight partition exceeding 60% duty.
- the step of 60% duty duration if the second timer counts the duration of the backlight duty cycle corresponding to the current backlight partition exceeding 60% duty for less than 5 minutes, the logic part of the first layer can be entered.
- the two-layer logic can automatically reduce the maximum backlight duty cycle of the current backlight partition when the backlight duty cycle is continuously greater than the preset maximum threshold, which will imperceptibly reduce the maximum allowable display brightness, so as to reach the light
- the purpose of cooling the tube is to prolong the life of the lamp.
- the display of the screen will not be affected by the previous adjustment of the maximum backlight duty cycle of the current backlight partition, so as to ensure the display quality of the screen when the scene is switched, and wait for the lamp to cool down.
- the maximum allowable brightness will be increased indiscernibly, so that the lamp tube can reach the maximum brightness of the screen designed and manufactured according to a specific standard, protect the lamp tube from overheating and burn out, and try to achieve the purpose of the maximum display brightness of the screen.
- steps in the flowcharts of FIGS. 2-5 are shown in sequence according to the arrows, these steps are not necessarily executed in the sequence shown by the arrows. Unless explicitly stated herein, the execution of these steps is not strictly limited to the order, and these steps may be performed in other orders. Moreover, at least a part of the steps in FIGS. 2-5 may include multiple sub-steps or multiple stages. These sub-steps or stages are not necessarily executed and completed at the same time, but may be executed at different times. These sub-steps or stages are not necessarily completed at the same time. The order of execution of the steps is not necessarily sequential, but may be performed alternately or alternately with other steps or at least a part of sub-steps or stages of other steps.
- FIG. 7 is a structural block diagram of a backlight control apparatus according to one embodiment.
- a backlight control device includes an acquisition module 402, a reduction module 404, and a recovery module 406, wherein:
- the obtaining module 402 is configured to obtain the first duration of time when the duty cycle of the backlight corresponding to the current backlight partition is greater than the preset maximum threshold, and the current backlight partition is the backlight partition in the display screen.
- a reducing module 404 is configured to reduce the maximum backlight duty cycle of the current backlight partition according to the preset maximum threshold when the first duration is greater than the first time threshold.
- the restoration module 406 is configured to restore the maximum backlight duty cycle of each backlight partition of the display screen to a configuration value corresponding to the current display state of the display screen when a scene switching of the display screen is detected.
- the backlight control device in this embodiment obtains the first duration of time when the duty cycle of the backlight corresponding to the current backlight partition is greater than the preset maximum threshold; when the first duration is greater than the first time threshold, decreases according to the preset maximum threshold The maximum backlight duty cycle of the current backlight partition; when the screen scene switching is detected, the maximum backlight duty cycle of each backlight partition of the display screen is restored to the configuration value corresponding to the current display state of the display screen. In this way, when the backlight duty cycle is continuously greater than the preset maximum threshold, the maximum backlight duty cycle of the current backlight partition can be automatically reduced, thereby reducing the brightness, reducing the temperature of the lamp tube, and prolonging the life of the lamp tube.
- the display of the picture is not affected by the previous adjustment of the maximum backlight duty cycle of the current backlight partition, which ensures the display quality of the picture when the scene is switched. There is no need to add additional heat dissipation devices, and the balance between display quality and heat dissipation is achieved. Cost control Guaranteed display quality.
- the acquiring module 402 is further configured to count the first duration by using the first timer corresponding to the current backlight partition.
- the device also includes:
- the clearing module 408 is configured to clear the first timer when the maximum backlight duty cycle of the current backlight partition is reduced according to the preset maximum threshold, and clear the first timer when the display screen scene is switched.
- the backlight control device in this embodiment when starting to adjust the maximum backlight duty ratio of the current backlight partition or switching the display screen scene, clears the first timer, so that the first timer can work normally and the timing is accurate. When conditions are met, it is automatically cleared and intelligently counts the time.
- the apparatus further includes:
- the adjustment module 410 is configured to count the second duration time of the backlight duty cycle corresponding to the current backlight partition that is greater than the preset maximum threshold through the second timer corresponding to the current backlight partition, and when the second duration is greater than the second time threshold, according to The preset maximum threshold reduces the maximum backlight duty cycle of the current backlight partition, clears the second timer, and the second time threshold is greater than the first time threshold.
- the backlight control device in this embodiment through the auxiliary function of the second timer, can also pass the time when the display screen keeps switching scenes and the first timer is cleared and the duration of the backlight duty cycle greater than the preset maximum threshold cannot be counted.
- the second timer performs statistics, so that when the second time threshold is reached, the maximum backlight duty cycle of the current backlight partition is automatically reduced, so as to protect the lamp tube and prolong the life of the lamp tube.
- the reducing module 404 or the adjusting module 410 is further configured to gradually reduce the corresponding maximum backlight duty cycle for the current backlight partition according to the display image frame period, until the maximum backlight duty cycle of the current backlight partition is equal to or less than Preset maximum threshold.
- the backlight control device in this embodiment can gradually reduce the heat of the lamp tube by steadily reducing the maximum backlight duty cycle of the current backlight partition during each display image frame period, and at the same time, the brightness of the displayed image will not change abruptly. Balance with heat dissipation, prolong lamp life, and ensure display quality while controlling costs.
- the apparatus further includes:
- the increasing module 412 is used to obtain the third duration time when the backlight duty cycle corresponding to the current backlight partition is smaller than the preset maximum threshold, and when the third duration is greater than the third time threshold, increase the maximum backlight duty cycle of the current backlight partition Compare.
- the backlight control device in this embodiment increases the maximum backlight duty cycle of the current backlight partition after the lamp is cooled, so that the maximum allowable brightness of the lamp is imperceptibly increased, so that the lamp can meet the screen design according to a specific standard. And the maximum brightness produced, not only protects the lamp from overheating and burns, but also tries to achieve the maximum display brightness of the display.
- the recovery module 406 is further configured to determine the corresponding current display window ratio according to the current display image of the display screen, and determine the corresponding current display window ratio for the maximum backlight duty ratio of each backlight partition of the display screen based on the current display window ratio configuration value.
- the backlight control device in this embodiment can determine the corresponding configuration value for the maximum backlight duty cycle of each backlight partition of the display screen according to the current display window ratio, so as to achieve dynamic configuration, the configuration is flexible and conforms to the characteristics of the human eye, and it can adjust the light tube for protection.
- the apparatus further includes:
- the determining module 414 is configured to determine that the display screen is switched between scenes when the display brightness change corresponding to the preset proportion of the backlight partitions in the display screen exceeds the brightness change threshold.
- the backlight control device in this embodiment determines that the display screen is switched between scenes by determining that the display screen is switched between scenes according to the change of the display brightness corresponding to the backlight partition of the preset ratio exceeding the brightness change threshold, which is efficient and convenient.
- each module in the above backlight control device is only used for illustration. In other embodiments, the backlight control device can be divided into different modules as required to complete all or part of the functions of the above backlight control device.
- Each module in the above-mentioned backlight control device can be implemented in whole or in part by software, hardware and combinations thereof.
- the above modules can be embedded in or independent of the processor in the computer device in the form of hardware, or stored in the memory in the computer device in the form of software, so that the processor can call and execute the operations corresponding to the above modules.
- FIG. 8 is a schematic diagram of the internal structure of an electronic device in one embodiment.
- the electronic device includes a processor and a memory connected by a system bus.
- the processor is used to provide computing and control capabilities to support the operation of the entire electronic device.
- the memory may include non-volatile storage media and internal memory.
- the non-volatile storage medium stores an operating system and computer-readable instructions.
- the computer-readable instructions can be executed by the processor to implement a backlight control method provided by the following embodiments.
- Internal memory provides a cached execution environment for operating system computer-readable instructions in a non-volatile storage medium.
- the electronic device can be a mobile phone, a TV, a tablet computer, a PDA (Personal Digital Assistant, personal digital assistant), a POS (Point of Sales, a sales terminal), a vehicle computer, a wearable device, and other electronic devices that include a display screen.
- PDA Personal Digital Assistant, personal digital assistant
- POS Point of Sales, a sales terminal
- vehicle computer a wearable device
- wearable device and other electronic devices that include a display screen.
- each module in the backlight control apparatus may be in the form of computer-readable instructions.
- the computer readable instructions can be executed on a terminal or server.
- the program modules constituted by the computer readable instructions may be stored on the memory of the electronic device.
- Embodiments of the present application also provide a computer-readable storage medium.
- One or more non-volatile computer-readable storage media containing computer-executable instructions that, when executed by one or more processors, cause the processors to perform the backlighting of the various embodiments described above Control Method.
- Nonvolatile memory may include read only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory.
- Volatile memory may include random access memory (RAM), which acts as external cache memory.
- RAM is available in various forms such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDR SDRAM), enhanced SDRAM (ESDRAM), synchronous Link (Synchlink) DRAM (SLDRAM), Memory Bus (Rambus) Direct RAM (RDRAM), Direct Memory Bus Dynamic RAM (DRDRAM), and Memory Bus Dynamic RAM (RDRAM).
- SRAM static RAM
- DRAM dynamic RAM
- SDRAM synchronous DRAM
- DDR SDRAM double data rate SDRAM
- ESDRAM enhanced SDRAM
- SLDRAM synchronous Link (Synchlink) DRAM
- SLDRAM synchronous Link (Synchlink) DRAM
- Memory Bus Radbus
- RDRAM Direct RAM
- DRAM Direct Memory Bus Dynamic RAM
- RDRAM Memory Bus Dynamic RAM
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- Computer Hardware Design (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Control Of Indicators Other Than Cathode Ray Tubes (AREA)
- Liquid Crystal Display Device Control (AREA)
- Liquid Crystal (AREA)
Abstract
A backlight control method and apparatus, and an electronic device, and a computer readable storage medium. The method comprises: obtaining a first duration in which a backlight duty ratio corresponding to the current backlight partition is greater than a preset maximum threshold; when the first duration is greater than a first time threshold, decreasing the maximum backlight duty ratio of the current backlight partition according to the preset maximum threshold; and when detecting that a scenario on a display screen is switched, restoring the maximum backlight duty ratio of each backlight partition of the display screen to a configuration value corresponding to the current display state of the display screen.
Description
本申请要求于2020年10月30日提交中国专利局,申请号为2020111910345,申请名称为“背光控制方法、装置、电子设备和可读存储介质”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of the Chinese patent application filed on October 30, 2020 with the application number 2020111910345 and the application title is "Backlight Control Method, Device, Electronic Device and Readable Storage Medium", the entire content of which is approved by Reference is incorporated in this application.
本申请涉及显示屏显示技术领域,特别是涉及一种背光控制方法、装置、电子设备和计算机可读存储介质。The present application relates to the field of display screen display technology, and in particular, to a backlight control method, apparatus, electronic device and computer-readable storage medium.
随着显示技术的发展,通常采用背光调制技术控制背光源亮度,背光源的发光效果将直接影响到显示的视觉效果。With the development of display technology, backlight modulation technology is usually used to control the brightness of the backlight, and the luminous effect of the backlight will directly affect the visual effect of the display.
在长时间点亮时,光源温度会直线上升,导致显示设备温度上升,影响灯管寿命。When it is lit for a long time, the temperature of the light source will rise linearly, causing the temperature of the display device to rise and affecting the life of the lamp.
发明内容SUMMARY OF THE INVENTION
根据本申请公开的各种实施例,提供了一种背光控制方法、装置、电子设备、计算机可读存储介质。According to various embodiments disclosed in the present application, a backlight control method, apparatus, electronic device, and computer-readable storage medium are provided.
一种背光控制方法,由电子设备执行,所述方法包括:A backlight control method, executed by an electronic device, the method comprising:
获取当前背光分区对应的背光占空比大于预设最大阈值的第一持续时间,所述当前背光分区为显示屏中的背光分区;obtaining a first duration of time in which the duty cycle of the backlight corresponding to the current backlight partition is greater than the preset maximum threshold, where the current backlight partition is the backlight partition in the display screen;
当所述第一持续时间大于第一时间阈值时,根据所述预设最大阈值减小所述当前背光分区的最大背光占空比;及When the first duration is greater than a first time threshold, reducing the maximum backlight duty cycle of the current backlight partition according to the preset maximum threshold; and
当检测到显示屏场景切换时,将显示屏各个背光分区的最大背光占空比恢复至与显示屏当前显示状态对应的配置值。When it is detected that the display screen scene is switched, the maximum backlight duty cycle of each backlight partition of the display screen is restored to the configuration value corresponding to the current display state of the display screen.
一种背光控制装置,包括:A backlight control device, comprising:
获取模块,用于获取当前背光分区对应的背光占空比大于预设最大阈值的第一持续时间,所述当前背光分区为显示屏中的背光分区;an obtaining module, configured to obtain a first duration of time when the duty cycle of the backlight corresponding to the current backlight partition is greater than the preset maximum threshold, and the current backlight partition is the backlight partition in the display screen;
减小模块,用于当所述第一持续时间大于第一时间阈值时,根据所述预设最大阈值减小所述当前背光分区的最大背光占空比;及a reducing module, configured to reduce the maximum backlight duty cycle of the current backlight partition according to the preset maximum threshold when the first duration is greater than a first time threshold; and
恢复模块,用于当检测到显示屏场景切换时,将显示屏各个背光分区的最大背光占空比恢复至与显示屏当前显示状态对应的配置值。The restoration module is used to restore the maximum backlight duty cycle of each backlight partition of the display screen to a configuration value corresponding to the current display state of the display screen when the scene switching of the display screen is detected.
一种计算机设备,包括存储器和一个或多个处理器,所述存储器存储有计算机可读指令,所述计算机可读指令被所述一个或多个处理器执行时,使得所述一个或多个处理器执行上述背光控制方法的步骤。A computer device comprising a memory and one or more processors, the memory storing computer-readable instructions that, when executed by the one or more processors, cause the one or more processors The processor executes the steps of the above-mentioned backlight control method.
一个或多个存储有计算机可读指令的非易失性计算机可读存储介质,其上存储有计算机可读指令,所述计算机可读指令被一个或多个处理器执行时,使得所述一个或多个处理 器执行上述背光控制方法的步骤。One or more non-volatile computer-readable storage media having computer-readable instructions stored thereon that, when executed by one or more processors, cause the one or multiple processors to perform the steps of the above-mentioned backlight control method.
本申请的一个或多个实施例的细节在下面的附图和描述中提出。本申请的其它特征和优点将从说明书、附图以及权利要求书变得明显The details of one or more embodiments of the application are set forth in the accompanying drawings and the description below. Other features and advantages of the present application will become apparent from the description, drawings, and claims
为了更清楚地说明本申请实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the following briefly introduces the accompanying drawings required for the description of the embodiments or the prior art. Obviously, the drawings in the following description are only These are some embodiments of the present application. For those of ordinary skill in the art, other drawings can also be obtained based on these drawings without any creative effort.
图1为一个或多个实施例中背光控制方法的应用环境图;1 is an application environment diagram of a backlight control method in one or more embodiments;
图2为一个或多个实施例中背光控制方法的流程图;2 is a flowchart of a backlight control method in one or more embodiments;
图3为另一个或多个实施例中背光控制方法的流程图;3 is a flowchart of a backlight control method in another or more embodiments;
图4为一个或多个具体的实施例中通过第一层逻辑进行背光控制的流程示意图;4 is a schematic flowchart of backlight control through first-layer logic in one or more specific embodiments;
图5为一个或多个具体的实施例中通过第二层逻辑进行背光控制的流程示意图;FIG. 5 is a schematic flowchart of backlight control through second-layer logic in one or more specific embodiments;
图6为一个或多个实施例中不同显示窗口占比时,当前背光分区对应的最大duty值分配表示意图;6 is a schematic diagram of a maximum duty value allocation table corresponding to a current backlight partition when different display windows are accounted for in one or more embodiments;
图7为一个或多个实施例中背光控制装置的结构框图;7 is a structural block diagram of a backlight control apparatus in one or more embodiments;
图8为一个或多个实施例中电子设备的内部结构示意图。8 is a schematic diagram of an internal structure of an electronic device in one or more embodiments.
为了使本申请的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本申请进行进一步详细说明。应当理解,此处所描述的具体实施例仅仅用以解释本申请,并不用于限定本申请。In order to make the purpose, technical solutions and advantages of the present application more clearly understood, the present application will be described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application, but not to limit the present application.
可以理解,本申请所使用的术语“第一”、“第二”等可在本文中用于描述各种数据,但这些数据不受这些术语限制。这些术语仅用于将第一个数据与另一个数据区分。举例来说,在不脱离本申请的范围的情况下,可以将第一持续时间称为第二持续时间,且类似地,可将第二持续时间称为第一持续时间。第一持续时间和第二持续时间两者都是持续时间,但其不是同一持续时间。It is understood that the terms "first", "second", etc. used in this application may be used herein to describe various data, but these data are not limited by these terms. These terms are only used to distinguish the first data from another. For example, a first duration may be referred to as a second duration, and similarly, a second duration may be referred to as a first duration, without departing from the scope of this application. Both the first duration and the second duration are durations, but they are not the same duration.
图1为其中一个实施例中背光控制方法的应用环境示意图。如图1所示,该应用环境包括显示屏102,其中显示屏102包括多个背光分区,每个背光分区包括至少一个背光源,通过调整每个背光分区的背光占空比,实现对不同背光分区的背光亮度进行调整。其中,显示屏102可以但不限于是各种电视、个人计算机、笔记本电脑、智能手机、平板电脑和便携式可穿戴设备的显示屏。根据显示屏显示画面的不同,每个背光分区都存在对应的背光占空比,获取当前背光分区对应的背光占空比大于预设最大阈值的第一持续时间,当第一持续时间大于第一时间阈值时,根据预设最大阈值减小当前背光分区的最大背光占空比,当检测到显示屏场景切换时,将显示屏各个背光分区的最大背光占空比恢复至与显示屏当前显示状态对应的配置值。现有技术在控制背光源亮度时,通常通过增加散热装置来减缓显示设备的温度上升,存在增加显示设备成本的问题。FIG. 1 is a schematic diagram of an application environment of a backlight control method in one embodiment. As shown in FIG. 1 , the application environment includes a display screen 102, wherein the display screen 102 includes a plurality of backlight partitions, and each backlight partition includes at least one backlight source. The backlight brightness of the partition can be adjusted. Wherein, the display screen 102 can be, but is not limited to, a display screen of various televisions, personal computers, notebook computers, smart phones, tablet computers and portable wearable devices. According to the different images displayed on the display screen, each backlight partition has a corresponding backlight duty cycle, and obtain the first duration for which the backlight duty cycle corresponding to the current backlight partition is greater than the preset maximum threshold. When the first duration is greater than the first When the time threshold is set, the maximum backlight duty cycle of the current backlight partition is reduced according to the preset maximum threshold value. When the scene switching of the display screen is detected, the maximum backlight duty cycle of each backlight partition of the display screen is restored to the current display state of the display screen. the corresponding configuration value. When controlling the brightness of the backlight source in the prior art, the temperature rise of the display device is usually slowed down by adding a heat sink, which has the problem of increasing the cost of the display device.
图2为其中一个实施例中背光控制方法的流程图。本实施例中的背光控制方法,以运 行于图1中的显示屏102上为例进行描述。方法以下步骤:FIG. 2 is a flowchart of a backlight control method in one embodiment. The backlight control method in this embodiment is described by taking the operation on the display screen 102 in FIG. 1 as an example. Method the following steps:
步骤202,获取当前背光分区对应的背光占空比大于预设最大阈值的第一持续时间。Step 202: Acquire a first duration of time when the duty cycle of the backlight corresponding to the current backlight partition is greater than a preset maximum threshold.
当前背光分区是显示屏中的任一个背光分区,背光占空比duty是指在一个脉冲循环内,通电时间相对于总时间所占的比例,如脉冲宽度1μs,信号周期4μs的脉冲序列占空比为0.25。在其中一个实施例中,显示屏包括210个背光分区,每个背光分区包括2个灯管。The current backlight partition is any one of the backlight partitions in the display. The duty cycle of the backlight refers to the ratio of the power-on time to the total time in a pulse cycle. For example, a pulse sequence with a pulse width of 1μs and a signal period of 4μs has a duty cycle The ratio is 0.25. In one embodiment, the display screen includes 210 backlight sub-regions, and each backlight sub-region includes 2 light tubes.
具体地,以背光分区为单位对背光占空比进行调节,预设最大阈值根据灯管的属性可不同,在其中一个实施例中,单个灯管超过60%的duty,时间超过5分钟有烧坏灯管的风险,因此可以将预设最大阈值设置为60%。第一持续时间可通过计数器统计得到。不同的背光分区对应不同的背光占空比,在其中一个实施例中,根据显示屏的显示窗口占比为背光分区分配不同的最大背光占空比,如当窗口占比大于第一预设窗口阈值时,使得背光分区维持第一预设最大背光占空比不变,当窗口占比小于第二预设窗口阈值时,使得背光分区维持第二预设最大背光占空比不变,其中第一预设窗口阈值大于第二预设窗口阈值,第一预设最大背光占小于第二预设最大背光占空比。当窗口占比在第二预设窗口阈值与第一预设窗口阈值之间时,使得背光分区对应的最大背光占空比随着窗口占比的增大而减小。在其中一个实施例中,第一预设窗口阈值为70%,第二预设窗口阈值为15%,第一预设最大背光占空比为40%,第二预设最大背光占空比为100%。即窗口占比小于15%时,背光分区对应的最大背光占空比为100%,当窗口占比大于或等于15%且小于或等于70%时,随着窗口不断增大,背光分区对应的最大背光占空比不断减小,直到窗口占比大于70%时,背光分区对应的最大背光占空比维持40%不变。Specifically, the backlight duty cycle is adjusted in units of backlight partitions, and the preset maximum threshold may be different according to the properties of the lamp. In one embodiment, if a single lamp exceeds 60% of the duty, it will burn for more than 5 minutes. risk of bad lamps, so the preset max threshold can be set to 60%. The first duration can be obtained by counting the counters. Different backlight partitions correspond to different backlight duty ratios. In one embodiment, different maximum backlight duty cycles are allocated to the backlight partitions according to the display window ratio of the display screen. For example, when the window ratio is greater than the first preset window When the threshold is set, the backlight partition keeps the first preset maximum backlight duty cycle unchanged, and when the window ratio is less than the second preset window threshold, the backlight partition maintains the second preset maximum backlight duty cycle unchanged, wherein the first A preset window threshold is greater than the second preset window threshold, and the first preset maximum backlight duty ratio is smaller than the second preset maximum backlight duty cycle. When the window ratio is between the second preset window threshold and the first preset window threshold, the maximum backlight duty ratio corresponding to the backlight partition is decreased as the window ratio increases. In one embodiment, the first preset window threshold is 70%, the second preset window threshold is 15%, the first preset maximum backlight duty cycle is 40%, and the second preset maximum backlight duty cycle is 100%. That is, when the window ratio is less than 15%, the maximum backlight duty cycle corresponding to the backlight partition is 100%. When the window ratio is greater than or equal to 15% and less than or equal to 70%, as the window continues to increase, the corresponding backlight partition The maximum backlight duty cycle is continuously reduced until the window ratio is greater than 70%, and the maximum backlight duty cycle corresponding to the backlight partition remains unchanged at 40%.
步骤204,当第一持续时间大于第一时间阈值时,根据预设最大阈值减小当前背光分区的最大背光占空比。 Step 204, when the first duration is greater than the first time threshold, reduce the maximum backlight duty cycle of the current backlight partition according to the preset maximum threshold.
第一时间阈值可以自定义,在其中一个实施例中,第一时间阈值是根据播放视频内容与人眼特性统计得到的经验值,如第一持续时间为40S,常规情况下一个画面维持在当前状态一般不会超过40秒,比如当前播放一个太阳,太阳对应的亮度为最大值,如果超过40秒太阳位置对应的背光分区的灯管会开始发烫,则需要将此位置的背光分区的最大背光占空比减小,从而减小亮度,降低灯管温度。The first time threshold can be customized. In one embodiment, the first time threshold is an empirical value obtained according to the statistics of the video content and the characteristics of the human eye. For example, the first duration is 40s. Normally, a picture is maintained at the current The state generally does not exceed 40 seconds. For example, a sun is currently playing, and the brightness corresponding to the sun is the maximum value. If the lamp tube of the backlight zone corresponding to the sun position exceeds 40 seconds, the lamp tube of the backlight zone corresponding to the sun position will start to become hot, and the maximum value of the backlight zone of this position needs to be The backlight duty cycle is reduced, which reduces brightness and reduces lamp temperature.
具体地,根据预设最大阈值减小当前背光分区的最大背光占空比,可逐渐减小当前背光分区的最大背光占空比至等于或小于预设最大阈值。逐渐减小的算法可自定义,如可自定义加速度逐渐减小当前背光分区的最大背光占空比,也可以匀速逐渐减小当前背光分区的最大背光占空比。减小速度可通过预设帧数固定减小预设幅度来确定。Specifically, by reducing the maximum backlight duty cycle of the current backlight partition according to the preset maximum threshold, the maximum backlight duty cycle of the current backlight partition can be gradually reduced to be equal to or less than the preset maximum threshold. The gradually decreasing algorithm can be customized. For example, you can customize the acceleration to gradually reduce the maximum backlight duty cycle of the current backlight partition, or you can gradually reduce the maximum backlight duty cycle of the current backlight partition at a constant speed. The reduction speed can be determined by reducing the preset magnitude by the preset number of frames.
步骤206,当检测到显示屏场景切换时,将显示屏各个背光分区的最大背光占空比恢复至与显示屏当前显示状态对应的配置值。 Step 206 , when detecting the scene switching of the display screen, restore the maximum backlight duty cycle of each backlight partition of the display screen to a configuration value corresponding to the current display state of the display screen.
具体地,场景切换是指显示屏的显示内容发生了场景上的变化,可通过显示内容变化的幅度超过预设阈值来检测场景切换,可通过检测发生超过预设灰度变化的灯管的占比来判定是否发生场景切换。显示屏当前显示状态可根据最大背光占空比的配置策略确定,如配置策略为根据窗口大小确定各个背光分区的最大背光占空比,则显示屏当前显示状态为根据显示屏当前显示画面确定的显示窗口占比,如当前显示画面为月亮对应的显示窗口占比为20%,当前显示画面为星星对应的显示窗口占比为10%。当配置策略为各个背光分区 的最大背光占空比根据其它显示参数变化时,则显示屏当前显示状态可为其它显示参数,如感兴趣区域大小等。将显示屏各个背光分区的最大背光占空比恢复至与显示屏当前显示状态对应的配置值,便于在发生场景切换时,画面的显示不受到之前调整当前背光分区的最大背光占空比的影响,保证发生场景切换时画面的显示质量。Specifically, scene switching means that the display content of the display screen changes in the scene. The scene switching can be detected by the extent of the change in the display content exceeding a preset threshold, and the scene switching can be detected by detecting the occupancy of the lamp that has changed beyond the preset gray level. More recently, it is determined whether a scene switch has occurred. The current display state of the display screen can be determined according to the configuration strategy of the maximum backlight duty cycle. If the configuration strategy is to determine the maximum backlight duty cycle of each backlight partition according to the window size, the current display state of the display screen is determined according to the current display screen of the display screen. The proportion of the display window, for example, the proportion of the display window corresponding to the current display picture is the moon is 20%, and the proportion of the display window corresponding to the current display picture is the star is 10%. When the configuration strategy is that the maximum backlight duty cycle of each backlight partition changes according to other display parameters, the current display state of the display screen can be other display parameters, such as the size of the area of interest. Restore the maximum backlight duty cycle of each backlight partition of the display screen to the configuration value corresponding to the current display state of the display screen, so that when scene switching occurs, the display of the screen is not affected by the previous adjustment of the maximum backlight duty cycle of the current backlight partition. , to ensure the display quality of the picture when scene switching occurs.
本实施例中的背光控制方法,通过获取当前背光分区对应的背光占空比大于预设最大阈值的第一持续时间;当第一持续时间大于第一时间阈值时,根据预设最大阈值减小当前背光分区的最大背光占空比;当检测到显示屏场景切换时,将显示屏各个背光分区的最大背光占空比恢复至与显示屏当前显示状态对应的配置值。这样,能在背光占空比持续大于预设最大阈值时,自动减小当前背光分区的最大背光占空比,从而减小亮度,降低灯管温度,延长灯管寿命,在发生场景切换时,画面的显示不受到之前调整当前背光分区的最大背光占空比的影响,保证发生场景切换时画面的显示质量,无需增加额外的散热装置,在显示质量与散热间达到平衡,在控制成本的情况下保证显示质量。In the backlight control method in this embodiment, obtain the first duration time when the duty cycle of the backlight corresponding to the current backlight partition is greater than the preset maximum threshold; when the first duration is greater than the first time threshold, decrease according to the preset maximum threshold The maximum backlight duty cycle of the current backlight partition; when the screen scene switching is detected, the maximum backlight duty cycle of each backlight partition of the display screen is restored to the configuration value corresponding to the current display state of the display screen. In this way, when the backlight duty cycle is continuously greater than the preset maximum threshold, the maximum backlight duty cycle of the current backlight partition can be automatically reduced, thereby reducing the brightness, reducing the temperature of the lamp tube, and prolonging the life of the lamp tube. The display of the picture is not affected by the previous adjustment of the maximum backlight duty cycle of the current backlight partition, which ensures the display quality of the picture when the scene is switched. There is no need to add additional heat dissipation devices, and the balance between display quality and heat dissipation is achieved. Cost control Guaranteed display quality.
在其中一个实施例中,步骤202包括:通过当前背光分区对应的第一计时器统计第一持续时间。该背光控制方法还包括:当根据预设最大阈值减小当前背光分区的最大背光占空比时,将第一计时器清零,当显示屏场景切换时,将第一计时器清零。In one embodiment, step 202 includes: counting the first duration by using a first timer corresponding to the current backlight partition. The backlight control method further includes: when the maximum backlight duty ratio of the current backlight partition is reduced according to the preset maximum threshold, clearing the first timer, and when the display screen scene is switched, clearing the first timer.
具体地,每个背光分区都存在对应的第一计时器,用于统计第一持续时间,当第一持续时间大于第一时间阈值时,根据预设最大阈值减小当前背光分区的最大背光占空比,同时将第一计时器清零。在其中一个实施例中,当当前背光分区的最大背光占空比减至等于或小于预设最大阈值时,重启第一计时器的计时触发功能,从而在下一次当前背光分区对应的背光占空比大于预设最大阈值时,可以触发第一计时器的计时功能。当当前背光分区的最大背光占空比在逐渐减小的过程中,关闭第一计时器的计时触发功能,在调整的过程中虽然当前背光分区对应的背光占空比大于预设最大阈值,但已经开始调整,无需启动第一计时器的计时功能。当显示屏场景切换时,将显示屏各个背光分区的最大背光占空比恢复至与显示屏当前显示状态对应的配置值,此时将第一计时器清零,当下一次当前背光分区对应的背光占空比大于预设最大阈值时,第一计时器重新开始计时。Specifically, each backlight partition has a corresponding first timer for counting the first duration, and when the first duration is greater than the first time threshold, the maximum backlight occupation of the current backlight partition is reduced according to the preset maximum threshold duty cycle, while clearing the first timer. In one embodiment, when the maximum backlight duty cycle of the current backlight partition is reduced to be equal to or less than a preset maximum threshold, the timing trigger function of the first timer is restarted, so that the next time the current backlight partition corresponds to the backlight duty cycle When it is greater than the preset maximum threshold, the timing function of the first timer can be triggered. When the maximum backlight duty cycle of the current backlight partition is gradually decreasing, the timing trigger function of the first timer is turned off. During the adjustment process, although the backlight duty cycle corresponding to the current backlight partition is greater than the preset maximum threshold, the The adjustment has already started, and there is no need to activate the timing function of the first timer. When the display screen scene is switched, the maximum backlight duty cycle of each backlight partition of the display screen is restored to the configuration value corresponding to the current display state of the display screen, and the first timer is cleared at this time, and the backlight corresponding to the next current backlight partition When the duty cycle is greater than the preset maximum threshold, the first timer starts to count again.
本实施例中,当开始调整当前背光分区的最大背光占空比或显示屏场景切换时,将第一计时器清零,便于第一计时器能正常工作,计时准确,在达到条件时,自动清零,智能地统计时间。In this embodiment, when starting to adjust the maximum backlight duty cycle of the current backlight partition or switch the display screen scene, the first timer is cleared to make it easier for the first timer to work normally and keep the timing accurate. Clear to zero and count time intelligently.
在其中一个实施例中,如图3所示,该背光控制方法还包括:In one embodiment, as shown in FIG. 3 , the backlight control method further includes:
步骤302,通过当前背光分区对应的第二计时器统计当前背光分区对应的背光占空比大于预设最大阈值的第二持续时间。 Step 302 , using a second timer corresponding to the current backlight partition to count the second duration time for which the duty cycle of the backlight corresponding to the current backlight partition is greater than a preset maximum threshold.
具体地,每个背光分区都存在对应的第二计时器,第二计时器与第一计时器的计时规则不同,显示屏场景切换时,第二计时器不会清零。Specifically, each backlight partition has a corresponding second timer, and the timing rule of the second timer is different from that of the first timer. When the display screen scene is switched, the second timer will not be cleared.
步骤304,当第二持续时间大于第二时间阈值时,根据预设最大阈值减小当前背光分区的最大背光占空比,将第二计时器清零,第二时间阈值大于第一时间阈值。 Step 304, when the second duration is greater than the second time threshold, reduce the maximum backlight duty cycle of the current backlight partition according to the preset maximum threshold, and clear the second timer, and the second time threshold is greater than the first time threshold.
第二时间阈值可以自定义,第二时间阈值大于第一时间阈值。在其中一个实施例中,第二时间阈值是灯管有烧坏风险的临界值,如单个灯管超过60%的duty,时间超过5分钟有烧坏灯管的风险,则可将第二时间阈值设置为5分钟。The second time threshold can be customized, and the second time threshold is greater than the first time threshold. In one of the embodiments, the second time threshold is a critical value at which the lamp is at risk of burnout. For example, if a single lamp exceeds 60% of the duty and the time exceeds 5 minutes, the lamp may be at risk of burnout, the second time can be The threshold was set to 5 minutes.
具体地,当第二持续时间大于第二时间阈值时,根据预设最大阈值减小当前背光分区 的最大背光占空比,可逐渐减小当前背光分区的最大背光占空比至等于或小于预设最大阈值。逐渐减小的算法可自定义,如可自定义加速度逐渐减小当前背光分区的最大背光占空比,也可以匀速逐渐减小当前背光分区的最大背光占空比。减小速度可通过预设帧数固定减小预设幅度来确定。同时将第二计时器清零。因为显示屏场景切换时,第二计时器不会清零,如果显示屏一直场景切换,第二计时器的计时时间达到第二时间阈值,如5分钟,就要把duty降下来,减小当前背光分区的最大背光占空比。Specifically, when the second duration is greater than the second time threshold, the maximum backlight duty cycle of the current backlight partition is decreased according to the preset maximum threshold, and the maximum backlight duty cycle of the current backlight partition can be gradually reduced to be equal to or less than the preset maximum backlight duty cycle. Set the maximum threshold. The gradually decreasing algorithm can be customized. For example, you can customize the acceleration to gradually reduce the maximum backlight duty cycle of the current backlight partition, or you can gradually reduce the maximum backlight duty cycle of the current backlight partition at a constant speed. The reduction speed can be determined by reducing the preset magnitude by the preset number of frames. At the same time, the second timer is cleared. Because the second timer will not be cleared when the screen scene is switched, if the screen keeps switching scenes, the timing time of the second timer reaches the second time threshold, such as 5 minutes, the duty should be lowered to reduce the current The maximum backlight duty cycle for the backlight partition.
本实施例中的背光控制方法,通过第二计时器的辅助作用,在显示屏一直场景切换,第一计时器清零无法统计背光占空比大于预设最大阈值的持续时间时,也能通过第二计时器进行统计,从而在达到第二时间阈值时,自动减小当前背光分区的最大背光占空比,保护灯管,延长灯管寿命。In the backlight control method in this embodiment, through the auxiliary function of the second timer, when the display screen keeps switching scenes, the first timer is cleared and the duration of the backlight duty cycle greater than the preset maximum threshold cannot be counted. The second timer performs statistics, so that when the second time threshold is reached, the maximum backlight duty cycle of the current backlight partition is automatically reduced, so as to protect the lamp tube and prolong the life of the lamp tube.
在其中一个实施例中,根据预设最大阈值减小当前背光分区的最大背光占空比包括:对于当前背光分区根据显示图像帧周期逐渐减少对应的最大背光占空比,直至当前背光分区的最大背光占空比等于或小于预设最大阈值。In one embodiment, reducing the maximum backlight duty cycle of the current backlight partition according to the preset maximum threshold includes: for the current backlight partition, gradually reducing the corresponding maximum backlight duty cycle according to the display image frame period until the maximum backlight duty cycle of the current backlight partition is reached. The backlight duty cycle is equal to or less than the preset maximum threshold.
具体地,显示图像帧周期可自定义,如设置显示图像帧周期为4帧,每个显示图像帧周期内逐渐减少的幅度也可自定义,如可设置每次逐渐减少的幅度为1%duty,则每4帧降低1%duty,在每个显示图像帧周期内平稳减少当前背光分区的最大背光占空比,直至当前背光分区的最大背光占空比等于或小于预设最大阈值,可停止,具体的停止条件可自定义。Specifically, the display image frame period can be customized. For example, the display image frame period can be set to 4 frames, and the gradual decrease in each display image frame period can also be customized. For example, the gradual decrease can be set to 1% duty. , the duty is reduced by 1% every 4 frames, and the maximum backlight duty cycle of the current backlight partition is steadily reduced in each display image frame period until the maximum backlight duty cycle of the current backlight partition is equal to or less than the preset maximum threshold, and can be stopped. , the specific stop conditions can be customized.
本实施例中的背光控制方法,通过在每个显示图像帧周期内平稳减少当前背光分区的最大背光占空比,可逐渐降低灯管热度,同时显示图像画面的亮度不会突变,在显示质量与散热间达到平衡,延长灯管寿命,在控制成本的情况下保证显示质量。The backlight control method in this embodiment can gradually reduce the heat of the lamp tube by steadily reducing the maximum backlight duty cycle of the current backlight partition in each display image frame period, and at the same time, the brightness of the displayed image will not change abruptly. Balance with heat dissipation, prolong lamp life, and ensure display quality while controlling costs.
在其中一个实施例中,根据预设最大阈值减小当前背光分区的最大背光占空比之后,还包括:获取当前背光分区对应的背光占空比小于预设最大阈值的第三持续时间;当第三持续时间大于第三时间阈值时,增大当前背光分区的最大背光占空比。In one embodiment, after reducing the maximum backlight duty cycle of the current backlight partition according to the preset maximum threshold, the method further includes: acquiring a third duration for which the backlight duty cycle corresponding to the current backlight partition is smaller than the preset maximum threshold; when When the third duration is greater than the third time threshold, the maximum backlight duty cycle of the current backlight partition is increased.
可以通过设置计数器来统计当前背光分区对应的背光占空比小于预设最大阈值的第三持续时间,第三时间阈值可以自定义,在其中一个实施例中,第三时间阈值等于第二时间阈值,为5分钟。A counter can be set to count the third duration of time when the duty cycle of the backlight corresponding to the current backlight partition is less than the preset maximum threshold. The third time threshold can be customized. In one embodiment, the third time threshold is equal to the second time threshold. , for 5 minutes.
具体地,当前背光分区对应的背光占空比小于预设最大阈值的第三持续时间超过第三时间阈值时,灯管已散热,可以增大当前背光分区的最大背光占空比,使其恢复至初始值或恢复至显示屏当前显示状态对应的配置值。增大当前背光分区的最大背光占空比可以按自定义的算法逐渐增大,如可自定义加速度逐渐增大当前背光分区的最大背光占空比,也可以匀速逐渐增大当前背光分区的最大背光占空比,其中,增大速度可通过预设帧数固定增大预设幅度来确定。Specifically, when the third duration of the backlight duty cycle corresponding to the current backlight partition is less than the preset maximum threshold and exceeds the third time threshold, the lamp has dissipated heat, and the maximum backlight duty cycle of the current backlight partition can be increased to restore it. to the initial value or restore to the configuration value corresponding to the current display state of the display. To increase the maximum backlight duty cycle of the current backlight partition, you can gradually increase it according to a custom algorithm. For example, you can customize the acceleration to gradually increase the maximum backlight duty cycle of the current backlight partition, or you can gradually increase the maximum backlight volume of the current backlight partition at a constant speed. The duty cycle of the backlight, wherein the increasing speed can be determined by increasing the preset number of frames by the preset amplitude.
本实施例中的背光控制方法,等灯管降温后,通过增大当前背光分区的最大背光占空比,可以不易察觉地增加灯管允许的最大亮度,使灯管可达到屏幕按特定标准设计并制造的最大亮度,既保护灯管不会过热烧掉,又能尽量达到显示屏的最大显示亮度。In the backlight control method in this embodiment, after the lamp tube is cooled down, by increasing the maximum backlight duty cycle of the current backlight partition, the maximum allowable brightness of the lamp tube can be increased imperceptibly, so that the lamp tube can meet the screen design according to a specific standard. And the maximum brightness produced, not only to protect the lamp from overheating and burning, but also to try to achieve the maximum display brightness of the display.
在其中一个实施例中,步骤206包括:根据显示屏的当前显示画面确定对应的当前显示窗口占比;基于当前显示窗口占比为显示屏各个背光分区的最大背光占空比确定对应的配置值。In one embodiment, step 206 includes: determining the corresponding current display window ratio according to the current display image of the display screen; determining the corresponding configuration value for the maximum backlight duty ratio of each backlight partition of the display screen based on the current display window ratio .
当前显示窗口占比是根据当前显示画面的亮度确定的,可统计超过预设亮度阈值的显示区域对应的目标背光分区,根据目标背光分区占所有背光分区的比例,得到当前显示窗口占比,亮度超过预设亮度阈值的区域越大,对应的当前显示窗口占比越大。The proportion of the current display window is determined according to the brightness of the current display screen. The target backlight partition corresponding to the display area exceeding the preset brightness threshold can be counted. According to the proportion of the target backlight partition to all backlight partitions, the current display window proportion and brightness can be obtained. The larger the area exceeding the preset brightness threshold, the larger the proportion of the corresponding current display window.
具体地,当当前显示窗口占比不同时,为显示屏各个背光分区的最大背光占空比确定不同的配置值。最大背光占空比决定了背光分区能显示的最大亮度,在其中一个实施例中,当当前显示窗口占比小于第二预设窗口阈值时,可设置较高的最大背光占空比,如最大背光占空比为100%。当当前显示窗口占比在第二预设窗口阈值和第一预设窗口阈值之间时,随着窗口不断增大,背光分区对应的最大背光占空比不断减小,直到窗口占比大于第一预设窗口阈值时,背光分区对应的最大背光占空比维持不变。随着窗口不断增大说明显示屏中亮度超过预设亮度阈值的灯管增多,灯管发热量增大,此时需要减小背光分区对应的最大背光占空比,从而降低灯管热度,保护灯管。Specifically, when the current proportions of the display windows are different, different configuration values are determined for the maximum backlight duty ratios of each backlight partition of the display screen. The maximum backlight duty cycle determines the maximum brightness that the backlight partition can display. In one embodiment, when the current display window ratio is less than the second preset window threshold, a higher maximum backlight duty cycle can be set, such as the maximum The backlight duty cycle is 100%. When the current display window ratio is between the second preset window threshold and the first preset window threshold, as the window continues to increase, the maximum backlight duty cycle corresponding to the backlight partition continues to decrease until the window ratio is greater than the first At a preset window threshold, the maximum backlight duty cycle corresponding to the backlight partition remains unchanged. As the window continues to increase, it means that the number of lamps in the display screen whose brightness exceeds the preset brightness threshold increases, and the heat generated by the lamps increases. At this time, it is necessary to reduce the maximum backlight duty cycle corresponding to the backlight partition, so as to reduce the heat of the lamps and protect the light tube.
本实施例中的背光控制方法,可通过当前显示窗口占比,为显示屏各个背光分区的最大背光占空比确定对应的配置值,达到动态配置,配置灵活符合人眼特性,并可对灯管进行保护。The backlight control method in this embodiment can determine the corresponding configuration value for the maximum backlight duty cycle of each backlight partition of the display screen according to the current proportion of the display window, so as to achieve dynamic configuration, the configuration is flexible and conforms to the characteristics of the human eye, and the lamp can be adjusted flexibly. tube for protection.
在其中一个实施例中,该背光控制方法还包括:当显示屏中预设比例的背光分区对应的显示亮度变化超过亮度变化阈值时,判定显示屏发生场景切换。In one of the embodiments, the backlight control method further includes: when the display brightness change corresponding to a preset proportion of the backlight partitions in the display screen exceeds a brightness change threshold, determining that the display screen is switched between scenes.
具体地,通过灰度直方图算法可以获取显示屏中预设比例的背光分区对应的显示亮度变化统计情况,当显示屏中预设比例的背光分区对应的显示亮度变化超过亮度变化阈值时,如超过10%的灯管发生超过1个灰度变化时,判定显示屏发生场景切换。Specifically, the statistics of the display brightness changes corresponding to the preset proportions of the backlight partitions in the display screen can be obtained through the grayscale histogram algorithm. When the display brightness changes corresponding to the preset proportions of the backlight partitions in the display screen exceed the brightness change threshold, such as When more than 10% of the lamps have more than one grayscale change, it is determined that the display screen has switched scenes.
本实施例中的背光控制方法,通过预设比例的背光分区对应的显示亮度变化超过亮度变化阈值判定显示屏发生场景切换,高效便利。In the backlight control method in this embodiment, it is efficient and convenient to determine that the display screen is switched between scenes by determining that the display brightness change corresponding to the backlight partition of the preset ratio exceeds the brightness change threshold.
在其中一个具体的实施例中,如图4和图5所示,为一个实施例中背光控制方法的流程示意图。显示屏包括210个背光分区,每个背光分区包括2个灯管,当单个灯管超过60%的duty,时间超过5分钟有烧坏灯管的风险,通过2层逻辑各自运行处理进行灯管保护,具体过程如下:In one of the specific embodiments, as shown in FIG. 4 and FIG. 5 , it is a schematic flowchart of a backlight control method in one embodiment. The display screen includes 210 backlight partitions, and each backlight partition includes 2 lamps. When the duty of a single lamp exceeds 60% and the time exceeds 5 minutes, there is a risk of burning out the lamp. The lamps are processed separately through 2 layers of logic. Protection, the specific process is as follows:
1.如图4所示,第一层逻辑以单个背光分区为单位,每个背光分区有3个参数,分别为:1. As shown in Figure 4, the first layer of logic is based on a single backlight partition, and each backlight partition has 3 parameters, namely:
a。经过40%功率分配算法处理后,输入给当前背光分区的duty值,如图6所示,为40%功率分配算法在不同显示窗口占比时,当前背光分区对应的最大duty值分配表,根据当前背光分区对应的最大duty值,确定各个背光分区的实际duty值。a. After processing by the 40% power allocation algorithm, the duty value input to the current backlight partition, as shown in Figure 6, is the maximum duty value allocation table corresponding to the current backlight partition when the 40% power allocation algorithm occupies different display windows. The maximum duty value corresponding to the current backlight partition determines the actual duty value of each backlight partition.
b。灯管超过60%duty值的持续时间b. Duration of the lamp exceeding 60% duty value
c。灯管允许的最大duty值c. The maximum duty value allowed by the lamp
根据参数a,b的情况,实时地决定参数c的值,来调整灯管亮度;通过第一计时器统计当前背光分区对应的背光占空比超过60%duty的持续时间,当持续时间超过40秒,则缓慢减少当前背光分区的灯管允许的最大duty值,可以保护灯管实际duty不超过硬件规定的duty范围,本实施例中要求duty范围是60%。当当前背光分区对应的背光占空比不超过60%duty一段时间时,参数b计时触发功能会恢复,参数c允许最大duty也会恢复至初始值,或根据显示屏当前显示状态恢复至对应的配置值。According to the conditions of parameters a and b, the value of parameter c is determined in real time to adjust the brightness of the lamp tube; the first timer counts the duration of the backlight duty cycle corresponding to the current backlight partition exceeding 60% duty, when the duration exceeds 40 seconds, then slowly reduce the maximum duty value allowed by the lamps of the current backlight partition, which can protect the actual duty of the lamps not to exceed the duty range specified by the hardware. In this embodiment, the duty range is required to be 60%. When the duty cycle of the backlight corresponding to the current backlight partition does not exceed 60% duty for a period of time, the timing trigger function of parameter b will be restored, and the maximum duty allowed by parameter c will also be restored to the initial value, or to the corresponding value according to the current display state of the display. configuration value.
当超过10%的灯管发生超过1个灰度变化时,即画面发生较大场景切换时,参数a,b, c被重设置,第一计时器清零,将显示屏各个背光分区的最大背光占空比恢复至与显示屏当前显示状态对应的配置值,实现场景切换后亮度立刻重置到最大,保证场景切换后的显示图像质量。When more than 10% of the lamps have more than one grayscale change, that is, when the screen has a large scene switching, the parameters a, b, and c are reset, the first timer is cleared, and the maximum value of each backlight partition of the display screen is reset. The duty cycle of the backlight is restored to the configuration value corresponding to the current display state of the display screen, and the brightness is immediately reset to the maximum after the scene switching to ensure the display image quality after the scene switching.
2、如图5所示,第二层逻辑以单个背光分区为单位,每个背光分区有3个参数,分别为:2. As shown in Figure 5, the second layer of logic is based on a single backlight partition, and each backlight partition has 3 parameters, namely:
a。经过前面灯管保护第一层逻辑处理后,输入给当前背光分区的duty值a. After the first layer of logic processing of the front lamp protection, the duty value input to the current backlight partition
b。灯管超过60%duty值的持续时间b. Duration of the lamp exceeding 60% duty value
c。灯管允许的最大duty值c. The maximum duty value allowed by the lamp
通过第二计时器统计当前背光分区对应的背光占空比超过60%duty的持续时间,第二计时器在画面发生较大场景切换时,无需清零,当持续时间超过5分钟(即300秒),缓慢减少当前背光分区的灯管可以达到的最大duty值,直到使灯管实际duty不超过60%duty。当当前背光分区对应的背光占空比不超过60%duty一段时间时,灯管已散热,参数b计时触发功能会恢复,参数c允许最大duty也会恢复至初始值,或根据显示屏当前显示状态恢复至对应的配置值,显示亮度增加。在第二计时器统计当前背光分区对应的背光占空比超过60%duty的持续时间超过5分钟时,也可以对各个参数进行复位操作,然后返回继续统计当前背光分区对应的背光占空比超过60%duty的持续时间的步骤,如果第二计时器统计当前背光分区对应的背光占空比超过60%duty的持续时间未超过5分钟,则可进入第一层逻辑部分。The second timer is used to count the duration of the backlight duty cycle corresponding to the current backlight partition exceeding 60% duty. The second timer does not need to be reset when the screen is switched to a larger scene. When the duration exceeds 5 minutes (that is, 300 seconds) ), slowly reduce the maximum duty value that the lamps of the current backlight partition can achieve until the actual duty of the lamps does not exceed 60% duty. When the duty cycle of the backlight corresponding to the current backlight partition does not exceed 60% duty for a period of time, the lamp has dissipated heat, the timing trigger function of parameter b will be restored, and the maximum duty allowed by parameter c will also return to the initial value, or according to the current display on the display The state returns to the corresponding configuration value, and the display brightness increases. When the second timer counts the backlight duty cycle corresponding to the current backlight partition exceeding 60% duty for more than 5 minutes, it is also possible to reset each parameter, and then return to continue to count the backlight duty cycle corresponding to the current backlight partition exceeding 60% duty. In the step of 60% duty duration, if the second timer counts the duration of the backlight duty cycle corresponding to the current backlight partition exceeding 60% duty for less than 5 minutes, the logic part of the first layer can be entered.
本实施例中,通过二层逻辑能在背光占空比持续大于预设最大阈值时,自动减小当前背光分区的最大背光占空比,会不易察觉地降低允许显示的最大亮度,达到给灯管降温的目的,延长灯管寿命,在发生场景切换时,画面的显示不受到之前调整当前背光分区的最大背光占空比的影响,保证发生场景切换时画面的显示质量,而等灯管降温后,会再不易察觉地增加允许的最大亮度,使灯管可达到屏幕按特定标准设计并制造的最大亮度,保护灯管不会过热烧掉,又能尽量达到屏的最大显示亮度的目的,无需增加额外的散热装置,在显示质量与散热间达到平衡,在控制成本的情况下保证显示质量。In this embodiment, the two-layer logic can automatically reduce the maximum backlight duty cycle of the current backlight partition when the backlight duty cycle is continuously greater than the preset maximum threshold, which will imperceptibly reduce the maximum allowable display brightness, so as to reach the light The purpose of cooling the tube is to prolong the life of the lamp. When the scene is switched, the display of the screen will not be affected by the previous adjustment of the maximum backlight duty cycle of the current backlight partition, so as to ensure the display quality of the screen when the scene is switched, and wait for the lamp to cool down. After that, the maximum allowable brightness will be increased indiscernibly, so that the lamp tube can reach the maximum brightness of the screen designed and manufactured according to a specific standard, protect the lamp tube from overheating and burn out, and try to achieve the purpose of the maximum display brightness of the screen. There is no need to add additional heat dissipation devices, a balance between display quality and heat dissipation is achieved, and display quality is guaranteed while controlling costs.
应该理解的是,虽然图2-5的流程图中的各个步骤按照箭头的指示依次显示,但是这些步骤并不是必然按照箭头指示的顺序依次执行。除非本文中有明确的说明,这些步骤的执行并没有严格的顺序限制,这些步骤可以以其它的顺序执行。而且,图2-5中的至少一部分步骤可以包括多个子步骤或者多个阶段,这些子步骤或者阶段并不必然是在同一时刻执行完成,而是可以在不同的时刻执行,这些子步骤或者阶段的执行顺序也不必然是依次进行,而是可以与其它步骤或者其它步骤的子步骤或者阶段的至少一部分轮流或者交替地执行。It should be understood that although the steps in the flowcharts of FIGS. 2-5 are shown in sequence according to the arrows, these steps are not necessarily executed in the sequence shown by the arrows. Unless explicitly stated herein, the execution of these steps is not strictly limited to the order, and these steps may be performed in other orders. Moreover, at least a part of the steps in FIGS. 2-5 may include multiple sub-steps or multiple stages. These sub-steps or stages are not necessarily executed and completed at the same time, but may be executed at different times. These sub-steps or stages are not necessarily completed at the same time. The order of execution of the steps is not necessarily sequential, but may be performed alternately or alternately with other steps or at least a part of sub-steps or stages of other steps.
图7为其中一个实施例的背光控制装置的结构框图。如图7所示,一种背光控制装置,包括获取模块402、减小模块404、恢复模块406,其中:FIG. 7 is a structural block diagram of a backlight control apparatus according to one embodiment. As shown in FIG. 7, a backlight control device includes an acquisition module 402, a reduction module 404, and a recovery module 406, wherein:
获取模块402,用于获取当前背光分区对应的背光占空比大于预设最大阈值的第一持续时间,当前背光分区为显示屏中的背光分区。The obtaining module 402 is configured to obtain the first duration of time when the duty cycle of the backlight corresponding to the current backlight partition is greater than the preset maximum threshold, and the current backlight partition is the backlight partition in the display screen.
减小模块404,用于当第一持续时间大于第一时间阈值时,根据预设最大阈值减小当 前背光分区的最大背光占空比。A reducing module 404 is configured to reduce the maximum backlight duty cycle of the current backlight partition according to the preset maximum threshold when the first duration is greater than the first time threshold.
恢复模块406,用于当检测到显示屏场景切换时,将显示屏各个背光分区的最大背光占空比恢复至与显示屏当前显示状态对应的配置值。The restoration module 406 is configured to restore the maximum backlight duty cycle of each backlight partition of the display screen to a configuration value corresponding to the current display state of the display screen when a scene switching of the display screen is detected.
本实施例中的背光控制装置,通过获取当前背光分区对应的背光占空比大于预设最大阈值的第一持续时间;当第一持续时间大于第一时间阈值时,根据预设最大阈值减小当前背光分区的最大背光占空比;当检测到显示屏场景切换时,将显示屏各个背光分区的最大背光占空比恢复至与显示屏当前显示状态对应的配置值。这样,能在背光占空比持续大于预设最大阈值时,自动减小当前背光分区的最大背光占空比,从而减小亮度,降低灯管温度,延长灯管寿命,在发生场景切换时,画面的显示不受到之前调整当前背光分区的最大背光占空比的影响,保证发生场景切换时画面的显示质量,无需增加额外的散热装置,在显示质量与散热间达到平衡,在控制成本的情况下保证显示质量。The backlight control device in this embodiment obtains the first duration of time when the duty cycle of the backlight corresponding to the current backlight partition is greater than the preset maximum threshold; when the first duration is greater than the first time threshold, decreases according to the preset maximum threshold The maximum backlight duty cycle of the current backlight partition; when the screen scene switching is detected, the maximum backlight duty cycle of each backlight partition of the display screen is restored to the configuration value corresponding to the current display state of the display screen. In this way, when the backlight duty cycle is continuously greater than the preset maximum threshold, the maximum backlight duty cycle of the current backlight partition can be automatically reduced, thereby reducing the brightness, reducing the temperature of the lamp tube, and prolonging the life of the lamp tube. The display of the picture is not affected by the previous adjustment of the maximum backlight duty cycle of the current backlight partition, which ensures the display quality of the picture when the scene is switched. There is no need to add additional heat dissipation devices, and the balance between display quality and heat dissipation is achieved. Cost control Guaranteed display quality.
在其中一个实施例中,获取模块402还用于通过当前背光分区对应的第一计时器统计第一持续时间。In one embodiment, the acquiring module 402 is further configured to count the first duration by using the first timer corresponding to the current backlight partition.
装置还包括:The device also includes:
清零模块408,用于当根据预设最大阈值减小当前背光分区的最大背光占空比时,将第一计时器清零,当显示屏场景切换时,将第一计时器清零。The clearing module 408 is configured to clear the first timer when the maximum backlight duty cycle of the current backlight partition is reduced according to the preset maximum threshold, and clear the first timer when the display screen scene is switched.
本实施例中的背光控制装置,当开始调整当前背光分区的最大背光占空比或显示屏场景切换时,将第一计时器清零,便于第一计时器能正常工作,计时准确,在达到条件时,自动清零,智能地统计时间。The backlight control device in this embodiment, when starting to adjust the maximum backlight duty ratio of the current backlight partition or switching the display screen scene, clears the first timer, so that the first timer can work normally and the timing is accurate. When conditions are met, it is automatically cleared and intelligently counts the time.
在其中一个实施例中,装置还包括:In one embodiment, the apparatus further includes:
调整模块410,用于通过当前背光分区对应的第二计时器统计当前背光分区对应的背光占空比大于预设最大阈值的第二持续时间,当第二持续时间大于第二时间阈值时,根据预设最大阈值减小当前背光分区的最大背光占空比,将第二计时器清零,第二时间阈值大于第一时间阈值。The adjustment module 410 is configured to count the second duration time of the backlight duty cycle corresponding to the current backlight partition that is greater than the preset maximum threshold through the second timer corresponding to the current backlight partition, and when the second duration is greater than the second time threshold, according to The preset maximum threshold reduces the maximum backlight duty cycle of the current backlight partition, clears the second timer, and the second time threshold is greater than the first time threshold.
本实施例中的背光控制装置,通过第二计时器的辅助作用,在显示屏一直场景切换,第一计时器清零无法统计背光占空比大于预设最大阈值的持续时间时,也能通过第二计时器进行统计,从而在达到第二时间阈值时,自动减小当前背光分区的最大背光占空比,保护灯管,延长灯管寿命。The backlight control device in this embodiment, through the auxiliary function of the second timer, can also pass the time when the display screen keeps switching scenes and the first timer is cleared and the duration of the backlight duty cycle greater than the preset maximum threshold cannot be counted. The second timer performs statistics, so that when the second time threshold is reached, the maximum backlight duty cycle of the current backlight partition is automatically reduced, so as to protect the lamp tube and prolong the life of the lamp tube.
在其中一个实施例中,减小模块404或调整模块410还用于对于当前背光分区根据显示图像帧周期逐渐减少对应的最大背光占空比,直至当前背光分区的最大背光占空比等于或小于预设最大阈值。In one embodiment, the reducing module 404 or the adjusting module 410 is further configured to gradually reduce the corresponding maximum backlight duty cycle for the current backlight partition according to the display image frame period, until the maximum backlight duty cycle of the current backlight partition is equal to or less than Preset maximum threshold.
本实施例中的背光控制装置,通过在每个显示图像帧周期内平稳减少当前背光分区的最大背光占空比,可逐渐降低灯管热度,同时显示图像画面的亮度不会突变,在显示质量与散热间达到平衡,延长灯管寿命,在控制成本的情况下保证显示质量。The backlight control device in this embodiment can gradually reduce the heat of the lamp tube by steadily reducing the maximum backlight duty cycle of the current backlight partition during each display image frame period, and at the same time, the brightness of the displayed image will not change abruptly. Balance with heat dissipation, prolong lamp life, and ensure display quality while controlling costs.
在其中一个实施例中,装置还包括:In one embodiment, the apparatus further includes:
增大模块412,用于获取当前背光分区对应的背光占空比小于预设最大阈值的第三持续时间,当第三持续时间大于第三时间阈值时,增大当前背光分区的最大背光占空比。The increasing module 412 is used to obtain the third duration time when the backlight duty cycle corresponding to the current backlight partition is smaller than the preset maximum threshold, and when the third duration is greater than the third time threshold, increase the maximum backlight duty cycle of the current backlight partition Compare.
本实施例中的背光控制装置,等灯管降温后,通过增大当前背光分区的最大背光占空比,会不易察觉地增加灯管允许的最大亮度,使灯管可达到屏幕按特定标准设计并制造的 最大亮度,既保护灯管不会过热烧掉,又能尽量达到显示屏的最大显示亮度。The backlight control device in this embodiment increases the maximum backlight duty cycle of the current backlight partition after the lamp is cooled, so that the maximum allowable brightness of the lamp is imperceptibly increased, so that the lamp can meet the screen design according to a specific standard. And the maximum brightness produced, not only protects the lamp from overheating and burns, but also tries to achieve the maximum display brightness of the display.
在其中一个实施例中,恢复模块406还用于根据显示屏的当前显示画面确定对应的当前显示窗口占比,基于当前显示窗口占比为显示屏各个背光分区的最大背光占空比确定对应的配置值。In one embodiment, the recovery module 406 is further configured to determine the corresponding current display window ratio according to the current display image of the display screen, and determine the corresponding current display window ratio for the maximum backlight duty ratio of each backlight partition of the display screen based on the current display window ratio configuration value.
本实施例中的背光控制装置,可通过当前显示窗口占比,为显示屏各个背光分区的最大背光占空比确定对应的配置值,达到动态配置,配置灵活符合人眼特性,并可对灯管进行保护。The backlight control device in this embodiment can determine the corresponding configuration value for the maximum backlight duty cycle of each backlight partition of the display screen according to the current display window ratio, so as to achieve dynamic configuration, the configuration is flexible and conforms to the characteristics of the human eye, and it can adjust the light tube for protection.
在其中一个实施例中,装置还包括:In one embodiment, the apparatus further includes:
判定模块414,用于当显示屏中预设比例的背光分区对应的显示亮度变化超过亮度变化阈值时,判定显示屏发生场景切换。The determining module 414 is configured to determine that the display screen is switched between scenes when the display brightness change corresponding to the preset proportion of the backlight partitions in the display screen exceeds the brightness change threshold.
本实施例中的背光控制装置,通过预设比例的背光分区对应的显示亮度变化超过亮度变化阈值判定显示屏发生场景切换,高效便利。The backlight control device in this embodiment determines that the display screen is switched between scenes by determining that the display screen is switched between scenes according to the change of the display brightness corresponding to the backlight partition of the preset ratio exceeding the brightness change threshold, which is efficient and convenient.
上述背光控制装置中各个模块的划分仅仅用于举例说明,在其他实施例中,可将背光控制装置按照需要划分为不同的模块,以完成上述背光控制装置的全部或部分功能。The division of each module in the above backlight control device is only used for illustration. In other embodiments, the backlight control device can be divided into different modules as required to complete all or part of the functions of the above backlight control device.
关于背光控制装置的具体限定可以参见上文中对于背光控制方法的限定,在此不再赘述。上述背光控制装置中的各个模块可全部或部分通过软件、硬件及其组合来实现。上述各模块可以硬件形式内嵌于或独立于计算机设备中的处理器中,也可以以软件形式存储于计算机设备中的存储器中,以便于处理器调用执行以上各个模块对应的操作。For specific limitations on the backlight control device, reference may be made to the limitations on the backlight control method above, which will not be repeated here. Each module in the above-mentioned backlight control device can be implemented in whole or in part by software, hardware and combinations thereof. The above modules can be embedded in or independent of the processor in the computer device in the form of hardware, or stored in the memory in the computer device in the form of software, so that the processor can call and execute the operations corresponding to the above modules.
图8为一个实施例中电子设备的内部结构示意图。如图8所示,该电子设备包括通过系统总线连接的处理器和存储器。其中,该处理器用于提供计算和控制能力,支撑整个电子设备的运行。存储器可包括非易失性存储介质及内存储器。非易失性存储介质存储有操作系统和计算机可读指令。该计算机可读指令可被处理器所执行,以用于实现以下各个实施例所提供的一种背光控制方法。内存储器为非易失性存储介质中的操作系统计算机可读指令提供高速缓存的运行环境。该电子设备可以是手机、电视、平板电脑、PDA(Personal Digital Assistant,个人数字助理)、POS(Point of Sales,销售终端)、车载电脑、穿戴式设备等任意包括显示屏的电子设备。FIG. 8 is a schematic diagram of the internal structure of an electronic device in one embodiment. As shown in FIG. 8, the electronic device includes a processor and a memory connected by a system bus. Among them, the processor is used to provide computing and control capabilities to support the operation of the entire electronic device. The memory may include non-volatile storage media and internal memory. The non-volatile storage medium stores an operating system and computer-readable instructions. The computer-readable instructions can be executed by the processor to implement a backlight control method provided by the following embodiments. Internal memory provides a cached execution environment for operating system computer-readable instructions in a non-volatile storage medium. The electronic device can be a mobile phone, a TV, a tablet computer, a PDA (Personal Digital Assistant, personal digital assistant), a POS (Point of Sales, a sales terminal), a vehicle computer, a wearable device, and other electronic devices that include a display screen.
本申请实施例中提供的背光控制装置中的各个模块的实现可为计算机可读指令的形式。该计算机可读指令可在终端或服务器上运行。该计算机可读指令构成的程序模块可存储在电子设备的存储器上。该计算机可读指令被处理器执行时,实现本申请实施例中所描述方法的步骤。The implementation of each module in the backlight control apparatus provided in the embodiments of the present application may be in the form of computer-readable instructions. The computer readable instructions can be executed on a terminal or server. The program modules constituted by the computer readable instructions may be stored on the memory of the electronic device. When the computer-readable instructions are executed by the processor, the steps of the methods described in the embodiments of the present application are implemented.
在本申请实施例中,电子设备所包括的一个或多个处理器执行存储在存储器上的计算机可读指令时实现上述各个实施例中的背光控制方法。In the embodiments of the present application, when one or more processors included in the electronic device execute the computer-readable instructions stored in the memory, the backlight control methods in the foregoing embodiments are implemented.
本申请实施例还提供了一种计算机可读存储介质。一个或多个包含计算机可执行指令的非易失性计算机可读存储介质,当所述计算机可执行指令被一个或多个处理器执行时,使得所述处理器执行上述各个实施例中的背光控制方法。Embodiments of the present application also provide a computer-readable storage medium. One or more non-volatile computer-readable storage media containing computer-executable instructions that, when executed by one or more processors, cause the processors to perform the backlighting of the various embodiments described above Control Method.
一种包含指令的计算机程序产品,当其在计算机上运行时,使得计算机执行上述各个 实施例中的背光控制方法。A computer program product containing instructions, when executed on a computer, causes the computer to perform the backlight control method of the various embodiments described above.
本申请所使用的对存储器、存储、数据库或其它介质的任何引用可包括非易失性和/或易失性存储器。非易失性存储器可包括只读存储器(ROM)、可编程ROM(PROM)、电可编程ROM(EPROM)、电可擦除可编程ROM(EEPROM)或闪存。易失性存储器可包括随机存取存储器(RAM),它用作外部高速缓冲存储器。作为说明而非局限,RAM以多种形式可得,诸如静态RAM(SRAM)、动态RAM(DRAM)、同步DRAM(SDRAM)、双数据率SDRAM(DDR SDRAM)、增强型SDRAM(ESDRAM)、同步链路(Synchlink)DRAM(SLDRAM)、存储器总线(Rambus)直接RAM(RDRAM)、直接存储器总线动态RAM(DRDRAM)、以及存储器总线动态RAM(RDRAM)。Any reference to a memory, storage, database, or other medium as used herein may include non-volatile and/or volatile memory. Nonvolatile memory may include read only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory. Volatile memory may include random access memory (RAM), which acts as external cache memory. By way of illustration and not limitation, RAM is available in various forms such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDR SDRAM), enhanced SDRAM (ESDRAM), synchronous Link (Synchlink) DRAM (SLDRAM), Memory Bus (Rambus) Direct RAM (RDRAM), Direct Memory Bus Dynamic RAM (DRDRAM), and Memory Bus Dynamic RAM (RDRAM).
以上所述实施例仅表达了本申请的几种实施方式,其描述较为具体和详细,但并不能因此而理解为对本申请专利范围的限制。应当指出的是,对于本领域的普通技术人员来说,在不脱离本申请构思的前提下,还可以做出若干变形和改进,这些都属于本申请的保护范围。因此,本申请专利的保护范围应以所附权利要求为准。The above-mentioned embodiments only represent several embodiments of the present application, and the descriptions thereof are relatively specific and detailed, but should not be construed as a limitation on the scope of the patent of the present application. It should be noted that, for those skilled in the art, without departing from the concept of the present application, several modifications and improvements can be made, which all belong to the protection scope of the present application. Therefore, the scope of protection of the patent of the present application shall be subject to the appended claims.
Claims (16)
- 一种背光控制方法,由电子设备执行,所述方法包括:A backlight control method, executed by an electronic device, the method comprising:获取当前背光分区对应的背光占空比大于预设最大阈值的第一持续时间,所述当前背光分区为显示屏中的背光分区;obtaining a first duration of time in which the duty cycle of the backlight corresponding to the current backlight partition is greater than the preset maximum threshold, where the current backlight partition is the backlight partition in the display screen;当所述第一持续时间大于第一时间阈值时,根据所述预设最大阈值减小所述当前背光分区的最大背光占空比;及When the first duration is greater than a first time threshold, reducing the maximum backlight duty cycle of the current backlight partition according to the preset maximum threshold; and当检测到显示屏场景切换时,将显示屏各个背光分区的最大背光占空比恢复至与显示屏当前显示状态对应的配置值。When it is detected that the display screen scene is switched, the maximum backlight duty cycle of each backlight partition of the display screen is restored to the configuration value corresponding to the current display state of the display screen.
- 根据权利要求1所述的方法,其中,所述获取当前背光分区对应的背光占空比大于预设最大阈值的第一持续时间,包括:The method according to claim 1, wherein the obtaining the first duration of the backlight duty cycle corresponding to the current backlight partition is greater than a preset maximum threshold, comprising:通过当前背光分区对应的第一计时器统计所述第一持续时间;The first duration is counted by the first timer corresponding to the current backlight partition;所述方法还包括:The method also includes:当根据所述预设最大阈值减小所述当前背光分区的最大背光占空比时,将所述第一计时器清零;及when the maximum backlight duty cycle of the current backlight partition is decreased according to the preset maximum threshold, clearing the first timer; and当所述显示屏场景切换时,将所述第一计时器清零。When the display screen scene is switched, the first timer is cleared.
- 根据权利要求2所述的方法,其中,所述方法还包括:The method of claim 2, wherein the method further comprises:通过当前背光分区对应的第二计时器统计当前背光分区对应的背光占空比大于预设最大阈值的第二持续时间;及Using the second timer corresponding to the current backlight partition to count the second duration of time when the duty cycle of the backlight corresponding to the current backlight partition is greater than the preset maximum threshold; and当所述第二持续时间大于第二时间阈值时,根据所述预设最大阈值减小所述当前背光分区的最大背光占空比,将所述第二计时器清零,所述第二时间阈值大于所述第一时间阈值。When the second duration is greater than the second time threshold, the maximum backlight duty cycle of the current backlight partition is reduced according to the preset maximum threshold, the second timer is cleared, and the second time The threshold is greater than the first time threshold.
- 根据权利要求1至3任一项所述的方法,其中,所述根据所述预设最大阈值减小所述当前背光分区的最大背光占空比包括:The method according to any one of claims 1 to 3, wherein the reducing the maximum backlight duty cycle of the current backlight partition according to the preset maximum threshold value comprises:对于当前背光分区根据显示图像帧周期逐渐减少对应的最大背光占空比,直至当前背光分区的最大背光占空比等于或小于所述预设最大阈值。For the current backlight partition, the corresponding maximum backlight duty cycle is gradually decreased according to the display image frame period until the maximum backlight duty cycle of the current backlight partition is equal to or less than the preset maximum threshold.
- 根据权利要求1至3任一项所述的方法,其中,所述根据所述预设最大阈值减小所述当前背光分区的最大背光占空比之后,还包括:The method according to any one of claims 1 to 3, wherein after the reducing the maximum backlight duty cycle of the current backlight partition according to the preset maximum threshold value, the method further comprises:获取当前背光分区对应的背光占空比小于预设最大阈值的第三持续时间;及obtaining a third duration for which the backlight duty cycle corresponding to the current backlight partition is less than the preset maximum threshold; and当所述第三持续时间大于第三时间阈值时,增大所述当前背光分区的最大背光占空比。When the third duration is greater than a third time threshold, the maximum backlight duty cycle of the current backlight partition is increased.
- 根据权利要求1所述的方法,其中,所述将显示屏各个背光分区的最大背光占空比恢复至与显示屏当前显示状态对应的配置值包括:The method according to claim 1, wherein the restoring the maximum backlight duty cycle of each backlight partition of the display screen to a configuration value corresponding to the current display state of the display screen comprises:根据显示屏的当前显示画面确定对应的当前显示窗口占比;及Determine the corresponding current display window proportion according to the current display screen of the display screen; and基于所述当前显示窗口占比为所述显示屏各个背光分区的最大背光占空比确定对应的配置值。A corresponding configuration value is determined for the maximum backlight duty cycle of each backlight partition of the display screen based on the current display window ratio.
- 根据权利要求1所述的方法,其中,所述方法还包括:The method of claim 1, wherein the method further comprises:当显示屏中预设比例的背光分区对应的显示亮度变化超过亮度变化阈值时,判定所述显示屏发生场景切换。When the change of the display brightness corresponding to the preset proportion of the backlight partitions in the display screen exceeds the brightness change threshold, it is determined that the display screen has undergone scene switching.
- 一种背光控制装置,其中,包括:A backlight control device, comprising:获取模块,用于获取当前背光分区对应的背光占空比大于预设最大阈值的第一持续时间,所述当前背光分区为显示屏中的背光分区;an obtaining module, configured to obtain a first duration of time when the duty cycle of the backlight corresponding to the current backlight partition is greater than the preset maximum threshold, and the current backlight partition is the backlight partition in the display screen;减小模块,用于当所述第一持续时间大于第一时间阈值时,根据所述预设最大阈值减小所述当前背光分区的最大背光占空比;及a reducing module, configured to reduce the maximum backlight duty cycle of the current backlight partition according to the preset maximum threshold when the first duration is greater than a first time threshold; and恢复模块,用于当检测到显示屏场景切换时,将显示屏各个背光分区的最大背光占空比恢复至与显示屏当前显示状态对应的配置值。The restoration module is used to restore the maximum backlight duty cycle of each backlight partition of the display screen to a configuration value corresponding to the current display state of the display screen when the scene switching of the display screen is detected.
- 根据权利要求8所述的装置,其中,所述获取模块还用于通过当前背光分区对应的第一计时器统计所述第一持续时间,所述装置还包括:The apparatus according to claim 8, wherein the obtaining module is further configured to count the first duration by using a first timer corresponding to the current backlight partition, and the apparatus further comprises:清零模块,用于当根据所述预设最大阈值减小所述当前背光分区的最大背光占空比时,将所述第一计时器清零,当所述显示屏场景切换时,将所述第一计时器清零。A zero clearing module is used to clear the first timer when the maximum backlight duty cycle of the current backlight partition is reduced according to the preset maximum threshold, and when the display screen scene is switched, all The first timer is cleared.
- 根据权利要求9所述的装置,其中,所述装置还包括:The apparatus of claim 9, wherein the apparatus further comprises:调整模块,用于通过当前背光分区对应的第二计时器统计当前背光分区对应的背光占空比大于预设最大阈值的第二持续时间,当所述第二持续时间大于第二时间阈值时,根据所述预设最大阈值减小所述当前背光分区的最大背光占空比,将所述第二计时器清零,所述第二时间阈值大于所述第一时间阈值。The adjustment module is used to count the second duration time of the backlight duty cycle corresponding to the current backlight partition that is greater than the preset maximum threshold through the second timer corresponding to the current backlight partition, and when the second duration is greater than the second time threshold, The maximum backlight duty cycle of the current backlight partition is reduced according to the preset maximum threshold, and the second timer is cleared, and the second time threshold is greater than the first time threshold.
- 根据权利要求8至10任一所述的装置,其中,所述减小模块或所述调整模块还用于对于当前背光分区根据显示图像帧周期逐渐减少对应的最大背光占空比,直至当前背光分区的最大背光占空比等于或小于所述预设最大阈值。The device according to any one of claims 8 to 10, wherein the reducing module or the adjusting module is further configured to gradually reduce the corresponding maximum backlight duty cycle according to the display image frame period for the current backlight partition until the current backlight The maximum backlight duty cycle of the partition is equal to or less than the preset maximum threshold.
- 根据权利要求8至10任一所述的装置,其中,所述装置还包括:The apparatus according to any one of claims 8 to 10, wherein the apparatus further comprises:增大模块,用于获取当前背光分区对应的背光占空比小于预设最大阈值的第三持续时间,当所述第三持续时间大于第三时间阈值时,增大所述当前背光分区的最大背光占空比。The increasing module is used to obtain a third duration of time when the duty cycle of the backlight corresponding to the current backlight partition is less than a preset maximum threshold, and when the third duration is greater than the third time threshold, increase the maximum duration of the current backlight partition. Backlight duty cycle.
- 根据权利要求8所述的装置,其中,所述恢复模块还用于根据显示屏的当前显示画面确定对应的当前显示窗口占比,基于所述当前显示窗口占比为所述显示屏各个背光分区的最大背光占空比确定对应的配置值。The device according to claim 8, wherein the recovery module is further configured to determine the corresponding current display window ratio according to the current display screen of the display screen, and based on the current display window ratio, each backlight partition of the display screen is The maximum backlight duty cycle determines the corresponding configuration value.
- 根据权利要求8所述的装置,其中,所述装置还包括:The apparatus of claim 8, wherein the apparatus further comprises:判断模块,用于当显示屏中预设比例的背光分区对应的显示亮度变化超过亮度变化阈值时,判定所述显示屏发生场景切换。The judgment module is used for judging that scene switching occurs on the display screen when the display brightness change corresponding to the preset proportion of the backlight partitions in the display screen exceeds the brightness change threshold.
- 一种电子设备,包括存储器及一个或多个处理器,所述存储器中储存有计算机可读指令,其中,所述计算机可读指令被所述一个或多个处理器执行时,使得所述一个或多个处理器执行如权利要求1至7中任一项所述的方法的步骤。An electronic device comprising a memory and one or more processors, the memory having computer-readable instructions stored therein, wherein the computer-readable instructions, when executed by the one or more processors, cause the one or more processors to perform the steps of the method of any of claims 1 to 7.
- 一个或多个存储有计算机可读指令的计算机可读存储介质,计算机可读指令被一个或多个处理器执行时,使得实现如权利要求1至7中任一项所述的方法的步骤。One or more computer-readable storage media storing computer-readable instructions which, when executed by one or more processors, cause the steps of the method of any one of claims 1 to 7 to be implemented.
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011191034.5 | 2020-10-30 | ||
CN202011191034.5A CN112382240A (en) | 2020-10-30 | 2020-10-30 | Backlight control method and device, electronic equipment and readable storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2022089191A1 true WO2022089191A1 (en) | 2022-05-05 |
Family
ID=74576459
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2021/123190 WO2022089191A1 (en) | 2020-10-30 | 2021-10-12 | Backlight control method and apparatus, and electronic device, and computer readable storage medium |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN112382240A (en) |
WO (1) | WO2022089191A1 (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112382240A (en) * | 2020-10-30 | 2021-02-19 | Oppo广东移动通信有限公司 | Backlight control method and device, electronic equipment and readable storage medium |
CN114420040A (en) * | 2021-11-17 | 2022-04-29 | 高创(苏州)电子有限公司 | Control method and device of display panel, electronic equipment and storage medium |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102347014A (en) * | 2011-10-25 | 2012-02-08 | 中兴通讯股份有限公司 | Method and device for adjusting backlight brightness of display panel |
CN103634976A (en) * | 2012-08-29 | 2014-03-12 | 深圳富泰宏精密工业有限公司 | Backlight module control circuit |
CN105788562A (en) * | 2014-12-24 | 2016-07-20 | Tcl集团股份有限公司 | Brightness control method and system for display device |
CN106448570A (en) * | 2016-09-14 | 2017-02-22 | 深圳创维-Rgb电子有限公司 | High-power area dimming control method, control device and television |
CN108364614A (en) * | 2018-02-08 | 2018-08-03 | 深圳创维-Rgb电子有限公司 | LED excess temperature protection methods, terminal and computer readable storage medium |
CN109256095A (en) * | 2018-10-24 | 2019-01-22 | 深圳创维-Rgb电子有限公司 | LED current guard method, display and storage medium |
CN109643526A (en) * | 2016-09-12 | 2019-04-16 | 夏普株式会社 | Control device and the liquid crystal display device for having the control device |
CN112382240A (en) * | 2020-10-30 | 2021-02-19 | Oppo广东移动通信有限公司 | Backlight control method and device, electronic equipment and readable storage medium |
Family Cites Families (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP4068317B2 (en) * | 2001-07-27 | 2008-03-26 | Necディスプレイソリューションズ株式会社 | Liquid crystal display |
CN100530706C (en) * | 2004-07-12 | 2009-08-19 | 索尼株式会社 | Drive device for back light unit and drive method therefor |
CN101546537B (en) * | 2008-03-28 | 2011-02-16 | 北京京东方光电科技有限公司 | Drive method, compensation processor and drive device of liquid crystal display device |
EP2309825A4 (en) * | 2008-08-08 | 2011-10-05 | Sharp Kk | Backlight and display device using the same |
CN102004505A (en) * | 2010-11-03 | 2011-04-06 | 中航华东光电有限公司 | Low-temperature heating control module and method for liquid crystal display |
KR20140060614A (en) * | 2012-11-12 | 2014-05-21 | 삼성디스플레이 주식회사 | Method of driving a light source, light source apparatus for performing the method and display apparatus having the light source apparatus |
CN105280147A (en) * | 2015-10-15 | 2016-01-27 | 珠海格力电器股份有限公司 | Control method and control system of display |
CN106385744A (en) * | 2016-05-23 | 2017-02-08 | 孔东灿 | Light-emitting diode luminosity control system |
JP2019191397A (en) * | 2018-04-26 | 2019-10-31 | シャープ株式会社 | Liquid crystal display device |
KR102649063B1 (en) * | 2018-10-24 | 2024-03-20 | 삼성전자주식회사 | Display apparatus and driving method thereof |
CN110349544B (en) * | 2019-07-31 | 2021-11-30 | 惠州市德赛西威汽车电子股份有限公司 | Abnormal-sound-prevention backlight driving method based on low-duty-ratio input |
-
2020
- 2020-10-30 CN CN202011191034.5A patent/CN112382240A/en active Pending
-
2021
- 2021-10-12 WO PCT/CN2021/123190 patent/WO2022089191A1/en active Application Filing
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102347014A (en) * | 2011-10-25 | 2012-02-08 | 中兴通讯股份有限公司 | Method and device for adjusting backlight brightness of display panel |
CN103634976A (en) * | 2012-08-29 | 2014-03-12 | 深圳富泰宏精密工业有限公司 | Backlight module control circuit |
CN105788562A (en) * | 2014-12-24 | 2016-07-20 | Tcl集团股份有限公司 | Brightness control method and system for display device |
CN109643526A (en) * | 2016-09-12 | 2019-04-16 | 夏普株式会社 | Control device and the liquid crystal display device for having the control device |
CN106448570A (en) * | 2016-09-14 | 2017-02-22 | 深圳创维-Rgb电子有限公司 | High-power area dimming control method, control device and television |
CN108364614A (en) * | 2018-02-08 | 2018-08-03 | 深圳创维-Rgb电子有限公司 | LED excess temperature protection methods, terminal and computer readable storage medium |
CN109256095A (en) * | 2018-10-24 | 2019-01-22 | 深圳创维-Rgb电子有限公司 | LED current guard method, display and storage medium |
CN112382240A (en) * | 2020-10-30 | 2021-02-19 | Oppo广东移动通信有限公司 | Backlight control method and device, electronic equipment and readable storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN112382240A (en) | 2021-02-19 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2022089191A1 (en) | Backlight control method and apparatus, and electronic device, and computer readable storage medium | |
WO2021238473A1 (en) | Screen refresh rate adjusting method and apparatus, electronic device, and storage medium | |
US11140329B2 (en) | Image processing method and apparatus which determines an image processing mode based on status information of the terminal device and photographing scene information | |
US20160189636A1 (en) | Backlight control method and device | |
US10154198B2 (en) | Power saving techniques for an image capture device | |
WO2021259122A1 (en) | Backlight adjustment method and backlight adjustment device for display device, and display device | |
US20150244917A1 (en) | Dynamic exposure adjusting method and electronic apparatus using the same | |
CN113140197B (en) | Display screen adjusting method and device, electronic equipment and readable storage medium | |
CN108364614B (en) | LED over-temperature protection method, terminal and computer readable storage medium | |
US11839495B2 (en) | Electronic device for monitoring health of eyes of user and method for operating the same | |
CN112967690B (en) | Image display method and device, storage medium and terminal | |
WO2018161568A1 (en) | Photographing method and device based on two cameras | |
EP3925413A1 (en) | Determining a light effect based on an average color after a detected transition in content | |
CN113129841B (en) | Partitioned backlight control method, terminal and storage medium | |
US20230131669A1 (en) | Background dimming with gaze detection | |
CN113851089B (en) | Display brightness control method and device, intelligent terminal and storage medium | |
US11373591B2 (en) | Display control method, display control device, and computer-readable storage medium | |
CN114639355A (en) | Image display method and device, storage medium and terminal | |
CN114785887A (en) | Screen projection control method and device, electronic equipment and computer readable storage medium | |
US10923045B1 (en) | Backlight control device and method | |
TWI819672B (en) | Method for determining ambient light luminance, host, and computer readable storage medium | |
CN111711748B (en) | Control method and device for screen refresh rate, electronic equipment and readable storage medium | |
CN115278027B (en) | Display control method and device | |
TWI790773B (en) | Three-dimensional image display system and operation method thereof | |
CN113242339B (en) | Display method, display device, electronic equipment and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 21884920 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 21884920 Country of ref document: EP Kind code of ref document: A1 |