Screen color adjustment method and device, electronic equipment and readable storage medium

By calculating the mixed color adaptation coefficient based on ambient light illuminance and screen brightness in electronic devices, determining the target color temperature value in combination with ambient light color coordinates, and adjusting the screen color, the problem of inaccurate color adjustment in traditional technology is solved, and the color in different environments is realized. Color perception consistency and accuracy.

CN119091824APending Publication Date: 2024-12-06GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411526531.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-10-29
Publication Date
2024-12-06

AI Technical Summary

Technical Problem

In traditional technology, the color adjustment of the screen of electronic devices is not accurate enough, and the adaptation mechanism of the human eye to the screen and environment under different ambient lights is not effectively considered, resulting in inconsistent color perception.

Method used

By determining the mixed color adaptation coefficient based on the ambient light illuminance and screen brightness of the environment where the electronic device is located, combining the ambient light color coordinates, the target color temperature value is calculated, and the screen color is adjusted according to the target color temperature value, dynamically adjusting the adaptation level and improving the accuracy of color adjustments. Spend.

Benefits of technology

It realizes a more accurate description of the human eye adaptation mechanism in different environments, ensures the perceived consistency of the color of the screen of electronic devices, improves the accuracy of color adjustment, and avoids the display color casting caused by changes in ambient color temperature.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119091824A_ABST
    Figure CN119091824A_ABST
Patent Text Reader

Abstract

The invention relates to a screen color adjustment method and device, electronic equipment and a readable storage medium. The method comprises the following steps: determining a mixed color adaptation coefficient according to the environment illuminance of the environment where the electronic equipment is located and the screen brightness of the electronic equipment; determining a target color temperature value according to the mixed color adaptation coefficient, the ambient illuminance and ambient light color coordinates of the environment where the electronic equipment is located; and adjusting the screen color of the electronic equipment according to the target color temperature value. By adopting the method, the color adjustment accuracy of the screen of the electronic equipment can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of display technology, and in particular to a screen color adjustment method, device, electronic device and readable storage medium. Background Art

[0002] As electronic devices are more widely used in people's lives, the environments in which users use electronic devices are becoming more diverse, such as using electronic devices in dim environments or in environments with strong light. However, the sensitivity of the three types of cone cells in the human eye's retina that perceive color will change with changes in ambient light. Therefore, in order to ensure that the colors presented on the screen are perceived consistently by the human eye when users use electronic devices in different environments, the color of the electronic device screen needs to be adjusted.

[0003] In traditional technology, the color adaptation compensation value is mainly determined by the ambient color temperature, and the color of the electronic device screen is adjusted using the color adaptation compensation value.

[0004] However, the traditional method has the problem of inaccurate color adjustment of electronic device screens. Summary of the invention

[0005] The embodiments of the present application provide a screen color adjustment method, device, electronic device and readable storage medium, which can improve the color adjustment accuracy of the electronic device screen.

[0006] In a first aspect, an embodiment of the present application provides a screen color adjustment method, comprising:

[0007] Determining a mixed color adaptation coefficient according to the ambient light illumination of the environment where the electronic device is located and the screen brightness of the electronic device;

[0008] Determining a target color temperature value according to the mixed color adaptation coefficient, the ambient light illumination, and the ambient light color coordinates of the environment where the electronic device is located;

[0009] The screen color of the electronic device is adjusted according to the target color temperature value.

[0010] In a second aspect, an embodiment of the present application provides a screen color adjustment device, comprising:

[0011] A first determination module, configured to determine a mixed color adaptation coefficient according to the ambient light illumination of the environment where the electronic device is located and the screen brightness of the electronic device;

[0012] A second determination module is used to determine a target color temperature value according to the mixed color adaptation coefficient, the ambient light illumination and the ambient light color coordinates of the environment where the electronic device is located;

[0013] The adjustment module is used to adjust the screen color of the electronic device according to the target color temperature value.

[0014] In a third aspect, an embodiment of the present application provides an electronic device, comprising a memory and a processor, wherein the memory stores a computer program, and when the computer program is executed by the processor, the processor executes the steps of the screen color adjustment method described in the first aspect.

[0015] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the steps of the screen color adjustment method as described in the first aspect are implemented.

[0016] In a fifth aspect, an embodiment of the present application provides a computer program product, including a computer program, which, when executed by a processor, implements the steps of the screen color adjustment method as described in the first aspect.

[0017] The above-mentioned screen color adjustment method, device, electronic device and readable storage medium can determine the mixed color adaptation coefficient according to the ambient light illumination of the environment in which the electronic device is located and the screen brightness of the electronic device, so that the target color temperature value can be determined according to the determined mixed color adaptation coefficient, the ambient light illumination and the ambient light color coordinates of the environment in which the electronic device is located, and the screen color of the electronic device is adjusted according to the target color temperature value. Since the mixed color adaptation coefficient is used in the process of determining the target color temperature value, and the mixed color adaptation coefficient is determined according to the ambient light illumination of the environment in which the electronic device is located and the screen brightness of the electronic device, the degree of adaptation of the environment and the screen of the electronic device can be dynamically adjusted according to the ambient light illumination of the environment in which the electronic device is located and the screen brightness of the electronic device, and the electronic device can better describe the adaptation mechanism of the human eye in different environments, so that the determined target color temperature value is more accurate, so that the determined target color temperature value can be used to more accurately adjust the screen color of the electronic device, thereby improving the adjustment accuracy of the screen color of the electronic device. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0019] FIG1 is a diagram showing an application environment of a screen color adjustment method according to an embodiment;

[0020] FIG2 is a flow chart of a screen color adjustment method according to an embodiment;

[0021] FIG3 is a flow chart of a screen color adjustment method in another embodiment;

[0022] FIG4 is a flow chart of a screen color adjustment method in another embodiment;

[0023] FIG5 is a flow chart of a screen color adjustment method according to another embodiment;

[0024] FIG6 is a flow chart of a screen color adjustment method according to another embodiment;

[0025] FIG7 is a flow chart of a screen color adjustment method according to another embodiment;

[0026] FIG8 is a structural block diagram of a screen color adjustment device in one embodiment;

[0027] FIG9 is a structural block diagram of a screen color adjustment device in another embodiment;

[0028] FIG10 is a structural block diagram of a screen color adjustment device in another embodiment;

[0029] FIG11 is a structural block diagram of a screen color adjustment device in another embodiment;

[0030] FIG. 12 is a schematic diagram of the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION

[0031] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0032] The screen color adjustment method provided in the embodiment of the present application can be applied in the application environment shown in FIG1. ​​The electronic device 102 can be, but is not limited to, various personal computers, laptops, smart phones, tablet computers, and portable wearable devices, and the portable wearable devices can be smart watches, smart bracelets, head-mounted devices, etc.

[0033] In traditional technology, the screen color temperature is adjusted based on the ambient color temperature, thereby adjusting the screen color to adapt to the color adaptation mechanism of the human eye and ensure that the color presented on the screen of the electronic device under different ambient light is perceived consistently by the human eye. However, when users use electronic devices such as mobile phones or tablets, not only the ambient light will cause the color adaptation of the human eye, but the light emitted by the screen will also enter the human eye and affect the sensitivity of the cone cells. Therefore, when calculating the color adaptation of the human eye, it should be based on the mixed color adaptation model (applicable to multi-light source systems). In the mixed color adaptation model, the adaptation ratio of the screen and the environment depends on the illumination of the environment and the brightness of the screen. When users use it outdoors under high illumination, the human eye adapts more to the color temperature of the environment, so the adaptation ratio of the ambient light is higher. When users use it under weak ambient light, the human eye will adapt more to the white point of the screen. At this time, the adaptation ratio of the ambient light is lower and the adaptation ratio of the screen is higher. In traditional technology, the adaptation of the human eye to the screen is not considered. The color temperature of the screen is calculated only based on the ambient color temperature. The result obtained in this way does not conform to the color adaptation mechanism of the human eye and is also inaccurate. Therefore, the embodiments of the present application provide a screen color adjustment method, device, electronic device, and readable storage medium that can improve the accuracy of color adjustment on the screen of an electronic device.

[0034] In one embodiment, as shown in FIG2 , a screen color adjustment method is provided. This embodiment is described by taking the method applied to the electronic device in FIG1 as an example. It can be understood that the method can also be applied to a server, and can also be applied to a system including an electronic device and a server, and is implemented through the interaction between the electronic device and the server. In this embodiment, the method includes the following steps:

[0035] S201, determining a mixed color adaptation coefficient according to the ambient light illumination of the environment where the electronic device is located and the screen brightness of the electronic device.

[0036] Among them, the ambient light illumination refers to the intensity and distribution of light in the environment. Different environments correspond to different ambient light illuminations. For example, the ambient light illumination outdoors on a sunny day is 30,000 to 130,000 lux, and the ambient light illumination indoors on a sunny day is 100 to 1,000 lux. The screen brightness of an electronic device refers to the intensity of light emitted by the screen of the electronic device. Optionally, in this embodiment, the ambient light illumination of the environment in which the electronic device is located can be obtained based on the optical sensor of the electronic device itself, and the screen brightness of the electronic device can be obtained based on the backlight value of the electronic device.

[0037] In this embodiment, as an optional implementation, the ratio of the ambient light illumination of the environment where the electronic device is located and the screen brightness of the electronic device can be obtained, and the mixed color adaptation coefficient can be determined according to the ratio of the ambient light illumination of the environment where the electronic device is located and the screen brightness of the electronic device and a preset adjustment coefficient. Optionally, if the ambient light of the environment where the electronic device is located has a greater impact on the color of the electronic device screen, the proportion of the ambient light illumination of the environment where the electronic device is located in the adjustment coefficient can be increased; if the screen brightness of the electronic device has a greater impact on the color of the electronic device screen, the proportion of the screen brightness of the electronic device in the adjustment coefficient can be increased.

[0038] S202, determining a target color temperature value according to the mixed color adaptation coefficient, the ambient light illumination, and the ambient light color coordinates of the environment where the electronic device is located.

[0039] Optionally, in this embodiment, the ambient light color coordinates of the environment in which the electronic device is located can be converted, and the ambient light color coordinates of the environment in which the electronic device is located can be converted into a corresponding cone response matrix, and then the adjustment coefficient of the cone response matrix is ​​determined according to the mixed color adaptation coefficient and the ambient light illumination, and then the target color matrix is ​​determined according to the cone response matrix and the determined adjustment coefficient, and then the target color matrix is ​​converted into a corresponding color temperature value, and the converted color temperature value is determined as the target color temperature value.

[0040] Alternatively, in this embodiment, as another optional implementation, the target color temperature value can be determined based on the correspondence between the mixed color adaptation coefficient, the ambient light illumination, the ambient light color coordinates and the color temperature value; or, as another optional implementation, the mixed color adaptation coefficient, the ambient light illumination of the environment where the electronic device is located and the ambient light color coordinates of the environment where the electronic device is located can be input into a neural network model, and the target color temperature value can be determined through the neural network model.

[0041] S203, adjusting the screen color of the electronic device according to the target color temperature value.

[0042] Optionally, in this embodiment, the color temperature value of the electronic device can be adjusted to the above-mentioned target color temperature value to adjust the screen color of the electronic device; or, the color temperature value of the electronic device screen can be adjusted according to the above-mentioned target color temperature value and a preset color temperature compensation value to adjust the screen color of the electronic device.

[0043] In the above-mentioned screen color adjustment method, the mixed color adaptation coefficient can be determined according to the ambient light illumination of the environment where the electronic device is located and the screen brightness of the electronic device, so that the target color temperature value can be determined according to the determined mixed color adaptation coefficient, the ambient light illumination and the ambient light color coordinates of the environment where the electronic device is located, and the screen color of the electronic device is adjusted according to the target color temperature value. Since the mixed color adaptation coefficient is used in the process of determining the target color temperature value, and the mixed color adaptation coefficient is determined according to the ambient light illumination of the environment where the electronic device is located and the screen brightness of the electronic device, the degree of adaptation of the environment and the screen of the electronic device can be dynamically adjusted according to the ambient light illumination of the environment where the electronic device is located and the screen brightness of the electronic device, so that the electronic device can better describe the adaptation mechanism of the human eye in different environments, so that the determined target color temperature value is more accurate, so that the determined target color temperature value can be used to more accurately adjust the screen color of the electronic device, thereby improving the adjustment accuracy of the screen color of the electronic device.

[0044] In this embodiment, the specific implementation process of determining the target color temperature value according to the mixed color adaptation coefficient, the ambient light illumination and the ambient light color coordinates of the environment where the electronic device is located will be explained. In one embodiment, as shown in FIG3 , the above S202 includes:

[0045] S301, converting the ambient light color coordinates into a first cone response matrix using a cone response conversion matrix.

[0046] The cone response conversion matrix may be a cone response conversion matrix specified by a color appearance model. For example, the cone response conversion matrix in this embodiment may be a cone response conversion matrix specified by a color appearance model CIECAM02 or CIECAM16.

[0047] Optionally, in this embodiment, the product value of the cone response conversion matrix and the ambient light color coordinates can be determined as the first cone response matrix. Convert the ambient light color coordinates to the first cone response matrix, where: is the first frustum response matrix, is the cone response transformation matrix, is the ambient light color coordinate.

[0048] S302, determining a target color temperature value according to a mixed color adaptation coefficient, ambient light illumination, a first cone response matrix and a second cone response matrix; the second cone response matrix is ​​a cone response matrix corresponding to the color coordinates of the target color; and the value of the color channel of the target color is 255.

[0049] The second cone response matrix is ​​a cone response matrix corresponding to the color coordinates of the target color, and the color channel value of the target color is 255, that is, the color coordinates of the target color are the color coordinates when the screen of the electronic device displays a pure white picture. Similarly, in this embodiment, as an example, the above cone response conversion matrix can be used Convert the color coordinates of the target color to the second cone response matrix.

[0050] Optionally, in this embodiment, a color adjustment coefficient can be determined based on the mixed color adaptation coefficient and the ambient light illumination, and then the target color matrix can be determined based on the first cone response matrix, the second cone response matrix and the color adjustment coefficient. Thereafter, based on the correspondence between the color matrix and the color temperature value, the target color temperature value corresponding to the target color matrix is ​​determined.

[0051] In this embodiment, the process of converting the ambient light color coordinates into the first cone response matrix using the cone response conversion matrix is ​​relatively simple, and the first cone response matrix can be quickly obtained, so that the target color temperature value can be quickly determined according to the mixed color adaptation coefficient, the ambient light illumination, the first cone response matrix and the second cone response matrix, thereby improving the efficiency of determining the target color temperature value; in addition, since the target color temperature value is determined according to the mixed color adaptation coefficient, the ambient light illumination, the first cone response matrix corresponding to the ambient light color coordinates and the cone response matrix corresponding to the color coordinates of the target color, the influence of different ambient light and the screen brightness of the electronic device on the target color temperature value is taken into account, the determined target color temperature value is more accurate, so that the electronic device can achieve consistent display effect perception in various usage scenarios, ensuring that the display effect will not cause color cast problems due to changes in ambient color temperature.

[0052] In the above scenario where the target color temperature value is determined based on the mixed color adaptation coefficient, the ambient light illuminance, the first cone response matrix and the second cone response matrix, the cone response adaptation matrix can be determined first, and then the target cone response matrix can be determined based on the cone response adaptation matrix, and the target color temperature value can be determined based on the target cone response matrix. In one embodiment, as shown in FIG4 , the above S302 includes:

[0053] S401, determining a cone response adaptation matrix according to a mixed color adaptation coefficient, a first cone response matrix and a second cone response matrix.

[0054] Optionally, in this embodiment, the first cone response matrix and the second cone response matrix may be weightedly summed according to the mixed color adaptation coefficient to obtain the cone response adaptation matrix.

[0055] As an optional implementation, the mixed color adaptation coefficient can be used as the weighting coefficient of the first cone response matrix and the second cone response matrix respectively, and then the first cone response matrix and the second cone response matrix are weightedly summed to obtain the cone response adaptation matrix.

[0056] As another optional implementation, in this embodiment, the first weighting coefficient of the first cone response matrix and the second weighting coefficient of the second cone response matrix can be determined according to the mixed color adaptation coefficient. For example, the mixed color adaptation coefficient can be determined as the first weighting coefficient of the first cone response matrix, and the difference between 1 and the mixed color adaptation coefficient can be determined as the second weighting coefficient of the second cone response matrix. Alternatively, the difference between 1 and the mixed color adaptation coefficient can be determined as the first weighting coefficient of the first cone response matrix, and the mixed color adaptation coefficient can be determined as the second weighting coefficient of the second cone response matrix. Then, according to the first weighting coefficient and the second weighting coefficient, the first cone response matrix and the second cone response matrix are weightedly summed to obtain the cone response adaptation matrix. As an example, taking the mixed color adaptation coefficient as the first weighting coefficient of the first cone response matrix and the difference between 1 and the mixed color adaptation coefficient as the second weighting coefficient of the second cone response matrix as an example, the process of determining the cone response adaptation matrix is ​​explained. For example, according to the formula , determine the cone response adaptation matrix, where, represents the mixed color adaptation coefficient, is the first frustum response matrix, is the second frustum response matrix, is the cone response adaptation matrix.

[0057] S402, determining a target cone response matrix according to the ambient light illumination, the second cone response matrix and the cone response adaptation matrix.

[0058] Optionally, in this embodiment, the ratio of the second cone response matrix to the cone response adaptation matrix may be obtained, and then the ratio of the obtained second cone response matrix to the cone response adaptation matrix may be adjusted by the ambient light illumination to obtain the target cone response matrix. For example, each element in the ratio of the second cone response matrix to the cone response adaptation matrix may be adjusted by the ambient light illumination to obtain the target cone response matrix.

[0059] S403: Determine a target color temperature value according to a target cone response matrix.

[0060] Optionally, in this embodiment, the target color temperature value corresponding to the target cone response matrix may be determined according to the correspondence between the cone response matrix and the color temperature value.

[0061] Alternatively, as another optional implementation, in this embodiment, the target cone response matrix can be transformed using the inverse matrix of the cone response conversion matrix to obtain a color matrix corresponding to the target cone response matrix, thereby determining the color temperature value corresponding to the color matrix corresponding to the target cone response matrix according to the corresponding relationship between the color matrix and the color temperature value, and determining the color temperature value as the target color temperature value. For example, according to the formula Determine the color matrix corresponding to the target cone response matrix, where is the inverse matrix of the cone response transformation matrix, is the target cone response matrix, The color matrix corresponding to the target cone response matrix.

[0062] In the present embodiment, since the cone response adaptation matrix is ​​determined based on the mixed color adaptation coefficient, the first cone response matrix and the second cone response matrix, compared with the method of calculating the screen color temperature by the ambient color temperature in the traditional technology, the mixed color adaptation coefficient of the ambient and screen light is added under different ambient illumination and screen brightness. Therefore, the cone response adaptation matrix can be determined more accurately, and thus the target cone response matrix can be accurately determined based on the ambient light illumination, the second cone response matrix and the cone response adaptation matrix, thereby improving the accuracy of the determined target cone response matrix, and further, the target color temperature value can be accurately determined based on the target cone response matrix, thereby improving the accuracy of the determined target color temperature value.

[0063] In this embodiment, the detailed process of determining the target cone response matrix according to the ambient light illumination, the second cone response matrix and the cone response adaptation matrix is ​​explained. In one embodiment, as shown in FIG5 , the above S402 includes:

[0064] S501, determining the degree of adaptation to the ambient light color according to the ambient light illumination.

[0065] Optionally, in this embodiment, the ambient light intensity may be calculated based on the ambient light illumination, and then the degree of ambient light color adaptation may be determined based on the ambient light intensity. As an example, the formula Calculate the ambient light intensity, where Indicates the ambient light intensity, Indicates the ambient light intensity. is a constant, further, according to the formula Determine the degree of adaptation to ambient light color, where: Indicates the degree of adaptation to ambient light color. is an empirical constant, Indicates the ambient light intensity.

[0066] S502, determining a target cone response matrix according to the second cone response matrix, the cone response adaptation matrix and the degree of adaptation to the ambient light color.

[0067] Optionally, in this embodiment, the ratio of the second cone response matrix to the cone response adaptation matrix can be obtained first, and then the ratio of the second cone response matrix to the cone response adaptation matrix can be corrected according to the degree of ambient light color adaptation to obtain a correction matrix, and then the ratio of the second cone response matrix to the correction matrix can be determined as the target cone response matrix. As an example, the target cone response matrix can be determined according to the following formula, where the formula is , where represents the target frustum response matrix, represents the second frustum response matrix, represents the cone response adaptation matrix, Indicates the degree of ambient light color adaptation. That is to say, each element of the cone response adaptation matrix can be multiplied by the degree of ambient light color adaptation, and then each element of the cone response adaptation matrix multiplied by the ambient light color adaptation program can be added. Correction is performed, and a target cone response matrix is ​​determined using a ratio of the second cone response matrix and the corrected cone response adaptation matrix.

[0068] In this embodiment, the process of determining the degree of ambient light color adaptation based on the ambient light illumination is relatively simple, and the degree of ambient light color adaptation can be quickly determined. Therefore, the target cone response matrix can be quickly determined based on the second cone response matrix, the cone response adaptation matrix and the degree of ambient light color adaptation, thereby ensuring the efficiency of determining the target cone response matrix.

[0069] In this embodiment, the specific process of determining the mixed color adaptation coefficient according to the ambient light illumination of the electronic device and the screen brightness of the electronic device is explained. In one embodiment, as shown in FIG6 , the above S201 includes:

[0070] S601, determining the ambient light brightness according to the ambient light illumination.

[0071] Optionally, in this embodiment, the ambient light brightness can be determined according to the ratio of the ambient light illumination to the circumference ratio. For example, the ambient light brightness can be determined according to the ratio of the ambient light illumination to the circumference ratio. Determine the ambient light brightness, where Indicates the ambient light brightness. Indicates the ambient light intensity. Represents pi.

[0072] S602: Determine a brightness parameter according to the sum of the ambient light brightness and the screen brightness.

[0073] Optionally, in this embodiment, the sum of the ambient light brightness and the screen brightness can be determined as the brightness parameter. Alternatively, as another optional implementation, the weighted sum of the ambient light brightness and the screen brightness can be determined as the brightness parameter.

[0074] S603, determining a mixed color adaptation coefficient according to a ratio of the ambient light brightness to the brightness parameter.

[0075] Optionally, in this embodiment, the ratio of the ambient light brightness to the brightness parameter can be adjusted by a preset adjustment coefficient, and the adjustment value can be determined as the mixed color adaptation coefficient. Determine the mixed color adaptation coefficient, where, represents the mixed color adaptation coefficient, Indicates the preset adjustment coefficient. Indicates the ambient light brightness. Indicates screen brightness. Represents the brightness parameter.

[0076] In the present embodiment, the process of determining the ambient light brightness according to the ambient light illumination is relatively simple, and the ambient light brightness can be determined quickly, so that the brightness parameter can be quickly determined according to the sum of the ambient light brightness and the screen brightness, and then the mixed color adaptation coefficient can be quickly determined according to the ratio of the ambient light brightness and the brightness parameter, thereby improving the efficiency of determining the mixed color adaptation coefficient; in addition, in the process of determining the mixed color adaptation coefficient, both the ambient light information and the screen brightness information are taken into consideration, and multiple aspects are taken into consideration to ensure the accuracy of the determined mixed color adaptation coefficient.

[0077] In some scenarios, the change of screen color temperature will cause the screen brightness to change. For example, in a normal office environment (about 400 lux), after turning off the color temperature adjustment function such as ambient color adaptation, the brightness of the white screen of the mobile phone is about 100nit and the color temperature is about 7400K. However, when the screen color temperature is reduced to 6400K, the brightness of the display under the same ambient illumination will drop by about 8%. When the screen color temperature changes to 5400K, the brightness will drop by 14% under the same ambient illumination. The decrease in brightness will cause the clarity of the screen to decrease, affecting the user experience. Therefore, after adjusting the color temperature value of the electronic device screen, the brightness of the screen needs to be compensated. In one embodiment, as shown in Figure 7, the above method also includes:

[0078] S701, determining a brightness compensation value corresponding to the target color temperature value according to the target color temperature value and a preset mapping table; the mapping table includes a mapping relationship between different color temperature values ​​and corresponding brightness compensation values.

[0079] Exemplarily, the preset mapping table may be a mapping table as shown in Table 1 below, which includes brightness compensation values ​​corresponding to different color temperature values.

[0080] Table 1

[0081] Color temperature value Brightness compensation value Dcct_1 L_gain_1 Dcct_2 L_gain_2 Dcct_3 L_gain_3 Dcct_4 L_gain_4 …… ……

[0082] Optionally, in this embodiment, the brightness compensation value corresponding to the target color temperature value may be determined by looking up the above mapping table.

[0083] S702, compensating the brightness of the electronic device screen according to the brightness compensation value.

[0084] Optionally, in this embodiment, the backlight value of the electronic device screen can be adjusted according to the determined brightness compensation value to compensate for the brightness of the electronic device screen and compensate for the screen brightness attenuation caused by the reduction in color temperature.

[0085] In this embodiment, based on the target color temperature value and the preset mapping table, the brightness compensation value corresponding to the target color temperature value can be accurately determined, so that the brightness of the electronic device screen can be compensated according to the determined brightness compensation value to compensate for the brightness attenuation caused by the color temperature adjustment, thereby avoiding the brightness attenuation caused by the color temperature adjustment, which in turn affects the display clarity.

[0086] To facilitate understanding by those skilled in the art, the screen color adjustment method provided by the present disclosure is described in detail below. The method may include:

[0087] S1, determining the ambient light brightness according to the ambient light illumination of the environment where the electronic device is located.

[0088] S2, determining a brightness parameter according to the sum of the ambient light brightness and the screen brightness.

[0089] S3, determining a mixed color adaptation coefficient according to a ratio of the ambient light brightness to the brightness parameter.

[0090] S4, using the cone response conversion matrix to convert the ambient light color coordinates of the environment where the electronic device is located into a first cone response matrix.

[0091] S5, determining the first weighting coefficient of the first cone response matrix and the second weighting coefficient of the second cone response matrix according to the mixed color adaptation coefficient; the second cone response matrix is ​​the cone response matrix corresponding to the color coordinates of the target color; the color channel value of the target color is 255.

[0092] S6, performing weighted summation on the first cone response matrix and the second cone response matrix according to the first weighting coefficient and the second weighting coefficient to obtain a cone response adaptation matrix.

[0093] S7, determining the degree of adaptation to the ambient light color according to the ambient light illumination.

[0094] S8, determining a target cone response matrix according to the second cone response matrix, the cone response adaptation matrix and the degree of adaptation to the ambient light color.

[0095] S9, using the inverse matrix of the cone response conversion matrix to transform the target cone response matrix, to obtain a color matrix corresponding to the target cone response matrix.

[0096] S10, determining a target color temperature value according to the color matrix.

[0097] S11, determining a brightness compensation value corresponding to the target color temperature value according to the target color temperature value and a preset mapping table; the mapping table includes a mapping relationship between different color temperature values ​​and corresponding brightness compensation values.

[0098] S12, compensating the brightness of the electronic device screen according to the brightness compensation value.

[0099] It should be noted that for the description of the above steps, reference may be made to the relevant description in the above embodiment, and the effects are similar, so this embodiment will not be repeated here.

[0100] It should be understood that, although the steps in the flowcharts involved in the above embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps is not strictly limited in order, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above embodiments may include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.

[0101] Based on the same inventive concept, the embodiment of the present application also provides a screen color adjustment device for implementing the above-mentioned screen color adjustment method. The implementation solution provided by the device to solve the problem is similar to the implementation solution recorded in the above-mentioned method, so the specific limitations in one or more screen color adjustment device embodiments provided below can refer to the above-mentioned limitations on the screen color adjustment method, and will not be repeated here.

[0102] In one embodiment, as shown in FIG8 , a screen color adjustment device is provided, comprising: a first determination module 10, a second determination module 11 and an adjustment module 12, wherein:

[0103] The first determination module 10 is used to determine a mixed color adaptation coefficient according to the ambient light illumination of the environment where the electronic device is located and the screen brightness of the electronic device.

[0104] The second determination module 11 is used to determine a target color temperature value according to a mixed color adaptation coefficient, the ambient light illumination, and the ambient light color coordinates of the environment where the electronic device is located.

[0105] The adjustment module 12 is used to adjust the screen color of the electronic device according to the target color temperature value.

[0106] The screen color adjustment device provided in this embodiment can execute the above method embodiment, and its implementation principle and technical effect are similar, which will not be repeated here.

[0107] On the basis of the above embodiment, as shown in FIG9 , optionally, the above second determination module 11 includes: a conversion unit 111 and a first determination unit 112, wherein:

[0108] The conversion unit 111 is used to convert the ambient light color coordinates into a first cone response matrix by using the cone response conversion matrix.

[0109] The first determination unit 112 is used to determine the target color temperature value according to the mixed color adaptation coefficient, the ambient light illumination, the first cone response matrix and the second cone response matrix; the second cone response matrix is ​​the cone response matrix corresponding to the color coordinates of the target color; the color channel value of the target color is 255.

[0110] The screen color adjustment device provided in this embodiment can execute the above method embodiment, and its implementation principle and technical effect are similar, which will not be repeated here.

[0111] On the basis of the above embodiment, optionally, the above first determination unit 112 is specifically used to determine the cone response adaptation matrix according to the mixed color adaptation coefficient, the first cone response matrix and the second cone response matrix; determine the target cone response matrix according to the ambient light illumination, the second cone response matrix and the cone response adaptation matrix; determine the target color temperature value according to the target cone response matrix.

[0112] The screen color adjustment device provided in this embodiment can execute the above method embodiment, and its implementation principle and technical effect are similar, which will not be repeated here.

[0113] On the basis of the above embodiment, optionally, the above-mentioned first determination unit 112 is specifically used to determine the first weighting coefficient of the first cone response matrix and the second weighting coefficient of the second cone response matrix according to the mixed color adaptation coefficient; according to the first weighting coefficient and the second weighting coefficient, the first cone response matrix and the second cone response matrix are weightedly summed to obtain the cone response adaptation matrix.

[0114] The screen color adjustment device provided in this embodiment can execute the above method embodiment, and its implementation principle and technical effect are similar, which will not be repeated here.

[0115] On the basis of the above embodiment, optionally, the above first determination unit 112 is specifically used to determine the degree of ambient light color adaptation according to the ambient light illumination; and determine the target cone response matrix according to the second cone response matrix, the cone response adaptation matrix and the degree of ambient light color adaptation.

[0116] The screen color adjustment device provided in this embodiment can execute the above method embodiment, and its implementation principle and technical effect are similar, which will not be repeated here.

[0117] On the basis of the above embodiment, optionally, the above first determination unit 112 is specifically used to transform the target cone response matrix using the inverse matrix of the cone response conversion matrix to obtain a color matrix corresponding to the target cone response matrix; and determine the target color temperature value according to the color matrix.

[0118] The screen color adjustment device provided in this embodiment can execute the above method embodiment, and its implementation principle and technical effect are similar, which will not be repeated here.

[0119] On the basis of the above embodiment, as shown in FIG10 , optionally, the above first determination module 10 includes: a second determination unit 101, a third determination unit 102 and a fourth determination unit 103, wherein:

[0120] The second determining unit 101 is used to determine the ambient light brightness according to the ambient light illumination.

[0121] The third determining unit 102 is used to determine a brightness parameter according to the sum of the ambient light brightness and the screen brightness.

[0122] The fourth determining unit 103 is used to determine the mixed color adaptation coefficient according to the ratio of the ambient light brightness and the brightness parameter.

[0123] The screen color adjustment device provided in this embodiment can execute the above method embodiment, and its implementation principle and technical effect are similar, which will not be repeated here.

[0124] On the basis of the above embodiment, as shown in FIG11 , optionally, the above device further includes: a third determination module 13 and a compensation module 14, wherein:

[0125] The third determination module 13 is used to determine the brightness compensation value corresponding to the target color temperature value according to the target color temperature value and a preset mapping table; the mapping table includes a mapping relationship between different color temperature values ​​and corresponding brightness compensation values.

[0126] The compensation module 14 is used to compensate the brightness of the electronic device screen according to the brightness compensation value.

[0127] The screen color adjustment device provided in this embodiment can execute the above method embodiment, and its implementation principle and technical effect are similar, which will not be repeated here.

[0128] Each module in the above screen color adjustment device can be implemented in whole or in part by software, hardware, or a combination thereof. Each module can be embedded in or independent of a processor in a computer device in the form of hardware, or can be stored in a memory in a computer device in the form of software, so that the processor can call and execute operations corresponding to each module.

[0129] In one embodiment, a computer device is provided, which may be an electronic device, and its internal structure diagram may be shown in FIG12. The computer device includes a processor, a memory, an input / output interface, a communication interface, a display unit, and an input device. The processor, the memory, and the input / output interface are connected via a system bus, and the communication interface, the display unit, and the input device are connected to the system bus via the input / output interface. The processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The input / output interface of the computer device is used to exchange information between the processor and an external device. The communication interface of the computer device is used to communicate with an external terminal in a wired or wireless manner, and the wireless manner may be implemented through WIFI, a mobile cellular network, NFC (near field communication) or other technologies. When the computer program is executed by the processor, a screen color adjustment method is implemented. The display unit of the computer device is used to form a visually visible picture, which may be a display screen, a projection device, or a virtual reality imaging device. The display screen can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer device can be a touch layer covering the display screen, or a button, trackball or touchpad set on the computer device shell, or an external keyboard, touchpad or mouse.

[0130] Those skilled in the art will understand that the structure shown in FIG. 12 is merely a block diagram of a partial structure related to the scheme of the present application, and does not constitute a limitation on the computer device to which the scheme of the present application is applied. The specific computer device may include more or fewer components than shown in the figure, or combine certain components, or have a different arrangement of components.

[0131] In one embodiment, an electronic device is provided, including a memory and a processor, wherein a computer program is stored in the memory, and when the processor executes the computer program, the following steps are implemented:

[0132] Determine a mixed color adaptation coefficient according to the ambient light illumination of the environment where the electronic device is located and the screen brightness of the electronic device;

[0133] Determine the target color temperature value according to the mixed color adaptation coefficient, the ambient light illumination and the ambient light color coordinates of the environment where the electronic device is located;

[0134] Adjust the screen color of the electronic device according to the target color temperature value.

[0135] In one embodiment, when the processor executes the computer program, the following steps are also implemented:

[0136] The ambient light color coordinates are converted into a first cone response matrix using a cone response conversion matrix;

[0137] The target color temperature value is determined according to the mixed color adaptation coefficient, the ambient light illumination, the first cone response matrix and the second cone response matrix; the second cone response matrix is ​​the cone response matrix corresponding to the color coordinates of the target color; and the color channel value of the target color is 255.

[0138] In one embodiment, when the processor executes the computer program, the following steps are also implemented:

[0139] Determining a cone response adaptation matrix according to the mixed color adaptation coefficient, the first cone response matrix, and the second cone response matrix;

[0140] Determine a target cone response matrix according to the ambient light illumination, the second cone response matrix and the cone response adaptation matrix;

[0141] According to the target cone response matrix, the target color temperature value is determined.

[0142] In one embodiment, when the processor executes the computer program, the following steps are also implemented:

[0143] Determining a first weighting coefficient of a first cone response matrix and a second weighting coefficient of a second cone response matrix according to the mixed chromatic adaptation coefficient;

[0144] The first cone response matrix and the second cone response matrix are weighted and summed according to the first weighting coefficient and the second weighting coefficient to obtain the cone response adaptation matrix.

[0145] In one embodiment, when the processor executes the computer program, the following steps are also implemented:

[0146] Determine the degree of adaptation to ambient light color according to the ambient light illumination;

[0147] A target cone response matrix is ​​determined according to the second cone response matrix, the cone response adaptation matrix and the degree of ambient light color adaptation.

[0148] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:

[0149] The target cone response matrix is ​​transformed by using the inverse matrix of the cone response transformation matrix to obtain a color matrix corresponding to the target cone response matrix;

[0150] According to the color matrix, the target color temperature value is determined.

[0151] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:

[0152] Determine the ambient light brightness according to the ambient light illumination;

[0153] Determine the brightness parameter according to the sum of the ambient light brightness and the screen brightness;

[0154] The mixed color adaptation coefficient is determined according to the ratio of the ambient light brightness and the brightness parameter.

[0155] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:

[0156] Determine the brightness compensation value corresponding to the target color temperature value according to the target color temperature value and a preset mapping table; the mapping table includes a mapping relationship between different color temperature values ​​and corresponding brightness compensation values;

[0157] The brightness of the electronic device screen is compensated according to the brightness compensation value.

[0158] In one embodiment, a computer readable storage medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, the following steps are implemented:

[0159] Determine a mixed color adaptation coefficient according to the ambient light illumination of the environment where the electronic device is located and the screen brightness of the electronic device;

[0160] Determine the target color temperature value according to the mixed color adaptation coefficient, the ambient light illumination and the ambient light color coordinates of the environment where the electronic device is located;

[0161] Adjust the screen color of the electronic device according to the target color temperature value.

[0162] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0163] The ambient light color coordinates are converted into a first cone response matrix using a cone response conversion matrix;

[0164] The target color temperature value is determined according to the mixed color adaptation coefficient, the ambient light illumination, the first cone response matrix and the second cone response matrix; the second cone response matrix is ​​the cone response matrix corresponding to the color coordinates of the target color; and the color channel value of the target color is 255.

[0165] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0166] Determining a cone response adaptation matrix according to the mixed color adaptation coefficient, the first cone response matrix, and the second cone response matrix;

[0167] Determine a target cone response matrix according to the ambient light illumination, the second cone response matrix and the cone response adaptation matrix;

[0168] According to the target cone response matrix, the target color temperature value is determined.

[0169] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0170] Determining a first weighting coefficient of a first cone response matrix and a second weighting coefficient of a second cone response matrix according to the mixed chromatic adaptation coefficient;

[0171] The first cone response matrix and the second cone response matrix are weighted and summed according to the first weighting coefficient and the second weighting coefficient to obtain the cone response adaptation matrix.

[0172] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0173] Determine the degree of adaptation to ambient light color according to the ambient light illumination;

[0174] A target cone response matrix is ​​determined according to the second cone response matrix, the cone response adaptation matrix and the degree of ambient light color adaptation.

[0175] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0176] The target cone response matrix is ​​transformed by using the inverse matrix of the cone response transformation matrix to obtain a color matrix corresponding to the target cone response matrix;

[0177] According to the color matrix, the target color temperature value is determined.

[0178] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0179] Determine the ambient light brightness according to the ambient light illumination;

[0180] Determine the brightness parameter according to the sum of the ambient light brightness and the screen brightness;

[0181] The mixed color adaptation coefficient is determined according to the ratio of the ambient light brightness and the brightness parameter.

[0182] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0183] Determine the brightness compensation value corresponding to the target color temperature value according to the target color temperature value and a preset mapping table; the mapping table includes a mapping relationship between different color temperature values ​​and corresponding brightness compensation values;

[0184] The brightness of the electronic device screen is compensated according to the brightness compensation value.

[0185] In one embodiment, a computer program product is provided, comprising a computer program, which, when executed by a processor, implements the following steps:

[0186] Determine a mixed color adaptation coefficient according to the ambient light illumination of the environment where the electronic device is located and the screen brightness of the electronic device;

[0187] Determine the target color temperature value according to the mixed color adaptation coefficient, the ambient light illumination and the ambient light color coordinates of the environment where the electronic device is located;

[0188] Adjust the screen color of the electronic device according to the target color temperature value.

[0189] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0190] The ambient light color coordinates are converted into a first cone response matrix using a cone response conversion matrix;

[0191] The target color temperature value is determined according to the mixed color adaptation coefficient, the ambient light illumination, the first cone response matrix and the second cone response matrix; the second cone response matrix is ​​the cone response matrix corresponding to the color coordinates of the target color; and the color channel value of the target color is 255.

[0192] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0193] Determining a cone response adaptation matrix according to the mixed color adaptation coefficient, the first cone response matrix, and the second cone response matrix;

[0194] Determine a target cone response matrix according to the ambient light illumination, the second cone response matrix and the cone response adaptation matrix;

[0195] According to the target cone response matrix, the target color temperature value is determined.

[0196] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0197] Determining a first weighting coefficient of a first cone response matrix and a second weighting coefficient of a second cone response matrix according to the mixed chromatic adaptation coefficient;

[0198] The first cone response matrix and the second cone response matrix are weighted and summed according to the first weighting coefficient and the second weighting coefficient to obtain the cone response adaptation matrix.

[0199] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0200] Determine the degree of adaptation to ambient light color according to the ambient light illumination;

[0201] A target cone response matrix is ​​determined according to the second cone response matrix, the cone response adaptation matrix and the degree of ambient light color adaptation.

[0202] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0203] The target cone response matrix is ​​transformed by using the inverse matrix of the cone response transformation matrix to obtain a color matrix corresponding to the target cone response matrix;

[0204] According to the color matrix, the target color temperature value is determined.

[0205] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0206] Determine the ambient light brightness according to the ambient light illumination;

[0207] Determine the brightness parameter according to the sum of the ambient light brightness and the screen brightness;

[0208] The mixed color adaptation coefficient is determined according to the ratio of the ambient light brightness and the brightness parameter.

[0209] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0210] Determine the brightness compensation value corresponding to the target color temperature value according to the target color temperature value and a preset mapping table; the mapping table includes a mapping relationship between different color temperature values ​​and corresponding brightness compensation values;

[0211] The brightness of the electronic device screen is compensated according to the brightness compensation value.

[0212] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetoresistive random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, etc., but are not limited to this.

[0213] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0214] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.

Claims

1. A screen color adjustment method, characterized in that: include: Determining a mixed color adaptation coefficient according to the ambient light illumination of the environment where the electronic device is located and the screen brightness of the electronic device; Determining a target color temperature value according to the mixed color adaptation coefficient, the ambient light illumination, and the ambient light color coordinates of the environment where the electronic device is located; The screen color of the electronic device is adjusted according to the target color temperature value.

2. The method according to claim 1, characterized in that The step of determining a target color temperature value according to the mixed color adaptation coefficient, the ambient light illumination, and the ambient light color coordinates of the environment where the electronic device is located comprises: The ambient light color coordinates are converted into a first cone response matrix using a cone response conversion matrix; The target color temperature value is determined according to the mixed color adaptation coefficient, the ambient light illumination, the first cone response matrix and the second cone response matrix; the second cone response matrix is ​​a cone response matrix corresponding to the color coordinates of the target color; and the color channel value of the target color is 255.

3. The method according to claim 2, characterized in that The step of determining the target color temperature value according to the mixed color adaptation coefficient, the ambient light illumination, the first cone response matrix and the second cone response matrix includes: determining a cone response adaptation matrix according to the mixed color adaptation coefficient, the first cone response matrix and the second cone response matrix; Determine a target cone response matrix according to the ambient light illumination, the second cone response matrix and the cone response adaptation matrix; The target color temperature value is determined according to the target viewing cone response matrix.

4. The method according to claim 3, characterized in that Determining a cone response adaptation matrix according to the mixed color adaptation coefficient, the first cone response matrix and the second cone response matrix comprises: Determining a first weighting coefficient of the first visual cone response matrix and a second weighting coefficient of the second visual cone response matrix according to the mixed chromatic adaptation coefficient; The first cone response matrix and the second cone response matrix are weighted and summed according to the first weighting coefficient and the second weighting coefficient to obtain the cone response adaptation matrix.

5. The method according to claim 3, characterized in that: The step of determining a target cone response matrix according to the ambient light illumination, the second cone response matrix and the cone response adaptation matrix comprises: Determining the degree of adaptation to the ambient light color according to the ambient light illumination; The target cone response matrix is ​​determined according to the second cone response matrix, the cone response adaptation matrix and the ambient light color adaptation degree.

6. The method according to claim 3, characterized in that Determining the target color temperature value according to the target cone response matrix includes: The target cone response matrix is ​​transformed by using the inverse matrix of the cone response conversion matrix to obtain a color matrix corresponding to the target cone response matrix; The target color temperature value is determined according to the color matrix.

7. The method according to any one of claims 1 to 6, characterized in that: The step of determining the mixed color adaptation coefficient according to the ambient light illumination of the environment where the electronic device is located and the screen brightness of the electronic device includes: Determining the ambient light brightness according to the ambient light illumination; Determining a brightness parameter according to the sum of the ambient light brightness and the screen brightness; The mixed color adaptation coefficient is determined according to the ratio of the ambient light brightness to the brightness parameter.

8. The method according to claim 1, characterized in that The method further comprises: Determining a brightness compensation value corresponding to the target color temperature value according to the target color temperature value and a preset mapping table; the mapping table includes a mapping relationship between different color temperature values ​​and corresponding brightness compensation values; The brightness of the electronic device screen is compensated according to the brightness compensation value.

9. A screen color adjustment device, characterized in that: include: A first determination module, configured to determine a mixed color adaptation coefficient according to the ambient light illumination of the environment where the electronic device is located and the screen brightness of the electronic device; A second determination module is used to determine a target color temperature value according to the mixed color adaptation coefficient, the ambient light illumination and the ambient light color coordinates of the environment where the electronic device is located; The adjustment module is used to adjust the screen color of the electronic device according to the target color temperature value.

10. An electronic device comprising a memory and a processor, wherein a computer program is stored in the memory, wherein: When the computer program is executed by the processor, the processor executes the steps of the screen color adjustment method according to any one of claims 1 to 8.

11. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 8 are implemented.

12. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 8 are implemented.