A low-brightness dimming processing method, device, equipment and storage medium
Patent Information
- Application Number
- CN202611259168.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-08-18
- Publication Date
- 2026-10-30
AI Technical Summary
然而,分段调光方案存在切换点发生跳变的问题,即用户调节亮度时在切换点附近会感受到不自然的“转折感”或调光速度突变,视觉体验仍不理想
[0015]在本申请实施例中,响应于显示设备的亮度调节操作,获取亮度调节操作配置的亮度值,对亮度值与显示设备的最大亮度值进行比值计算,得到亮度值对应的亮度百分比,若亮度百分比在目标区间内,则采用二次方映射算法对亮度值进行非线性映射转换,得到显示设备的理论输出亮度值,若亮度百分比大于目标区间的上限值,则采用线性算法对亮度值进行线性转换,得到显示设备的理论输出亮度值,按照显示设备的理论输出亮度值,调整显示设备的屏幕亮度。可见,通过二次方映射算法将亮度值映射为更低的实际输出亮度值,使得在极低亮度区的每一档调节变化更为细微,在低亮度场景下实现了亮度平滑的缓变效果,从而提升了用户的调光体验以及视觉舒适度。
Smart Images

Figure CN123016870A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of computer technology, specifically to a low-brightness dimming processing method, a low-brightness dimming processing device, a computer device, and a computer-readable storage medium. Background Technology
[0002] With the increasing prevalence of display devices, users are demanding smoother and more comfortable screen brightness adjustments. Currently, mainstream dimming solutions mainly employ linear dimming or segmented nonlinear dimming. While linear dimming is simple to implement, it cannot match the human eye's high sensitivity to changes in light intensity at low brightness levels, resulting in noticeable stepped brightness changes at low brightness.
[0003] Research has found that segmented dimming schemes improve dimming performance by using different mapping relationships for different brightness ranges. However, segmented dimming schemes suffer from abrupt changes in the switching point, meaning that users may experience an unnatural "transition" or abrupt change in dimming speed near the switching point when adjusting brightness, resulting in a less than ideal visual experience. Summary of the Invention
[0004] This application provides a low-brightness dimming processing method, apparatus, device, and computer-readable storage medium, which can improve the smoothness of the dimming process and thus improve the visual experience.
[0005] On one hand, embodiments of this application provide a low-brightness dimming processing method, including: In response to a brightness adjustment operation of a display device, obtain the brightness value configured for the brightness adjustment operation; The ratio of the brightness value to the maximum brightness value of the display device is calculated to obtain the brightness percentage corresponding to the brightness value. If the brightness percentage is within the target range, a quadratic mapping algorithm is used to perform a non-linear mapping transformation on the brightness value to obtain the theoretical output brightness value of the display device; the initial range of the target range is [0.1%, 1%], and the theoretical output brightness value is lower than the brightness value. If the brightness percentage is greater than the upper limit of the target range, a linear algorithm is used to linearly transform the brightness value to obtain the theoretical output brightness value of the display device; when the brightness percentage is the upper limit of the target range, the linear transformation result of the brightness value is equal to the nonlinear transformation result, and the first rate of change is equal to the second rate of change. The first rate of change is the rate of change of the linear transformation result of the brightness value relative to the brightness percentage, and the second rate of change is the rate of change of the nonlinear transformation result of the brightness value relative to the brightness percentage. Adjust the screen brightness of the display device according to its theoretical output brightness value.
[0006] On one hand, embodiments of this application provide a low-brightness dimming processing device, the device comprising: The acquisition unit is used to acquire the brightness value configured in the brightness adjustment operation in response to the brightness adjustment operation of the display device; The processing unit is used to calculate the ratio of the brightness value to the maximum brightness value of the display device, and obtain the brightness percentage corresponding to the brightness value; And if the brightness percentage is within the target range, a quadratic mapping algorithm is used to perform a non-linear mapping transformation on the brightness value to obtain the theoretical output brightness value of the display device; the initial range of the target range is [0.1%, 1%], and the theoretical output brightness value is lower than the brightness value; And if the brightness percentage is greater than the upper limit of the target range, a linear algorithm is used to linearly transform the brightness value to obtain the theoretical output brightness value of the display device; when the brightness percentage is the upper limit of the target range, the linear transformation result of the brightness value is equal to the nonlinear transformation result, and the first rate of change is equal to the second rate of change. The first rate of change is the rate of change of the linear transformation result of the brightness value relative to the brightness percentage, and the second rate of change is the rate of change of the nonlinear transformation result of the brightness value relative to the brightness percentage. The display unit is used to adjust the screen brightness of the display device according to the theoretical output brightness value of the display device.
[0007] In one embodiment, the processing unit is further configured to: The actual output current value of the backlight drive circuit of the display device is detected according to the preset sampling period, and the actual output brightness value is determined based on the actual output current value. The actual output brightness value is compared with the theoretical output brightness value calculated by the quadratic mapping algorithm or the linear algorithm to obtain the brightness deviation rate. If the brightness deviation rate is not within the brightness deviation rate limit, the mapping coefficients of the quadratic mapping algorithm or the linear algorithm are adjusted according to the brightness deviation rate so that the brightness deviation rate converges within the brightness deviation rate limit.
[0008] In one embodiment, the processing unit is further configured to: Obtain the ambient light intensity of the environment where the display device is located; The lower limit of the target range is dynamically adjusted based on the ambient light intensity to obtain the updated target range.
[0009] In one implementation, the processing unit is configured to dynamically adjust the lower limit of the target range based on the ambient light intensity to obtain an updated target range, specifically configured to: When the ambient light intensity is lower than the first illuminance threshold, the lower limit value is reduced to obtain the updated target range; When the ambient light intensity is higher than the second illuminance threshold, the lower limit value is increased to obtain the updated target range; The first illuminance threshold is less than the second illuminance threshold.
[0010] In one embodiment, the processing unit is further configured to: When the ambient light intensity is detected to exceed the first illuminance threshold or the second illuminance threshold, the lower limit value is adjusted step by step according to the gradual step size. Among them, the gradual step size is positively correlated with the rate of change of ambient light.
[0011] In one embodiment, the processing unit is further configured to: Obtain information about the type of content displayed on the display device; Adjust the upper and / or lower limits of the target range based on the type of content being displayed.
[0012] In one embodiment, the processing unit is further configured to: Obtain the brightness adjustment operation records of the target object within the target time period. The brightness adjustment operation records include the brightness adjustment results. Based on the brightness adjustment results, predict the brightness preference distribution of the target object; The quadratic mapping algorithm and / or linear algorithm are updated based on the brightness preference distribution.
[0013] Accordingly, this application provides a computer device comprising: Memory, which stores computer programs; The processor is used to load computer programs to implement the aforementioned low-brightness dimming processing method.
[0014] Accordingly, this application provides a computer-readable storage medium storing a computer program adapted to be loaded by a processor and executed by the aforementioned low-brightness dimming processing method.
[0015] In this embodiment, in response to a brightness adjustment operation of the display device, the brightness value configured for the brightness adjustment operation is obtained. The ratio of the brightness value to the maximum brightness value of the display device is calculated to obtain the brightness percentage corresponding to the brightness value. If the brightness percentage is within the target range, a quadratic mapping algorithm is used to perform a non-linear mapping transformation on the brightness value to obtain the theoretical output brightness value of the display device. If the brightness percentage is greater than the upper limit of the target range, a linear algorithm is used to perform a linear transformation on the brightness value to obtain the theoretical output brightness value of the display device. The screen brightness of the display device is adjusted according to the theoretical output brightness value of the display device. It can be seen that by mapping the brightness value to a lower actual output brightness value through the quadratic mapping algorithm, the adjustment changes at each level in the extremely low brightness range are more subtle, achieving a smooth and gradual brightness change effect in low-brightness scenarios, thereby improving the user's dimming experience and visual comfort. Attached Figure Description
[0016] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0017] Figure 1 A flowchart illustrating a low-brightness dimming method provided in this application embodiment; Figure 2 This is a schematic diagram of a low-brightness dimming processing device provided in an embodiment of this application; Figure 3 This is a schematic diagram of the structure of a computer device provided in an embodiment of this application. Detailed Implementation
[0018] It should be noted in advance that, in order to enable those skilled in the art to better understand the technical solutions proposed in the embodiments of this application, the embodiments of this application will be described clearly and completely in conjunction with one or more accompanying drawings. Furthermore, the various drawings shown in the embodiments of this application are merely illustrative examples; for example, the execution order of each step in the drawings can be adaptively adjusted according to the actual application scenario. In addition, in the embodiments of this application, the block diagrams shown in the various drawings are merely functional entities and do not necessarily correspond to physically independent entities. That is, these functional entities can be implemented in software, or in one or more hardware modules or integrated circuits, or in different network and / or processor devices and / or microcontroller devices.
[0019] In the embodiments of this application, the terms "module" or "unit" refer to a computer program or part of a computer program that has a predetermined function and works with other related parts to achieve a predetermined goal, and can be implemented wholly or partially using software, hardware (such as processing circuitry or memory), or a combination thereof. Similarly, a processor (or multiple processors or memory) can be used to implement one or more modules or units. Furthermore, each module or unit can be part of an overall module or unit that includes the functionality of that module or unit.
[0020] The block diagrams shown in the accompanying drawings are merely functional entities and do not necessarily correspond to physically independent entities. That is, these functional entities can be implemented in software, in one or more hardware modules or integrated circuits, or in different network and / or processor devices and / or microcontroller devices.
[0021] The flowcharts shown in the accompanying drawings are merely illustrative and do not necessarily include all content and operations / steps, nor do they necessarily have to be performed in the described order. For example, some operations / steps can be broken down, while others can be combined or partially combined; therefore, the actual execution order may change depending on the specific circumstances.
[0022] It should be noted that "multiple" in this article refers to two or more. "And / or" describes the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A alone, A and B simultaneously, or B alone. The character " / " generally indicates that the preceding and following related objects have an "or" relationship.
[0023] This application provides a low-brightness dimming method, which can be executed by a computer device. The computer device can be any electronic device with display functionality and computing power, such as a smartphone, tablet, laptop, desktop monitor, smart TV, or in-vehicle display. Figure 1 As shown, the low-brightness dimming processing method may include the following steps S101 to S105: S101. In response to a brightness adjustment operation of a display device, obtain the brightness value configured for the brightness adjustment operation.
[0024] In this embodiment, the display device is the display output component of a computer device. The object can trigger brightness adjustment operations in various ways, such as by sliding a brightness adjustment slider on the screen, pressing a physical brightness adjustment button, inputting a brightness command via voice, or the system automatically adjusting based on ambient light sensor data. In response to this operation, the computer device obtains the brightness value the object desires to configure. This brightness value can be an abstract numerical value representing a brightness level, and its range is related to the specific operating system or hardware platform. For example, in the Android system, the brightness value is typically an integer from 0 to 255; in the Windows system, the brightness value can be a percentage value from 0 to 100; in a specific display driver chip, the brightness value can be a register value used to control the PWM duty cycle.
[0025] S102. Calculate the ratio of the brightness value to the maximum brightness value of the display device to obtain the brightness percentage corresponding to the brightness value.
[0026] In one implementation, the computer device first determines the maximum brightness value that the display device can support. This maximum brightness value is a system-level parameter related to the display device's hardware specifications and the current display mode. For example, in one display device, the brightness value range is 0 to 2047, so the maximum brightness value is 2047; in another device, the brightness value range is 0 to 100, so the maximum brightness value is 100. Next, the computer device divides the brightness value obtained in step S101 by this maximum brightness value to obtain a normalized result, i.e., a brightness percentage, ranging from 0% to 100%, used to characterize the ratio of the currently configured brightness to the device's highest brightness. Through this normalization process, subsequent dimming algorithms can be independent of specific hardware platforms, exhibiting good versatility and portability.
[0027] S103. If the brightness percentage is within the target range, a quadratic mapping algorithm is used to perform a non-linear mapping transformation on the brightness value to obtain the theoretical output brightness value of the display device.
[0028] The initial range of this target interval is [0.1%, 1%]. When the brightness percentage falls within this range, it indicates that the object expects the display device (computer device) to be adjusted to an extremely low brightness state. In this state, the human eye is extremely sensitive to changes in brightness, and the step changes of traditional linear dimming will be perceived as obvious jumps.
[0029] In this embodiment, the quadratic mapping algorithm can be understood as a quadratic function that maps an input brightness value (x) to an output brightness value (y). Its basic form is y = a·x² + b·x + c, where a, b, and c are mapping coefficients. Within the target range, this mapping relationship results in a theoretical output brightness value lower than the original brightness value. In other words, the algorithm stretches the brightness change, originally concentrated at 0.1%, to a lower brightness range (e.g., one ten-thousandth), thereby reducing the actual brightness change amplitude of each adjustment and achieving finer adjustment granularity. For example, in one embodiment, when an object adjusts its brightness from 0.1% to 0.2% on the interface, through quadratic mapping, the actual output brightness may only change from 0.01% to 0.04%. This subtle change is almost imperceptible to the human eye, achieving a smooth transition and effectively avoiding the phenomenon of brightness jumps.
[0030] As can be seen, the low-brightness dimming processing method provided in this application maps the brightness value to a lower actual output brightness value, making each adjustment change in the extremely low brightness area more subtle, thereby effectively overcoming the problem of brightness jump and achieving a smooth brightness change effect in low-brightness scenes, significantly improving the dimming experience and visual comfort of objects in dark environments.
[0031] It should be noted that step S103 and step S104 below are parallel branch steps executed under different conditions.
[0032] S104. If the brightness percentage is greater than the upper limit of the target range, a linear algorithm is used to linearly transform the brightness value to obtain the theoretical output brightness value of the display device.
[0033] When the brightness percentage exceeds the upper limit of the target range, the display device is operating within the normal brightness range. Within this range, brightness changes have a relatively gentle effect on the human eye, and a linear dimming algorithm can meet the requirements. The basic form of the linear algorithm can be y = k·x, where k is the linear mapping coefficient.
[0034] In one embodiment, to ensure that the entire dimming curve does not experience abrupt changes at the upper limit of the brightness value in the target range, this application embodiment has specially designed the relationship between the linear mapping and the above-mentioned quadratic mapping: When the brightness percentage is at the upper limit of the target interval, the linear transformation result and the nonlinear transformation result of the brightness value are equal, and the first rate of change and the second rate of change are also equal. Here, the first rate of change refers to the rate of change of the linear transformation result relative to the brightness percentage, i.e., the derivative (slope k) of the linear function; the second rate of change refers to the rate of change of the nonlinear transformation result relative to the brightness percentage, i.e., the derivative of the quadratic function at the upper limit of the target interval. By ensuring that the function values and derivative values are equal at the connection point (the upper limit of the target interval), the two curves can be smoothly connected at that point.
[0035] Through the above design, when the object adjusts its brightness and passes the upper limit of the target range, the change in screen brightness is continuous and smooth, without any brightness jumps or acceleration / deceleration that can be perceived by the naked eye. This achieves a natural transition from delicate adjustment of low brightness to linear adjustment of regular brightness, improving the consistency of the overall dimming experience.
[0036] S105. Adjust the screen brightness of the display device according to its theoretical output brightness value.
[0037] After determining the final theoretical output brightness value through the above steps, the computer device converts this theoretical output brightness value into a specific hardware control signal. This control signal can be the duty cycle of a PWM signal or the current control value of the backlight drive circuit. The computer device sends this control signal to the screen backlight module through its display driver interface, thereby driving the actual physical brightness of the screen to change, making it close to or equal to the theoretical output brightness value, thus completing the entire brightness adjustment closed loop.
[0038] In one embodiment, to further improve the accuracy of brightness control, the method provided in this application may further include a closed-loop feedback adjustment step. Specifically, the computer device can detect the actual output current value of the backlight driving circuit of the display device according to a preset sampling period (e.g., once every 100 milliseconds). This current value is positively correlated with the actual physical brightness of the screen, so the actual output brightness value can be calculated or estimated based on this current value. Then, the computer device compares the actual output brightness value with the theoretical output brightness value calculated in the aforementioned steps, and calculates the brightness deviation rate (e.g., absolute deviation divided by the theoretical value). If the brightness deviation rate is not within the brightness deviation rate limit (e.g., [-5%, 5%]), it indicates that there is a large error in the current brightness output. At this time, the computer device will adjust the mapping coefficients of the mapping algorithm (quadratic mapping algorithm or linear algorithm) used according to the brightness deviation rate. For example, a proportional-integral-derivative (PID) control algorithm can be used to dynamically adjust the coefficient value according to the deviation rate, so that the actual output brightness value approaches the theoretical value, until the brightness deviation rate converges within the brightness deviation rate limit. This closed-loop feedback mechanism can effectively compensate for brightness output deviations caused by factors such as hardware aging, temperature changes, and individual device differences, ensuring the long-term accuracy and stability of the dimming curve.
[0039] In another embodiment, the method provided in this application can also incorporate ambient light information for adaptive dimming. The computer device can obtain the ambient light intensity of the environment in which the display device is located through its built-in ambient light sensor. Based on this ambient light intensity, the lower limit of the aforementioned target range (i.e., the brightness range applying the quadratic mapping algorithm) is dynamically adjusted to obtain an updated target range. For example, when the ambient light intensity is below a first illuminance threshold (e.g., 1 lux), the human eye is more sensitive to changes in brightness. Therefore, the lower limit of the target range can be reduced (e.g., from 0.1% to 0.05%) to apply a more nuanced quadratic mapping over a wider range of extremely low brightness, further optimizing the dimming experience in low-light environments. Conversely, when the ambient light intensity is above a second illuminance threshold (e.g., 10 lux), the human eye is relatively less sensitive to changes in weak light. In this case, the lower limit of the target range can be increased (e.g., from 0.1% to 0.2%) to narrow the fine adjustment range, prioritizing the response speed of brightness adjustment and the smoothness of the overall curve. The first illuminance threshold is less than the second illuminance threshold. This adaptive mechanism allows the dimming strategy to change flexibly according to the external environment, providing a more intelligent, comfortable, and personalized visual experience for the subject.
[0040] Furthermore, to prevent frequent fluctuations in ambient light intensity near the threshold from causing drastic fluctuations in the lower limit of the target range and thus abrupt changes in the dimming curve, the computer device can employ a gradual adjustment strategy when it detects that the ambient light intensity has crossed the first or second illuminance threshold. Specifically, the computer device adjusts the lower limit value stepwise from the current value to the target value according to a gradual step size. This gradual step size can be dynamically determined based on the rate of change of ambient light intensity: the faster the ambient light changes, the larger the step size to achieve a rapid response; the slower the ambient light changes, the smaller the step size to ensure a smooth transition. This gradual adjustment makes the change in the dimming strategy slow and continuous, avoiding brightness flickering or abrupt adjustments caused by fluctuations in the ambient light threshold, further improving the stability of brightness changes during dimming.
[0041] In one implementation, assuming the computer device has lowered the lower limit of the target range from 0.1% to 0.05% based on the ambient light intensity, the computer device can maintain the above quadratic mapping algorithm unchanged, provided that the theoretical output brightness value in the range [0.05%, 0.1%] is also lower than the original brightness value. If the theoretical output brightness value of the above quadratic mapping algorithm in the range [0.05%, 0.1%] is not lower than the original brightness value, the computer device can update the quadratic mapping algorithm to ensure that the theoretical output brightness value in the range [0.05%, 1%] is lower than the original brightness value.
[0042] In another embodiment, the method provided in this application can also perform intelligent dimming in conjunction with the displayed content. The computer device can obtain type information of the content currently displayed on the screen. This type information can be obtained by analyzing the package name, activity name, or window attributes of the current top-level application. For example, when a video is detected playing (video application) or an image is displayed (gallery application), it can be determined as multimedia content; when an e-book reading interface is detected, it can be determined as text reading. Different types of display content have different requirements for the finesse of low-brightness dimming.
[0043] For example, in text reading scenarios, the screen requires high uniformity and low-brightness detail. Therefore, the upper and / or lower limits of the target range can be adjusted based on this information. For instance, for text reading, the upper limit of the target range can be increased from 1% to 1.5% to apply a smoother non-linear mapping over a wider brightness range. For multimedia content, since video content itself has a large dynamic range of brightness, the target range can be appropriately narrowed to ensure dynamic response of the overall brightness. This content-aware adaptive dimming can provide optimal brightness adjustment strategies for different application scenarios.
[0044] In one implementation, assuming the computer device has adjusted the upper limit of the target range from 1% to 1.5% based on the content type information, the computer device can also update the aforementioned quadratic mapping algorithm and linear algorithm (such as parameter updates) so that when the brightness percentage is 1.5% (i.e., the new upper limit of the target range), the linear transformation result of the brightness value is equal to the nonlinear transformation result, and the first rate of change is equal to the second rate of change; wherein, the first rate of change is the rate of change of the linear transformation result of the brightness value relative to the brightness percentage, and the second rate of change is the rate of change of the nonlinear transformation result of the brightness value relative to the brightness percentage.
[0045] In yet another embodiment, the method provided in this application can also achieve personalized dimming based on individual user habits. A computer device can acquire a record of brightness adjustment operations performed by a target user (such as the current user) within a target time period (such as the past week). This record includes not only the final brightness value set by the target user's brightness adjustment operation, but also contextual information such as the time of adjustment, the brightness change before and after adjustment, and the ambient light intensity at the time. This information collectively constitutes the brightness adjustment result.
[0046] Then, based on these brightness adjustment results, the computer device predicts the brightness preference distribution of the target object. In one embodiment, a statistical approach can be used: the dwell time or number of adjustments of the target object within different brightness percentage ranges is statistically analyzed to generate a frequency distribution histogram as an approximation of the brightness preference distribution. In another embodiment, a machine learning approach can be used: a preference prediction model is built and trained, whose input is the historical brightness adjustment operation record of the target object (and optional features such as ambient light and content type), and whose output is the brightness value or preference distribution preferred by the target object. A complete implementation example of the machine learning approach is given below.
[0047] First, a training dataset needs to be constructed. This dataset consists of multiple samples, each corresponding to a single brightness adjustment operation record of the target object. The feature vector of the sample may include, but is not limited to, the following dimensions: brightness percentage before adjustment, brightness percentage after adjustment, ambient light intensity, current displayed content type (encoded value), adjustment time (e.g., hours), device identifier, etc. The label of the sample can be the final determined brightness percentage of the target object.
[0048] Next, choose the machine learning model architecture for the initial model. For example, the initial model can be a tree-based model (such as XGBoost or LightGBM) or a multilayer perceptron (MLP) neural network. Taking MLP as an example, its input layer has the number of nodes equal to the dimension of the feature vector, contains several hidden layers (for example, two hidden layers with 128 and 64 neurons respectively, with ReLU activation function), and the output layer is a single node used to output the predicted preference brightness value.
[0049] The training process is as follows: The computer equipment divides the dataset into a training set and a validation set. During the training phase, the feature vector of each sample in the training set is input into the initial model to obtain the predicted brightness value. The loss between the predicted value and the true label (i.e., the brightness value actually set by the user) is calculated; for example, mean squared error (MSE) can be used as the loss function. Then, the gradient of the loss function with respect to the weights of each layer of the initial model is calculated using the backpropagation algorithm, and an optimizer (such as the Adam optimizer) is used to update the model weights based on the gradient to minimize the loss function. Through multiple iterations (epochs), the loss of the model on the training set gradually decreases and converges. The model performance is evaluated on the validation set. If the evaluation metric (such as mean absolute error MAE) reaches the preset standard, the training is complete, and the trained model is obtained.
[0050] During the prediction phase, the computer device acquires historical brightness adjustment records of the target object as input features, loads pre-trained model weights, performs a forward propagation calculation, and the model output is the predicted brightness value that matches the target object's preference. The computer device can provide this predicted value as a recommended brightness to the target object, or directly use the predicted value to adjust the range of the target interval or the coefficients of the mapping algorithm, thereby updating the quadratic mapping algorithm and / or the linear algorithm to make the dimming strategy more closely match the target object's habits. For example, if the model predicts that the target object prefers a lower actual brightness in the low brightness range, the coefficient 'a' of the quadratic mapping can be adjusted to make its mapping curve steeper within the target interval, resulting in a lower output brightness value.
[0051] Personalized dimming based on individual user habits allows the dimming characteristics of display devices to learn and adapt to the habits of the target user, thereby providing a customized brightness adjustment experience that is tailored to each individual and further improving user satisfaction.
[0052] The above-described solution in this application, by dividing specific low-brightness zones and applying quadratic mapping, combined with smoothing at the transition points between zones, fundamentally improves the finesse of low-brightness dimming. Furthermore, the introduction of closed-loop feedback, environmental awareness, content awareness, and personalized learning mechanisms constructs an intelligent, adaptive, and precise display brightness control system, providing users with a better visual experience during low-brightness dimming.
[0053] The methods of the embodiments of this application have been described in detail above. In order to facilitate better implementation of the above solutions of the embodiments of this application, the apparatus of the embodiments of this application is provided below.
[0054] Please see Figure 2 , Figure 2 A schematic diagram of a low-brightness dimming processing device provided in an embodiment of this application. In one embodiment, Figure 2 The low-brightness dimming device shown can be integrated into computer equipment. Figure 2 The low-brightness dimming processing device shown can be used to perform the above. Figure 1 Some or all of the functionality described in the method embodiments. Please refer to... Figure 2 The low-brightness dimming processing device includes: The acquisition unit 201 is used to acquire the brightness value configured in the brightness adjustment operation in response to the brightness adjustment operation of the display device; Processing unit 202 is used to calculate the ratio of the brightness value to the maximum brightness value of the display device to obtain the brightness percentage corresponding to the brightness value; And if the brightness percentage is within the target range, a quadratic mapping algorithm is used to perform a non-linear mapping transformation on the brightness value to obtain the theoretical output brightness value of the display device; the initial range of the target range is [0.1%, 1%], and the theoretical output brightness value is lower than the brightness value; And if the brightness percentage is greater than the upper limit of the target range, a linear algorithm is used to linearly transform the brightness value to obtain the theoretical output brightness value of the display device; when the brightness percentage is the upper limit of the target range, the linear transformation result of the brightness value is equal to the nonlinear transformation result, and the first rate of change is equal to the second rate of change. The first rate of change is the rate of change of the linear transformation result of the brightness value relative to the brightness percentage, and the second rate of change is the rate of change of the nonlinear transformation result of the brightness value relative to the brightness percentage. Display unit 203 is used to adjust the screen brightness of the display device according to the theoretical output brightness value of the display device.
[0055] In one embodiment, the processing unit 202 is further configured to: The actual output current value of the backlight drive circuit of the display device is detected according to the preset sampling period, and the actual output brightness value is determined based on the actual output current value. The actual output brightness value is compared with the theoretical output brightness value calculated by the quadratic mapping algorithm or the linear algorithm to obtain the brightness deviation rate. If the brightness deviation rate is not within the brightness deviation rate limit, the mapping coefficients of the quadratic mapping algorithm or the linear algorithm are adjusted according to the brightness deviation rate so that the brightness deviation rate converges within the brightness deviation rate limit.
[0056] In one embodiment, the processing unit 202 is further configured to: Obtain the ambient light intensity of the environment where the display device is located; The lower limit of the target range is dynamically adjusted based on the ambient light intensity to obtain the updated target range.
[0057] In one embodiment, the processing unit 202 is configured to dynamically adjust the lower limit of the target range based on the ambient light intensity to obtain an updated target range, specifically for: When the ambient light intensity is lower than the first illuminance threshold, the lower limit value is reduced to obtain the updated target range; When the ambient light intensity is higher than the second illuminance threshold, the lower limit value is increased to obtain the updated target range; The first illuminance threshold is less than the second illuminance threshold.
[0058] In one embodiment, the processing unit 202 is further configured to: When the ambient light intensity is detected to exceed the first illuminance threshold or the second illuminance threshold, the lower limit value is adjusted step by step according to the gradual step size. Among them, the gradual step size is positively correlated with the rate of change of ambient light.
[0059] In one embodiment, the processing unit 202 is further configured to: Obtain information about the type of content displayed on the display device; Adjust the upper and / or lower limits of the target range based on the type of content being displayed.
[0060] In one embodiment, the processing unit 202 is further configured to: Obtain the brightness adjustment operation records of the target object within the target time period. The brightness adjustment operation records include the brightness adjustment results. Based on the brightness adjustment results, predict the brightness preference distribution of the target object; The quadratic mapping algorithm and / or linear algorithm are updated based on the brightness preference distribution.
[0061] According to one embodiment of this application, Figure 1 The low-brightness dimming processing method shown can involve some steps by... Figure 2 The low-brightness dimming processing is performed by each unit in the illustrated low-brightness dimming device. For example, Figure 1 Step S101 shown can be performed by Figure 2 The acquisition unit 201 shown is executed, and steps S102-S104 can be performed by... Figure 2 The processing unit 202 shown executes the step S105, which can be performed by... Figure 2 The display unit 203 shown is executed. Figure 2 The units in the low-brightness dimming processing device shown can be individually or entirely combined into one or more other units, or some of the units can be further divided into multiple functionally smaller units. This achieves the same operation without affecting the technical effects of the embodiments of this application. The above units are based on logical function division. In practical applications, the function of one unit can be implemented by multiple units, or the function of multiple units can be implemented by one unit. In other embodiments of this application, the low-brightness dimming processing device may also include other units. In practical applications, these functions can also be implemented with the assistance of other units, and can be implemented collaboratively by multiple units.
[0062] According to another embodiment of this application, a general-purpose computing device, such as a computer device including processing elements and storage elements such as a central processing unit (CPU), random access memory (RAM), and read-only memory (ROM), can perform operations such as... Figure 1 The computer program (including program code) involved in each step of the corresponding method shown, to construct such... Figure 2 The low-brightness dimming processing apparatus shown herein, and the low-brightness dimming processing method for implementing the embodiments of this application, are described. A computer program may be recorded on, for example, a computer-readable recording medium, loaded onto the aforementioned computing device via the computer-readable recording medium, and executed therein.
[0063] Based on the same inventive concept, the principle and beneficial effects of the low-brightness dimming processing device provided in the embodiments of this application are similar to the principle and beneficial effects of the low-brightness dimming processing method in the embodiments of this application. Please refer to the principle and beneficial effects of the method implementation. For the sake of brevity, they will not be repeated here.
[0064] Please see Figure 3 , Figure 3 This is a schematic diagram of the structure of a computer device provided in an embodiment of this application. Figure 3As shown, the computer device includes at least a processor 301, a communication interface 302, and a memory 303. The processor 301, communication interface 302, and memory 303 can be connected via a bus or other means. The processor 301 (or Central Processing Unit, CPU) is the computing and control core of the computer device. It can parse various instructions within the computer device and process various data. For example, the CPU can parse power-on / off commands issued by objects to the computer device and control the computer device to perform power-on / off operations; it can also transmit various interactive data between internal structures of the computer device, and so on. The communication interface 302 may optionally include standard wired interfaces or wireless interfaces (such as Wi-Fi, mobile communication interfaces, etc.), and can be used to send and receive data under the control of the processor 301; the communication interface 302 can also be used for data transmission and interaction within the computer device. The memory 303 is the storage device in the computer device, used to store programs and data. It can be understood that the memory 303 here can include the computer device's built-in memory, or it can include extended memory supported by the computer device. The memory 303 provides storage space for storing the operating system of the computer device, which may include, but is not limited to, Android, iOS, Windows Phone, etc. This application does not limit this.
[0065] This application embodiment also provides a computer-readable storage medium (Memory), which is a memory device in a computer device used to store programs and data. It is understood that the computer-readable storage medium here can include both the built-in storage medium in the computer device and extended storage media supported by the computer device. The computer-readable storage medium provides storage space that stores the processing system of the computer device. Furthermore, the storage space also stores computer programs suitable for loading and execution by the processor 301. It should be noted that the computer-readable storage medium here can be high-speed RAM or non-volatile memory, such as at least one disk storage device; optionally, it can also be at least one computer-readable storage medium located remotely from the aforementioned processor.
[0066] In one embodiment, processor 301 performs the following operations by running a computer program stored in memory 303: In response to a brightness adjustment operation of a display device, obtain the brightness value configured for the brightness adjustment operation; The ratio of the brightness value to the maximum brightness value of the display device is calculated to obtain the brightness percentage corresponding to the brightness value. If the brightness percentage is within the target range, a quadratic mapping algorithm is used to perform a non-linear mapping transformation on the brightness value to obtain the theoretical output brightness value of the display device; the initial range of the target range is [0.1%, 1%], and the theoretical output brightness value is lower than the brightness value. If the brightness percentage is greater than the upper limit of the target range, a linear algorithm is used to linearly transform the brightness value to obtain the theoretical output brightness value of the display device; when the brightness percentage is the upper limit of the target range, the linear transformation result of the brightness value is equal to the nonlinear transformation result, and the first rate of change is equal to the second rate of change. The first rate of change is the rate of change of the linear transformation result of the brightness value relative to the brightness percentage, and the second rate of change is the rate of change of the nonlinear transformation result of the brightness value relative to the brightness percentage. Adjust the screen brightness of the display device according to its theoretical output brightness value.
[0067] As an optional embodiment, the processor 301, by running a computer program in the memory 303, also performs the following operations: The actual output current value of the backlight drive circuit of the display device is detected according to the preset sampling period, and the actual output brightness value is determined based on the actual output current value. The actual output brightness value is compared with the theoretical output brightness value calculated by the quadratic mapping algorithm or the linear algorithm to obtain the brightness deviation rate. If the brightness deviation rate is not within the brightness deviation rate limit, the mapping coefficients of the quadratic mapping algorithm or the linear algorithm are adjusted according to the brightness deviation rate so that the brightness deviation rate converges within the brightness deviation rate limit.
[0068] As an optional embodiment, the processor 301, by running a computer program in the memory 303, also performs the following operations: Obtain the ambient light intensity of the environment where the display device is located; The lower limit of the target range is dynamically adjusted based on the ambient light intensity to obtain the updated target range.
[0069] As an optional embodiment, the processor 301 dynamically adjusts the lower limit of the target range based on the ambient light intensity to obtain the updated target range. A specific embodiment of this is as follows: When the ambient light intensity is lower than the first illuminance threshold, the lower limit value is reduced to obtain the updated target range; When the ambient light intensity is higher than the second illuminance threshold, the lower limit value is increased to obtain the updated target range; The first illuminance threshold is less than the second illuminance threshold.
[0070] As an optional embodiment, the processor 301, by running a computer program in the memory 303, also performs the following operations: When the ambient light intensity is detected to exceed the first illuminance threshold or the second illuminance threshold, the lower limit value is adjusted step by step according to the gradual step size. Among them, the gradual step size is positively correlated with the rate of change of ambient light.
[0071] As an optional embodiment, the processor 301, by running a computer program in the memory 303, also performs the following operations: Obtain information about the type of content displayed on the display device; Adjust the upper and / or lower limits of the target range based on the type of content being displayed.
[0072] As an optional embodiment, the processor 301, by running a computer program in the memory 303, also performs the following operations: Obtain the brightness adjustment operation records of the target object within the target time period. The brightness adjustment operation records include the brightness adjustment results. Based on the brightness adjustment results, predict the brightness preference distribution of the target object; The quadratic mapping algorithm and / or linear algorithm are updated based on the brightness preference distribution.
[0073] Based on the same inventive concept, the principle and beneficial effects of the computer device provided in the embodiments of this application in solving the problem are similar to the principle and beneficial effects of the low brightness dimming processing method in the embodiments of this application in solving the problem. Please refer to the principle and beneficial effects of the implementation of the method. For the sake of brevity, they will not be repeated here.
[0074] This application also provides a computer-readable storage medium storing a computer program adapted to be loaded by a processor and execute the low-brightness dimming processing method of the above-described method embodiments.
[0075] This application also provides a computer program product or computer program that includes computer instructions stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium and executes the computer instructions, causing the computer device to perform the aforementioned low-brightness dimming processing method.
[0076] The steps in the method of this application embodiment can be adjusted, combined, or deleted according to actual needs.
[0077] The modules in the device of this application embodiment can be merged, divided, and deleted according to actual needs.
[0078] In the embodiments of this application, the term "module" or "unit" refers to a computer program or part of a computer program with a predetermined function, which works together with other related parts to achieve a predetermined goal, and can be implemented wholly or partially using software, hardware (such as processing circuitry or memory), or a combination thereof. Similarly, a processor (or multiple processors or memory) can be used to implement one or more modules or units. Furthermore, each module or unit can be part of an overall module or unit that includes the functionality of that module or unit.
[0079] Those skilled in the art will understand that all or part of the steps in the various methods of the above embodiments can be implemented by a program instructing related hardware. The program can be stored in a computer-readable storage medium, which may include: flash drive, read-only memory (ROM), random access memory (RAM), magnetic disk or optical disk, etc.
[0080] The above-disclosed embodiments are merely preferred embodiments of this application and should not be construed as limiting the scope of this application. Those skilled in the art will understand that all or part of the processes for implementing the above embodiments and equivalent variations made in accordance with the claims of this application are still within the scope of this application.
Claims
1. A low-brightness dimming processing method, characterized in that, include: In response to a brightness adjustment operation of a display device, the brightness value configured for the brightness adjustment operation is obtained; The ratio of the brightness value to the maximum brightness value of the display device is calculated to obtain the brightness percentage corresponding to the brightness value. If the brightness percentage is within the target range, a quadratic mapping algorithm is used to perform a non-linear mapping transformation on the brightness value to obtain the theoretical output brightness value of the display device; the initial range of the target range is [0.1%, 1%], and the theoretical output brightness value is lower than the brightness value; If the brightness percentage is greater than the upper limit of the target range, a linear algorithm is used to linearly transform the brightness value to obtain the theoretical output brightness value of the display device. When the brightness percentage is the upper limit of the target range, the linear transformation result of the brightness value is equal to the nonlinear transformation result, and the first rate of change is equal to the second rate of change. The first rate of change is the rate of change of the linear transformation result of the brightness value relative to the brightness percentage, and the second rate of change is the rate of change of the nonlinear transformation result of the brightness value relative to the brightness percentage. Adjust the screen brightness of the display device according to its theoretical output brightness value.
2. The method according to claim 1, characterized in that, The method further includes: The actual output current value of the backlight driving circuit of the display device is detected according to a preset sampling period, and the actual output brightness value is determined based on the actual output current value. The actual output brightness value is compared with the theoretical output brightness value calculated by the quadratic mapping algorithm or the linear algorithm to obtain the brightness deviation rate. If the brightness deviation rate is not within the brightness deviation rate limit, the mapping coefficients of the quadratic mapping algorithm or the linear algorithm are adjusted according to the brightness deviation rate so that the brightness deviation rate converges within the brightness deviation rate limit.
3. The method according to claim 1, characterized in that, The method further includes: Obtain the ambient light intensity of the environment in which the display device is located; Based on the ambient light intensity, the lower limit of the target range is dynamically adjusted to obtain the updated target range.
4. The method according to claim 3, characterized in that, The step of dynamically adjusting the lower limit of the target range based on the ambient light intensity to obtain the updated target range includes: When the ambient light intensity is lower than the first illuminance threshold, the lower limit value is reduced to obtain the updated target range; When the ambient light intensity is higher than the second illuminance threshold, the lower limit value is increased to obtain the updated target range; Wherein, the first illuminance threshold is less than the second illuminance threshold.
5. The method according to claim 4, characterized in that, The method further includes: When the ambient light intensity is detected to cross the first illuminance threshold or the second illuminance threshold, the lower limit value is adjusted step by step according to the gradual step size; The gradual step size is positively correlated with the rate of change of ambient light.
6. The method according to claim 1, characterized in that, The method further includes: Obtain the type information of the content displayed in the display device; Adjust the upper and / or lower limits of the target range based on the type information of the displayed content.
7. The method according to claim 1, characterized in that, The method further includes: Obtain the brightness adjustment operation record of the target object within the target time period, wherein the brightness adjustment operation record includes the brightness adjustment result; Based on the brightness adjustment results, predict the brightness preference distribution of the target object; The quadratic mapping algorithm and / or the linear algorithm are updated based on the brightness preference distribution.
8. A low-brightness dimming processing device, characterized in that, The low-brightness dimming processing device includes: The acquisition unit is configured to acquire the brightness value configured in response to the brightness adjustment operation of the display device. The processing unit is used to calculate the ratio between the brightness value and the maximum brightness value of the display device to obtain the brightness percentage corresponding to the brightness value; And if the brightness percentage is within the target range, a quadratic mapping algorithm is used to perform a nonlinear mapping transformation on the brightness value to obtain the theoretical output brightness value of the display device; the initial range of the target range is [0.1%, 1%], and the theoretical output brightness value is lower than the brightness value; And if the brightness percentage is greater than the upper limit of the target range, a linear algorithm is used to linearly transform the brightness value to obtain the theoretical output brightness value of the display device; when the brightness percentage is the upper limit of the target range, the linear transformation result of the brightness value is equal to the nonlinear transformation result, and the first rate of change is equal to the second rate of change, wherein the first rate of change is the rate of change of the linear transformation result of the brightness value relative to the brightness percentage, and the second rate of change is the rate of change of the nonlinear transformation result of the brightness value relative to the brightness percentage; The display unit is used to adjust the screen brightness of the display device according to the theoretical output brightness value of the display device.
9. A computer device, characterized in that, include: A memory, wherein a computer program is stored; A processor for loading the computer program to implement the low-brightness dimming processing method as described in any one of claims 1-7.
10. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program adapted to be loaded by a processor and to execute the low-brightness dimming processing method as described in any one of claims 1-7.
