A method and system for adaptive color temperature correction of mobile phone LCD screens

By analyzing screen image data and ambient light color temperature, and combining light sensors and the front-facing camera, the color temperature of the mobile phone's LCD screen is dynamically adjusted. This solves the problem in existing technologies that fail to take into account both content color and local lighting environment, achieving more stable color temperature correction that better meets user needs, and improving user experience and color reproduction.

CN120564656BActive Publication Date: 2026-03-10SHENZHEN HUICHENTONG IND CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-07-07
Publication Date
2026-03-10

AI Technical Summary

Technical Problem

Existing mobile phone LCD screen color temperature adaptive correction technology fails to effectively take into account the color style of the screen content itself, the local light environment of the user's focal area, the user's visual comfort needs after long-term use, and the color accuracy requirements in specific application scenarios. This results in poor color temperature adjustment in various complex or dynamic usage scenarios, affecting the user's viewing experience and operating efficiency.

Method used

By analyzing the color tendencies and saliency of screen image data, combined with the overall and local ambient light color temperature, and using light sensors and front-facing cameras to acquire data, the color temperature of the display is dynamically adjusted. Limits and weights are set to perform fine-grained color temperature correction, protecting the color style of the content and improving the user's visual comfort.

Benefits of technology

It achieves more stable color temperature adjustment in complex lighting environments, better meeting the actual needs of users, improving user experience and color reproduction accuracy, avoiding abrupt changes and frequent adjustments in screen color temperature, and providing a smoother visual experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120564656B_ABST
    Figure CN120564656B_ABST
Patent Text Reader

Abstract

This application provides a method and system for adaptive color temperature correction of a mobile phone LCD screen, relating to the field of display technology. The key technical points are: determining the color tendency of the screen image data based on the screen image data on the display screen, and evaluating the significance of the color tendency; obtaining the overall ambient light color temperature; if the rate of change of the overall ambient light color temperature is greater than a preset rate value or the difference in readings between different light sensing devices is greater than a color temperature difference threshold, then estimating the local ambient light color temperature; setting a limiting range to protect the color tendency of the screen image data; if the difference between the overall ambient light color temperature and the local ambient light color temperature is greater than a preset complex environment threshold, then assigning a higher weight to the local ambient light color temperature, and calculating the target color temperature. The method and system for adaptive color temperature correction of a mobile phone LCD screen provided by this application has the advantage of providing more stable color temperature adjustment that better meets the actual viewing needs and content characteristics of users, thereby improving the user experience.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of display technology, and more specifically, to a method and system for adaptive color temperature correction of a mobile phone LCD screen. Background Technology

[0002] The display quality of a mobile phone's LCD screen, especially the accurate representation of color temperature, is crucial to the user experience. To optimize the viewing experience, current mobile phones typically feature light sensors to detect the characteristics of ambient light. Based on this ambient light data, the phone system can adjust the proportions of red, green, and blue on the display, thereby changing the overall color temperature to match the ambient light or achieve a specific display effect. However, current mobile phone LCD screen color temperature adaptive correction technology primarily relies on the perception of overall ambient light, failing to effectively consider the color style of the displayed content itself, the local lighting environment in the user's focal area, the user's visual comfort needs after prolonged use, and the color accuracy requirements of specific application scenarios. This results in less than ideal screen color temperature adjustment in various complex or dynamic usage scenarios, affecting the user's viewing experience and operational efficiency.

[0003] To address the aforementioned issues, existing technologies urgently need improvement. Summary of the Invention

[0004] The purpose of this application is to provide a method and system for adaptive color temperature correction of a mobile phone LCD screen, which can take into account both the color style of the screen content itself and the local light environment of the user's focal area, providing a more stable color temperature adjustment that better meets the user's actual viewing needs and content characteristics, thereby improving the user experience.

[0005] This application provides a method for adaptive color temperature correction of a mobile phone LCD screen, the technical solution of which is as follows:

[0006] include:

[0007] Determine the color tendency of the screen image data based on the screen image data on the display screen, and evaluate the significance of the color tendency of the screen image data;

[0008] The overall ambient light color temperature is obtained through the light sensor of the mobile phone. The changes in the reading of the overall ambient light color temperature are monitored. A preset rate value and a color temperature difference threshold are preset. If the rate of change of the overall ambient light color temperature is greater than the preset rate value or the difference in readings between different light sensors is greater than the color temperature difference threshold, the local ambient light color temperature is estimated.

[0009] If the color bias is significant, a limit range is set to protect the color bias of the screen image data;

[0010] A complex environment threshold is preset. If the difference between the overall ambient light color temperature and the local ambient light color temperature is greater than the complex environment threshold, a higher weight is assigned to the local ambient light color temperature to calculate the target color temperature. Otherwise, the target color temperature is equal to the overall ambient light color temperature.

[0011] The actual color temperature of the display screen is calibrated according to the limiting range and target color temperature.

[0012] The above solution can take into account both the color style of the content displayed on the screen and the local lighting environment of the user's focal area, providing a more stable color temperature adjustment that better meets the user's actual viewing needs and content characteristics, thereby improving the user experience.

[0013] Furthermore, this application also proposes a method for estimating the local ambient light color temperature by acquiring the overall ambient light color temperature through a mobile phone's light sensor, monitoring the changes in the overall ambient light color temperature reading, setting a preset rate value and a color temperature difference threshold, and estimating the local ambient light color temperature if the rate of change of the overall ambient light color temperature is greater than the preset rate value or the difference in readings between different light sensors is greater than the color temperature difference threshold.

[0014] The overall ambient light color temperature is obtained through the mobile phone's light sensor, and the changes in the overall ambient light color temperature reading are monitored.

[0015] Preset speed preset value and color temperature difference threshold;

[0016] If the rate of change of the overall ambient light color temperature is greater than the preset rate value or the difference in readings between different light sensors is greater than the color temperature difference threshold, the front-facing camera of the mobile phone will be activated briefly.

[0017] The environmental image data of the user's field of vision area is acquired by the front-facing image capture device. The environmental image data is analyzed according to a certain white balance analysis method to estimate the local ambient light color temperature.

[0018] The above method enables the acquisition of environmental image data of the user's focal area through a front-facing image capture device, thereby more accurately estimating the local ambient light color temperature.

[0019] Furthermore, this application also proposes a step to protect the color tendency of screen image data by setting a limiting range if the color tendency is highly significant, including:

[0020] If the color tendency is highly pronounced, then the restriction range is set according to the color tendency;

[0021] If the overall ambient light color temperature changes, the actual color temperature of the display screen will not exceed the limit range, thus protecting the color bias.

[0022] If the color bias is relatively low, there is no restriction on the actual color temperature of the display screen.

[0023] The above solution allows for flexible setting of restrictions based on the degree of color tendency, effectively protecting the original color style of the content.

[0024] Furthermore, this application also proposes that if the color tendency of the screen image data is highly significant and the color tendency changes drastically, the stability of the ambient light color temperature can be determined by comparing the overall ambient light color temperature of several consecutive times.

[0025] If the color temperature stability is strong, the average color temperature of the overall ambient light is calculated for several consecutive times to obtain the reference comfortable color temperature point.

[0026] A tolerance range for content color temperature fluctuations is set with the reference comfortable color temperature point as the center, and a threshold for continuous deviation time is also set.

[0027] By continuously acquiring data on drastic color changes and their corresponding significance, a set of color change data is obtained.

[0028] If the ideal color temperature matching the color tendency change data is within the tolerance range of the content color tone fluctuation or the duration is less than the continuous deviation time threshold, then the actual color temperature of the display screen will be maintained near the reference comfortable color temperature point.

[0029] If the ideal color temperature matching the color tendency change data exceeds the tolerance range of the content color tone fluctuation or the duration exceeds the continuous deviation time threshold, the actual color temperature of the display screen will be adjusted smoothly towards the corresponding color temperature direction.

[0030] The above solution enables more precise and gradual color temperature adjustments when content colors change drastically, taking into account ambient light stability, thus avoiding abrupt changes.

[0031] Furthermore, this application also proposes a method that presets a complex environment threshold. If the difference between the overall ambient light color temperature and the local ambient light color temperature is greater than the complex environment threshold, then a higher weight is assigned to the local ambient light color temperature to calculate the target color temperature; otherwise, the target color temperature equals the overall ambient light color temperature. This method includes the following steps:

[0032] Calculate the difference between the overall ambient light color temperature and the local ambient light color temperature;

[0033] A threshold for complex environments is preset. If the difference is greater than the threshold for complex environments, it indicates that the ambient light is complex. A higher local weight is set for the local ambient light color temperature, and a lower overall weight is set for the overall ambient light color temperature.

[0034] The target color temperature is calculated based on the overall ambient light color temperature, the local ambient light color temperature, the local weight, and the overall weight.

[0035] If the difference is less than the complex environment threshold, then the target color temperature is equal to the overall ambient light color temperature.

[0036] The above scheme can dynamically adjust the weights of overall and local ambient light color temperature according to the complexity of the environment, so that the target color temperature can more accurately reflect the user's actual experience.

[0037] Furthermore, this application also proposes that the method further includes:

[0038] Monitor the local ambient light color temperature in the user's field of vision area, and preset a color temperature change detection threshold. If the color temperature change of the local ambient light color temperature exceeds the color temperature change detection threshold in a very short time, the color temperature change is determined to be a potential lighting event.

[0039] If a potential light event occurs, a light event observation period of a preset duration will be initiated.

[0040] During the observation period of the illumination event, the local ambient light color temperature is collected. The persistence characteristics of the potential illumination event are analyzed based on the local ambient light color temperature. The persistence characteristics are used to characterize whether the local ambient light color temperature has recovered to the baseline level before the potential illumination event or whether it has formed a stable state at the new color temperature level.

[0041] If the local ambient light color temperature quickly returns to the reference level, the actual color temperature of the display screen remains unchanged; if the local ambient light color temperature reaches a stable state at the new color temperature level, the actual color temperature of the display screen is adjusted to the new color temperature.

[0042] The above solution can identify brief lighting events and determine their duration, thus avoiding incorrect screen color temperature adjustments caused by instantaneous changes in lighting.

[0043] Furthermore, this application also proposes a step for analyzing the persistence characteristics of potential illumination events based on local ambient light color temperature, wherein the persistence characteristics are used to characterize whether the local ambient light color temperature recovers to the reference level before the potential illumination event or whether a stable state is formed at the new color temperature level, including:

[0044] To obtain the fluctuation characteristics of the baseline local ambient light color temperature before a potential lighting event occurs;

[0045] Determine stability criteria based on fluctuation characteristics;

[0046] Using established stability criteria, the local ambient light color temperature collected during the observation period of the illumination event is analyzed to determine whether the local ambient light color temperature has reached a stable state at the new color temperature level.

[0047] The above method allows for a more accurate assessment of whether a new color temperature level is stable by analyzing the fluctuation characteristics of local ambient light color temperature.

[0048] Furthermore, this application also proposes a step for analyzing the persistence characteristics of potential illumination events based on local ambient light color temperature, wherein the persistence characteristics are used to characterize whether the local ambient light color temperature recovers to the reference level before the potential illumination event or whether a stable state is formed at the new color temperature level, including:

[0049] During the observation period of the illumination event, the local ambient light color temperature was continuously monitored;

[0050] Determine whether the local ambient light color temperature remains within a preset range of the baseline level before a potential lighting event occurs for a preset duration.

[0051] Determine whether the local ambient light color temperature has recovered to the baseline level before the potential lighting event occurred.

[0052] The above method allows us to determine whether the local ambient light color temperature has returned to the baseline level by setting the duration and range.

[0053] Furthermore, this application also proposes a step for determining whether the local ambient light color temperature remains within a preset range of a reference level prior to the occurrence of a potential lighting event for a preset duration, including:

[0054] Obtain parameters that represent the user's current usage scenario, ongoing visual task, or personalized user preferences;

[0055] Based on the acquired parameters, determine a preset duration or preset range for judging whether the local ambient light color temperature has recovered to the baseline level before the potential lighting event occurred.

[0056] The above approach allows for dynamic adjustment of the parameters used to determine the recovery baseline based on user scenarios, tasks, or preferences, thereby improving adaptability.

[0057] Furthermore, this application also proposes a mobile phone LCD screen color temperature adaptive correction system for performing the above-mentioned mobile phone LCD screen color temperature adaptive correction method, the system comprising:

[0058] The content color analysis module is used to determine the color tendency of the screen image data based on the screen image data on the display screen, and to evaluate the significance of the color tendency of the screen image data.

[0059] The ambient light color temperature acquisition module is used to acquire the overall ambient light color temperature through the light sensor of the mobile phone, monitor the reading change of the overall ambient light color temperature, preset a rate preset value and a color temperature difference threshold. If the rate of change of the overall ambient light color temperature is greater than the rate preset value or the reading difference between different light sensors is greater than the color temperature difference threshold, the local ambient light color temperature is estimated.

[0060] The content color protection module is used to set a limit range to protect the color tendency of screen image data if the color tendency is too significant.

[0061] The target color temperature calculation module is used to preset a complex environment threshold. If the difference between the overall ambient light color temperature and the local ambient light color temperature is greater than the complex environment threshold, a higher weight is assigned to the local ambient light color temperature to calculate the target color temperature; otherwise, the target color temperature is equal to the overall ambient light color temperature.

[0062] The color temperature correction execution module is used to correct the actual color temperature of the display screen according to the limiting range and target color temperature.

[0063] The above scheme provides a system that can implement the above method, which is convenient for practical application.

[0064] As can be seen from the above, the mobile phone LCD screen color temperature adaptive correction method and system provided in this application determines the target color temperature and corrects it by taking into account both the color style of the screen display content itself and the local light environment of the user's focal area. This effectively solves the problem that the color temperature adjustment in the prior art fails to fully consider the content characteristics and local ambient light. Thus, it has the advantage of being able to take into account both the color style of the screen display content itself and the local light environment of the user's focal area, providing a more stable color temperature adjustment that better meets the user's actual viewing needs and content characteristics, thereby improving the user experience. Attached Figure Description

[0065] Figure 1 This is a flowchart illustrating a mobile phone LCD screen color temperature adaptive correction method provided in this application.

[0066] Figure 2 A flowchart illustrating another mobile phone LCD display color temperature adaptive correction method provided in this application.

[0067] Figure 3 This is a schematic diagram of a mobile phone LCD screen color temperature adaptive correction system provided in this application. Detailed Implementation

[0068] The technical solutions of this application will now be clearly and completely described with reference to the accompanying drawings. Obviously, the described embodiments are merely some embodiments of this application, and not all embodiments. The components of this application described and shown in the accompanying drawings can generally be arranged and designed in various different configurations. Therefore, the following detailed description of the embodiments of this application provided in the accompanying drawings is not intended to limit the scope of the claimed application, but merely to illustrate selected embodiments of this application. All other embodiments obtained by those skilled in the art based on the embodiments of this application without inventive effort are within the scope of protection of this application.

[0069] It should be noted that similar reference numerals and letters in the following figures indicate similar items; therefore, once an item is defined in one figure, it does not need to be further defined and explained in subsequent figures. Furthermore, in the description of this application, terms such as "first," "second," etc., are used only to distinguish descriptions and should not be construed as indicating or implying relative importance.

[0070] This application provides a method and system for adaptive color temperature correction of a mobile phone LCD screen, which can take into account both the color style of the displayed content and the local lighting environment of the user's focal area, providing a more stable color temperature adjustment that better meets the user's actual viewing needs and content characteristics, thereby improving the user experience. Detailed explanations follow.

[0071] Please see Figure 1 , Figure 1 This is a flowchart illustrating a color temperature adaptive correction method for a mobile phone LCD screen provided in this application. Figure 1 As shown, the steps of the mobile phone LCD screen color temperature adaptive correction method include:

[0072] Step S101: Determine the color tendency of the screen image data based on the screen image data on the display screen, and evaluate the significance of the color tendency of the screen image data.

[0073] The color tendency of screen image data refers to the inherent and dominant color style of the image or video content currently displayed on the screen, such as a warm or cool color tone. This can be achieved through statistical analysis of the color distribution of image pixels, primarily to identify the color characteristics of the displayed content itself. The color tendency significance refers to the intensity or importance of the color tendency in the screen image data. This can be achieved by evaluating the proportion or saturation of pixels with a specific color tendency in the image, such as calculating the percentage of warm-colored pixels among the total pixels. This is mainly to determine whether protection for that color tendency is necessary.

[0074] In some preferred embodiments, the color tendency of the screen image data is determined by analyzing pixel information, such as calculating the average color temperature of the image or analyzing its distribution on different color temperature axes. Simultaneously, the significance of the color tendency is evaluated by calculating the number of pixels in the image with that color tendency or their saturation. For example, if the image has a high proportion of warm-toned pixels and generally high saturation, the color tendency is considered to be significant.

[0075] Through the above technical solution, this application can effectively solve the problem in the prior art that screen color temperature adaptive correction cannot simultaneously take into account content color reproduction and user visual comfort under complex lighting environments. By analyzing the color tendency of screen image data and setting limits according to its significance, it avoids the screen color temperature being over-adjusted when displaying content with a specific color style, thus preventing damage to the original visual experience of the content.

[0076] Step S102: Obtain the overall ambient light color temperature through the light sensor of the mobile phone, monitor the change in the reading of the overall ambient light color temperature, preset a rate preset value and a color temperature difference threshold, and estimate the local ambient light color temperature if the rate of change of the overall ambient light color temperature is greater than the rate preset value or the difference in readings between different light sensors is greater than the color temperature difference threshold.

[0077] The overall ambient light color temperature refers to the average color temperature of the light in a large area of ​​the environment in which the phone is located. It can be calculated using the phone's built-in light sensors to obtain the color information of the ambient light, such as using an RGB sensor or a multispectral sensor. Its main purpose is to reflect the overall lighting characteristics of the user's environment. The local ambient light color temperature refers to the color temperature of the light in a small area of ​​the environment near the user's focal point or the phone screen. It can be estimated by analyzing image data of the user's field of vision area or by using data from multiple distributed sensors, such as analyzing reflected light around the screen. Its main purpose is to more accurately reflect the lighting environment actually perceived by the user's eyes.

[0078] In some embodiments of this application, a scheme is proposed to obtain the overall ambient light color temperature through the light sensor of a mobile phone, monitor the change in the reading of the overall ambient light color temperature, preset a rate preset value and a color temperature difference threshold, and estimate the local ambient light color temperature if the rate of change of the overall ambient light color temperature is greater than the rate preset value or the difference in readings between different light sensors is greater than the color temperature difference threshold. Specifically, estimating the local ambient light color temperature can be achieved by briefly activating the front-facing camera of the mobile phone and estimating the local ambient light color temperature by analyzing the environmental image data of the user's focal area obtained by the front-facing camera. However, relying solely on the ambient light color temperature information obtained by the light sensor cannot accurately reflect the actual lighting conditions of the user's focal area under complex lighting conditions, resulting in poor color temperature correction.

[0079] In this regard, this application further proposes steps for estimating the local ambient light color temperature, including:

[0080] The overall ambient light color temperature is obtained through the mobile phone's light sensor, and the changes in the overall ambient light color temperature reading are monitored.

[0081] Preset speed preset value and color temperature difference threshold;

[0082] If the rate of change of the overall ambient light color temperature is greater than the preset rate value or the difference in readings between different light sensors is greater than the color temperature difference threshold, the front-facing camera of the mobile phone will be activated briefly.

[0083] The environmental image data of the user's field of vision area is acquired by the front-facing image capture device. The environmental image data is analyzed according to a certain white balance analysis method to estimate the local ambient light color temperature.

[0084] Among them, the user's visual focus area refers to the local space range of the screen and its surroundings that the user's eyes mainly focus on when using a mobile phone. It can be achieved by eye-tracking technology, face / eye recognition and gaze direction analysis based on the front camera, or simply by assuming a specific distance and angle range in front of the screen. A certain white balance analysis method refers to identifying white or gray areas in the image by analyzing the pixel value distribution of different color channels in the image data, and inferring the color temperature of the ambient light based on the color information of these areas. It can be achieved by using grayscale world algorithm, white point balance algorithm, scene recognition and white balance adjustment algorithm based on machine learning, etc.

[0085] In some preferred embodiments, the mobile phone is equipped with one or more light sensors, typically located above the screen. The system continuously reads data from these sensors to calculate the overall ambient light color temperature. Simultaneously, it records color temperature readings at consecutive time points and calculates the rate of change. If the phone is equipped with multiple light sensors, the difference in readings between them is calculated. A preset rate value and a color temperature difference threshold are established. When the overall color temperature change rate is detected to be greater than the preset rate value, or the difference in readings between different light sensors is greater than the color temperature difference threshold, the system triggers the activation of the front-facing camera. The front-facing camera briefly activates, capturing one or several consecutive frames containing an image of the user's face and the area surrounding the screen. The image processing module receives this image data and applies a white balance analysis algorithm, for example, finding pixel areas in the image that are close to neutral gray, and calculates the current local ambient light color temperature based on the RGB values ​​of these pixels. This estimated local color temperature is then used for subsequent target color temperature calculations.

[0086] By employing the aforementioned technical solution, and analyzing images of the user's focal area captured by the front-facing camera when ambient light changes rapidly or presents complexity, the perceived local ambient light color temperature can be estimated more accurately. This overcomes the inaccuracy of relying solely on light sensors in complex lighting environments, providing more reliable input data for subsequent screen color temperature correction. Therefore, more precise adaptive screen color temperature correction can be achieved, improving user visual comfort and the accuracy of content color reproduction in complex lighting conditions.

[0087] Step S103: If the color bias is significant, a limit range is set to protect the color bias of the screen image data.

[0088] The limitation range refers to the upper and lower limits of the actual color temperature adjustment allowed for the display screen during the color temperature calibration process. It can be achieved by setting a color temperature range based on the color tendency of the screen image data. For example, the limitation range can be set within ± a certain fixed value or proportion of the detected content color temperature. Its main purpose is to protect the original color style of the screen image data from being excessively changed.

[0089] In some of the embodiments described above in this application, the screen color temperature is adjusted based on a combination of screen content and ambient light. However, in the implementation process, if the color bias is significant and the color bias of the screen image data is not protected, the actual color temperature adjustment of the display screen may deviate from the color bias of the screen image data itself, thereby affecting the user's visual experience.

[0090] In this regard, this application further proposes the following steps for a mobile phone LCD screen color temperature adaptive correction method:

[0091] If the color tendency is highly pronounced, then the restriction range is set according to the color tendency;

[0092] If the overall ambient light color temperature changes, the actual color temperature of the display screen will not exceed the limit range, thus protecting the color bias.

[0093] If the color bias is relatively low, there is no restriction on the actual color temperature of the display screen.

[0094] Specifically, if the color bias is significant, a limit range is set based on the color bias. This means that when the system determines that the image content displayed on the screen has a significant color bias, such as being warmer or cooler, it will determine a range within which the actual screen color temperature can be adjusted. This range is the limit range, and its purpose is to set boundaries for subsequent color temperature adjustments, ensuring that the adjusted screen color temperature does not deviate excessively from the color style of the image content itself. If the overall ambient light color temperature changes, the actual color temperature of the display screen will not exceed the limit range. Protecting the color bias means that when the color temperature of the external ambient light changes, the actual color temperature of the display screen will not exceed the limit range. When the ambient light changes and the screen color temperature needs to be adjusted to adapt to the environment, the actual color temperature adjustment of the screen will be constrained within a preset limit range. Even if the target color temperature calculated based on the ambient light exceeds this range, the final actual color temperature will still be limited within the range, thereby avoiding excessive screen color temperature shift and maintaining the original color style of the screen content. If the color bias is low, the actual color temperature of the display screen will not be restricted. This means that when the color bias of the screen image content is not obvious, the system will not impose restrictions on the screen color temperature adjustment, allowing the screen color temperature to be freely adjusted according to changes in ambient light to achieve the best visual comfort.

[0095] Specifically, when the system detects that a user is viewing an image with a strong warm color tone, such as a sunset photo, it determines that the screen image data has a warm color tendency with a high degree of significance. At this point, the system sets a color temperature adjustment limit based on this warm color tendency, for example, setting the upper limit of the screen color temperature to a relatively low value (corresponding to a warm color temperature), such as 5000K, and the lower limit to 3000K. Subsequently, if the user moves from an indoor warm-light environment to an outdoor cool-light environment, the ambient light color temperature changes, for example, from 3000K to 6500K. The target color temperature calculated based on the ambient light may be too high, for example, 6000K. However, because a limit range (3000K-5000K) is set, the actual color temperature adjustment of the display will be limited to this range, for example, adjusted to 4800K, instead of directly adjusting to 6000K. In this way, although the screen adjusts towards a cooler color direction to adapt to the environment, it still maintains the original warm color tone of the image. On the other hand, if a user is browsing a webpage without a significant color bias, the system will determine that the color bias of the screen image data is relatively low. In this case, the system will not set a limit on the color temperature adjustment range. When the ambient light color temperature changes, the actual color temperature of the display screen can be freely adjusted according to the changes in ambient light, for example, to perfectly match the ambient light color temperature to provide optimal visual comfort.

[0096] Through the above technical solution, when the screen image data has a significant color bias, by setting a limit range for color temperature adjustment, it is ensured that the actual color temperature adjustment of the display screen does not deviate excessively from the color style of the image itself. Even if the overall ambient light color temperature changes, the actual color temperature of the display screen can be adjusted within the limited range, thereby protecting the color bias of the screen content, avoiding color distortion or style changes, and improving the user's visual experience when viewing content with a specific color style. When the color bias is less pronounced, the actual color temperature of the display screen is allowed to adjust freely to better adapt to ambient light and improve viewing comfort.

[0097] In some of the embodiments described above in this application, a scheme is proposed to set a limit range to protect the color tendency of the screen image data if the color tendency of the screen image data is highly significant. However, in its implementation, if the color tendency of the screen image data is highly significant and the rate of color tendency change is high, it is insufficient to protect the color tendency by limiting the range alone to cope with rapidly changing content, resulting in frequent adjustments to the screen color temperature and causing visual discomfort.

[0098] In response, this application further proposes that if the color tendency of the screen image data is highly significant and the rate of color tendency change is high, then a limiting range is set to protect the color tendency of the screen image data. The steps also include:

[0099] If the color tendency of the screen image data is significant and the rate of color tendency change is high, the stability of the ambient light color temperature can be determined by comparing the overall ambient light color temperature over several consecutive times.

[0100] If the color temperature is stable, calculate the average color temperature of the overall ambient light over several consecutive times to obtain the reference comfortable color temperature point.

[0101] A tolerance range for content color temperature fluctuations is set with the reference comfortable color temperature point as the center, and a threshold for continuous deviation time is also set.

[0102] By continuously acquiring color tendencies with high rates of change and their corresponding color tendency significance, a set of color tendency change data is obtained.

[0103] If the ideal color temperature matching the color tendency change data is within the tolerance range of the content color tone fluctuation or the duration is less than the continuous deviation time threshold, then the actual color temperature of the display screen will be maintained near the reference comfortable color temperature point.

[0104] If the ideal color temperature matching the color tendency change data exceeds the tolerance range of the content color tone fluctuation or the duration exceeds the continuous deviation time threshold, the actual color temperature of the display screen will be adjusted smoothly towards the corresponding color temperature direction.

[0105] High color tendency significance and high rate of color tendency change refer to screen image data not only having a distinct dominant color, but also a color temperature characteristic of this dominant color changing rapidly and significantly within a short period of time. This can be determined by analyzing the color histogram, average color temperature, or rate of change of the proportion of specific color regions in consecutive frames of images. The purpose is to identify dynamic content scenes that require special processing. Stable ambient light color temperature refers to the overall ambient light color temperature remaining relatively constant or fluctuating little over a period of time. This can be determined by calculating the standard deviation or maximum-minimum difference of several consecutive overall ambient light color temperature readings. The purpose is to distinguish the ambient light itself. The impact of stability on screen color temperature adjustment strategies; the reference comfortable color temperature point refers to a baseline color temperature value determined based on the average overall ambient light color temperature over a period of time when ambient light is stable. It can be obtained by averaging or weighted averaging continuously collected overall ambient light color temperature data. Its purpose is to provide a relatively stable starting point for screen color temperature that the user may have already adapted to; the content color temperature fluctuation tolerance range refers to a range of screen color temperature fluctuations allowed centered on the reference comfortable color temperature point. Its width can be dynamically set according to user preferences, current application type, or ambient light characteristics, with the aim of filtering out transient or slight changes in content color. Avoid unnecessary screen color temperature adjustments; the sustained deviation time threshold refers to the maximum time that a content color change is allowed to persist after it exceeds the tolerance range for content color fluctuations. This threshold can be determined based on the human eye's perception of color temperature changes or user settings, and its purpose is to distinguish between brief screen flickering and continuous changes in content color style; color tendency change data refers to a series of continuously collected information about the color tendency and its significance of the screen image when the color tendency of the screen image data is high in both significance and rate of change. This can include the average color temperature, dominant hue, color saturation, and corresponding significance evaluation value for each moment or each frame. Its purpose is to fully reflect the dynamic characteristics of the content's color; ideal matching color temperature refers to the theoretically most suitable screen color temperature value for display based on the color tendency and salience of the current screen image data. It can be calculated or obtained by looking up a table based on the color temperature characteristics and salience of the color tendency. Its purpose is to indicate in which direction the screen color temperature should be adjusted to match the content color; gradual adjustment refers to a gradual and non-abrupt change in the actual color temperature of the display screen towards the target color temperature. It can use methods such as linear interpolation, exponential decay, or piecewise functions to gradually change the screen color temperature over a certain period of time. Its purpose is to reduce the user's perception of color temperature changes and improve visual comfort.

[0106] Through the above technical solution, this application can effectively avoid frequent and abrupt adjustments to the display's color temperature when the color tendency of the screen image data is highly significant and the rate of color tendency change is high. By judging the stability of ambient light and setting a reference comfortable color temperature point, a tolerance range for content color fluctuations, and a threshold for continuous deviation time, the system can intelligently distinguish between short-term fluctuations and continuous changes, responding only to continuous and significant changes in content color. At the same time, by adopting a smooth adjustment method, the screen color temperature change process is smoother, significantly improving the user's visual comfort when viewing dynamic content, protecting the color style of the content itself, and providing a better viewing experience.

[0107] Step S104: A complex environment threshold is preset. If the difference between the overall ambient light color temperature and the local ambient light color temperature is greater than the complex environment threshold, a higher weight is set for the local ambient light color temperature, and the target color temperature is calculated. Otherwise, the target color temperature is equal to the overall ambient light color temperature.

[0108] Among them, the target color temperature refers to the ideal color temperature value calculated by the system to guide the actual color temperature adjustment of the display screen. It can be achieved by comprehensively considering factors such as the color tendency of the screen image data, the overall ambient light color temperature, and the local ambient light color temperature, and performing weighted calculations or logical judgments. For example, the weight of the local color temperature is determined based on the difference between the overall and local ambient light color temperatures. Its main purpose is to determine a correction target that takes into account both the content color and the ambient lighting.

[0109] In some of the embodiments described above in this application, a threshold for a complex environment is preset. If the difference between the overall ambient light color temperature and the local ambient light color temperature is greater than the threshold, a higher weight is assigned to the local ambient light color temperature to calculate the target color temperature. Otherwise, the target color temperature is equal to the overall ambient light color temperature. In its implementation, it simply determines whether to use the overall color temperature or assign a higher weight to the local color temperature based on whether the difference is greater than the threshold. This binary judgment method may not be precise enough and cannot fully reflect the continuous changes in the complexity of ambient light. As a result, when the difference is close to the threshold, the color temperature adjustment may change abruptly, affecting the user's experience of a smooth visual transition. Furthermore, if the difference is greater than the threshold, only the local ambient light color temperature is assigned a higher weight without clearly defining the weight of the overall ambient light color temperature, which may result in an unclear or inflexible calculation method.

[0110] In response, this application further proposes a step of pre-setting a complex environment threshold. If the difference between the overall ambient light color temperature and the local ambient light color temperature is greater than the complex environment threshold, then a higher weight is assigned to the local ambient light color temperature to calculate the target color temperature; otherwise, the target color temperature equals the overall ambient light color temperature.

[0111] Calculate the difference between the overall ambient light color temperature and the local ambient light color temperature;

[0112] A threshold for complex environments is preset. If the difference is greater than the threshold for complex environments, it indicates that the ambient light is complex. A higher local weight is set for the local ambient light color temperature, and a lower overall weight is set for the overall ambient light color temperature.

[0113] The target color temperature is calculated based on the overall ambient light color temperature, the local ambient light color temperature, the local weight, and the overall weight.

[0114] If the difference is less than the complex environment threshold, then the target color temperature is equal to the overall ambient light color temperature.

[0115] Among them, the complex environment threshold refers to a preset value used to define the degree of difference between the overall ambient light color temperature and the local ambient light color temperature. When the difference exceeds this threshold, the system determines that the current ambient lighting conditions are complex and different color temperature calculation strategies need to be adopted. Its purpose is to provide a basis for judging the complexity of ambient light. Local weight refers to a numerical coefficient assigned to the local ambient light color temperature when calculating the target color temperature. This coefficient reflects the proportion of the local ambient light color temperature in the final target color temperature. Overall weight refers to a numerical coefficient assigned to the overall ambient light color temperature when calculating the target color temperature. This coefficient reflects the proportion of the overall ambient light color temperature in the final target color temperature.

[0116] This application's solution determines the complexity of ambient light by calculating the difference between the overall ambient light color temperature and the local ambient light color temperature, and comparing it to a preset complex environment threshold. Because a higher local weight is assigned to the local ambient light color temperature and a lower overall weight to the overall ambient light color temperature when the ambient light is complex (difference greater than the threshold), and the target color temperature is calculated based on these two weights and their corresponding color temperatures, the target color temperature more closely reflects the local illumination in the user's focal area, thus more closely resembling the user's actual visual perception. Conversely, when the ambient light is not complex (difference less than the threshold), the target color temperature is directly set to the overall ambient light color temperature, simplifying the calculation and making it applicable to most common scenarios.

[0117] In some preferred embodiments, the difference between the overall ambient light color temperature and the local ambient light color temperature can be calculated using an absolute value method. A preset complex environment threshold can be determined based on extensive user test data or empirical values. If the difference exceeds the complex environment threshold, a higher fixed value (e.g., 0.7 or 0.8) can be set for the local weight, while a lower fixed value (e.g., 0.3 or 0.2) can be set for the overall weight, and the sum of the local and overall weights can equal 1. The target color temperature can be calculated using a weighted average formula: Target color temperature = Local ambient light color temperature * Local weight + Overall ambient light color temperature * Overall weight. For example, if the overall ambient light color temperature is 5000K, the local ambient light color temperature is 3000K, and the complex environment threshold is 1500K, the difference is 2000K, which is greater than the threshold. Therefore, the local weight is set to 0.7, and the overall weight to 0.3. The target color temperature is calculated as: 3000K * 0.7 + 5000K * 0.3 = 2100K + 1500K = 3600K. If the difference is less than the complex environment threshold, for example, if the overall ambient light color temperature is 5000K and the local ambient light color temperature is 4500K, the difference is 500K, which is less than the threshold. Therefore, the target color temperature is directly equal to the overall ambient light color temperature of 5000K.

[0118] The above technical solution can dynamically adjust the influence of local ambient light color temperature in the target color temperature calculation based on the difference between the overall ambient light color temperature and the local ambient light color temperature. This allows the screen color temperature to more accurately match the actual lighting environment of the user's focal area when the ambient light is complex and the overall and local lighting differences are significant. This effectively solves the problem of inaccurate screen color temperature correction under complex lighting conditions and improves the accuracy of adaptive color temperature correction and user visual comfort.

[0119] Step S105: Correct the actual color temperature of the display screen according to the limiting range and target color temperature.

[0120] The system calibrates the actual color temperature of the display screen based on the previously set limits and the calculated target color temperature. The calibration process ensures that the adjusted actual color temperature is as close as possible to the target color temperature, while not exceeding the limits set to protect the color bias of the content.

[0121] In this application, the color tendency of the screen image data is determined based on the screen image data on the display screen, and the significance of the color tendency of the screen image data is evaluated. The overall ambient light color temperature is obtained through the phone's light sensor, and the changes in the overall ambient light color temperature reading are monitored. A preset rate value and a color temperature difference threshold are set. If the rate of change of the overall ambient light color temperature is greater than the preset rate value or the difference in readings between different light sensors is greater than the color temperature difference threshold, the local ambient light color temperature is estimated. If the color tendency significance is high, a limiting range is set to protect the color tendency of the screen image data. A complex environment threshold is preset. If the difference between the overall ambient light color temperature and the local ambient light color temperature is greater than the complex environment threshold, a higher weight is assigned to the local ambient light color temperature, and the target color temperature is calculated; otherwise, the target color temperature is equal to the overall ambient light color temperature. Based on the limiting range and the target color temperature, the actual color temperature of the display screen is corrected. Through this series of steps, both the color style of the displayed content itself and the local light environment of the user's focal area can be considered, providing a more stable color temperature adjustment that better meets the user's actual viewing needs and content characteristics, thus improving the user experience.

[0122] The core innovation of this application lies in combining the color tendency analysis of screen image data with the acquisition and judgment of overall ambient light color temperature and local ambient light color temperature, and setting a limit range based on the significance of color tendency. At the same time, a higher weight is given to local ambient light color temperature under complex ambient light conditions. Thus, while protecting the original color style of screen image data, the screen color temperature is adjusted more accurately according to the local lighting environment actually perceived by the user, thereby improving the user's visual comfort and maintaining the accuracy of content color.

[0123] Please see Figure 2 , Figure 2 This is a flowchart illustrating another mobile phone LCD screen color temperature adaptive correction method provided in this application. Figure 2 As shown, the steps of the mobile phone LCD screen color temperature adaptive correction method include:

[0124] Step S201: Monitor the local ambient light color temperature in the focal area of ​​the user's line of sight. Set a color temperature change detection threshold. If the color temperature change of the local ambient light in a very short time is greater than the color temperature change detection threshold, then the color temperature change is determined to be a potential lighting event.

[0125] In some of the embodiments described above in this application, a method for correcting the actual color temperature of a display screen based on the ambient light color temperature is proposed. Specifically, this method can obtain the overall ambient light color temperature through the light sensor of a mobile phone, calculate the target color temperature based on the color temperature, and then correct the actual color temperature of the display screen. This can make the screen display color temperature coordinated with the ambient light. However, in its implementation, when the ambient light around the user changes rapidly and briefly, such as when the light source is quickly switched or there is a brief light interference, if the screen color temperature is adjusted immediately, the frequent color temperature changes will cause visual discomfort to the user. Furthermore, these brief light changes may not represent the long-term viewing environment that the user expects. Therefore, a method is needed to distinguish between real ambient light changes and brief light events to avoid unnecessary screen color temperature adjustments.

[0126] Among them, the color temperature change detection threshold is a preset value used to measure whether the color temperature change of local ambient light has reached a level sufficient to trigger further judgment. It can be set according to experience or user preference, and its purpose is to filter out color temperature fluctuations below the threshold. Potential lighting events refer to situations where the color temperature of local ambient light changes by more than the color temperature change detection threshold in a short period of time. It is a lighting change that the system identifies that may need to be processed, and its purpose is to mark the lighting changes that need further analysis.

[0127] Step S202: If a potential light event occurs, start a light event observation period of a preset duration.

[0128] The light event observation period refers to a preset time period that the system enters after a potential light event is determined to have occurred. During this period, the ambient light color temperature is continuously monitored. The duration can be set according to the system response speed or user experience requirements. Its purpose is to provide a time window for analyzing the persistence of light changes.

[0129] Step S203: During the observation period of the illumination event, the local ambient light color temperature is collected, and the persistence characteristics of the potential illumination event are analyzed based on the local ambient light color temperature. The persistence characteristics are used to characterize whether the local ambient light color temperature has recovered to the reference level before the potential illumination event or whether it has formed a stable state at the new color temperature level.

[0130] In some embodiments described above, this application proposes monitoring the local ambient light color temperature in the user's focal area and determining potential lighting events based on the changes in local ambient light color temperature over a very short time. An observation period for the lighting event is then initiated to analyze its persistence characteristics, thereby determining whether to adjust the actual color temperature of the display screen. Specifically, analyzing the persistence characteristics of potential lighting events can be achieved by simply determining whether the local ambient light color temperature collected during the observation period fluctuates within a preset fixed range, thus determining whether a stable state has been formed at the new color temperature level. This allows for an initial response to sudden changes in lighting. However, in its implementation, judging the stable state solely based on a fixed range fails to consider the inherent fluctuation characteristics of different ambient lights. This may lead to misjudging normal ambient light fluctuations as a stable state, or misjudging a new color temperature state that has actually stabilized as unstable, resulting in frequent or erroneous color temperature adjustments and impacting the user experience.

[0131] In response, this application further proposes a step for analyzing the persistence characteristics of potential illumination events based on local ambient light color temperature. The persistence characteristics are used to characterize whether the local ambient light color temperature recovers to the baseline level before the potential illumination event or whether a stable state is formed at the new color temperature level. This step includes:

[0132] To obtain the fluctuation characteristics of the baseline local ambient light color temperature before a potential lighting event occurs;

[0133] Determine stability criteria based on fluctuation characteristics;

[0134] Using established stability criteria, the local ambient light color temperature collected during the observation period of the illumination event is analyzed to determine whether the local ambient light color temperature has reached a stable state at the new color temperature level.

[0135] Among them, the fluctuation characteristics of the reference local ambient light color temperature before the occurrence of a potential lighting event refer to the inherent laws or statistical characteristics of the change of local ambient light color temperature over time during a period before the occurrence of a potential lighting event. It can be achieved by recording and analyzing statistical quantities such as the maximum value, minimum value, average value, standard deviation, rate of change, and frequency of change of local ambient light color temperature during this period. Its purpose is to establish a reference model reflecting the color temperature fluctuation under the current stable state of ambient light. The stability criterion refers to the set of standards or rules used to determine whether the local ambient light color temperature has formed a stable state at the new color temperature level. It can be determined by statistical methods (such as setting a standard deviation threshold or a rate of change threshold) or rule-based methods (such as setting the color temperature change to be less than a certain value within a continuous period of time). Its purpose is to provide a quantitative judgment basis that is adapted to the characteristics of ambient light itself.

[0136] Specifically, before a potential lighting event occurs, the system can continuously collect local ambient light color temperature data for a period of time (e.g., the first 30 seconds) and calculate the standard deviation and the difference between the maximum and minimum values ​​of this data. These statistics are used as the fluctuation characteristics of the baseline local ambient light color temperature. Then, a stability criterion is determined based on these fluctuation characteristics. For example, the stability criterion can be set as follows: the standard deviation of the local ambient light color temperature collected during the lighting event observation period is less than a certain multiple of the baseline standard deviation, and the color temperature change amplitude in a certain period at the end of the observation period (e.g., the last 5 seconds) is less than a certain threshold. During the lighting event observation period, the system continuously collects local ambient light color temperature data and calculates the statistics of this data throughout the observation period or at the end of the observation period. These statistics are compared with the previously determined stability criterion. If the stability criterion is met, it is determined that the local ambient light color temperature has reached a stable state at the new color temperature level.

[0137] By using the above technical solution, the fluctuation characteristics of the local ambient light color temperature before a potential lighting event occurs are obtained, and a stability criterion is determined based on these fluctuation characteristics. Then, the color temperature data during the observation period of the lighting event is analyzed using this criterion. This allows for a more accurate determination of whether the local ambient light color temperature has reached a stable state at the new color temperature level. This avoids misjudgments caused by normal fluctuations or temporary changes in ambient light, reduces unnecessary screen color temperature adjustments, and improves the accuracy of the judgment.

[0138] In some of the embodiments described above in this application, how to determine whether the local ambient light color temperature has recovered to the reference level before the potential lighting event occurred, and avoid judgment deviation or unnecessary screen color temperature adjustment, is a problem that needs to be solved.

[0139] In response, this application further proposes a step for analyzing the persistence characteristics of potential illumination events based on local ambient light color temperature. The persistence characteristics are used to characterize whether the local ambient light color temperature recovers to the baseline level before the potential illumination event or whether a stable state is formed at the new color temperature level. This step includes:

[0140] During the observation period of the illumination event, the local ambient light color temperature was continuously monitored;

[0141] Determine whether the local ambient light color temperature remains within a preset range of the baseline level before a potential lighting event occurs for a preset duration.

[0142] Determine whether the local ambient light color temperature has recovered to the baseline level before the potential lighting event occurred.

[0143] The baseline level before a potential lighting event refers to the stable or average level of the local ambient light color temperature before the event occurs. It can be calculated from local ambient light color temperature data collected over a period of time before the event and serves as a reference standard for determining whether the color temperature has recovered. The preset duration refers to the length of time required to determine whether the local ambient light color temperature has recovered to the baseline level. It can be a fixed time value or dynamically determined based on factors such as the current usage scenario. Its purpose is to ensure that the color temperature recovery is stable rather than subject to short-term fluctuations. The preset range refers to an allowable fluctuation range set around the baseline level before the potential lighting event. It can be a fixed range of color temperature differences or dynamically determined based on the fluctuation characteristics of the baseline level. Its purpose is to allow reasonable minor fluctuations in color temperature during the recovery process and avoid overly strict judgments that could lead to bias.

[0144] In some embodiments, this application is implemented as follows. Assume the system detects a potential illumination event and records a local ambient light color temperature reference level of 5000K before the event occurs. The system initiates an illumination event observation period of 5 seconds. The preset duration is set to 2 seconds, and the preset range is set to ±200K of the reference level, i.e., 4800K to 5200K. During the observation period, the system continuously monitors the local ambient light color temperature, for example, collecting data every 0.1 seconds. The collected color temperature data sequence can be: 5800K (at the time of the event), 5500K, 5300K, 5100K, 5050K, 4980K, 5020K, 5010K, 4990K, 5030K, 5000K, 4970K, 5040K, 5010K, 4990K. The system checks if, within the 5-second observation period, there exists a consecutive 2-second (preset duration) timeframe where the corresponding color temperature data falls within the 4800K to 5200K (preset range). For example, starting from 0.4 seconds (color temperature 5100K) to 2.2 seconds (color temperature 5030K), this period exceeds 2 seconds, and all color temperature values ​​(5100K, 5050K, 4980K, 5020K, 5010K, 4990K, 5030K) fall within the 4800K to 5200K range. Based on this judgment, the system determines that the local ambient light color temperature has returned to the baseline level before the potential lighting event occurred. At this time, the actual color temperature of the display screen will remain unchanged.

[0145] By continuously monitoring the local ambient light color temperature during the observation period of a potential lighting event and determining whether it remains within a preset range of the baseline level before the event for a predetermined duration, it is possible to determine whether the local ambient light color temperature has recovered to the baseline level before the potential lighting event. This avoids judgment bias caused by brief fluctuations in illumination, improves the accuracy of color temperature recovery assessment, avoids unnecessary adjustments to the display screen's color temperature, enhances the stability and reliability of screen color temperature adaptive correction, and improves the user's visual experience.

[0146] In some of the embodiments described above in this application, it is proposed to continuously monitor the local ambient light color temperature during the observation period of a lighting event, determine whether the local ambient light color temperature remains within a preset range of the baseline level before the potential lighting event occurs within a preset duration, and determine whether the local ambient light color temperature has recovered to the baseline level before the potential lighting event occurs. This way, the actual color temperature of the display screen can be maintained based on the continuous change of the local ambient light color temperature. However, in its implementation, if a fixed preset duration and preset range are used, it may not be able to accurately adapt to the user's current usage scenario, ongoing visual task, or user's personalized preferences, resulting in insufficiently fine color temperature adjustment and affecting the user experience.

[0147] In this regard, this application further proposes a step for determining whether the local ambient light color temperature remains within a preset range of a reference level prior to the occurrence of a potential lighting event for a preset duration, including:

[0148] Obtain parameters that represent the user's current usage scenario, ongoing visual task, or personalized user preferences;

[0149] Based on the acquired parameters, determine a preset duration or preset range for judging whether the local ambient light color temperature has recovered to the baseline level before the potential lighting event occurred.

[0150] Among them, the parameters representing the user's current usage scenario, ongoing visual task, or personalized preferences refer to data that reflects the external environment, ongoing operation type, or user's personal settings and habits when the user is currently using the phone. These can be implemented using the type of application currently running, the brightness of the ambient light, the user's set display mode, and the user's historical usage data. The purpose is to provide a basis for the subsequent dynamic adjustment of the threshold for judging color temperature recovery. The preset duration refers to the shortest time that the color temperature needs to be monitored to remain stable within a certain range when judging whether the local ambient light color temperature has recovered to the reference level. This can be implemented using a time value, and its purpose is to avoid misjudgment caused by instantaneous fluctuations. The preset range refers to the range of amplitude within which the color temperature is allowed to fluctuate around the reference level when judging whether the local ambient light color temperature has recovered to the reference level. This can be implemented using a color temperature difference or a color temperature range, and its purpose is to define the judgment boundary of "recovery to the reference level".

[0151] In some preferred embodiments, specifically, the system can obtain the type of application the user is currently using as a parameter characterizing the visual task the user is performing. For example, when the system detects that the user is using an e-book reading application, it can determine a relatively long preset duration (e.g., a few seconds) and allow a relatively large preset range (e.g., a few hundred kilohertz fluctuation around the reference color temperature) to ensure that screen color temperature adjustment is only performed after the ambient light color temperature has stabilized for a period of time, avoiding interruption to the user's reading experience. When the system detects that the user is using an image editing application, it can determine a relatively short preset duration (e.g., less than one second) and set a relatively small preset range (e.g., a few tens of kilohertz fluctuation around the reference color temperature) to ensure that the screen color temperature can quickly and accurately recover to a reference level suitable for color judgment. In addition, the system can also obtain the eye protection mode status enabled by the user in the display settings as a parameter of the user's personalized preferences. If eye protection mode is enabled, even if the ambient light color temperature recovers to the reference, the preset duration can be appropriately extended or the preset range adjusted to maintain a comfortable color temperature in eye protection mode.

[0152] The above technical solution can dynamically determine the duration or range required to determine whether the local ambient light color temperature has recovered to the reference level based on the user's current usage scenario, visual task, or personalized preferences. This enables more precise and user-friendly color temperature adaptive correction, improving the accuracy of color temperature adjustment and the comfort of the user experience.

[0153] In step S204, if the local ambient light color temperature quickly recovers to the reference level, the actual color temperature of the display screen remains unchanged; if the local ambient light color temperature reaches a stable state at the new color temperature level, the actual color temperature of the display screen is adjusted to the new color temperature.

[0154] The baseline level refers to the relatively stable value or range of local ambient light color temperature before a potential lighting event occurs. It serves as a reference point for determining whether the color temperature has recovered and aims to provide a stable reference state. The new color temperature level refers to a new stable value or range that the local ambient light color temperature may reach after a potential lighting event occurs. It serves as a reference point for determining whether the color temperature is stable in the new state and aims to provide a potential new stable state.

[0155] In this application's solution, the system continuously monitors the local ambient light color temperature in the user's focal area. When the detected change in local ambient light color temperature exceeds a preset color temperature change detection threshold within a very short time, the system does not immediately adjust the screen color temperature. Instead, it identifies this change as a potential lighting event and initiates a preset observation period for the lighting event. During the observation period, the system continuously collects local ambient light color temperature data and analyzes the persistence characteristics of the potential lighting event based on this data. This persistence characteristic analysis is a crucial step in the solution, determining whether the local ambient light color temperature has rapidly recovered to the baseline level before the potential lighting event or has already reached a stable state at a new color temperature level. Through this observation and analysis process, the system can distinguish between transient lighting interferences (such as fleeting lights or shadows) and lighting events representing real environmental changes (such as a user moving from indoors to outdoors). If the analysis results indicate that the local ambient light color temperature has rapidly recovered to the baseline level, it means that the previous change was only a transient phenomenon, and the system maintains the current actual color temperature of the display screen unchanged, avoiding unnecessary adjustments. Conversely, if the analysis results indicate that the local ambient light color temperature has stabilized at a new color temperature level, meaning that the ambient light has undergone continuous change, the system will adjust the actual color temperature of the display screen to this new color temperature level to adapt to the new ambient light conditions. For example, the system continuously monitors the local ambient light color temperature obtained through analysis of the front-facing camera. Assume the current local ambient light color temperature is stable at a reference level. Suddenly, an external light source flashes briefly, causing the local ambient light color temperature to rise rapidly within tens of milliseconds, exceeding a preset color temperature change detection threshold. The system determines this to be a potential lighting event and immediately initiates a two-second observation period. During these two seconds, the system continuously collects local ambient light color temperature data. If, within these two seconds, the local ambient light color temperature rapidly drops and remains within a preset range close to the reference level before the end of the observation period, the system determines that the color temperature has returned to the reference level. At this point, the actual color temperature of the display screen will remain unchanged. As another scenario, suppose a user moves from one room to another, and the local ambient light color temperature changes rapidly, exceeding the color temperature change detection threshold; the system then initiates an observation period. During the observation period, the local ambient light color temperature rapidly reaches a new value and remains near that value throughout the observation period, with fluctuations within a preset range. The system then determines that the local ambient light color temperature has reached a stable state at the new color temperature level. At this point, the actual color temperature of the display screen will be adjusted according to this new stable color temperature.

[0156] This delayed judgment and continuous analysis mechanism helps maintain stable screen color temperature adjustments, avoiding visual discomfort caused by brief changes in lighting. Combined with the basic solution's adjustment based on ambient light color temperature, this approach, in complex or rapidly changing environments, determines when and how to adjust color temperature based on the persistence of lighting events. This improves screen display stability while maintaining harmony with ambient light, reducing visual discomfort caused by frequent fluctuations in screen color temperature and enhancing viewing comfort.

[0157] Please see Figure 3 , Figure 3 This is a schematic diagram of the structure of a mobile phone LCD screen color temperature adaptive correction system proposed in this application. The mobile phone LCD screen color temperature adaptive correction system 300 includes: a content color analysis module 301, an ambient light color temperature acquisition module 302, a content color protection module 303, a target color temperature calculation module 304, and a color temperature correction execution module 305.

[0158] The content color analysis module 301 is used to determine the color tendency of the screen image data based on the screen image data on the display screen, and to evaluate the significance of the color tendency of the screen image data.

[0159] The ambient light color temperature acquisition module 302 is used to acquire the overall ambient light color temperature through the light sensor of the mobile phone, monitor the reading change of the overall ambient light color temperature, preset a rate preset value and a color temperature difference threshold, and estimate the local ambient light color temperature if the rate of change of the overall ambient light color temperature is greater than the rate preset value or the reading difference between different light sensors is greater than the color temperature difference threshold.

[0160] The content color protection module 303 is used to set a limit range to protect the color tendency of the screen image data if the color tendency is too significant.

[0161] The target color temperature calculation module 304 is used to preset a complex environment threshold. If the difference between the overall ambient light color temperature and the local ambient light color temperature is greater than the complex environment threshold, a higher weight is set for the local ambient light color temperature to calculate the target color temperature. Otherwise, the target color temperature is equal to the overall ambient light color temperature.

[0162] The color temperature correction execution module 305 is used to correct the actual color temperature of the display screen according to the limiting range and the target color temperature.

[0163] In one embodiment, the ambient light color temperature acquisition module 302 is further configured to acquire the overall ambient light color temperature through the light sensor of the mobile phone, monitor the reading change of the overall ambient light color temperature; preset a rate preset value and a color temperature difference threshold; if the rate of change of the overall ambient light color temperature is greater than the rate preset value or the reading difference between different light sensors is greater than the color temperature difference threshold, then briefly activate the front-facing image capture device of the mobile phone; acquire environmental image data of the user's focal area through the front-facing image capture device, analyze the environmental image data according to a certain white balance analysis method, and estimate the local ambient light color temperature.

[0164] In one embodiment, the content color protection module 303 is further configured to set a limit range based on the color tendency if the color tendency is high; if the overall ambient light color temperature changes, the actual color temperature of the display screen will not exceed the limit range to protect the color tendency; if the color tendency is low, the actual color temperature of the display screen will not be limited.

[0165] In one embodiment, the content color protection module 303 is further configured to: if the color tendency of the screen image data is highly significant and the color tendency changes drastically, determine the stability of the ambient light color temperature by comparing the overall ambient light color temperature several times consecutively; if the color temperature stability is strong, calculate the average value of the overall ambient light color temperature several times consecutively to obtain a reference comfortable color temperature point; set a content hue fluctuation tolerance range centered on the reference comfortable color temperature point, and set a continuous deviation time threshold; continuously acquire drastically changing color tendencies and corresponding color tendency significance to obtain a set of color tendency change data; if the ideal matching color temperature of the color tendency change data is within the content hue fluctuation tolerance range or the duration is less than the continuous deviation time threshold, maintain the actual color temperature of the display screen near the reference comfortable color temperature point; if the ideal matching color temperature of the color tendency change data exceeds the content hue fluctuation tolerance range or the duration is greater than the continuous deviation time threshold, adjust the actual color temperature of the display screen gradually towards the corresponding color temperature direction.

[0166] In one embodiment, the target color temperature calculation module 304 is further configured to calculate the difference between the overall ambient light color temperature and the local ambient light color temperature; preset a complex environment threshold; if the difference is greater than the complex environment threshold, it indicates that the ambient light is complex, and a higher local weight is set for the local ambient light color temperature and a lower overall weight is set for the overall ambient light color temperature; the target color temperature is calculated based on the overall ambient light color temperature, the local ambient light color temperature, the local weight, and the overall weight; if the difference is less than the complex environment threshold, the target color temperature is equal to the overall ambient light color temperature.

[0167] In one embodiment, the mobile phone LCD screen color temperature adaptive correction system 300 further includes:

[0168] The illumination event judgment module is used to monitor the local ambient light color temperature in the focal area of ​​the user's line of sight. A color temperature change detection threshold is preset. If the color temperature change of the local ambient light color temperature in a very short time exceeds the color temperature change detection threshold, the color temperature change is judged as a potential illumination event.

[0169] The observation period start module is used to start a light event observation period of a preset duration if a potential light event occurs.

[0170] The persistence feature analysis module is used to collect the local ambient light color temperature during the observation period of the illumination event, and analyze the persistence features of the potential illumination event based on the local ambient light color temperature. The persistence features are used to characterize whether the local ambient light color temperature has recovered to the baseline level before the potential illumination event or whether it has formed a stable state at the new color temperature level.

[0171] The event color temperature adjustment module is used to maintain the actual color temperature of the display screen unchanged if the local ambient light color temperature quickly returns to the reference level; and to adjust the actual color temperature of the display screen to the new color temperature if the local ambient light color temperature reaches a stable state at the new color temperature level.

[0172] In one embodiment, the persistent feature analysis module is further configured to acquire the fluctuation characteristics of the baseline local ambient light color temperature before the occurrence of a potential illumination event; determine the stability criterion based on the fluctuation characteristics; and use the determined stability criterion to analyze the local ambient light color temperature collected during the observation period of the illumination event, and determine whether the local ambient light color temperature has reached a stable state at the new color temperature level.

[0173] In one embodiment, the persistent feature analysis module includes:

[0174] The monitoring unit is used to continuously monitor the local ambient light color temperature during the observation period of a light event;

[0175] The range determination unit is used to determine whether the local ambient light color temperature remains within a preset range of the baseline level before the occurrence of a potential lighting event for a preset duration.

[0176] The fallback determination unit is used to determine, based on the determination result, whether the local ambient light color temperature has recovered to the reference level before the potential lighting event occurred.

[0177] In one embodiment, the range determination unit is further configured to acquire parameters characterizing the user's current usage scenario, ongoing visual task, or user's personalized preferences; and based on the acquired parameters, determine a preset duration or preset range for determining whether the local ambient light color temperature has recovered to the reference level before the potential lighting event occurred.

[0178] Through the above technical solution, this application provides a mobile phone LCD screen color temperature adaptive correction system. This system, through the collaborative work of a content color analysis module, an ambient light color temperature acquisition module, a content color protection module, a target color temperature calculation module, and a color temperature correction execution module, can intelligently adjust the screen's color temperature based on the color characteristics of the screen content and complex, ever-changing ambient light conditions. This effectively protects the original colors of content with a specific color style, avoiding distortion caused by changes in ambient light. Simultaneously, the system can more accurately perceive the local lighting environment in the user's focal area and prioritize the influence of local lighting in complex ambient light conditions, thus making the screen color temperature adjustment closer to the user's actual perceptual needs. Ultimately, this system provides a more comfortable, accurate, and user-expected visual experience, effectively solving the problem of poor color temperature correction performance in complex scenarios in existing technologies.

[0179] The above description is merely an embodiment of this application and is not intended to limit the scope of protection of this application. Various modifications and variations can be made to this application by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this application should be included within the scope of protection of this application.

Claims

1. A method for self-adaptive correction of color temperature of a liquid crystal display screen of a mobile phone, characterized in that, The method comprises the following steps: determining the color tendency of screen image data on a display screen and evaluating the color tendency significance of the screen image data; acquiring the overall ambient light color temperature through light sensing devices of a mobile phone, monitoring the reading changes of the overall ambient light color temperature, presetting a rate preset value and a color temperature difference threshold, and if the change rate of the overall ambient light color temperature is greater than the rate preset value or the reading difference between different light sensing devices is greater than the color temperature difference threshold, then estimating the local ambient light color temperature; if the color tendency significance is high, then setting a limit range to protect the color tendency of the screen image data; presetting a complex environment threshold, if the difference between the overall ambient light color temperature and the local ambient light color temperature is greater than the complex environment threshold, then setting a higher weight for the local ambient light color temperature, and calculating the target color temperature, otherwise the target color temperature is equal to the overall ambient light color temperature; correcting the actual color temperature of the display screen according to the limit range and the target color temperature; the step of acquiring the overall ambient light color temperature through light sensing devices of a mobile phone, monitoring the reading changes of the overall ambient light color temperature, presetting a rate preset value and a color temperature difference threshold, and if the change rate of the overall ambient light color temperature is greater than the rate preset value or the reading difference between different light sensing devices is greater than the color temperature difference threshold, then estimating the local ambient light color temperature comprises: acquiring the overall ambient light color temperature through light sensing devices of a mobile phone, monitoring the reading changes of the overall ambient light color temperature; presetting the rate preset value and the color temperature difference threshold; if the change rate of the overall ambient light color temperature is greater than the rate preset value or the reading difference between different light sensing devices is greater than the color temperature difference threshold, then temporarily starting the front image shooting device of the mobile phone; acquiring the environmental image data of the user's visual focus area through the front image shooting device, analyzing the environmental image data according to a certain white balance analysis method, and estimating the local ambient light color temperature; the step of if the color tendency significance is high, then setting a limit range to protect the color tendency of the screen image data comprises: if the color tendency significance is high, then setting the limit range according to the color tendency; if the overall ambient light color temperature changes, then the actual color temperature of the display screen will not exceed the limit range, protecting the color tendency; if the color tendency significance is low, then the actual color temperature of the display screen is not limited; the step of presetting a complex environment threshold, if the difference between the overall ambient light color temperature and the local ambient light color temperature is greater than the complex environment threshold, then setting a higher weight for the local ambient light color temperature, and calculating the target color temperature, otherwise the target color temperature is equal to the overall ambient light color temperature comprises: calculating the difference between the overall ambient light color temperature and the local ambient light color temperature; The complex environment threshold is preset, and if the difference is greater than the complex environment threshold, it indicates that the ambient light is complex, a higher local weight is set for the local ambient light color temperature, and a lower overall weight is set for the overall ambient light color temperature; The target color temperature is obtained according to the overall ambient light color temperature, the local ambient light color temperature, the local weight and the overall weight; If the difference is less than the complex environment threshold, the target color temperature is equal to the overall ambient light color temperature.

2. The method for self-adapting correction of color temperature of a mobile phone LCD screen according to claim 1, characterized in that, If the color tendency significance is high, a limit range is set, and the step of protecting the color tendency of the screen image data further includes: If the color tendency significance of the screen image data is high and the color tendency changes dramatically, the color temperature stability of the ambient light is judged by comparing the overall ambient light color temperature for a plurality of consecutive times; If the color temperature stability is strong, the average of the overall ambient light color temperature for a plurality of consecutive times is calculated to obtain a reference comfortable color temperature point; A content hue fluctuation tolerance interval is set with the reference comfortable color temperature point as the center, and a continuous deviation time threshold is set; The color tendency and the corresponding color tendency significance of the screen image data are continuously obtained to obtain a set of color tendency change data; If the ideal matching color temperature of the color tendency change data is within the content hue fluctuation tolerance interval or the continuous time is less than the continuous deviation time threshold, the actual color temperature of the display screen is maintained near the reference comfortable color temperature point; If the ideal matching color temperature of the color tendency change data is outside the content hue fluctuation tolerance interval or the continuous time is greater than the continuous deviation time threshold, the actual color temperature of the display screen is adjusted to the corresponding color temperature direction.

3. The method for self-adapting correction of color temperature of a mobile phone LCD screen according to claim 1, characterized in that, The method further includes: The local ambient light color temperature of the user's visual focus area is monitored, and a color temperature change detection threshold is preset. If the color temperature change amount of the local ambient light color temperature in a very short time is greater than the color temperature change detection threshold, it is determined that the color temperature change is a potential light event; If the potential light event occurs, a light event observation period of a preset time length is started; During the light event observation period, the local ambient light color temperature is collected, and the persistence feature of the potential light event is analyzed according to the local ambient light color temperature. The persistence feature is used to represent whether the local ambient light color temperature returns to the reference level before the potential light event occurs or whether a stable state is formed at a new color temperature level; If the local ambient light color temperature quickly returns to the reference level, the actual color temperature of the display screen is maintained unchanged. If the local ambient light color temperature forms a stable state at the new color temperature level, the actual color temperature of the display screen is adjusted to the new color temperature.

4. The method for self-adapting correction of color temperature of a mobile phone LCD screen according to claim 3, characterized in that, The step of analyzing the persistence feature of the potential light event according to the local ambient light color temperature, and the persistence feature is used to represent whether the local ambient light color temperature returns to the reference level before the potential light event occurs or whether a stable state is formed at a new color temperature level includes: The fluctuation characteristics of the reference local ambient light color temperature before the potential light event occurs are obtained. determine a stability criterion according to the fluctuation characteristic; determine a stability criterion according to the fluctuation characteristic; 5. The method for self-adapting correction of color temperature of a mobile phone LCD screen according to claim 3, characterized in that, the step of determining the persistence characteristic of the potential illumination event according to the local ambient light color temperature comprises: monitoring the local ambient light color temperature during the illumination event observation period; determining whether the local ambient light color temperature continuously stays within a preset range of the baseline level before the potential illumination event within a preset duration; determining whether the local ambient light color temperature returns to the baseline level before the potential illumination event.

6. The method for self-adapting correction of color temperature of a mobile phone LCD screen according to claim 5, characterized in that, the step of determining whether the local ambient light color temperature continuously stays within a preset range of the baseline level before the potential illumination event within a preset duration comprises: obtaining parameters representing a current use scenario of the user, a visual task being performed, or a user personalized preference; determining the preset duration or the preset range for determining whether the local ambient light color temperature returns to the baseline level before the potential illumination event according to the obtained parameters.

7. A system for self-adaptive correction of color temperature of a mobile phone LCD screen, for performing the method of self-adaptive correction of color temperature of a mobile phone LCD screen according to claim 1, characterized in that, The system comprises: a content color analysis module for determining a color tendency of screen image data on a display screen according to the screen image data and evaluating a color tendency significance of the screen image data; an ambient light color temperature obtaining module for obtaining an overall ambient light color temperature through light sensing devices of a mobile phone, monitoring a reading change of the overall ambient light color temperature, presetting a rate preset value and a color temperature difference threshold value, and estimating a local ambient light color temperature if a change rate of the overall ambient light color temperature is greater than the rate preset value or a reading difference between different light sensing devices is greater than the color temperature difference threshold value; a content color protection module for setting a limit range to protect the color tendency of the screen image data if the color tendency significance is high; a target color temperature calculation module for presetting a complex environment threshold value, setting a higher weight for the local ambient light color temperature if a difference between the overall ambient light color temperature and the local ambient light color temperature is greater than the complex environment threshold value, and calculating a target color temperature, otherwise the target color temperature is equal to the overall ambient light color temperature; a color temperature correction execution module for correcting an actual color temperature of the display screen according to the limit range and the target color temperature; the ambient light color temperature obtaining module is further configured to: obtain the overall ambient light color temperature through the light sensing devices of the mobile phone and monitor the reading change of the overall ambient light color temperature; preset the rate preset value and the color temperature difference threshold value; temporarily start a front image shooting device of the mobile phone if the change rate of the overall ambient light color temperature is greater than the rate preset value or the reading difference between different light sensing devices is greater than the color temperature difference threshold value; The environment image data of the user's visual focus area is acquired by a front image shooting device, and the local environment light color temperature is estimated according to a certain white balance analysis method by analyzing the environment image data; If the color tendency significance is high, a limit range is set, and the step of protecting the color tendency of the screen image data comprises: If the color tendency significance is high, the limit range is set according to the color tendency; If the overall environment light color temperature changes, the actual color temperature of the display screen will not exceed the limit range, and the color tendency is protected; If the color tendency significance is low, the actual color temperature of the display screen is not limited; The step of presetting a complex environment threshold, if the difference between the overall environment light color temperature and the local environment light color temperature is greater than the complex environment threshold, setting a higher weight for the local environment light color temperature, calculating a target color temperature, otherwise the target color temperature is equal to the overall environment light color temperature, comprises: The difference between the overall environment light color temperature and the local environment light color temperature is calculated; The complex environment threshold is preset, if the difference is greater than the complex environment threshold, it indicates that the environment light is complex, a higher local weight is set for the local environment light color temperature, and a lower overall weight is set for the overall environment light color temperature; The target color temperature is calculated according to the overall environment light color temperature, the local environment light color temperature, the local weight and the overall weight; If the difference is less than the complex environment threshold, the target color temperature is equal to the overall environment light color temperature.

Citation Information

Patent Citations

  • White balance correction method and related device

    CN110784696A

  • Screen color temperature control method and device, storage medium and mobile terminal

    CN111131612A