Screen display processing method and device, terminal and storage medium
By comprehensively considering the ambient brightness and ambient color temperature on the terminal screen, the target screen color temperature and brightness are determined, and the problem of low human eye adaptability in the prior art is solved, and the screen display that is more suitable for the external environment is achieved, which improves the user experience.
Patent Information
- Application Number
- CN202311778001.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-12-21
- Publication Date
- 2025-06-24
AI Technical Summary
The prior art independently adjusts the screen brightness and screen color temperature of the terminal screen, resulting in a low adaptability of the human eye, especially under the influence of ambient light sources.
By determining the target screen color temperature and target screen brightness based on the ambient brightness and ambient color temperature of the terminal, the terminal screen is controlled to display it with the target color temperature and brightness. This method uses mapping table search or linear interpolation, and comprehensively considers the ambient brightness, ambient color temperature and target color temperature to determine the final screen display parameters.
It improves the color adaptability of the human eye, makes the brightness and color temperature of the terminal screen more suitable for the external environment, thereby reducing the ambient light reflected on the screen and improving the user experience.
Smart Images

Figure CN120199201A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of display technologies, and in particular, to a method, apparatus, terminal, and storage medium for processing screen display. Background Art
[0002] Currently, users usually use a terminal in a scene with ambient light, so the screen brightness and screen color temperature of the terminal screen are affected by the ambient light.
[0003] In related technologies, when adjusting the screen brightness and screen color temperature of a terminal, they are adjusted independently. For example, the screen brightness is adjusted according to the ambient brightness of the ambient light, or the screen color temperature is adjusted according to the ambient color temperature of the ambient light. Although this adjustment method can, to a certain extent, make the screen brightness and screen color temperature of the terminal match the external ambient light, the adaptability of the human eye is still relatively low. Summary of the Invention
[0004] To overcome the problems in related technologies, the present disclosure provides a method, apparatus, terminal, and storage medium for processing screen display.
[0005] According to a first aspect of an embodiment of the present disclosure, there is provided a method for processing screen display, including:
[0006] Based on the ambient brightness and ambient color temperature of the terminal, obtain the target screen color temperature of the terminal;
[0007] According to the ambient brightness, the ambient color temperature, and the target screen color temperature, obtain the target screen brightness of the terminal;
[0008] Control the screen of the terminal to display with the target screen color temperature and the target screen brightness.
[0009] Optionally, the obtaining the target screen color temperature of the terminal based on the ambient brightness and ambient color temperature of the terminal includes:
[0010] When the ambient brightness and the ambient color temperature can be found in the first mapping table, find the target screen color temperature corresponding to the ambient brightness and the ambient color temperature; the first mapping table has a mapping relationship between ambient brightness, ambient color temperature, and screen color temperature.
[0011] Optionally, the obtaining the target screen color temperature of the terminal based on the ambient brightness and ambient color temperature of the terminal includes:
[0012] When the ambient brightness can be found in the first mapping table and the ambient color temperature cannot be found, find the first ambient color temperature and the second ambient color temperature adjacent to the ambient color temperature in the first mapping table;
[0013] Look up in the first mapping table the first screen color temperature corresponding to the first ambient color temperature at the ambient brightness, and the second screen color temperature corresponding to the second ambient color temperature;
[0014] Obtain the target screen color temperature based on the ambient color temperature, the first ambient color temperature, the second ambient color temperature, the first screen color temperature, and the second screen color temperature.
[0015] Optionally, the obtaining of the target screen color temperature of the terminal based on the ambient brightness and ambient color temperature of the terminal includes:
[0016] When the ambient brightness cannot be found in the first mapping table but the ambient color temperature can be found, look up in the first mapping table the first ambient brightness and the second ambient brightness adjacent to the ambient brightness;
[0017] Look up in the first mapping table the third screen color temperature corresponding to the first ambient brightness at the ambient color temperature, and the fourth screen color temperature corresponding to the second ambient brightness;
[0018] Obtain the target screen color temperature based on the ambient brightness, the first ambient brightness, the second ambient brightness, the third screen color temperature, and the fourth screen color temperature.
[0019] Optionally, the obtaining of the target screen color temperature of the terminal based on the ambient brightness and ambient color temperature of the terminal includes:
[0020] When the ambient brightness and the ambient color temperature cannot be found in the first mapping table, look up in the first mapping table the third ambient brightness and the fourth ambient brightness adjacent to the ambient brightness;
[0021] Determine the first screen color temperature to be processed at the third ambient brightness and the second screen color temperature to be processed at the fourth ambient brightness;
[0022] Obtain the target screen color temperature based on the first screen color temperature to be processed and the second screen color temperature to be processed.
[0023] Optionally, the obtaining of the target screen color temperature based on the first screen color temperature to be processed and the second screen color temperature to be processed includes:
[0024] Obtain the target screen color temperature based on the ambient brightness, the third ambient brightness, the fourth ambient brightness, the first screen color temperature to be processed, and the second screen color temperature to be processed.
[0025] Optionally, obtaining the target screen brightness of the terminal according to the ambient brightness, the ambient color temperature, and the target screen color temperature includes:
[0026] When the target screen color temperature can be found in the second mapping table, looking up the target screen brightness corresponding to the ambient brightness, the ambient color temperature, and the target screen color temperature; the second mapping table has a mapping relationship between the ambient brightness, the ambient color temperature, the screen color temperature, and the screen brightness.
[0027] Optionally, obtaining the target screen brightness of the terminal according to the ambient brightness, the ambient color temperature, and the target screen color temperature includes:
[0028] When the target screen color temperature cannot be found in the second mapping table, looking up the first target screen color temperature and the second target screen color temperature adjacent to the target screen color temperature in the second mapping table;
[0029] Looking up the first target screen brightness corresponding to the first target screen color temperature and the second target screen brightness corresponding to the second target screen color temperature in the second mapping table;
[0030] Obtaining the target screen brightness according to the target screen color temperature, the first target screen color temperature, the second target screen color temperature, the first target screen brightness, and the second target screen brightness.
[0031] Optionally, the method further includes:
[0032] When the ambient brightness where the terminal is located is not within the range of the first mapping table, using the minimum ambient brightness or the maximum ambient brightness in the first mapping table as the ambient brightness.
[0033] Optionally, the method further includes:
[0034] When the ambient color temperature where the terminal is located is not within the range of the first mapping table, using the minimum ambient color temperature or the maximum ambient color temperature in the first mapping table as the ambient color temperature.
[0035] According to a second aspect of the embodiments of the present disclosure, there is provided a processing device for screen display, including:
[0036] A target screen color temperature determination module, configured to obtain the target screen color temperature of the terminal based on the ambient brightness and the ambient color temperature where the terminal is located;
[0037] A target screen brightness determination module, configured to obtain the target screen brightness of the terminal according to the ambient brightness, the ambient color temperature, and the target screen color temperature;
[0038] A display module configured to control the screen of the terminal to display with the target screen color temperature and the target screen brightness.
[0039] According to a third aspect of the embodiments of the present disclosure, a terminal is provided, including:
[0040] A processor;
[0041] A memory for storing instructions executable by the processor;
[0042] Wherein, the processor is configured to:
[0043] Execute the steps of the screen display processing method provided in the first aspect of the embodiments of the present disclosure.
[0044] According to a fourth aspect of the embodiments of the present disclosure, a computer-readable storage medium is provided, on which computer program instructions are stored, and when the program instructions are executed by a processor, the steps of the screen display processing method provided in the first aspect of the present disclosure are implemented.
[0045] The technical solutions provided by the embodiments of the present disclosure may include the following beneficial effects:
[0046] The present disclosure proposes a solution in which the color temperature and brightness are coupled to obtain the target screen color temperature and the target screen brightness. The target screen color temperature and the target screen brightness are not independently controlled. The target screen color temperature is obtained according to the ambient brightness and the ambient color temperature, and the target screen brightness is also obtained according to the ambient brightness, the ambient color temperature and the target screen color temperature. Then, the target screen color temperature and the target screen brightness obtained after considering more external factors can better fit the external environment, thereby improving the color adaptation degree of the human eye.
[0047] It should be understood that the above general description and the following detailed description are only exemplary and explanatory, and cannot limit the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS
[0048] The accompanying drawings herein are incorporated into the specification and constitute a part of the specification, showing embodiments consistent with the present disclosure, and are used together with the specification to explain the principles of the present disclosure.
[0049] Figure 1 is a flowchart of a method for processing the screen color temperature shown according to an exemplary embodiment.
[0050] Figure 2 is a logical schematic diagram of a method for processing the screen color temperature shown according to an exemplary embodiment.
[0051] Figure 3 is a schematic diagram showing the target screen brightness shown according to an exemplary embodiment.
[0052] Figure 4 It is a block diagram of a processing device for screen color temperature shown according to an exemplary embodiment.
[0053] Figure 5 It is a block diagram of a processing device for screen color temperature shown according to an exemplary embodiment. Detailed implementation manners
[0054] Here, the exemplary embodiments will be described in detail, and examples thereof are shown in the 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 implementation manners described in the following exemplary embodiments do not represent all implementation manners consistent with the present disclosure. On the contrary, they are merely examples of devices and methods consistent with some aspects of the present disclosure as detailed in the appended claims.
[0055] It should be noted that all actions of obtaining signals, information, or data in the present disclosure are carried out on the premise of complying with the corresponding data protection regulations and policies of the country where the location is located and obtaining the authorization given by the owner of the corresponding device.
[0056] In the related art, when adjusting the screen brightness and screen color temperature of a terminal screen, they are adjusted independently. For example, the screen brightness is adjusted by the ambient brightness of the ambient light source, or the screen color temperature is adjusted by the ambient color temperature of the ambient light source. Although this adjustment method can, to a certain extent, make the screen brightness and screen color temperature of the terminal match the external ambient light source, the adaptability of the human eye is still relatively low.
[0057] For example, in the usage scenario of the related art solution, when the screen brightness of the terminal screen is higher than the ambient brightness, the terminal is equivalent to a self-luminous object, and the color adaptation degree of the human eye is more affected by the terminal; when the screen brightness of the terminal screen matches the ambient brightness, the terminal is equivalent to a reflective object, and the color adaptation degree of the human eye is more affected by the ambient brightness.
[0058] Based on this, the present disclosure proposes a processing method for screen display. Figure 1 It is a flowchart of a processing method for screen display shown according to an exemplary embodiment. As Figure 1 shown, the processing method for screen display is used in a terminal and includes the following steps.
[0059] In step S11, based on the ambient brightness and ambient color temperature of the terminal, the target screen color temperature of the terminal is obtained.
[0060] The ambient brightness and ambient color temperature are the ambient brightness and ambient color temperature outside the location where the terminal is located.
[0061] Ambient brightness refers to the overall light intensity or luminance in the environment where the terminal is located. The unit of ambient brightness can be lux or nit, etc. Generally, a higher ambient brightness indicates stronger light in the environment, and a lower ambient brightness indicates weaker light in the environment.
[0062] Ambient color temperature refers to the degree of warmth or coolness of the color of light in the environment, which is used to represent the hue presented by the light in the environment. The ambient color temperature has a range from warm color tones to cool color tones, and the unit of ambient color temperature is Kelvin (K). A lower ambient color temperature corresponds to warmer ambient light, and a higher ambient color temperature corresponds to cooler ambient light.
[0063] Screen color temperature is the degree of warmth or coolness of the light emitted by the terminal's screen itself.
[0064]
[0065] Table 1
[0066] Please refer to the first mapping table shown in Table 1. The first column of the first mapping table is the initial ambient color temperature, which is the ambient color temperature of the environment where the terminal is located detected by the terminal. The second column is the ambient color temperature used in the calculation, which is the ambient color temperature obtained after converting the initial ambient color temperature when the terminal calculates.
[0067] Table 1 shows the mapping relationship between ambient brightness, ambient color temperature, and screen color temperature. It can be seen from Table 1 that the screen color temperature corresponding to an ambient brightness of 10 and an ambient color temperature of 500 is 230, the screen color temperature corresponding to an ambient brightness of 200 and an ambient color temperature of 500 is 200, and so on. The screen color temperature corresponding to an ambient brightness of 400 and an ambient color temperature of 400 is 135.
[0068] Since Table 1 shows the mapping relationship between ambient brightness, ambient color temperature, and screen color temperature, when the ambient brightness and ambient color temperature of the environment where the terminal is located are within the first mapping table shown in Table 1 and the input ambient brightness and ambient color temperature are clearly recorded in the first mapping table, the target screen color temperature can be obtained based on the mapping relationship shown in the first mapping table; when the ambient brightness and / or ambient color temperature of the environment where the terminal is located is within the search range of the first mapping table shown in Table 1 and the ambient brightness and / or ambient color temperature is not a recorded value in the first mapping table, linear interpolation is performed on the ambient brightness adjacent to the ambient brightness and / or the ambient color temperature adjacent to the ambient color temperature to obtain the target screen color temperature.
[0069] In step S12, based on the ambient brightness, the ambient color temperature, and the target screen color temperature, the target screen brightness of the terminal is obtained.
[0070] Screen brightness refers to the overall light intensity or luminance of the light emitted by the terminal screen.
[0071] Please refer to Figure 3 as shown Figure 3 where the X coordinate is the ambient color temperature, the Y coordinate is the ambient brightness, and the Z coordinate is the target screen color temperature. After obtaining the ambient color temperature, ambient brightness, and target screen color temperature, a unique point can be found in the Figure 3 three-dimensional coordinate system shown. This unique point is the target screen brightness of the terminal.
[0072] Taking the determination of the ambient color temperature and ambient brightness as an example Figure 3 the target screen color temperature and target screen brightness in
[0073] Target screen color temperature (Display_CCT) Target screen brightness (Display_nit) CCT1 XXX1 CCT2 XXX2 … …
[0074] Table 2
[0075] Please refer to the second mapping table shown in Table 2. Table 2 shows the mapping relationship between the target screen color temperature and the target screen brightness after determining the ambient color temperature and ambient brightness. It can be seen from Table 2 that the target screen brightness corresponding to the target screen color temperature CCT1 is XXX1, and the target screen brightness corresponding to the target screen color temperature CCT2 is XXX2.
[0076] Since Table 2 shows the mapping relationship between the target screen color temperature and the target screen brightness, when the target screen color temperature of the terminal is within the second mapping table shown in Table 2, the target screen brightness can be obtained based on the mapping relationship of the second mapping table; when the target screen color temperature of the terminal is not within the second mapping table shown in Table 2, linear interpolation can be performed on the screen color temperatures adjacent to the target screen color temperature to obtain the target screen brightness.
[0077] In step S13, control the screen of the terminal to display with the target screen color temperature and the target screen brightness.
[0078] After obtaining the target screen color temperature and the target screen brightness, the screen of the terminal can be controlled to display with the target screen color temperature and the target screen brightness.
[0079] It can be understood that the ambient brightness and ambient color temperature located in the first mapping table or the second mapping table refer to within the search range of the first mapping table or the second mapping table and there are specific values in the first mapping table or the second mapping table; the ambient brightness and ambient color temperature not located in the first mapping table or the second mapping table refer to within the search range of the first mapping table or the second mapping table but there are no specific values in the first mapping table or the second mapping table.
[0080] In the related art, the screen color temperature and the screen brightness of a terminal are controlled independently of each other. For example, the screen color temperature of the terminal is adjusted according to the ambient color temperature, and the screen brightness of the terminal is adjusted according to the ambient brightness.
[0081] In the present disclosure, when obtaining the target screen color temperature, not only the ambient color temperature is considered, but also the ambient brightness is considered. The ambient color temperature and the ambient brightness are combined to obtain the target screen color temperature of the screen. The target screen color temperature obtained in this way can better fit the external environment where the terminal is located.
[0082] When obtaining the target screen brightness, not only the ambient brightness is considered, but also the combined influence of the target screen color temperature and the ambient color temperature is considered, so that the finally obtained target screen brightness can better fit the external environment where the terminal is located.
[0083] It can be seen that the present disclosure proposes a solution in which the color temperature and the brightness are coupled with each other to obtain the target screen color temperature and the target screen brightness. The target screen color temperature and the target screen brightness are not independently controlled. Then, the target screen color temperature and the target screen brightness obtained after considering more external factors can better fit the external environment, thereby improving the color adaptation degree of the human eye.
[0084] The following introduces specific embodiments related to the above step S11. This embodiment is used to illustrate the solution for obtaining the target screen color temperature in different situations.
[0085] (1) When the ambient brightness and the ambient color temperature can be found in the first mapping table, find the target screen color temperature corresponding to the ambient brightness and the ambient color temperature; the first mapping table has a mapping relationship between the ambient brightness, the ambient color temperature, and the screen color temperature.
[0086] Referring to Table 1, if the ambient brightness of the terminal at the current location is 10 and the ambient color temperature is 500, the target screen color temperature corresponding to the ambient brightness 10 and the ambient color temperature 500 can be found through the first mapping table, which is 230.
[0087] It can be understood that after obtaining the target screen color temperature 230, since this target screen color temperature is the screen color temperature used in the calculation, it is also necessary to convert the target screen color temperature used in the calculation into the target screen color temperature required for the terminal to adjust the screen color temperature. The calculation formula is as follows:
[0088]
[0089] In formula (1), target_CCT is the target screen color temperature required for the terminal to adjust; target_RCCT is the target screen color temperature used in the calculation.
[0090] (2) When the ambient brightness can be found in the first mapping table but the ambient color temperature cannot be found, find the first ambient color temperature and the second ambient color temperature adjacent to the ambient color temperature in the first mapping table; find the first screen color temperature corresponding to the first ambient color temperature and the second screen color temperature corresponding to the second ambient color temperature at the ambient brightness in the first mapping table; obtain the target screen color temperature according to the ambient color temperature, the first ambient color temperature, the second ambient color temperature, the first screen color temperature, and the second screen color temperature.
[0091] If the ambient brightness of the terminal is 10 and the ambient color temperature is 460, the ambient brightness can be found in the first mapping table but the corresponding ambient color temperature cannot be found. At this time, the first ambient color temperature 454.54 and the second ambient color temperature 500 adjacent to the ambient color temperature 460 can be found first, and then the first screen color temperature 200 corresponding to the first ambient color temperature 454.54 and the second screen color temperature 230 corresponding to the second ambient color temperature 500 at the ambient brightness 10 can be determined; finally, the target screen color temperature is obtained according to the ambient color temperature 460, the second ambient color temperature 500, the first ambient color temperature 454.54, the second screen color temperature 230, and the first screen color temperature 200.
[0092] Among them, according to the linear relationship between the ambient color temperature and the first ambient color temperature and the second ambient color temperature, linear interpolation is performed on the first screen color temperature and the second screen color temperature, and the formula for obtaining the target screen color temperature is as follows:
[0093]
[0094] In formula (2), Target_RCCT is the target screen color temperature; RCCT2 is the second screen color temperature, RCCT1 is the first screen color temperature; ambient_RCCT is the ambient color temperature of the terminal; ambient_RCCT1 is the first ambient color temperature; ambient_RCCT2 is the second ambient color temperature.
[0095] It can be seen from formula (2) that the color temperature difference between the second screen color temperature and the first screen color temperature, divided by the color temperature difference between the second ambient color temperature and the first ambient color temperature, can obtain the linear relationship value between the two; then multiply the linear relationship value by the color temperature difference between the ambient color temperature and the first ambient color temperature to obtain the first target value; finally, the sum of the first target value and the first screen color temperature is used as the target screen color temperature.
[0096] (3) When the ambient brightness cannot be found in the first mapping table but the ambient color temperature can be found, find the first ambient brightness and the second ambient brightness adjacent to the ambient brightness in the first mapping table; find the third screen color temperature corresponding to the first ambient brightness and the fourth screen color temperature corresponding to the second ambient brightness at the ambient color temperature in the first mapping table; obtain the target screen color temperature according to the ambient brightness, the first ambient brightness, the second ambient brightness, the third screen color temperature, and the fourth screen color temperature.
[0097] If the ambient brightness of the terminal at present is 50 and the ambient color temperature is 500, the ambient color temperature can be found in the first mapping table but the ambient brightness cannot be found. At this time, the first ambient brightness 10 and the second ambient brightness 200 adjacent to the ambient brightness 50 can be found first; then determine the third screen color temperature 230 corresponding to the first ambient brightness 10 at the ambient color temperature 500, and the fourth screen color temperature 220 corresponding to the second ambient brightness 200 at the ambient color temperature 500; finally, obtain the target screen color temperature according to the ambient brightness 50, the first ambient brightness 10, the second ambient brightness 200, the third screen color temperature 230, and the fourth screen color temperature 220.
[0098] Among them, according to the linear relationship between the ambient brightness, the first ambient brightness, and the second ambient brightness, linear interpolation is performed on the third screen color temperature and the fourth screen color temperature to obtain the formula for the target screen color temperature as follows:
[0099]
[0100] In formula (3), Target_RCCT is the target screen color temperature; RCCT2 is the fourth screen color temperature, RCCT1 is the third screen color temperature; ambient_E is the ambient brightness of the terminal at present; ambient_E1 is the first ambient brightness; ambient_E2 is the second ambient brightness.
[0101] It can be seen from formula (3) that the difference between the fourth screen color temperature and the third screen color temperature, divided by the difference between the second ambient brightness and the first ambient brightness, can obtain the linear relationship value between the two; then multiply the linear relationship value by the brightness difference between the ambient brightness and the first ambient brightness to obtain the second target value; finally, take the sum of the second target value and the third screen color temperature as the target screen color temperature.
[0102] (4) In the case where the environmental brightness and the environmental color temperature cannot be found in the first mapping table, search for a third environmental brightness and a fourth environmental brightness adjacent to the environmental brightness in the first mapping table; determine a first screen color temperature to be processed under the third environmental brightness and a second screen color temperature to be processed under the fourth environmental brightness; and obtain the target screen color temperature according to the first screen color temperature to be processed and the second screen color temperature to be processed.
[0103] When the environmental brightness and the environmental color temperature cannot be found in the first mapping table, the third environmental brightness and the fourth environmental brightness adjacent to the environmental brightness can be searched first; then the third environmental color temperature and the fourth environmental color temperature adjacent to the environmental color temperature can be searched.
[0104] For the third environmental brightness, determining the first screen color temperature to be processed under the third environmental brightness includes: searching in the first mapping table for a fifth screen color temperature corresponding to the third environmental color temperature and a sixth screen color temperature corresponding to the fourth environmental color temperature under the third environmental brightness; and then obtaining the first screen color temperature to be processed under the third environmental brightness according to the environmental color temperature, the third environmental color temperature, the fourth environmental color temperature, the fifth screen color temperature, and the sixth screen color temperature.
[0105] According to the linear relationship between the environmental color temperature and the third environmental color temperature and the fourth environmental color temperature, linear interpolation is performed on the fifth screen color temperature and the sixth screen color temperature, and the calculation formula for obtaining the first screen color temperature to be processed is as follows:
[0106]
[0107] Among them, Target_RCCT_E1 is the first screen color temperature to be processed, and the first screen color temperature to be processed is the screen color temperature corresponding to the environmental color temperature where the terminal is currently located under the third environmental brightness; RCCT2 is the sixth screen color temperature; RCCT1 is the fifth screen color temperature; ambient_RCCT2 is the fourth environmental color temperature; ambient_RCCT1 is the third environmental color temperature; ambient_RCCT is the environmental color temperature where the terminal is currently located.
[0108] It can be seen from formula (4) that the difference between the sixth screen color temperature and the fifth screen color temperature, divided by the difference between the fourth environmental color temperature and the third environmental color temperature, can obtain the linear relationship value between the two; then multiplying the linear relationship value by the difference between the environmental color temperature and the third environmental color temperature can obtain the third target value; finally, the sum of the third target value and the fifth screen color temperature is used as the first screen color temperature to be processed.
[0109] For the fourth ambient brightness, determining the second screen color temperature to be processed under the fourth ambient brightness includes: looking up in the first mapping table the seventh screen color temperature corresponding to the third ambient color temperature and the eighth screen color temperature corresponding to the fourth ambient color temperature under the fourth ambient brightness; and then obtaining the second screen color temperature to be processed under the fourth ambient brightness based on the ambient color temperature, the third ambient color temperature, the fourth ambient color temperature, the seventh screen color temperature, and the eighth screen color temperature.
[0110] According to the linear relationship between the ambient color temperature, the third ambient color temperature, and the fourth ambient color temperature, perform linear interpolation on the fifth screen color temperature and the sixth screen color temperature to obtain the calculation formula for the second screen color temperature to be processed as follows:
[0111]
[0112] In formula (5), Target_RCCT_E2 is the second screen color temperature to be processed, and the second screen color temperature to be processed is the screen color temperature corresponding to the ambient color temperature where the terminal is currently located under the fourth ambient brightness; RCCT2 is the eighth screen color temperature; RCCT1 is the seventh screen color temperature; ambient_RCCT2 is the fourth ambient color temperature; ambient_RCCT1 is the third ambient color temperature; ambient_RCCT is the ambient color temperature where the terminal is currently located.
[0113] It can be seen from formula (5) that the difference between the eighth screen color temperature and the seventh screen color temperature, divided by the difference between the fourth ambient color temperature and the third ambient color temperature, can obtain the linear relationship value between the two; then multiplying the linear relationship value by the difference between the ambient color temperature and the third ambient color temperature can obtain the fourth target value; finally, the sum of the fourth target value and the seventh screen color temperature is used as the second screen color temperature to be processed.
[0114] Among them, obtaining the target screen color temperature based on the first screen color temperature to be processed and the second screen color temperature to be processed includes: obtaining the target screen color temperature according to the ambient brightness, the third ambient brightness, the fourth ambient brightness, the first screen color temperature to be processed, and the second screen color temperature to be processed.
[0115] According to the linear relationship between the ambient brightness, the third ambient brightness, and the fourth ambient brightness, perform linear interpolation on the first screen color temperature to be processed and the second screen color temperature to be processed to obtain the calculation formula for the target screen color temperature as follows:
[0116]
[0117] In formula (6), Target_RCCT_E is the target screen color temperature; Target_RCCT_E2 is the second screen color temperature to be processed; Target_RCCT_E1 is the first screen color temperature to be processed; ambient_E2 is the fourth ambient brightness; ambient_E1 is the third ambient brightness; ambient_E is the ambient brightness where the terminal is currently located.
[0118] As can be seen from formula (6), the difference between the second screen color temperature to be processed and the first screen color temperature to be processed is divided by the difference between the fourth ambient brightness and the third ambient brightness to obtain the linear relationship value between the two; then the linear relationship value is multiplied by the difference between the ambient brightness and the third ambient brightness to obtain the fifth target value; finally, the sum of the fifth target value and the first screen color temperature to be processed is used as the target screen color temperature.
[0119] It can be understood that the finally obtained target screen color temperature is the screen color temperature used in the calculation, and the target screen color temperature used in the calculation needs to be converted into the target screen color temperature required for terminal adjustment through the above formula (1).
[0120] In some scenarios, if the ambient brightness where the terminal is currently located is 50 and the ambient color temperature is 460, the ambient brightness and ambient color temperature cannot be found in the first mapping table. At this time, the third ambient brightness 10 adjacent to the ambient brightness 50 and the fourth ambient brightness 200 can be found first; then the third ambient color temperature 454.54 and the fourth ambient color temperature 500 adjacent to the ambient color temperature 460 are found in the first mapping table.
[0121] For the third ambient brightness 10, first find the fifth screen color temperature 200 corresponding to the third ambient color temperature 454.54 and the sixth screen color temperature 230 corresponding to the fourth ambient color temperature 500 under the third ambient brightness 10 in the first mapping table; then obtain the first screen color temperature to be processed based on the ambient color temperature 460, the third ambient color temperature 454.54, the fourth ambient color temperature 500, the fifth screen color temperature 200, and the sixth screen color temperature 230. This first screen color temperature to be processed is the screen color temperature corresponding to the ambient color temperature 460 under the third ambient brightness 10.
[0122] For the fourth ambient brightness 200, first find the seventh screen color temperature 180 corresponding to the third ambient color temperature 454.54 and the eighth screen color temperature 220 corresponding to the fourth ambient color temperature 500 under the fourth ambient brightness 200 in the first mapping table; then obtain the second screen color temperature to be processed based on the ambient color temperature 460, the third ambient color temperature 454.54, the fourth ambient color temperature 500, the seventh screen color temperature 180, and the eighth screen color temperature 220. This second screen color temperature to be processed is the screen color temperature corresponding to the ambient color temperature 460 under the fourth ambient brightness 200.
[0123] In this way, the first screen color temperature to be processed under the third ambient brightness and the second screen color temperature to be processed under the fourth ambient brightness are obtained. Finally, according to the ambient brightness where the terminal is currently located, linear interpolation is performed on the first screen color temperature to be processed and the second screen color temperature to be processed to obtain the target screen color temperature where the terminal is currently located.
[0124] Through the above technical solution, when there is an ambient brightness and an ambient color temperature in the first mapping table, the target screen color temperature can be directly obtained by looking up the table; when the ambient brightness and / or the ambient color temperature do not exist in the first mapping table, linear interpolation is performed on the parameters adjacent to the ambient brightness and / or the ambient color temperature, so as to obtain the target screen color temperature. During this process, since the obtained target screen color temperature takes into account not only the ambient color temperature but also the ambient brightness, the obtained target screen color temperature is more accurate and more in line with the current external environment.
[0125] In some scenarios, when the screen color temperature of the terminal screen used by the user matches the ambient color temperature in the environment, since the obtained target screen color temperature is more in line with the external environment, the situation of the terminal screen reflecting ambient light can be reduced, thereby improving the color adaptability of the human eye.
[0126] The following introduces the specific embodiments related to the above step S12, and this embodiment is used to illustrate an example solution for obtaining the target screen brightness.
[0127] (1) When the target screen color temperature can be found in the second mapping table, find the target screen brightness corresponding to the ambient brightness, the ambient color temperature, and the target screen color temperature; the second mapping table has a mapping relationship between the ambient brightness, the ambient color temperature, the screen color temperature, and the screen brightness.
[0128] Please refer to Figure 3 As shown in Table 2 above, the second mapping table is a three-dimensional lookup table. After knowing the ambient brightness, the ambient color temperature, and the target screen color temperature, a point can be uniquely determined, and this point is the target screen brightness.
[0129] If the target screen color temperature can be found in the second mapping table, the screen brightness corresponding to the target screen color temperature under the ambient brightness and the ambient color temperature where the terminal is currently located is used as the target screen brightness.
[0130] (2) When the target screen color temperature cannot be found in the second mapping table, search in the second mapping table for the first target screen color temperature CCT1 and the second target screen color temperature CCT2 adjacent to the target screen color temperature; search in the second mapping table for the first target screen brightness corresponding to the first target screen color temperature CCT1 and the second target screen brightness corresponding to the second target screen color temperature CCT2; obtain the target screen brightness based on the target screen color temperature, the first target screen color temperature CCT1, the second target screen color temperature CCT2, the first target screen brightness, and the second target screen brightness.
[0131] As shown in Table 2 above, if the screen color temperatures adjacent to the target screen color temperature are the first target screen color temperature CCT1 and the second target screen color temperature CCT2, then in the second mapping table, the first target screen brightness XXX1 corresponding to the first target screen color temperature CCT1 is found, and the second target screen brightness XXX2 corresponding to the second target screen color temperature CCT2 is found; finally, based on the target screen color temperature, the first target screen color temperature CCT1, the second target screen color temperature CCT2, the first target screen brightness XXX1, and the second target screen brightness XXX2, the final target screen brightness is obtained.
[0132] Perform linear interpolation on the first target screen brightness and the second target screen brightness according to the linear relationship between the target screen color temperature, the first target screen color temperature, and the second target screen color temperature. The calculation formula for the target screen brightness is as follows:
[0133]
[0134] In formula (7), Display_nit is the target screen brightness; Display_nit_xxx2 is the second target screen brightness; Display_nit_xxx1 is the first target screen brightness; Dsiplay_CCT is the target screen color temperature; Display_CCT1 is the first target screen color temperature; Display_CCT2 is the second target screen color temperature.
[0135] It can be seen from formula (7) that the difference between the second target screen brightness and the first target screen brightness, divided by the difference between the second target screen color temperature and the first target screen color temperature, obtains the linear relationship value between the two; then multiply the linear relationship value by the difference between the target screen color temperature and the first target screen color temperature to obtain the sixth target value; finally, the sum of the sixth target value and the first target screen brightness is used as the target screen brightness.
[0136] It can be understood that the target screen color temperature used in formula (7) is the screen color temperature required during terminal adjustment, rather than the target screen color temperature required during calculation.
[0137] Through the above technical solution, when the target screen color temperature exists in the second mapping table, the target screen brightness corresponding to the target screen color temperature can be directly obtained by looking up the table; when the target screen color temperature does not exist in the first mapping table, linear interpolation is performed on the first target screen brightness and the second target screen brightness corresponding to the first target screen color temperature and the second target screen color temperature adjacent to the target screen color temperature, so as to obtain the target screen brightness. In this process, since the obtained target screen brightness takes into account not only the ambient brightness but also the ambient color temperature and the target screen color temperature, the obtained target screen brightness is more accurate and more in line with the current external environment.
[0138] In some scenarios, when the screen brightness of the terminal used by the user matches the ambient brightness in the environment, since the obtained target screen brightness is more in line with the external environment, the situation of the terminal screen reflecting ambient light can be reduced, thereby improving the color adaptability of the human eye.
[0139] The following describes an optional embodiment involved in the present disclosure, which is used to illustrate how to determine the ambient brightness and the ambient color temperature when the ambient brightness and the ambient color temperature exceed the search range of the first mapping table.
[0140] (1) In the case where the ambient brightness where the terminal is located is not within the range of the first mapping table, the minimum ambient brightness or the maximum ambient brightness in the first mapping table is used as the ambient brightness.
[0141] Referring to Table 1 shown, if the ambient brightness is less than or equal to 10 lux, the ambient brightness is 10 lux; if the ambient brightness is greater than or equal to 400 lux, the ambient brightness is 400 lux.
[0142] (2) In the case where the ambient color temperature where the terminal is located is not within the range of the first mapping table, the minimum ambient color temperature or the maximum ambient color temperature in the first mapping table is used as the ambient color temperature.
[0143] Referring to Table 1 shown, if the ambient color temperature is less than or equal to 2000 K, the ambient color temperature is regarded as 2000 K; if the ambient color temperature is greater than or equal to 2500 K, the ambient color temperature is regarded as 2500 K.
[0144] Through the above technical solution, when the ambient brightness and the ambient brightness are not within the search range of the first mapping table, it is defined that the maximum ambient brightness or the minimum ambient brightness in the first mapping table is used as the ambient brightness where the terminal is currently located, and the maximum ambient color temperature or the minimum ambient color temperature in the first mapping table is used as the ambient color temperature where the terminal is currently located.
[0145] Figure 4 It is a block diagram of a processing device for screen display shown according to an exemplary embodiment. Refer to Figure 4, the processing device 400 for screen display includes: a target screen color temperature determination module 410, a target screen brightness determination module 420, and a display module 430.
[0146] The target screen color temperature determination module 410 is configured to obtain the target screen color temperature of the terminal based on the ambient brightness and ambient color temperature of the terminal;
[0147] The target screen brightness determination module 420 is configured to obtain the target screen brightness of the terminal according to the ambient brightness, the ambient color temperature, and the target screen color temperature;
[0148] The display module 430 is configured to control the screen of the terminal to display at the target screen color temperature and the target screen brightness.
[0149] Optionally, the target screen color temperature determination module 410 includes:
[0150] The first lookup sub-module is configured to, when the ambient brightness and the ambient color temperature can be found in the first mapping table, look up the target screen color temperature corresponding to the ambient brightness and the ambient color temperature; the first mapping table has a mapping relationship between ambient brightness, ambient color temperature, and screen color temperature.
[0151] Optionally, the target screen color temperature determination module 410 includes:
[0152] The second lookup sub-module is configured to, when the ambient brightness can be found in the first mapping table but the ambient color temperature cannot be found, look up the first ambient color temperature and the second ambient color temperature adjacent to the ambient color temperature in the first mapping table;
[0153] The third lookup sub-module is configured to look up the first screen color temperature corresponding to the first ambient color temperature and the second screen color temperature corresponding to the second ambient color temperature at the ambient brightness in the first mapping table;
[0154] The first calculation sub-module is configured to obtain the target screen color temperature according to the ambient color temperature, the first ambient color temperature, the second ambient color temperature, the first screen color temperature, and the second screen color temperature.
[0155] Optionally, the target screen color temperature determination module 410 includes:
[0156] The fourth lookup sub-module is configured to, when the ambient brightness cannot be found in the first mapping table but the ambient color temperature can be found, look up the first ambient brightness and the second ambient brightness adjacent to the ambient brightness in the first mapping table;
[0157] A fifth search sub-module, configured to search in the first mapping table for a third screen color temperature corresponding to the first ambient brightness and a fourth screen color temperature corresponding to the second ambient brightness at the ambient color temperature;
[0158] A second calculation sub-module, configured to obtain the target screen color temperature according to the ambient brightness, the first ambient brightness, the second ambient brightness, the third screen color temperature, and the fourth screen color temperature.
[0159] Optionally, the target screen color temperature determination module 410 includes:
[0160] A sixth search sub-module, configured to search in the first mapping table for a third ambient brightness and a fourth ambient brightness adjacent to the ambient brightness when the ambient brightness and the ambient color temperature cannot be found in the first mapping table;
[0161] A seventh search sub-module, configured to determine a first screen color temperature to be processed at the third ambient brightness and a second screen color temperature to be processed at the fourth ambient brightness;
[0162] A third calculation sub-module, configured to obtain the target screen color temperature according to the first screen color temperature to be processed and the second screen color temperature to be processed.
[0163] Optionally, the third calculation sub-module includes:
[0164] A fourth calculation sub-module, configured to obtain the target screen color temperature according to the ambient brightness, the third ambient brightness, the fourth ambient brightness, the first screen color temperature to be processed, and the second screen color temperature to be processed.
[0165] Optionally, the target screen brightness determination module 420 includes:
[0166] An eighth search sub-module, configured to search for a target screen brightness corresponding to the ambient brightness, the ambient color temperature, and the target screen color temperature when the target screen color temperature can be found in the second mapping table; the second mapping table has a mapping relationship between the ambient brightness, the ambient color temperature, the screen color temperature, and the screen brightness.
[0167] Optionally, the target screen brightness determination module 420 includes:
[0168] A ninth search sub-module, configured to search in the second mapping table for a first target screen color temperature and a second target screen color temperature adjacent to the target screen color temperature when the target screen color temperature cannot be found in the second mapping table;
[0169] The tenth search sub-module is configured to search in the second mapping table for a first target screen brightness corresponding to the first target screen color temperature and a second target screen brightness corresponding to the second target screen color temperature;
[0170] The fifth calculation sub-module is configured to obtain the target screen brightness according to the target screen color temperature, the first target screen color temperature, the second target screen color temperature, the first target screen brightness, and the second target screen brightness.
[0171] Optionally, the processing device 400 for screen display includes:
[0172] The ambient brightness determination module is configured to use the minimum ambient brightness or the maximum ambient brightness in the first mapping table as the ambient brightness when the ambient brightness where the terminal is located is not within the range of the first mapping table.
[0173] Optionally, the processing device 400 for screen display includes:
[0174] The ambient color temperature determination module is configured to use the minimum ambient color temperature or the maximum ambient color temperature in the first mapping table as the ambient color temperature when the ambient color temperature where the terminal is located is not within the range of the first mapping table.
[0175] Regarding the device in the above embodiments, the specific manners in which each module performs operations have been described in detail in the embodiments related to the method, and will not be elaborated herein.
[0176] The present disclosure also provides a computer-readable storage medium having computer program instructions stored thereon, and when the program instructions are executed by a processor, the steps of the screen display processing method provided by the present disclosure are implemented.
[0177] Figure 5 It is a block diagram of a processing device 500 for screen display shown according to an exemplary embodiment. For example, the device 500 can 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.
[0178] Referring to Figure 5 , the device 500 may include one or more of the following components: a processing component 502, a memory 504, a power component 506, a multimedia component 508, an audio component 510, an input / output interface 512, a sensor component 514, and a communication component 516.
[0179] The processing component 502 generally controls the overall operation of the device 500, such as operations associated with display, telephone calls, data communication, camera operations, and recording operations. The processing component 502 may include one or more processors 520 to execute instructions to complete all or part of the steps of the above-described screen display processing method. In addition, the processing component 502 may include one or more modules to facilitate the interaction between the processing component 502 and other components. For example, the processing component 502 may include a multimedia module to facilitate the interaction between the multimedia component 508 and the processing component 502.
[0180] The memory 504 is configured to store various types of data to support the operation of the device 500. Examples of such data include instructions for any application or method operating on the device 500, contact data, phone book data, messages, pictures, videos, and the like. The memory 504 may 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, a magnetic disk, or an optical disk.
[0181] The power component 506 provides power to the various components of the device 500. The power component 506 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the device 500.
[0182] The multimedia component 508 includes a screen that provides an output interface between the device 500 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 touches, swipes, and gestures on the touch panel. The touch sensors may sense not only the boundaries of the touch or swipe actions but also detect the duration and pressure associated with the touch or swipe operation. In some embodiments, the multimedia component 508 includes a front camera and / or a rear camera. When the device 500 is in an operation mode, such as a shooting mode or a video mode, the front camera and / or the rear camera may receive external multimedia data. Each of the front camera and the rear camera may be a fixed optical lens system or have a focal length and optical zoom capabilities.
[0183] The audio component 510 is configured to output and / or input audio signals. For example, the audio component 510 includes a microphone (MIC) that is configured to receive external audio signals when the device 500 is in an operating mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signal can be further stored in the memory 504 or transmitted via the communication component 516. In some embodiments, the audio component 510 further includes a speaker for outputting audio signals.
[0184] The input / output interface 512 provides an interface between the processing component 502 and a peripheral interface module, and the peripheral interface module can be a keyboard, a click wheel, buttons, etc. These buttons can include, but are not limited to: a home button, a volume button, a start button, and a lock button.
[0185] The sensor component 514 includes one or more sensors for providing an assessment of various aspects of the state of the device 500. For example, the sensor component 514 can detect the on / off state of the device 500, the relative positioning of components, such as the display and keypad of the device 500. The sensor component 514 can also detect a change in the position of the device 500 or a component of the device 500, the presence or absence of user contact with the device 500, the orientation or acceleration / deceleration of the device 500, and a change in the temperature of the device 500. The sensor component 514 can include a proximity sensor configured to detect the presence of nearby objects without any physical contact. The sensor component 514 can also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor component 514 can further include an acceleration sensor, a gyro sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
[0186] The communication component 516 is configured to facilitate communication between the device 500 and other devices in a wired or wireless manner. The device 500 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 516 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 516 further 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.
[0187] In an exemplary embodiment, the apparatus 500 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 for performing the above-described screen display processing method.
[0188] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 504 including instructions, and the above instructions can be executed by a processor 520 of the apparatus 500 to complete the above-described screen display processing method. For example, the non-transitory computer-readable storage medium may be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, and an optical data storage device, etc.
[0189] In addition to being an independent electronic device, the above apparatus may also be a part of an independent electronic device. For example, in one embodiment, the apparatus may be an integrated circuit (IC) or a chip. The integrated circuit may be a single IC or a collection of multiple ICs; the chip may include, but is not limited to, the following types: GPU (Graphics Processing Unit), CPU (Central Processing Unit), FPGA (Field Programmable Gate Array), DSP (Digital Signal Processor), ASIC (Application Specific Integrated Circuit), SOC (System on Chip), etc. The above integrated circuit or chip may be used to execute executable instructions (or code) to implement the above-described screen display processing method. The executable instructions may be stored in the integrated circuit or chip, or may be obtained from other devices or apparatuses. For example, the integrated circuit or chip includes a processor, a memory, and an interface for communicating with other devices. The executable instructions may be stored in the memory, and when the executable instructions are executed by the processor, the above-described screen display processing method is implemented; or, the integrated circuit or chip may receive the executable instructions through the interface and transmit them to the processor for execution to implement the above-described screen display processing method.
[0190] In another exemplary embodiment, a computer program product is also provided, which includes a computer program executable by a programmable device. The computer program has a code portion for performing the above-described screen display processing method when executed by the programmable device.
[0191] Those skilled in the art will readily conceive of other embodiments of the present disclosure after considering the specification and practicing the present disclosure. The present disclosure is intended to cover any variations, uses, or adaptations of the present disclosure that follow the general principles of the present disclosure and include known common knowledge or conventional technical means in the technical field not disclosed in the present disclosure. The specification and embodiments are only regarded as exemplary, and the true scope and spirit of the present disclosure are pointed out by the following claims.
[0192] It should be understood that the present disclosure is not limited to the exact structures described above and shown in the drawings, and various modifications and changes can be made without departing from its scope. The scope of the present disclosure is only limited by the appended claims.
Claims
1. A method for processing screen display, characterized in that including: obtaining a target screen color temperature of the terminal based on an ambient brightness and an ambient color temperature of the terminal; obtaining a target screen brightness of the terminal according to the ambient brightness, the ambient color temperature, and the target screen color temperature; controlling a screen of the terminal to display with the target screen color temperature and the target screen brightness.
2. The method according to claim 1, wherein The obtaining the target screen color temperature of the terminal based on the ambient brightness and the ambient color temperature of the terminal includes: when the ambient brightness and the ambient color temperature can be found in a first mapping table, looking up a target screen color temperature corresponding to the ambient brightness and the ambient color temperature; the first mapping table has a mapping relationship between the ambient brightness, the ambient color temperature, and the screen color temperature.
3. The method according to claim 1, characterized in that The obtaining the target screen color temperature of the terminal based on the ambient brightness and the ambient color temperature of the terminal includes: when the ambient brightness can be found in the first mapping table but the ambient color temperature cannot be found, looking up a first ambient color temperature and a second ambient color temperature adjacent to the ambient color temperature in the first mapping table; looking up a first screen color temperature corresponding to the first ambient color temperature and a second screen color temperature corresponding to the second ambient color temperature at the ambient brightness in the first mapping table; obtaining the target screen color temperature according to the ambient color temperature, the first ambient color temperature, the second ambient color temperature, the first screen color temperature, and the second screen color temperature.
4. The method according to claim 1, wherein The obtaining the target screen color temperature of the terminal based on the ambient brightness and the ambient color temperature of the terminal includes: when the ambient brightness cannot be found in the first mapping table but the ambient color temperature can be found, looking up a first ambient brightness and a second ambient brightness adjacent to the ambient brightness in the first mapping table; looking up a third screen color temperature corresponding to the first ambient brightness and a fourth screen color temperature corresponding to the second ambient brightness at the ambient color temperature in the first mapping table; obtaining the target screen color temperature according to the ambient brightness, the first ambient brightness, the second ambient brightness, the third screen color temperature, and the fourth screen color temperature.
5. The method according to claim 1, characterized in that, The obtaining the target screen color temperature of the terminal based on the ambient brightness and the ambient color temperature of the terminal includes: when the ambient brightness and the ambient color temperature cannot be found in the first mapping table, looking up a third ambient brightness and a fourth ambient brightness adjacent to the ambient brightness in the first mapping table; determining a first screen color temperature to be processed at the third ambient brightness and a second screen color temperature to be processed at the fourth ambient brightness; obtaining the target screen color temperature according to the first screen color temperature to be processed and the second screen color temperature to be processed.
6. The method according to claim 5, wherein The obtaining the target screen color temperature according to the first screen color temperature to be processed and the second screen color temperature to be processed includes: obtaining the target screen color temperature according to the ambient brightness, the third ambient brightness, the fourth ambient brightness, the first screen color temperature to be processed, and the second screen color temperature to be processed.
7. The method according to claim 1, characterized in that, Obtaining the target screen brightness of the terminal according to the ambient brightness, the ambient color temperature, and the target screen color temperature includes: When the target screen color temperature can be found in the second mapping table, looking up the target screen brightness corresponding to the ambient brightness, the ambient color temperature, and the target screen color temperature; the second mapping table has a mapping relationship between ambient brightness, ambient color temperature, screen color temperature, and screen brightness.
8. The method according to claim 1, wherein Obtaining the target screen brightness of the terminal according to the ambient brightness, the ambient color temperature, and the target screen color temperature includes: When the target screen color temperature cannot be found in the second mapping table, looking up a first target screen color temperature and a second target screen color temperature adjacent to the target screen color temperature in the second mapping table; Looking up a first target screen brightness corresponding to the first target screen color temperature and a second target screen brightness corresponding to the second target screen color temperature in the second mapping table; Obtaining the target screen brightness according to the target screen color temperature, the first target screen color temperature, the second target screen color temperature, the first target screen brightness, and the second target screen brightness.
9. The method according to claim 1, wherein The method further includes: When the ambient brightness where the terminal is located is not within the range of the first mapping table, using the minimum ambient brightness or the maximum ambient brightness in the first mapping table as the ambient brightness.
10. The method according to claim 1, characterized in that The method further includes: When the ambient color temperature where the terminal is located is not within the range of the first mapping table, using the minimum ambient color temperature or the maximum ambient color temperature in the first mapping table as the ambient color temperature.
11. A processing device for screen display, characterized in that, Including: A target screen color temperature determination module configured to obtain the target screen color temperature of the terminal based on the ambient brightness and the ambient color temperature where the terminal is located; A target screen brightness determination module configured to obtain the target screen brightness of the terminal according to the ambient brightness, the ambient color temperature, and the target screen color temperature; A display module configured to control the screen of the terminal to display with the target screen color temperature and the target screen brightness.
12. A terminal, characterized in that, Including: A processor; A memory for storing instructions executable by the processor; Wherein, the processor is configured to: Execute the steps of the method according to any one of claims 1 to 10.
13. A computer-readable storage medium having computer program instructions stored thereon, characterized in that, When the program instructions are executed by the processor, the steps of the method according to any one of claims 1 to 10 are implemented.