A method and system for adjusting screen color temperature and brightness in a mutative environment

By using screen adjustment and display effect functions to calculate applicable screen parameters under sudden environmental changes, the problem of inaccurate screen color temperature and brightness adjustment in existing technologies is solved, achieving optimal display effect and speed efficiency under environmental changes.

CN117253446BActive Publication Date: 2026-07-07SZ ZUNZHENG DIGITAL VIDEO CO LTD

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
SZ ZUNZHENG DIGITAL VIDEO CO LTD
Filing Date
2023-10-19
Publication Date
2026-07-07

AI Technical Summary

Technical Problem

Existing technologies cannot accurately adjust screen color temperature and brightness in environments with sudden changes, resulting in poor display quality.

Method used

When the change in light intensity exceeds the threshold, the applicable screen parameters are calculated using the screen adjustment function and the display effect function. The color temperature and brightness values ​​are adjusted to achieve the best effect. If the parameters are not in the preset table, the most recent default parameters are used to speed up the adjustment.

Benefits of technology

It improves the accuracy of screen color temperature and brightness adjustment, ensuring optimal display performance during sudden environmental changes, and speeds up the adjustment process.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117253446B_ABST
    Figure CN117253446B_ABST
Patent Text Reader

Abstract

A method and system for adjusting screen color temperature and brightness in a mutated environment, in which, in the case that the change of the current illumination intensity in a preset time range is greater than an illumination threshold, a first color temperature value and a first brightness value of the screen are obtained; the current illumination intensity, the first color temperature value and the first brightness value are input into a screen adjustment function to obtain applicable screen parameters, the applicable screen parameters including a second color temperature value and a second brightness value; the most suitable screen effect value of the applicable screen parameters is calculated by using a screen display effect function and the first backlight brightness value of the screen; the adjusted color temperature value and the adjusted brightness value of the screen are obtained by adjusting the color temperature value and the brightness value of the screen, and the adjusted color temperature value and the adjusted brightness value are calculated to be the most suitable screen effect value by using the screen display effect function, so as to improve the accuracy of adjusting the color temperature and the brightness of the screen in the case of watching environment mutation, and to achieve the optimal display effect.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application belongs to the field of screen adjustment, and in particular relates to a method and system for adjusting screen color temperature and brightness under sudden changes in environment. Background Technology

[0002] With the continuous development of science and technology, the display effects of televisions and other display devices are getting better and better. Not only are the pictures becoming clearer, but users can also select the display effects of the device to achieve their desired viewing experience. This is where the technology of adjusting the screen's color temperature and brightness comes in.

[0003] In related technologies, many display devices are equipped with automatic calibration functions, which can detect ambient light and viewing conditions in real time through built-in sensors, and automatically adjust the color temperature and brightness of the screen based on this data to provide a more accurate display effect.

[0004] However, while some display devices have automatic calibration functions that can automatically adjust color temperature and brightness according to ambient light, these technologies generally adjust in increments. For example, when adjusting brightness, it might start at 100, then decrease to 90, then from 90 to 80, and so on. Therefore, when ambient light intensity changes, the automatic calibration technology may not be accurate enough, resulting in altered display effects and failing to achieve optimal display performance. Summary of the Invention

[0005] This application provides a method and system for adjusting screen color temperature and brightness in a sudden change environment, which is used to improve the accuracy of adjusting screen color temperature and brightness in the event of a sudden change in the viewing environment, so as to achieve the optimal display effect.

[0006] In a first aspect, this application provides a method for adjusting screen color temperature and brightness in a sudden change environment. When it is determined that the change in current illumination intensity within a preset time range is greater than an illumination threshold, a first color temperature value and a first brightness value of the screen are obtained. The current illumination intensity, the first color temperature value, and the first brightness value are input into a screen adjustment function to obtain applicable screen parameters, which include a second color temperature value and a second brightness value. The optimal screen effect value of the applicable screen parameters is calculated using a screen display effect function and the first backlight brightness value of the screen. The color temperature value and brightness value of the screen are adjusted to obtain an adjusted color temperature value and an adjusted brightness value. The result of calculating the adjusted color temperature value and the adjusted brightness value using the screen display effect function is the optimal screen effect value.

[0007] By adopting the above technical solution, when it is determined that the change in current light intensity within a preset time range is greater than the light threshold, the current light intensity, the first color temperature value, and the first brightness value are input into the screen adjustment function to obtain the applicable screen parameters. The optimal screen effect value of the applicable screen parameters is calculated using the screen display effect function and the first backlight brightness value of the screen. Then, the color temperature value and brightness value of the screen are adjusted to obtain the adjusted color temperature value and adjusted brightness value. In the case of sudden changes in the viewing environment, the accuracy of adjusting the color temperature and brightness of the screen is improved, and the optimal display effect is achieved.

[0008] In conjunction with some embodiments of the first aspect, in some embodiments, adjusting the color temperature and brightness values ​​of the screen to obtain adjusted color temperature and brightness values ​​specifically includes: when it is determined that the applicable screen parameters are not in a preset screen parameter table, determining the default screen parameters in the preset screen parameter table that are closest to the applicable screen parameters, the default screen parameters including a third color temperature value and a third brightness value; adjusting the screen from the first color temperature value and the first brightness value to the third color temperature value and the third brightness value; and adjusting the screen from the third color temperature value and the third brightness value to the second color temperature value and the second brightness value.

[0009] By adopting the above technical solution, if the applicable screen parameters are not in the preset screen parameter table, the default screen parameters closest to the applicable screen parameters in the preset screen parameter table are determined. The default screen parameters include the third color temperature value and the third brightness value. Then, the screen is adjusted from the third color temperature value and the third brightness value to the second color temperature value and the second brightness value. The adjustment starts directly from the default screen parameters closest to the applicable screen parameters, which speeds up the screen adjustment and improves the efficiency of screen adjustment.

[0010] In conjunction with some embodiments of the first aspect, in some embodiments, adjusting the color temperature value and brightness value of the screen to obtain the adjusted color temperature value and adjusted brightness value specifically includes: when it is determined that the second brightness value is less than the screen's minimum brightness value, adjusting the screen from the first brightness value to the screen's minimum brightness value; reducing the first backlight brightness to a second backlight brightness so that the screen's brightness value changes from the screen's minimum brightness value to the second brightness value; after reducing the first backlight brightness to the second backlight brightness, obtaining a fourth color temperature value for the screen; obtaining a fifth color temperature value based on the second backlight brightness, the second brightness value, and the optimal screen effect value; and adjusting the screen from the fourth color temperature value to the fifth color temperature value.

[0011] By adopting the above technical solution, if the second brightness value is less than the minimum brightness value of the screen, the screen is first adjusted from the first brightness value to the minimum brightness value of the screen. Then, by changing the backlight brightness of the screen to the second backlight intensity, the brightness value of the screen is adjusted from the minimum brightness value of the screen to the second brightness value, thus obtaining the fourth color temperature value. Then, based on the second backlight brightness, the second brightness value, and the optimal screen effect value, the fifth color temperature value is obtained. Finally, the screen is adjusted from the fourth color temperature value to the fifth color temperature value. When the brightness value cannot be reduced further, the backlight brightness value of the screen is changed to make the screen brightness value reach the second brightness value. Then, the color temperature value is adaptively changed to keep the screen display effect unchanged, thus ensuring the optimal display effect is achieved.

[0012] In conjunction with some embodiments of the first aspect, in some embodiments, the screen adjustment function is:

[0013]

[0014] In the formula, K is the second color temperature value, L is the second brightness value, I1 is the current light intensity, I0 is the light intensity before the light change, K0 is the color temperature value before the light change, and L0 is the brightness value before the light change.

[0015] By adopting the above technical solution, the current light intensity, the light intensity before the light change, the color temperature value, and the brightness value are input into the screen adjustment function to obtain an accurate second color temperature value and a second brightness value. This ensures that the accurate second color temperature value and second brightness value can be obtained according to the function under the condition of light change, so that the screen can achieve the optimal display effect according to the second color temperature value and the second brightness value.

[0016] In conjunction with some embodiments of the first aspect, in some embodiments, the screen display effect function is:

[0017]

[0018] In the formula, Q is the optimal screen effect value, S is the area of ​​the screen, I1 is the current light intensity, K is the second color temperature value, L is the second brightness value, and B is the backlight brightness value of the screen.

[0019] By adopting the above technical solution, the screen area, current light intensity, second color temperature value, second brightness value, and screen backlight brightness value are input into the screen display effect function. This ensures that under changes in light intensity, the function can obtain an accurate optimal screen effect value, enabling the screen to achieve the best display effect under this optimal screen effect value.

[0020] In conjunction with some embodiments of the first aspect, in some embodiments, before determining the default screen parameter closest to the applicable screen parameter in the preset screen parameter table when it is determined that the applicable screen parameter is not in the preset screen parameter table, the method further includes: adjusting the screen from the first color temperature value and the first brightness value to the second color temperature value and the second brightness value when it is determined that the applicable screen parameter is in the preset screen parameter table.

[0021] By adopting the above technical solution, if the applicable screen parameters are in the preset screen parameter table, the screen can be directly adjusted from the first color temperature value and the first brightness value to the second color temperature value and the second brightness value. In the event of a sudden change in the viewing environment, the accuracy of adjusting the color temperature and brightness of the screen is improved, and the optimal display effect is achieved.

[0022] In conjunction with some embodiments of the first aspect, in some embodiments, the preset time range is 5 minutes.

[0023] By adopting the above technical solution and setting the preset time range to 5 minutes, the screen parameters can be adjusted in a timely manner when the change in the current light intensity exceeds the light threshold for a period of time exceeding the preset time range, thus ensuring that the optimal display effect can be achieved in a timely manner.

[0024] Secondly, embodiments of this application provide a screen color temperature and brightness adjustment system under a sudden change environment. The system includes: an acquisition module, used to acquire a first color temperature value and a first brightness value of the screen when it is determined that the change in the current light intensity within a preset time range is greater than a light threshold.

[0025] The adjustment calculation module is used to input the current light intensity, the first color temperature value and the first brightness value into the screen adjustment function to obtain the applicable screen parameters, which include the second color temperature value and the second brightness value.

[0026] The display calculation module is used to calculate the optimal screen effect value of the applicable screen parameters using the screen display effect function and the first backlight brightness value of the screen.

[0027] The adjustment module adjusts the color temperature and brightness values ​​of the screen to obtain the adjusted color temperature and brightness values. The adjusted color temperature and brightness values ​​are then calculated using the screen display effect function to obtain the optimal screen effect values.

[0028] Thirdly, embodiments of this application provide a screen color temperature and brightness adjustment system for a sudden change environment. The system includes: one or more processors and a memory; the memory is coupled to the one or more processors and is used to store computer program code, the computer program code including computer instructions, and the one or more processors call the computer instructions to cause the system to perform the method described in the first aspect and any possible implementation thereof.

[0029] Fourthly, embodiments of this application provide a computer-readable storage medium including instructions that, when executed on a system, cause the system to perform the method described in the first aspect and any possible implementation thereof.

[0030] One or more technical solutions provided in the embodiments of this application have at least the following technical effects or advantages:

[0031] 1. This application provides a method for adjusting screen color temperature and brightness in a sudden change environment. When it is determined that the change in current light intensity within a preset time range is greater than the light threshold, the current light intensity, first color temperature value, and first brightness value are input into the screen adjustment function to obtain applicable screen parameters. The optimal screen effect value of the applicable screen parameters is calculated using the screen display effect function and the first backlight brightness value of the screen. Then, the color temperature value and brightness value of the screen are adjusted to obtain the adjusted color temperature value and adjusted brightness value. In the case of sudden changes in the viewing environment, the accuracy of adjusting the screen color temperature and brightness is improved, and the optimal display effect is achieved.

[0032] 2. This application provides a method for adjusting screen color temperature and brightness in a sudden change environment. If the applicable screen parameters are not in the preset screen parameter table, the default screen parameters closest to the applicable screen parameters in the preset screen parameter table are determined. The default screen parameters include the third color temperature value and the third brightness value. Then, the screen is adjusted from the third color temperature value and the third brightness value to the second color temperature value and the second brightness value. The adjustment starts directly from the default screen parameters closest to the applicable screen parameters, which speeds up the screen adjustment and improves the efficiency of screen adjustment.

[0033] 3. This application provides a method for adjusting screen color temperature and brightness in a sudden change environment. If the second brightness value is less than the screen's minimum brightness value, the screen is first adjusted from the first brightness value to the screen's minimum brightness value. Then, the screen's brightness value is adjusted from the screen's minimum brightness value to the second brightness value by changing the screen's backlight brightness to the second backlight intensity, resulting in a fourth color temperature value. Then, based on the second backlight brightness, the second brightness value, and the optimal screen effect value, a fifth color temperature value is obtained. Finally, the screen is adjusted from the fourth color temperature value to the fifth color temperature value. When the brightness value cannot be reduced further, the screen's brightness value is changed to reach the second brightness value, and then the color temperature value is adaptively changed to keep the screen's display effect unchanged, ensuring the optimal display effect is achieved. Attached Figure Description

[0034] Figure 1 This is a flowchart illustrating a method for adjusting screen color temperature and brightness under sudden changes in an environment as described in this application.

[0035] Figure 2 This is a flowchart illustrating a method for improving adjustment speed in an embodiment of this application.

[0036] Figure 3 This is a flowchart illustrating a method for changing backlight brightness and adjusting color temperature in an embodiment of this application.

[0037] Figure 4 This is a schematic diagram of the functional module structure of a screen color temperature and brightness adjustment system under sudden change environment provided in an embodiment of this application.

[0038] Figure 5 This is a schematic diagram of the physical device structure of a screen color temperature and brightness adjustment system under sudden change environment provided in the embodiments of this application. Detailed Implementation

[0039] The terminology used in the following embodiments of this application is for the purpose of describing particular embodiments only and is not intended to be limiting of this application. As used in the specification and appended claims of this application, the singular expressions “a,” “an,” “the,” “the,” “the,” and “this” are intended to include the plural expressions as well, unless the context clearly indicates otherwise. It should also be understood that the term “and / or” as used in this application refers to any or all possible combinations including one or more of the listed items.

[0040] Hereinafter, the terms "first" and "second" are used for descriptive purposes only and should not be construed as implying or suggesting relative importance or implicitly indicating the number of indicated technical features. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature, and in the description of the embodiments of this application, unless otherwise stated, "multiple" means two or more.

[0041] The following is combined with Figure 1 The present application describes a method for adjusting screen color temperature and brightness under sudden changes in environment:

[0042] Please see Figure 1 This is a flowchart illustrating a method for adjusting screen color temperature and brightness under sudden changes in an environment as described in this application.

[0043] S101. If it is determined that the change in the current light intensity within a preset time range is greater than the light threshold, the first color temperature value and the first brightness value of the screen are obtained.

[0044] When the server determines that the change in current light intensity within a preset time range exceeds a light threshold, it acquires the first color temperature value and the first brightness value of the screen. These first color temperature and brightness values ​​are sent to the server by the screen in real time. For ease of understanding, the following example illustrates this: Example 1: The device in this embodiment can be a television screen located in the living room. When it is working, the ambient light intensity is 1500 lux, but suddenly the living room lights are turned off, and the light intensity changes to 500 lux, a change of 1000 lux. When the server determines that after 5 minutes, the change in light intensity remains greater than 700 lux, it acquires the first color temperature value of the television screen as 6000 Kelvin and the first brightness value as 90. The brightness value range of the television screen is [20, 100]. The first color temperature value is the color temperature value of the television screen before the change in light intensity, and the first brightness value is the brightness value of the television screen before the change in light intensity.

[0045] Furthermore, the scenario in this embodiment can also be as follows: Example 2, when the screen is working, the ambient light intensity is 1500 lux, but suddenly the curtains in the living room are opened, and the light intensity in the living room changes to 2300 lux, a change of 800 lux. If the server determines that after 5 minutes, the change in light intensity remains greater than 700 lux, it acquires the first color temperature value of the TV screen as 6000 Kelvin and the first brightness value as 90, with the brightness value range of the TV screen being [20, 100]. The first color temperature value is the color temperature value of the TV screen before the change in light intensity, and the first brightness value is the brightness value of the TV screen before the change in light intensity.

[0046] It is understood that the devices listed above can be other devices that can adjust color temperature and brightness, such as computer monitors, and are not limited here.

[0047] S102. Input the current light intensity, first color temperature value and first brightness value into the screen adjustment function to obtain the applicable screen parameters;

[0048] The server inputs the current light intensity, first color temperature value, and first brightness value into the screen adjustment function to obtain the applicable screen parameters. This screen adjustment function is:

[0049]

[0050] In the formula, K is the second color temperature value, L is the second brightness value, I1 is the current light intensity, I0 is the light intensity before the light change, K0 is the color temperature value before the light change, and L0 is the brightness value before the light change.

[0051] Continuing from Example 1, inputting the current light intensity of 500 lux, the first color temperature value of 6000 Kelvin, and the first brightness value of 90 into the screen adjustment function yields a second color temperature value of 4500 Kelvin and a second brightness value of 32.

[0052] Following Example 2 above, the current light intensity of 2300 lux, the first color temperature value of 6000 Kelvin, and the first brightness value of 90 are input into the screen adjustment function to obtain a second color temperature value of 7000 Kelvin and a second brightness value of 96.

[0053] S103. Calculate the optimal screen effect value for applicable screen parameters using the screen display effect function and the first backlight brightness value of the screen.

[0054] The server calculates the optimal screen effect value for applicable screen parameters using the screen display effect function and the screen's first backlight brightness value. This optimal screen effect value represents the best display effect for the screen under the current environment. The screen display effect function is as follows:

[0055]

[0056] In the formula, Q is the optimal screen effect value, S is the area of ​​the screen, I1 is the current light intensity, K is the second color temperature value, L is the second brightness value, and B is the backlight brightness value of the screen.

[0057] Continuing from Example 1, assuming the first backlight brightness value is 60, the optimal screen effect value is calculated to be 23 based on the screen display effect function and the first backlight brightness value.

[0058] Continuing from Example 2, assuming the first backlight brightness value is 60, the optimal screen effect value is calculated to be 30 based on the screen display effect function and the first backlight brightness value.

[0059] S104. Adjust the screen's color temperature and brightness values.

[0060] The server adjusts the screen's color temperature and brightness values ​​to obtain the adjusted values. These adjusted values ​​are then calculated using a screen display effect function to determine the optimal screen display effect. In other words, when the screen's color temperature and brightness values ​​at a given moment are input into the screen display effect function, the calculated result must be the optimal screen display effect. This ensures that the screen's display effect is always at its best.

[0061] Color temperature refers to the degree to which the colors displayed on a screen are warmer or cooler. Different people have different color preferences, and the content being viewed also affects color perception. Screen display technology typically uses light-emitting diodes (LEDs) with red, green, and blue (RGB) primary colors to emit light, and controls the amount of light transmission and color through a liquid crystal layer or organic light-emitting materials. Different color combinations and light transmission levels can produce different colors. Screen color temperature adjustment is achieved by controlling the relative intensity of the RGB primary colors. By adjusting the color temperature value, the colors displayed on the screen can better match personal preferences and the needs of the viewing content. Generally speaking, a warmer color temperature (such as a lower color temperature value) will make the image appear yellowish, while a cooler color temperature (such as a higher color temperature value) will make the image appear bluish. Choosing a suitable color temperature value can make the image more realistic and comfortable. Brightness refers to the brightness of the screen display. Brightness adjustment is very important for the viewing experience and eye comfort. If the brightness is too low, the image may appear dim and lack detail; if the brightness is too high, it may cause glare and eye fatigue. Adjusting the brightness level can make the screen bright enough to be clearly visible without being glaring. Therefore, setting the screen to its optimal display effect can bring viewers a great viewing experience.

[0062] Furthermore, the principle of screen brightness adjustment is related to the working principle of LEDs (Light Emitting Diodes). LED screens are typically composed of many LEDs, each capable of emitting light independently. Screen brightness is adjusted by controlling the brightness of the LEDs. The brightness of an LED can be adjusted by controlling its on / off current, usually using PWM (Pulse Width Modulation) technology. PWM technology controls brightness by rapidly switching the LED current on and off. When it is necessary to reduce screen brightness, PWM switches the LEDs on and off at a certain frequency, with different on / off time ratios within each cycle, thereby controlling the average brightness of the LEDs. By changing this on / off time ratio, the brightness of the LEDs can be adjusted.

[0063] In the above embodiment, when it is determined that the change in current light intensity within a preset time range is greater than the light threshold, the current light intensity, the first color temperature value, and the first brightness value are input into the screen adjustment function to obtain the applicable screen parameters. The optimal screen effect value of the applicable screen parameters is calculated using the screen display effect function and the first backlight brightness value of the screen. Then, the color temperature value and brightness value of the screen are adjusted to obtain the adjusted color temperature value and adjusted brightness value. In the case of sudden changes in the viewing environment, the accuracy of adjusting the color temperature and brightness of the screen is improved, and the optimal display effect is achieved.

[0064] However, in the process of adjusting screen parameters, related technologies generally adjust them adaptively. For example, in the scenario described above, the screen will slowly decrease its color temperature and brightness values. To improve the efficiency of adjusting screen parameters, this application provides an optimization method, which is described below in conjunction with... Figure 2 The following describes the improvement of adjustment speed in the embodiments of this application: Please refer to Figure 2 This is a flowchart illustrating a method for improving adjustment speed in an embodiment of this application.

[0065] S201. If it is determined that the applicable screen parameter is not in the preset screen parameter table, determine the default screen parameter that is closest to the applicable screen parameter in the preset screen parameter table.

[0066] If the server determines that the applicable screen parameters are not in the preset screen parameter table, it determines the default screen parameters that are closest to the applicable screen parameters in the preset screen parameter table. The default screen parameters include the third color temperature value and the third brightness value. Continuing from Example 1 in step S101, the preset screen parameter table contains several default screen parameters. When adjusting the screen brightness, the related technology can only adjust the brightness to several default screen parameters. For example, the preset screen parameter table contains default screen parameter brightness of 100, 90, 80, 70, 60, 50, 40, 30, and 20. The related technology can only adjust the screen brightness value to 100, 90, 80, 70, 60, 50, 40, 30, and 20. However, the calculated second brightness value is 32, so the related technology cannot adjust the brightness value to 32, resulting in the screen display effect not reaching the optimal level. The server then determines the default screen parameter closest to the second brightness value, which is a default screen parameter brightness of 30, and the screen color temperature is 4000 Kelvin.

[0067] Following Example 2 in step S101, the preset screen parameter table contains several default screen parameters. When adjusting screen brightness, related technologies can only adjust the brightness to these default parameters. For example, the preset screen parameter table contains default screen parameter brightness values ​​of 100, 90, 80, 70, 60, 50, 40, 30, and 20. These technologies can only adjust the screen brightness to 100, 90, 80, 70, 60, 50, 40, 30, and 20. However, the calculated second brightness value is 96, so the technology cannot adjust the brightness to 91, resulting in suboptimal screen display. Therefore, the server determines the default screen parameter closest to the second brightness value, i.e., default screen parameter brightness of 100, at which point the screen color temperature is 6600 Kelvin.

[0068] S202, Adjust the screen from the first color temperature value and the first brightness value to the third color temperature value and the third brightness value;

[0069] The server adjusts the screen from a first color temperature and a first brightness value to a third color temperature and a third brightness value. Continuing from Example 1, the screen is adjusted from a first color temperature of 6000 Kelvin and a first brightness value of 90 to a third color temperature of 4000 Kelvin and a third brightness value of 30.

[0070] Following on from Example 2, the screen is adjusted from a first color temperature of 6000 Kelvin and a first brightness of 90 to a third color temperature of 6600 Kelvin and a third brightness of 100.

[0071] S203, Adjust the screen from the third color temperature value and the third brightness value to the second color temperature value and the second brightness value.

[0072] The server adjusts the screen from the third color temperature and third brightness values ​​to the second color temperature and second brightness values. Continuing from Example 1, the screen is then adjusted from a third color temperature of 4000 Kelvin and a third brightness of 30 to a second color temperature of 4500 Kelvin and a second brightness of 32. This process, first directly adjusting the screen to the default screen parameters and then adjusting it to the applicable screen parameters, greatly improves the efficiency of adjusting screen parameters.

[0073] Following on from Example 2, we adjust the screen from a third color temperature of 6600 Kelvin and a third brightness of 100 to a second color temperature of 7000 Kelvin and a second brightness of 96. This way, the screen is first adjusted directly to the default screen parameters, and then from the default screen parameters to the applicable screen parameters, greatly improving the efficiency of adjusting screen parameters.

[0074] In the above embodiment, if the applicable screen parameters are not in the preset screen parameter table, the default screen parameters closest to the applicable screen parameters in the preset screen parameter table are determined. The default screen parameters include the third color temperature value and the third brightness value. Then, the screen is adjusted from the third color temperature value and the third brightness value to the second color temperature value and the second brightness value. The adjustment starts directly from the default screen parameters closest to the applicable screen parameters, which speeds up the screen adjustment and improves the efficiency of screen adjustment.

[0075] However, when adjusting screen parameters, the brightness adjustment typically has a range. If the second brightness value is outside this range, the relevant technology cannot continue to adjust the brightness value. The following section discusses... Figure 3 The following describes how brightness is adjusted by changing the backlight brightness in the embodiments of this application:

[0076] Please see Figure 3 This is a flowchart illustrating a method for changing backlight brightness and adjusting color temperature in an embodiment of this application.

[0077] S301. If it is determined that the second brightness value is less than the minimum brightness value of the screen, the screen is adjusted from the first brightness value to the minimum brightness value of the screen.

[0078] If the server determines that the second brightness value is less than the screen's minimum brightness value, it adjusts the screen from the first brightness value to the minimum brightness value. Continuing with Example 1, assuming the screen's minimum brightness value is 40, and the second brightness value 32 is less than 40, then the screen is first adjusted from the first brightness value 90 to the minimum brightness value 40. Furthermore, in some embodiments, the illumination may suddenly increase, causing the second brightness value to exceed the screen's maximum brightness value. In such cases, the method is similar to that used in this embodiment and will not be elaborated further.

[0079] S302, reduce the first backlight brightness to the second backlight brightness so that the screen brightness value is reduced from the screen's minimum brightness value to the second brightness value;

[0080] The server lowers the backlight brightness from the first to the second level, causing the screen brightness to shift from the minimum allowed brightness value to the second level. Backlight refers to the light source illuminating the screen, while screen brightness refers to the intensity of the light emitted by the screen. The level of backlight brightness determines the range and maximum brightness of the screen; therefore, adjusting the backlight brightness controls the intensity of the screen brightness. Continuing with Example 1, suppose the backlight brightness is adjusted to 30, causing the screen brightness to shift from the minimum allowed brightness value to the second level.

[0081] S303. After reducing the first backlight brightness to the second backlight brightness, the fourth color temperature value of the screen is obtained.

[0082] After the server reduces the first backlight brightness to the second backlight brightness, it obtains the screen's fourth color temperature value. Adjusting the screen's backlight brightness affects the intensity and color of the light emitted by the screen. Higher backlight brightness typically results in a higher color temperature, i.e., a bluish tint; while lower backlight brightness results in a lower color temperature, i.e., a yellowish tint. Therefore, the color temperature value is also affected and changes. Continuing with Example 1, the fourth color temperature value obtained is 3500 Kelvin.

[0083] S304. The fifth color temperature value is obtained based on the second backlight brightness, the second brightness value, and the optimal screen effect value.

[0084] The server derives the fifth color temperature value based on the second backlight brightness, the second brightness value, and the optimal screen effect value. The above calculation of the optimal screen effect value based on the screen display effect function and the screen's first backlight brightness value yields the applicable screen parameters. In this embodiment, the fifth color temperature value can be obtained using these three known quantities: the second backlight brightness, the second brightness value, and the optimal screen effect value. That is, the fifth color temperature value satisfies the optimal screen effect value. For example, if the second backlight brightness is 30, the second brightness value is 32, and the optimal screen effect value is 23, inputting these values ​​into the screen display effect function will calculate a fifth color temperature value of 4200 Kelvin.

[0085] S305, Adjust the screen from the fourth color temperature value to the fifth color temperature value.

[0086] The server adjusts the screen from the fourth color temperature value to the fifth color temperature value.

[0087] In the above embodiment, if the second brightness value is less than the screen's minimum brightness value, the screen is first adjusted from the first brightness value to the screen's minimum brightness value. Then, the screen's brightness value is adjusted from the screen's minimum brightness value to the second brightness value by changing the screen's backlight brightness to the second backlight intensity, resulting in a fourth color temperature value. Then, based on the second backlight brightness, the second brightness value, and the optimal screen effect value, a fifth color temperature value is obtained. Finally, the screen is adjusted from the fourth color temperature value to the fifth color temperature value. When the brightness value cannot be reduced further, the screen's backlight brightness value is changed to bring the screen's brightness value to the second brightness value. Then, the color temperature value is adaptively changed to keep the screen's display effect unchanged, ensuring that the optimal display effect is achieved.

[0088] In step S201, if it is determined that the applicable screen parameters are not in the preset screen parameter table, the default screen parameters closest to the applicable screen parameters in the preset screen parameter table are determined. In another case, if it is determined that the applicable screen parameters are in the preset screen parameter table, the screen is adjusted from a first color temperature value and a first brightness value to a second color temperature value and a second brightness value. Specifically, the server adjusts the screen from a first color temperature value of 6000 Kelvin and a first brightness value of 90 to a second color temperature value of 4500 Kelvin and a second brightness value of 32.

[0089] In the above embodiment, if the applicable screen parameters are in the preset screen parameter table, the screen is directly adjusted from the first color temperature value and the first brightness value to the second color temperature value and the second brightness value. In the event of a sudden change in the viewing environment, the accuracy of adjusting the color temperature and brightness of the screen is improved, and the optimal display effect is achieved.

[0090] In step S101, if it is determined that the change in the current light intensity within a preset time range is greater than the light threshold, the first color temperature value and the first brightness value of the screen are obtained, and the preset time range is 5 minutes.

[0091] It is understood that the preset time range set in the above embodiments can be other values, and is not limited here.

[0092] In the above embodiment, the preset time range is set to 5 minutes. When the change in the current light intensity exceeds the light threshold for a period of time exceeding the preset time range, the screen parameters can be adjusted in a timely manner to ensure that the optimal display effect can be achieved in a timely manner.

[0093] The system in this application embodiment is described below from a module perspective:

[0094] Please see Figure 4 This is a schematic diagram of the functional module structure of a screen color temperature and brightness adjustment system under sudden change environment provided in an embodiment of this application.

[0095] The system includes:

[0096] The acquisition module 401 is used to acquire the first color temperature value and the first brightness value of the screen when the change in the current light intensity within a preset time range is greater than the light threshold.

[0097] The adjustment calculation module 402 is used to input the current light intensity, the first color temperature value and the first brightness value into the screen adjustment function to obtain applicable screen parameters, the applicable screen parameters including the second color temperature value and the second brightness value;

[0098] Display calculation module 403 is used to calculate the optimal screen effect value of the applicable screen parameters using the screen display effect function and the first backlight brightness value of the screen.

[0099] The adjustment module 404 adjusts the color temperature and brightness values ​​of the screen to obtain adjusted color temperature and brightness values. The adjusted color temperature and brightness values ​​are calculated using the screen display effect function to obtain the optimal screen effect values.

[0100] The system in the embodiments of this application has been described above from the perspective of modular functional entities. The system in the embodiments of this application will now be described below from the perspective of hardware processing. Please refer to [link / reference needed]. Figure 5 This is a schematic diagram of the physical device structure of a screen color temperature and brightness adjustment system under sudden change environment provided in an embodiment of this application.

[0101] It should be noted that, Figure 5 The structure of the system shown is merely an example and should not impose any limitations on the functionality and scope of use of the embodiments of the present invention.

[0102] like Figure 5 As shown, the server includes a Central Processing Unit (CPU) 501, which can perform various appropriate actions and processes based on a program stored in Read-Only Memory (ROM) 502 or a program loaded from storage portion 508 into Random Access Memory (RAM) 503, such as performing the method described in the above embodiment. The RAM 503 also stores various programs and data required for system operation. The CPU 501, ROM 502, and RAM 503 are interconnected via a bus 504. An Input / Output (I / O) interface 505 is also connected to the bus 504.

[0103] The following components are connected to I / O interface 505: input section 506 including a camera, infrared sensor, etc.; output section 507 including a liquid crystal display (LCD) and speakers, etc.; storage section 508 including a hard disk, etc.; and communication section 509 including a network interface card such as a LAN (Local Area Network) card and a modem, etc. Communication section 509 performs communication processing via a network such as the Internet. Drive 510 is also connected to I / O interface 505 as needed. Removable media 511, such as a disk, optical disk, magneto-optical disk, semiconductor memory, etc., are installed on drive 510 as needed so that computer programs read from them can be installed into storage section 508 as needed.

[0104] In particular, according to embodiments of the present invention, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, embodiments of the present invention include a computer program product comprising a computer program carried on a computer-readable medium, the computer program containing computer programs for performing the methods shown in the flowcharts. In such embodiments, the computer program can be downloaded and installed from a network via communication section 509, and / or installed from removable medium 511. When the computer program is executed by central processing unit (CPU) 501, it performs the various functions defined in the present invention.

[0105] It should be noted that the computer-readable medium shown in the embodiments of the present invention can be a computer-readable signal medium or a computer-readable storage medium, or any combination thereof. A computer-readable storage medium can be, for example,—but not limited to—an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples of a computer-readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer disk, a hard disk, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM), flash memory, optical fiber, portable compact disc read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination thereof. In the present invention, a computer-readable storage medium can be any tangible medium containing or storing a program that can be used by or in conjunction with an instruction execution system, apparatus, or device. In the present invention, a computer-readable signal medium can include a data signal propagated in baseband or as part of a carrier wave, wherein a computer-readable computer program is carried. The transmitted data signal can take many forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof.

[0106] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of the present invention. Each block in a flowchart or block diagram may represent a module, segment, or portion of code, which contains one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions indicated in the blocks may occur in a different order than those indicated in the drawings. For example, two consecutively indicated blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in a block diagram or flowchart, and combinations of blocks in a block diagram or flowchart, may be implemented using a dedicated hardware-based system that performs the specified function or operation, or using a combination of dedicated hardware and computer instructions.

[0107] In another aspect, the present invention also provides a computer-readable storage medium, which may be included in the system described in the above embodiments; or it may exist independently and not assembled into the system. The storage medium carries one or more computer programs that, when executed by a processor of a system, cause the system to implement the methods provided in the above embodiments.

[0108] The above-described embodiments are only used to illustrate the technical solutions of this application, and are not intended to limit it. Although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of this application.

[0109] As used in the above embodiments, depending on the context, the term "when..." can be interpreted as meaning "if...", "after...", "in response to determining...", or "in response to detecting...". Similarly, depending on the context, the phrase "when determining..." or "if (the stated condition or event) is interpreted as meaning "if determining...", "in response to determining...", "when (the stated condition or event) is detected", or "in response to detecting (the stated condition or event)".

[0110] In the above embodiments, implementation can be achieved, in whole or in part, through software, hardware, firmware, or any combination thereof. When implemented in software, it can be implemented, in whole or in part, as a computer program product. This computer program product includes one or more computer instructions. When these computer program instructions are loaded and executed on a computer, all or part of the processes or functions described in the embodiments of this application are generated. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another. For example, the computer instructions can be transmitted from one website, computer, server, or data center to another website, computer, server, or data center via wired (e.g., coaxial cable, fiber optic, digital subscriber line) or wireless (e.g., infrared, wireless, microwave, etc.) means. The computer-readable storage medium can be any available medium accessible to a computer or a data storage device such as a server or data center that integrates one or more available media. The available medium can be a magnetic medium (e.g., floppy disk, hard disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., solid-state drive), etc.

[0111] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. This program can be stored in a computer-readable storage medium, and when executed, it can include the processes described in the above method embodiments. The aforementioned storage medium includes various media capable of storing program code, such as ROM or random access memory (RAM), magnetic disks, or optical disks.

Claims

1. A method for adjusting screen color temperature and brightness under sudden change environments, characterized in that, include: If the change in current light intensity within a preset time range is greater than the light threshold, the first color temperature value and the first brightness value of the screen are obtained. The current light intensity, the first color temperature value, and the first brightness value are input into the screen adjustment function to obtain the applicable screen parameters, which include the second color temperature value and the second brightness value. The optimal screen effect value of the applicable screen parameters is calculated using the screen display effect function and the first backlight brightness value of the screen. Adjusting the screen's color temperature and brightness values ​​yields adjusted color temperature and brightness values. These adjusted color temperature and brightness values ​​are calculated using the screen display effect function to obtain the optimal screen effect values, specifically including: If it is determined that the applicable screen parameter is not in the preset screen parameter table, the default screen parameter that is closest to the applicable screen parameter in the preset screen parameter table is determined. The default screen parameter includes a third color temperature value and a third brightness value. The screen is adjusted from the first color temperature value and the first brightness value to the third color temperature value and the third brightness value; Adjust the screen from the third color temperature value and the third brightness value to the second color temperature value and the second brightness value; If it is determined that the second brightness value is less than the minimum brightness value of the screen, the screen is adjusted from the first brightness value to the minimum brightness value of the screen. Reduce the first backlight brightness to the second backlight brightness so that the brightness value of the screen is reduced from the minimum brightness value defined by the screen to the second brightness value; After reducing the first backlight brightness to the second backlight brightness, the fourth color temperature value of the screen is obtained; The fifth color temperature value is obtained based on the second backlight brightness, the second brightness value, and the optimal screen effect value. Adjust the screen from the fourth color temperature value to the fifth color temperature value.

2. The method according to claim 1, characterized in that, The screen adjustment function is: ; In the formula, This is the second color temperature value. This is the second brightness value. The current light intensity, The light intensity before the change in illumination. The color temperature value before the change in lighting. This represents the brightness value before the change in illumination.

3. The method according to claim 1, characterized in that, The screen display effect function is: ; In the formula, The optimal screen effect value is... The area of ​​the screen is [area]. The current light intensity, This is the second color temperature value. This is the second brightness value. This refers to the backlight brightness value of the screen.

4. The method according to claim 1, characterized in that, Before determining the default screen parameter closest to the applicable screen parameter in the preset screen parameter table when it is determined that the applicable screen parameter is not in the preset screen parameter table, the method further includes: If the applicable screen parameters are determined to be in the preset screen parameter table, the screen is adjusted from the first color temperature value and the first brightness value to the second color temperature value and the second brightness value.

5. The method according to claim 1, characterized in that, The preset time range is 5 minutes.

6. A screen color temperature and brightness adjustment system for sudden changes in environment, characterized in that, include: The acquisition module is used to acquire the first color temperature value and the first brightness value of the screen when the change in the current light intensity within a preset time range is greater than the light threshold. The adjustment calculation module is used to input the current light intensity, the first color temperature value and the first brightness value into the screen adjustment function to obtain applicable screen parameters, the applicable screen parameters including the second color temperature value and the second brightness value; The display calculation module is used to calculate the optimal screen effect value of the applicable screen parameters using the screen display effect function and the first backlight brightness value of the screen. The adjustment module adjusts the color temperature and brightness values ​​of the screen to obtain adjusted color temperature and adjusted brightness values. The adjusted color temperature and adjusted brightness values ​​are calculated using the screen display effect function to obtain the optimal screen effect value. Specifically, it is also used to: determine the default screen parameter closest to the applicable screen parameter in the preset screen parameter table when it is determined that the applicable screen parameter is not in the preset screen parameter table. The default screen parameter includes a third color temperature value and a third brightness value. The screen is adjusted from the first color temperature value and the first brightness value to the third color temperature value and the third brightness value; Adjust the screen from the third color temperature value and the third brightness value to the second color temperature value and the second brightness value; If it is determined that the second brightness value is less than the minimum brightness value of the screen, the screen is adjusted from the first brightness value to the minimum brightness value of the screen. Reduce the first backlight brightness to the second backlight brightness so that the brightness value of the screen is reduced from the minimum brightness value defined by the screen to the second brightness value; After reducing the first backlight brightness to the second backlight brightness, the fourth color temperature value of the screen is obtained; The fifth color temperature value is obtained based on the second backlight brightness, the second brightness value, and the optimal screen effect value. Adjust the screen from the fourth color temperature value to the fifth color temperature value.

7. A screen color temperature and brightness adjustment system for sudden changes in environment, characterized in that, include: One or more processors and memory; The memory is coupled to the one or more processors, the memory being used to store computer program code, the computer program code including computer instructions, the one or more processors invoking the computer instructions to cause the system to perform the method as described in any one of claims 1-5.

8. A computer-readable storage medium comprising instructions, characterized in that, When the instructions are executed on the system, the system performs the method as described in any one of claims 1-5.