A screen brightness regulation method and device, a display device and a storage medium
Patent Information
- Application Number
- CN202611060264.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-07-16
- Publication Date
- 2026-11-03
AI Technical Summary
The existing automatic brightness control system of display terminals causes the brightness level to switch repeatedly due to APL detection errors, resulting in high-frequency flickering, which is especially noticeable in low grayscale images and causes visual fatigue for users.
By constructing a hysteresis threshold mechanism that provides immediate response for upscaling and delayed confirmation for downscaling, combined with multi-frame averaging and first-order low-pass filtering, the impact of APL detection error is reduced. Furthermore, smooth transition and brightness change rate limits are introduced to avoid repeated switching of brightness levels.
It effectively eliminates screen flicker, improves user visual comfort, and ensures the stability and timely response of brightness adjustment.
Smart Images

Figure CN123033462A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of display device technology, and more specifically, to a screen brightness control method, apparatus, display device, and storage medium. Background Technology
[0002] Currently, most mainstream display terminals use APL (Average Picture Level) detection technology for automatic screen brightness adjustment. The system collects the pixel grayscale values of the displayed image in real time, calculates the average grayscale level of a single frame or over a short period, and adjusts the screen brightness to the corresponding level based on a preset brightness switching threshold.
[0003] Currently, the APL calculation results output by the display chip itself have an inherent hardware error of ±1%, which cannot be completely eliminated by software algorithms. When the average grayscale of the screen happens to be at the critical point of the switching threshold between two brightness levels, the aforementioned ±1% tiny error will cause the system to repeatedly determine "meeting / not meeting the standard" in a very short time, thereby triggering the back-and-forth switching of brightness levels. This high-frequency switching of levels manifests as visible screen flicker, especially in low grayscale scenes and scenarios with slow transitions between light and dark (such as reading at night or dark transitions in videos), where the flickering phenomenon is more obvious and can easily cause visual fatigue for users. Summary of the Invention The purpose of this application is to provide a screen brightness adjustment method, device, display device, and storage medium to solve the problem of high-frequency screen flickering.
[0004] To address the aforementioned technical problems, this application provides a screen brightness adjustment method, apparatus, display device, and storage medium, employing the following technical solutions: A screen brightness adjustment method, comprising: Get the current valid APL value for the screen; Compare the effective APL value with the lower and upper thresholds corresponding to the current brightness level; When the effective APL value is higher than the upper threshold, the screen brightness level is adjusted up to the level corresponding to the effective APL value. When the effective APL value is lower than the lower threshold, the screen brightness level will be reduced. If the gear corresponding to the valid APL value differs from the current gear by no more than N gears, then the gear downshifting operation will not be performed; if the gear corresponding to the valid APL value differs from the current gear by more than N gears, then the gear downshifting operation will be performed; where N is a positive integer.
[0005] Furthermore, the step of obtaining the effective average grayscale APL value of the current screen specifically includes: Obtain the APL values of several consecutive frames, and calculate the arithmetic mean of the APL values of the several frames; The arithmetic mean is subjected to a first-order low-pass filter to obtain the effective APL value.
[0006] Furthermore, after the step of lowering the screen brightness level, or after the step of raising the screen brightness level to a level corresponding to the effective APL value, the method further includes: Control the screen brightness to transition linearly to the target brightness within a third preset time period; If a new gear adjustment command is received during the linear transition, the current transition is interrupted, and the current brightness is used as the starting point to linearly transition to the new target brightness within the third preset time period.
[0007] Furthermore, after the step of lowering the screen brightness level, or after the step of raising the screen brightness level to a level corresponding to the effective APL value, the method further includes: During brightness adjustment, the brightness adjustment range per unit time is limited to not exceeding the preset maximum value.
[0008] Furthermore, the brightness levels include multiple preset levels, each level corresponding to an APL range; the lower threshold is the lower limit of the APL range corresponding to the current level minus a first offset, and the upper threshold is the upper limit of the APL range corresponding to the current level plus a second offset, so as to form a hysteresis buffer.
[0009] Further, after the step of comparing the effective APL value with the lower threshold and upper threshold corresponding to the current brightness level, the method further includes: When the change in the effective APL value exceeds the preset jump threshold within a unit of time, the screen brightness is directly adjusted to the brightness level corresponding to the effective APL value.
[0010] Furthermore, before the step of adjusting the screen brightness level up to the level corresponding to the effective APL value, or before the step of adjusting the screen brightness level down, the method further includes: When the effective APL value is higher than the upper threshold or lower than the lower threshold, a timer is started. If the timer duration reaches a first preset duration or a second preset duration, and the effective APL value remains higher than the upper threshold or lower than the lower threshold during this period, the screen brightness level is adjusted up to the level corresponding to the effective APL value or the screen brightness level is adjusted down, and the timer is reset. If the effective APL value returns to a value between the upper threshold and the lower threshold before the timer's duration reaches the first preset duration or the second preset duration, then the timer is reset.
[0011] To address the aforementioned technical problems, this application also provides a screen brightness adjustment device, comprising: The acquisition module is used to obtain the valid APL value of the current screen; The hysteresis control module is used to compare the effective APL value with the lower threshold and upper threshold corresponding to the current brightness level; when the effective APL value is higher than the upper threshold, the screen brightness level is increased to the level corresponding to the effective APL value; when the effective APL value is lower than the lower threshold, the screen brightness level is decreased; if the level corresponding to the effective APL value differs from the current level by no more than N levels, the level decrease operation is not performed; if the level corresponding to the effective APL value differs from the current level by more than N levels, the level decrease operation is performed; where N is a positive integer.
[0012] Furthermore, the brightness levels are multiple preset levels, each level corresponding to an APL interval; the lower threshold is the lower limit of the APL interval corresponding to the current level minus a first offset, and the upper threshold is the upper limit of the APL interval corresponding to the current level plus a second offset, so as to form a hysteresis buffer.
[0013] Furthermore, it also includes: The smooth output module is used to control the screen brightness to linearly transition to the target brightness within a second preset time after the target brightness level is determined; If a new gear adjustment command is received during the linear transition, the current transition is interrupted, and the current brightness is used as the starting point to linearly transition to the new target brightness within the second preset time period.
[0014] To address the aforementioned technical problems, this application also provides a display device, including a memory and a processor. The memory stores computer-readable instructions, and the processor executes the computer-readable instructions to implement the screen brightness control method described above.
[0015] To address the aforementioned technical problems, this application also provides a computer-readable storage medium storing computer-readable instructions, which, when executed by a processor, implement the screen brightness control method described above.
[0016] Compared with the prior art, the embodiments of this application have the following advantages: by constructing a one-way hysteresis threshold mechanism that provides instant response for upscaling and requires confirmation across different upscaling levels for downscaling, the repeated switching of brightness levels caused by the inherent error of APL±1% is effectively avoided, and the visible flickering phenomenon is basically eliminated in low grayscale and near-threshold scenarios; and small downscaling operations can be filtered to maintain a higher brightness level. For normal changes in brightness and large brightness adjustments, the system can still respond in a timely manner to ensure user experience. Attached Figure Description
[0017] To more clearly illustrate the solution of this application, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0018] Figure 1 A schematic flowchart illustrating the screen brightness adjustment method provided in this application embodiment; Figure 2 This is a schematic diagram of the frame of the screen brightness adjustment device provided in the embodiments of this application; Figure 3 This is a basic structural block diagram of a display device provided in an embodiment of this application.
[0019] Reference numerals: 200, screen brightness control device; 201, acquisition module; 202, hysteresis control module; 203, smooth output module; 300, display device; 301, memory; 302, processor; 303, network interface. Detailed Implementation
[0020] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs; the terminology used herein in the specification of the application is for the purpose of describing particular embodiments only and is not intended to be limiting of the application; the terms "comprising" and "having," and any variations thereof, in the specification, claims, and foregoing drawings of this application are intended to cover non-exclusive inclusion. The terms "first," "second," etc., in the specification, claims, or foregoing drawings of this application are used to distinguish different objects, not to describe a particular order.
[0021] In this document, the term "embodiment" means that a particular feature, structure, or characteristic described in connection with an embodiment may be included in at least one embodiment of this application. The appearance of this phrase in various places throughout the specification does not necessarily refer to the same embodiment, nor is it a separate or alternative embodiment mutually exclusive with other embodiments. It will be explicitly and implicitly understood by those skilled in the art that the embodiments described herein can be combined with other embodiments.
[0022] This application provides a screen brightness adjustment method, such as... Figure 1 The above includes at least steps S100 to S600: Step S100: Obtain the valid APL value of the current screen.
[0023] In this embodiment, the display chip outputs the APL value of one frame every 16ms, ranging from 0% to 100%. The system caches the APL data of the most recent 8 frames or several consecutive frames within a certain period, calculates their arithmetic mean, and performs a first-order low-pass filtering on the mean to filter out high-frequency noise interference, thus obtaining the current valid APL value.
[0024] By acquiring the APL values of several consecutive frames and calculating the arithmetic mean, the impact of single-frame APL detection errors on the overall judgment result is effectively reduced, avoiding erroneous operations triggered by occasional fluctuations in individual frames. Applying a first-order low-pass filtering to the arithmetic mean further filters out high-frequency noise interference in the APL data, making the effective APL value input to subsequent hysteresis logic more stable and reliable. This fundamentally weakens the cause of frequent brightness switching due to data jitter, laying a data foundation for stable system control.
[0025] Step S200: Compare the effective APL value with the lower threshold and upper threshold corresponding to the current brightness level.
[0026] In this embodiment, multiple pre-set brightness levels are used, each corresponding to an APL (Average Brightness Point) range. The lower threshold is the lower limit of the APL range corresponding to the current level minus a first offset, and the upper threshold is the upper limit of the APL range corresponding to the current level plus a second offset, forming a hysteresis buffer. By constructing asymmetric control logic, the up-level condition is kept sensitive, ensuring the brightness response speed; the down-level condition is subject to multiple constraints, avoiding erroneous down-leveling caused by APL errors, providing a threshold basis for achieving the unidirectional hysteresis characteristic of easy up-leveling and difficult down-leveling.
[0027] Step S300: When the effective APL value is higher than the upper threshold, the screen brightness level is adjusted up to the level corresponding to the effective APL value.
[0028] In this embodiment, when the effective APL value is higher than the upper threshold of the current brightness level, the system determines that the increase in screen brightness is real, and then performs an upgrade operation, adjusting the screen brightness to the level corresponding to the current APL value and updating the current brightness level. The upgrade operation does not require any additional delay or confirmation conditions, ensuring that the system can respond promptly when the screen brightens, thus improving the user's visual experience in bright environments.
[0029] In one possible implementation, when the effective APL value is higher than the upper threshold, a boost timer is started. If the boost timer's duration reaches a first preset duration, and the effective APL value remains higher than the upper threshold during this period, the screen brightness is increased to the level corresponding to the effective APL value, and the boost timer is reset. If the effective APL value falls below the upper threshold before the boost timer's duration reaches the first preset duration, the boost timer is reset. The delayed confirmation mechanism introduced in the boost operation makes the brightness boost smoother and filters out the brief surge caused by the inherent error of ±1% APL.
[0030] Step S400: When the effective APL value is lower than the lower threshold, the screen brightness level is lowered.
[0031] In this embodiment, when the effective APL value is lower than the lower threshold of the current brightness level, the system does not immediately downgrade. Instead, it first starts a downgrade timer to continuously monitor the effective APL value. Only when the cumulative duration of the downgrade timer reaches a second preset duration, and the effective APL value remains below the lower threshold during this period, does the system determine that the decrease in screen brightness is real and continuous, rather than a momentary fluctuation caused by APL detection error. At this point, a downgrade operation is performed, lowering the screen brightness by one level, and the downgrade timer is reset for future use. The delayed confirmation mechanism introduced in the downgrade operation effectively filters out the brief dips caused by the inherent ±1% error of APL, ensuring from both directions that the brightness level does not repeatedly jump around at the critical point.
[0032] In one possible implementation, if the effective APL value rises above the lower threshold before the downshift timer reaches the second preset duration, the downshift timer is reset.
[0033] In this embodiment, the effective APL value is continuously monitored during the down-level timer. If the effective APL value rises above the lower threshold of the current brightness level before the down-level timer reaches the second preset duration, it indicates that the low APL value that triggered the timer was only a momentary error fluctuation, and the actual brightness of the screen did not continuously decrease. In this case, the down-level timer is immediately reset, the down-level preparation is abandoned, and the brightness level remains unchanged. This ensures that only a continuous and stable brightness demand will trigger a down-level, further preventing the brightness level from repeatedly jumping around at the critical point and protecting the user's visual comfort.
[0034] Step S500: If the gear corresponding to the valid APL value differs from the current gear by no more than N gears, then the gear downshifting operation is not performed; if the gear corresponding to the valid APL value differs from the current gear by no more than N gears, then the gear downshifting operation is performed; where N is a positive integer.
[0035] In this embodiment, after determining the level that needs to be lowered, the system also performs a cross-level judgment. For example, N=1 can be set, meaning that the downgrading operation is only actually performed when the APL value corresponding to the level is at least two levels lower than the current level. This forces the system to tend to maintain a higher brightness level, only responding to downgrading when the screen dims significantly. This avoids frequent screen brightness downgrading, keeps the screen in a low brightness state for extended periods, reduces flickering, and alleviates user eye strain.
[0036] In one possible implementation, when the change in the effective APL value exceeds a preset jump threshold within a unit of time, the screen brightness is directly adjusted to the brightness level corresponding to the effective APL value.
[0037] In this embodiment, when the effective APL value changes by more than a preset jump threshold within a unit of time, a real and drastic change in screen content (such as a scene switch) occurs. At this time, there is no need to wait for a down-level or up-level timer; the corresponding target brightness level is calculated directly based on the effective APL value and the screen jumps to that level. This ensures that the screen can respond quickly and accurately to changes when necessary, while also taking into account both anti-flicker effect and timely brightness adjustment.
[0038] In one possible implementation, the screen brightness is controlled to linearly transition to the target brightness within a second preset time period; if a new level adjustment command is received during the linear transition period, the current transition is interrupted, and the brightness is linearly transitioned to the new target brightness within the second preset time period, starting from the current brightness.
[0039] In this embodiment, after determining the target brightness level in steps S300, S400, or S500, the screen brightness is not instantly switched to the target value. Instead, the screen brightness is controlled to smoothly transition to the target brightness within a second preset time period according to a linear change curve. This smooth transition makes the brightness change more gentle and natural, avoiding the stimulation to the human eye caused by sudden brightness changes, and further improving visual comfort. Simultaneously, if a new level adjustment command is triggered again during the current linear transition process, and if the conditions for downgrading or upgrading are met again due to changes in the image, the current transition process is immediately interrupted. The current actual brightness at the moment of interruption is used as a new starting point, and a linear transition to the newly determined target brightness is performed within the second preset time period. This avoids brightness overshoot or oscillation that may result from multiple excessive superpositions, making the brightness control process both responsive and smooth.
[0040] In one possible implementation, during the brightness level adjustment process, the brightness adjustment range per unit time is limited to not exceeding a preset maximum value.
[0041] In this embodiment, during the brightness adjustment process in steps S300, S400, and S500, a constraint is also imposed on the rate of brightness change, that is, the brightness adjustment amplitude per unit time is limited to not exceeding a preset maximum value. By controlling the upper limit of the brightness change rate, it is possible to prevent uncomfortable and drastic changes in screen brightness, even in extreme cases of multiple consecutive brightness adjustments or large jumps. It can also work in conjunction with the aforementioned smooth transition method to ensure that the screen brightness always changes at a gradual rate acceptable to the user, providing sufficient adaptation time for the user's visual system and significantly improving the overall viewing experience.
[0042] To make the technical solution of this application clearer, a detailed description is provided below through a specific embodiment of 5-level brightness adjustment.
[0043] In this embodiment, the brightness control system is configured with the following key parameters: 5 brightness levels, a downshift trigger time (second preset duration) of 500ms, an adjacent level threshold N=1, and a brightness smooth transition time (third preset duration) of 200ms. Simultaneously, the system limits the brightness adjustment range per unit time to no more than a preset maximum value, ensuring that the rate of brightness change remains within a comfortable range for the human eye during continuous adjustment.
[0044] The threshold settings for each brightness level under the traditional mechanism and the mechanism of this application are compared as follows:
[0045] Taking a nighttime movie viewing scenario as an example, the average brightness level (APL) gradually decreases from a high level. The system initially operates at level 4, and the current APL value gradually decreases. Under a traditional two-way threshold mechanism, when the APL fluctuates around the threshold, the system frequently switches between adjacent levels, resulting in noticeable flickering. However, under the hysteresis mechanism of this application: when the APL value is higher than the upper threshold of level 4 (82%), the system immediately performs an up-level operation, increasing the screen brightness to level 5, with a rapid and sensitive response; when the APL value continues to drop below the lower threshold of level 4 (58%), the system starts a down-level timer. If the fluctuation is only momentary and the APL quickly rebounds to above 58%, the down-level timer is reset, and the system remains at level 4 without any flickering; only when the APL remains below 58% for more than 500ms does the system determine that the screen has actually darkened, at which point it calculates the level corresponding to the current APL value. If the current APL is 57%, the corresponding brightness level remains at level 4, and no downgrading is performed. If the current APL is 37%, the corresponding brightness level is level 2, and the difference between this level and level 4 exceeds N=1 levels, then a downgrading operation is performed, lowering the screen brightness to level 2. Throughout the brightness adjustment process, the rate of brightness change is always limited by the maximum adjustment range per unit time, ensuring a smooth and comfortable visual experience.
[0046] This embodiment clearly demonstrates that by constructing a hysteresis mechanism that provides immediate response for upshifts, delayed confirmation for downshifts, and resists small-step downshifts, the minor fluctuations in the APL detection value are filtered out, avoiding the problem of repeated jumps at the critical point. Simultaneously, combined with a smooth transition mechanism and a brightness change rate limit, the necessary brightness adjustment process is made more gentle, further improving the user's visual comfort.
[0047] Further reference Figure 2 As a response to the above Figure 1 To implement the method shown, this application provides an embodiment of a screen brightness adjustment device, which is similar to... Figure 1 Corresponding to the method embodiments shown, this device can be specifically applied to various electronic devices.
[0048] like Figure 2 As shown, the screen brightness adjustment device 200 described in this embodiment includes: This application provides a screen brightness adjustment device 200, including: The acquisition module 201 is used to acquire the valid APL value of the current screen. The acquisition module performs multi-frame averaging and first-order low-pass filtering preprocessing on the raw APL data output by the display chip to reduce data jitter at the source and provide a stable and reliable input signal for subsequent hysteresis judgment.
[0049] The hysteresis control module 202 is used to compare the effective APL value with the lower threshold and upper threshold corresponding to the current brightness level; when the effective APL value is higher than the upper threshold, the screen brightness level is increased to the level corresponding to the effective APL value; when the effective APL value is lower than the lower threshold, the screen brightness level is decreased; if the level corresponding to the effective APL value differs from the current level by no more than N levels, the level decrease operation is not performed; if the level decreases to the level corresponding to the effective APL value differs from the current level by more than N levels, the level decrease operation is performed; where N is a positive integer; when the change in the effective APL value within a unit time exceeds a preset jump threshold, the screen brightness is directly adjusted to the brightness level corresponding to the effective APL value. The brightness levels are preset to multiple levels, each corresponding to an APL (Advanced Partial Lighting) range. The lower threshold is the lower limit of the APL range corresponding to the current level minus a first offset, and the upper threshold is the upper limit of the APL range corresponding to the current level plus a second offset, forming a hysteresis buffer. The hysteresis control module effectively avoids the problem of repeated switching at critical points caused by APL detection errors by executing a one-way hysteresis rule that provides immediate response when increasing brightness level, continuous confirmation when decreasing brightness level, and resists small-step decreases. This essentially eliminates visible screen flicker while retaining brightness response capability during normal scene changes.
[0050] Furthermore, it also includes: The smooth output module 203 is used to control the screen brightness to linearly transition to the target brightness level within a third preset time period after determining the target brightness level. If a new level adjustment command is received during the linear transition, the current transition is interrupted, and the screen linearly transitions to the new target brightness level within the third preset time period, starting from the current brightness. Simultaneously, during the brightness level adjustment process, the brightness adjustment amplitude per unit time is limited to a preset maximum value. Through a collaborative mechanism of linear transition, interruption redirection, and rate limiting, the smooth output module ensures a smooth and gradual change in brightness, avoiding the stimulation of the human eye caused by sudden brightness changes, while ensuring the system's timely tracking and response to the latest screen state.
[0051] To address the aforementioned technical problems, this application also provides a display device 300, which includes a memory 301 and a processor 302. The memory 301 stores computer-readable instructions, and the processor 302, when executing the computer-readable instructions, implements the screen brightness anti-flicker control method as described in any of the preceding claims. Please refer to the following for details. Figure 3 , Figure 3 This is a basic structural block diagram of the display device in this embodiment.
[0052] The display device 300 includes a memory 301, a processor 302, and a network interface 303 that are interconnected via a system bus. It should be noted that only a display device 300 with a memory 301, processor 302, and network interface 303 is shown in the figure; however, it should be understood that it is not required to implement all the components shown, and more or fewer components can be implemented alternatively. Those skilled in the art will understand that the display device described here is an electronic device capable of automatically performing numerical calculations and / or information processing according to pre-set or stored instructions. Its hardware includes, but is not limited to, microprocessors, application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), digital signal processors (DSPs), embedded devices, etc.
[0053] The display device 300 can be a terminal device with a screen, such as a television, desktop monitor, laptop, tablet, or mobile phone. The display device 300 can interact with the user through a keyboard, mouse, remote control, touchpad, or voice control device.
[0054] The memory 301 includes at least one type of readable storage medium, including flash memory, hard disk, multimedia card, card-type memory (e.g., SD or DX memory), random access memory (RAM), static random access memory (SRAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), programmable read-only memory (PROM), magnetic memory, magnetic disk, optical disk, etc. In some embodiments, the memory 301 may be an internal storage unit of the display device 300, such as the hard disk or memory of the display device 300. In other embodiments, the memory 301 may also be an external storage device of the display device 300, such as a plug-in hard disk, smart media card (SMC), secure digital (SD) card, flash card, etc., equipped on the display device 300. Of course, the memory 301 may also include both the internal storage unit and the external storage device of the display device 300. In this embodiment, the memory 3001 is typically used to store the operating system and various application software installed on the display device 300, such as computer-readable instructions for the aforementioned screen brightness anti-flicker control method. Furthermore, the memory 3001 can also be used to temporarily store various types of data that have been output or will be output.
[0055] In some embodiments, the processor 302 may be a central processing unit (CPU), controller, microcontroller, microprocessor, or other data processing chip. The processor 302 is typically used to control the overall operation of the display device 300. In this embodiment, the processor 302 is used to execute computer-readable instructions stored in the memory 301 or to process data, for example, to execute the computer-readable instructions of the aforementioned screen brightness anti-flicker control method to perform steps S100 to S600, thereby achieving automatic anti-flicker control of the screen brightness.
[0056] The network interface 303 may include a wireless network interface or a wired network interface, which is typically used to establish communication connections between the display device 300 and other electronic devices.
[0057] The display device 300 provided in this application embodiment executes computer-readable instructions for a screen brightness anti-flicker control method stored in the memory through the processor 302. This effectively solves the screen brightness threshold flicker problem caused by inherent errors in APL detection without significantly increasing hardware costs. In low grayscale and near-threshold scenarios, screen brightness switching is smooth and stable, and visible flicker is essentially eliminated, while maintaining timely response to normal brightness changes, ensuring user visual comfort.
[0058] This application also provides another embodiment, namely, providing a computer-readable storage medium storing computer-readable instructions that can be executed by at least one processor to cause the at least one processor to perform the steps of the screen brightness anti-flicker control method as described in any one of claims 1 to 7.
[0059] The computer-readable storage medium can be a built-in storage unit in the aforementioned display device, or it can be a portable storage medium independent of the device hardware. By storing the computer-readable instructions of the aforementioned screen brightness anti-flicker control method on the computer-readable storage medium, the method can be easily deployed, copied, and upgraded in the form of a software product to various display terminals with APL brightness control function, reducing the cost of technology promotion and expanding the scope of application.
[0060] Through the above description of the embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus necessary general-purpose hardware platforms. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) and includes several instructions to cause a terminal device (which may be a television, monitor, mobile phone, computer, tablet computer, or network device, etc.) to execute the methods described in the various embodiments of this application.
[0061] Obviously, the embodiments described above are only some embodiments of this application, not all embodiments. The accompanying drawings show preferred embodiments of this application, but do not limit the patent scope of this application. This application can be implemented in many different forms; rather, these embodiments are provided to provide a more thorough and comprehensive understanding of the disclosure of this application. Although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art can still modify the technical solutions described in the foregoing specific embodiments, or make equivalent substitutions for some of the technical features. Any equivalent structures made using the content of this application's specification and drawings, directly or indirectly applied to other related technical fields, are similarly within the scope of patent protection of this application.
Claims
1. A method for adjusting screen brightness, characterized in that, include: Get the current valid APL value of the screen; Compare the effective APL value with the lower and upper thresholds corresponding to the current brightness level; When the effective APL value is higher than the upper threshold, the screen brightness level is adjusted up to the level corresponding to the effective APL value. When the effective APL value is lower than the lower threshold, the screen brightness level will be reduced. If the gear corresponding to the valid APL value differs from the current gear by no more than N gears, then the gear downshifting operation will not be performed; if the gear corresponding to the valid APL value differs from the current gear by more than N gears, then the gear downshifting operation will be performed; where N is a positive integer.
2. The screen brightness control method according to claim 1, characterized in that, The step of obtaining the effective average grayscale APL value of the current screen includes: Obtain the APL values of several consecutive frames, and calculate the arithmetic mean of the APL values of the several frames; The arithmetic mean is subjected to a first-order low-pass filter to obtain the effective APL value.
3. The screen brightness control method according to claim 1, characterized in that, After the step of lowering the screen brightness level, or after the step of raising the screen brightness level to a level corresponding to the effective APL value, the method further includes: Control the screen brightness to transition linearly to the target brightness within a third preset time period; If a new gear adjustment command is received during the linear transition, the current transition is interrupted, and the current brightness is used as the starting point to linearly transition to the new target brightness within the third preset time period.
4. The screen brightness control method according to claim 1, characterized in that, After the step of lowering the screen brightness level, or after the step of raising the screen brightness level to a level corresponding to the effective APL value, the method further includes: During brightness adjustment, the brightness adjustment range per unit time is limited to not exceeding the preset maximum value.
5. The screen brightness control method according to claim 1, characterized in that, The brightness levels include multiple preset levels, each level corresponding to an APL range; the lower threshold is the lower limit of the APL range corresponding to the current level minus a first offset, and the upper threshold is the upper limit of the APL range corresponding to the current level plus a second offset, to form a hysteresis buffer.
6. The screen brightness control method according to claim 1, characterized in that, After the step of comparing the effective APL value with the lower and upper thresholds corresponding to the current brightness level, the method further includes: When the change in the effective APL value exceeds the preset jump threshold within a unit of time, the screen brightness is directly adjusted to the brightness level corresponding to the effective APL value.
7. The screen brightness adjustment method according to claim 1, characterized in that, Before the step of adjusting the screen brightness level up to the level corresponding to the effective APL value, or before the step of adjusting the screen brightness level down, the method further includes: When the effective APL value is higher than the upper threshold or lower than the lower threshold, a timer is started. If the timer duration reaches a first preset duration or a second preset duration, and the effective APL value remains higher than the upper threshold or lower than the lower threshold during this period, the screen brightness level is adjusted up to the level corresponding to the effective APL value or the screen brightness level is adjusted down, and the timer is reset. If the effective APL value returns to between the upper threshold and the lower threshold before the timer's duration reaches the first preset duration or the second preset duration, then the timer is reset.
8. A screen brightness adjustment device, characterized in that, include: The acquisition module is used to obtain the valid APL value of the current screen; The hysteresis control module is used to compare the effective APL value with the lower threshold and upper threshold corresponding to the current brightness level. When the effective APL value is higher than the upper threshold, the screen brightness level is increased to the level corresponding to the effective APL value; when the effective APL value is lower than the lower threshold, the screen brightness level is decreased; if the level corresponding to the effective APL value differs from the current level by no more than N levels, the level decrease operation is not performed; if the level corresponding to the effective APL value differs from the current level by more than N levels, the level decrease operation is performed; where N is a positive integer.
9. A display device, characterized in that, The device includes a memory and a processor, wherein the memory stores computer-readable instructions, and the processor executes the computer-readable instructions to implement the screen brightness control method as described in any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer-readable instructions, which, when executed by a processor, implement the screen brightness control method as described in any one of claims 1 to 7.
