Adjustment method and electronic device
Patent Information
- Application Number
- CN202610602999.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-04-30
- Publication Date
- 2026-09-01
AI Technical Summary
但这种屏幕亮度调节方式,当环境光传感器面向闪烁的光源时,会对环境光强度变化存在误判情况,从而导致频繁调整屏幕亮度,用户体验较低
[0014]上述说明仅是本申请技术方案的概述,为了能够更清楚了解本申请的技术手段,而可依照说明书的内容予以实施,并且为了让本申请的上述和其它目的、特征和优点能够更明显易懂,以下特举本申请的具体实施方式。
Smart Images

Figure CN122676776A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of display technology, and more particularly to an adjustment method and an electronic device. Background Technology
[0002] Currently, electronic devices generally have the function of automatically adjusting screen brightness according to ambient light. The mainstream method of screen brightness adjustment is to set up an ambient light sensor in the electronic device, which detects the intensity of ambient light and then automatically adjusts the screen brightness based on the detection result. However, this method of screen brightness adjustment can misjudge changes in ambient light intensity when the ambient light sensor is facing a flickering light source, resulting in frequent adjustments to the screen brightness and a poor user experience. Summary of the Invention
[0003] In view of this, embodiments of this application provide an adjustment method and an electronic device.
[0004] According to a first aspect of this application, this application provides an adjustment method, including: In response to a change in ambient light brightness collected by the first ambient light sensor, if the brightness environment in which the screen is located does not meet the target conditions, the brightness of the screen is adjusted based on the first brightness adjustment strategy. If the ambient brightness meets the target conditions, the screen brightness is adjusted based on the second brightness adjustment strategy; Specifically, under the first brightness adjustment strategy, the adjustment trend of screen brightness is consistent with the change trend of ambient light brightness detected by the first ambient light sensor; under the second brightness adjustment strategy, the adjustment trend of screen brightness is inconsistent with the change trend of ambient light brightness detected by the first ambient light sensor.
[0005] Furthermore, this application also proposes that the brightness change data are multiple ambient brightness data collected within the target time period, and the difference between each adjacent ambient brightness data corresponds to the brightness change value; The target conditions include a first target condition, which characterizes the brightness change data of the brightness environment as including flicker signals within the target frequency range, and the brightness change value between each adjacent ambient brightness data corresponding to the flicker signal is greater than the target change threshold.
[0006] Furthermore, this application also proposes that the target condition includes a second target condition, which characterizes that the confidence level of the presence of the target device in the brightness environment is higher than the target confidence level; the target device is a periodically modulated light source.
[0007] Furthermore, this application also proposes that the adjustment method further includes: Environmental images are acquired using image acquisition devices; In response to the presence of a target device in an ambient image, determine that the target device exists in the brightness environment in which the screen is located; and / or The system acquires first ambient brightness data collected by a first ambient light sensor and second ambient brightness data collected by a second ambient light sensor; the first ambient light sensor is located on the same side of the screen; the second ambient light sensor is located on the opposite side of the screen. In response to the second ambient brightness data being greater than the first ambient brightness data and the difference between the second ambient brightness data and the first ambient brightness data being greater than the target brightness value, it is determined that a target device exists in the brightness environment in which the screen is located.
[0008] Furthermore, this application also proposes that the first brightness adjustment strategy includes a first sub-brightness adjustment strategy and a second sub-brightness adjustment strategy; The method also includes: If the ambient brightness meets the first target condition but not the second target condition, the screen brightness is adjusted based on the first sub-brightness adjustment strategy. If the ambient brightness does not meet the first target condition and the second target condition, the screen brightness is adjusted based on the second sub-brightness adjustment strategy. Specifically, under the first sub-brightness adjustment strategy, the ambient brightness data is filtered based on the first filter strength; under the second sub-brightness adjustment strategy, the ambient brightness data is filtered based on the second filter strength, where the first filter strength is greater than the second filter strength.
[0009] Furthermore, this application also proposes that the second brightness adjustment strategy is selected from one of the following combinations: Maintain screen brightness based on average ambient light data within the target time period; Ignore ambient brightness data where the brightness change value exceeds the threshold; Lock screen brightness.
[0010] Furthermore, this application also proposes adjusting the screen brightness based on a second brightness adjustment strategy if the ambient brightness meets the target conditions, including: If the brightness environment of the screen meets the first target condition, obtain the confidence level that the target device exists in the brightness environment; In response to the fact that the brightness environment of the screen meets the second target condition, the brightness of the screen is adjusted based on the second brightness adjustment strategy.
[0011] Furthermore, this application also proposes that the adjustment method further includes: If the brightness environment of the screen does not meet the first target condition, the screen brightness is adjusted based on the second sub-brightness adjustment strategy.
[0012] Furthermore, this application also proposes that, in response to the brightness environment of the screen not meeting the second target condition, the brightness of the screen be adjusted based on the first sub-brightness adjustment strategy.
[0013] According to a second aspect of this application, this application also proposes an electronic device, comprising: Screen; The first ambient light sensor is used to collect ambient light intensity. The processor is configured to respond to changes in ambient light brightness collected by the first ambient light sensor. If the brightness environment of the screen does not meet the target conditions, the processor adjusts the screen brightness based on a first brightness adjustment strategy; if the brightness environment meets the target conditions, the processor adjusts the screen brightness based on a second brightness adjustment strategy. Specifically, under the first brightness adjustment strategy, the adjustment trend of screen brightness is consistent with the change trend of ambient light brightness detected by the first ambient light sensor; under the second brightness adjustment strategy, the adjustment trend of screen brightness is inconsistent with the change trend of ambient light brightness detected by the first ambient light sensor.
[0014] The above description is only an overview of the technical solution of this application. In order to better understand the technical means of this application and to implement it in accordance with the contents of the specification, and to make the above and other objects, features and advantages of this application more obvious and understandable, the following are specific embodiments of this application. Attached Figure Description
[0015] Figure 1 This is a flowchart illustrating an adjustment method in an embodiment of this application; Figure 2 This is a flowchart illustrating another adjustment method in an embodiment of this application; Figure 3 This is a schematic diagram of the hardware structure of an electronic device according to an embodiment of this application. Detailed Implementation
[0016] To make the objectives, technical solutions, and advantages of the embodiments of this application clearer, the technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.
[0017] In traditional smartphone automatic brightness adjustment systems, ambient light sensor readings are easily affected by the characteristics of external light sources. Specifically, when the device is facing away from a single point light source, the ambient light detected by the sensor is lower than the actual perceived ambient light intensity, leading to an excessively low screen brightness setting. Furthermore, changes in device posture cause variations in the incident angle between the sensor and the light source, resulting in fluctuations in screen brightness even without changes in ambient light. Additionally, when the device is facing an electronic display screen, dynamic changes in the screen content cause the ambient light sensor readings to fluctuate periodically with the screen refresh rate, leading the system to misinterpret changes in ambient light intensity and triggering frequent screen brightness adjustments. This problem essentially stems from the current system's lack of comprehensive analysis capabilities for flicker signal characteristics, making it unable to reliably distinguish between electronic screen and artificial light source scenarios, thus affecting the accuracy and stability of automatic brightness adjustment.
[0018] In response, this application proposes an adjustment method, such as... Figure 1 As shown, it includes: S101, in response to a change in the ambient light brightness collected by the first ambient light sensor, if the brightness environment of the screen does not meet the target conditions, the brightness of the screen is adjusted based on the first brightness adjustment strategy; wherein, under the first brightness adjustment strategy, the adjustment trend of the screen brightness is consistent with the change trend of the ambient light brightness detected by the first ambient light sensor.
[0019] In this embodiment, a first ambient light sensor is configured to monitor the light intensity of the environment surrounding the electronic device in real time. It is typically integrated on the front of the electronic device to acquire ambient light data from the direction the user is facing.
[0020] Ambient light intensity refers to the value collected by the first ambient light sensor, reflecting the intensity of external ambient light surrounding the device. Changes in this value directly affect the user's perceived brightness requirements for the screen.
[0021] The brightness environment refers to the actual lighting conditions currently present to the screen, as represented by ambient light brightness data. This environment may include natural light, artificial lighting, or interfering light from other display devices.
[0022] Target conditions refer to a pre-defined set of conditions used to determine whether the brightness environment is in a specific abnormal state. When the brightness environment meets these conditions, it indicates that there may be interfering factors that cause traditional brightness adjustment strategies to fail.
[0023] The first brightness adjustment strategy refers to the screen brightness adjustment method adopted when the ambient light does not meet the target conditions. Under this strategy, the direction of screen brightness adjustment is consistent with the direction of change in ambient light brightness; for example, the screen brightens when the ambient light becomes brighter and dims when the ambient light becomes darker.
[0024] In this embodiment, the first ambient light sensor in the electronic device is configured to continuously or periodically collect ambient light intensity data. When the ambient light brightness value detected by the sensor changes significantly, the system triggers a brightness adjustment response mechanism. For example, this change could be that the brightness value exceeds a preset threshold, or that the fluctuation range of the brightness value reaches a specific standard within a certain time window. As one implementation, the system can read the sensor data at fixed time intervals and compare it with the previously read data to determine whether a brightness change has occurred.
[0025] When the ambient light environment of an electronic device is determined to not meet preset target conditions, the system will employ a first brightness adjustment strategy to adjust the screen brightness. This judgment process can be based on preliminary analysis of ambient light sensor data. For example, if the ambient light brightness changes smoothly and no abnormal fluctuation patterns are detected, the target conditions are considered not met. When employing the first brightness adjustment strategy, the direction of screen brightness change is consistent with the direction of ambient light brightness change detected by the first ambient light sensor. This means that when the ambient light brightness increases, the screen brightness also increases; when the ambient light brightness decreases, the screen brightness also decreases. As one implementation, the system can adjust the screen brightness proportionally based on the real-time rate of change of ambient light brightness. For example, if the ambient light brightness increases by 10% within a certain time period, the screen brightness will increase by a preset percentage accordingly. Another implementation is that the system can employ a simple incremental or decremental mechanism: when the ambient light brightness increases, the screen brightness increases by a fixed step; when the ambient light brightness decreases, the screen brightness decreases by a fixed step.
[0026] S102, if the ambient brightness meets the target condition, the screen brightness is adjusted based on the second brightness adjustment strategy; under the second brightness adjustment strategy, the adjustment trend of the screen brightness is inconsistent with the ambient light brightness change trend detected by the first ambient light sensor.
[0027] In this embodiment, the second brightness adjustment strategy refers to the screen brightness adjustment method adopted when the ambient brightness meets the target conditions. Under this strategy, the direction of screen brightness adjustment is inconsistent with the direction of change in ambient light brightness, in order to cope with specific interference situations.
[0028] In this embodiment, when the ambient brightness of the electronic device is determined to meet a preset target condition, the system switches to a second brightness adjustment strategy to adjust the screen brightness. This target condition aims to identify specific scenarios that may cause traditional brightness adjustment to fail, such as the device being directly facing another display screen or under a specific artificial light source. As one implementation, the system can preset a brightness fluctuation frequency range as the target condition; when the ambient light brightness data shows significant fluctuations within this frequency range, the target condition is considered met.
[0029] When employing the second brightness adjustment strategy, the direction of screen brightness change is inconsistent with the direction of ambient light brightness change detected by the first ambient light sensor. This inconsistency aims to address specific interference scenarios and prevent frequent fluctuations in screen brightness due to misjudgments by the ambient light sensor. One implementation approach is to configure the system to maintain screen brightness at a specific level when the ambient light brightness meets the target conditions, preventing it from changing with rapid fluctuations in ambient light brightness. Another approach is to significantly smooth the ambient light brightness data, ensuring that the screen brightness only responds to slow, long-term trends in ambient light brightness, ignoring rapid, short-term fluctuations.
[0030] In some implementations, the data from the first ambient light sensor can be periodically reassessed regarding the maintenance and exit mechanism of the second brightness adjustment strategy. Once the target conditions are no longer met, the system will smoothly revert to the first brightness adjustment strategy, restoring normal response to changes in ambient light. This dynamic switching mechanism ensures stability in interference scenarios while avoiding response lag in normal environments, thus optimizing the overall reliability of automatic brightness adjustment and user experience.
[0031] The adjustment method of this application embodiment responds to changes in ambient light brightness collected by a first ambient light sensor. If the brightness environment of the screen does not meet the target conditions, the screen brightness is adjusted based on a first brightness adjustment strategy; if the brightness environment meets the target conditions, the screen brightness is adjusted based on a second brightness adjustment strategy. In this way, it can effectively distinguish between real ambient light changes and interference signals, thereby dynamically selecting a brightness adjustment strategy, reducing misjudgments and fluctuations in scenarios such as flickering light sources, effectively improving the accuracy and stability of automatic screen brightness adjustment, and thus significantly improving the user's visual experience in complex lighting environments.
[0032] In an optional embodiment, this application further proposes the above-mentioned adjustment method, wherein the brightness change data is multiple ambient brightness data collected within a target time period, and the difference between each adjacent ambient brightness data corresponds to the brightness change value; the target condition includes a first target condition, which characterizes that the brightness change data of the brightness environment includes a flicker signal in the target frequency range and the brightness change value between each adjacent ambient brightness data corresponding to the flicker signal is greater than the target change threshold.
[0033] Specifically, brightness variation data consists of a series of continuous or periodic ambient brightness measurements acquired within a specific time window. This data can be obtained by sampling from a first ambient light sensor within a preset target time period. For example, the sensor can collect ambient brightness values at regular intervals (e.g., 10 milliseconds, 100 milliseconds, or 1 second) to form a time-series brightness variation data. By calculating the difference between adjacent ambient brightness data points, the degree of fluctuation in ambient light brightness over a short period can be quantified; this difference is the brightness variation value. In this embodiment, the target condition may include one or more sub-conditions, wherein the first target condition is one of the sub-conditions.
[0034] The first objective condition is used to identify whether a specific flicker phenomenon exists in the brightness environment. Whether the first objective condition is met is primarily determined by analyzing "brightness change data." First, it is necessary to detect whether flicker signals within the target frequency range exist in the brightness change data; this can be identified by performing spectral analysis on the brightness change data (such as Fast Fourier Transform, FFT), or by using a bandpass filter to extract signals within a specific frequency range. Target frequency ranges are, for example, 50Hz, 60Hz, 100Hz, 120Hz, etc. Second, to avoid misjudging "flicker" caused by minute fluctuations, it is also necessary to determine whether the brightness change value between adjacent ambient brightness data corresponding to the flicker signal is greater than a target change threshold. This target change threshold is a preset value used to distinguish between actual, significant brightness fluctuations and environmental noise or insignificant minute changes. For example, if the brightness change value is less than the target change threshold, even if a signal of a specific frequency exists, it may not be considered flicker requiring special handling.
[0035] Through the above technical solution, this application can accurately identify whether there is a flicker signal with a specific frequency range and significant amplitude in the brightness environment, and take targeted adjustment strategies to effectively avoid the problem of frequent fluctuations in screen brightness in the flicker environment, thereby improving the user's viewing comfort.
[0036] In an optional embodiment, this application further proposes that the target condition also includes a second target condition, which characterizes that the confidence level of the presence of the target device in the brightness environment is higher than the target confidence level; the target device is a periodically modulated light source.
[0037] In this embodiment, the second target condition is another sub-condition, in addition to the first target condition, used to determine whether the brightness environment of the screen requires special processing. The second target condition aims to more accurately identify specific types of brightness environments, especially those that may be caused by specific light sources and require special processing, thereby avoiding triggering the second brightness adjustment strategy based solely on flicker signals and improving the accuracy of brightness adjustment.
[0038] A periodically modulated light source is a special type of target device whose emitted light intensity varies periodically over time. This periodic variation may be caused by its operating principle or power supply characteristics, and its brightness changes have a predictable frequency and pattern, allowing the system to identify it by analyzing the frequency components of ambient light data. Examples of periodically modulated light sources include common LED lighting devices, fluorescent lamps, and electronic screens.
[0039] In some implementations, machine learning models can be used to analyze image or sensor data and output the probability value of the presence of the target device as a confidence level; or cross-validation of data from multi-sensor fusion can be used to improve the reliability of the judgment and assign different confidence level weights based on the validation results.
[0040] The solution proposed in this application, when determining whether the brightness environment of the screen meets the target conditions, not only analyzes the frequency and amplitude of these changes to identify flicker, but also further identifies whether these flickers originate from specific periodically modulated light sources that may cause user discomfort. This allows for a more accurate identification of brightness environments that truly require special handling. This avoids triggering a second brightness adjustment strategy simply because a general flicker signal is detected, thereby reducing misjudgments and unnecessary brightness adjustments. When a periodically modulated light source is indeed present in the environment, the system can promptly and accurately identify it and adopt corresponding brightness adjustment strategies, ensuring that the screen brightness adjustment trend is inconsistent with the ambient light brightness change trend. This effectively reduces the visual fatigue or discomfort that periodically modulated light sources may cause to the user, significantly improving the user's visual comfort in complex lighting environments. In some embodiments described above in this application, screen brightness is adjusted based on whether the brightness environment meets target conditions, where the target conditions include a confidence level that the presence of a target device in the brightness environment is higher than a target confidence level. However, in practical applications, accurately and reliably determining whether a periodically modulated light source, the target device, exists in the brightness environment in which the screen is located is a key issue affecting the effectiveness of the brightness adjustment strategy.
[0041] In response, this application further proposes to acquire an environmental image using an image acquisition device; determine the presence of a target device in the brightness environment of the screen in response to the presence of a target device in the environmental image; and / or acquire first ambient brightness data acquired by a first ambient light sensor and second ambient brightness data acquired by a second ambient light sensor; the first ambient light sensor is located on the same side of the screen; the second ambient light sensor is located on the opposite side of the screen; and determine the presence of a target device in the brightness environment of the screen in response to the second ambient brightness data being greater than the first ambient brightness data and the difference between the second ambient brightness data and the first ambient brightness data being greater than the target brightness value.
[0042] In this embodiment, environmental images can be acquired by periodically taking photos or recording video streams using an image acquisition device; or by capturing images when a specific event is triggered, such as a significant change in ambient light brightness or the identification of a flicker signal with a specific frequency range and significant amplitude in the brightness environment. Then, an image recognition algorithm can be used to identify whether a target device exists in the environmental image. For example, a pre-trained machine learning model (such as a convolutional neural network) can be used to analyze the acquired environmental image to identify whether there are features of periodically modulated light sources in the image, or feature matching can be used to match feature points in the image with preset target device feature templates. When the matching degree reaches a certain threshold, the presence of a target device is determined. If a target device is identified in the environmental image, it is determined that a target device exists in the brightness environment where the screen is located. Otherwise, it is determined that no target device exists in the brightness environment where the screen is located.
[0043] In this embodiment, the first ambient light sensor is typically located on the same side of the screen, facing the same direction as the screen display surface, and is used to sense the brightness of the environment in front of the user. The second ambient light sensor is typically located on the opposite side of the screen, i.e., the side facing away from the screen display surface, and is used to sense the ambient brightness behind the screen or behind the device. This allows the presence of a target device to be determined using the brightness difference between the two sensors, which is particularly suitable when the target device is located behind or to the side of the screen. This can be achieved by the processor comparing the brightness data collected by the two sensors in real time, calculating their difference, and comparing it with a preset target brightness value. When the difference exceeds the target brightness value, combined with the condition that the second ambient brightness data is greater than the first ambient brightness data, the presence of a target device is determined.
[0044] Through the above technical solutions, this application provides the system with multi-dimensional and high-confidence environmental information, whether by directly detecting the target device through image recognition or by indirectly judging through the data differences of dual ambient light sensors. This enables a more accurate and reliable judgment of whether there is a periodically modulated light source in the brightness environment of the screen.
[0045] In an optional embodiment, this application further proposes a first brightness adjustment strategy including a first sub-brightness adjustment strategy and a second sub-brightness adjustment strategy; the method further includes: if the ambient brightness meets a first target condition but does not meet a second target condition, adjusting the screen brightness based on the first sub-brightness adjustment strategy; if the ambient brightness does not meet either the first target condition or the second target condition, adjusting the screen brightness based on the second sub-brightness adjustment strategy; wherein, under the first sub-brightness adjustment strategy, the ambient brightness data is filtered based on a first filter intensity; under the second sub-brightness adjustment strategy, the ambient brightness data is filtered based on a second filter intensity, and the first filter intensity is greater than the second filter intensity.
[0046] Specifically, when the ambient brightness meets the first target condition (i.e., a specific flicker signal exists) but does not meet the second target condition (i.e., the confidence level of the target device is low), the system adjusts the screen brightness based on the first sub-brightness adjustment strategy. In this case, although a flicker signal is detected, a more cautious brightness adjustment method is required because it is impossible to determine whether its source is a specific periodically modulated light source. The first sub-brightness adjustment strategy filters the ambient brightness data using a first filter strength. Since the first filter strength is greater than the second filter strength, this means that the ambient brightness data undergoes stronger smoothing. This stronger filtering helps suppress screen brightness fluctuations that may be caused by flicker signals, thus providing a relatively stable visual experience even when the flicker source is uncertain, avoiding user discomfort. On the other hand, when the ambient brightness does not meet either the first target condition (i.e., no specific flicker signal is detected) or the second target condition (i.e., the confidence level of the target device is low), the system adjusts the screen brightness based on the second sub-brightness adjustment strategy. In this case, the ambient light is considered relatively stable or does not contain specific harmful flicker. Therefore, the second sub-brightness adjustment strategy filters the ambient brightness data using a second filter strength. Because the second filter strength is less than the first filter strength, the filtering of ambient brightness data is weaker, allowing the screen brightness to respond more sensitively to subtle changes in ambient light. This weaker filtering provides more natural and real-time brightness adjustments when ambient light is stable, thereby improving user visual comfort in normal environments.
[0047] Through the above technical solution, this application can refine the first brightness adjustment strategy based on different combinations of the presence of specific flicker signals and periodically modulated light sources in the ambient light. When a flicker signal is detected but its source cannot be determined, a stronger filter intensity is used to effectively suppress potential brightness fluctuations, thus providing a stable visual experience even in uncertain environments and preventing users from feeling uncomfortable due to frequent fluctuations in screen brightness. When the ambient light is relatively stable and no specific flicker signal is detected, a weaker filter intensity is used, allowing the screen brightness to respond more sensitively and naturally to subtle changes in ambient light, thereby improving the user's visual comfort and immersion in daily use. This hierarchical and intelligent brightness adjustment mechanism makes screen brightness adjustment more refined and user-friendly, significantly optimizing the user's visual perception under different ambient light conditions.
[0048] In an optional embodiment, this application further proposes that the above-mentioned second brightness adjustment strategy is selected from one of the following combinations: maintaining screen brightness with average ambient light brightness data within the target time period; ignoring ambient brightness data with brightness change values greater than a threshold; and locking screen brightness.
[0049] In this embodiment, ambient light brightness data can be continuously collected within a target time period, and the average value of these data can be calculated. The screen brightness can then be set or maintained based on this average value. This method effectively smooths out instantaneous fluctuations in ambient light brightness, avoiding frequent adjustments to screen brightness due to small or rapid changes in ambient light. For example, a target time period can be set to 2 seconds. The system collects ambient light brightness data every 100 milliseconds, calculates the arithmetic mean of all collected data within these 2 seconds, and uses this average value as the target screen brightness. Alternatively, filtering algorithms such as Exponentially Weighted Moving Average (EWMA) can be used to process the ambient light brightness data, enabling the screen brightness to smoothly respond to long-term trends in ambient light, rather than short-term fluctuations.
[0050] In this embodiment, during ambient light brightness data acquisition, if the difference between two adjacent brightness data acquisitions exceeds a preset threshold, the data point is considered a possible outlier or transient interference and is excluded from the dataset used for brightness adjustment. This processing method helps filter out drastic brightness changes caused by rapid flickering, brief obstructions, or sensor noise, thereby preventing unnecessary or uncomfortable rapid adjustments to screen brightness. For example, a brightness change threshold can be set. When the absolute value of the difference between the current ambient brightness data and the ambient brightness data at the previous moment is greater than this threshold, the system chooses not to use the current data for brightness adjustment, but instead continues to use the brightness data from the previous moment or the brightness data from the previous stable state.
[0051] In this embodiment, when the target condition is detected, the system can fix the screen brightness at the current value or a preset fixed value, and no longer adjust it according to changes in ambient light brightness. This strategy is suitable for situations where the ambient light is extremely unstable or there is strong interference. By completely stopping brightness adjustment, it ensures high stability of the screen display and avoids user discomfort caused by frequent fluctuations in screen brightness. For example, when severe flickering of ambient light is detected, the system can lock the screen brightness at the currently set brightness value, or at a preset intermediate brightness value that is comfortable for most users, until the ambient light conditions return to stability.
[0052] Through the above technical solution, a more refined and stable brightness adjustment strategy can be adopted when the brightness environment of the screen meets the target conditions. This effectively avoids unnecessary, frequent, or uncomfortable adjustments to screen brightness caused by instantaneous fluctuations, abnormal values, or drastic changes in ambient light, thereby significantly improving the stability of screen display, enhancing user visual comfort in complex lighting environments, and reducing visual fatigue. In some embodiments described above, a method for adjusting screen brightness based on changes in ambient light intensity is proposed. When the ambient light environment meets target conditions, the screen brightness is adjusted based on a second brightness adjustment strategy. However, the target conditions include a first target condition and a second target condition. How to determine whether the target conditions are met may affect the screen brightness adjustment logic.
[0053] In response, this application further proposes adjusting the screen brightness based on a second brightness adjustment strategy if the brightness environment meets the target conditions, including: if the brightness environment of the screen meets the first target conditions, obtaining the confidence level that the target device exists in the brightness environment; and adjusting the screen brightness based on the second brightness adjustment strategy in response to the brightness environment of the screen meeting the second target conditions.
[0054] In specific implementation, such as Figure 2 As shown, multi-sensor data can be acquired, including first ambient brightness data collected by a first ambient light sensor and second ambient brightness data collected by a second ambient light sensor. Then, a preliminary analysis of the flicker signal is performed based on the first ambient brightness data. If a flicker signal within the target frequency range (e.g., 50Hz, 60Hz, 100Hz, 120Hz) is detected, it is further determined whether the brightness change value between adjacent first ambient brightness data is greater than a target change threshold. If it is greater than the target change threshold, it indicates that the modulation depth of the first ambient brightness data is greater than the threshold; that is, the brightness environment of the screen meets the first target condition. Then, a "screen suspicion" signal can be generated. After receiving the "screen suspicion" signal, the system immediately queries other data for multimodal confidence assessment. The confidence level can be determined by whether the confidence level of the presence of the target device in the brightness environment is higher than the target confidence level. For example, an environmental image is acquired through an image acquisition device; in response to the presence of a target device in the environmental image, it is determined that the target device exists in the brightness environment of the screen, and therefore the confidence level is high. And / or acquire first ambient brightness data collected by a first ambient light sensor and second ambient brightness data collected by a second ambient light sensor; the first ambient light sensor is located on the same side of the screen; the second ambient light sensor is located on the opposite side of the screen; in response to the second ambient brightness data being greater than the first ambient brightness data and the difference between the second ambient brightness data and the first ambient brightness data being greater than the target brightness value, it is determined that a target device exists in the brightness environment in which the screen is located, and the confidence level of determining the presence of a target device in the brightness environment is higher than the target confidence level, thus determining a high confidence level. If the confidence level is high, it indicates that the brightness environment in which the screen is located meets the second target condition, and the brightness of the screen is adjusted based on the second brightness adjustment strategy (screen adversarial mode, freezing the screen brightness or performing extreme smoothing processing on the first ambient brightness data).
[0055] The above technical solution enables precise control over screen brightness adjustment strategies. When ambient light flicker is detected, the system can further determine whether a specific periodically modulated light source exists and decide whether to activate a dedicated secondary brightness adjustment strategy based on its confidence level. This effectively avoids the situation where the secondary brightness adjustment strategy is mistakenly triggered by ordinary flicker caused by non-periodic modulated light sources, thereby improving the accuracy of brightness adjustment and the comfort of the user experience. Especially in complex and changing lighting environments, it can more intelligently cope with different types of ambient light changes and reduce user visual fatigue.
[0056] In an optional embodiment, this application further proposes adjusting the screen brightness based on a second sub-brightness adjustment strategy if the brightness environment of the screen does not meet the first target condition.
[0057] In specific implementation, such as Figure 2 As shown, if the brightness environment of the screen does not meet the first target condition, the second sub-brightness adjustment strategy (normal mode, which filters the ambient brightness data based on the second filter intensity) is adopted to adjust the screen brightness, responding to the first ambient brightness data (ALS) in real time, so that the adjustment trend of the screen brightness is consistent with the change trend of ambient light brightness detected by the first ambient light sensor.
[0058] Through the above technical solution, when the brightness environment of the screen does not meet the first target condition, the system can adjust the screen brightness based on the second sub-brightness adjustment strategy. This allows the screen brightness to be adjusted with a more appropriate response speed in a flicker-free environment, which can not only adapt to changes in ambient light in a timely manner, but also avoid brightness lag caused by excessive smoothing, thereby improving the user's visual comfort and experience in different environments. In an optional embodiment, this application further proposes adjusting the brightness of the screen based on a first sub-brightness adjustment strategy in response to the brightness environment of the screen not meeting the second target condition.
[0059] In specific implementation, such as Figure 2 As shown, if the confidence level is low, it means that there is only flickering feature and the brightness environment of the screen does not meet the second target condition. Then, the brightness of the screen is adjusted based on the first sub-brightness adjustment strategy (conservative mode, which greatly smooths the brightness data of the first environment).
[0060] Through the above technical solution, when the brightness environment of the screen does not meet the second target condition, the system can clearly select the first sub-brightness adjustment strategy to adjust the brightness, avoiding the problem of improper brightness adjustment caused by the lack of a clear strategy. This enables electronic devices to provide stable and comfortable screen brightness even when facing complex ambient light changes from non-specific periodic modulated light sources, effectively improving the user's visual comfort and user experience under different lighting conditions.
[0061] This application also proposes an electronic device, such as Figure 3 As shown, it includes: The system comprises: a screen 100; a first ambient light sensor 200 for collecting ambient light brightness; and a processor 300 for responding to changes in the ambient light brightness collected by the first ambient light sensor. If the ambient light environment of the screen does not meet the target conditions, the processor adjusts the brightness of the screen based on a first brightness adjustment strategy; if the ambient light environment meets the target conditions, the processor adjusts the brightness of the screen based on a second brightness adjustment strategy. Under the first brightness adjustment strategy, the adjustment trend of the screen brightness is consistent with the change trend of the ambient light brightness detected by the first ambient light sensor. Under the second brightness adjustment strategy, the adjustment trend of the screen brightness is inconsistent with the change trend of the ambient light brightness detected by the first ambient light sensor.
[0062] In this embodiment, the electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device may also represent various forms of mobile devices, such as personal digital processors, cellular phones, smartphones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely illustrative and are not intended to limit the implementation of the present application described and / or claimed herein.
[0063] In some embodiments, the electronic device may further include an image acquisition device for acquiring an ambient image; a second ambient light sensor located on the same side of the screen as the first ambient light sensor; the second ambient light sensor being disposed on the opposite side of the screen; a processor for acquiring the ambient image via the image acquisition device; determining that a target device exists in the brightness environment in which the screen is located in response to the presence of a target device in the ambient image; and / or acquiring first ambient brightness data acquired by the first ambient light sensor and second ambient brightness data acquired by the second ambient light sensor; determining that a target device exists in the brightness environment in which the screen is located in response to the second ambient brightness data being greater than the first ambient brightness data and the difference between the second ambient brightness data and the first ambient brightness data being greater than a target brightness value.
[0064] Regarding the mode maintenance and exit mechanism, the processor periodically re-evaluates sensor data. Once the target conditions are no longer met, such as a weakening of the flicker signal or a decrease in confidence, the system smoothly reverts to the first brightness adjustment strategy, restoring normal response to changes in ambient light. This dynamic switching mechanism ensures stability in turbulent scenarios while avoiding response lag in normal environments, thus optimizing the overall reliability of automatic brightness adjustment and user experience.
[0065] Through the above technical solution, electronic devices achieve intelligent and stable control of screen brightness in complex lighting environments. For example, when a user is using the device while facing a television, the rapid changes in the television screen cause the ambient light brightness data collected by the first ambient light sensor to exhibit periodic fluctuations within the typical screen refresh rate range, and the fluctuation amplitude exceeds a preset threshold. Since this fluctuation meets the target condition, the processor immediately adopts a second brightness adjustment strategy to keep the screen brightness stable or only respond to slow trend changes, completely eliminating interference caused by changes in the television screen. Compared to the basic solution, this application can accurately suppress misadjustment behavior in interference scenarios, while intelligently distinguishing between artificial light sources and electronic screens, ensuring improved display stability without the user's perception, and significantly improving the visual experience.
[0066] It should be understood that the various forms of processes shown above can be used to rearrange, add, or delete steps. For example, the steps described in this application can be executed in parallel, sequentially, or in different orders, as long as the desired result of the technical solution disclosed in this application can be achieved, and this is not limited herein.
[0067] Furthermore, the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one of that feature. In the description of this application, "a plurality of" means two or more, unless otherwise explicitly specified.
[0068] The above description is merely a specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.
Claims
1. An adjustment method, comprising: In response to a change in ambient light brightness collected by the first ambient light sensor, if the brightness environment in which the screen is located does not meet the target conditions, the brightness of the screen is adjusted based on the first brightness adjustment strategy. If the brightness environment meets the target conditions, the brightness of the screen is adjusted based on the second brightness adjustment strategy; In the first brightness adjustment strategy, the adjustment trend of screen brightness is consistent with the change trend of ambient light brightness detected by the first ambient light sensor. Under the second brightness adjustment strategy, the adjustment trend of the screen brightness is inconsistent with the trend of ambient light brightness change detected by the first ambient light sensor.
2. The adjustment method according to claim 1, The brightness change data consists of multiple ambient brightness data collected within the target time period, and the difference between adjacent ambient brightness data corresponds to the brightness change value. The target condition includes a first target condition, which indicates that the brightness change data of the brightness environment includes a flicker signal within a target frequency range and the brightness change value between each adjacent ambient brightness data corresponding to the flicker signal is greater than the target change threshold.
3. The adjustment method according to claim 2, The target condition also includes a second target condition, which indicates that the confidence level of the presence of the target device in the brightness environment is higher than the target confidence level; the target device is a periodically modulated light source.
4. The adjustment method according to claim 3 further includes: Environmental images are acquired using image acquisition devices; In response to the presence of a target device in the environmental image, it is determined that the target device exists in the brightness environment of the screen. and / or The system acquires first ambient light data collected by a first ambient light sensor and second ambient light data collected by a second ambient light sensor; the first ambient light sensor is located on the same side of the screen; the second ambient light sensor is located on the opposite side of the screen. In response to the second ambient brightness data being greater than the first ambient brightness data and the difference between the second ambient brightness data and the first ambient brightness data being greater than the target brightness value, it is determined that the target device exists in the brightness environment in which the screen is located.
5. The adjustment method according to claim 3, wherein the first brightness adjustment strategy includes a first sub-brightness adjustment strategy and a second sub-brightness adjustment strategy; The method further includes: If the ambient brightness meets the first target condition but does not meet the second target condition, the brightness of the screen is adjusted based on the first sub-brightness adjustment strategy; If the ambient brightness does not meet the first target condition and the second target condition, the brightness of the screen is adjusted based on the second sub-brightness adjustment strategy; Specifically, under the first sub-brightness adjustment strategy, the ambient brightness data is filtered based on a first filtering intensity; under the second sub-brightness adjustment strategy, the ambient brightness data is filtered based on a second filtering intensity, wherein the first filtering intensity is greater than the second filtering intensity.
6. The adjustment method according to claim 1, wherein the second brightness adjustment strategy is selected from one of the following combinations: Maintain screen brightness based on average ambient light data within the target time period; Ignore ambient brightness data where the brightness change value exceeds the threshold; Lock screen brightness.
7. The adjustment method according to claim 4, wherein adjusting the brightness of the screen based on a second brightness adjustment strategy if the brightness environment meets the target condition, includes: If the brightness environment of the screen meets the first target condition, obtain the confidence level that the target device exists in the brightness environment; In response to the fact that the brightness environment of the screen meets the second target condition, the brightness of the screen is adjusted based on the second brightness adjustment strategy.
8. The adjustment method according to claim 7 further includes: If the brightness environment of the screen does not meet the first target condition, the brightness of the screen is adjusted based on the second sub-brightness adjustment strategy.
9. The adjustment method according to claim 7, In response to the fact that the brightness environment of the screen does not meet the second target condition, the brightness of the screen is adjusted based on the first sub-brightness adjustment strategy.
10. An electronic device, comprising: Screen; The first ambient light sensor is used to collect ambient light intensity. The processor is configured to respond to changes in ambient light brightness collected by the first ambient light sensor; if the brightness environment of the screen does not meet the target conditions, adjust the brightness of the screen based on a first brightness adjustment strategy; if the brightness environment meets the target conditions, adjust the brightness of the screen based on a second brightness adjustment strategy. In the first brightness adjustment strategy, the adjustment trend of screen brightness is consistent with the change trend of ambient light brightness detected by the first ambient light sensor. Under the second brightness adjustment strategy, the adjustment trend of the screen brightness is inconsistent with the trend of ambient light brightness change detected by the first ambient light sensor.