Display adjustment method and device, electronic equipment and storage medium
By adjusting the initial color information displayed on the mobile phone screen and adjusting according to the preset conditions of the blue light information, the problem of fixing the eye protection mode in the existing technology is solved, and better eye protection effect and user experience are achieved.
Patent Information
- Application Number
- CN202311378267.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-10-23
- Publication Date
- 2025-04-25
- Estimated Expiration
- 2043-10-23
AI Technical Summary
The eye protection mode of existing mobile phones is fixed, and different eye protection effects cannot be achieved according to different colors displayed on the screen, and cannot meet the user needs in different application scenarios.
By obtaining the initial color information displayed on the screen, adjusting it based on the preset conditions of the blue light information, obtaining the target color information, and displaying the screen to achieve a more harmonious color display and better eye protection effect.
It achieves different eye protection effects when displayed in different colors, improves the user's experience and comfort, and ensures the harmony of the screen display.
Smart Images

Figure CN119889250A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of display technology, and in particular to a display adjustment method and device, an electronic device, and a storage medium. Background Art
[0002] With the rapid development of electronic device technology, the frequency of using electronic devices such as mobile phones in life is increasing, and users are paying more and more attention to the eye protection effect of mobile phone displays.
[0003] However, in different application scenarios, users have different demands for the eye protection mode of mobile phones, but the eye protection mode in current mobile phones is fixed and cannot achieve different eye protection effects according to the different colors displayed on the mobile phone screen.
[0004] In order to improve user experience and comfort, exploring a more intelligent display adjustment method has become an urgent need for users. Summary of the invention
[0005] In order to overcome the problems existing in the related art, the present disclosure provides a display adjustment method and device, an electronic device and a storage medium, which can achieve better eye protection effect while ensuring the display effects of different colors to make the screen display colors more harmonious, thereby improving the user experience and comfort.
[0006] According to a first aspect of an embodiment of the present disclosure, a display adjustment method is provided, comprising at least:
[0007] Obtaining initial color information displayed on a screen of an electronic device;
[0008] When it is determined based on the initial color information that the blue light information displayed on the screen meets a preset condition, adjusting the initial color information based on the blue light information displayed on the screen to obtain target color information;
[0009] Screen display is performed based on the target color information.
[0010] In some embodiments, the blue light information includes a blue light ratio of a blue spectrum intensity to a spectrum intensity of a full spectrum; and when it is determined based on the initial color information that the blue light information displayed on the screen meets a preset condition, adjusting the initial color information based on the blue light information displayed on the screen to obtain the target color information includes:
[0011] When the blue light ratio satisfies the preset condition, determining an adjustment coefficient based on the blue light ratio;
[0012] The initial color information is adjusted based on the adjustment coefficient to obtain the target color information.
[0013] In some embodiments, when the blue light proportion satisfies the preset condition, determining the adjustment coefficient based on the blue light proportion includes:
[0014] When the blue light proportion is less than or equal to a first blue light threshold, determining a first adjustment coefficient based on the blue light proportion;
[0015] When the blue light proportion is greater than or equal to a second blue light threshold, determining a second adjustment coefficient based on the blue light proportion;
[0016] The first adjustment coefficient is different from the second adjustment coefficient.
[0017] In some embodiments, determining the first adjustment coefficient based on the blue light proportion includes:
[0018] Based on the blue light proportion, determining a first offset color temperature;
[0019] The first adjustment coefficient is determined based on the first offset color temperature.
[0020] In some embodiments, determining the first offset color temperature based on the blue light proportion includes:
[0021] Determining a first color temperature coefficient based on the blue light proportion, the first blue light threshold, a preset minimum blue light proportion, and a preset color temperature index;
[0022] The first offset color temperature is obtained based on the first color temperature coefficient and a preset color temperature difference value.
[0023] In some embodiments, determining the first adjustment coefficient based on the first offset color temperature includes:
[0024] Determine a first target color temperature based on the sum of the first offset color temperature and a preset standard color temperature;
[0025] The first adjustment coefficient is determined based on a preset mapping relationship between the color temperature and the adjustment coefficient and the first target color temperature.
[0026] In some embodiments, determining the second adjustment coefficient based on the blue light proportion includes:
[0027] Based on the blue light proportion, determining a second offset color temperature;
[0028] The second adjustment coefficient is determined based on the second offset color temperature.
[0029] In some embodiments, determining the second offset color temperature based on the blue light proportion includes:
[0030] Determining a second color temperature coefficient based on the blue light proportion, the second blue light threshold, a preset maximum blue light proportion, and a preset color temperature index;
[0031] The second offset color temperature is obtained based on the second color temperature coefficient and a preset color temperature difference value.
[0032] In some embodiments, determining the second adjustment coefficient based on the second offset color temperature includes:
[0033] Determine a second target color temperature based on a difference between a preset standard color temperature and the second offset color temperature;
[0034] The second adjustment coefficient is determined based on a preset mapping relationship between the color temperature and the adjustment coefficient and the second target color temperature.
[0035] In some embodiments, the method further comprises:
[0036] When the blue light information does not satisfy the preset condition, the initial color information is used as the target color information.
[0037] In some embodiments, the blue light information includes a blue light ratio; and the method further includes:
[0038] The color value in the initial color information is input into a preset blue light model to obtain the blue light proportion.
[0039] In some embodiments, the method further comprises:
[0040] Get multiple sample color values of multiple sample display images;
[0041] Obtaining a plurality of sample blue light proportions of a plurality of the sample display images;
[0042] Based on the sample color values and the sample blue light proportion associated with the same sample display screen, a preset training model is trained to obtain the blue light model.
[0043] In some embodiments, the obtaining of a plurality of sample blue light proportions of a plurality of sample display images comprises:
[0044] Measuring the plurality of sample display images by a light measuring device to determine the spectral intensities of the plurality of samples;
[0045] Based on the sample blue spectrum intensities among the multiple sample spectrum intensities, the multiple sample blue light proportions are obtained.
[0046] According to a second aspect of an embodiment of the present disclosure, a display adjustment device is provided, comprising at least:
[0047] An acquisition module configured to acquire initial color information displayed on a screen of an electronic device;
[0048] an adjustment module, configured to adjust the initial color information based on the blue light information displayed on the screen to obtain target color information when it is determined based on the initial color information that the blue light information displayed on the screen meets a preset condition;
[0049] The display module is configured to perform screen display based on the target color information.
[0050] According to a third aspect of an embodiment of the present disclosure, there is provided an electronic device, comprising at least:
[0051] processor;
[0052] a memory for storing processor-executable instructions;
[0053] Wherein, the processor is configured to execute the display adjustment method as described in the first aspect.
[0054] According to a fourth aspect of an embodiment of the present disclosure, a non-temporary computer-readable storage medium is provided. When instructions in the storage medium are executed by a processor of an electronic device, the electronic device can perform the display adjustment method as described in the first aspect.
[0055] The technical solution provided by the embodiments of the present disclosure may have the following beneficial effects:
[0056] A display adjustment method provided by an embodiment of the present disclosure may include: obtaining initial color information displayed on a screen of an electronic device; in the case where it is determined based on the initial color information that the blue light information displayed on the screen meets a preset condition, adjusting the initial color information based on the blue light information displayed on the screen to obtain target color information; and performing screen display based on the target color information. That is, unlike the related art in which the eye protection mode of an electronic device is fixed, the embodiment of the present disclosure can adjust the initial color information displayed on the screen through the blue light information displayed on the screen of the electronic device to obtain target color information, so that different eye protection effects can be achieved when the screen displays different colors, thereby achieving better eye protection effects while ensuring that the display effects of different colors make the screen display colors more harmonious, thereby improving the user experience and comfort.
[0057] 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
[0058] 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.
[0059] Figure 1 is a flow chart of a display adjustment method according to an exemplary embodiment. Figure 1 .
[0060] Figure 2 is a flow chart of a display adjustment method according to an exemplary embodiment. Figure 2 .
[0061] Figure 3 The figure is a schematic diagram showing the proportion of blue light and the number of colors in a display adjustment method according to an exemplary embodiment.
[0062] Figure 4 The figure is a schematic diagram showing the blue light proportion and the color temperature in a display adjustment method according to an exemplary embodiment.
[0063] Figure 5 is a flow chart of a display adjustment method according to an exemplary embodiment. Figure 3 .
[0064] Figure 6 The figure is a structural block diagram of a display adjustment device according to an exemplary embodiment.
[0065] Figure 7 The diagram is a schematic structural diagram of an electronic device according to an exemplary embodiment. DETAILED DESCRIPTION
[0066] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present disclosure. Instead, they are merely examples of devices and methods consistent with some aspects of the present disclosure as detailed in the appended claims.
[0067] The technical solutions provided by various embodiments of the present disclosure are described in detail below in conjunction with the accompanying drawings.
[0068] In the related art, in different application scenarios, users have different demands for the eye protection mode of mobile phones, but the eye protection mode in current mobile phones is fixed and cannot achieve different eye protection effects according to the different colors displayed on the mobile phone screen.
[0069] Based on this, an embodiment of the present disclosure provides a display adjustment method. Figure 1 is a flow chart of a display adjustment method according to an exemplary embodiment. Figure 1 ,like Figure 1 As shown, the display adjustment method provided by the embodiment of the present disclosure includes at least the following steps:
[0070] Step 110: obtaining initial color information displayed on the screen of the electronic device;
[0071] Step 120: When it is determined based on the initial color information that the blue light information displayed on the screen meets a preset condition, the initial color information is adjusted based on the blue light information displayed on the screen to obtain target color information;
[0072] Step 130: Perform screen display based on the target color information.
[0073] In step 110, the electronic devices may include: mobile phones, tablet computers, smart watches, digital cameras, head mounted display devices (Head Mounted Display, HMD), etc., which are not limited in the embodiments of the present disclosure.
[0074] In the embodiments of the present disclosure, the display adjustment method may be executed by the electronic device at any time, or may be executed by the electronic device when the electronic device is in the eye protection mode, etc., and the embodiments of the present disclosure are not limited thereto.
[0075] Here, the eye protection mode of the electronic device may be that the electronic device reduces the proportion of blue light by adjusting the color temperature of the screen to reduce damage to the eyes.
[0076] Among them, color temperature is a unit of measurement that indicates the color components contained in light. Theoretically, color temperature refers to the color of an absolute black body after being heated from absolute zero (-273℃). After being heated, a black body gradually changes from black to red, yellow, white, and finally emits blue light. When heated to a certain temperature, the spectral components of the light emitted by the black body are called the color temperature at this temperature, and the unit is Kelvin (K). Blue light refers to high-energy visible light with a wavelength between 400 nanometers (nm) and 500nm emitted by the screen. Blue light can penetrate the lens and reach the retina directly, causing atrophy or even death of retinal pigment epithelial cells.
[0077] The initial color information may include the color system (Red Green Blue, RGB) value of any pixel displayed on the screen of the electronic device, or the brightness, hue or saturation of any pixel displayed on the screen of the electronic device, which is not limited in the embodiments of the present disclosure. For example, the initial color information may be the RGB value corresponding to the green pixel displayed on the screen.
[0078] It can be understood that obtaining the initial color information of the screen display in the above-mentioned electronic device may include: obtaining the initial color information of all pixels in the screen display picture of the above-mentioned electronic device; or obtaining the initial color information of some pixels in the screen display picture of the above-mentioned electronic device.
[0079] In an embodiment of the present disclosure, after the electronic device turns on a functional mode such as an eye protection mode, the electronic device can obtain the initial color information of each pixel in the screen display image, so as to subsequently judge the initial color information of each pixel to determine whether the initial color information needs to be adjusted.
[0080] In step 120, the blue light information may be blue light information corresponding to any pixel displayed on the screen of the electronic device; for example, the blue light information may include blue light proportion, blue light brightness, blue light saturation or blue light hue, etc. The target color information may be eye protection color information displayed on the screen after adjusting the initial color information.
[0081] Among them, the blue light proportion can be the ratio of the blue spectrum intensity to the spectrum intensity of the full spectrum; the full spectrum can refer to the spectrum including ultraviolet light, visible light, and infrared light; the spectrum wavelength of the full spectrum can cover all visible light regions (wavelength is 380nm-780nm).
[0082] Here, the above-mentioned blue light information satisfies the preset condition, which can be understood as the above-mentioned blue light information can indicate that the above-mentioned initial color information belongs to an eye-damaging color, that is, the initial color information displayed on the screen needs to be adjusted. For example, in the case where the above-mentioned blue light information is a blue light ratio, the above-mentioned blue light information satisfies the preset condition may include: the above-mentioned blue light ratio is less than or equal to the first blue light threshold, or the above-mentioned blue light ratio is greater than or equal to the second blue light threshold.
[0083] Similarly, determining that the blue light information meets the preset condition based on the initial color information may include: obtaining the blue light information based on the initial color information, and then determining that the blue light information meets the preset condition.
[0084] In one embodiment of the present disclosure, the blue light information includes a blue light ratio; and the display adjustment method may further include:
[0085] The color value in the initial color information is input into a preset blue light model to obtain the blue light proportion.
[0086] In this way, the color value in the initial color information can be input into the preset blue light model to obtain the blue light proportion, so as to prepare for the subsequent judgment of whether the initial color information needs to be adjusted and to adjust the initial color information, thereby achieving the eye protection effect of the electronic device.
[0087] Among them, the color values in the above-mentioned initial color information can be R values, G values and B values; the above-mentioned preset blue light model can include a machine learning model about RGB values and blue light proportions, or a functional relationship between RGB values and blue light proportions, etc.
[0088] In one embodiment of the present disclosure, the display adjustment method may further include:
[0089] Get multiple sample color values of multiple sample display images;
[0090] Obtaining a plurality of sample blue light proportions of a plurality of the sample display images;
[0091] Based on the sample color values and the sample blue light proportion associated with the same sample display screen, a preset training model is trained to obtain the blue light model.
[0092] In this way, the preset training model can be trained through multiple sample color values and multiple sample blue light proportions of multiple sample display images to obtain a blue light model, so that the color value of the initial color information can be directly input into the blue light model in the future to obtain the corresponding blue light proportion, thereby improving the adjustment efficiency of the initial color information and better realizing the eye protection effect of the electronic device.
[0093] Among them, the above-mentioned sample display screen can be an image displayed on the screen of the above-mentioned electronic device based on the sample color value; the above-mentioned sample color value can be one of the standard RGB values; the above-mentioned sample blue light ratio can be the ratio of the sample blue spectrum intensity in the above-mentioned sample display screen to the sample spectrum intensity; the above-mentioned preset training model can be an initial machine learning model that has not yet been trained.
[0094] It can be understood that in the process of training the above-mentioned training model, a plurality of the above-mentioned sample display screens are displayed on the screen of the electronic device to obtain a plurality of the above-mentioned sample color values, and the corresponding plurality of the above-mentioned sample blue light proportions are determined based on the measurement results of the light measuring device, so that the sample color values of the same sample display screen are associated with the sample blue light proportions, so as to train the preset training model to obtain the above-mentioned blue light model.
[0095] In one embodiment of the present disclosure, the step of obtaining a plurality of sample blue light proportions of a plurality of sample display images includes:
[0096] Measuring the plurality of sample display images by a light measuring device to determine the spectral intensities of the plurality of samples;
[0097] Based on the sample blue spectrum intensities among the multiple sample spectrum intensities, the multiple sample blue light proportions are obtained.
[0098] In this way, a plurality of sample display images can be measured by a light measuring device to determine a plurality of sample spectral intensities, and a plurality of sample blue spectral intensities can be determined from the plurality of sample spectral intensities, and then a plurality of sample blue light proportions can be calculated, so that they can be associated with a plurality of sample color values to train the training model to obtain a blue light model, thereby improving the efficiency of adjusting the initial color information in the subsequent process and better realizing the eye protection effect of the electronic device.
[0099] The above-mentioned light measuring device may include a spectrometer. A spectrometer, also known as a spectrometer, is a device that uses a photomultiplier tube or other light detector to measure the intensity of a spectrum line at different wavelengths. The spectrometer is composed of an input slit, a dispersion system, an imaging system, and one or more output slits. The dispersion element is used to separate the electromagnetic radiation of the radiation source into the required wavelength or wavelength region, and the intensity is measured at the selected wavelength.
[0100] The sample spectrum intensity may be the spectrum intensity corresponding to all wavelengths separated from the sample color value by the light measuring device; the sample blue spectrum intensity may be the spectrum intensity corresponding to the blue light wavelength separated from the sample color value by the light measuring device.
[0101] Here, after measuring the sample spectral intensity by a light measuring device, the sample blue spectral intensity can be determined from the sample spectral intensity, and then the ratio of the sample blue spectral intensity to the sample spectral intensity can be calculated to obtain the above-mentioned sample blue light ratio, thereby associating the sample color value and the sample blue light ratio of the same sample display screen to train the training model to obtain a blue light model.
[0102] Exemplarily, a light measuring device such as a spectrometer CS20000 can be used to measure multiple sample color values in a 3D look up table (LUT) of a mobile phone color calibration module, such as the sample spectral intensity of all 4913 standard RGB values at 380nm-780nm, and then the proportion of the sample blue spectrum 400nm-500nm intensity to the sample spectral intensity is calculated to obtain the sample blue light proportion.
[0103] In some examples, the above blue light model may be formula (1).
[0104] P blue =M(R,G,B)=m r ·R+m g ·G+m b ·B+m c (1)
[0105] Among them, m r 、m g 、m b and m ccan be preset parameter values; blue It can be the above-mentioned blue light ratio; R, G, and B can be the color values in the above-mentioned initial color information.
[0106] It can be understood that for the above-mentioned preset blue light model, by inputting the color value in the initial color information of any pixel point, the blue light proportion corresponding to the color value can be output.
[0107] In the embodiment of the present disclosure, the adjustment object of the above-mentioned electronic device may be the initial color information of the pixel point when the blue light information of the pixel point displayed on the screen meets the preset conditions; that is, when the blue light information of the pixel point displayed on the screen meets the preset conditions, the electronic device may adjust the initial color information of the pixel point based on the blue light information to obtain the eye protection color information displayed on the pixel point, that is, the target color information.
[0108] It should be noted that adjusting the above-mentioned initial color information to obtain the target color information may include at least one of the following: adjusting the hue of the above-mentioned initial color information to obtain the target color information; adjusting the saturation of the above-mentioned initial color information to obtain the target color information; adjusting the brightness of the above-mentioned initial color information to obtain the target color information; performing matrix change adjustment on the above-mentioned initial color information to obtain the target color information; adjusting the RGB value of the above-mentioned initial color information to obtain the target color information.
[0109] Here, based on the blue light information, the initial color information is adjusted to obtain the target color information, which may include: determining an adjustment coefficient based on the blue light proportion, and then adjusting the initial color information based on the adjustment coefficient to obtain the target color information; or, determining an adjustment coefficient based on the blue light brightness, and then adjusting the initial color information based on the adjustment coefficient to obtain the target color information; or, determining an adjustment coefficient based on the blue light saturation, and then adjusting the initial color information based on the adjustment coefficient to obtain the target color information; and so on.
[0110] In one embodiment of the present disclosure, the display adjustment method may further include:
[0111] When the blue light information does not satisfy the preset condition, the initial color information is used as the target color information.
[0112] In this way, when the blue light information does not meet the preset conditions, the initial color information displayed on the screen is not adjusted, so that only the initial color information that needs to be adjusted on the screen is adjusted, thereby improving the efficiency of the electronic device in adjusting the screen display.
[0113] In the embodiment of the present disclosure, when the blue light information is a blue light ratio, the blue light information not satisfying the preset condition may include: the blue light ratio is greater than a first blue light threshold, and the blue light ratio is less than a second blue light threshold.
[0114] It can be understood that the blue light information corresponding to all the pixels displayed on the above-mentioned screen may meet the preset conditions, that is, the initial color information of all the pixels needs to be adjusted; or, the blue light information corresponding to all the pixels displayed on the above-mentioned screen may not meet the preset conditions, that is, the initial color information of all the pixels does not need to be adjusted; or, the blue light information corresponding to some of the pixels displayed on the above-mentioned screen may meet the preset conditions, and the blue light information corresponding to another part of the pixels does not meet the preset conditions, that is, the initial color information of some pixels needs to be adjusted, and the initial color information of another part of the pixels does not need to be adjusted; and so on.
[0115] For example, a picture with various colors is displayed on the screen of the electronic device. According to the color classification in the picture, the picture may include pixels of the first part and pixels of the second part. If the proportion of blue light corresponding to the pixels of the first part meets the above preset conditions, the initial color information of the pixels of the first part needs to be adjusted to achieve the eye protection effect; if the proportion of blue light corresponding to the pixels of the second part does not meet the above preset conditions, the initial color information of the pixels of the second part does not need to be adjusted, that is, the eye protection effect has been achieved.
[0116] In step 130, after obtaining the target color information based on the initial color information and the blue light information displayed on the screen, the electronic device may display the target color information on the screen, thereby achieving an eye protection effect of the electronic device.
[0117] A display adjustment method provided by an embodiment of the present disclosure may include: obtaining initial color information displayed on a screen of an electronic device; in the case where it is determined based on the initial color information that the blue light information displayed on the screen meets a preset condition, adjusting the initial color information based on the blue light information displayed on the screen to obtain target color information; and performing screen display based on the target color information. That is, unlike the related art in which the eye protection mode of an electronic device is fixed, the embodiment of the present disclosure can adjust the initial color information displayed on the screen through the blue light information displayed on the screen of the electronic device to obtain target color information, so that different eye protection effects can be achieved when the screen displays different colors, thereby achieving better eye protection effects while ensuring that the display effects of different colors make the screen display colors more harmonious, thereby improving the user experience and comfort.
[0118] In one embodiment of the present disclosure, step 120 may be implemented in various ways.
[0119] A specific implementation example is given below, where the above blue light information includes the blue light ratio of the blue spectrum intensity to the spectrum intensity of the full spectrum. It should be noted that the following is only an example and is not intended to be limiting.
[0120] Figure 2 is a flow chart of a display adjustment method according to an exemplary embodiment. Figure 2 . See Figure 2 , step 120 in the display adjustment method provided in the embodiment of the present disclosure may include:
[0121] Step 121: When the blue light ratio meets the preset condition, determine an adjustment coefficient based on the blue light ratio;
[0122] Step 122: Adjust the initial color information based on the adjustment coefficient to obtain the target color information.
[0123] In step 121, the adjustment coefficients may be coefficients for adjusting the initial color information; for example, the adjustment coefficients may include R coefficients, G coefficients and B coefficients corresponding to the color values, and the R coefficients, G coefficients and B coefficients may also constitute an RGB matrix to adjust the initial color information.
[0124] In step 122, the blue light proportion may be within different blue light threshold ranges, so that the adjustment coefficients are different, and thus the initial color information may be adjusted based on different adjustment coefficients to obtain the target color information.
[0125] For example, the target color information R out G out B out The calculation formula can be Among them, R in G in B in can be the color value of the above initial color information, R p G p B p It can be the above adjustment factor.
[0126] In one embodiment of the present disclosure, step 121 may specifically include:
[0127] When the blue light proportion is less than or equal to a first blue light threshold, determining a first adjustment coefficient based on the blue light proportion;
[0128] When the blue light proportion is greater than or equal to a second blue light threshold, determining a second adjustment coefficient based on the blue light proportion;
[0129] The first adjustment coefficient is different from the second adjustment coefficient.
[0130] In this way, when the proportion of blue light is different, the first adjustment coefficient and the second adjustment coefficient can be determined based on the proportion of blue light in two different ways to achieve subsequent adjustment of the initial color information, thereby better realizing the eye protection effect of the electronic device and improving the user experience and comfort.
[0131] The first blue light threshold may be a critical threshold of the blue light ratio; for example, the first blue light threshold may be 50 or 60. The second blue light threshold may be another critical threshold of the blue light ratio; for example, the second blue light threshold may be 70 or 80. It should be noted that the first blue light threshold may be smaller than the second blue light threshold.
[0132] Here, the first adjustment coefficient may be a coefficient for adjusting the initial color information for eye protection when the proportion of blue light is less than or equal to the first blue light threshold; the second adjustment coefficient may be a coefficient for adjusting the initial color information for eye protection when the proportion of blue light is greater than or equal to the second blue light threshold.
[0133] It can be understood that when the above-mentioned blue light proportion is in different blue light ranges, different adjustment coefficients, namely the first adjustment coefficient or the second adjustment coefficient, can be obtained through different calculation methods, so that the screen display color can be more harmonious while better realizing the eye protection effect of the electronic device.
[0134] In the present disclosure, Figure 3 As shown, the horizontal axis is the blue light ratio, and the vertical axis is the number of colors corresponding to the blue light ratio. According to the above preset blue light model, the blue light ratio and the corresponding number of colors of the complete 4913 standard RGB values are established; that is, there are 4913 RGB values, that is, the total number of colors is 4913. For example, Figure 3 As shown, the proportion of blue light is between 128-136.5, which corresponds to 150 colors.
[0135] For example, Figure 4 As shown in FIG. 1 , the horizontal axis is the proportion of blue light, and the vertical axis is the color temperature corresponding to the proportion of blue light. Taking the display color temperature of electronic devices such as mobile phones as 6500K of the International Commission on Illumination (Commission Internationale de l'Eclairage, CIE) 2015 daylight trajectory as an example, Figure 4It can be seen that the entire blue light ratio can be divided into a low blue light interval, a medium blue light interval and a high blue light interval, wherein the grayscale RGB value, i.e., the grayscale interval where R=G=B is located, corresponds to the medium blue light interval, i.e., the blue light ratio is 60-70, and the color temperature mapped to all colors in this interval is the standard color temperature CCT0, i.e., 6500K. Accordingly, the above blue light ratio meets the preset condition, i.e., the above blue light ratio is in the medium blue light interval; and the above blue light ratio does not meet the preset condition, i.e., the above blue light ratio is in the low blue light interval or the high blue light interval.
[0136] In order to ensure that the grayscale RGB value can accurately reach the display color temperature of the mobile phone, the colors in the high blue light range that are more harmful to the eyes are mapped to lower and warmer color temperatures to reduce damage to the eyes; the colors in the low blue light range are mapped to higher and colder color temperatures to reduce the subjective yellowish effect caused by the warm color temperature.
[0137] It should be noted that the above-mentioned determination of the first adjustment coefficient based on the blue light ratio can be implemented in various different ways. The following are only examples and are not intended to be limiting.
[0138] In some embodiments, determining the first adjustment coefficient based on the blue light proportion includes:
[0139] Based on the blue light proportion, determining a first offset color temperature;
[0140] The first adjustment coefficient is determined based on the first offset color temperature.
[0141] In this way, the first offset color temperature can be obtained by the proportion of blue light, and then the first adjustment coefficient can be determined by the first offset color temperature to achieve subsequent adjustment of the initial color information, thereby better realizing the eye protection effect of the electronic device and improving the user experience and comfort.
[0142] Among them, the above-mentioned first offset color temperature can be the eye protection color temperature corresponding to the pixel point displayed on the above-mentioned screen, which needs to be adjusted on the basis of the standard color temperature.
[0143] In one embodiment of the present disclosure, determining the first offset color temperature based on the blue light proportion includes:
[0144] Determining a first color temperature coefficient based on the blue light proportion, the first blue light threshold, a preset minimum blue light proportion, and a preset color temperature index;
[0145] The first offset color temperature is obtained based on the first color temperature coefficient and a preset color temperature difference value.
[0146] In this way, the first color temperature coefficient can be determined by the blue light proportion, the first blue light threshold, the preset minimum blue light proportion and the preset color temperature index, and then the first offset color temperature can be obtained by the first color temperature coefficient and the preset color temperature difference value, so as to determine the first adjustment coefficient in the subsequent process, and further realize the subsequent adjustment of the initial color information, so as to better realize the eye protection effect of the electronic device and enhance the user experience and comfort.
[0147] It can be understood that the process of obtaining the preset minimum blue light ratio may include: determining the blue light ratios of multiple samples corresponding to the multiple sample color information according to the multiple sample color information and the above blue light model; and selecting the minimum blue light ratio from the multiple sample blue light ratios. That is, multiple sample RGB values are input into the above blue light model to obtain the blue light ratios of multiple samples corresponding to the multiple sample RGB values, and then the multiple sample blue light ratios are compared to obtain the above minimum blue light ratio.
[0148] The process of acquiring the preset color temperature index may include: determining the color temperature index based on the standard color temperature, the first color temperature threshold, the second color temperature threshold, and the first setting coefficient.
[0149] Here, the first color temperature threshold may be greater than the standard color temperature, and the standard color temperature may be greater than the second color temperature threshold; for example, the standard color temperature may be 6500 K, the first color temperature threshold may be 7000 K, and the second color temperature threshold may be 4000 K. The first setting coefficient may be a coefficient preset by the above electronic device; for example, the first setting coefficient may be 0.333.
[0150] For example, the calculation process of the color temperature index may be formula (2).
[0151]
[0152] Among them, γ low It can be a color temperature index, CCT0 can be a standard color temperature, CCT max Can be the first color temperature threshold, CCT min It can be the second color temperature threshold, and 0.333 is the first setting coefficient.
[0153] The process of obtaining the preset color temperature difference value may include: determining the color temperature difference value based on the standard color temperature, the first color temperature threshold, the second color temperature threshold, and the second setting coefficient.
[0154] Here, the second setting coefficient may also be a coefficient preset by the above electronic device; for example, the second setting coefficient may be 500.
[0155] For example, the calculation process of the color temperature difference value may be as shown in formula (3).
[0156]
[0157] Among them, △CCT low It can be a color temperature difference value, and 500 is the second setting coefficient.
[0158] In some embodiments, determining the first adjustment coefficient based on the first offset color temperature includes:
[0159] Determine a first target color temperature based on the sum of the first offset color temperature and a preset standard color temperature;
[0160] The first adjustment coefficient is determined based on a preset mapping relationship between the color temperature and the adjustment coefficient and the first target color temperature.
[0161] In this way, the first target color temperature can be determined by the sum of the first offset color temperature and the preset standard color temperature, and then the first adjustment coefficient can be determined by the mapping relationship between the preset color temperature and the adjustment coefficient and the first target color temperature to achieve subsequent adjustment of the initial color information, thereby better realizing the eye protection effect of the electronic device and improving the user experience and comfort.
[0162] Among them, the above-mentioned first target color temperature can be an eye-protection color temperature after adjusting the color temperature of the pixel points displayed on the above-mentioned screen.
[0163] For example, the calculation process of the first target color temperature may be formula (4).
[0164]
[0165] Among them, CCT1 can be the first target color temperature, CCT0 can be the standard color temperature, △CCT low Can be the color temperature difference value, P blue can be the blue light ratio, P low can be the first blue light threshold, P min Can be the minimum value of blue light proportion, γ low Can be the color temperature index, can be the first color temperature coefficient, It can be a first offset color temperature.
[0166] It can be understood that based on the above-mentioned first target color temperature, the first adjustment coefficient corresponding to the first target color temperature is found from the mapping relationship between the preset color temperature and the adjustment coefficient, so that the initial color information can be subsequently adjusted according to the first adjustment coefficient to obtain the target color information.
[0167] Here, the process of obtaining the mapping relationship between the preset color temperature and the adjustment coefficient may include: determining multiple chromaticity coordinates corresponding to multiple preset color temperatures based on a preset color temperature trajectory function and multiple preset color temperatures; determining multiple preset adjustment coefficients corresponding to the multiple chromaticity coordinates based on the multiple chromaticity coordinates; determining the mapping relationship between color temperature and adjustment coefficient based on the multiple preset color temperatures and the multiple preset adjustment coefficients.
[0168] The color temperature trajectory function may include a daylight trajectory function and a black body trajectory function; the process of obtaining the preset color temperature trajectory function may include: determining the color temperature trajectory function based on the current time; the current time may include the current date and the current time. That is, during the day, multiple chromaticity coordinates may be determined using the daylight trajectory function and multiple preset color temperatures, and at night, multiple chromaticity coordinates may be determined using the black body trajectory function and multiple preset color temperatures.
[0169] For example, taking the daylight trajectory 4000K-7000K of CIE 2015 as an example, the daylight trajectory function may be formula (5).
[0170]
[0171] Among them, T d Can be preset color temperature, W xd Can be the x-coordinate of the chromaticity coordinate, W yd Can be the y coordinate of the chromaticity coordinate.
[0172] After determining the chromaticity coordinates, a color temperature calibration algorithm can be used within the range of 4000K-7000K, with intervals of 50K, to obtain the preset adjustment coefficients required for electronic devices such as mobile phone screens to achieve the chromaticity coordinates at each preset color temperature, such as a 3x1RGB matrix, as shown in Table 1:
[0173] Table 1
[0174]
[0175]
[0176] The mapping relationship between a plurality of preset color temperatures and preset adjustment coefficients, ie, the mapping relationship between the preset color temperatures and the adjustment coefficients, can be obtained from Table 1 above.
[0177] It should be noted that the above-mentioned determination of the second adjustment coefficient based on the blue light ratio can be implemented in various different ways. The following are only examples and are not intended to be limiting.
[0178] In some embodiments, determining the second adjustment coefficient based on the blue light proportion includes:
[0179] Based on the blue light proportion, determining a second offset color temperature;
[0180] The second adjustment coefficient is determined based on the second offset color temperature.
[0181] In this way, the second offset color temperature can be obtained by the proportion of blue light, and then the second adjustment coefficient can be determined by the second offset color temperature to achieve subsequent adjustment of the initial color information, thereby better realizing the eye protection effect of the electronic device and improving the user experience and comfort.
[0182] Among them, the above-mentioned second offset color temperature can also be the color temperature that needs to be adjusted based on the standard color temperature for the eye protection color temperature corresponding to the pixel point displayed on the above-mentioned screen.
[0183] In one embodiment of the present disclosure, determining the second offset color temperature based on the blue light proportion includes:
[0184] Determining a second color temperature coefficient based on the blue light proportion, the second blue light threshold, a preset maximum blue light proportion, and a preset color temperature index;
[0185] The second offset color temperature is obtained based on the second color temperature coefficient and a preset color temperature difference value.
[0186] In this way, the second color temperature coefficient can be determined first by the blue light proportion, the second blue light threshold, the preset maximum blue light proportion and the preset color temperature index, and then the second offset color temperature can be obtained by the second color temperature coefficient and the preset color temperature difference value, so as to determine the second adjustment coefficient in the subsequent process, and further realize the subsequent adjustment of the initial color information, so as to better realize the eye protection effect of the electronic device and enhance the user experience and comfort.
[0187] It can be understood that the process of obtaining the preset maximum blue light proportion may include: determining the blue light proportions of multiple samples corresponding to the multiple sample color information according to the multiple sample color information and the above blue light model; and selecting the maximum blue light proportion from the multiple sample blue light proportions. That is, multiple sample RGB values are input into the above blue light model to obtain the blue light proportions of multiple samples corresponding to the multiple sample RGB values, and then the multiple sample blue light proportions are compared to obtain the above maximum blue light proportion.
[0188] For example, the color temperature index γ high The calculation process can be expressed as formula (6), the color temperature difference value △CCT high The calculation process of can be expressed as formula (7).
[0189]
[0190]
[0191] In some embodiments, determining the second adjustment coefficient based on the second offset color temperature includes:
[0192] Determine a second target color temperature based on a difference between a preset standard color temperature and the second offset color temperature;
[0193] The second adjustment coefficient is determined based on a preset mapping relationship between the color temperature and the adjustment coefficient and the second target color temperature.
[0194] In this way, the second target color temperature can be first determined by the difference between the standard color temperature and the second offset color temperature, and then the second adjustment coefficient can be determined by the mapping relationship between the preset color temperature and the adjustment coefficient and the second target color temperature to achieve subsequent adjustment of the initial color information, thereby better realizing the eye protection effect of the electronic device and improving the user experience and comfort.
[0195] The second target color temperature may also be an eye-protection color temperature obtained by adjusting the color temperature of the pixels displayed on the screen.
[0196] For example, the calculation process of the second target color temperature may be formula (8).
[0197]
[0198] Among them, CCT2 can be the second target color temperature, △CCT high Can be the color temperature difference value, P high can be the second blue light threshold, P max can be the maximum blue light proportion, γ high Can be the color temperature index, can be the second color temperature coefficient, May be a second offset color temperature.
[0199] It can be understood that based on the above-mentioned second target color temperature, the second adjustment coefficient corresponding to the second target color temperature is found from the mapping relationship between the preset color temperature and the adjustment coefficient, so that the initial color information can be adjusted according to the second adjustment coefficient to obtain the target color information.
[0200] The display adjustment method provided by the embodiment of the present disclosure can determine a first adjustment coefficient and a second adjustment coefficient based on the blue light ratio in two different ways when the blue light ratio displayed on the screen of an electronic device is different, so as to adjust the initial color information displayed on the screen and obtain the target color information, so that different eye protection effects can be achieved when the screen displays different colors. Therefore, while ensuring the display effects of different colors to make the screen display colors more harmonious, better eye protection effects can be achieved, thereby improving the user experience and comfort.
[0201] Figure 5is a flow chart of a display adjustment method according to an exemplary embodiment. Figure 3 .like Figure 5 As shown, the display adjustment method provided in the embodiment of the present disclosure is only an example and not a limitation, and is intended to facilitate those skilled in the art to better understand the technical solution of the present disclosure. Figure 5 The display adjustment method provided by the embodiment of the present disclosure may specifically include the following steps:
[0202] Step 501: Acquire initial color information displayed on a screen of an electronic device;
[0203] Step 502, determining whether the blue light information displayed on the screen meets a preset condition; the blue light information includes a blue light ratio of the blue spectrum intensity to the spectrum intensity of the full spectrum;
[0204] Step 503: when the blue light proportion is less than or equal to the first blue light threshold, determine a first color temperature coefficient based on the blue light proportion, the first blue light threshold, a preset minimum blue light proportion, and a preset color temperature index;
[0205] Step 504: Obtain a first offset color temperature based on the first color temperature coefficient and a preset color temperature difference value;
[0206] Step 505: determining a first target color temperature based on the sum of the first offset color temperature and a preset standard color temperature;
[0207] Step 506: Determine a first adjustment coefficient based on a mapping relationship between a preset color temperature and an adjustment coefficient and the first target color temperature;
[0208] Step 507: when the blue light proportion is greater than or equal to the second blue light threshold, determine a second color temperature coefficient based on the blue light proportion, the second blue light threshold, a preset maximum blue light proportion, and a preset color temperature index;
[0209] Step 508: Obtain a second offset color temperature based on the second color temperature coefficient and a preset color temperature difference value;
[0210] Step 509: determining a second target color temperature based on a difference between a preset standard color temperature and the second offset color temperature;
[0211] Step 510: determining a second adjustment coefficient based on a mapping relationship between a preset color temperature and an adjustment coefficient and the second target color temperature;
[0212] Step 511: adjusting the initial color information based on the first adjustment coefficient or the second adjustment coefficient to obtain target color information;
[0213] Step 512: When the blue light information does not meet the preset condition, use the initial color information as the target color information;
[0214] Step 513: Perform screen display based on the target color information.
[0215] It should be noted that steps 503-511 and step 512 are two parallel situations in the embodiment of the present disclosure; that is, after step 502, steps 503-511 or step 512 can be performed. Steps 503-506 and steps 507-510 are also two parallel situations in the embodiment of the present disclosure; that is, after step 502, steps 503-506 or steps 507-510 can be performed.
[0216] The display adjustment method provided by the embodiment of the present disclosure can determine a first adjustment coefficient and a second adjustment coefficient based on the blue light ratio in two different ways when the blue light ratio displayed on the screen of an electronic device is different, so as to adjust the initial color information displayed on the screen and obtain the target color information, so that different eye protection effects can be achieved when the screen displays different colors. Therefore, while ensuring the display effects of different colors to make the screen display colors more harmonious, better eye protection effects can be achieved, thereby improving the user experience and comfort.
[0217] Figure 6 This is a structural block diagram of a display adjustment device provided by an embodiment of the present disclosure. Figure 6 The display adjustment device 600 provided in the embodiment of the present disclosure may include: an acquisition module 610 , an adjustment module 620 and a display module 630 .
[0218] The acquisition module 610 is configured to acquire initial color information displayed on the screen of the electronic device;
[0219] The adjustment module 620 is configured to adjust the initial color information based on the blue light information displayed on the screen to obtain target color information when it is determined based on the initial color information that the blue light information displayed on the screen meets a preset condition;
[0220] The display module 630 is configured to perform screen display based on the target color information.
[0221] The display adjustment device provided in the embodiment of the present disclosure obtains the initial color information displayed on the screen of the electronic device; when it is determined based on the initial color information that the blue light information displayed on the screen meets the preset conditions, the initial color information is adjusted based on the blue light information displayed on the screen to obtain the target color information; and the screen is displayed based on the target color information. That is to say, unlike the related art in which the eye protection mode of the electronic device is fixed, the embodiment of the present disclosure can adjust the initial color information displayed on the screen through the blue light information displayed on the screen of the electronic device to obtain the target color information, so that different eye protection effects can be achieved when the screen displays different colors, thereby achieving better eye protection effects while ensuring that the display effects of different colors make the screen display colors more harmonious, thereby improving the user experience and comfort.
[0222] for Figure 6 In the technical solution shown, in a possible implementation, the blue light information includes the proportion of blue light in the blue spectrum intensity to the spectrum intensity of the full spectrum; the adjustment module 620 can be specifically configured as: when the blue light proportion meets the preset condition, determining an adjustment coefficient based on the blue light proportion; adjusting the initial color information based on the adjustment coefficient to obtain the target color information.
[0223] for Figure 6 In the technical solution shown, in a possible implementation, the display adjustment device 600 may also include: a determination module, configured to determine a first adjustment coefficient based on the blue light proportion when the blue light proportion is less than or equal to the first blue light threshold; and to determine a second adjustment coefficient based on the blue light proportion when the blue light proportion is greater than or equal to the second blue light threshold; the first adjustment coefficient is different from the second adjustment coefficient.
[0224] for Figure 6 In the technical solution shown, in a possible implementation manner, the determination module may also be configured to: determine a first offset color temperature based on the blue light proportion; and determine the first adjustment coefficient based on the first offset color temperature.
[0225] for Figure 6 In the technical solution shown, in a possible implementation method, the determination module can also be configured to: determine the first color temperature coefficient based on the blue light proportion, the first blue light threshold, a preset minimum blue light proportion and a preset color temperature index; and obtain the first offset color temperature based on the first color temperature coefficient and a preset color temperature difference value.
[0226] for Figure 6In the technical solution shown, in a possible implementation method, the determination module can also be configured to: determine the first target color temperature based on the sum of the first offset color temperature and the preset standard color temperature; determine the first adjustment coefficient based on the mapping relationship between the preset color temperature and the adjustment coefficient and the first target color temperature.
[0227] for Figure 6 In the technical solution shown, in a possible implementation manner, the determination module may also be configured to: determine a second offset color temperature based on the blue light proportion; and determine the second adjustment coefficient based on the second offset color temperature.
[0228] for Figure 6 In the technical solution shown, in a possible implementation method, the determination module can also be configured to: determine the second color temperature coefficient based on the blue light proportion, the second blue light threshold, a preset maximum blue light proportion and a preset color temperature index; based on the second color temperature coefficient and a preset color temperature difference value, obtain the second offset color temperature.
[0229] for Figure 6 In the technical solution shown, in a possible implementation method, the determination module can also be configured to: determine the second target color temperature based on the difference between the preset standard color temperature and the second offset color temperature; determine the second adjustment coefficient based on the mapping relationship between the preset color temperature and the adjustment coefficient and the second target color temperature.
[0230] for Figure 6 In a possible implementation of the technical solution shown, the display adjustment device 600 may further include: a processing module configured to use the initial color information as the target color information when the blue light information does not meet the preset condition.
[0231] for Figure 6 In the technical solution shown, in a possible implementation, the blue light information includes the blue light proportion; the processing module can also be configured to: input the color value in the initial color information into a preset blue light model to obtain the blue light proportion.
[0232] for Figure 6 In the technical solution shown, in a possible implementation method, the processing module can also be configured to: obtain multiple sample color values of multiple sample display screens; obtain multiple sample blue light proportions of multiple sample display screens; and train a preset training model to obtain the blue light model based on associating the sample color values and the sample blue light proportions of the same sample display screen.
[0233] for Figure 6In the technical solution shown, in a possible implementation, the processing module can also be configured to: measure the multiple sample display images through a light measuring device to determine the multiple sample spectral intensities; and obtain the multiple sample blue light proportions based on the sample blue spectral intensities in the multiple sample spectral intensities.
[0234] It should be noted that Figure 6 The specific manner in which each module performs operations in the display adjustment device in the illustrated embodiment has been described in detail in the embodiment of the method, and will not be elaborated on here.
[0235] Figure 7 8 is a schematic diagram of a structure of an electronic device according to an exemplary embodiment. For example, the electronic device 800 may be a mobile phone, a computer, a digital broadcast terminal, a message transceiver device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, a wearable device, etc.
[0236] Reference Figure 7 , the electronic device 800 may include one or more of the following components: a processing component 802 , a memory 804 , a power component 806 , a multimedia component 808 , an audio component 810 , an input / output (I / O) interface 812 , a sensor component 814 , and a communication component 816 .
[0237] The processing component 802 generally controls the overall operation of the electronic device 800, such as operations associated with display, phone calls, data communications, camera operations, and recording operations. The processing component 802 may include one or more processors 820 to execute instructions to complete all or part of the steps of the above-mentioned method. In addition, the processing component 802 may include one or more modules to facilitate the interaction between the processing component 802 and other components. For example, the processing component 802 may include a multimedia module to facilitate the interaction between the multimedia component 808 and the processing component 802.
[0238] The memory 804 is configured to store various types of data to support operations on the electronic device 800. Examples of such data include instructions for any application or method operating on the electronic device 800, contact data, phone book data, messages, pictures, videos, etc. The memory 804 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.
[0239] The power supply component 806 provides power to the various components of the electronic device 800. The power supply component 806 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to the electronic device 800.
[0240] The multimedia component 808 includes a screen that provides an output interface between the electronic device 800 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 808 includes a front camera and / or a rear camera. When the electronic device 800 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.
[0241] The audio component 810 is configured to output and / or input audio signals. For example, the audio component 810 includes a microphone (MIC), and when the electronic device 800 is in an operating mode, such as a call mode, a recording mode, and a voice recognition mode, the microphone is configured to receive an external audio signal. The received audio signal can be further stored in the memory 804 or sent via the communication component 816. In some embodiments, the audio component 810 also includes a speaker for outputting audio signals.
[0242] I / O interface 812 provides an interface between processing component 802 and peripheral interface modules, such as keyboards, click wheels, buttons, etc. These buttons may include but are not limited to: home button, volume button, start button, and lock button.
[0243] The sensor assembly 814 includes one or more sensors for providing various aspects of status assessment for the electronic device 800. For example, the sensor assembly 814 can detect the open / closed state of the electronic device 800, the relative positioning of the components, such as the display and keypad of the electronic device 800, and the sensor assembly 814 can also detect the position change of the electronic device 800 or a component of the electronic device 800, the presence or absence of contact between the user and the electronic device 800, the orientation or acceleration / deceleration of the electronic device 800, and the temperature change of the electronic device 800. The sensor assembly 814 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 814 may also include an optical sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 814 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
[0244] The communication component 816 is configured to facilitate wired or wireless communication between the electronic device 800 and other devices. The electronic device 800 can access a wireless network based on a communication standard, such as Wi-Fi, 4G or 5G, or a combination thereof. In an exemplary embodiment, the communication component 816 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 816 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.
[0245] In an exemplary embodiment, the electronic device 800 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 methods.
[0246] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 804 including instructions, and the instructions can be executed by a processor 820 of an electronic device 800 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.
[0247] A non-temporary computer-readable storage medium, when the instructions in the storage medium are executed by a processor of an electronic device, enables the electronic device to perform a display adjustment method, the method comprising: obtaining initial color information of a screen display in the electronic device; when it is determined based on the initial color information that blue light information displayed on the screen meets a preset condition, adjusting the initial color information based on the blue light information displayed on the screen to obtain target color information; and performing screen display based on the target color information.
[0248] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.
[0249] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the present disclosure that follow the general principles of the present disclosure and include common knowledge or customary techniques in the art that are not disclosed in the present disclosure. The specification and examples are intended to be exemplary only, and the true scope and spirit of the present disclosure are indicated by the following claims.
[0250] It should be understood that the present disclosure is not limited to the exact 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 appended claims.
Claims
1. A display adjustment method, characterized in that: The method comprises: Obtaining initial color information displayed on a screen of an electronic device; When it is determined based on the initial color information that the blue light information displayed on the screen meets a preset condition, adjusting the initial color information based on the blue light information displayed on the screen to obtain target color information; Screen display is performed based on the target color information.
2. The method according to claim 1, characterized in that The blue light information includes a blue light ratio of a blue spectrum intensity to a spectrum intensity of a full spectrum; and when it is determined based on the initial color information that the blue light information displayed on the screen meets a preset condition, the initial color information is adjusted based on the blue light information displayed on the screen to obtain the target color information, including: When the blue light ratio satisfies the preset condition, determining an adjustment coefficient based on the blue light ratio; The initial color information is adjusted based on the adjustment coefficient to obtain the target color information.
3. The method according to claim 2, characterized in that When the blue light proportion satisfies the preset condition, determining the adjustment coefficient based on the blue light proportion includes: When the blue light proportion is less than or equal to a first blue light threshold, determining a first adjustment coefficient based on the blue light proportion; When the blue light proportion is greater than or equal to a second blue light threshold, determining a second adjustment coefficient based on the blue light proportion; The first adjustment coefficient is different from the second adjustment coefficient.
4. The method according to claim 3, characterized in that The determining a first adjustment coefficient based on the blue light proportion includes: Based on the blue light proportion, determining a first offset color temperature; The first adjustment coefficient is determined based on the first offset color temperature.
5. The method according to claim 4, characterized in that The determining a first offset color temperature based on the blue light proportion includes: Determining a first color temperature coefficient based on the blue light proportion, the first blue light threshold, a preset minimum blue light proportion, and a preset color temperature index; The first offset color temperature is obtained based on the first color temperature coefficient and a preset color temperature difference value.
6. The method according to claim 4, characterized in that The determining the first adjustment coefficient based on the first offset color temperature includes: Determine a first target color temperature based on the sum of the first offset color temperature and a preset standard color temperature; The first adjustment coefficient is determined based on a preset mapping relationship between the color temperature and the adjustment coefficient and the first target color temperature.
7. The method according to claim 3, characterized in that The determining the second adjustment coefficient based on the blue light proportion includes: Based on the blue light proportion, determining a second offset color temperature; The second adjustment coefficient is determined based on the second offset color temperature.
8. The method according to claim 7, characterized in that The determining a second offset color temperature based on the blue light proportion includes: Determining a second color temperature coefficient based on the blue light proportion, the second blue light threshold, a preset maximum blue light proportion, and a preset color temperature index; The second offset color temperature is obtained based on the second color temperature coefficient and a preset color temperature difference value.
9. The method according to claim 7, characterized in that: The determining the second adjustment coefficient based on the second offset color temperature includes: Determine a second target color temperature based on a difference between a preset standard color temperature and the second offset color temperature; The second adjustment coefficient is determined based on a preset mapping relationship between the color temperature and the adjustment coefficient and the second target color temperature.
10. The method according to any one of claims 1 to 9, characterized in that: The method further comprises: When the blue light information does not satisfy the preset condition, the initial color information is used as the target color information.
11. The method according to any one of claims 1 to 9, characterized in that: The blue light information includes a blue light ratio; and the method further includes: The color value in the initial color information is input into a preset blue light model to obtain the blue light proportion.
12. The method according to claim 11, characterized in that The method further comprises: Get multiple sample color values of multiple sample display images; Obtaining a plurality of sample blue light proportions of a plurality of the sample display images; Based on the sample color values and the sample blue light proportion associated with the same sample display screen, a preset training model is trained to obtain the blue light model.
13. The method according to claim 12, characterized in that The obtaining of a plurality of sample blue light proportions of a plurality of sample display images comprises: Measuring the plurality of sample display images by a light measuring device to determine the spectral intensities of the plurality of samples; Based on the sample blue spectrum intensities among the multiple sample spectrum intensities, the multiple sample blue light proportions are obtained.
14. A display adjustment device, characterized in that: The device comprises: An acquisition module configured to acquire initial color information displayed on a screen of an electronic device; an adjustment module, configured to adjust the initial color information based on the blue light information displayed on the screen to obtain target color information when it is determined based on the initial color information that the blue light information displayed on the screen meets a preset condition; The display module is configured to perform screen display based on the target color information.
15. An electronic device, characterized in that: include: processor; a memory for storing processor-executable instructions; The processor is configured to execute the display adjustment method according to any one of claims 1 to 13.
16. A non-transitory computer-readable storage medium, characterized in that: When the instructions in the storage medium are executed by a processor of an electronic device, the electronic device is enabled to execute the display adjustment method according to any one of claims 1 to 13.
Citation Information
Patent Citations
Display method of electronic equipment, medium and electronic equipment
CN115019746A
Display control method and device, electronic equipment and storage medium
CN116309886A
Eye protection display screen capable of automatically adjusting color temperature
CN116798346A
Method for adjusting color temperature based on screen brightness, non-transitory computer-readable storage medium and terminal device
US20180366071A1
Method for adjusting color temperature based on RGB optical spectral energy reconstruction, non-transitory computer-readable storage medium and terminal device
US20180366087A1