Screen brightness self-adaptive adjusting method and device and terminal
Through the coordinated control of the brightness anti-shake module and the brightness threshold module, the smart terminal performs stable brightness adjustment when ambient light changes, solving the problems of screen brightness jitter and light sensor accuracy, and improving user experience and device performance.
Patent Information
- Application Number
- CN202411503469.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-25
- Publication Date
- 2024-12-06
AI Technical Summary
The existing smart terminals frequently adjust the screen brightness when the ambient light changes, resulting in brightness jitter. The poor accuracy of the light sensor affects the adjustment effect and cannot meet the user experience needs.
The brightness anti-shake module and the brightness threshold module are used to periodically obtain the light value, set the threshold time and threshold value, control the screen brightness adjustment, avoid mechanical mapping, and ensure brightness stability.
It effectively reduces frequent adjustment of screen brightness, improves user experience, ensures stable and comfortable display effects under different ambient light, and extends the service life and battery life of the device.
Smart Images

Figure CN119091816A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of intelligent terminal technology, and in particular to a screen brightness adaptive adjustment method, device, intelligent terminal and storage medium. Background Art
[0002] Smart terminals in the prior art generally carry the function of adaptively adjusting screen brightness. This function can sense the lighting conditions of the current environment of the smart terminal, and then use the algorithm embedded in the smart terminal to reasonably calculate the screen brightness that best matches the current lighting conditions, and feedback it on the terminal screen; the purpose is to give users a better terminal usage experience when the ambient light changes.
[0003] The disadvantages of the prior art are that most of the smart terminals in the prior art rely on a preset automatic backlight curve, that is, a mapping curve between illumination value and screen brightness value. When the ambient light changes, the X-axis illumination value and the corresponding Y-axis brightness value are calculated through an embedded algorithm, and the latest brightness value is fed back to the screen for adjustment. It has the following defects: (1) The automatic backlight curve is used for mechanical mapping. When the ambient light changes, the screen brightness is adjusted accordingly according to the curve. The frequency of adjustment depends entirely on the set curve. If the curve is not set reasonably, the screen brightness will be adjusted too frequently, that is, there will be brightness jitter; (2) The prior art also relies on the accuracy of the light sensor carried by the terminal. If the light sensor is in the same indoor environment, the difference in illumination values collected according to the terminal's hand holding posture, inclination, etc. is relatively large. In this way, in the same indoor environment, the terminal screen brightness will also be adjusted accordingly, giving the user the illusion that the screen brightness is abnormal.
[0004] That is, the smart terminal in the prior art only relies on a preset automatic backlight curve to mechanically adjust the backlight curve. The effect of the adjustment depends entirely on whether the automatic backlight curve is set perfectly, and the accuracy of the light sensor also interferes with its effect to a great extent. In this way, when the lighting environment of the user terminal is constantly changing, or the light sensor installed in the terminal has poor accuracy, the adjustment effect cannot meet the needs of the actual experience.
[0005] Therefore, the existing technology still needs to be improved and developed. Summary of the invention
[0006] The technical problem to be solved by the present invention is that, in view of the above-mentioned defects of the prior art, a method, device, intelligent terminal and storage medium for adaptively adjusting screen brightness are provided. The present invention can effectively solve the problem of frequent adjustment of the terminal under different ambient light conditions in a short period of time, greatly improve the user experience, and provide convenience for users.
[0007] The technical solution adopted by the present invention to solve the problem is as follows:
[0008] A method for adaptively adjusting screen brightness, comprising:
[0009] When the intelligent terminal is detected to be in the screen-on state, the control periodically obtains and reports the light value;
[0010] When a light value is reported, the current light value and the light value reporting time are recorded, and based on the light value and the light value reporting time, it is calculated whether the light value reporting time has reached the threshold time requirement for brightening or dimming. If the threshold time requirement for brightening or dimming is not met, the adjustment is skipped, and the threshold time for brightening and dimming is refreshed based on the new light value. If the light value reporting time has met the threshold time requirement for brightening or dimming, the light value judgment processing is further controlled.
[0011] During the judgment process of the light value, whether to start the adjustment is determined according to whether the current light value triggers the adjustment threshold: when the current light value triggers the adjustment threshold, the screen brightness adjustment is started; when the current light value does not trigger the adjustment threshold, the screen brightness is not started;
[0012] When the control starts the screen brightness adjustment, the brightness instruction to be adjusted is sent to the system display module to refresh the screen brightness.
[0013] The method for adaptively adjusting screen brightness, wherein before the step of controlling periodically acquiring and reporting the light value when detecting that the smart terminal is in a screen-on state, comprises:
[0014] An automatic backlight curve is pre-set in the smart terminal and a set of automatic adjustment algorithms are embedded; the automatic backlight curve is used to refer to the mapping relationship between the ambient light illumination and the screen brightness value, which serves as an adjustment reference for the automatic adjustment algorithm;
[0015] The automatic adjustment algorithm includes a brightness anti-shake module and a brightness threshold module. The brightness anti-shake module controls the threshold time for brightening and dimming, that is, whether the current illumination reporting time needs to enter the brightness threshold module for further processing; the brightness threshold module controls whether the current illumination value can trigger the brightness adjustment threshold and start brightness adjustment.
[0016] The method for adaptively adjusting screen brightness, wherein, in the process of judging the illumination value, whether to start adjustment is determined according to whether the illumination value triggers the adjustment threshold value: when the illumination value triggers the adjustment threshold value, the screen brightness adjustment is controlled to start; when the illumination value does not trigger the adjustment threshold value, the screen brightness is not started. The steps include:
[0017] The brightness threshold module determines whether to start regulation based on whether the current light value triggers the adjustment threshold:
[0018] When the current light value has reached the trigger width threshold information, the adjustment is immediately started according to the corresponding threshold value: the brightness is dimmed when the left end is triggered, and the brightness is brightened when the right end is triggered; and the brightness threshold module is controlled to refresh the wide and narrow threshold information it maintains according to the current light value, so as to serve as a reference for the next adjustment;
[0019] When the current illumination value does not reach the triggering wide threshold information, but triggers the narrow threshold information, the counting starts. After the left threshold is triggered continuously for the first specified time, or the right threshold is triggered continuously for the first specified time, the adjustment is started according to the corresponding threshold: if the left end is triggered continuously, the brightness is dimmed, and if the right end is triggered continuously, the brightness is brightened; and the brightness threshold module is controlled to refresh the wide and narrow threshold information it maintains according to the current illumination value, so as to serve as a reference for the next adjustment;
[0020] If the current illumination value does not trigger any threshold, the current adjustment is ignored.
[0021] The method for adaptively adjusting screen brightness, wherein when the intelligent terminal is detected to be in a screen-on state, the step of controlling to periodically obtain and report the illumination value comprises:
[0022] When it is detected that the smart terminal is in the screen-on state, the light sensor of the smart terminal is controlled to periodically collect ambient light data and report the light value.
[0023] The method for adaptively adjusting screen brightness, wherein when a light value is reported once, the current light value and the light value reporting time are recorded, and based on the light value and the light value reporting time of this time, whether the light value reporting time of this time has reached the threshold time requirement for brightening or dimming is calculated; if the threshold time requirement for brightening or dimming is not reached, this adjustment is skipped, and the threshold time for brightening and dimming is refreshed according to the new light value; when the light value reporting time of this time has met the threshold time requirement for brightening or dimming, the step of further controlling the judgment processing of the light value includes:
[0024] When a light value is reported, the current light value and the time when the light value was reported are recorded;
[0025] According to the current illumination value and the illumination value reporting time, calculate whether the illumination value reporting time has reached the threshold time requirement for brightening or dimming;
[0026] If the reporting time of the current light value does not meet the threshold time requirement for brightening or dimming, the current adjustment will be skipped, but the threshold time for brightening and dimming will be refreshed according to the new light value.
[0027] When the reporting time of the current light value reaches the threshold time requirement for brightening or dimming, further control is performed to determine the light value; and according to the new light value, the threshold time for brightening and dimming is refreshed.
[0028] The screen brightness adaptive adjustment method, wherein the brightness threshold module is used to maintain two groups of threshold information, wide and narrow, each group of threshold information includes two members on the left and right, the member on the left represents the light threshold and corresponding brightness that can trigger dimming, and the member on the right represents the light threshold and corresponding brightness that can trigger brightening;
[0029] Among them, the first group of narrow threshold information needs to reach the corresponding threshold value 10 times in succession before the adjustment can be started, and the second group of wide threshold information starts the adjustment immediately once the corresponding threshold value is reached.
[0030] The method for adaptively adjusting screen brightness, wherein when controlling to start screen brightness adjustment, sending a brightness instruction to be adjusted to a system display module, and refreshing the screen brightness comprises:
[0031] When the brightness threshold module determines that the current illumination value can trigger brightness adjustment, the brightness threshold module is controlled to send an instruction to the display module, and the display module adjusts the screen brightness to the corresponding brightness value;
[0032] At the same time, the brightness threshold module refreshes the wide and narrow threshold information it maintains according to the current illumination value as a reference for the next adjustment.
[0033] A device for adaptively adjusting screen brightness, wherein the device comprises:
[0034] A pre-setting module pre-sets an automatic backlight curve in the smart terminal and embeds a set of automatic adjustment algorithms; the automatic backlight curve is used to refer to the mapping relationship between ambient light illumination and screen brightness value, which serves as the adjustment reference of the automatic adjustment algorithm; the automatic adjustment algorithm includes a brightness anti-shake module and a brightness threshold module, the brightness anti-shake module controls the threshold time of brightening and dimming, that is, whether the current illumination reporting time needs to enter the brightness threshold module for further processing; the brightness threshold module controls whether the current illumination value can trigger the brightness adjustment threshold and start the brightness adjustment;
[0035] The ambient light data collection and reporting module is used to control the periodic acquisition and reporting of light values when it is detected that the smart terminal is in the screen-on state;
[0036] The illumination value reporting time processing module is used to record the current illumination value and illumination value reporting time when an illumination value is reported, and calculate whether the illumination value reporting time has reached the threshold time requirement for brightening or dimming according to the illumination value and illumination value reporting time of this time. If the threshold time requirement for brightening or dimming is not reached, the adjustment is skipped, and the threshold time for brightening and dimming is refreshed according to the new illumination value; if the illumination value reporting time has met the threshold time requirement for brightening or dimming, the illumination value judgment processing is further controlled;
[0037] The light value judgment processing module is used to control the light value judgment processing process to determine whether to start the adjustment according to whether the current light value triggers the adjustment threshold: when the current light value triggers the adjustment threshold, the screen brightness adjustment is controlled to start; when the current light value does not trigger the adjustment threshold, the screen brightness is not started;
[0038] The screen brightness adaptive adjustment module is used to control the start of screen brightness adjustment and send the brightness instruction to be adjusted to the system display module to refresh the screen brightness.
[0039] An intelligent terminal includes a memory and one or more programs, wherein the one or more programs are stored in the memory and are configured to be executed by one or more processors, including the method for executing any one of the methods described above.
[0040] A computer-readable storage medium, wherein when instructions in the storage medium are executed by a processor of an electronic device, the electronic device is enabled to execute any one of the methods described above.
[0041] Beneficial effects of the present invention: The present invention provides a method, device, intelligent terminal and storage medium for adaptively adjusting screen brightness. Since the ambient light data reported periodically by the light sensor is used, it is not directly and mechanically mapped to a brightness value according to the automatic backlight curve, and the terminal screen is directly adjusted to this brightness. Instead, the light reporting time is filtered through the brightness anti-shake module, and the time point that meets the requirements of the anti-shake module is processed, otherwise the current light report will not be processed. In addition, the light value reported at the time point that meets the requirements of the anti-shake module is filtered again through the brightness threshold module, and the light value is compared with the threshold information maintained by the system for reference. If the system adjustment threshold is not triggered, the current light value is still discarded and waits for the next light report. This can effectively solve the problem of frequent adjustments of the terminal under different ambient light in a short period of time, greatly improving the user experience.
[0042] The present invention uses a brightness anti-shake module and a brightness threshold module: the former controls the threshold time of brightening and dimming, that is, whether the current illumination reporting time needs to enter the brightness threshold module for further processing; the latter controls whether the current illumination value can trigger the brightness adjustment threshold and start the brightness adjustment. These two modules work together to achieve a screen brightness without jitter, and automatic adjustment too frequently brings poor user experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0043] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0044] Figure 1 It is a flow chart of the screen brightness adaptive adjustment method provided by an embodiment of the present invention.
[0045] Figure 2 It is a principle block diagram of a screen brightness adaptive adjustment device provided in an embodiment of the present invention.
[0046] Figure 3 It is a block diagram of the internal structure principle of the intelligent terminal provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0047] In order to make the purpose, technical solution and advantages of the present invention clearer and more specific, the present invention is further described in detail below with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention.
[0048] It should be noted that if the embodiments of the present invention involve directional indications (such as up, down, left, right, front, back, etc.), the directional indications are only used to explain the relative position relationship, movement status, etc. between the components under a certain specific posture (as shown in the accompanying drawings). If the specific posture changes, the directional indication will also change accordingly.
[0049] The prior art is to formulate an automatic backlight curve in the terminal software. The embedded software algorithm calculates the screen brightness value corresponding to the Y axis according to the change of the X-axis illumination when the illumination changes, and automatically adjusts the terminal screen to this brightness. The prior art will immediately adjust the screen brightness after the ambient light changes to a certain extent, that is, there is no brightness anti-shake function. When the terminal stays for a short time and switches in different ambient light environments, the screen brightness will continue to adjust, which brings a very bad experience to the user; in addition, the prior art cannot solve the problem of poor adjustment experience caused by poor light sensor accuracy from the algorithm level. When the light sensor accuracy is poor, the reported light data range in the same ambient light environment is relatively wide, which will also lead to the problem of screen brightness being adjusted all the time in the same ambient light environment, that is, brightness jitter.
[0050] In order to solve the above technical problems, the embodiment of the present invention provides a method for adaptively adjusting screen brightness. The present invention uses a brightness anti-shake module and a brightness threshold module: the former controls the threshold time for brightening and dimming, that is, whether the current illumination reporting time needs to enter the brightness threshold module for further processing; the latter controls whether the current illumination value can trigger the brightness adjustment threshold and start brightness adjustment. These two modules work together to achieve no jitter in screen brightness, and automatic adjustment too frequently brings poor user experience.
[0051] Exemplary Methods
[0052] like Figure 1 As shown, a screen brightness adaptive adjustment method according to embodiment 1 of the present invention comprises the following steps:
[0053] Step S100: presetting an automatic backlight curve in the smart terminal and embedding a set of automatic adjustment algorithms; the automatic backlight curve is used to refer to the mapping relationship between ambient light illumination and screen brightness value, which serves as an adjustment reference of the automatic adjustment algorithm;
[0054] The automatic adjustment algorithm includes a brightness anti-shake module and a brightness threshold module. The brightness anti-shake module controls the threshold time for brightening and dimming, that is, whether the current illumination reporting time needs to enter the brightness threshold module for further processing; the brightness threshold module controls whether the current illumination value can trigger the brightness adjustment threshold and start brightness adjustment.
[0055] In an embodiment of the present invention, an automatic backlight curve is pre-set in the smart terminal. The automatic backlight curve is a pre-set mapping relationship for associating the ambient light illumination (i.e., the intensity of the surrounding light) with the screen brightness value (i.e., the brightness of the display screen). Through this mapping relationship, the smart terminal can automatically adjust the screen brightness under different ambient light conditions. For example, in a sunny outdoor environment, the screen needs a higher brightness to ensure readability, while in a dim indoor environment, the screen brightness can be reduced to reduce eye fatigue.
[0056] For example, when the ambient light is 100 Lux, the automatic backlight curve sets the screen brightness to 30%; when the ambient light reaches 1000 Lux, the screen brightness is adjusted to 80%. This curve can be dynamically adjusted according to user needs and environmental changes.
[0057] Regarding the embedded automatic adjustment algorithm in the embodiment of the present invention, specifically, the automatic adjustment algorithm adopted by the present invention is the core part of realizing backlight adjustment, which is mainly divided into two modules: a brightness anti-shake module and a brightness threshold module.
[0058] Among them, the brightness anti-shake module: The function of this module is to control the time threshold of brightness adjustment to avoid frequent screen brightness adjustment caused by instantaneous changes in ambient light illumination. For example, when the ambient light illumination suddenly rises or falls, the brightness anti-shake module will set a delay time, and only when the light value that reaches the time threshold continues to change will the subsequent brightness adjustment be triggered.
[0059] Regarding the brightness threshold module: This module is responsible for determining whether the current illumination value reaches the threshold for adjustment. Only when the change in ambient light exceeds the preset threshold, the present invention will start brightness adjustment and adjust the screen brightness to adapt to the new illumination conditions.
[0060] For example, when the ambient light suddenly changes from 200 Lux to 300 Lux, the brightness anti-shake module may set a delay of 500 milliseconds. Only when the light value remains above 300 Lux within 500 milliseconds will the brightness threshold module increase the screen brightness to 50%.
[0061] The benefit of this step is that it can improve the user experience, because automatically adjusting the screen brightness can optimize the display effect according to the actual ambient lighting conditions, allowing users to clearly see the screen content under different lighting conditions and reduce eye fatigue.
[0062] And it can achieve energy-saving effects: by dynamically adjusting the screen brightness according to ambient light conditions, the device is able to reduce the brightness when it is not necessary, thereby saving battery power and extending the usage time of the device.
[0063] It can also extend the life of the device, because proper brightness adjustment can reduce excessive heating and wear of the screen, thereby extending the service life of the device. It can also enhance adaptability, because the present invention enables the device to adapt to different usage environments more intelligently, thereby improving the intelligence level of the device and user satisfaction.
[0064] In short, the preset automatic backlight curve and the embedded automatic adjustment algorithm work together to enable smart terminals to respond to various ambient lighting changes intelligently and flexibly, improve user experience and achieve energy saving.
[0065] Step S200: When it is detected that the smart terminal is in a screen-on state, control to periodically obtain and report the light value;
[0066] That is, in this step, when it is detected that the smart terminal mobile phone is in the screen-on state, the light sensor of the smart terminal is controlled to periodically collect ambient light data and report the light value.
[0067] Specifically, regarding the detection of the screen-on state, in a smart terminal, the screen-on state refers to the state in which the device's display screen is turned on and interactive. For example, when a user unlocks the phone screen or operates a tablet, the device is in the screen-on state. At this time, the device needs to pay attention to changes in ambient light in order to adjust the screen brightness in a timely manner.
[0068] Regarding obtaining the light value, in the embodiment of the present invention, periodically obtaining the light value means that the device periodically monitors the surrounding light intensity through a built-in light sensor (such as an ambient light sensor). This process can be performed by setting a specific time interval (such as every 1000 milliseconds) to ensure that the device can capture changes in ambient light in real time.
[0069] Regarding reporting the illumination value, in the embodiment of the present invention, reporting the illumination value means transmitting the acquired ambient light data to the display management system of the device. This process shows that the illumination value will be recorded in the embodiment of the present invention and subsequently processed according to a preset algorithm to determine the adjustment of the screen brightness.
[0070] For example, when a user is using a mobile phone outdoors, the screen appears dark due to strong sunlight. When the user walks out of the room, the device detects that the screen is on and starts to obtain the surrounding light value regularly. Assume that the device obtains the light value every 1 second:
[0071] At 1 second, the light value read by the light sensor is 1500 Lux (strong light).
[0072] In the next second, the illumination value may become 1800 Lux, and then 1700 Lux in the next second. The embodiment of the present invention will determine whether to increase the screen brightness to the most suitable level based on these illumination values in combination with the corresponding control algorithm and the automatic backlight curve to ensure clear viewing for the user.
[0073] The benefit of the embodiments of the present invention is that by regularly acquiring and reporting light values, the device can adapt to changes in the environment in real time. This real-time response capability can ensure that the screen always maintains optimal readability, no matter what environment the user is in. In addition, the automatic light detection and adjustment mechanism of the present invention can appropriately reduce the screen brightness when the ambient light is low, thereby effectively reducing power consumption and extending the battery life of the device. Moreover, through real-time monitoring and intelligent adjustment, the device of the present invention exhibits a certain degree of intelligent characteristics, making users feel more convenient and advanced. This intelligence can also become part of product competition and attract more users.
[0074] In summary, the periodic acquisition and reporting of light values by the present invention is an important step for smart terminals to achieve intelligent adjustment. Through this mechanism, the device can provide a better user experience, energy-saving effects and intelligent features.
[0075] Step S300, when a light value is reported, the current light value and the light value reporting time are recorded, and according to the light value and the light value reporting time of this time, whether the light value reporting time of this time has reached the threshold time requirement for brightening or dimming is calculated, if the threshold time requirement for brightening or dimming is not reached, this adjustment is skipped, and the threshold time for brightening and dimming is refreshed according to the new light value; if the light value reporting time of this time has met the threshold time requirement for brightening or dimming, further control is performed to judge the light value;
[0076] In this step, when the light sensor of the device detects a new ambient light intensity and reports the light intensity, the current light intensity and the time when the light intensity was reported are recorded, which provides the necessary data basis for subsequent adjustment judgment.
[0077] Regarding the calculation of the threshold time, in the embodiment of the present invention, it is determined whether the current light value meets the adjustment conditions according to the preset threshold time requirements for brightening and dimming. Threshold time refers to the time period under certain lighting conditions that the device needs to remain stable to avoid frequent adjustments to the brightness due to instantaneous changes in ambient light. If the reporting time of the current light value does not meet the threshold time requirements, the adjustment is skipped. The threshold time is refreshed, that is, in the present invention, if the current light value fails to meet the threshold time requirements for brightening or dimming, the threshold time for brightening and dimming will be refreshed according to the new light value. This means that the present invention will recalculate the next stable time that needs to be maintained in order to make more accurate adjustments in future changes in light values.
[0078] Then, the control further determines the illumination value. Specifically, when the illumination value reporting time meets the threshold time requirement for brightening or dimming, the control will enter the next step to determine the illumination value. This includes comparing the current illumination value with the preset brightness threshold to determine whether the screen brightness needs to be adjusted.
[0079] For example, when a user uses a smartphone in different environments:
[0080] The first light value reporting: current light value: 200Lux, reporting time: 0 seconds; if the threshold time for brightening and dimming is set to 2 seconds.
[0081] Second light value reporting: Current light value: 250Lux, reporting time: 1 second; at this time, the time from the first reporting has not reached 2 seconds, so the system skips this adjustment.
[0082] The third illumination value reporting: current illumination value: 300 Lux, reporting time: 2 seconds; now that the time from the first reporting has reached 2 seconds, the system of the present invention begins to determine whether it needs to be brightened.
[0083] Judgment processing: the present invention compares 300 Lux with the set brightness threshold (eg, 250 Lux), and determines that the screen brightness needs to be brightened, as described in step S400.
[0084] The benefits brought by the embodiments of the present invention are: 1) It can reduce frequent adjustments: By setting the threshold time, the system can avoid frequent screen brightness adjustments caused by instantaneous light changes, thereby improving the user experience and avoiding visual discomfort. 2) It can improve stability: This mechanism ensures that the device maintains a stable brightness when the light changes little, reducing the interference felt by the user when using the device. 3) It can save power: By avoiding unnecessary brightness adjustments, the device can effectively save power and extend battery life. 4) It can enhance intelligence: The design of this step enables the system to intelligently adapt to different ambient light changes, improve the intelligence level of the device, and increase user satisfaction.
[0085] In summary, this step effectively realizes the adaptive adjustment of smart terminals under different lighting conditions by recording light values and reporting times, calculating threshold times, refreshing adjustment conditions, and performing light value judgment processing, thereby improving user experience and device performance.
[0086] In a further embodiment, the step S300 specifically includes:
[0087] S301, when a light value is reported, record the current light value and the time when the light value was reported;
[0088] In this step, when the light sensor detects a new light value, the system will record the current light value and the reporting time of the value, which is an important data basis for processing light adjustment and provides necessary information for subsequent judgment and adjustment.
[0089] For example, when the current light value is 400 Lux, the time when the light value is reported is T1 (e.g. 12:00:00). The system will record these two pieces of information internally.
[0090] S302, calculating whether the current illumination value reporting time has reached the threshold time requirement for brightening or dimming according to the current illumination value and the illumination value reporting time;
[0091] In this step, the present illumination value and reporting time are used to calculate whether the reporting time of the current illumination value has reached the threshold time requirement for brightening or dimming. This is to prevent the device from making frequent brightness adjustments due to temporary small illumination changes.
[0092] For example, when the threshold time for brightening and dimming is set to 2 seconds, if the next reporting time T2 after T1 is 12:00:01, which is less than 2 seconds, the present invention will record the illumination value but will not perform any brightness adjustment.
[0093] S303: When the reporting time of the current illumination value does not meet the threshold time requirement for brightening or dimming, the current adjustment is skipped, but the threshold time for brightening and dimming is refreshed according to the new illumination value;
[0094] In this step, if the reporting time of the current light value does not reach the set brightening or dimming threshold time, the system will skip this adjustment. At the same time, the threshold time for brightening and dimming will be refreshed according to the new light value. This means that the new light status will affect the judgment of the next adjustment.
[0095] For example, continuing with the above example, assuming that after the second report, the light value is 420 Lux and the time is T2 (12:00:01), since the time from the last report is less than 2 seconds, the system will not make any adjustments, but will update the new light value as a reference and calculate the time basis for subsequent adjustments.
[0096] S304: When the reporting time of the current illumination value reaches the threshold time requirement for brightening or dimming, further control is performed to determine the illumination value; and according to the new illumination value, the threshold time for brightening and dimming is refreshed.
[0097] In this step, when the time for reporting the light value reaches the threshold time requirement for brightening or dimming, the system will enter into a further light value judgment process. This step determines whether it is necessary to make actual brightness adjustments based on the current light value, and refreshes the threshold time for brightening and dimming based on the new light value.
[0098] For example, suppose that when the third report is submitted, the light value is 500 Lux, and the time T3 is 12:00:02, which means the threshold time of 2 seconds has been reached. At this time, the system will determine whether the current light value needs to be brightened (for example, whether it is higher than the set 300 Lux, and then decide to adjust the brightness to an appropriate level).
[0099] In this way, by setting the threshold time, the present invention can prevent the system from frequent brightness adjustments caused by instantaneous environmental changes, improve user experience, and reduce the stimulation of brightness jumps to the eyes. The recording and use of reporting time ensures that the device maintains a stable brightness state within a certain period of time, so that users can feel a consistent display effect when using the device under different lighting conditions. The system recalculates and optimizes the adjustment parameters based on the real-time acquired light values, improves the device's ability to respond to environmental changes, and enhances the intelligent experience. Moreover, by avoiding unnecessary brightness adjustments, the device can save power and extend battery life, which is particularly important in portable devices.
[0100] Steps S301 to S304 effectively achieve adaptive brightness adjustment of smart terminals in different lighting environments by systematically recording lighting information, calculating adjustment thresholds, managing adjustment execution and time refresh. This process not only improves user experience and the intelligence level of the device, but also enhances system stability and energy-saving effects.
[0101] Step S400: during the illumination value judgment process, whether to start adjustment is determined according to whether the illumination value triggers the adjustment threshold: when the illumination value triggers the adjustment threshold, the screen brightness adjustment is started; when the illumination value does not trigger the adjustment threshold, the screen brightness is not started;
[0102] In this step embodiment, when the reporting time of the current light value reaches the threshold time requirement for brightening or dimming, further control is performed to determine the light value, for example, the currently reported light value is compared with the preset adjustment threshold. This comparison determines whether it is necessary to start adjusting the screen brightness. The specific process is as follows:
[0103] The embodiments of the present invention set some specific illumination thresholds to determine whether the ambient light change is sufficient to affect the user experience. For example, the above thresholds may vary depending on the user's usage scenario (such as indoors or outdoors).
[0104] If the current light value is determined to be higher than the set brightness threshold, it is determined that the user may be in a brighter environment, and the screen brightness needs to be increased to ensure that the content is clearly readable. Conversely, if the light value is lower than another set threshold, the device may need to reduce the brightness to provide a more comfortable visual experience and save power.
[0105] In the embodiment of the present invention, if the current illumination value is within the threshold range for adjustment, that is, it does not exceed the threshold for adjustment, it is determined that the ambient light has not changed much, so there is no need to adjust the screen brightness. This avoids unnecessary adjustments triggered by slight illumination changes and maintains brightness consistency.
[0106] For example, when the automatic brightness adjustment threshold of a smartphone is set as follows:
[0107] Brightness threshold: 300Lux;
[0108] Dimming threshold: 100Lux;
[0109] Lighting condition A: When the current light value is 400 Lux.
[0110] Then it is judged that: the current light value 400Lux> the brightening threshold 300Lux, then it is judged that the brightening threshold is triggered.
[0111] Action: The present invention controls the system to start screen brightness adjustment and increases the brightness to a suitable level to ensure that the user can clearly read the screen content in a bright environment.
[0112] Another case, lighting condition B: the current lighting value is 50 Lux.
[0113] Judgment: If the current light value 50Lux < dimming threshold 100Lux, the dimming threshold is triggered.
[0114] Action: The present invention controls the system to start screen brightness adjustment, lowering the brightness to prevent eye fatigue in a dark environment and save power.
[0115] Let’s look at another lighting condition C: if the current lighting value is 250 Lux.
[0116] It is judged that the current light value of 250 Lux is between the dimming threshold of 100 Lux and the brightening threshold of 300 Lux, and the adjustment threshold is not triggered.
[0117] Action: The present invention will control the system to decide not to perform any brightness adjustment, maintain the existing screen brightness, and provide a smoother user experience.
[0118] It can be seen that the present invention can trigger the mechanism of adjusting the threshold so that the device can respond to environmental changes in a timely manner, thereby optimizing the user's visual experience under various lighting conditions and ensuring that the content can be clearly seen in different environments. Not starting unnecessary adjustments can effectively reduce power consumption, especially in low-light environments, lowering the screen brightness can significantly extend the use time of the device and improve user satisfaction.
[0119] The present invention can also reduce visual fatigue: timely adjustment of screen brightness can reduce the discomfort of the eyes under different light conditions, avoid visual fatigue caused by too high or too low brightness, and allow users to use the device more comfortably. Moreover, through effective light value judgment and adjustment, the present invention can show a higher level of intelligence, allowing users to feel the convenience of technology in daily life and enhance the market competitiveness of the device.
[0120] As can be seen from the above, the embodiment of the present invention further performs a light value judgment process and effectively determines whether the screen brightness needs to be adjusted through a clear threshold judgment mechanism. This not only improves the convenience of user operation, but also enhances the overall function and user satisfaction of the smart device by saving energy and optimizing the visual experience.
[0121] In another embodiment, the brightness threshold module can also be used to maintain two groups of threshold information, wide and narrow, each group of threshold information includes two members on the left and right, the members on the left represent the light threshold and corresponding brightness that can trigger dimming, and the members on the right represent the light threshold and corresponding brightness that can trigger brightening; wherein, the first group of narrow threshold information needs to reach the corresponding threshold 10 times in a row to start adjustment, and the second group of wide threshold information starts adjustment immediately once the corresponding threshold is reached.
[0122] That is, in the embodiment of the present invention, the function of the brightness threshold module can save and manage two sets of different types of threshold information: wide threshold and narrow threshold. These two sets of thresholds set the adjustment standards of ambient light, specifically including:
[0123] Narrow threshold information: This group of information is characterized by the need to reach a certain number of times (e.g., 10 times) under specific conditions before the adjustment can be initiated. This means that the present invention will monitor the changes in lighting more carefully to ensure that the light source is not adjusted frequently when the changes are small, thereby avoiding unnecessary flickering or interference. For example, if the indoor light changes slightly 10 times and all reach the dimming threshold, the system will adjust the brightness of the light source.
[0124] Wide threshold information: Compared with narrow threshold, once this set of information reaches the set threshold, the present invention will immediately adjust. This setting is suitable for situations where the ambient light changes greatly, and can quickly respond to changes in light. For example, if the outdoor sunlight suddenly becomes strong and the light reaches the threshold for brightening, the present invention will immediately adjust the light source to increase the indoor brightness without having to wait for multiple changes.
[0125] By setting a narrow threshold, the present invention can avoid frequent adjustment of the light source, thereby reducing light discomfort and maintaining the stability of the indoor light. The setting of a wide threshold enables the present invention to quickly adjust when the lighting conditions change significantly, ensuring that the indoor light brightness is always maintained at a comfortable level.
[0126] Through such a design, the brightness threshold module of the present invention can realize intelligent, flexible and humanized lighting adjustment, thereby improving the quality of life of users.
[0127] Furthermore, the step S400 specifically includes:
[0128] S401, control the brightness threshold module to determine whether to start adjustment according to whether the current light value triggers the adjustment threshold:
[0129] In this step embodiment, the current illumination value is first evaluated to determine whether it reaches the threshold value for adjustment. This step is the premise of the entire adjustment process. Only when it is confirmed that the current illumination value is necessary for adjustment, the present invention will continue with subsequent actions.
[0130] S402, when the current illumination value has reached the threshold information of the trigger width, the adjustment is immediately started according to the corresponding threshold value: the brightness is dimmed when the left end is triggered, and the brightness is brightened when the right end is triggered; and the brightness threshold module is controlled to refresh the wide and narrow threshold information it maintains according to the current illumination value, so as to serve as a reference for the next adjustment;
[0131] In this step, if the current light value reaches the information that triggers the wide threshold, the present invention will immediately adjust: if the left threshold is triggered (dimming), the brightness will decrease; if the right threshold is triggered (brightening), the brightness will increase. In addition, the present invention will update the wide and narrow threshold information it saves according to the current light value, so as to better refer to these data in future adjustments.
[0132] S403, when the current illumination value does not reach the triggering wide threshold information, but triggers the narrow threshold information, then start counting, after continuously triggering the left threshold for the first specified time, or continuously triggering the right threshold for the first specified time, then start adjusting according to the corresponding threshold: continuously triggering the left end dims the brightness, and continuously triggering the right end brightens the brightness; and control the brightness threshold module to refresh the wide and narrow threshold information it maintains according to the current illumination value, so as to serve as a reference for the next adjustment;
[0133] In this step, if the current light value fails to trigger the wide threshold but triggers the narrow threshold, the present invention will start counting. This means that the system of the present invention will monitor specific threshold changes and adjust after being continuously triggered (same threshold). For example:
[0134] After the narrow threshold on the left is triggered 10 times, the system will automatically dim the brightness;
[0135] After the narrow threshold on the right is triggered 10 times, the system automatically adjusts the brightness.
[0136] Similarly, the module will update two sets of threshold information according to the current values.
[0137] S404: When the current illumination value does not trigger any threshold, the current adjustment is ignored.
[0138] In the present invention, if the current illumination value does not trigger any threshold value, the system will ignore this adjustment and maintain the existing brightness setting. This can prevent unnecessary adjustments caused by minor changes and ensure a more stable user experience.
[0139] It can be seen that in another embodiment of the present invention, different trigger mechanisms with wide and narrow thresholds can be used to flexibly respond to the degree of change in illumination, avoid frequent brightness adjustments, and bring a more natural lighting experience. In addition, if the adjustment standard is not met, the present invention will not make frequent adjustments in a short period of time, which can save electricity and extend the service life of the lamp. In addition, through such graded adjustments, the present invention allows users to enjoy a more comfortable environment. For example, there will be no abrupt brightness changes when the illumination changes slightly, and when the ambient illumination changes significantly, it can be adjusted immediately to maintain comfortable lighting.
[0140] For example, in an office environment, light changes may occur frequently during the day. At the beginning, the outdoor light is sufficient, and the intelligent terminal of the present invention detects a high light value through S401, and finds in S402 that this value exceeds the wide threshold of brightness adjustment, and immediately starts the brightness adjustment mode to adapt to the change of external light conditions.
[0141] Then, at some point in time, the light intensity slightly decreases and fails to reach the brightening threshold, but triggers the narrow dimming threshold. Then the present invention enters S403 to record and count the light intensity changes. When a certain number of times is reached, the system recognizes that the brightness needs to be dimmed and performs the adjustment.
[0142] Finally, when the light value is very stable during certain time periods and does not reach any threshold, the system will enter S404 without making any adjustments to ensure that the light in the office environment remains stable and comfortable.
[0143] Through these steps, the brightness threshold module can effectively coordinate indoor and outdoor lighting conditions to provide users with a better lighting experience.
[0144] Step S500: When the control starts the screen brightness adjustment, the brightness instruction to be adjusted is sent to the system display module to refresh the screen brightness.
[0145] In the embodiment of the present invention, after the conditions of the above steps are met, that is, the current illumination value and the illumination value reporting time reach the adjustment trigger condition, the control system first constructs a brightness instruction to be issued, which includes the specific brightness value to be adjusted (for example, how many units to increase or decrease, or set to a specific value). The instruction is then sent to the display module of the system. The display module is the hardware part responsible for displaying images and content, and it receives commands from the control system.
[0146] After receiving the instruction, the display module will adjust its backlight or display brightness according to the new instruction. This may involve adjusting the intensity of the LED light inside the screen, or changing the screen display settings to achieve the new brightness.
[0147] For example, the present invention uses a smart phone in a scenario. When the user goes outside and the sun shines directly onto the screen of the mobile phone, the light sensor of the control system will detect the change in ambient light, and when the current light value and the reporting time of the light value reach the trigger conditions described in the above steps, the present invention automatically generates a brightness adjustment instruction to increase the current screen brightness by 30%. This instruction is sent to the display module, and after receiving the instruction, the display module will quickly increase the backlight brightness of the screen. After the screen brightness is adjusted, the user's sight is no longer disturbed by the reflection of the sun, and the content of the mobile phone can be clearly viewed.
[0148] Through this series of operations, the phone can adapt to the environment, improve the user's operating convenience and comfort, and reduce eye fatigue. At the same time, even in high-brightness conditions outdoors, users will not be bothered by insufficient screen brightness, and the experience is significantly improved.
[0149] Furthermore, when the control starts the screen brightness adjustment, the brightness instruction to be adjusted is sent to the system display module, and the step of refreshing the screen brightness includes:
[0150] When the brightness threshold module determines that the current illumination value can trigger brightness adjustment, the brightness threshold module is controlled to send an instruction to the display module, and the display module adjusts the screen brightness to the corresponding brightness value;
[0151] At the same time, the brightness threshold module refreshes the wide and narrow threshold information it maintains according to the current illumination value as a reference for the next adjustment.
[0152] That is, in another embodiment of the present invention, the brightness threshold module first continuously monitors the ambient light value through the sensor. When it determines that the current light value is sufficient to trigger brightness adjustment (for example, the light environment suddenly becomes bright), this judgment triggers subsequent operations.
[0153] Once it is determined that brightness adjustment is required, the brightness threshold module will immediately send a command to the display module. This command contains the new brightness value to be adjusted, which may be the corresponding value calculated based on the current light value change.
[0154] In the embodiment of the present invention, when the display module receives the instruction, it will quickly adjust its screen brightness to the brightness value specified in the instruction. For example, the screen may need to be brightened to adapt to external lighting conditions.
[0155] And after the brightness adjustment is completed, the brightness threshold module is not only responsible for issuing instructions, but also needs to update the recorded wide and narrow threshold information according to the current illumination value. This means that the module incorporates the illumination value of the new environment into the future adjustment reference in order to optimize the subsequent response.
[0156] For example, in an office, when the morning sun shines in through the window, the light sensor of the brightness threshold module detects that the indoor light value increases to above a preset trigger threshold. At this time: determine the adjustment requirement: the brightness threshold module determines that the light value can trigger brightness adjustment. The present invention immediately generates an instruction to set the screen brightness to 70%. After receiving the instruction, the display module adjusts the screen brightness to 70% to ensure that the user can clearly view the screen content.
[0157] During this process, the brightness threshold module of the present invention updates its data, records the new illumination value in both wide and narrow threshold groups, and may adjust the wide threshold to be higher while keeping the narrow threshold at a moderate level so as not to frequently trigger unnecessary brightness changes.
[0158] Through this automatic brightness adjustment mechanism, users can maintain optimal visual effects without interference throughout the day's work. At the same time, the device is constantly adapting to environmental changes, demonstrating a high level of intelligence and humanized design.
[0159] The present invention is further described in detail below through a specific application example:
[0160] The present application embodiment provides a method for adaptively adjusting screen brightness, which includes the following steps when implemented:
[0161] S11: An automatic backlight curve is pre-set in the smart terminal at the factory, and a set of automatic adjustment algorithms is embedded; the automatic backlight curve is used to refer to the mapping relationship between ambient light illumination and screen brightness value, which serves as the adjustment reference of the automatic adjustment algorithm; the automatic adjustment algorithm includes a brightness anti-shake module and a brightness threshold module, the brightness anti-shake module controls the threshold time of brightening and dimming, that is, whether the current illumination reporting time needs to enter the brightness threshold module for further processing; the brightness threshold module controls whether the current illumination value can trigger the brightness adjustment threshold and start the brightness adjustment.
[0162] That is, in the embodiment of the present invention, the terminal will preset an automatic backlight curve when leaving the factory, which is used to refer to the mapping relationship between ambient light illumination and screen brightness value; at the same time, the terminal has an embedded automatic adjustment algorithm, which uses the automatic backlight curve as a reference to complete adaptive adjustment of screen brightness.
[0163] The working mechanism of the automatic adjustment algorithm of the specific embodiment of the present invention includes:
[0164] 1). The terminal light sensor will periodically collect ambient light data. The algorithm will hand over the light value collected this time to the brightness anti-shake module for processing. The brightness anti-shake module will calculate whether the reporting time of the current light value has reached the threshold time requirement for brightening or dimming based on the current light value and the reporting time of the light value. If it has not yet reached the threshold time requirement for brightening or dimming, this adjustment will be skipped, but the threshold time for brightening and dimming will be refreshed based on the new light value. If the reporting time of the current light value has met the threshold time requirement for brightening or dimming, it will be handed over to the brightness threshold module for processing.
[0165] 2). The brightness threshold module maintains two sets of threshold information, wide and narrow. Each set of threshold information contains two members on the left and right. The members on the left represent the light threshold and corresponding brightness that can trigger dimming, and the members on the right represent the light threshold and corresponding brightness that can trigger brightening. The first set of narrow threshold information needs to reach the corresponding threshold 10 times in a row before the adjustment can be started. The second set of wide threshold information starts the adjustment immediately once the corresponding threshold is reached. Once the brightness threshold module determines that the current illumination value can trigger brightness adjustment, the brightness threshold module sends an instruction to the display module, and the display module adjusts the screen brightness to the corresponding brightness value. At the same time, the brightness threshold module refreshes the wide and narrow threshold information it maintains according to the current illumination value as a reference for the next adjustment.
[0166] S12: When the smart terminal is in the screen-on state, the light sensor mounted thereon will periodically report the light value.
[0167] S13: When a light value is reported, the brightness anti-shake module of the automatic adjustment algorithm will record the light value and the light value reporting time, and calculate whether the light value reporting time has reached the threshold time requirement for brightening or dimming based on the light value and the light value reporting time. If the threshold time requirement for brightening or dimming has not been reached, the adjustment is skipped, but the threshold time for brightening and dimming is refreshed based on the new light value.
[0168] S14: If the reporting time of the current light value meets the threshold time requirement for brightening or dimming, it is handed over to the brightness threshold module for processing, and the threshold time for brightening and dimming is refreshed according to the new light value.
[0169] S15: The brightness threshold module determines whether to start adjustment based on whether the current illumination value triggers the adjustment threshold: (1) If the current illumination value is sufficient to trigger the wide threshold information, the adjustment is immediately started according to the corresponding threshold: if the left end is triggered, the brightness is dimmed, and if the right end is triggered, the brightness is brightened; then, the brightness threshold module refreshes the wide and narrow threshold information it maintains according to the current illumination value as a reference for the next adjustment; (2) If the current illumination value is not sufficient to trigger the wide threshold information, but the narrow threshold information is triggered, the counting starts, and after the left threshold is triggered 10 times in a row, or after the right threshold is triggered 10 times in a row, the adjustment is started according to the corresponding threshold: if the left end is triggered continuously, the brightness is dimmed, and if the right end is triggered continuously, the brightness is brightened. Note: If the threshold is not triggered once in the middle, the continuous count is reset. Then, the brightness threshold module refreshes the wide and narrow threshold information it maintains according to the current illumination value, so as to serve as a reference for the next adjustment; (3) If the current illumination value is not enough to trigger any threshold, the current adjustment is ignored;
[0170] S16: After the automatic adjustment algorithm is processed, the brightness instruction to be adjusted is sent to the system display module, and the system display module completes the screen brightness refresh.
[0171] The embodiment of the present invention uses an automatic adjustment algorithm, and intelligently optimizes the periodically reported light values through a brightness anti-shake module and a brightness threshold module, rather than unconditionally adjusting the brightness each time the light value is reported, so as to achieve the effect of adaptively adjusting the screen brightness while eliminating brightness jitter, thereby improving the user experience of terminal users and solving the problems of screen brightness jitter and frequent adjustment in a short period of time.
[0172] As can be seen from the above, the method for adaptively adjusting screen brightness provided by the embodiment of the present invention does not directly and mechanically map the ambient light data reported periodically by the light sensor to a brightness value according to the automatic backlight curve, and directly adjust the terminal screen to this brightness, but filters the light reporting time through the brightness anti-shake module, and continues to process only when the time point meets the requirements of the anti-shake module, otherwise the current light report will not be processed. In addition, the light value reported at the time point that meets the requirements of the anti-shake module is filtered again by the brightness threshold module, and the light value is compared with the threshold information maintained by the system for reference. If the system adjustment threshold is not triggered, the current light value is still discarded and waits for the next light report. This can effectively solve the problem of frequent adjustments of the terminal under different ambient lights in a short period of time, greatly improving the user experience.
[0173] Exemplary Devices
[0174] like Figure 2 As shown in , an embodiment of the present invention provides a device for adaptively adjusting screen brightness, the device comprising:
[0175] The presetting module 310 pre-sets an automatic backlight curve in the smart terminal and embeds a set of automatic adjustment algorithms; the automatic backlight curve is used to refer to the mapping relationship between the ambient light illumination and the screen brightness value, which serves as the adjustment reference of the automatic adjustment algorithm; the automatic adjustment algorithm includes a brightness anti-shake module and a brightness threshold module, the brightness anti-shake module controls the threshold time of brightening and dimming, that is, whether the current illumination reporting time needs to enter the brightness threshold module for further processing; the brightness threshold module controls whether the current illumination value can trigger the brightness adjustment threshold and starts the brightness adjustment;
[0176] The ambient light data collection and reporting module 320 is used to control the periodic acquisition and reporting of the light value when it is detected that the smart terminal is in the screen-on state;
[0177] The illumination value reporting time processing module 330 is used to record the current illumination value and the illumination value reporting time when an illumination value is reported once, and calculate whether the illumination value reporting time has reached the threshold time requirement for brightening or dimming according to the illumination value and the illumination value reporting time of this time. If the threshold time requirement for brightening or dimming is not reached, the adjustment is skipped, and the threshold time for brightening and dimming is refreshed according to the new illumination value of this time; if the illumination value reporting time has met the threshold time requirement for brightening or dimming, the illumination value judgment processing is further controlled;
[0178] The light value judgment processing module 340 is used to control whether to start adjustment according to whether the current light value triggers the adjustment threshold value during the light value judgment processing process: when the current light value triggers the adjustment threshold value, the screen brightness adjustment is controlled to start; when the current light value does not trigger the adjustment threshold value, the screen brightness is not started;
[0179] The screen brightness adaptive adjustment module 350 is used to control the start of screen brightness adjustment and send the brightness instruction to be adjusted to the system display module to refresh the screen brightness, as described above.
[0180] Based on the above embodiments, the present invention further provides an intelligent terminal, whose principle block diagram can be shown as follows: Figure 3As shown. The smart terminal can be a smart device, including a processor, a memory, a network interface, a display screen, and a database connected through a system bus. Among them, the processor of the smart terminal is used to provide computing and control capabilities. The memory of the smart terminal includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The network interface of the smart terminal is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a method for adaptively adjusting screen brightness is implemented. The database of the smart terminal is used to store a program for adaptively adjusting screen brightness.
[0181] Those skilled in the art will understand that Figure 3 The principle block diagram shown in the figure is only a block diagram of a partial structure related to the scheme of the present invention, and does not constitute a limitation on the smart terminal to which the scheme of the present invention is applied. The specific smart terminal may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0182] In one embodiment, a smart terminal is provided, comprising a memory and one or more programs, wherein the one or more programs are stored in the memory and are configured to be executed by one or more processors, and the one or more programs include instructions for performing the following operations:
[0183] When the intelligent terminal is detected to be in the screen-on state, the control periodically obtains and reports the light value;
[0184] When a light value is reported, the current light value and the light value reporting time are recorded, and based on the light value and the light value reporting time, it is calculated whether the light value reporting time has reached the threshold time requirement for brightening or dimming. If the threshold time requirement for brightening or dimming is not met, the adjustment is skipped, and the threshold time for brightening and dimming is refreshed based on the new light value. If the light value reporting time has met the threshold time requirement for brightening or dimming, the light value judgment processing is further controlled.
[0185] During the judgment process of the light value, whether to start the adjustment is determined according to whether the current light value triggers the adjustment threshold: when the current light value triggers the adjustment threshold, the screen brightness adjustment is started; when the current light value does not trigger the adjustment threshold, the screen brightness is not started;
[0186] When the control starts the screen brightness adjustment, the brightness instruction to be adjusted is sent to the system display module to refresh the screen brightness, as described above.
[0187] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided by the present invention can include non-volatile and / or volatile memory. Non-volatile memory can include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory can include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
[0188] It should be understood that the application of the present invention is not limited to the above examples. For ordinary technicians in this field, improvements or changes can be made based on the above description. All these improvements and changes should fall within the scope of protection of the claims attached to the present invention.
Claims
1. A method for adaptively adjusting screen brightness, characterized in that: include: When the intelligent terminal is detected to be in the screen-on state, the control periodically obtains and reports the light value; When a light value is reported, the current light value and the light value reporting time are recorded, and based on the light value and the light value reporting time, it is calculated whether the light value reporting time has reached the threshold time requirement for brightening or dimming. If the threshold time requirement for brightening or dimming is not met, the adjustment is skipped, and the threshold time for brightening and dimming is refreshed based on the new light value. If the light value reporting time has met the threshold time requirement for brightening or dimming, the light value judgment processing is further controlled. During the judgment process of the light value, whether to start the adjustment is determined according to whether the current light value triggers the adjustment threshold: when the current light value triggers the adjustment threshold, the control starts the screen brightness adjustment; If the current illumination value does not trigger the adjustment threshold, the screen brightness will not be activated; When the control starts the screen brightness adjustment, the brightness instruction to be adjusted is sent to the system display module to refresh the screen brightness.
2. The screen brightness adaptive adjustment method according to claim 1, characterized in that: The step of controlling periodically obtaining and reporting the light value when detecting that the smart terminal is in a screen-on state includes: An automatic backlight curve is pre-set in the smart terminal and a set of automatic adjustment algorithms are embedded; the automatic backlight curve is used to refer to the mapping relationship between the ambient light illumination and the screen brightness value, which serves as an adjustment reference for the automatic adjustment algorithm; The automatic adjustment algorithm includes a brightness anti-shake module and a brightness threshold module. The brightness anti-shake module controls the threshold time for brightening and dimming, that is, whether the current illumination reporting time needs to enter the brightness threshold module for further processing; the brightness threshold module controls whether the current illumination value can trigger the brightness adjustment threshold and start brightness adjustment.
3. The screen brightness adaptive adjustment method according to claim 1, characterized in that: In the process of judging the illumination value, whether to start the adjustment is determined according to whether the illumination value triggers the adjustment threshold value. When the illumination value triggers the adjustment threshold value, the screen brightness adjustment is started; When the current illumination value does not trigger the adjustment threshold, the steps of not starting the screen brightness include: The brightness threshold module determines whether to start regulation based on whether the current light value triggers the adjustment threshold: When the current light value has reached the trigger width threshold information, the adjustment is immediately started according to the corresponding threshold value: the brightness is dimmed when the left end is triggered, and the brightness is brightened when the right end is triggered; and the brightness threshold module is controlled to refresh the wide and narrow threshold information it maintains according to the current light value, so as to serve as a reference for the next adjustment; When the current illumination value does not reach the triggering wide threshold information, but triggers the narrow threshold information, the counting starts. After the left threshold is triggered continuously for the first specified time, or the right threshold is triggered continuously for the first specified time, the adjustment is started according to the corresponding threshold: if the left end is triggered continuously, the brightness is dimmed, and if the right end is triggered continuously, the brightness is brightened; and the brightness threshold module is controlled to refresh the wide and narrow threshold information it maintains according to the current illumination value, so as to serve as a reference for the next adjustment; If the current illumination value does not trigger any threshold, the current adjustment is ignored.
4. The screen brightness adaptive adjustment method according to claim 1, characterized in that: When the intelligent terminal is detected to be in a screen-on state, the step of controlling to periodically obtain and report the light value includes: When it is detected that the smart terminal is in the screen-on state, the light sensor of the smart terminal is controlled to periodically collect ambient light data and report the light value.
5. The screen brightness adaptive adjustment method according to claim 1, characterized in that: When a light value is reported once, the current light value and the light value reporting time are recorded, and based on the light value and the light value reporting time of this time, whether the light value reporting time of this time has reached the threshold time requirement for brightening or dimming is calculated; if the threshold time requirement for brightening or dimming is not reached, this adjustment is skipped, and the threshold time for brightening and dimming is refreshed based on the new light value of this time; When the reporting time of the current illumination value has met the threshold time requirement for brightening or dimming, the steps of further controlling the illumination value judgment processing include: When a light value is reported, the current light value and the time when the light value was reported are recorded; According to the current illumination value and the illumination value reporting time, calculate whether the illumination value reporting time has reached the threshold time requirement for brightening or dimming; If the reporting time of the current light value does not meet the threshold time requirement for brightening or dimming, the current adjustment will be skipped, but the threshold time for brightening and dimming will be refreshed according to the new light value. When the reporting time of the current light value reaches the threshold time requirement for brightening or dimming, further control is performed to determine the light value; and according to the new light value, the threshold time for brightening and dimming is refreshed.
6. The screen brightness adaptive adjustment method according to claim 2, characterized in that: The brightness threshold module is used to maintain two groups of threshold information, wide and narrow. Each group of threshold information includes two members, left and right. The left member represents the light threshold and corresponding brightness that can trigger dimming, and the right member represents the light threshold and corresponding brightness that can trigger brightening. Among them, the first group of narrow threshold information needs to reach the corresponding threshold value 10 times in succession before the adjustment can be started, and the second group of wide threshold information starts the adjustment immediately once the corresponding threshold value is reached.
7. The screen brightness adaptive adjustment method according to claim 1, characterized in that: When the control starts the screen brightness adjustment, the brightness instruction to be adjusted is sent to the system display module, and the step of refreshing the screen brightness includes: When the brightness threshold module determines that the current illumination value can trigger brightness adjustment, the brightness threshold module is controlled to send an instruction to the display module, and the display module adjusts the screen brightness to the corresponding brightness value; At the same time, the brightness threshold module refreshes the wide and narrow threshold information it maintains according to the current illumination value as a reference for the next adjustment.
8. A screen brightness adaptive adjustment device, characterized in that: The device comprises: A pre-setting module pre-sets an automatic backlight curve in the smart terminal and embeds a set of automatic adjustment algorithms; the automatic backlight curve is used to refer to the mapping relationship between ambient light illumination and screen brightness value, which serves as the adjustment reference of the automatic adjustment algorithm; the automatic adjustment algorithm includes a brightness anti-shake module and a brightness threshold module, the brightness anti-shake module controls the threshold time of brightening and dimming, that is, whether the current illumination reporting time needs to enter the brightness threshold module for further processing; the brightness threshold module controls whether the current illumination value can trigger the brightness adjustment threshold and start the brightness adjustment; The ambient light data collection and reporting module is used to control the periodic acquisition and reporting of light values when it is detected that the smart terminal is in the screen-on state; The illumination value reporting time processing module is used to record the current illumination value and illumination value reporting time when an illumination value is reported, and calculate whether the illumination value reporting time has reached the threshold time requirement for brightening or dimming according to the illumination value and illumination value reporting time of this time. If the threshold time requirement for brightening or dimming is not reached, the adjustment is skipped, and the threshold time for brightening and dimming is refreshed according to the new illumination value; if the illumination value reporting time has met the threshold time requirement for brightening or dimming, the illumination value judgment processing is further controlled; The light value judgment processing module is used to control the light value judgment processing process to determine whether to start the adjustment according to whether the current light value triggers the adjustment threshold: when the current light value triggers the adjustment threshold, the screen brightness adjustment is controlled to start; when the current light value does not trigger the adjustment threshold, the screen brightness is not started; The screen brightness adaptive adjustment module is used to control the start of screen brightness adjustment and send the brightness instruction to be adjusted to the system display module to refresh the screen brightness.
9. An intelligent terminal, characterized in that: The device comprises a memory and one or more programs, wherein the one or more programs are stored in the memory and are configured to be executed by one or more processors, and the one or more programs include being used to execute the method according to any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that: When the instructions in the storage medium are executed by a processor of an electronic device, the electronic device is enabled to execute the method as described in any one of claims 1 to 7.
Citation Information
Cited By
Display brightness adjusting method and system of broadcast control all-in-one machine, and terminal
CN120220624A
