Screen display method, screen display device, electronic equipment and storage medium
By obtaining the current ambient color temperature and illuminance and determining the target color temperature using the corresponding relationship, the problem of adjusting the screen color temperature in the prior art is solved, and the effect of maintaining the user's visual perception when the environment changes is achieved.
Patent Information
- Application Number
- CN202311080853.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-08-25
- Publication Date
- 2025-02-25
AI Technical Summary
When adjusting the screen color temperature of the display device, the prior art only relies on the ambient color temperature, and cannot effectively achieve the desired color temperature effect by the user, and fail to consider the influence of ambient illumination.
By obtaining the current ambient color temperature and ambient illuminance, use the correspondence between the preset ambient light parameters and the screen color temperature to determine the target color temperature that matches the current ambient conditions, and adjust the screen display color temperature to the target color temperature.
When the ambient brightness and ambient color temperature change, ensure that the user's impression of the screen display color temperature remains constant, and improve the user's visual experience.
Smart Images

Figure CN119516969A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of screen display, and in particular to a screen display method, a screen display device, an electronic device and a storage medium. Background Art
[0002] Display devices are usually used in scenes with ambient light sources, which can affect the original display effects of the display devices, change the original color temperature of the display devices, and affect the user's visual experience when using the display devices.
[0003] In the related art, the display device supports screen display color temperature adjustment, uses an optical sensor to obtain the ambient color temperature, and adjusts the screen color temperature according to the ambient color temperature. However, the color temperature adjustment of the display device in the related art is based only on the ambient color temperature, and the screen display color temperature cannot achieve the expected effect. Summary of the invention
[0004] In order to overcome the problems existing in the related art, the present disclosure provides a screen display method, a screen display device, an electronic device and a storage medium.
[0005] According to a first aspect of an embodiment of the present disclosure, a screen display method is provided, including: obtaining a current ambient color temperature and a current ambient illuminance; determining a target color temperature that matches the current ambient color temperature and the current ambient illuminance according to a correspondence between the ambient color temperature, the ambient illuminance and the screen color temperature; and adjusting the screen display color temperature to the target color temperature.
[0006] In one embodiment, the corresponding relationship includes multiple ambient color temperatures, multiple ambient illuminances, and screen color temperatures corresponding to the multiple ambient color temperatures and multiple ambient illuminances; determining the target color temperature that matches the current ambient color temperature and the current ambient illuminance based on the corresponding relationship among the ambient color temperature, the ambient illuminance and the screen color temperature includes: determining a first ambient color temperature that matches the current ambient color temperature and a first ambient illuminance that matches the current ambient illuminance based on the multiple ambient color temperatures and the multiple ambient illuminances included in the corresponding relationship; and determining the screen color temperature corresponding to the first ambient color temperature and the first ambient illuminance as the target color temperature.
[0007] In one embodiment, determining the first ambient color temperature that matches the current ambient color temperature based on the multiple ambient color temperatures and the multiple ambient illuminances included in the corresponding relationship includes: in response to the presence of an ambient color temperature consistent with the current ambient color temperature among the multiple ambient color temperatures included in the corresponding relationship, determining the current ambient color temperature as the first ambient color temperature; in response to the presence of an ambient illuminance consistent with the current ambient illuminance among the multiple ambient illuminances included in the corresponding relationship, determining the current ambient illuminance as the first ambient illuminance; in response to the absence of an ambient color temperature consistent with the current ambient color temperature among the multiple ambient color temperatures included in the corresponding relationship, determining the first ambient color temperature based on the two ambient color temperatures with the smallest difference between the current ambient color temperature and the corresponding relationship; in response to the absence of an ambient illuminance consistent with the current ambient illuminance among the multiple ambient illuminances included in the corresponding relationship, determining the first ambient illuminance based on the two ambient illuminances with the smallest difference between the current ambient color temperature and the corresponding relationship.
[0008] In one embodiment, the determining the screen color temperature corresponding to the first ambient color temperature and the first ambient illuminance as the target color temperature includes: in response to the presence of an ambient color temperature consistent with the current ambient color temperature among the multiple ambient color temperatures included in the corresponding relationship, and the presence of an ambient illuminance consistent with the current ambient illuminance among the multiple ambient illuminances included in the corresponding relationship, determining the screen color temperature corresponding to the first ambient color temperature and the first ambient illuminance as the target color temperature; in response to the presence of an ambient color temperature consistent with the current ambient color temperature among the multiple ambient color temperatures included in the corresponding relationship, and the absence of an ambient illuminance consistent with the current ambient illuminance among the multiple ambient illuminances included in the corresponding relationship, determining two screen color temperatures corresponding to the first ambient color temperature and the two ambient illuminances, linearly interpolating the two screen color temperatures according to the current ambient color temperature and the two ambient illuminances by a preset linear interpolation method, and determining the screen color temperature obtained after the linear interpolation as the target color temperature; in response to the presence of an ambient color temperature consistent with the current ambient color temperature among the multiple ambient color temperatures included in the corresponding relationship, and the presence of an ambient illuminance consistent with the current ambient illuminance among the multiple ambient illuminances included in the corresponding relationship In response to the fact that there is no ambient color temperature consistent with the current ambient color temperature among the multiple ambient color temperatures included in the corresponding relationship, and there is an ambient illuminance consistent with the current ambient illuminance among the multiple ambient illuminances included in the corresponding relationship, two screen color temperatures corresponding to the two ambient color temperatures and the first ambient illuminance are determined, and according to the current ambient color temperature and the two ambient color temperatures, the two screen color temperatures are linearly interpolated by a preset linear interpolation method, and the screen color temperature obtained after the linear interpolation is determined as the target color temperature; in response to the fact that there is no ambient color temperature consistent with the current ambient color temperature among the multiple ambient color temperatures included in the corresponding relationship, and there is no ambient illuminance consistent with the current ambient illuminance among the multiple ambient illuminances included in the corresponding relationship, four screen color temperatures corresponding to the two ambient color temperatures and the two ambient illuminances are determined, and according to the current ambient color temperature, the two ambient color temperatures, the current ambient illuminance and the two ambient illuminances, the four screen color temperatures are linearly interpolated by a preset linear interpolation method, and the screen color temperature obtained after the linear interpolation is determined as the target color temperature.
[0009] In one embodiment, the four screen color temperatures are linearly interpolated by a preset linear interpolation method according to the current ambient color temperature, the two ambient color temperatures, the current ambient illuminance and the two ambient illuminances, and the screen color temperature obtained after the linear interpolation is determined as the target color temperature, including: linearly interpolating the four screen color temperatures by a preset linear interpolation method according to the current ambient color temperature and the two ambient color temperatures to obtain two screen color temperatures, linearly interpolating the two screen color temperatures by a preset linear interpolation method according to the current ambient illuminance and the two ambient illuminances, and determining the screen color temperature obtained after the linear interpolation as the target color temperature; or linearly interpolating the four screen color temperatures by a preset linear interpolation method according to the current ambient illuminance and the two ambient illuminances to obtain two screen color temperatures, linearly interpolating the two screen color temperatures by a preset linear interpolation method according to the current ambient color temperature and the two ambient color temperatures, and determining the screen color temperature obtained after the linear interpolation as the target color temperature.
[0010] According to a second aspect of an embodiment of the present disclosure, a screen display device is provided, including: an acquisition unit, used to acquire a current ambient color temperature and a current ambient illuminance; a processing unit, used to determine a target color temperature that matches the current ambient color temperature and the current ambient illuminance according to a correspondence between the ambient color temperature, the ambient illuminance and the screen color temperature; and an adjustment unit, used to adjust the screen display color temperature to the target color temperature.
[0011] In one embodiment, the corresponding relationship includes multiple ambient color temperatures, multiple ambient illuminances, and screen color temperatures corresponding to the multiple ambient color temperatures and multiple ambient illuminances; the processing unit determines the target color temperature that matches the current ambient color temperature and the current ambient illuminance according to the corresponding relationship between the ambient color temperature, the ambient illuminance and the screen color temperature in the following manner: based on the multiple ambient color temperatures and the multiple ambient illuminances included in the corresponding relationship, determine a first ambient color temperature that matches the current ambient color temperature and a first ambient illuminance that matches the current ambient illuminance; and determine the screen color temperature corresponding to the first ambient color temperature and the first ambient illuminance as the target color temperature.
[0012] In one embodiment, the processing unit determines a first ambient color temperature that matches the current ambient color temperature based on multiple ambient color temperatures and multiple ambient illuminances included in the corresponding relationship in the following manner: in response to the presence of an ambient color temperature consistent with the current ambient color temperature among the multiple ambient color temperatures included in the corresponding relationship, the current ambient color temperature is determined as the first ambient color temperature; in response to the presence of an ambient illuminance consistent with the current ambient illuminance among the multiple ambient illuminances included in the corresponding relationship, the current ambient illuminance is determined as the first ambient illuminance; in response to the absence of an ambient color temperature consistent with the current ambient color temperature among the multiple ambient color temperatures included in the corresponding relationship, the first ambient color temperature is determined based on the two ambient color temperatures in the corresponding relationship with the smallest difference between the current ambient color temperature; in response to the absence of an ambient illuminance consistent with the current ambient illuminance among the multiple ambient illuminances included in the corresponding relationship, the first ambient illuminance is determined based on the two ambient illuminances in the corresponding relationship with the smallest difference between the current ambient color temperature.
[0013] In one embodiment, the processing unit determines the screen color temperature corresponding to the first ambient color temperature and the first ambient illuminance as the target color temperature in the following manner: in response to the presence of an ambient color temperature consistent with the current ambient color temperature among the multiple ambient color temperatures included in the corresponding relationship, and the presence of an ambient illuminance consistent with the current ambient illuminance among the multiple ambient illuminances included in the corresponding relationship, determining the screen color temperature corresponding to the first ambient color temperature and the first ambient illuminance as the target color temperature; in response to the presence of an ambient color temperature consistent with the current ambient color temperature among the multiple ambient color temperatures included in the corresponding relationship, and the absence of an ambient illuminance consistent with the current ambient illuminance among the multiple ambient illuminances included in the corresponding relationship, determining two screen color temperatures corresponding to the first ambient color temperature and the two ambient illuminances, linearly interpolating the two screen color temperatures according to the current ambient color temperature and the two ambient illuminances by a preset linear interpolation method, and determining the screen color temperature obtained after the linear interpolation as the target color temperature; in response to the presence of an ambient color temperature consistent with the current ambient color temperature among the multiple ambient color temperatures included in the corresponding relationship, and the presence of an ambient illuminance consistent with the current ambient illuminance among the multiple ambient illuminances included in the corresponding relationship There is no ambient color temperature consistent with the current ambient color temperature among the multiple ambient color temperatures included in the corresponding relationship, and there is an ambient illuminance consistent with the current ambient illuminance among the multiple ambient illuminances included in the corresponding relationship, determine two screen color temperatures corresponding to the two ambient color temperatures and the first ambient illuminance, linearly interpolate the two screen color temperatures according to the current ambient color temperature and the two ambient color temperatures by a preset linear interpolation method, and determine the screen color temperature obtained after linear interpolation as the target color temperature; in response to the fact that there is no ambient color temperature consistent with the current ambient color temperature among the multiple ambient color temperatures included in the corresponding relationship, and there is no ambient illuminance consistent with the current ambient illuminance among the multiple ambient illuminances included in the corresponding relationship, determine four screen color temperatures corresponding to the two ambient color temperatures and the two ambient illuminances, linearly interpolate the four screen color temperatures according to the current ambient color temperature, the two ambient color temperatures, the current ambient illuminance and the two ambient illuminances by a preset linear interpolation method, and determine the screen color temperature obtained after linear interpolation as the target color temperature.
[0014] In one embodiment, the processing unit linearly interpolates the four screen color temperatures according to the current ambient color temperature, the two ambient color temperatures, the current ambient illuminance, and the two ambient illuminances by a preset linear interpolation method, and determines the screen color temperature obtained after the linear interpolation as the target color temperature in the following manner: linearly interpolates the four screen color temperatures according to the current ambient color temperature and the two ambient color temperatures by a preset linear interpolation method to obtain two screen color temperatures, and linearly interpolates the two screen color temperatures according to the current ambient illuminance and the two ambient illuminances by a preset linear interpolation method, and determines the screen color temperature obtained after the linear interpolation as the target color temperature; or linearly interpolates the four screen color temperatures according to the current ambient illuminance and the two ambient illuminances by a preset linear interpolation method to obtain two screen color temperatures, and linearly interpolates the two screen color temperatures according to the current ambient color temperature and the two ambient color temperatures by a preset linear interpolation method, and determines the screen color temperature obtained after the linear interpolation as the target color temperature.
[0015] According to a third aspect of an embodiment of the present disclosure, an electronic device is provided, comprising: a processor; and a memory for storing processor executable instructions; wherein the processor is configured to: execute the screen display method described in the first aspect or any one of the implementations of the first aspect.
[0016] According to a fourth aspect of an embodiment of the present disclosure, a storage medium is provided, in which instructions are stored. When the instructions in the storage medium are executed by a processor, the processor is enabled to execute the screen display method described in the first aspect or any one of the embodiments of the first aspect.
[0017] The technical solution provided by the embodiments of the present disclosure may include the following beneficial effects: obtaining ambient light parameters (including current ambient illuminance and current ambient color temperature) in the current environment, determining the target color temperature according to the correspondence between the preset ambient light parameters and the screen color temperature, and adjusting the screen color temperature to the target color temperature. Through the present disclosure, when adjusting the screen color temperature, the current ambient brightness and the current ambient color temperature are simultaneously considered to ensure that when the ambient brightness and the ambient color temperature change, the user's perception of the display color temperature of the screen remains constant.
[0018] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the present disclosure.
[0020] Figure 1The figure is a flow chart of a screen display method according to an exemplary embodiment.
[0021] Figure 2 The present invention is a flow chart showing a method for determining a target color temperature that matches a current ambient color temperature and a current ambient illumination according to an exemplary embodiment.
[0022] Figure 3 The invention is a flow chart showing a method for determining a first ambient color temperature matching a current ambient color temperature according to an exemplary embodiment.
[0023] Figure 4 The invention is a flowchart showing a method for determining a first ambient illumination matching a current ambient illumination according to an exemplary embodiment.
[0024] Figure 5 The invention is a flow chart showing a method for determining a target color temperature according to an exemplary embodiment.
[0025] Figure 6 is a flow chart showing a method for determining a target color temperature according to yet another exemplary embodiment.
[0026] Figure 7 It is a block diagram showing a screen display method according to an exemplary embodiment of the present disclosure.
[0027] Figure 8 The invention is a block diagram of a screen display device according to an exemplary embodiment.
[0028] Fig. 9 The invention is a block diagram of a device for screen display according to an exemplary embodiment. DETAILED DESCRIPTION
[0029] Here, exemplary embodiments will be described in detail, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The implementations described in the following exemplary embodiments do not represent all implementations consistent with the present disclosure.
[0030] The screen method provided by the embodiment of the present disclosure is applied to a scenario in which the terminal screen brightness is adjusted to maintain a constant screen brightness when the ambient light in the current usage scenario is constantly changing.
[0031] Display devices such as terminals are usually used in scenes with ambient light sources. The display parameters of the display devices are constant, but changes in the ambient light sources will change the display effects of the display devices, causing users to change their perception of the color temperature of the display devices, affecting the user's visual experience when using the display devices.
[0032] In the related art, the display device supports screen color temperature adjustment, uses an optical sensor to obtain the current ambient color temperature, and adjusts the screen color temperature according to the current ambient color temperature. However, in the related art, the brightness adjustment and color temperature adjustment for the display device are two independent functions. When adjusting the screen color temperature, only the current ambient color temperature is referred to, and the influence of the ambient illumination is not taken into account, that is, when the current ambient illumination changes, and the current ambient color temperature does not change, the screen color temperature of the display device is not adjusted to remain constant. However, in the actual use of the display device, the change of the current ambient illumination will also affect the user's perception of the screen color temperature. For example, when the ambient color temperature is a constant low color temperature, the reduction of the ambient illumination will cause the user's perception of the screen color temperature to change. The lower the ambient illumination, the darker the screen display color temperature will be, causing the user to be extremely uncomfortable when watching.
[0033] In view of this, the present disclosure proposes a screen display method, which obtains the current ambient illuminance and the current ambient color temperature in the current environment, and adjusts the screen color temperature according to the correspondence between the preset ambient illuminance, the ambient color temperature and the screen color temperature. Through the present disclosure, when adjusting the screen color temperature, the current ambient brightness and the current ambient color temperature are considered simultaneously, ensuring that when the ambient brightness and the ambient color temperature change, the user's perception of the display color temperature of the screen remains constant.
[0034] Figure 1 FIG. 1 is a flow chart of a screen display method according to an exemplary embodiment. Figure 1 As shown, the method includes steps S101 to S103.
[0035] In step S101, the current ambient color temperature and the current ambient illuminance are obtained.
[0036] In step S102, a target color temperature matching the current ambient color temperature and the current ambient illumination is determined according to the corresponding relationship among the ambient color temperature, the ambient illumination and the screen color temperature.
[0037] In step S103, the screen display color temperature is adjusted to the target color temperature.
[0038] In the disclosed embodiment, when the display screen is turned on, the current ambient color temperature and the current ambient illumination are detected in real time by the inherent optical sensor of the display device. The display device is preset with a correspondence between the ambient color temperature, ambient illumination and screen color temperature. Based on the correspondence, a target color temperature that keeps the screen color temperature constant can be determined. The target color temperature is represented by the channel values of the display screen pixels. By adjusting the channel values of the display screen pixels, the current color temperature of the display screen is adjusted to the target color temperature.
[0039] In the disclosed embodiment, when adjusting the screen color temperature, the current ambient brightness and the current ambient color temperature are taken into consideration simultaneously to ensure that when the ambient brightness and the ambient color temperature change, the user's perception of the display color temperature of the screen remains constant, thereby improving the user's visual experience when using the display device.
[0040] It is understandable that after obtaining the current ambient color temperature and the current ambient illuminance, it is necessary to determine the corresponding ambient color temperature and ambient illuminance in the corresponding relationship, and then determine the corresponding target color temperature according to the determined ambient color temperature and ambient illuminance. The following embodiments of the present disclosure further illustrate the method for determining the target color temperature.
[0041] Figure 2 FIG. 1 is a flow chart showing a method for determining a target color temperature that matches the current ambient color temperature and the current ambient illumination according to an exemplary embodiment. Figure 2 As shown, the method includes step S201 to step S202.
[0042] In step S201, based on the multiple ambient color temperatures and the multiple ambient illuminances included in the corresponding relationship, a first ambient color temperature matching the current ambient color temperature and a first ambient illuminance matching the current ambient illuminance are determined.
[0043] In step S202, the screen color temperature corresponding to the first ambient color temperature and the first ambient illumination is determined as the target color temperature.
[0044] It can be understood that the present disclosure determines the target color temperature for adjusting the screen color temperature based on the correspondence between the ambient color temperature, the ambient illuminance, and the screen color temperature. However, the range of change of the ambient color temperature and the range of change of the ambient illuminance are extremely wide, and contain a large number of values. The amount of data is too large when the ambient color temperature and the ambient illuminance are combined. Therefore, the corresponding data of the ambient color temperature, the ambient illuminance, and the screen color temperature in the correspondence between the ambient color temperature, the ambient illuminance, and the screen color temperature disclosed in the present disclosure is limited. After obtaining the current ambient color temperature and the current ambient illuminance, the ambient color temperature and the ambient illuminance that match the current ambient color temperature and the current ambient illuminance can be determined, and the target color temperature can be obtained by direct or indirect means.
[0045] In the embodiments of the present disclosure, the amount of data contained in the correspondence between the ambient color temperature, the ambient illuminance, and the screen color temperature is limited. When determining the ambient data (ambient color temperature and ambient illuminance) that matches the current ambient data (current ambient color temperature and current ambient illuminance), there are two situations: the current ambient data is consistent with the ambient data in the correspondence and the current ambient data is inconsistent with the ambient data in the correspondence. Different matching methods are used according to the above two situations. The following embodiments of the present disclosure illustrate a method for determining a first ambient color temperature that matches the current ambient color temperature and a method for determining a first ambient illuminance that matches the current ambient illuminance.
[0046] Figure 3 FIG. 1 is a flow chart showing a method for determining a first ambient color temperature that matches the current ambient color temperature according to an exemplary embodiment. Figure 3 As shown, the method includes step S301, step S302A, and step S302B.
[0047] In step S301, the current ambient color temperature is obtained.
[0048] In step S302A, in response to the presence of an ambient color temperature consistent with the current ambient color temperature among the multiple ambient color temperatures included in the corresponding relationship, the current ambient color temperature is determined as the first ambient color temperature.
[0049] In step S302B, in response to the absence of an ambient color temperature consistent with the current ambient color temperature among the multiple ambient color temperatures included in the corresponding relationship, a first ambient color temperature is determined based on two ambient color temperatures with the smallest difference from the current ambient color temperature in the corresponding relationship.
[0050] Among them, step S302A and step S302B are alternative execution methods.
[0051] In the embodiment of the present disclosure, the first ambient color temperature is data used to determine the target color temperature in the corresponding relationship. When there is an ambient color temperature consistent with the current ambient color temperature in the corresponding relationship, the current ambient color temperature can be directly used as the first ambient color temperature. When there is no ambient color temperature consistent with the current ambient color temperature in the corresponding relationship, two adjacent ambient color temperatures closest to the current ambient color temperature (i.e., with the smallest difference with the current ambient color temperature) can be determined in the corresponding relationship, and the two ambient color temperatures can be used as the first ambient color temperature.
[0052] It can be understood that the numerical range of the ambient color temperature included in the corresponding relationship is limited, and there is an upper limit ambient color temperature and a lower limit ambient color temperature. When the current ambient color temperature exceeds the upper limit of the ambient color temperature range in the corresponding relationship, it can be considered that the current ambient color temperature is consistent with the upper limit ambient color temperature, and the upper limit ambient color temperature is determined as the first ambient color temperature; when the current ambient color temperature exceeds the lower limit of the ambient color temperature range in the corresponding relationship, it can be considered that the current ambient color temperature is consistent with the lower limit ambient color temperature, and the lower limit ambient color temperature is determined as the first ambient color temperature.
[0053] Figure 4 FIG. 1 is a flow chart showing a method for determining a first ambient illuminance matching the current ambient illuminance according to an exemplary embodiment. Figure 4 As shown, the method includes step S401, step S402A and step S402B.
[0054] In step S401, the current environment illumination is obtained.
[0055] In step S402A, in response to the presence of an ambient illuminance consistent with the current ambient illuminance among the multiple ambient illuminances included in the corresponding relationship, the current ambient illuminance is determined as the first ambient illuminance.
[0056] In step S402B, in response to the absence of an ambient illuminance consistent with the current ambient illuminance among the multiple ambient illuminances included in the corresponding relationship, a first ambient illuminance is determined based on two ambient illuminances in the corresponding relationship having the smallest difference with the current ambient illuminance.
[0057] Among them, step S402A and step S402B are alternative execution methods.
[0058] In the embodiment of the present disclosure, the first ambient illuminance is data used to determine the target color temperature in the corresponding relationship. When there is an ambient illuminance consistent with the current ambient illuminance in the corresponding relationship, the current ambient illuminance can be directly used as the first ambient illuminance. When there is no ambient illuminance consistent with the current ambient illuminance in the corresponding relationship, two adjacent ambient illuminances closest to the current ambient illuminance (i.e., with the smallest difference with the current ambient illuminance) can be determined in the corresponding relationship, and the two ambient illuminances can be used as the first ambient illuminance.
[0059] It can be understood that the numerical range of the ambient illumination contained in the corresponding relationship is limited, and there is an upper limit ambient illumination and a lower limit ambient illumination. When the current ambient illumination exceeds the upper limit of the ambient illumination range in the corresponding relationship, it can be considered that the current ambient illumination is consistent with the upper limit ambient illumination, and the upper limit ambient illumination is determined as the first ambient illumination; when the current ambient illumination exceeds the lower limit of the ambient illumination range in the corresponding relationship, it can be considered that the current ambient illumination is consistent with the lower limit ambient illumination, and the lower limit ambient illumination is determined as the first ambient illumination.
[0060] In an exemplary embodiment of the present disclosure, the corresponding relationship between the ambient color temperature, the ambient illuminance and the screen color temperature is represented in a table form, the current ambient color temperature and the current ambient illuminance are obtained, and the ambient illuminance and the ambient color temperature are input into the screen color temperature lookup table. First, the input ambient color temperature is judged, and if the current ambient color temperature is not within the range of the lookup table, the upper limit of the ambient color temperature or the lower limit of the ambient color temperature close to the current ambient color temperature in the lookup table is used as the input ambient color temperature value corresponding to the current ambient color temperature. For example, the search range of the ambient color temperature (ambient_CCT) in the lookup table is 2500K≤ambient_CCT≤15000K. When the current ambient color temperature obtained is ≤2500K, the input ambient color temperature value is determined to be 2500K, that is, ambient_CCT=2500K, and the input ambient color temperature associated value ambient_RCCT=1000000 / 2500=400; if the current ambient color temperature obtained is ≥15000K, the input ambient color temperature value is determined to be 15000K, that is, ambient_CCT=15000K.
[0061] In the embodiments of the present disclosure, it is necessary to obtain the target color temperature based on the first ambient color temperature and the first ambient illuminance. Since there are two situations in determining the first ambient color temperature and the first ambient illuminance (i.e., a situation consistent with the data in the corresponding relationship and a situation inconsistent with the data), there are four situations in which the first ambient color temperature and the first ambient illuminance are combined. Based on the above four situations, different strategies for obtaining the target color temperature are needed to obtain the target color temperature. The following embodiments of the present disclosure illustrate the method for determining the target color temperature.
[0062] Figure 5 FIG. 1 is a flow chart showing a method for determining a target color temperature according to an exemplary embodiment. Figure 5 As shown, the method includes step S501, step S502A, step S502B, step S502C and step S502D.
[0063] In step S501, a first ambient color temperature matching the current ambient color temperature and a first ambient illuminance matching the current ambient illuminance are determined.
[0064] In step S502A, in response to the presence of an ambient color temperature consistent with the current ambient color temperature among the multiple ambient color temperatures included in the corresponding relationship, and the presence of an ambient illuminance consistent with the current ambient illuminance among the multiple ambient illuminances included in the corresponding relationship, the first ambient color temperature and the screen color temperature corresponding to the first ambient illuminance are determined as the target color temperature.
[0065] In step S502B, in response to the presence of an ambient color temperature consistent with the current ambient color temperature among the multiple ambient color temperatures included in the corresponding relationship, and the absence of an ambient illuminance consistent with the current ambient illuminance among the multiple ambient illuminances included in the corresponding relationship, two screen color temperatures corresponding to the first ambient color temperature and the two ambient illuminances are determined, and according to the current ambient color temperature and the two ambient illuminances, the two screen color temperatures are linearly interpolated by a preset linear interpolation method, and the screen color temperature obtained after linear interpolation is determined as the target color temperature.
[0066] In step S502C, in response to the fact that there is no ambient color temperature consistent with the current ambient color temperature among the multiple ambient color temperatures included in the corresponding relationship, and there is an ambient illuminance consistent with the current ambient illuminance among the multiple ambient illuminances included in the corresponding relationship, two screen color temperatures corresponding to the two ambient color temperatures and the first ambient illuminance are determined, and according to the current ambient color temperature and the two ambient color temperatures, the two screen color temperatures are linearly interpolated by a preset linear interpolation method, and the screen color temperature obtained after linear interpolation is determined as the target color temperature.
[0067] In step S502D, in response to the fact that there is no ambient color temperature consistent with the current ambient color temperature among the multiple ambient color temperatures included in the corresponding relationship, and there is no ambient illuminance consistent with the current ambient illuminance among the multiple ambient illuminances included in the corresponding relationship, four screen color temperatures corresponding to the two ambient color temperatures and the two ambient illuminances are determined, and based on the current ambient color temperature, the two ambient color temperatures, the current ambient illuminance and the two ambient illuminances, linear interpolation is performed on the four screen color temperatures by a preset linear interpolation method, and the screen color temperature obtained after linear interpolation is determined as the target color temperature.
[0068] Among them, step S502A, step S502B, step S502C and step S502D are selective execution methods.
[0069] In an exemplary embodiment of the present disclosure, in order to facilitate code implementation, the ambient illuminance is recorded as ambient_E, and the ambient color temperature is recorded as ambient_CCT. The illuminance and color temperature of the current ambient light are used as input values. According to psychophysical experiments, a screen color temperature lookup table 1 corresponding to the ambient illuminance and ambient color temperature is obtained. In order to facilitate the calculation of linear interpolation in subsequent calculations, the ambient color temperature associated value ambient_RCCT=1000000 / ambient_CCT is defined, and a screen color temperature lookup table 2 containing the corresponding relationship between the ambient color temperature associated value, the ambient illuminance, and the screen color temperature associated value is determined according to the screen color temperature lookup table 1, and the target color temperature for adjusting the screen color temperature is obtained by looking up the table according to the obtained current ambient color temperature and the current ambient illuminance.
[0070] Table 1
[0071]
[0072] Table 2
[0073]
[0074] In an exemplary embodiment of the present disclosure, after determining the input ambient illumination value and the input ambient color temperature value input into the lookup table 2 based on the acquired current ambient color temperature and the current ambient illumination, if the ambient illumination can be directly found in the lookup table, multiple screen color temperature correlation values (RCCT) corresponding to the input ambient illumination value are determined, and the input ambient color temperature value is judged. If the ambient color temperature can be directly found in the lookup table, the target screen color temperature correlation value (target_RCCT) can be directly obtained by looking up the table, and the target screen color temperature correlation value is determined based on the input ambient color temperature value and the determined input ambient color temperature value. The target screen color temperature target_CCT=1000000 / target_RCCT is determined based on the conversion relationship between the screen color temperature correlation value and the screen color temperature.
[0075] In one example, the current ambient illuminance is 100 lux, the current ambient color temperature is 6500K, and there are corresponding ambient illuminances and ambient color temperatures in Table 1 and Table 2. The target color temperature Target_CCT can be obtained by looking up Table 1.
[0076] In an exemplary embodiment of the present disclosure, after determining the input ambient illuminance value and the input ambient color temperature value, if the ambient color temperature cannot be directly found in the lookup table, then two ambient color temperatures (ambient_CCT1 and ambient_CCT2) adjacent to the current ambient color temperature (ambient_CCT) in the lookup table are determined, and the relationship between the current ambient color temperature and the two adjacent ambient color temperatures is ambient_CCT1≤ambient_CCT≤ambient_CCT2, and the relationship between the current ambient color temperature correlation value (ambient_RCCT) and the two adjacent ambient color temperature correlation values (ambient_RCCT1 and ambient_RCCT2) is ambient_RCCT2≤ambient_RCCT≤ambient_RCCT1. According to the determined input ambient illuminance and the determined two adjacent ambient color temperatures, the corresponding two screen color temperature correlation values (RCCT1 and RCCT1) are determined, and according to the determined two adjacent ambient color temperatures and the current ambient color temperature, the two screen color temperature correlation values are linearly interpolated to obtain the target screen color temperature correlation value, and the method for obtaining the target screen color temperature correlation value is as follows:
[0077] Target_RCCT=(RCCT2-RCCT1) / (ambient_RCCT2-ambient_RCCT1)(1000000 / ambient_CCT-ambient_RCCT1)+RCCT1
[0078] Among them, Target_RCCT is the target color temperature correlation value, RCCT2 and RCCT1 are the screen color temperature correlation values, ambient_CCT is the current ambient color temperature, and ambient_RCCT2 and ambient_RCCT are the adjacent ambient color temperature correlation values corresponding to the current ambient color temperature in the lookup table.
[0079] In an exemplary embodiment of the present disclosure, if the ambient illuminance corresponding to the current ambient illuminance cannot be directly found in the lookup table, the input ambient illuminance (ambient_E) is judged, and two adjacent ambient illuminances ambient_E1 and ambient_E2 corresponding to the current ambient illuminance are found in the screen color temperature lookup table, then ambient_E1≤ambient_E≤ambient_E2.
[0080] In an exemplary embodiment of the present disclosure, after determining the ambient illuminance corresponding to the current ambient illuminance in the lookup table, the input current ambient color temperature is judged. If the ambient color temperature ambient_CCT can be directly found in the lookup table, the screen color temperature correlation values RCCT1 and RCCT2 corresponding to the ambient color temperature and two adjacent ambient illuminances in the lookup table are determined, and based on the two adjacent ambient illuminances ambient_E1 and ambient_E2, the input ambient illuminance ambient_E, the corresponding screen color temperature correlation values RCCT1 and RCCT2 are linearly interpolated to obtain the target screen color temperature correlation value. The method for obtaining the target screen color temperature correlation value is as follows:
[0081] Target_RCCT=(RCCT2-RCCT1) / (ambient_E2-ambient_E1)(ambient_E-ambient_E1)+RCCT1
[0082] Among them, Target_RCCT is the target color temperature associated value, RCCT2 and RCCT1 are screen color temperature associated values, ambient_CCT is the current ambient color temperature, ambient_E1 is the input current ambient illuminance, and ambient_E2 and ambient_E1 are adjacent ambient illuminance associated values corresponding to the current ambient illuminance in the lookup table.
[0083] In one example, the current ambient illuminance ambient_E = 50, there is no corresponding ambient illuminance in the lookup table, and the current ambient color temperature ambient_CCT = 6500 has a corresponding ambient illuminance in the lookup table, then the target color temperature is obtained by linear interpolation. The method for obtaining the target color temperature is as follows:
[0084] ambient_E=50, ambient_E1=10, ambient_E2=100;
[0085] ambient_CCT=6500, ambient_RCCT1=135.336, ambient_RCCT2=128.980;
[0086] Target_RCCT=(RCCT2-RCCT1) / (ambient_E2-ambient_E1)(ambient_E-ambient_E1)+RCCT1;
[0087] Target_CCT=1000000 / Target_RCCT
[0088] In an embodiment of the present disclosure, when there is no ambient light data consistent with the current ambient light data (current ambient color temperature and current ambient illuminance) among the multiple ambient light data (ambient color temperature and ambient illuminance) included in the corresponding relationship, the first ambient illuminance corresponds to two adjacent ambient illuminances, and the first ambient color temperature corresponds to two adjacent ambient color temperatures. Four screen color temperatures can be determined in the corresponding relationship based on the combination of the first ambient illuminance and the first ambient color temperature. At this time, the four screen color temperatures can be linearly interpolated based on the ambient illuminance, and then linearly interpolated based on the ambient color temperature to obtain the target color temperature. Alternatively, the four screen color temperatures can be linearly interpolated based on the ambient color temperature, and then linearly interpolated based on the ambient illuminance to obtain the target color temperature. The following embodiments of the present disclosure further illustrate the method of obtaining the ambient color temperature.
[0089] Figure 6 FIG. 1 is a flow chart showing a method for determining a target color temperature according to another exemplary embodiment. Figure 6 As shown, the method includes step S601, step S602A and step S602B.
[0090] In step S601, the first ambient illumination is determined based on the two ambient color temperatures with the smallest difference from the current ambient illumination in the correspondence between the ambient color temperature, the ambient illumination and the screen color temperature, and the first ambient illumination is determined based on the two ambient illuminations with the smallest difference from the current ambient illumination in the correspondence between the ambient color temperature, the ambient illumination and the screen color temperature.
[0091] In step S602A, according to the current ambient color temperature and two ambient color temperatures, four screen color temperatures are linearly interpolated by a preset linear interpolation method to obtain two screen color temperatures, and according to the current ambient illumination and two ambient illuminations, the two screen color temperatures are linearly interpolated by a preset linear interpolation method, and the screen color temperature obtained after linear interpolation is determined as the target color temperature.
[0092] In step S602B, according to the current ambient illuminance and two ambient illuminances, four screen color temperatures are linearly interpolated by a preset linear interpolation method to obtain two screen color temperatures. According to the current ambient color temperature and two ambient color temperatures, the two screen color temperatures are linearly interpolated by a preset linear interpolation method, and the screen color temperature obtained after linear interpolation is determined as the target color temperature.
[0093] Among them, step S602A and step S602B are alternative execution methods.
[0094] In an exemplary embodiment of the present disclosure, after determining the ambient illuminance corresponding to the current ambient illuminance in the lookup table 2, the input ambient color temperature is judged. If the corresponding ambient color temperature cannot be directly found in the lookup table, two adjacent ambient color temperature associated values ambient_RCCT1 and ambient_RCCT2 corresponding to the input current ambient color temperature are found in the lookup table 2. Under one of the two adjacent ambient illuminances, ambient_E1, linear interpolation is performed on the screen color temperature associated values RCCT1 and RCCT1 corresponding to ambient_RCCT1 and ambient_RCCT2 to obtain a reference screen color temperature associated value Target_RCCT_E1. The method of obtaining the reference screen color temperature associated value is as follows:
[0095] Target_RCCT_E1=(RCCT2-RCCT1) / (ambient_RCCT2-ambient_RCCT1)
[0096] (1000000 / ambient_CCT-ambient_RCCT1)+RCCT1
[0097] Among them, Target_RCCT_E1 is the reference screen color temperature correlation value, ambient_RCCT2 and ambient_RCCT1 are the adjacent ambient color temperature correlation values determined in the table, ambient_CCT is the input current ambient color temperature, and RCCT2 and RCCT1 are the screen color temperature correlation values.
[0098] Furthermore, under the other ambient illuminance ambient_E2 of the two adjacent ambient illuminances that have been determined, linear interpolation is performed on the screen color temperature associated values RCCT1 and RCCT1 corresponding to ambient_RCCT1 and ambient_RCCT2 to obtain another reference screen color temperature associated value Target_RCCT_E2. The method for obtaining the reference screen color temperature associated value is as follows:
[0099] Target_RCCT_E2=(RCCT2-RCCT1) / (ambient_RCCT2-ambient_RCCT1)
[0100] (1000000 / ambient_CCT-ambient_RCCT1)+RCCT1
[0101] Among them, Target_RCCT_E2 is the reference screen color temperature correlation value, ambient_RCCT2 and ambient_RCCT1 are the adjacent ambient color temperature correlation values determined in the table, ambient_CCT is the input current ambient color temperature, and RCCT2 and RCCT1 are the screen color temperature correlation values.
[0102] Furthermore, according to the current ambient illuminance, the reference screen color temperature correlation values Target_RCCT1_E1 and Target_RCCT1_E2 corresponding to the two adjacent ambient illuminances ambient_E1 and ambient_E2 are linearly interpolated to obtain the target color temperature correlation value Target_RCCT_E, wherein the method for obtaining the target color temperature correlation value is as follows:
[0103] Target_RCCT_E=(Target_RCCT_E2-Target_RCCT_E1) / (ambient_E2-ambient_E1)(ambient_E-ambient_E1)+Target_RCCT_E1
[0104] Among them, Target_RCCT_E is the target color temperature associated value, Target_RCCT1_E1 and Target_RCCT1_E2 are the reference screen color temperature associated values, ambient_E2 and ambient_E1 are the adjacent ambient illuminances determined in the lookup table, and ambient_E is the input current ambient illuminance.
[0105] Furthermore, the target color temperature is obtained by calculation according to the acquired target color temperature correlation value, and the method for calculating the target color temperature is: Target_CCT_E=1000000 / Target_RCCT_E.
[0106] In one example, the current ambient illuminance ambient_E=50, and there is no corresponding ambient illuminance in the lookup table 2. The current ambient color temperature ambient_CCT=6000K, and there is no corresponding ambient color temperature in the lookup table 2. Then, the target color temperature is obtained by linear interpolation. The method for obtaining the target color temperature is as follows:
[0107]
[0108] An exemplary embodiment of the present disclosure shows a screen display method, such as Figure 7 As shown in a block diagram of a screen display method, the method comprises the following steps:
[0109] Determine the ambient color temperature associated value in the ambient color temperature lookup table, and determine the ambient illumination corresponding data in the ambient illumination lookup table: when determining the ambient color temperature associated value, if the ambient color temperature is not within the range of the lookup table, the ambient color temperature is recorded as the highest value or the lowest value, and then the ambient color temperature associated value is determined. When determining the ambient illumination corresponding data, the current ambient illumination is not within the range of the lookup table, or there is corresponding data within the range of the lookup table, and the ambient illumination (upper limit or lower limit of illumination) close to the current ambient illumination in the table or the ambient illumination corresponding to the current ambient illumination is determined as the corresponding data. Determine multiple ambient color temperature parameters based on the ambient illumination corresponding data, the current ambient illumination is not within the range of the lookup table, or there is corresponding data within the range of the lookup table, and determine multiple screen color temperature parameters corresponding to the determined ambient illumination; the current ambient illumination is within the range of the lookup table, and there is no corresponding data within the range of the lookup table, obtain the first ambient illumination, and obtain the second ambient illumination, wherein the first ambient illumination < the current ambient illumination < the second ambient illumination, determine multiple screen color temperature parameters under the first illumination, and determine multiple screen color temperature parameters under the second illumination. When the current ambient illuminance is not within the range of the lookup table, or when there is corresponding data within the range of the lookup table, the target color temperature associated value is determined based on the ambient color temperature associated value in the multiple screen color temperature parameters corresponding to the determined ambient illuminance; when the current ambient illuminance is within the range of the lookup table, and there is no corresponding data within the range of the lookup table, the target color temperature parameter is selected from the multiple screen color temperature parameters under the first illuminance based on the ambient color temperature associated value, and the reference target color temperature parameter is selected from the multiple screen color temperature parameters under the second illuminance, and the target color temperature associated parameter is obtained by linear interpolation based on the two reference target color temperature parameters that have been obtained, and the target color temperature is determined based on the target color temperature associated parameter. The spectral power distribution curve (SPD) corresponding to the target color temperature is determined, that is, SPD of Target CCT, and the screen color temperature is adjusted to the target color temperature, that is, Target xy (cie1931), by adjusting the corresponding parameters in the screen color space.
[0110] In an embodiment of the present disclosure, the current ambient color temperature and the current ambient illumination are obtained. According to the correspondence between the ambient color temperature, the ambient illumination and the screen color temperature, a target color temperature matching the current ambient color temperature and the current ambient illumination is determined. The screen display color temperature is adjusted to the target color temperature. When there is an ambient color temperature and an ambient illumination consistent with the current ambient color temperature and the current ambient illumination in the correspondence, the target color temperature is determined based on the current ambient color temperature and the current ambient illumination. When there is no ambient color temperature and / or ambient illumination consistent with the current ambient color temperature and the current ambient illumination in the correspondence, multiple screen brightnesses are obtained, and the multiple screen brightnesses are linearly interpolated to obtain the target brightness. Through the present disclosure, when adjusting the screen color temperature, the current ambient brightness and the current ambient color temperature are simultaneously considered to ensure that when the ambient brightness and the ambient color temperature change, the user's perception of the display color temperature of the screen remains constant, thereby improving the user's visual experience when using the display device.
[0111] Based on the same concept, the embodiment of the present disclosure also provides a screen display device 100 .
[0112] It is understandable that the screen display device 100 provided in the embodiment of the present disclosure includes hardware structures and / or software modules corresponding to the execution of each function in order to realize the above functions. In combination with the units and algorithm steps of each example disclosed in the embodiment of the present disclosure, the embodiment of the present disclosure can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is executed in the form of hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Those skilled in the art may use different methods to implement the described functions for each specific application, but such implementation should not be considered to exceed the scope of the technical solution of the embodiment of the present disclosure.
[0113] Figure 8 1 is a block diagram of a screen display device 100 according to an exemplary embodiment. Figure 8 The device includes an acquisition unit 101, a processing unit 102 and an adjustment unit 103.
[0114] The acquisition unit 101 is used to acquire the current environment color temperature and the current environment illumination.
[0115] The processing unit 102 is used to determine a target color temperature that matches the current ambient color temperature and the current ambient illumination according to the corresponding relationship between the ambient color temperature, the ambient illumination and the screen color temperature.
[0116] The adjustment unit 103 is used to adjust the screen display color temperature to a target color temperature.
[0117] In one embodiment, the correspondence includes multiple ambient color temperatures, multiple ambient illuminances, and screen color temperatures corresponding to the multiple ambient color temperatures and multiple ambient illuminances. The processing unit 102 determines the target color temperature that matches the current ambient color temperature and the current ambient illuminance according to the correspondence between the ambient color temperature, the ambient illuminance, and the screen color temperature in the following manner: based on the multiple ambient color temperatures and the multiple ambient illuminances included in the correspondence, determine the first ambient color temperature that matches the current ambient color temperature and the first ambient illuminance that matches the current ambient illuminance. The screen color temperature corresponding to the first ambient color temperature and the first ambient illuminance is determined as the target color temperature.
[0118] In one embodiment, the processing unit 102 determines a first ambient color temperature that matches the current ambient color temperature and a first ambient illuminance that matches the current ambient illuminance based on multiple ambient color temperatures and multiple ambient illuminances included in the corresponding relationship in the following manner: in response to the presence of an ambient color temperature that is consistent with the current ambient color temperature among the multiple ambient color temperatures included in the corresponding relationship, the current ambient color temperature is determined as the first ambient color temperature. In response to the presence of an ambient illuminance that is consistent with the current ambient illuminance among the multiple ambient illuminances included in the corresponding relationship, the current ambient illuminance is determined as the first ambient illuminance. In response to the absence of an ambient color temperature that is consistent with the current ambient color temperature among the multiple ambient color temperatures included in the corresponding relationship, the first ambient color temperature is determined based on the two ambient color temperatures with the smallest difference between the corresponding relationship and the current ambient color temperature. In response to the absence of an ambient illuminance that is consistent with the current ambient illuminance among the multiple ambient illuminances included in the corresponding relationship, the first ambient illuminance is determined based on the two ambient illuminances with the smallest difference between the corresponding relationship and the current ambient illuminance.
[0119] In one embodiment, the processing unit 102 determines the screen color temperature corresponding to the first ambient color temperature and the first ambient illuminance as the target color temperature in the following manner: in response to the presence of an ambient color temperature consistent with the current ambient color temperature among the multiple ambient color temperatures included in the corresponding relationship, and the presence of an ambient illuminance consistent with the current ambient illuminance among the multiple ambient illuminances included in the corresponding relationship, the screen color temperature corresponding to the first ambient color temperature and the first ambient illuminance is determined as the target color temperature. In response to the presence of an ambient color temperature consistent with the current ambient color temperature among the multiple ambient color temperatures included in the corresponding relationship, and the absence of an ambient illuminance consistent with the current ambient illuminance among the multiple ambient illuminances included in the corresponding relationship, two screen color temperatures corresponding to the first ambient color temperature and the two ambient illuminances are determined, and the two screen color temperatures are linearly interpolated according to the current ambient color temperature and the two ambient illuminances by a preset linear interpolation method, and the screen color temperature obtained after the linear interpolation is determined as the target color temperature. In response to the fact that there is no ambient color temperature consistent with the current ambient color temperature among the multiple ambient color temperatures included in the corresponding relationship, and there is an ambient illuminance consistent with the current ambient illuminance among the multiple ambient illuminances included in the corresponding relationship, two screen color temperatures corresponding to the two ambient color temperatures and the first ambient illuminance are determined, and the two screen color temperatures are linearly interpolated by a preset linear interpolation method according to the current ambient color temperature and the two ambient color temperatures, and the screen color temperature obtained after the linear interpolation is determined as the target color temperature. In response to the fact that there is no ambient color temperature consistent with the current ambient color temperature among the multiple ambient color temperatures included in the corresponding relationship, and there is no ambient illuminance consistent with the current ambient illuminance among the multiple ambient illuminances included in the corresponding relationship, four screen color temperatures corresponding to the two ambient color temperatures and the two ambient illuminances are determined, and the four screen color temperatures are linearly interpolated by a preset linear interpolation method according to the current ambient color temperature, the two ambient color temperatures, the current ambient illuminance, and the two ambient illuminances, and the screen color temperature obtained after the linear interpolation is determined as the target color temperature.
[0120] In one embodiment, the processing unit 102 uses the following method to linearly interpolate four screen color temperatures according to the current ambient color temperature, two ambient color temperatures, the current ambient illuminance, and the two ambient illuminances, and determines the screen color temperature obtained after linear interpolation as the target color temperature: According to the current ambient color temperature and the two ambient color temperatures, the four screen color temperatures are linearly interpolated by a preset linear interpolation method to obtain two screen color temperatures, according to the current ambient illuminance and the two ambient illuminances, the two screen color temperatures are linearly interpolated by a preset linear interpolation method, and the screen color temperature obtained after linear interpolation is determined as the target color temperature. According to the current ambient illuminance and the two ambient illuminances, the four screen color temperatures are linearly interpolated by a preset linear interpolation method to obtain two screen color temperatures, according to the current ambient color temperature and the two ambient color temperatures, the two screen color temperatures are linearly interpolated by a preset linear interpolation method, and the screen color temperature obtained after linear interpolation is determined as the target color temperature.
[0121] Regarding the device in the above embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be elaborated here.
[0122] Fig. 9 1 is a block diagram of a device 200 for screen display according to an exemplary embodiment. The device 200 may be provided as a terminal. For example, the device 200 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, etc.
[0123] Reference Fig. 9 , the device 200 may include one or more of the following components: a processing component 202 , a memory 204 , a power component 206 , a multimedia component 208 , an audio component 210 , an input / output (I / O) interface 212 , a sensor component 214 , and a communication component 216 .
[0124] The processing component 202 generally controls the overall operation of the device 200, such as operations associated with display, phone calls, data communications, camera operations, and recording operations. The processing component 202 may include one or more processors 220 to execute instructions to perform all or part of the steps of the above-described method. In addition, the processing component 202 may include one or more modules to facilitate interaction between the processing component 202 and other components. For example, the processing component 202 may include a multimedia module to facilitate interaction between the multimedia component 208 and the processing component 202.
[0125] The memory 204 is configured to store various types of data to support operations on the device 200. Examples of such data include instructions for any application or method operating on the device 200, contact data, phone book data, messages, pictures, videos, etc. The memory 204 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk.
[0126] The power component 206 provides power to the various components of the device 200. The power component 206 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the device 200.
[0127] The multimedia component 208 includes a screen that provides an output interface between the device 200 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundaries of the touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 208 includes a front camera and / or a rear camera. When the device 200 is in an operating mode, such as a shooting mode or a video mode, the front camera and / or the rear camera may receive external multimedia data. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
[0128] The audio component 210 is configured to output and / or input audio signals. For example, the audio component 210 includes a microphone (MIC), and when the device 200 is in an operation mode, such as a call mode, a recording mode, and a speech recognition mode, the microphone is configured to receive an external audio signal. The received audio signal can be further stored in the memory 204 or sent via the communication component 216. In some embodiments, the audio component 210 also includes a speaker for outputting audio signals.
[0129] I / O interface 212 provides an interface between processing component 202 and peripheral interface modules, such as keyboards, click wheels, buttons, etc. These buttons may include but are not limited to: a home button, a volume button, a start button, and a lock button.
[0130] The sensor assembly 214 includes one or more sensors for providing various aspects of the status assessment of the device 200. For example, the sensor assembly 214 can detect the open / closed state of the device 200, the relative positioning of components, such as the display and keypad of the device 200, the sensor assembly 214 can also detect the position change of the device 200 or a component of the device 200, the presence or absence of user contact with the device 200, the orientation or acceleration / deceleration of the device 200 and the temperature change of the device 200. The sensor assembly 214 can include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 214 can also include an optical sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 214 can also include an accelerometer, a gyroscope sensor, a magnetic sensor, a pressure sensor or a temperature sensor.
[0131] The communication component 216 is configured to facilitate wired or wireless communication between the device 200 and other devices. The device 200 can access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 216 receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 216 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.
[0132] In an exemplary embodiment, the apparatus 200 may be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors or other electronic components to perform the above method.
[0133] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 204 including instructions, and the instructions can be executed by the processor 220 of the device 200 to perform the above method. For example, the non-transitory computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, etc.
[0134] It is to be understood that in the present disclosure, "plurality" refers to two or more than two, and other quantifiers are similar. "And / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. The character " / " generally indicates that the associated objects before and after are in an "or" relationship. The singular forms "a", "the" and "the" are also intended to include plural forms, unless the context clearly indicates other meanings.
[0135] It is further understood that the terms "first", "second", etc. are used to describe various information, but such information should not be limited to these terms. These terms are only used to distinguish the same type of information from each other, and do not indicate a specific order or degree of importance. In fact, the expressions "first", "second", etc. can be used interchangeably. For example, without departing from the scope of the present disclosure, the first information can also be referred to as the second information, and similarly, the second information can also be referred to as the first information.
[0136] It will be further understood that the terms “center”, “longitudinal”, “lateral”, “front”, “back”, “up”, “down”, “left”, “right”, “vertical”, “horizontal”, “top”, “bottom”, “inside”, “outside”, etc., indicating orientations or positional relationships based on the orientations or positional relationships shown in the accompanying drawings, are only for the convenience of describing the present embodiment and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation.
[0137] It can be further understood that, unless otherwise specified, “connection” includes a direct connection without other components between the two, and also includes an indirect connection with other components between the two.
[0138] It is further understood that, although the operations are described in a specific order in the drawings in the embodiments of the present disclosure, it should not be understood as requiring the operations to be performed in the specific order shown or in a serial order, or requiring the execution of all the operations shown to obtain the desired results. In certain environments, multitasking and parallel processing may be advantageous.
[0139] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the invention disclosed herein. The present disclosure is intended to cover any variations, uses or adaptations of the present solution, which follow the general principles of the present disclosure and include common knowledge or customary technical means in the art that are not disclosed in the present disclosure.
[0140] It should be understood that the present disclosure is not limited to the precise structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the scope of the appended claims.
Claims
1. A screen display method, characterized in that: include: Get the current ambient color temperature and current ambient illumination; Determine a target color temperature that matches the current ambient color temperature and the current ambient illumination according to the corresponding relationship between the ambient color temperature, the ambient illumination and the screen color temperature; The screen display color temperature is adjusted to the target color temperature.
2. The method according to claim 1, characterized in that The corresponding relationship includes multiple ambient color temperatures, multiple ambient illuminances, and screen color temperatures corresponding to the multiple ambient color temperatures and multiple ambient illuminances; The determining, according to the correspondence between the ambient color temperature, the ambient illumination and the screen color temperature, a target color temperature matching the current ambient color temperature and the current ambient illumination comprises: Based on the multiple ambient color temperatures and the multiple ambient illuminances included in the corresponding relationship, determine a first ambient color temperature that matches the current ambient color temperature, and a first ambient illuminance that matches the current ambient illuminance; The screen color temperature corresponding to the first ambient color temperature and the first ambient illumination is determined as the target color temperature.
3. The method according to claim 2, characterized in that The determining, based on the multiple ambient color temperatures and the multiple ambient illuminances included in the corresponding relationship, a first ambient color temperature matching the current ambient color temperature and a first ambient illuminance matching the current ambient illuminance comprises: In response to the presence of an ambient color temperature consistent with the current ambient color temperature among the multiple ambient color temperatures included in the corresponding relationship, determining the current ambient color temperature as a first ambient color temperature; In response to the presence of an ambient illuminance consistent with the current ambient illuminance among the multiple ambient illuminances included in the corresponding relationship, determining the current ambient illuminance as a first ambient illuminance; In response to the absence of an ambient color temperature consistent with the current ambient color temperature among the multiple ambient color temperatures included in the corresponding relationship, determining a first ambient color temperature based on two ambient color temperatures in the corresponding relationship with the current ambient color temperature having the smallest difference; In response to the absence of an ambient illuminance consistent with the current ambient illuminance among the multiple ambient illuminances included in the corresponding relationship, a first ambient illuminance is determined based on two ambient illuminances in the corresponding relationship having the smallest difference with the current ambient illuminance.
4. The method according to claim 3, characterized in that The step of determining the screen color temperature corresponding to the first ambient color temperature and the first ambient illumination as the target color temperature includes: In response to the presence of an ambient color temperature consistent with the current ambient color temperature among the multiple ambient color temperatures included in the corresponding relationship, and the presence of an ambient illuminance consistent with the current ambient illuminance among the multiple ambient illuminances included in the corresponding relationship, determining the screen color temperature corresponding to the first ambient color temperature and the first ambient illuminance as the target color temperature; In response to the presence of an ambient color temperature consistent with the current ambient color temperature among the multiple ambient color temperatures included in the corresponding relationship, and the absence of an ambient illuminance consistent with the current ambient illuminance among the multiple ambient illuminances included in the corresponding relationship, determining two screen color temperatures corresponding to the first ambient color temperature and the two ambient illuminances, performing linear interpolation on the two screen color temperatures according to the current ambient color temperature and the two ambient illuminances by a preset linear interpolation method, and determining the screen color temperature obtained after the linear interpolation as the target color temperature; In response to the fact that there is no ambient color temperature consistent with the current ambient color temperature among the multiple ambient color temperatures included in the corresponding relationship, and there is an ambient illuminance consistent with the current ambient illuminance among the multiple ambient illuminances included in the corresponding relationship, determining two screen color temperatures corresponding to the two ambient color temperatures and the first ambient illuminance, performing linear interpolation on the two screen color temperatures according to the current ambient color temperature and the two ambient color temperatures by a preset linear interpolation method, and determining the screen color temperature obtained after the linear interpolation as the target color temperature; In response to the fact that there is no ambient color temperature consistent with the current ambient color temperature among the multiple ambient color temperatures included in the corresponding relationship, and there is no ambient illuminance consistent with the current ambient illuminance among the multiple ambient illuminances included in the corresponding relationship, four screen color temperatures corresponding to the two ambient color temperatures and the two ambient illuminances are determined, and according to the current ambient color temperature, the two ambient color temperatures, the current ambient illuminance and the two ambient illuminances, the four screen color temperatures are linearly interpolated by a preset linear interpolation method, and the screen color temperature obtained after linear interpolation is determined as the target color temperature.
5. The method according to claim 4, characterized in that The method of performing linear interpolation on the four screen color temperatures by a preset linear interpolation method according to the current ambient color temperature, the two ambient color temperatures, the current ambient illuminance, and the two ambient illuminances, and determining the screen color temperature obtained after the linear interpolation as the target color temperature includes: According to the current ambient color temperature and the two ambient color temperatures, the four screen color temperatures are linearly interpolated by a preset linear interpolation method to obtain two screen color temperatures; according to the current ambient illumination and the two ambient illuminations, the two screen color temperatures are linearly interpolated by a preset linear interpolation method, and the screen color temperature obtained after linear interpolation is determined as the target color temperature; or According to the current ambient illuminance and the two ambient illuminances, the four screen color temperatures are linearly interpolated by a preset linear interpolation method to obtain two screen color temperatures; according to the current ambient color temperature and the two ambient color temperatures, the two screen color temperatures are linearly interpolated by a preset linear interpolation method, and the screen color temperature obtained after linear interpolation is determined as the target color temperature.
6. A screen display device, characterized in that: include: An acquisition unit, used to acquire the current ambient color temperature and the current ambient illumination; A processing unit, configured to determine a target color temperature that matches the current ambient color temperature and the current ambient illumination according to a correspondence between the ambient color temperature, the ambient illumination and the screen color temperature; The adjustment unit is used to adjust the screen display color temperature to the target color temperature.
7. The device according to claim 6, characterized in that The corresponding relationship includes multiple ambient color temperatures, multiple ambient illuminances, and screen color temperatures corresponding to the multiple ambient color temperatures and multiple ambient illuminances; The processing unit determines a target color temperature that matches the current ambient color temperature and the current ambient illumination according to the corresponding relationship between the ambient color temperature, the ambient illumination and the screen color temperature in the following manner: Based on the multiple ambient color temperatures and the multiple ambient illuminances included in the corresponding relationship, determine a first ambient color temperature that matches the current ambient color temperature, and a first ambient illuminance that matches the current ambient illuminance; The screen color temperature corresponding to the first ambient color temperature and the first ambient illumination is determined as the target color temperature.
8. The device according to claim 7, characterized in that The processing unit determines a first ambient color temperature matching the current ambient color temperature and a first ambient illuminance matching the current ambient illuminance based on the multiple ambient color temperatures and the multiple ambient illuminances included in the corresponding relationship in the following manner: In response to the presence of an ambient color temperature consistent with the current ambient color temperature among the multiple ambient color temperatures included in the corresponding relationship, determining the current ambient color temperature as a first ambient color temperature; In response to the presence of an ambient illuminance consistent with the current ambient illuminance among the multiple ambient illuminances included in the corresponding relationship, determining the current ambient illuminance as a first ambient illuminance; In response to the absence of an ambient color temperature consistent with the current ambient color temperature among the multiple ambient color temperatures included in the corresponding relationship, determining a first ambient color temperature based on two ambient color temperatures in the corresponding relationship with the current ambient color temperature having the smallest difference; In response to the absence of an ambient illuminance consistent with the current ambient illuminance among the multiple ambient illuminances included in the corresponding relationship, a first ambient illuminance is determined based on two ambient illuminances in the corresponding relationship having the smallest difference with the current ambient illuminance.
9. The device according to claim 8, characterized in that The processing unit determines the screen color temperature corresponding to the first ambient color temperature and the first ambient illumination as the target color temperature in the following manner: In response to the presence of an ambient color temperature consistent with the current ambient color temperature among the multiple ambient color temperatures included in the corresponding relationship, and the presence of an ambient illuminance consistent with the current ambient illuminance among the multiple ambient illuminances included in the corresponding relationship, determining the screen color temperature corresponding to the first ambient color temperature and the first ambient illuminance as the target color temperature; In response to the presence of an ambient color temperature consistent with the current ambient color temperature among the multiple ambient color temperatures included in the corresponding relationship, and the absence of an ambient illuminance consistent with the current ambient illuminance among the multiple ambient illuminances included in the corresponding relationship, determining two screen color temperatures corresponding to the first ambient color temperature and the two ambient illuminances, performing linear interpolation on the two screen color temperatures according to the current ambient color temperature and the two ambient illuminances by a preset linear interpolation method, and determining the screen color temperature obtained after the linear interpolation as the target color temperature; In response to the fact that there is no ambient color temperature consistent with the current ambient color temperature among the multiple ambient color temperatures included in the corresponding relationship, and there is an ambient illuminance consistent with the current ambient illuminance among the multiple ambient illuminances included in the corresponding relationship, determining two screen color temperatures corresponding to the two ambient color temperatures and the first ambient illuminance, performing linear interpolation on the two screen color temperatures according to the current ambient color temperature and the two ambient color temperatures by a preset linear interpolation method, and determining the screen color temperature obtained after the linear interpolation as the target color temperature; In response to the fact that there is no ambient color temperature consistent with the current ambient color temperature among the multiple ambient color temperatures included in the corresponding relationship, and there is no ambient illuminance consistent with the current ambient illuminance among the multiple ambient illuminances included in the corresponding relationship, four screen color temperatures corresponding to the two ambient color temperatures and the two ambient illuminances are determined, and according to the current ambient color temperature, the two ambient color temperatures, the current ambient illuminance and the two ambient illuminances, the four screen color temperatures are linearly interpolated by a preset linear interpolation method, and the screen color temperature obtained after linear interpolation is determined as the target color temperature.
10. The device according to claim 9, characterized in that The processing unit uses the following method to perform linear interpolation on the four screen color temperatures according to the current ambient color temperature, the two ambient color temperatures, the current ambient illuminance, and the two ambient illuminances, and determines the screen color temperature obtained after the linear interpolation as the target color temperature: According to the current ambient color temperature and the two ambient color temperatures, the four screen color temperatures are linearly interpolated by a preset linear interpolation method to obtain two screen color temperatures; according to the current ambient illumination and the two ambient illuminations, the two screen color temperatures are linearly interpolated by a preset linear interpolation method, and the screen color temperature obtained after linear interpolation is determined as the target color temperature; or According to the current ambient illuminance and the two ambient illuminances, the four screen color temperatures are linearly interpolated by a preset linear interpolation method to obtain two screen color temperatures; according to the current ambient color temperature and the two ambient color temperatures, the two screen color temperatures are linearly interpolated by a preset linear interpolation method, and the screen color temperature obtained after linear interpolation is determined as the target color temperature.
11. An electronic device, characterized in that: include: processor: a memory for storing processor-executable instructions; Wherein, the processor is configured to: execute the screen display method according to any one of claims 1 to 5.
12. A storage medium, characterized in that: The storage medium stores instructions, and when the instructions in the storage medium are executed by a processor, the processor is enabled to execute the screen display method according to any one of claims 1 to 5.